Xml.XMLIntf.IXMLDocument.DocumentElement
Delphi
property DocumentElement: IXMLNode read GetDocumentElement write SetDocumentElement;
C++
__property _di_IXMLNode DocumentElement = {read=GetDocumentElement, write=SetDocumentElement};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLDocument |
Description
Provides access to the root node of the XML document.
Use DocumentElement to access the root node of the XML document. Because XML documents are hierarchical in structure, DocumentElement is the entry point to all data in the XML document. Setting DocumentElement replaces the entire data hierarchy with a new hierarchy of nodes.
The IXMLNode interface includes properties and methods for examining and changing the text and attributes of a node, for adding and deleting child nodes, and for traversing the hierarchy of nodes rooted at that node.