XdmDocument ClassXdmDocument ClassXdmDocument Class
Inheritance Hierarchy
- System.ObjectSystem.ObjectSystem::Object
- XmlPrime.XdmDocumentXmlPrime.XdmDocumentXmlPrime::XdmDocument
Syntax
Public NotInheritable Class XdmDocument _ Implements System.Xml.XPath.IXPathNavigable
public sealed class XdmDocument : System.Xml.XPath.IXPathNavigable
public: ref class XdmDocument sealed : System.Xml.XPath::IXPathNavigable^
Constructors
Constructor | Description | |
---|---|---|
![]() | XdmDocument (Stream)XdmDocument (Stream)XdmDocument (Stream^) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified StreamStreamStream object. |
![]() | XdmDocument (Stream, XmlSpace)XdmDocument (Stream, XmlSpace)XdmDocument (Stream^, XmlSpace) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified StreamStreamStream object. |
![]() | XdmDocument (TextReader)XdmDocument (TextReader)XdmDocument (TextReader^) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified TextReaderTextReaderTextReader object. |
![]() | XdmDocument (TextReader, XmlSpace)XdmDocument (TextReader, XmlSpace)XdmDocument (TextReader^, XmlSpace) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified TextReaderTextReaderTextReader object. |
![]() | XdmDocument (string)XdmDocument (String)XdmDocument (String^) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data in the specified file. |
![]() | XdmDocument (string, Stream)XdmDocument (String, Stream)XdmDocument (String^, Stream^) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified StreamStreamStream object. |
![]() | XdmDocument (string, Stream, XmlSpace)XdmDocument (String, Stream, XmlSpace)XdmDocument (String^, Stream^, XmlSpace) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified StreamStreamStream object. |
![]() | XdmDocument (string, TextReader)XdmDocument (String, TextReader)XdmDocument (String^, TextReader^) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified TextReaderTextReaderTextReader object. |
![]() | XdmDocument (string, TextReader, XmlSpace)XdmDocument (String, TextReader, XmlSpace)XdmDocument (String^, TextReader^, XmlSpace) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified TextReaderTextReaderTextReader object. |
![]() | XdmDocument (string, XmlReader)XdmDocument (String, XmlReader)XdmDocument (String^, XmlReader^) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object, with the specified document URI. |
![]() | XdmDocument (string, XmlReader, XmlSpace)XdmDocument (String, XmlReader, XmlSpace)XdmDocument (String^, XmlReader^, XmlSpace) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object with the specified document URI and white space handling. |
![]() | XdmDocument (string, XmlSpace)XdmDocument (String, XmlSpace)XdmDocument (String^, XmlSpace) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data in the specified file. |
![]() | XdmDocument (XmlReader)XdmDocument (XmlReader)XdmDocument (XmlReader^) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object. |
![]() | XdmDocument (XmlReader, bool)XdmDocument (XmlReader, Boolean)XdmDocument (XmlReader^, bool) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object. |
![]() | XdmDocument (XmlReader, XmlSpace)XdmDocument (XmlReader, XmlSpace)XdmDocument (XmlReader^, XmlSpace) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object with the specified white space handling. |
![]() | XdmDocument (XmlReader, XmlSpace, bool)XdmDocument (XmlReader, XmlSpace, Boolean)XdmDocument (XmlReader^, XmlSpace, bool) | Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object with the specified white space handling. |
Methods
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | IXPathNavigable.CreateNavigatorIXPathNavigable.CreateNavigatorIXPathNavigable::CreateNavigator | Returns a read-only XPathNavigatorXPathNavigatorXPathNavigator for navigating through nodes of this XdmDocumentXdmDocumentXdmDocument. |
Remarks
The XdmDocumentXdmDocumentXdmDocument is the preferred document type for documents used in an XQuery program, an XPath expression, or an XSL transformation.
The XdmDocumentXdmDocumentXdmDocument differs from XPathDocumentXPathDocumentXPathDocument in the following respects:
- When the source XmlReaderXmlReaderXmlReader is a validating reader, XML Schema type information is exposed through the SchemaInfoSchemaInfoSchemaInfo property.
- For elements with complex-only content (as defined by XML Schema), any white space text node children will be discarded.
The current XdmDocumentXdmDocumentXdmDocument 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.