Xml.XmlTransform.TXMLTransform.Data

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Data: string read GetData ;

C++

__property System::UnicodeString Data = {read=GetData};

Properties

Type Visibility Source Unit Parent
property public
Xml.XmlTransform.pas
Xml.XmlTransform.hpp
Xml.XmlTransform TXMLTransform

Description

Represents the translated string of XML.

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.

See Also