System::Xml::XmlDocument Class Reference

Inherits System::Xml::XmlNode.

Public Types

using Ptr = SharedPtr< XmlDocument >
 An alias for shared pointer to an instance of this class. More...
 
- Public Types inherited from System::Xml::XmlNode
using Ptr = SharedPtr< XmlNode >
 An alias for shared pointer to an instance of this class. More...
 
- Public Types inherited from System::Collections::Generic::IEnumerable< SharedPtr< System::Xml::XmlNode > >
typedef IEnumerator< SharedPtr< System::Xml::XmlNode > > IEnumeratorType
 Enumerator type. More...
 
using ValueType = SharedPtr< System::Xml::XmlNode >
 
using iterator = System::Details::VirtualizedIterator< SharedPtr< System::Xml::XmlNode > >
 Iterator type. More...
 
using const_iterator = System::Details::VirtualizedConstIterator< SharedPtr< System::Xml::XmlNode > >
 Const iterator type. More...
 
using virtualized_iterator = System::Details::VirtualizedIteratorBase< SharedPtr< System::Xml::XmlNode > >
 Inner iterator base type. More...
 
using virtualized_iterator_element = SharedPtr< System::Xml::XmlNode >
 Inner iterator element type. More...
 
- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 

Public Member Functions

ASPOSECPP_SHARED_API XmlNodeType get_NodeType () override
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlDocumentTypeget_DocumentType ()
 
ASPOSECPP_SHARED_API SharedPtr< XmlImplementationget_Implementation ()
 
ASPOSECPP_SHARED_API String get_Name () override
 
ASPOSECPP_SHARED_API String get_LocalName () override
 
ASPOSECPP_SHARED_API SharedPtr< XmlElementget_DocumentElement ()
 
ASPOSECPP_SHARED_API SharedPtr< XmlDocumentget_OwnerDocument () override
 
ASPOSECPP_SHARED_API SharedPtr< Schema::XmlSchemaSetget_Schemas ()
 
ASPOSECPP_SHARED_API void set_Schemas (const SharedPtr< Schema::XmlSchemaSet > &value)
 
virtual ASPOSECPP_SHARED_API void set_XmlResolver (SharedPtr< System::Xml::XmlResolver > value)
 
ASPOSECPP_SHARED_API SharedPtr< XmlNameTableget_NameTable ()
 
ASPOSECPP_SHARED_API bool get_PreserveWhitespace ()
 
ASPOSECPP_SHARED_API void set_PreserveWhitespace (bool value)
 
ASPOSECPP_SHARED_API bool get_IsReadOnly () override
 
ASPOSECPP_SHARED_API void set_InnerText (String value) override
 
ASPOSECPP_SHARED_API String get_InnerXml () override
 
ASPOSECPP_SHARED_API void set_InnerXml (String value) override
 
ASPOSECPP_SHARED_API SharedPtr< Schema::IXmlSchemaInfoget_SchemaInfo () override
 
ASPOSECPP_SHARED_API String get_BaseURI () override
 
ASPOSECPP_SHARED_API XmlDocument ()
 Initializes a new instance of the XmlDocument class. More...
 
ASPOSECPP_SHARED_API XmlDocument (const SharedPtr< XmlNameTable > &nt)
 
ASPOSECPP_SHARED_API SharedPtr< XmlNodeCloneNode (bool deep) override
 
ASPOSECPP_SHARED_API SharedPtr< XmlAttributeCreateAttribute (const String &name)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlCDataSectionCreateCDataSection (const String &data)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlCommentCreateComment (const String &data)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlDocumentTypeCreateDocumentType (const String &name, const String &publicId, const String &systemId, const String &internalSubset)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlDocumentFragmentCreateDocumentFragment ()
 
ASPOSECPP_SHARED_API SharedPtr< XmlElementCreateElement (const String &name)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlEntityReferenceCreateEntityReference (const String &name)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlProcessingInstructionCreateProcessingInstruction (const String &target, const String &data)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlDeclarationCreateXmlDeclaration (const String &version, const String &encoding, const String &standalone)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlTextCreateTextNode (const String &text)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlSignificantWhitespaceCreateSignificantWhitespace (const String &text)
 
ASPOSECPP_SHARED_API SharedPtr< XPath::XPathNavigatorCreateNavigator () override
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlWhitespaceCreateWhitespace (const String &text)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeListGetElementsByTagName (String name)
 
ASPOSECPP_SHARED_API SharedPtr< XmlAttributeCreateAttribute (const String &qualifiedName, const String &namespaceURI)
 
ASPOSECPP_SHARED_API SharedPtr< XmlElementCreateElement (const String &qualifiedName, const String &namespaceURI)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeListGetElementsByTagName (String localName, String namespaceURI)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlElementGetElementById (String elementId)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeImportNode (SharedPtr< XmlNode > node, bool deep)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlAttributeCreateAttribute (const String &prefix, const String &localName, const String &namespaceURI)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlElementCreateElement (const String &prefix, const String &localName, const String &namespaceURI)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeCreateNode (XmlNodeType type, const String &prefix, const String &name, const String &namespaceURI)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeCreateNode (const String &nodeTypeString, const String &name, const String &namespaceURI)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeCreateNode (XmlNodeType type, const String &name, const String &namespaceURI)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeReadNode (SharedPtr< XmlReader > reader)
 
