XmlDocument (Class)

Defines the structure for an object that accesses information for an XML element.  

Namespace: elsystem.xml

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