Attributes on this element.
Child nodes of this element.
Ending byte offset of this node in the original XML string, or -1
if the
offset is unknown.
Name of this element.
Parent node of this node, or null
if this node has no parent.
Starting byte offset of this node in the original XML string, or -1
if
the offset is unknown.
Static
Readonly
TYPE_Type value for an XmlCdata
node.
Static
Readonly
TYPE_Type value for an XmlComment
node.
Static
Readonly
TYPE_Type value for an XmlDocument
node.
Static
Readonly
TYPE_Type value for an XmlDocumentType
node.
Static
Readonly
TYPE_Type value for an XmlElement
node.
Static
Readonly
TYPE_Type value for an XmlProcessingInstruction
node.
Static
Readonly
TYPE_Type value for an XmlText
node.
Static
Readonly
TYPE_Type value for an XmlDeclaration
node.
Document that contains this node, or null
if this node is not associated
with a document.
Whether this element is empty (meaning it has no children).
Whether this node is the root node of the document (also known as the document element).
Whether whitespace should be preserved in the content of this element and its children.
This is influenced by the value of the special xml:space
attribute, and
will be true
for any node whose xml:space
attribute is set to
"preserve". If a node has no such attribute, it will inherit the value of
the nearest ancestor that does (if any).
Text content of this element and all its descendants.
Type of this node.
The value of this property is a string that matches one of the static
TYPE_*
properties on the XmlNode
class (e.g. TYPE_ELEMENT
,
TYPE_TEXT
, etc.).
The XmlNode
class itself is a base class and doesn't have its own type
name.
Returns a JSON-serializable object representing this node, minus properties that could result in circular references.
Element in an XML document.