virtual ASPOSECPP_SHARED_API void Load (String filename)
 
virtual ASPOSECPP_SHARED_API void Load (SharedPtr< IO::Stream > inStream)
 
virtual ASPOSECPP_SHARED_API void Load (SharedPtr< IO::TextReader > txtReader)
 
virtual ASPOSECPP_SHARED_API void Load (SharedPtr< XmlReader > reader)
 
virtual ASPOSECPP_SHARED_API void LoadXml (String xml)
 
virtual ASPOSECPP_SHARED_API void Save (String filename)
 
virtual ASPOSECPP_SHARED_API void Save (SharedPtr< IO::Stream > outStream)
 
virtual ASPOSECPP_SHARED_API void Save (SharedPtr< IO::TextWriter > writer)
 
virtual ASPOSECPP_SHARED_API void Save (SharedPtr< XmlWriter > w)
 
ASPOSECPP_SHARED_API void WriteTo (const SharedPtr< XmlWriter > &w) override
 
ASPOSECPP_SHARED_API void WriteContentTo (const SharedPtr< XmlWriter > &xw) override
 
ASPOSECPP_SHARED_API void Validate (Schema::ValidationEventHandler validationEventHandler)
 
ASPOSECPP_SHARED_API void Validate (Schema::ValidationEventHandler validationEventHandler, const SharedPtr< XmlNode > &nodeToValidate)
 
- Public Member Functions inherited from System::Xml::XmlNode
virtual ASPOSECPP_SHARED_API String get_Value ()
 
virtual ASPOSECPP_SHARED_API void set_Value (String value)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeget_ParentNode () final
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeListget_ChildNodes ()
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeget_PreviousSibling () final
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeget_NextSibling () final
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlAttributeCollectionget_Attributes () final
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeget_FirstChild () final
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeget_LastChild () final
 
virtual ASPOSECPP_SHARED_API bool get_HasChildNodes ()
 
virtual ASPOSECPP_SHARED_API String get_NamespaceURI ()
 
virtual ASPOSECPP_SHARED_API String get_Prefix ()
 
virtual ASPOSECPP_SHARED_API void set_Prefix (String value)
 
virtual ASPOSECPP_SHARED_API String get_InnerText ()
 
virtual ASPOSECPP_SHARED_API String get_OuterXml ()
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeget_PreviousText ()
 
ASPOSECPP_SHARED_API SharedPtr< XPath::XPathNavigatorCreateNavigator () override
 
ASPOSECPP_SHARED_API SharedPtr< XmlNodeSelectSingleNode (const String &xpath)
 
ASPOSECPP_SHARED_API SharedPtr< XmlNodeSelectSingleNode (const String &xpath, const SharedPtr< XmlNamespaceManager > &nsmgr)
 
ASPOSECPP_SHARED_API SharedPtr< XmlNodeListSelectNodes (const String &xpath)
 
ASPOSECPP_SHARED_API SharedPtr< XmlNodeListSelectNodes (const String &xpath, const SharedPtr< XmlNamespaceManager > &nsmgr)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeInsertBefore (SharedPtr< XmlNode > newChild, SharedPtr< XmlNode > refChild)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeInsertAfter (SharedPtr< XmlNode > newChild, SharedPtr< XmlNode > refChild)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeReplaceChild (SharedPtr< XmlNode > newChild, SharedPtr< XmlNode > oldChild)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeRemoveChild (SharedPtr< XmlNode > oldChild)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodePrependChild (SharedPtr< XmlNode > newChild)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeAppendChild (SharedPtr< XmlNode > newChild)
 
virtual ASPOSECPP_SHARED_API void Normalize ()
 
virtual ASPOSECPP_SHARED_API bool Supports (String feature, String version)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeClone ()
 
ASPOSECPP_SHARED_API SharedPtr< Collections::Generic::IEnumerator< SharedPtr< XmlNode > > > GetEnumerator () override
 
virtual ASPOSECPP_SHARED_API void RemoveAll ()
 Removes all the child nodes and/or attributes of the current node. More...
 
virtual ASPOSECPP_SHARED_API String GetNamespaceOfPrefix (String prefix)
 
virtual ASPOSECPP_SHARED_API String GetPrefixOfNamespace (String namespaceURI)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlElementidx_get (String name)
 
virtual ASPOSECPP_SHARED_API SharedPtr< XmlElementidx_get (String localname, String ns)
 
- Public Member Functions inherited from System::Collections::Generic::IEnumerable< SharedPtr< System::Xml::XmlNode > >
SharedPtr< System::Xml::XmlNodeLINQ_ElementAt (int index)
 
SharedPtr< System::Xml::XmlNodeLINQ_First ()
 
SharedPtr< System::Xml::XmlNodeLINQ_First (const Func< SharedPtr< System::Xml::XmlNode >, bool > &predicate)
 
SharedPtr< System::Xml::XmlNodeLINQ_FirstOrDefault ()
 
SharedPtr< System::Xml::XmlNodeLINQ_FirstOrDefault (std::function< bool(SharedPtr< System::Xml::XmlNode >)> predicate)
 
SharedPtr< System::Xml::XmlNodeLINQ_Last ()
 
