Datasnap.Xmlxform.TXMLTransformProvider.XMLDataFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property XMLDataFile: string read GetXMLDataFile write SetXMLDataFile;

C++

__property System::UnicodeString XMLDataFile = {read=GetXMLDataFile, write=SetXMLDataFile};

Properties

Type Visibility Source Unit Parent
property published
Datasnap.Xmlxform.pas
Datasnap.Xmlxform.hpp
Datasnap.Xmlxform TXMLTransformProvider

Description

Specifies the XML document from which the provider creates data packets and to which it applies updates.

Use XMLDataFile to specify the XML document whose data the provider represents. When the Data property is read or the GetRecords method is called, TXMLTransformProvider reads the contents of XMLDataFile and converts it into a data packet using the transform component specified by TransformRead. When the ApplyUpdates method is called, TXMLTransformProvider uses the transform component specified by TransformWrite to convert the data into the proper format for XMLDataFile and updates this XML document accordingly.

XMLDataFile is the same as the SourceXmlFile property of TransformRead.

See Also