type
constructors
make |
Construct with optional root elem. |
---|
fields
methods
add |
Add a node to the document. |
---|---|
nodeType |
Return the |
pis |
Get any processing instructions declared before the root element. |
removePi |
Remove the processing instruction by reference. |
toStr |
Return string representation. |
write |
Write this node to the output stream. |
Slot Details
add
docType
XDocType? docType
Document type declaration or null if undefined.
make
new make(XElem? root := null)
Construct with optional root elem.
nodeType
virtual override XNodeType nodeType()
Return the XNodeType.doc
.
pis
XNode[] pis()
Get any processing instructions declared before the root element. Processing instructions after the root are not supported.
removePi
root
XElem root
Root element.
toStr
virtual override Str toStr()
Return string representation.