RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLDocument.DOMDocument Property

Provides access to the DOM interface for the parsed XML document.

Pascal
property DOMDocument: IDOMDocument;
C++
__property IDOMDocument DOMDocument;

Use DOMDocument to directly access the IDOMDocument interface for the parsed XML document. This is the interface supported by the DOM parser for the document that is represented in raw (unparsed) form by the FileName or XML property. 

DOMDocument provides access to the IDOMImplementation and IDOMElement interfaces that are surfaced as the DOMImplementation and DocumentElement properties. It also provides access to an IDOMDocumentType interface that describes the structure of the XML document, and supports a number of methods for creating elements within the document. 

Most applications do not need to use the DOMDocument property directly. Instead, it supplies the underlying support for parsing and manipulating the nodes accessed through DocumentElement. If you do want to make use of DOMDocument's low-level support, you must be familiar with the W3C Document Object Model (DOM) Level 1 Specification.

Note: DOMDocument is not available unless the XML document is Active.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!