Name
MSXML3.0 Node Object
Synopsis
The Node object is
the fundamental object of the DOM and of MSXML3.0. This interface
supports the common methods used throughout this book when working
with the DOM.
MSXML3.0 Node Object Methods
appendChild(newChildElement)Appends the supplied node to child
NodeListfor this element.cloneNode( )Creates a new node that is a complete copy of this particular node.
hasChildNodes( )Returns
trueif the node has children.insertBefore(newChild, referenceChild)Takes the node supplied as
newChildand inserts it in this node’sNodeListimmediately prior to the suppliedreferenceChildnode, which must be an existing child.removeChild(oldChild)Removes the supplied node from this element’s
NodeList.replaceChild(newChild, oldChild)Places
newChildin the same location whereoldChildwas residing.selectNodes(pattern)Returns a list of nodes matching the given pattern.
selectSingleNode(pattern)Returns the first node matching the given pattern.
transformNode(stylesheet)Takes a
stylesheetthat has been loaded into a DOM instance, and applies its rules against this node. The resulting transformation is returned to the caller of the method.transformNodeToObject(stylesheet, outputObject)Works as
transformNodedoes, but sends the output to the specified object.
MSXML3.0 Node Object Properties
attributeThis read-only property contains the list of attributes attached to this node.
baseNameThis read-only property contains the base name for the name qualified within ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access