elements
probo.xml.elements
XMLComment
Represents an XML comment. Output:
XMLDocument
Represents a full XML document. Manages the Declaration () and the Root Element.
add_instruction(target, data)
Add processing instructions before the root.
XMLElement
Represents a generic XML element. Unlike HTML, XML tags are case-sensitive and must strictly handle attributes.
add(child)
Fluent API to add children.
XMLInstruction
Represents a Processing Instruction (PI). Output: Example:
XMLSection
Represents a CDATA section. Used to escape blocks of text that would otherwise be interpreted as markup. Output: