AnsweredAssumed Answered

database mapping to nested xml

Question asked by Andrei on Oct 3, 2011
Latest reply on Oct 11, 2011 by Andrei
What is the best practice, when it comes to mapping database to xml document which has quite a few nested elements that have at least, but not limited to, one occurance.

Simplified output example:

<root>
<person>
<someData1 />
<personDocument>
<someData2 />
</personDocument>
<personDocument>
<someData3 />
</personDocument>
</person>
<equipment>
<someData4 />
<equipmentLocation>
<someData5 />
</equipmentLocation>
</equipment>
<etc />
</root>

Is custom scripting way to go or is there a way to build xml through process shapes piece by piece without creating bunch of temporary files?

Outcomes