Xml.XMLDoc.TXMLDocument.DOMDocument

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property DOMDocument: IDOMDocument read GetDOMDocument write SetDOMDocument;

C++

__property Xml::Xmldom::_di_IDOMDocument DOMDocument = {read=GetDOMDocument, write=SetDOMDocument};

Properties

Type Visibility Source Unit Parent
property public
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLDocument

Description

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

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.

See Also

Code Examples