XmlDocument (Class)
Defines the structure for an object that accesses information for an XML element.
Namespace: elsystem.xml
Properties
Name | Type | Description | |
![]() |
DocumentElement | object | Gets the root element for the XML document. |
![]() |
DocumentType | object | Gets the node containing the DOCTYPE declaration. |
![]() |
PreserveWhiteSpace | bool | True to retain non-significant whitespace between node elements, otherwise False to remove whitespace. |
Methods
Name | Description | |
![]() |
Create | Initialize a new instance of the class. |
![]() |
CreateAttribute(Name) | Creates an XML attribute with the specified name. |
![]() |
CreateCDataSection(Data) | Creates an XML CDATA section containing the specified data string. |
![]() |
CreateComment(Data) | Creates an XML comment containing the specified data string. |
![]() |
CreateDocumentType(Name,InternalSubset) | Creates a new XML document type. |
![]() |
CreateElement(Name) | Creates an XML element with the specified name. |
![]() |
CreateNode(Type,Name) | Creates an XML node of the specified type and name. |
![]() |
CreateProcessingInstruction(Target,Data) | Creates an XML processing instruction with the specified target name and data. |
![]() |
CreateTextNode(Text) | Creates an XML text node containing the specified text. |
![]() |
CreateWhiteSpace(Text) | Creates an XML whitespace node. |
![]() |
CreateXmlDeclaration(Version) | Creates an XML declaration node. |
![]() |
GetElementsByTagName(Name) | Returns an XML node list containing a list of all descendant elements that match the specified name. |
![]() |
Load(FileName) | Loads the XML document from the specified file. |
![]() |
LoadXml(Xml) | Loads the XML data from the specified string. |
![]() |
Save(FileName) | Save the XML document to the specified file. |