Class XmlNode() Foundation
Class function of the XmlNode class.
Instances of the XmlNode class represent nodes in XML documents. XmlNode objects provide interfaces for navigating the node hierarchy in the XML document, for manipulating attributes and content, as well as for adding or removing nodes, and for serializing XML documents.
XmlNode objects are created implicitly by the XmlSimpleParser() function while parsing an XML document.
XmlNode objects can also be created explicitly using class methods such as :createComment(), :createDocument() or :createElement(). This approach in conjunction with the :addChild() method allows the comfortable programmatic construction of complex XML documents, which subsequently can be serialized to a character string using the :toXML() method.
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.