Example: Simple XML Export

Previous Next

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>