RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLTransform.TransformationFile Property

Specifies the transformation file that indicates how to convert the source XML document.

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

TransformationFile is a file that contains instructions for converting the source XML document into the XML that is the value of Data and ResultDocument. If the source document is a general XML document, TransformationFile represents a transformation from that document's schema into a data packet. If the source document is an XML data packet, TransformationFile represents a transformation from that data packet into another type of XML document. 

A transformation file is a special type of XML file with the .xtr extension. Each transformation file is specific to a particular XML schema and data packet format and represents a one-way transformation. Use the xmlmapper utility to create transformation files. 

If the EmptyDestinationDocument property is set, TXMLTransform uses that to override the default structure for the destination document that is defined in the transformation file. 

TransformationFile takes precedence over the TransformationDocument property. That is, TXMLTransform only uses TransformationDocument if TransformationFile is an empty string. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!