System::Xml::XPath::XPathDocument class
Contents
[
Hide
]XPathDocument class
Provides a fast, read-only, in-memory representation of an XML document by using the XPath data model.
class XPathDocument : public System::Xml::XPath::IXPathNavigable
Methods
Method | Description |
---|---|
CreateNavigator() override | Initializes a read-only XPathNavigator object for navigating through nodes in this XPathDocument. |
XPathDocument(const SharedPtr<XmlReader>&) | Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified XmlReader object. |
XPathDocument(const SharedPtr<XmlReader>&, XmlSpace) | Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified XmlReader object with the specified white space handling. |
XPathDocument(const SharedPtr<IO::TextReader>&) | Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified TextReader object. |
XPathDocument(const SharedPtr<IO::Stream>&) | Initializes a new instance of the XPathDocument class from the XML data in the specified Stream object. |
XPathDocument(const String&) | Initializes a new instance of the XPathDocument class from the XML data in the specified file. |
XPathDocument(const String&, XmlSpace) | Initializes a new instance of the XPathDocument class from the XML data in the file specified with the white space handling specified. |
Typedefs
Typedef | Description |
---|---|
Ptr | An alias for shared pointer to an instance of this class. |
Remarks
Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
See Also
- Class IXPathNavigable
- Namespace System::Xml::XPath
- Library Aspose.PUB for C++