SharedPtr< System::Xml::XmlNodeLINQ_LastOrDefault ()
 
SharedPtr< List< SharedPtr< System::Xml::XmlNode > > > LINQ_ToList ()
 
int LINQ_Count ()
 
int LINQ_Count (const Func< SharedPtr< System::Xml::XmlNode >, bool > &predicate)
 
System::ArrayPtr< SharedPtr< System::Xml::XmlNode > > LINQ_ToArray ()
 
bool LINQ_All (std::function< bool(SharedPtr< System::Xml::XmlNode >)> predicate)
 
bool LINQ_Any ()
 
bool LINQ_Any (std::function< bool(SharedPtr< System::Xml::XmlNode >)> predicate)
 
SharedPtr< IEnumerable< SharedPtr< System::Xml::XmlNode > > > LINQ_Where (std::function< bool(SharedPtr< System::Xml::XmlNode >)> predicate)
 
bool LINQ_Contains (SharedPtr< System::Xml::XmlNode > value)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Cast ()
 
SharedPtr< IEnumerable< Result > > LINQ_Cast ()
 
SharedPtr< IEnumerable< SharedPtr< System::Xml::XmlNode > > > LINQ_OrderBy (const Func< SharedPtr< System::Xml::XmlNode >, Key > &keySelector)
 
SharedPtr< IEnumerable< Source > > LINQ_OrderBy (const Func< Source, Key > &keySelector)
 
SharedPtr< IEnumerable< SharedPtr< System::Xml::XmlNode > > > LINQ_OrderByDescending (const Func< SharedPtr< System::Xml::XmlNode >, Key > &keySelector)
 
SharedPtr< IEnumerable< Source > > LINQ_OrderByDescending (const Func< Source, Key > &keySelector)
 
SharedPtr< IEnumerable< ResultType > > LINQ_OfType ()
 
SharedPtr< IEnumerable< Result > > LINQ_OfType ()
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< SharedPtr< System::Xml::XmlNode >, ResultType > &selector)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< SharedPtr< System::Xml::XmlNode >, int32_t, ResultType > &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, Result > &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, int32_t, Result > &selector)
 
SharedPtr< IEnumerable< SharedPtr< System::Xml::XmlNode > > > LINQ_Concat (SharedPtr< IEnumerable< SharedPtr< System::Xml::XmlNode > >> sequence)
 
System::SharedPtr< IEnumerable< System::SharedPtr< System::Linq::IGrouping< Key, SharedPtr< System::Xml::XmlNode > > > > > LINQ_GroupBy (System::Func< SharedPtr< System::Xml::XmlNode >, Key > keyPredicate)
 
SharedPtr< IEnumerable< SharedPtr< System::Linq::IGrouping< Key, Source > > > > LINQ_GroupBy (System::Func< Source, Key > keyPredicate)
 
