Inherits System::Xml::XmlNode.
Public Types | |
typedef SharedPtr< XmlDocument > | Ptr |
An alias for shared pointer to an instance of this class. More... | |
![]() | |
typedef SharedPtr< XmlNode > | Ptr |
An alias for shared pointer to an instance of this class. More... | |
![]() | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
typedef System::Details::SharedMembersType | shared_members_type |
structure to keep list of shared pointers contained in object. More... | |
Public Member Functions | |
ASPOSECPP_SHARED_API | XmlDocument () |
Default constructor. Constructs a new instance of XmlDocument class. More... | |
ASPOSECPP_SHARED_API | XmlDocument (xmlDoc *native) |
ASPOSECPP_SHARED_API | XmlDocument (const XmlNameTable::Ptr &nameTable) |
virtual ASPOSECPP_SHARED_API | ~XmlDocument () |
Destructor. More... | |
ASPOSECPP_SHARED_API void | Load (const String &filename) |
ASPOSECPP_SHARED_API void | Load (const SharedPtr< System::IO::Stream > &stream) |
ASPOSECPP_SHARED_API void | Load (const SharedPtr< System::IO::TextReader > &reader) |
ASPOSECPP_SHARED_API void | Load (const SharedPtr< XmlReader > &reader) |
ASPOSECPP_SHARED_API void | LoadXml (const String &xml) |
ASPOSECPP_SHARED_API void | Save (const String &filename) const |
ASPOSECPP_SHARED_API void | Save (const SharedPtr< System::IO::Stream > &stream) const |
ASPOSECPP_SHARED_API void | Save (const SharedPtr< System::IO::TextWriter > &writer) const |
ASPOSECPP_SHARED_API void | Save (const SharedPtr< XmlWriter > &writer) const |
String | get_Name () const override |
Returns the name of the node represented by the current object. More... | |
String | get_Value () const override |
ASPOSECPP_SHARED_API String | get_OuterXml () const override |
Returns the XML markup of the XML node represented by the current object and all its child nodes. More... | |
ASPOSECPP_SHARED_API XmlNode::Ptr | get_FirstChild () const override |
Returns the first child of the node represented by the current object. More... | |
ASPOSECPP_SHARED_API XmlNode::Ptr | get_LastChild () const override |
Returns the last child of the node represented by the current object. More... | |
ASPOSECPP_SHARED_API XmlNode::Ptr | get_NextSibling () const override |
ASPOSECPP_SHARED_API XmlNode::Ptr | get_PreviousSibling () const override |
ASPOSECPP_SHARED_API XmlNode::Ptr | get_ParentNode () const override |
ASPOSECPP_SHARED_API SharedPtr< XmlDocument > | get_OwnerDocument () const override |
ASPOSECPP_SHARED_API XmlElement::Ptr | get_DocumentElement () |
Returns the root XmlElement of the XML document node represented by the current object. More... | |
XmlNameTable::Ptr | get_NameTable () |
Returns the XmlNameTable object associated with the current object. More... | |
bool | get_PreserveWhitespace () const |
Returns a value indicating whether to preserve insignificant white spaces in XML content. More... | |
ASPOSECPP_SHARED_API XmlDocumentType::Ptr | get_DocumentType () const |
Gets the node containing the DOCTYPE declaration. More... | |
ASPOSECPP_SHARED_API void | set_InnerText (String text) override |
ASPOSECPP_SHARED_API void | set_PreserveWhitespace (bool value) |
Sets a value indicating whether to preserve insignificant white spaces in XML content. More... | |
ASPOSECPP_SHARED_API XmlElement::Ptr | idx_get (String name) const override |
virtual ASPOSECPP_SHARED_API void | WriteContentTo (SharedPtr< XmlWriter > writer) override |
virtual ASPOSECPP_SHARED_API void | WriteTo (SharedPtr< XmlWriter > writer) override |
ASPOSECPP_SHARED_API SharedPtr< XmlAttribute > | CreateAttribute (const String &name) |
ASPOSECPP_SHARED_API SharedPtr< XmlAttribute > | CreateAttribute (const String &qualifiedName, const String &namespaceURI) |
ASPOSECPP_SHARED_API SharedPtr< XmlAttribute > | CreateAttribute (const String &prefix, const String &localName, const String &namespaceURI) |
ASPOSECPP_SHARED_API SharedPtr< XmlNode > | CreateNode (XmlNodeType type, const String &qname, const String &namespaceURI=u"") |
ASPOSECPP_SHARED_API SharedPtr< XmlElement > | CreateElement (const String &qname) |
ASPOSECPP_SHARED_API SharedPtr< XmlElement > | CreateElement (const String &qualifiedName, const String &namespaceURI) |
ASPOSECPP_SHARED_API SharedPtr< XmlElement > | CreateElement (const String &prefix, const String &localName, const String &namespaceURI) |
ASPOSECPP_SHARED_API SharedPtr< XmlText > | CreateTextNode (const String &text) |
ASPOSECPP_SHARED_API SharedPtr< XmlComment > | CreateComment (const String &text) |
ASPOSECPP_SHARED_API SharedPtr< XmlDeclaration > | CreateXmlDeclaration (const String &version, const String &encoding=u"", const String &standalone=u"") |
ASPOSECPP_SHARED_API SharedPtr< XmlProcessingInstruction > | CreateProcessingInstruction (const String &target, const String &data) |
ASPOSECPP_SHARED_API SharedPtr< XmlCDataSection > | CreateCDataSection (const String &data) |
ASPOSECPP_SHARED_API SharedPtr< XmlDocumentFragment > | CreateDocumentFragment () |
ASPOSECPP_SHARED_API SharedPtr< XmlNode > | ImportNode (const SharedPtr< XmlNode > &node, bool deep) |
ASPOSECPP_SHARED_API XmlNode::Ptr | AppendChild (XmlNode::Ptr child) override |
ASPOSECPP_SHARED_API XmlNode::Ptr | PrependChild (XmlNode::Ptr child) override |
ASPOSECPP_SHARED_API XmlNode::Ptr | InsertBefore (XmlNode::Ptr child, XmlNode::Ptr ref_child) override |
ASPOSECPP_SHARED_API XmlNode::Ptr | InsertAfter (XmlNode::Ptr child, XmlNode::Ptr ref_child) override |
ASPOSECPP_SHARED_API XmlNode::Ptr | RemoveChild (XmlNode::Ptr child) override |
SharedPtr< XmlNodeList > | SelectNodes (String xpath) override |
SharedPtr< XmlNodeList > | SelectNodes (String xpath, SharedPtr< XmlNamespaceManager > nsmgr) override |
SharedPtr< XmlNode > | SelectSingleNode (String xpath, SharedPtr< XmlNamespaceManager > nsmgr=nullptr) override |
ASPOSECPP_SHARED_API SharedPtr< XmlNodeList > | GetElementsByTagName (const String &name) |
ASPOSECPP_SHARED_API SharedPtr< XmlNodeList > | GetElementsByTagName (const String &localName, const String &namespaceURI) |
ASPOSECPP_SHARED_API SharedPtr< XPath::XPathNavigator > | CreateNavigator () |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | CloneNode (bool deep) override |
xmlDoc * | native_doc () const |
Retirns a pointer to the underlying xmlDoc object. More... | |
ASPOSECPP_SHARED_API void | set_XmlResolver (const SharedPtr< XmlResolver > &resolver) |
![]() | |
virtual ASPOSECPP_SHARED_API | ~XmlNode () |
Destructor. More... | |
virtual ASPOSECPP_SHARED_API XmlNodeType | get_NodeType () const |
Returns the type of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_LocalName () const |
Returns the local name of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_Prefix () const |
Returns the prefix of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_NamespaceURI () const |
Returns the namespace URI of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_InnerText () const |
Returns the concatenated values of the XML node represented by the current object and all its child nodes. More... | |
virtual ASPOSECPP_SHARED_API String | get_InnerXml () const |
Returns the XML markup representing the child nodes of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API bool | get_HasChildNodes () const |
virtual ASPOSECPP_SHARED_API SharedPtr< XmlAttributeCollection > | get_Attributes () |
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeList > | get_ChildNodes () |
virtual ASPOSECPP_SHARED_API void | set_Value (String value) |
virtual void | set_Prefix (String) |
Sets the prefix of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API void | set_InnerXml (String value) |
virtual SharedPtr< XmlElement > | operator[] (String name) const |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | ReplaceChild (XmlNode::Ptr new_child, XmlNode::Ptr old_child) |
virtual ASPOSECPP_SHARED_API void | RemoveAll () |
Removes all child nodes of the XML node reprsented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | GetPrefixOfNamespace (const String &namespace_uri) |
virtual ASPOSECPP_SHARED_API String | GetNamespaceOfPrefix (const String &prefix) |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | SelectSingleNode (String xPath) |
ASPOSECPP_SHARED_API SharedPtr< System::Collections::Generic::IEnumerator< XmlNode::Ptr > > | GetEnumerator () |
XmlNode::Ptr | Clone () |
xmlNode * | native_node () |
Returns a pointer to the underlying libxml2 xmlNode object. More... | |
![]() | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. More... | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. More... | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. More... | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. More... | |
int | SharedCount () const |
Gets current value of shared refernce counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () ASPOSE_CONST |
Analog of C# Object.ToString() method. Enables converting custom objects to string. More... | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More... | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (unsigned int argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
template<> | |
bool | Equals (double const &objA, double const &objB) |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Additional Inherited Members | |
![]() | |
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
Reference-compares value type object with nullptr. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares reference type objects in C# style. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares value type objects in C# style. More... | |
static const TypeInfo & | Type () |
Impleemnts C# typeof(System.Object) construct. More... | |
Represents an XML document. Objects of this class should only be allocated using System::MakeObject() function. Never create instance 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.
An alias for shared pointer to an instance of this class.
ASPOSECPP_SHARED_API System::Xml::XmlDocument::XmlDocument | ( | ) |
Default constructor. Constructs a new instance of XmlDocument class.
ASPOSECPP_SHARED_API System::Xml::XmlDocument::XmlDocument | ( | xmlDoc * | native | ) |
Constructs a new instance of XmlDocument class that represents the specified XML document.
native | An instance of xmlDoc to be represented by the object being constructed |
ASPOSECPP_SHARED_API System::Xml::XmlDocument::XmlDocument | ( | const XmlNameTable::Ptr & | nameTable | ) |
Constructs a new instance of XmlDocument class that uses the specified
nameTable | The name table to be associated with the object being constructed |
|
virtual |
Destructor.
|
overridevirtual |
Adds the specified XML node at the end of the list of children of the XML document represented by the current object.
child | The XML node to add |
child
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
ASPOSECPP_SHARED_API SharedPtr<XmlAttribute> System::Xml::XmlDocument::CreateAttribute | ( | const String & | name | ) |
Creates an attribute with the specified name.
name | The attribute's qualified name |
ASPOSECPP_SHARED_API SharedPtr<XmlAttribute> System::Xml::XmlDocument::CreateAttribute | ( | const String & | qualifiedName, |
const String & | namespaceURI | ||
) |
Creates an attribute with the specified qualified name and namespace URI.
qualifiedName | The attribute's qualified name |
namespaceURI | The attribute's namespace URI |
ASPOSECPP_SHARED_API SharedPtr<XmlAttribute> System::Xml::XmlDocument::CreateAttribute | ( | const String & | prefix, |
const String & | localName, | ||
const String & | namespaceURI | ||
) |
Creates an attribute with the specified prefix, local name and namespace URI.
prefix | The attribute's prefix |
localName | The attribute's local name |
namespaceURI | The attribute's namespace URI |
ASPOSECPP_SHARED_API SharedPtr<XmlCDataSection> System::Xml::XmlDocument::CreateCDataSection | ( | const String & | data | ) |
Creates an XmlCDataSection object representing an XML CDATA section node with the specified content.
data | The content of the XML CDATA section node |
ASPOSECPP_SHARED_API SharedPtr<XmlComment> System::Xml::XmlDocument::CreateComment | ( | const String & | text | ) |
Creates an XmlComment object representing an XML comment node with the specified content.
text | The content of the XML comment node |
ASPOSECPP_SHARED_API SharedPtr<XmlDocumentFragment> System::Xml::XmlDocument::CreateDocumentFragment | ( | ) |
Creates an XmlDocumentFragment object.
ASPOSECPP_SHARED_API SharedPtr<XmlElement> System::Xml::XmlDocument::CreateElement | ( | const String & | qname | ) |
Creates an XmlElement object representing an XML element with the specified qualified name.
qname | The element's qualified name |
ASPOSECPP_SHARED_API SharedPtr<XmlElement> System::Xml::XmlDocument::CreateElement | ( | const String & | qualifiedName, |
const String & | namespaceURI | ||
) |
Creates an XmlElement object representing an XML element with the specified qualified name and namespace URI.
qualifiedName | The element's qualified name |
namespaceURI | The elements's namespace URI |
ASPOSECPP_SHARED_API SharedPtr<XmlElement> System::Xml::XmlDocument::CreateElement | ( | const String & | prefix, |
const String & | localName, | ||
const String & | namespaceURI | ||
) |
Creates an XmlElement object representing an XML element with the specified prefix, local name and namespace URI.
prefix | The element's prefix |
localName | The element's local name |
namespaceURI | The element's namespace URI |
ASPOSECPP_SHARED_API SharedPtr<XPath::XPathNavigator> System::Xml::XmlDocument::CreateNavigator | ( | ) |
Creates an instance of XPath::XPathNavigator class for navigating an XML document represented by the current object.
ASPOSECPP_SHARED_API SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode | ( | XmlNodeType | type, |
const String & | qname, | ||
const String & | namespaceURI = u"" |
||
) |
ASPOSECPP_SHARED_API SharedPtr<XmlProcessingInstruction> System::Xml::XmlDocument::CreateProcessingInstruction | ( | const String & | target, |
const String & | data | ||
) |
Creates an XmlProcessingInstruction object representing an XML processing instruction node with the specified values of 'target' and 'data' attributes.
target | The value of 'target' attribute of the XML processing instruction node represented by the object being constructed |
data | The value of 'data' attribute of the XML processing instruction node represented by the object being constructed |
ASPOSECPP_SHARED_API SharedPtr<XmlDeclaration> System::Xml::XmlDocument::CreateXmlDeclaration | ( | const String & | version, |
const String & | encoding = u"" , |
||
const String & | standalone = u"" |
||
) |
Creates an XmlDeclaration object representing an XML declaration node with the specified values of 'version', 'encoding' and 'standalone' attributes.
version | The value of 'version' attribute of the XML declaration node represented by the object being constructed |
encoding | The value of 'encoding' attribute of the XML declaration node represented by the object being constructed |
standalone | The value of 'standalone' attribute of the XML declaration node represented by the object being constructed |
ASPOSECPP_SHARED_API XmlElement::Ptr System::Xml::XmlDocument::get_DocumentElement | ( | ) |
Returns the root XmlElement of the XML document node represented by the current object.
ASPOSECPP_SHARED_API XmlDocumentType::Ptr System::Xml::XmlDocument::get_DocumentType | ( | ) | const |
Gets the node containing the DOCTYPE declaration.
|
overridevirtual |
Returns the first child of the node represented by the current object.
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
Returns the last child of the node represented by the current object.
Reimplemented from System::Xml::XmlNode.
|
inlineoverridevirtual |
Returns the name of the node represented by the current object.
Implements System::Xml::XmlNode.
|
inline |
Returns the XmlNameTable object associated with the current object.
|
overridevirtual |
Returns the next sibling of the node represented by the current object.
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
Returns the XML markup of the XML node represented by the current object and all its child nodes.
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
Returns a shared pointer to an XmlDocument object representing an XML document node to which the node represented by the current object belongs.
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
Returns the parent node of the node represented by the current object.
Reimplemented from System::Xml::XmlNode.
|
inline |
Returns a value indicating whether to preserve insignificant white spaces in XML content.
|
overridevirtual |
Returns the previous sibling of the node represented by the current object.
Reimplemented from System::Xml::XmlNode.
|
inlineoverridevirtual |
Returns the value of the XML node represented by the current object.
Reimplemented from System::Xml::XmlNode.
ASPOSECPP_SHARED_API SharedPtr<XmlNodeList> System::Xml::XmlDocument::GetElementsByTagName | ( | const String & | name | ) |
ASPOSECPP_SHARED_API SharedPtr<XmlNodeList> System::Xml::XmlDocument::GetElementsByTagName | ( | const String & | localName, |
const String & | namespaceURI | ||
) |
Returns a list of XmlNode objects representing the XML elements whose local name and namespace URI match the specifed values.
localName | The string to match the XML elements' local names against |
namespaceURI | The string to match the XML elements' namespace URI against |
localName
and namespace URIs match namespace
URI
|
overridevirtual |
Returns an XmlElement object representing an XML element with the specified name which is a child of the node represented by the current object.
Reimplemented from System::Xml::XmlNode.
ASPOSECPP_SHARED_API SharedPtr<XmlNode> System::Xml::XmlDocument::ImportNode | ( | const SharedPtr< XmlNode > & | node, |
bool | deep | ||
) |
Imports the specified XML node from another XML document.
node | The node to import |
deep | Specifies whether to perform deep clone of the node (true) or not (false) |
|
overridevirtual |
Adds the specified XML node to the list of children of the XML document represented by the current object at the position next to the position of the specified reference child node.
child | The XML node to add |
ref_child | The reference node indicating the position in the list of children next to which node should be inserted |
child
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
Adds the specified XML node to the list of children of the XML document represented by the current object at the position prior to the position of the specified reference child node.
child | The XML node to add |
ref_child | The reference node indicating the position in the list of children prior to which node should be inserted |
child
Reimplemented from System::Xml::XmlNode.
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Load | ( | const String & | filename | ) |
Loads an XML document from the specified URL; URL can be a file or an HTTP URL.
filename | The URL |
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Load | ( | const SharedPtr< System::IO::Stream > & | stream | ) |
Loads an XML document from the specified stream.
stream | The stream to load the XML document from |
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Load | ( | const SharedPtr< System::IO::TextReader > & | reader | ) |
Loads an XML document from the specified TextReader object.
reader | The TextReader object to load the XML document from |
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::LoadXml | ( | const String & | xml | ) |
Loads an XML document from the specified string.
xml | The string containing an XML document to load |
|
inline |
Retirns a pointer to the underlying xmlDoc object.
|
overridevirtual |
Adds the specified XML node at the beginning of the list of children of the XML document represented by the current object.
child | The XML node to add |
child
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
Removes the specified XML node from the list of children of the XML document represented by the current object.
child | The XML node to remove |
child
Reimplemented from System::Xml::XmlNode.
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Save | ( | const String & | filename | ) | const |
Saves the XML document represented by the current object to the specified file.
filename | A path to the file to save the XML document to |
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Save | ( | const SharedPtr< System::IO::Stream > & | stream | ) | const |
Saves the XML document represented by the current object to the specified stream.
stream | A stream to save the XML document to |
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Save | ( | const SharedPtr< System::IO::TextWriter > & | writer | ) | const |
Saves the XML document represented by the current object to the specified TextWriter object.
writer | A TextWriter object to save the XML document to |
|
inlineoverridevirtual |
Returns a list of XML nodes that match the specfied XPath expression.
xpath | The XPath expression |
Reimplemented from System::Xml::XmlNode.
|
inlineoverridevirtual |
Returns a list of XML nodes that match the specfied XPath expression; any prefixes encountered in xpath
expression are resolved using the specified namespace manager.
xpath | The XPath expression |
nsmgr | The XmlNamespaceManager object used to resolve prefixes found in xpath expression |
Reimplemented from System::Xml::XmlNode.
|
inlineoverridevirtual |
Returns the first XML node that match the specfied XPath expression; any prefixes encountered in xpath
expression are resolved using the specified namespace manager.
xpath | The XPath expression |
nsmgr | The XmlNamespaceManager object used to resolve prefixes found in xpath expression |
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::set_PreserveWhitespace | ( | bool | value | ) |
Sets a value indicating whether to preserve insignificant white spaces in XML content.
ASPOSECPP_SHARED_API void System::Xml::XmlDocument::set_XmlResolver | ( | const SharedPtr< XmlResolver > & | resolver | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
|
overridevirtual |
Saves all children of the XML document node represented by the current object to the specified XmlWriter object.
writer | A XmlWriter object to save the chlid nodes to |
Reimplemented from System::Xml::XmlNode.
|
overridevirtual |
Saves the XML document node represented by the current object to the specified XmlWriter object.
writer | A XmlWriter object to save the node to |
Implements System::Xml::XmlNode.
XmlNodeChangedEventSignal System::Xml::XmlDocument::NodeChanged |
An event that is triggered when the value of the XML node belonging to the XML document represented by the current object hes been modified.
XmlNodeChangedEventSignal System::Xml::XmlDocument::NodeChanging |
An event that is triggered when the value of the XML node belonging to the XML document represented by the current object is about to be modified.
XmlNodeChangedEventSignal System::Xml::XmlDocument::NodeInserted |
An event that is triggered when an XML node belonging to the XML document represented by the current object has been inserted into another XML node.
XmlNodeChangedEventSignal System::Xml::XmlDocument::NodeInserting |
An event that is triggered when an XML node belonging to the XML document represented by the current object is about to be inserted into another XML node.
XmlNodeChangedEventSignal System::Xml::XmlDocument::NodeRemoved |
An event that is triggered when an XML node belonging to the XML document represented by the current object has been removed from the list of children of its parent node.
XmlNodeChangedEventSignal System::Xml::XmlDocument::NodeRemoving |
An event that is triggered when an XML node belonging to the XML document represented by the current object is about to be removed from the list of children of its parent node.