XML DOM Methods (C#)

banner art
PreviousNext

XML DOM Methods (C#)

This SDK supports the following XML DOM methods.

Method Description
appendChild Appends the supplied new child as the last child of this node.
cloneNode Creates a new node that is an exact clone of this node.
createAttribute Creates a new attribute with the specified name.
createElement Creates an element node using the specified name.
createNode* Creates a node using the supplied type, name, and namespace.
getAttribute Gets the value of the named attribute.
getAttributeNode Gets the named attribute node.
getElementsByTagName Returns a collection of elements that have the name specified in this method call.
getElementsByTagName (IXMLDOMElement) Returns a list of all descendant elements that match the supplied name.
getNamedItem Retrieves the attribute with the specified name.
getQualifiedItem* Returns the attribute with the specified namespace and attribute name.
hasChildNodes Returns a Boolean value indicating whether this node has children.
hasFeature Returns a Boolean value indicating whether the specified version of the implementation supports the specified feature.
insertBefore Inserts a child node before the specified node or at the end of the list.
item (IXMLDOMNamedNodeMap) Allows random access to individual nodes within the collection. Read-only.
item (IXMLDOMNodeList) Allows random access to individual nodes within the collection. Read-only.
load* Synchronously loads an XML document with the contents of the file at the specified location.
loadXML* Loads the supplied string into an XML document.
nextNode (IXMLDOMNamedNodeMap) Returns the next node in the collection.
nextNode* (IXMLDOMNodeList) Returns the next node in the collection.
removeAttribute Removes or replaces the named attribute.
removeAttributeNode Removes the specified attribute from this element.
removeChild Removes the specified child node from the list of children and returns it.
removeNamedItem Removes an attribute from the collection.
removeQualifiedItem Removes the attribute with the specified namespace and attribute name.
replaceChild Returns the specified old child node and replaces it with the supplied new child node.
reset (IXMLDOMNamedNodeMap) Resets the iterator in the collection of attribute nodes.
reset* (IXMLDOMNodeList) Resets the iterator in the collection of nodes.
save* Saves an XML document to the specified location.
setAttribute Sets the value of the named attribute.
setAttributeNode Adds or changes the supplied attribute node on this element.
setNamedItem Adds the supplied node to the collection.

*Denotes an extension to the W3C DOM.

See Also

PreviousNext
Show: