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 β¨
getNameandsetName (name)β Returns (or sets) the Notation name, which is the first token after theNOTATIONkeyword. literally the main character of the declaration ngl πgetSysIdandsetSysId (sysId)β Returns (or sets) the system ID, which is the token after the optionalSYSTEMkeyword. optional keyword, mandatory slay π«ΆgetPubIdandsetPubId (pubId)β Returns (or sets) the public ID, which is the token after the optionalPUBLICkeyword. same energy, different keyword, iykyk πgetBaseβ This is passed byXML::Parserin 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 asgetName. that's it. that's the method. lowkey justgetNamewearing 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
- opensuse-leap 16.0: perl-XML-DOM 1.46-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms