[Stackoverflow] [Progress OpenEdge ABL] Generating XML file with parent fields between child tables using DEFINE DATASET

Status
Not open for further replies.
J

JSS

Guest
I am trying to use DEFINE DATASET to generate an XML file with the following format:

Code:
<Parent>
   <Child1>
     <Child1 field>
   </Child1>
   <Parent field>
   <Child2>
      <Child2 field>
   </Child2>
</Parent>

I tried using the PARENT-FIELDS-AFTER statement with PARENT > Child1 but the Parent field comes out after the Child2 table. What is the correct syntax?

Continue reading...
 
Status
Not open for further replies.
Top