SharedPtr< IEnumerable< ResultType > > LINQ_SelectMany (const Func< SharedPtr< System::Xml::XmlNode >, SharedPtr< IEnumerable< ResultType >>> &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_SelectMany (const Func< Source, SharedPtr< IEnumerable< Result >>> &selector)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
virtual virtualized_iteratorvirtualizeBeginIterator ()
 
virtual virtualized_iteratorvirtualizeEndIterator ()
 
virtual virtualized_iteratorvirtualizeBeginConstIterator () const
 
virtual virtualized_iteratorvirtualizeEndConstIterator () const
 
- Public Member Functions inherited from System::Object
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...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 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 reference 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 int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () 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 TypeInfoGetType () 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 (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. 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)
 

Public Attributes

XmlNodeChangedEventHandler NodeInserting
 Occurs when a node belonging to this document is about to be inserted into another node. More...
 
XmlNodeChangedEventHandler NodeInserted
 Occurs when a node belonging to this document has been inserted into another node. More...
 
XmlNodeChangedEventHandler NodeRemoving
 Occurs when a node belonging to this document is about to be removed from the document. More...
 
XmlNodeChangedEventHandler NodeRemoved
 Occurs when a node belonging to this document has been removed from its parent. More...
 
XmlNodeChangedEventHandler NodeChanging
 Occurs when the XmlNode::get_Value of a node belonging to this document is about to be changed. More...
 
XmlNodeChangedEventHandler NodeChanged
 Occurs when the XmlNode::get_Value of a node belonging to this document has been changed. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from System::Object
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 TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Represents an XML document. You can use this class to load, validate, edit, add, and position XML in a document.

Attention
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.

Member Typedef Documentation

◆ Ptr

An alias for shared pointer to an instance of this class.

Constructor & Destructor Documentation

◆ XmlDocument() [1/2]

ASPOSECPP_SHARED_API System::Xml::XmlDocument::XmlDocument ( )

Initializes a new instance of the XmlDocument class.

◆ XmlDocument() [2/2]

ASPOSECPP_SHARED_API System::Xml::XmlDocument::XmlDocument ( const SharedPtr< XmlNameTable > &  nt)

Initializes a new instance of the XmlDocument class with the specified XmlNameTable.

Parameters
ntThe XmlNameTable to use.

Member Function Documentation

◆ CloneNode()

ASPOSECPP_SHARED_API SharedPtr<XmlNode> System::Xml::XmlDocument::CloneNode ( bool  deep)
overridevirtual

Creates a duplicate of this node.

Parameters
deeptrue to recursively clone the subtree under the specified node; false to clone only the node itself.
Returns
The cloned XmlDocument node.

Implements System::Xml::XmlNode.

◆ CreateAttribute() [1/3]

ASPOSECPP_SHARED_API SharedPtr<XmlAttribute> System::Xml::XmlDocument::CreateAttribute ( const String name)

Creates an XmlAttribute with the specified name.

Parameters
nameThe qualified name of the attribute. If the name contains a colon, the XmlNode::get_Prefix value reflects the part of the name preceding the first colon and the XmlDocument::get_LocalName value reflects the part of the name following the first colon. The XmlNode::get_NamespaceURI remains empty unless the prefix is a recognized built-in prefix such as xmlns. In this case get_NamespaceURI has a value of http://www.w3.org/2000/xmlns/.
Returns
The new XmlAttribute.

◆ CreateAttribute() [2/3]

ASPOSECPP_SHARED_API SharedPtr<XmlAttribute> System::Xml::XmlDocument::CreateAttribute ( const String qualifiedName,
const String namespaceURI 
)

Creates an XmlAttribute with the specified qualified name and XmlNode::get_NamespaceURI.

Parameters
qualifiedNameThe qualified name of the attribute. If the name contains a colon then the XmlNode::get_Prefix value will reflect the part of the name preceding the colon and the XmlDocument::get_LocalName value will reflect the part of the name after the colon.
namespaceURIThe namespaceURI of the attribute. If the qualified name includes a prefix of xmlns, then this parameter must be http://www.w3.org/2000/xmlns/.
Returns
The new XmlAttribute.

◆ CreateAttribute() [3/3]

virtual ASPOSECPP_SHARED_API SharedPtr<XmlAttribute> System::Xml::XmlDocument::CreateAttribute ( const String prefix,
const String localName,
const String namespaceURI 
)
virtual

Creates an XmlAttribute with the specified XmlNode::get_Prefix, XmlDocument::get_LocalName, and XmlNode::get_NamespaceURI.

Parameters
prefixThe prefix of the attribute (if any). String::Empty and nullptr are equivalent.
localNameThe local name of the attribute.
namespaceURIThe namespace URI of the attribute (if any). String::Empty and nullptr are equivalent. If prefix is xmlns, then this parameter must be http://www.w3.org/2000/xmlns/; otherwise an exception is thrown.
Returns
The new XmlAttribute.

◆ CreateCDataSection()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlCDataSection> System::Xml::XmlDocument::CreateCDataSection ( const String data)
virtual

Creates an XmlCDataSection containing the specified data.

Parameters
dataThe content of the new XmlCDataSection.
Returns
The new XmlCDataSection.

◆ CreateComment()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlComment> System::Xml::XmlDocument::CreateComment ( const String data)
virtual

Creates an XmlComment containing the specified data.

Parameters
dataThe content of the new XmlComment.
Returns
The new XmlComment.

◆ CreateDocumentFragment()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlDocumentFragment> System::Xml::XmlDocument::CreateDocumentFragment ( )
virtual

Creates an XmlDocumentFragment.

Returns
The new XmlDocumentFragment.

◆ CreateDocumentType()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlDocumentType> System::Xml::XmlDocument::CreateDocumentType ( const String name,
const String publicId,
const String systemId,
const String internalSubset 
)
virtual

Returns a new XmlDocumentType object.

Parameters
nameName of the document type.
publicIdThe public identifier of the document type or nullptr. You can specify a public URI and also a system identifier to identify the location of the external DTD subset.
systemIdThe system identifier of the document type or nullptr. Specifies the URL of the file location for the external DTD subset.
internalSubsetThe DTD internal subset of the document type or nullptr.
Returns
The new XmlDocumentType.

◆ CreateElement() [1/3]

ASPOSECPP_SHARED_API SharedPtr<XmlElement> System::Xml::XmlDocument::CreateElement ( const String name)

Creates an element with the specified name.

Parameters
nameThe qualified name of the element. If the name contains a colon then the XmlNode::get_Prefix value reflects the part of the name preceding the colon and the XmlDocument::get_LocalName value reflects the part of the name after the colon. The qualified name cannot include a prefix of xmlns.
Returns
The new XmlElement.

◆ CreateElement() [2/3]

ASPOSECPP_SHARED_API SharedPtr<XmlElement> System::Xml::XmlDocument::CreateElement ( const String qualifiedName,
const String namespaceURI 
)

Creates an XmlElement with the qualified name and XmlNode::get_NamespaceURI.

Parameters
qualifiedNameThe qualified name of the element. If the name contains a colon then the XmlNode::get_Prefix value will reflect the part of the name preceding the colon and the XmlDocument::get_LocalName value will reflect the part of the name after the colon. The qualified name cannot include a prefix of xmlns.
namespaceURIThe namespace URI of the element.
Returns
The new XmlElement.

◆ CreateElement() [3/3]

virtual ASPOSECPP_SHARED_API SharedPtr<XmlElement> System::Xml::XmlDocument::CreateElement ( const String prefix,
const String localName,
const String namespaceURI 
)
virtual

Creates an element with the specified XmlNode::get_Prefix, XmlDocument::get_LocalName, and XmlNode::get_NamespaceURI.

Parameters
prefixThe prefix of the new element (if any). String::Empty and nullptr are equivalent.
localNameThe local name of the new element.
namespaceURIThe namespace URI of the new element (if any). String::Empty and nullptr are equivalent.
Returns
The new XmlElement.

◆ CreateEntityReference()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlEntityReference> System::Xml::XmlDocument::CreateEntityReference ( const String name)
virtual

Creates an XmlEntityReference with the specified name.

Parameters
nameThe name of the entity reference.
Returns
The new XmlEntityReference.
Exceptions
ArgumentExceptionThe name is invalid (for example, names starting with '#' are invalid.)

◆ CreateNavigator()

ASPOSECPP_SHARED_API SharedPtr<XPath::XPathNavigator> System::Xml::XmlDocument::CreateNavigator ( )
overridevirtual

Creates a new XPathNavigator object for navigating this document.

Returns
An XPathNavigator object.

Implements System::Xml::XPath::IXPathNavigable.

◆ CreateNode() [1/3]

virtual ASPOSECPP_SHARED_API SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode ( XmlNodeType  type,
const String prefix,
const String name,
const String namespaceURI 
)
virtual

Creates a XmlNode with the specified XmlNodeType, XmlNode::get_Prefix, XmlDocument::get_Name, and XmlNode::get_NamespaceURI.

Parameters
typeThe XmlNodeType of the new node.
prefixThe prefix of the new node.
nameThe local name of the new node.
namespaceURIThe namespace URI of the new node.
Returns
The new XmlNode.
Exceptions
ArgumentExceptionThe name was not provided and the XmlNodeType requires a name.

◆ CreateNode() [2/3]

virtual ASPOSECPP_SHARED_API SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode ( const String nodeTypeString,
const String name,
const String namespaceURI 
)
virtual

Creates an XmlNode with the specified node type, XmlDocument::get_Name, and XmlNode::get_NamespaceURI.

Parameters
nodeTypeStringString version of the XmlNodeType of the new node. This parameter must be one of the values listed in the table below.
nameThe qualified name of the new node. If the name contains a colon, it is parsed into XmlNode::get_Prefix and XmlDocument::get_LocalName components.
namespaceURIThe namespace URI of the new node.
Returns
The new XmlNode.
Exceptions
ArgumentExceptionThe name was not provided and the XmlNodeType requires a name; or nodeTypeString is not one of the strings listed below.

The nodeTypeString parameter is case sensitive and must be one of the values in the following table:

nodeTypeStringXmlNodeType
attributeAttribute
cdatasectionCDATA
commentComment
documentDocument
documentfragmentDocumentFragment
documenttypeDocumentType
elementElement
entityreferenceEntityReference
processinginstructionProcessingInstruction
significantwhitespaceSignificantWhitespace
textText
whitespaceWhitespace

◆ CreateNode() [3/3]

virtual ASPOSECPP_SHARED_API SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode ( XmlNodeType  type,
const String name,
const String namespaceURI 
)
virtual

Creates an XmlNode with the specified XmlNodeType, XmlDocument::get_Name, and XmlNode::get_NamespaceURI.

Parameters
typeThe XmlNodeType of the new node.
nameThe qualified name of the new node. If the name contains a colon then it is parsed into XmlNode::get_Prefix and XmlDocument::get_LocalName components.
namespaceURIThe namespace URI of the new node.
Returns
The new XmlNode.
Exceptions
ArgumentExceptionThe name was not provided and the XmlNodeType requires a name.

◆ CreateProcessingInstruction()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlProcessingInstruction> System::Xml::XmlDocument::CreateProcessingInstruction ( const String target,
const String data 
)
virtual

Creates an XmlProcessingInstruction with the specified name and data.

Parameters
targetThe name of the processing instruction.
dataThe data for the processing instruction.
Returns
The new XmlProcessingInstruction.

◆ CreateSignificantWhitespace()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlSignificantWhitespace> System::Xml::XmlDocument::CreateSignificantWhitespace ( const String text)
virtual

Creates an XmlSignificantWhitespace node.

Parameters
textThe string must contain only the following characters '\x20', '\x0d', '\x0a', '\x09'.
Returns
A new XmlSignificantWhitespace node.

◆ CreateTextNode()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlText> System::Xml::XmlDocument::CreateTextNode ( const String text)
virtual

Creates an XmlText with the specified text.

Parameters
textThe text for the Text node.
Returns
The new XmlText node.

◆ CreateWhitespace()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlWhitespace> System::Xml::XmlDocument::CreateWhitespace ( const String text)
virtual

Creates an XmlWhitespace node.

Parameters
textThe string must contain only the following characters '\x20', '\x0d', '\x0a', '\x09'.
Returns
A new XmlWhitespace node.

◆ CreateXmlDeclaration()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlDeclaration> System::Xml::XmlDocument::CreateXmlDeclaration ( const String version,
const String encoding,
const String standalone 
)
virtual

Creates an XmlDeclaration node with the specified values.

Parameters
versionThe version must be "1.0".
encodingThe value of the encoding attribute. This is the encoding that is used when you save the XmlDocument to a file or a stream; therefore, it must be set to a string supported by the Text::Encoding class, otherwise "XmlDocument::Save(String)" fails. If this is nullptr or String::Empty, the XmlDocument::Save method does not write an encoding attribute on the XML declaration and therefore the default encoding, UTF-8, is used.

Note: If the XmlDocument is saved to either a TextWriter or an XmlTextWriter, this encoding value is discarded. Instead, the encoding of the TextWriter or the XmlTextWriter is used. This ensures that the XML written out can be read back using the correct encoding.

Parameters
standaloneThe value must be either "yes" or "no". If this is nullptr or String::Empty, the XmlDocument::Save method does not write a standalone attribute on the XML declaration.
Returns
The new XmlDeclaration node.
Exceptions
ArgumentExceptionThe values of version or standalone are something other than the ones specified above.

◆ get_BaseURI()

ASPOSECPP_SHARED_API String System::Xml::XmlDocument::get_BaseURI ( )
overridevirtual

Returns the base URI of the current node.

Returns
The location from which the node was loaded.

Reimplemented from System::Xml::XmlNode.

◆ get_DocumentElement()

ASPOSECPP_SHARED_API SharedPtr<XmlElement> System::Xml::XmlDocument::get_DocumentElement ( )

Returns the root XmlElement for the document.

Returns
The XmlElement that represents the root of the XML document tree. If no root exists, nullptr is returned.

◆ get_DocumentType()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlDocumentType> System::Xml::XmlDocument::get_DocumentType ( )
virtual

Returns the node containing the DOCTYPE declaration.

Returns
The XmlNode containing the DocumentType (DOCTYPE declaration).

◆ get_Implementation()

ASPOSECPP_SHARED_API SharedPtr<XmlImplementation> System::Xml::XmlDocument::get_Implementation ( )

Returns the XmlImplementation object for the current document.

Returns
The XmlImplementation object for the current document.

◆ get_InnerXml()

ASPOSECPP_SHARED_API String System::Xml::XmlDocument::get_InnerXml ( )
overridevirtual

Returns the markup representing the children of the current node.

Returns
The markup of the children of the current node.

Reimplemented from System::Xml::XmlNode.

◆ get_IsReadOnly()

ASPOSECPP_SHARED_API bool System::Xml::XmlDocument::get_IsReadOnly ( )
overridevirtual

Returns a value indicating whether the current node is read-only.

Returns
true if the current node is read-only; otherwise false. XmlDocument nodes always return false.

Reimplemented from System::Xml::XmlNode.

◆ get_LocalName()

ASPOSECPP_SHARED_API String System::Xml::XmlDocument::get_LocalName ( )
overridevirtual

Returns the local name of the node.

Returns
For XmlDocument nodes, the local name is #document.

Implements System::Xml::XmlNode.

◆ get_Name()

ASPOSECPP_SHARED_API String System::Xml::XmlDocument::get_Name ( )
overridevirtual

Returns the qualified name of the node.

Returns
For XmlDocument nodes, the name is #document.

Implements System::Xml::XmlNode.

◆ get_NameTable()

ASPOSECPP_SHARED_API SharedPtr<XmlNameTable> System::Xml::XmlDocument::get_NameTable ( )

Returns the XmlNameTable associated with this implementation.

Returns
An XmlNameTable enabling you to get the atomized version of a string within the document.

◆ get_NodeType()

ASPOSECPP_SHARED_API XmlNodeType System::Xml::XmlDocument::get_NodeType ( )
overridevirtual

Returns the type of the current node.

Returns
The node type. For XmlDocument nodes, this value is XmlNodeType::Document.

Implements System::Xml::XmlNode.

◆ get_OwnerDocument()

ASPOSECPP_SHARED_API SharedPtr<XmlDocument> System::Xml::XmlDocument::get_OwnerDocument ( )
overridevirtual

Returns the XmlDocument to which the current node belongs.

Returns
For XmlDocument nodes (XmlDocument::get_NodeType equals XmlNodeType::Document), this method always returns nullptr.

Reimplemented from System::Xml::XmlNode.

◆ get_PreserveWhitespace()

ASPOSECPP_SHARED_API bool System::Xml::XmlDocument::get_PreserveWhitespace ( )

Returns a value indicating whether to preserve white space in element content.

Returns
true to preserve white space; otherwise false. The default is false.

◆ get_SchemaInfo()

ASPOSECPP_SHARED_API SharedPtr<Schema::IXmlSchemaInfo> System::Xml::XmlDocument::get_SchemaInfo ( )
overridevirtual

Returns the Post-Schema-Validation-Infoset (PSVI) of the node.

Returns
The IXmlSchemaInfo object representing the PSVI of the node.

Reimplemented from System::Xml::XmlNode.

◆ get_Schemas()

ASPOSECPP_SHARED_API SharedPtr<Schema::XmlSchemaSet> System::Xml::XmlDocument::get_Schemas ( )

Returns the XmlSchemaSet object associated with this XmlDocument.

Returns
An XmlSchemaSet object containing the XML Schema Definition Language (XSD) schemas associated with this XmlDocument; otherwise, an empty XmlSchemaSet object.

◆ GetElementById()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlElement> System::Xml::XmlDocument::GetElementById ( String  elementId)
virtual

Returns the XmlElement with the specified ID.

Parameters
elementIdThe attribute ID to match.
Returns
The XmlElement with the matching ID or nullptr if no matching element is found.

◆ GetElementsByTagName() [1/2]

virtual ASPOSECPP_SHARED_API SharedPtr<XmlNodeList> System::Xml::XmlDocument::GetElementsByTagName ( String  name)
virtual

Returns an XmlNodeList containing a list of all descendant elements that match the specified name.

Parameters
nameThe qualified name to match. It is matched against the get_Name value of the matching node. The special value "*" matches all tags.
Returns
An XmlNodeList containing a list of all matching nodes. If no nodes match name, the returned collection will be empty.

◆ GetElementsByTagName() [2/2]

virtual ASPOSECPP_SHARED_API SharedPtr<XmlNodeList> System::Xml::XmlDocument::GetElementsByTagName ( String  localName,
String  namespaceURI 
)
virtual

Returns an XmlNodeList containing a list of all descendant elements that match the specified XmlDocument::get_LocalName and XmlNode::get_NamespaceURI.

Parameters
localNameThe LocalName to match. The special value "*" matches all tags.
namespaceURINamespaceURI to match.
Returns
An XmlNodeList containing a list of all matching nodes. If no nodes match the specified localName and namespaceURI, the returned collection will be empty.

◆ ImportNode()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlNode> System::Xml::XmlDocument::ImportNode ( SharedPtr< XmlNode node,
bool  deep 
)
virtual

Imports a node from another document to the current document.

Parameters
nodeThe node being imported.
deeptrue to perform a deep clone; otherwise, false.
Returns
The imported XmlNode.
Exceptions
InvalidOperationExceptionCalling this method on a node type which cannot be imported.

◆ Load() [1/4]

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Load ( String  filename)
virtual

Loads the XML document from the specified URL.

Parameters
filenameURL for the file containing the XML document to load. The URL can be either a local file or an HTTP URL (a Web address).
Exceptions
XmlExceptionThere is a load or parse error in the XML. In this case, a FileNotFoundException is raised.
ArgumentExceptionfilename is a zero-length string, contains only white space, or contains one or more invalid characters as defined by System::IO::Path::GetInvalidPathChars.
ArgumentNullExceptionfilename is nullptr.
PathTooLongExceptionThe specified path, file name, or both exceed the system-defined maximum length.
DirectoryNotFoundExceptionThe specified path is invalid (for example, it is on an unmapped drive).
IOExceptionAn I/O error occurred while opening the file.
UnauthorizedAccessExceptionfilename specified a file that is read-only. This operation is not supported on the current platform. filename specified a directory. The caller does not have the required permission.
FileNotFoundExceptionThe file specified in filename was not found.
NotSupportedExceptionfilename is in an invalid format.
SecurityExceptionThe caller does not have the required permission.

◆ Load() [2/4]

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Load ( SharedPtr< IO::Stream inStream)
virtual

Loads the XML document from the specified stream.

Parameters
inStreamThe stream containing the XML document to load.
Exceptions
XmlExceptionThere is a load or parse error in the XML. In this case, a FileNotFoundException is raised.

◆ Load() [3/4]

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Load ( SharedPtr< IO::TextReader txtReader)
virtual

Loads the XML document from the specified TextReader.

Parameters
txtReaderThe TextReader used to feed the XML data into the document.
Exceptions
XmlExceptionThere is a load or parse error in the XML. In this case, the document remains empty.

◆ Load() [4/4]

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Load ( SharedPtr< XmlReader reader)
virtual

Loads the XML document from the specified XmlReader.

Parameters
readerThe XmlReader used to feed the XML data into the document.
Exceptions
XmlExceptionThere is a load or parse error in the XML. In this case, the document remains empty.

◆ LoadXml()

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::LoadXml ( String  xml)
virtual

Loads the XML document from the specified string.

Parameters
xmlString containing the XML document to load.
Exceptions
XmlExceptionThere is a load or parse error in the XML. In this case, the document remains empty.

◆ ReadNode()

virtual ASPOSECPP_SHARED_API SharedPtr<XmlNode> System::Xml::XmlDocument::ReadNode ( SharedPtr< XmlReader reader)
virtual

Creates an XmlNode object based on the information in the XmlReader. The reader must be positioned on a node or attribute.

Parameters
readerThe XML source.
Returns
The new XmlNode or nullptr if no more nodes exist.
Exceptions
NullReferenceExceptionThe reader is positioned on a node type that does not translate to a valid DOM node (for example, EndElement or EndEntity).

◆ Save() [1/4]

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Save ( String  filename)
virtual

Saves the XML document to the specified file. If the specified file exists, this method overwrites it.

Parameters
filenameThe location of the file where you want to save the document.
Exceptions
XmlExceptionThe operation would not result in a well formed XML document (for example, no document element or duplicate XML declarations).

◆ Save() [2/4]

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Save ( SharedPtr< IO::Stream outStream)
virtual

Saves the XML document to the specified stream.

Parameters
outStreamThe stream to which you want to save.
Exceptions
XmlExceptionThe operation would not result in a well formed XML document (for example, no document element or duplicate XML declarations).

◆ Save() [3/4]

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Save ( SharedPtr< IO::TextWriter writer)
virtual

Saves the XML document to the specified TextWriter.

Parameters
writerThe TextWriter to which you want to save.
Exceptions
XmlExceptionThe operation would not result in a well formed XML document (for example, no document element or duplicate XML declarations).

◆ Save() [4/4]

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Save ( SharedPtr< XmlWriter w)
virtual

Saves the XML document to the specified XmlWriter.

Parameters
wThe XmlWriter to which you want to save.
Exceptions
XmlExceptionThe operation would not result in a well formed XML document (for example, no document element or duplicate XML declarations).

◆ set_InnerText()

ASPOSECPP_SHARED_API void System::Xml::XmlDocument::set_InnerText ( String  value)
overridevirtual

Throws an InvalidOperationException in all cases.

Parameters
valueThe value to set.
Exceptions
InvalidOperationExceptionIn all cases.

Reimplemented from System::Xml::XmlNode.

◆ set_InnerXml()

ASPOSECPP_SHARED_API void System::Xml::XmlDocument::set_InnerXml ( String  value)
overridevirtual

Sets the markup representing the children of the current node.

Parameters
valueThe value to set.
Exceptions
XmlExceptionThe XML specified when setting this value is not well-formed.

Reimplemented from System::Xml::XmlNode.

◆ set_PreserveWhitespace()

ASPOSECPP_SHARED_API void System::Xml::XmlDocument::set_PreserveWhitespace ( bool  value)

Sets a value indicating whether to preserve white space in element content.

Parameters
valueThe value to set.

◆ set_Schemas()

ASPOSECPP_SHARED_API void System::Xml::XmlDocument::set_Schemas ( const SharedPtr< Schema::XmlSchemaSet > &  value)

Sets the XmlSchemaSet object associated with this XmlDocument.

Parameters
valueThe value to set.

◆ set_XmlResolver()

virtual ASPOSECPP_SHARED_API void System::Xml::XmlDocument::set_XmlResolver ( SharedPtr< System::Xml::XmlResolver value)
virtual

Sets the XmlResolver to use for resolving external resources.

Parameters
valueThe value to set.
Exceptions
XmlExceptionThis value is set to nullptr and an external DTD or entity is encountered.

◆ Validate() [1/2]

ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Validate ( Schema::ValidationEventHandler  validationEventHandler)

Validates the XmlDocument against the XML Schema Definition Language (XSD) schemas contained in the XmlDocument::get_Schemas list.

Parameters
validationEventHandlerThe Schema::ValidationEventHandler object that receives information about schema validation warnings and errors.
Exceptions
XmlSchemaValidationExceptionA schema validation event occurred and no Schema::ValidationEventHandler object was specified.

◆ Validate() [2/2]

ASPOSECPP_SHARED_API void System::Xml::XmlDocument::Validate ( Schema::ValidationEventHandler  validationEventHandler,
const SharedPtr< XmlNode > &  nodeToValidate 
)

Validates the XmlNode object specified against the XML Schema Definition Language (XSD) schemas in the XmlDocument::get_Schemas list.

Parameters
validationEventHandlerThe Schema::ValidationEventHandler object that receives information about schema validation warnings and errors.
nodeToValidateThe XmlNode object created from an XmlDocument to validate.
Exceptions
ArgumentExceptionThe XmlNode object parameter was not created from an XmlDocument.
InvalidOperationExceptionThe XmlNode object parameter is not an element, attribute, document fragment, or the root node.
XmlSchemaValidationExceptionA schema validation event occurred and no Schema::ValidationEventHandler object was specified.

◆ WriteContentTo()

ASPOSECPP_SHARED_API void System::Xml::XmlDocument::WriteContentTo ( const SharedPtr< XmlWriter > &  xw)
overridevirtual

Saves all the children of the XmlDocument node to the specified XmlWriter.

Parameters
xwThe XmlWriter to which you want to save.

Implements System::Xml::XmlNode.

◆ WriteTo()

ASPOSECPP_SHARED_API void System::Xml::XmlDocument::WriteTo ( const SharedPtr< XmlWriter > &  w)
overridevirtual

Saves the XmlDocument node to the specified XmlWriter.

Parameters
wThe XmlWriter to which you want to save.

Implements System::Xml::XmlNode.

Member Data Documentation

◆ NodeChanged

XmlNodeChangedEventHandler System::Xml::XmlDocument::NodeChanged

Occurs when the XmlNode::get_Value of a node belonging to this document has been changed.

◆ NodeChanging

XmlNodeChangedEventHandler System::Xml::XmlDocument::NodeChanging

Occurs when the XmlNode::get_Value of a node belonging to this document is about to be changed.

◆ NodeInserted

XmlNodeChangedEventHandler System::Xml::XmlDocument::NodeInserted

Occurs when a node belonging to this document has been inserted into another node.

◆ NodeInserting

XmlNodeChangedEventHandler System::Xml::XmlDocument::NodeInserting

Occurs when a node belonging to this document is about to be inserted into another node.

◆ NodeRemoved

XmlNodeChangedEventHandler System::Xml::XmlDocument::NodeRemoved

Occurs when a node belonging to this document has been removed from its parent.

◆ NodeRemoving

XmlNodeChangedEventHandler System::Xml::XmlDocument::NodeRemoving

Occurs when a node belonging to this document is about to be removed from the document.