TXMLNode = class(TInterfacedObject, IXMLNode, IXMLNodeAccess)
class PASCALIMPLEMENTATION TXMLNode : public System::TInterfacedObject
TXMLNode represents a node in an XML document.
The XML Data Binding Wizard uses TXMLNode as a base class for the classes it generates to represent nodes that have child nodes. For example, if the XML document includes the following:
<Address country="US"> <Name> <First> John </First> <MI> Q. </MI> <Last> Public </Last> </Name> <Street> 123 Easy Street </Street> <City> Anytown </City> <State> CA </State> </Address>
Note: The XML Data Binding Wizard also generates code that can create TXMLNode objects for attributes as well as element nodes. However, there are no special TXMLNode descendants for attribute nodes. Rather, each attribute is represented directly by TXMLNode.
TXMLNode implements the IXMLNode interface. Each TXMLNode descendant implements a class-specific interface that descends from IXMLNode. Typically, applications do not work directly with TXMLNode. Instead, they use the IXMLNode interface or the IXMLNode descendant that is implemented by a TXMLNode descendant.