Example: XML Export in Combination with USFile

Previous Next

Here is an example that writes an XML export to a file opened by USFile:

INVOKE USFile.Open WITH SELECT 'Tours', '%TEMP%\tours.xml', 'WRITE';

INVOKE XML.Export WITH SELECT 'USFile.Tours' WriteOutputTo, * from tours;

INVOKE USFile.Close WITH SELECT 'Tours';