Share via


System.Xml Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

The supported standards include:

Classes

  Class Description
NameTable Implements a single-threaded XmlNameTable.
UniqueId Represents a unique identifier optimized for GUIDs.
XmlBinaryReaderSession Enables optimized strings to be managed in a dynamic way.
XmlBinaryWriterSession Enables using a dynamic dictionary to compress common strings that appear in a message and maintain state.
XmlConvert Encodes and decodes XML names and provides methods for converting between common language runtime types. When converting data types the values returned are locale independent.
XmlDictionary Implements a dictionary used to optimize Windows Phone's XML reader/writer implementations.
XmlDictionaryReader An abstractWindows Phone class that provides some additional serialization and deserialization functionality to XmlReader.
XmlDictionaryReaderQuotas Contains quota values for XmlDictionaryReader.
XmlDictionaryString Represents an entry stored in a XmlDictionary.
XmlDictionaryWriter An abstract class to do serialization and deserialization.
XmlException Returns detailed information about the last exception.
XmlNamespaceManager Resolves, adds, and removes namespaces to a collection and provides scope management for these namespaces.
XmlNameTable Table of atomized string objects.
XmlParserContext Provides all the context information required by the XmlReader to parse an XML fragment.
XmlQualifiedName Represents an XML qualified name.
XmlReader Represents a reader that provides fast, non-cached, forward-only access to XML data.
XmlReaderSettings Specifies a set of features to support on the XmlReader object created by the Create method.
XmlResolver Resolves external XML resources named by a Uniform Resource Identifier (URI).
XmlWriter Represents a writer that provides a fast, non-cached, forward-only means of generating streams or files containing XML data.
XmlWriterSettings Specifies a set of features to support on the XmlWriter object created by the XmlWriter..::.Create method.
XmlXapResolver The XmlXapResolver type is used to resolve resources in the Windows Phone application’s XAP package.

Interfaces

  Interface Description
IXmlDictionary An interface that defines the contract that an XML dictionary must implement to be used by XmlDictionaryReader and XmlDictionaryWriter implementations.
IXmlLineInfo Provides an interface to enable a class to return line and position information.
IXmlNamespaceResolver Provides read-only access to a set of prefix and namespace mappings.

Enumerations

  Enumeration Description
ConformanceLevel Specifies the amount of input or output checking that the created XmlReader and XmlWriter objects perform.
DtdProcessing Specifies the options for processing DTDs. The DtdProcessing enumeration is used by XmlReaderSettings.
NamespaceHandling Specifies whether to remove duplicate namespace declarations in the XmlWriter.
NewLineHandling Specifies how to handle line breaks.
ReadState Specifies the state of the reader.
WriteState Specifies the state of the XmlWriter.
XmlDateTimeSerializationMode Specifies how to treat the time value when converting between string and DateTime.
XmlNamespaceScope Defines the namespace scope.
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.