RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLNode Interface

IXMLNode is the interface for a node in an XML document.

Pascal
IXMLNode = interface;
C++
__interface IXMLNode;

XMLIntf

Use IXMLNode to work with a node in an XML document. The IXMLNode interface is designed to work with TXMLDocument and the code generated by the Data Binding wizard. 

IXMLNode is similar to the IDOMNode interface that is defined as part of the Document Object Model (DOM) specification. However, IXMLNode is designed to simplify the task of navigating and editing XML documents by 

including some of the properties and methods from the IDOMElement interface, resulting in a simpler model for examining an XML node. 

including additional properties and methods to simplify access to data in common XML structures. 

The Data Binding wizard generates descendants of IXMLNode that further simplify the task of working with XML documents by converting the attributes and child nodes of a node into properties of the node interface.

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

typedef System::DelphiInterfaceDelphiInterface_object< IXMLNode >  _di_IXMLNode;

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!