|
RAD Studio VCL Reference
|
TXMLNode represents a node in an XML document.
TXMLNode = class(TInterfacedObject, IXMLNode, IXMLNodeAccess);
class TXMLNode : public TInterfacedObject, public IXMLNode, public IXMLNodeAccess;
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>then the XML Data Binding Wizard generates TXMLNode descendants for the elements Address and Name. Child nodes and node attributes appear as properties of the TXMLNode descendant.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|