Export (0) Print
Expand All

System.Xml Namespace

The System.Xml namespace provides standards-based support for processing XML. The supported standards are:

  • XML 1.0 - http://www.w3.org/TR/1998/REC-xml-19980210 - including DTD support.
  • XML Namespaces - http://www.w3.org/TR/REC-xml-names/ - both stream level and DOM.
  • XSD Schemas - http://www.w3.org/2001/XMLSchema
  • XPath expressions - http://www.w3.org/TR/xpath
  • XSLT transformations - http://www.w3.org/TR/xslt
  • DOM Level 1 Core - http://www.w3.org/TR/REC-DOM-Level-1/
  • DOM Level 2 Core - http://www.w3.org/TR/DOM-Level-2/

Namespace hierarchy

Classes

Class Description
NameTable Implements a single-threaded XmlNameTable.
XmlAttribute Represents an attribute. Valid and default values for the attribute are defined in a DTD or schema.
XmlAttributeCollection Represents a collection of attributes that can be accessed by name or index.
XmlCDataSection Represents a CDATA section.
XmlCharacterData Provides text manipulation methods that are used by several classes.
XmlComment Represents the content of an XML comment.
XmlConvert Encodes and decodes XML names and provides methods for converting between common language runtime types and XML Schema definition language (XSD) types. When converting data types the values returned are locale independent.
XmlDataDocument Allows structured data to be stored, retrieved, and manipulated through a relational DataSet.
XmlDeclaration Represents the XML declaration node: <?xml version='1.0' ...?>.
XmlDocument Represents an XML document.
XmlDocumentFragment Represents a lightweight object that is useful for tree insert operations.
XmlDocumentType Represents the document type declaration.
XmlElement Represents an element.
XmlEntity Represents an entity declaration: <!ENTITY ... >.
XmlEntityReference Represents an entity reference node.
XmlException Returns detailed information about the last exception.
XmlImplementation Defines the context for a set of XmlDocument objects.
XmlLinkedNode Gets the node immediately preceding or following this node.
XmlNamedNodeMap Represents a collection of nodes that can be accessed by name or index.
XmlNamespaceManager Resolves, adds and removes namespaces to a collection and provides scope management for these namespaces. This class is used by the XsltContext and XmlReader classes.
XmlNameTable Table of atomized string objects.
XmlNode Represents a single node in the XML document.
XmlNodeChangedEventArgs Provides data for the NodeChanged, NodeChanging, NodeInserted, NodeInserting, NodeRemoved and NodeRemoving events.
XmlNodeList Represents an ordered collection of nodes.
XmlNodeReader Represents a reader that provides fast, non-cached forward only access to XML data in an XmlNode .
XmlNotation Represents a notation declaration: <!NOTATION ... >.
XmlParserContext Provides all the context information required by XmlTextReader or XmlValidatingReader to parse an XML fragment.
XmlProcessingInstruction Represents a processing instruction, which XML defines to keep processor-specific information in the text of the document.
XmlQualifiedName Represents an XML qualified name.
XmlReader Represents a reader that provides fast, non-cached, forward-only access to XML data.
XmlResolver Resolves external XML resources named by a URI.
XmlSecureResolver Helps to secure another implementation of XmlResolver by wrapping the XmlResolver object and restricting the resources that the underlying XmlResolver has access to.
XmlSignificantWhitespace Represents white space between markup in a mixed content mode or white space within an xml:space= 'preserve' scope. This is also referred to as significant white space.
XmlText Represents the text content of an element or attribute.
XmlTextReader Represents a reader that provides fast, non-cached, forward-only access to XML data.
XmlTextWriter Represents a writer that provides a fast, non-cached, forward-only way of generating streams or files containing XML data that conforms to the W3C Extensible Markup Language (XML) 1.0 and the Namespaces in XML recommendations.
XmlUrlResolver Resolves external XML resources named by a URI.
XmlValidatingReader Represents a reader that provides DTD, XML-Data Reduced (XDR) schema, and XML Schema definition language (XSD) schema validation.
XmlWhitespace Represents white space in element content.
XmlWriter Represents a writer that provides a fast, non-cached, forward-only means of generating streams or files containing XML data that conforms to the W3C Extensible Markup Language (XML) 1.0 and the Namespaces in XML recommendations.

Interfaces

Interface Description
IHasXmlNode Enables a class to return an XmlNode from the current context or position.
IXmlLineInfo Provides an interface to enable a class to return line and position information.

Delegates

Delegate Description
XmlNodeChangedEventHandler Represents the method that handles NodeChanged, NodeChanging, NodeInserted, NodeInserting, NodeRemoved and NodeRemoving events.

Enumerations

Enumeration Description
EntityHandling Specifies how entities are handled.
Formatting Specifies formatting options for the XmlTextWriter.
ReadState Specifies the state of the reader.
ValidationType Specifies the type of validation to perform.
WhitespaceHandling Specifies how white space is handled.
WriteState Specifies the state of the XmlWriter.
XmlNodeChangedAction Specifies the type of node change.
XmlNodeOrder Describes the document order of a node compared to a second node.
XmlNodeType Specifies the type of node.
XmlSpace Specifies the current xml:space scope.
XmlTokenizedType Represents the XML type for the string. This allows the string to be read as a particular XML type, for example a CDATA section type.

See Also

.NET Framework Class Library

Show:
© 2014 Microsoft