on 11-09-2007 6:54 PM
Dear mapping ad Java experts,
I have my source structure like this:
-
-
<Detail>
<QTY />
</Detail>
<Detail1>
<Amount />
</Detail1>
-
---
Node Detail occurs once. Node Detail1 can occur more than once.
My target is
<target>
<result/>
</target>
where node target occurs as many times as source node Detail1.
The element result is a product of Qty and Amount.
Please note that node Detail and Detail1 are at the same level. In other words, Detail1 is not a child node of Detail.
I tried using useOneAsMany, but it does not even compile right. I am pretty sure someone has an answer! Please help. Points for helpful answers.
Appreciate your help.
Thanks a lot.
-
null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Param,
Please refer the logic in below URL, if it doesn't suits your reqmt, then let us know.
Mapping
http://www.flickr.com/photo_zoom.gne?id=1935890891&size=o
http://www.flickr.com/photo_zoom.gne?id=1935890911&size=o
Results
http://www.flickr.com/photo_zoom.gne?id=1935890917&size=o
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
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.