XML::DOM::Notation(3)

πŸ’… XML::DOM::Notation β€” bestie edition

okay so real talk, this is the XML::DOM::Notation page from the User Contributed Perl Documentation (that's the manual name, slay), and we're about to make NOTATION nodes make sense. periodt.

✨ NAME ✨

XML::DOM::Notation β€” an XML NOTATION in XML::DOM πŸŽ€

🌸 DESCRIPTION 🌸

So XML::DOM::Notation extends XML::DOM::Node. Like, it's a Node but make it fashion β€” specifically, the notation-flavored kind.

This node represents a Notation, k? Like these iconic little guys:

 <!NOTATION gs SYSTEM "GhostScript">

 <!NOTATION name PUBLIC "pubId">

 <!NOTATION name PUBLIC "pubId" "sysId">

 <!NOTATION name SYSTEM "sysId">

no cap, that's the whole vibe. every single one of those is a Notation, and this module is the class holding them πŸ’–


πŸ¦‹ METHODS πŸ¦‹

okay now the methods, one by one, no skipping, we don't do that here ✨

  • getName and setName (name) β€” Returns (or sets) the Notation name, which is the first token after the NOTATION keyword. literally the main character of the declaration ngl πŸ‘‘
  • getSysId and setSysId (sysId) β€” Returns (or sets) the system ID, which is the token after the optional SYSTEM keyword. optional keyword, mandatory slay 🫢
  • getPubId and setPubId (pubId) β€” Returns (or sets) the public ID, which is the token after the optional PUBLIC keyword. same energy, different keyword, iykyk πŸ’…
  • getBase β€” This is passed by XML::Parser in the Notation handler. I don't know what it is yet. 😭 bestie the docs said what they said and honestly? relatable. it exists, it's passed, that's the whole update 🫠
  • getNodeName β€” Returns the same as getName. that's it. that's the method. lowkey just getName wearing a little hat 🎩

heads up bestie: getBase is genuinely undocumented here β€” the original really does just say "I don't know what it is yet." we're not gonna pretend to know more than the manpage, that would be lying and lying is not the vibe πŸ™ˆ

and that's the whole page!! short and sweet, like a good playlist 🌈

mwah πŸ’œ this has been XML::DOM::Notation(3) from perl v5.42.0, dated 2022-05-23 β€” go forth and parse those NOTATIONs, bestie, you're literally gonna ate it πŸŽ€βœ¨πŸ”₯

πŸ“¦ where this page comes from