Insert a node directly after the current node
the node to be inserted
the inserted sibling
Insert a node directly before the current node
the node to be inserted
the inserted sibling
Return the child at the given index
the index of the child
the child to return
Create a new element with the given name and content
Optionalcontent: stringthe created element
Optionalhref: string | nullGet the associated XMLDocument for the current node
Optionalnamespace: XPathNamespaceFind decendant nodes matching the given xpath selector
XPath selector
Optionalnamespace: XPathNamespaceoptional namespace
array of matching decendant nodes
Find the first decendant node matching the given xpath selector
XPath selector
Optionalnamespace: XPathNamespaceoptional namespace
first matching decendant node
ProtectedimportGet the line number that this node starts on in the original parsed document
line number
Get the tag name of current node
name
Get or set the namespace for the current node
Optionalprefix: string | XMLNamespace | nullnamespace prefix
Optionalhref: string | nullnamespace URL
the current namespace
Get an array of namespaces that appy to the current node
whether to include inherited namespaces
an array of namespaces for the current node
Create a new element with the given name and content, then append it as a child of the current node
Optionalcontent: stringthe appended element
Get the parent node for the current
parent node
Returns a string representation of an object.
Get the type of element (XMLElementType)
"text" | "cdata" | "comment" | "element" | "node"
the node type
Append node after the last node child