From RAD Studio API Documentation
Jump to: navigation, search


property SourceXml: string read FSourceXml write FSourceXml;


__property System::UnicodeString SourceXml = {read=FSourceXml, write=FSourceXml};


Type Visibility Source Unit Parent
property public
Xml.XmlTransform TXMLTransform


Specifies a string of XML to be translated.

Specify the XML to be translated as the value of SourceXml. SourceXml can be the text of any XML document, including an XML data packet. It must, however, conform to the schema expected by the transformation specified by TransformationFile or TransformationDocument. If the transformation converts a specific type of XML document into a data packet, SourceXml must conform to the expected schema. If the transformation converts a data packet into an XML document, SourceXml is an XML data packet with the expected metadata.

SourceXmlDocument is used only if the SourceXmlFile property has not been set. If both SourceXmlFile and SourceXml are empty strings, TXMLTransform uses the SourceXmlDocument property instead. SourceXml takes precedence over SourceXmlDocument: If SourceXmlDocument is set, TXMLTransform still uses SourceXml (even if its value is not a valid string of XML).

See Also