XML::DOM::XMLDecl(3)
π NAME π
okay bestie, meet XML::DOM::XMLDecl(3) from User Contributed Perl Documentation β it's the XML declaration situation in XML::DOM, and it's lowkey a whole vibe. π
πΈ DESCRIPTION πΈ
So XML::DOM::XMLDecl extends XML::DOM::Node, but heads up: it is not part of the DOM Level 1 specification. Not me pointing at the spec like⦠it's giving extension energy, no cap.
It contains the XML declaration, e.g. this exact icon:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
Also see XML::DOM::Document::getXMLDecl β that's the see-also, bestie. π«Ά
β¨ METHODS β¨
getVersionandsetVersion (version)β returns and sets the XML version. At the time of this writing, the version should always be"1.0". periodt.getEncodingandsetEncoding (encoding)βundefmay be specified for the encoding value. slay.getStandaloneandsetStandalone (standalone)βundefmay be specified for the standalone value. iconic.
mwah π that's the whole page, bestie β brought to you by perl v5.42.0, dated 2022-05-23, and serving XML::DOM::XMLDecl(3) realness. πβ¨
π¦ 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