Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
XmlDocument Class
 XmlDocument Members
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
XmlDocument Members

Represents an XML document.

The XmlDocument type exposes the following members.

  NameDescription
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifXmlDocumentOverloaded. Initializes a new instance of the XmlDocument class.
Top
  NameDescription
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifAppendChild Adds the specified node to the end of the list of child nodes, of this node. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifClone Creates a duplicate of this node. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCloneNode Creates a duplicate of this node. (Overrides XmlNode..::.CloneNode(Boolean).)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateAttributeOverloaded. Creates an XmlAttribute with the specified name.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateCDataSection Creates an XmlCDataSection containing the specified data.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateComment Creates an XmlComment containing the specified data.
1hhx10k1.protmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateDefaultAttribute Creates a default attribute with the specified prefix, local name and namespace URI.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateDocumentFragment Creates an XmlDocumentFragment.
1hhx10k1.pubmethod(en-us,VS.90).gifCreateDocumentType Returns a new XmlDocumentType object.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateElementOverloaded. Creates an XmlElement.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateEntityReference Creates an XmlEntityReference with the specified name.
1hhx10k1.pubmethod(en-us,VS.90).gifCreateNavigatorOverloaded. Creates a new XPathNavigator object for navigating this document.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateNodeOverloaded. Creates an XmlNode.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateProcessingInstruction Creates an XmlProcessingInstruction with the specified name and data.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateSignificantWhitespace Creates an XmlSignificantWhitespace node.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateTextNode Creates an XmlText with the specified text.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateWhitespace Creates an XmlWhitespace node.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifCreateXmlDeclaration Creates an XmlDeclaration node with the specified values.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
1hhx10k1.protmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
1hhx10k1.pubmethod(en-us,VS.90).gifGetElementById Gets the XmlElement with the specified ID.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifGetElementsByTagNameOverloaded. Returns an XmlNodeList containing a list of all descendant elements that match the specified name.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifGetEnumerator Provides support for the for each style iteration over the nodes in the XmlNode. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifGetNamespaceOfPrefix Looks up the closest xmlns declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifGetPrefixOfNamespace Looks up the closest xmlns declaration for the given namespace URI that is in scope for the current node and returns the prefix defined in that declaration. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifGetType Gets the Type of the current instance. (Inherited from Object.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifImportNode Imports a node from another document to the current document.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifInsertAfter Inserts the specified node immediately after the specified reference node. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifInsertBefore Inserts the specified node immediately before the specified reference node. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifLoadOverloaded. Loads the specified XML data from a Stream, a URL, a TextReader, or an XmlReader.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifLoadXml Loads the XML document from the specified string.
1hhx10k1.protmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifNormalize Puts all XmlText nodes in the full depth of the sub-tree underneath this XmlNode into a "normal" form where only markup (that is, tags, comments, processing instructions, CDATA sections, and entity references) separates XmlText nodes, that is, there are no adjacent XmlText nodes. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifPrependChild Adds the specified node to the beginning of the list of child nodes for this node. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifReadNode Creates an XmlNode object based on the information in the XmlReader. The reader must be positioned on a node or attribute.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifRemoveAll Removes all the child nodes and/or attributes of the current node. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifRemoveChild Removes specified child node. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifReplaceChild Replaces the child node oldChild with newChild node. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifSaveOverloaded. Saves the XML document to the specified location.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifSelectNodesOverloaded.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifSelectSingleNodeOverloaded.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifSupports Test if the DOM implementation implements a specific feature. (Inherited from XmlNode.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifToString Returns a String that represents the current Object. (Inherited from Object.)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifValidateOverloaded. Validates the XmlDocument against the XML Schema Definition Language (XSD) schemas contained in the Schemas property.
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifWriteContentTo Saves all the children of the XmlDocument node to the specified XmlWriter. (Overrides XmlNode..::.WriteContentTo(XmlWriter).)
1hhx10k1.pubmethod(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifWriteTo Saves the XmlDocument node to the specified XmlWriter. (Overrides XmlNode..::.WriteTo(XmlWriter).)
Top
  NameDescription
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifAttributes Gets an XmlAttributeCollection containing the attributes of this node. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifBaseURI Gets the base URI of the current node. (Overrides XmlNode..::.BaseURI.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifChildNodes Gets all the child nodes of the node. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifDocumentElement Gets the root XmlElement for the document.
1hhx10k1.pubproperty(en-us,VS.90).gifDocumentType Gets the node containing the DOCTYPE declaration.
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifFirstChild Gets the first child of the node. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifHasChildNodes Gets a value indicating whether this node has any child nodes. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifImplementation Gets the XmlImplementation object for the current document.
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifInnerText Gets or sets the concatenated values of the node and all its child nodes. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifInnerXml Gets or sets the markup representing the children of the current node. (Overrides XmlNode..::.InnerXml.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifIsReadOnly Gets a value indicating whether the current node is read-only. (Overrides XmlNode..::.IsReadOnly.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifItemOverloaded.
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifLastChild Gets the last child of the node. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifLocalName Gets the local name of the node. (Overrides XmlNode..::.LocalName.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifName Gets the qualified name of the node. (Overrides XmlNode..::.Name.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifNamespaceURI Gets the namespace URI of this node. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifNameTable Gets the XmlNameTable associated with this implementation.
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifNextSibling Gets the node immediately following this node. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifNodeType Gets the type of the current node. (Overrides XmlNode..::.NodeType.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifOuterXml Gets the markup representing this node and all its child nodes. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifOwnerDocument Gets the XmlDocument to which the current node belongs. (Overrides XmlNode..::.OwnerDocument.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifParentNodeOverloaded.
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifPrefix Gets or sets the namespace prefix of this node. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifPreserveWhitespace Gets or sets a value indicating whether to preserve white space in element content.
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifPreviousSibling Gets the node immediately preceding this node. (Inherited from XmlNode.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifSchemaInfo Returns the Post-Schema-Validation-Infoset (PSVI) of the node. (Overrides XmlNode..::.SchemaInfo.)
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gifSchemas Gets or sets the XmlSchemaSet object associated with this XmlDocument.
1hhx10k1.pubproperty(en-us,VS.90).gif1hhx10k1.CFW(en-us,VS.90).gif1hhx10k1.xna(en-us,VS.90).gif