RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLDocument Interface

IXMLDocument represents an XML document.

Pascal
IXMLDocument = interface(IInterface);
C++
__interface IXMLDocument : public IInterface;

Use IXMLDocument to work with an XML document. Applications can obtain an IXMLDocument interface through a TXMLDocument component, using the global LoadXMLDocument function, or through the OwnerDocument property of any node in the document. 

Like the related DOM interface IDOMDocument, you can use IXMLDocument to access the contents of an XML document and to create new nodes. In addition, IXMLDocument lets you load an XML document that is stored on disk or assign a string of raw (unparsed) XML as the contents of the document. 

TXMLDocument implements the IXMLDocument interface. Typically, the TXMLDocument component is the starting point for working with an XML document.

Note: C++ method declarations that use IXMLDocument use the _di_IXMLDocument type instead. This type is a DelphiInterface wrapper around the IXMLDocument interface:

typedef System::DelphiInterfaceDelphiInterface_object< IXMLDocument >  _di_IXMLDocument;

 

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