RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLTransform.Data Property

Represents the translated string of XML.

Pascal
property Data: string;
C++
__property AnsiString Data;

Read Data to obtain the results of the transformation. Reading the Data property causes TXMLTransform to translate its source XML document or data packet into the destination format, which becomes the value of the Data property. The resulting XML string is not cached in memory: reading Data a second time causes TXMLTransform to perform its transformation a second time. 

If the source XML is an XML document and the transformation indicates how to convert it into a data packet, Data is the contents of a data packet in XML format. 

If the source XML is an XML data packet and the transformation indicates how to convert it into another type of XML document, Data is the contents of the resulting document. 

There are three ways to specify the source document or data packet that is converted to produce Data:

Tip: When converting an XML document into a data packet, the value of Data can be assigned to a client dataset's XMLData property.
 

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