System.Xml Namespace

July 28, 2014

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

The supported standards include:

  • 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/).

  ClassDescription
Public classNameTableImplements a single-threaded XmlNameTable.
Public classUniqueIdRepresents a unique identifier optimized for GUIDs.
Public classXmlBinaryReaderSessionEnables optimized strings to be managed in a dynamic way.
Public classXmlBinaryWriterSessionEnables using a dynamic dictionary to compress common strings that appear in a message and maintain state.
Public classXmlConvertEncodes and decodes XML names and provides methods for converting between common language runtime types. When converting data types the values returned are locale independent.
Public classXmlDictionaryImplements a dictionary used to optimize Windows Phone's XML reader/writer implementations.
Public classXmlDictionaryReaderAn abstractWindows Phone class that provides some additional serialization and deserialization functionality to XmlReader.
Public classXmlDictionaryReaderQuotasContains quota values for XmlDictionaryReader.
Public classXmlDictionaryStringRepresents an entry stored in a XmlDictionary.
Public classXmlDictionaryWriterAn abstract class to do serialization and deserialization.
Public classXmlExceptionReturns detailed information about the last exception.
Public classXmlNamespaceManagerResolves, adds, and removes namespaces to a collection and provides scope management for these namespaces.
Public classXmlNameTableTable of atomized string objects.
Public classXmlParserContextProvides all the context information required by the XmlReader to parse an XML fragment.
Public classXmlQualifiedNameRepresents an XML qualified name.
Public classXmlReaderRepresents a reader that provides fast, non-cached, forward-only access to XML data.
Public classXmlReaderSettingsSpecifies a set of features to support on the XmlReader object created by the Create method.
Public classXmlResolverResolves external XML resources named by a Uniform Resource Identifier (URI).
Public classXmlWriterRepresents a writer that provides a fast, non-cached, forward-only means of generating streams or files containing XML data.
Public classXmlWriterSettingsSpecifies a set of features to support on the XmlWriter object created by the XmlWriter.Create method.
Public classXmlXapResolverThe XmlXapResolver type is used to resolve resources in the Windows Phone application’s XAP package.

  InterfaceDescription
Public interfaceIXmlDictionaryAn interface that defines the contract that an XML dictionary must implement to be used by XmlDictionaryReader and XmlDictionaryWriter implementations.
Public interfaceIXmlLineInfoProvides an interface to enable a class to return line and position information.
Public interfaceIXmlNamespaceResolverProvides read-only access to a set of prefix and namespace mappings.

  EnumerationDescription
Public enumerationConformanceLevelSpecifies the amount of input or output checking that the created XmlReader and XmlWriter objects perform.
Public enumerationDtdProcessingSpecifies the options for processing DTDs. The DtdProcessing enumeration is used by XmlReaderSettings.
Public enumerationNamespaceHandlingSpecifies whether to remove duplicate namespace declarations in the XmlWriter.
Public enumerationNewLineHandlingSpecifies how to handle line breaks.
Public enumerationReadStateSpecifies the state of the reader.
Public enumerationWriteStateSpecifies the state of the XmlWriter.
Public enumerationXmlDateTimeSerializationModeSpecifies how to treat the time value when converting between string and DateTime.
Public enumerationXmlNamespaceScopeDefines the namespace scope.
Public enumerationXmlNodeTypeSpecifies the type of node.
Public enumerationXmlSpaceSpecifies the current xml:space scope.
Public enumerationXmlTokenizedTypeRepresents the XML type for the string. This allows the string to be read as a particular XML type, for example a CDATA section type.

Show:
© 2014 Microsoft