Example: XML Export With DTD Name And IO Formats |
Here is an example of an XML export with the DTD name and IO Formats: INVOKE XML.export WITH SELECT 'Orders.dtd' DTDName, *, 'Yes' UseIOFormats FROM New Orders WHERE orderdate > '11-NOV-2000' AND orderdate < '14-NOV-2000' ORDER BY ID This XML export exports all orders between November 11 and November 14. The XML export results in: <!DOCTYPE Orders SYSTEM "Orders.dtd"> <New_Orders documentName="New Orders"> <ORDER ID="000123" ORDER_DATE="2000-11-12" TOTAL_PRICE="1378,34"/> <ORDER ID="970137" ORDER_DATE="2000-11-13" TOTAL_PRICE="563,56"/> </New_Orders> NOTES:
|