Object

XMLNode Class

XMLNode is the base class for most of the XML Document Object Model (DOM) classes and implements many of the common properties and functions of a DOM node. This class won't usually be instantiated directly.

Properties
ChildCount | Name | Prefix
FirstChild | NamespaceURI | PreviousSibling
LastChild | NextSibling | ToString
LastError | OwnerDocument | Type
LocalName | Parent | Value

Methods
AppendChild
Child
Clone
Compare
Insert
RemoveChild
ReplaceChild
XQL

# Notes

Most objects will be created from methods of the XMLDocument class.

Note that not every property is utilized on every node type. For example, the Value property is used on an XMLAttribute and XMLTextNode, but not an XMLElement.

The REALbasic XML parser is based on Expat, which is described at http://expat.sourceforge.net.

The REALbasic XML library supports both parsing and creating of XML documents, DOM Level 2 support, XPath, XSLT, and full namespace support, including validation during creation. REALbasic's XML parser is based on the Expat library; additional information about Expat can be found by searching the internet for "Expat."

# See Also

XMLDocument, XMLElement, XMLNodeList classes.