Here is an example of a simple XML export:
INVOKE XML.Export
WITH
SELECT person_id
, family_name
, first_name
FROM person
ORDER BY person_id DESC
|
This results in:
<Persons documentName="Persons">
<PERSON ID="177" FAMILY_NAME="Haynes" FIRST_NAME="Deborah"/>
<PERSON ID="112" FAMILY_NAME="Smith" FIRST_NAME="John"/>
</Persons>
|
See also
Example: XML export with DTD name and IO formats
Example: XML export for update
Example: XML export in combination with USFile
XML.Export
|