XdmEditableDocument ClassXdmEditableDocument ClassXdmEditableDocument Class

Provides a fast, read-only, in-memory representation of an XML document using the XQuery 1.0 and XPath 2.0 Data Model (XDM).

Inheritance Hierarchy

Syntax

Public NotInheritable Class XdmEditableDocument _
        Implements System.Xml.XPath.IXPathNavigable
public sealed class XdmEditableDocument : System.Xml.XPath.IXPathNavigable
public:
ref class XdmEditableDocument sealed : System.Xml.XPath::IXPathNavigable^
 
The XdmEditableDocumentXdmEditableDocumentXdmEditableDocument type exposes the following members.

Constructors

 ConstructorDescription
Public methodXdmEditableDocument (Stream)XdmEditableDocument (Stream)XdmEditableDocument (Stream^) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified StreamStreamStream object.
Public methodXdmEditableDocument (Stream, XmlSpace)XdmEditableDocument (Stream, XmlSpace)XdmEditableDocument (Stream^, XmlSpace) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified StreamStreamStream object.
Public methodXdmEditableDocument (TextReader)XdmEditableDocument (TextReader)XdmEditableDocument (TextReader^) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified TextReaderTextReaderTextReader object.
Public methodXdmEditableDocument (TextReader, XmlSpace)XdmEditableDocument (TextReader, XmlSpace)XdmEditableDocument (TextReader^, XmlSpace) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified TextReaderTextReaderTextReader object.
Public methodXdmEditableDocument (string)XdmEditableDocument (String)XdmEditableDocument (String^) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data in the specified file.
Public methodXdmEditableDocument (string, Stream)XdmEditableDocument (String, Stream)XdmEditableDocument (String^, Stream^) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified StreamStreamStream object.
Public methodXdmEditableDocument (string, Stream, XmlSpace)XdmEditableDocument (String, Stream, XmlSpace)XdmEditableDocument (String^, Stream^, XmlSpace) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified StreamStreamStream object.
Public methodXdmEditableDocument (string, TextReader)XdmEditableDocument (String, TextReader)XdmEditableDocument (String^, TextReader^) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified TextReaderTextReaderTextReader object.
Public methodXdmEditableDocument (string, TextReader, XmlSpace)XdmEditableDocument (String, TextReader, XmlSpace)XdmEditableDocument (String^, TextReader^, XmlSpace) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified TextReaderTextReaderTextReader object.
Public methodXdmEditableDocument (string, XmlReader)XdmEditableDocument (String, XmlReader)XdmEditableDocument (String^, XmlReader^) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object, with the specified document URI.
Public methodXdmEditableDocument (string, XmlReader, XmlSpace)XdmEditableDocument (String, XmlReader, XmlSpace)XdmEditableDocument (String^, XmlReader^, XmlSpace) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object with the specified document URI and white space handling.
Public methodXdmEditableDocument (string, XmlSpace)XdmEditableDocument (String, XmlSpace)XdmEditableDocument (String^, XmlSpace) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data in the specified file.
Public methodXdmEditableDocument (XmlReader)XdmEditableDocument (XmlReader)XdmEditableDocument (XmlReader^) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object.
Public methodXdmEditableDocument (XmlReader, XmlSpace)XdmEditableDocument (XmlReader, XmlSpace)XdmEditableDocument (XmlReader^, XmlSpace) Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object with the specified white space handling.

Top

Methods

 MethodDescription
Public methodCreateNavigatorCreateNavigatorCreateNavigator Returns a read-only XdmNavigatorXdmNavigatorXdmNavigator for navigating through nodes of this XdmEditableDocumentXdmEditableDocumentXdmEditableDocument.
Public methodObject.EqualsObject.EqualsObject::Equals Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCode Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.ToStringObject.ToStringObject::ToString Returns a stringStringString that represents the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)

Top

Explicit Interface Implementations

 NameDescription
Explicit interface implementationPrivate methodIXPathNavigable.CreateNavigatorIXPathNavigable.CreateNavigatorIXPathNavigable::CreateNavigator Returns a read-only XPathNavigatorXPathNavigatorXPathNavigator for navigating through nodes of this XdmEditableDocumentXdmEditableDocumentXdmEditableDocument.

Top

Remarks

The XdmEditableDocumentXdmEditableDocumentXdmEditableDocument is the preferred document type for documents used in an XQuery program, an XPath expression, or an XSL transformation.

The XdmEditableDocumentXdmEditableDocumentXdmEditableDocument differs from XPathDocumentXPathDocumentXPathDocument in the following respects:

The current XdmEditableDocumentXdmEditableDocumentXdmEditableDocument implementation is currently unable to read external DTDs, which is required to determine which attributes are marked as ID or IDREFS. This is because the XmlReaderXmlReaderXmlReader class does not expose the types of attributes declared in a DTD. This has the effect that the fn:id and fn:idref functions may not work correctly.

Markup declarations specified directly in the internal subset are processed to determine the types of attributes.