XML::Li...Fragment(3)
π XML::LibXML::DocumentFragment π
okay so bestie, this is the XML::LibXML::DocumentFragment page β it's XML::LibXML's take on the DOM L2 Document Fragment Implementation, and it lives in the User Contributed Perl Documentation section of the manual (section 3, perl land, iykyk) π¦
β¨ SYNOPSIS β¨
use XML::LibXML;
that's it. that's the whole synopsis. no cap. π
πΈ DESCRIPTION πΈ
so this class is a helper class, exactly as described in the DOM Level 2 Specification β it's giving very official, very spec-compliant, very demure π
here's the tea: it's implemented as a node without a name. like, a node that simply chose not to have a name. main character energy fr fr π
and the way that all the adding, inserting, or replacing functions are now aware of document fragments? obsessed. genuinely iconic. they know. they always know. β¨
also β and this part is lowkey important β all unbound nodes (which is just a fancy way of saying all nodes that do not belong to any document sub-tree) are implicit members of document fragments. so if a node isn't attached to anything, it's not just floating there being sad, it's part of a document fragment. found family trope but for DOM nodes π«Ά
π AUTHORS π
- Matt Sergeant
- Christian Glahn
- Petr Pajas
three legends. the founding mothers (gender neutral) of this whole situation π
β VERSION β
2.0213
π COPYRIGHT π
2001-2007, AxKit.com Ltd.2002-2006, Christian Glahn.2006-2009, Petr Pajas.
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
translation: it's free, go off, do what you want, same terms as Perl itself, periodt π
ngl there's not much to this page and that's honestly the vibe β it does one thing, it does it well, and it does it impeccably π§
okay bye bestie, this was perl v5.42.2, dated 2026-05-25, and it's been real πβ¨ππ¦πΈπ π«Ά
π¦ where this page comes from
- fedora 43: perl-XML-LibXML 1:2.0213-1.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND MIT
- fedora 44: perl-XML-LibXML 1:2.0213-1.fc44 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms