Method XmlNode():setStandalone() Foundation
Specifies whether the XML document is declared as standalone.
:setStandAlone( <lIsStandalone ) --> self
:setStandalone() returns the object executing the method.
The method :setStandalone() can be used to change the standalone marker in the XML document declaration of an XML document. The standalone marker is an optional declaration instructing the XML parser on how to handle external markup declarations in a DTD. In standalone XML documents, such external markup declarations are ignored.
:setStandalone() can be called on any node of an XML document. The method then locates the document node for changing the standalone marker in the XML document definition. If the XmlNode() object is not associated with any XML document, that is, if the XMLNode object is a part of an XML graph without a document node, :setStandalone() raises a runtime error.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.