Progress
External Program
Interfaces


Creating XML Output From the 4GL

In order to create an output XML document, you must complete the following steps:

  1. Create an X-DOCUMENT object.
  2. Create a Root Node reference object.
  3. Create a Node reference object for each type of node.
  4. Create the root node and append it to the document.
  5. Create each specific node required.
  6. Append each node to its parent.
  7. Set node attributes.
  8. Steps 5 through 7 are iterative.
  9. Save the document as an XML file.
  10. Delete the objects.

Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095