Example: Simple XML Export

Previous Next

See Also

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>