on 07-26-2007 1:15 PM
Hi there
We aren't able to figure out how to convert a flat XML to a deep XML. Here is the problem.
Source structure ( a - 1 to unbounded and b - 0 to unbounded)
A
b
b
A
b
A
A
We want to convert this to a target structure that would look like this -
A
-> b
-> b
-> b
A
-> b
A
A
What's the best way of achieving this result? We've looked at all the node functions but maybe we are missing something. Any help would be greatly appreciated.
Thanks
Salil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The same can be achieved using XSLT mapping, which would have an edge over java mapping for its performance.
regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
It can be done using Java Mapping.
<a href="/people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi java code in graphical mapping - XI</a> by Michal Krawczyk
<a href="/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i Mapping (Part I)</a> by Prasad Ulagappan
<a href="/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii Mapping (Part II)</a> by Prasad Ulagappan
<a href="/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii Mapping (Part III)</a> by Prasad Ulagappan
Regards
Santhosh
[url=; Use a Good Subject Line, One Question Per Posting - Award Points[/url]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.