I tryng to making a complex mapping (complex to me) with the follow scenario:
In:
<root>
<bigrow>
<row>1</row>
<row>second</row>
<row>third</row>
</bigrow>
<bigrow>
<row>4</row>
<row>rowvalue</row>
<row>anotherrowvalue</row>
</bigrow>
</root>
Out:
<entities>
<entity>
<atributeA>1</atributeA>
<atributeB>some</atributeB>
<atributeC>value</atributeC>
</entity>
<entity>
<atributeA>2</atributeA>
<atributeB>another</atributeB>
<atributeC>valuee</atributeC>
</entity>
<entity>
<atributeA>3</atributeA>
<atributeB>ooother</atributeB>
<atributeC>valueee</atributeC>
</entity>
</entities>
I want to map the row elements from the entry in order, so the desired result needs to be something like this:
<entities>
<entity>
<atributeA>1</atributeA>
<atributeB>second</atributeB>
<atributeC>third</atributeC>
</entity>
<entity>
<atributeA>4</atributeA>
<atributeB>rowvalue</atributeB>
<atributeC>anotherrowvalue</atributeC>
</entity>
</entities>
I create the map making the entry and the output as a XML and generating the schemas from this two xml and the dataMapper window looks like that:
https://i.stack.imgur.com/6CYrR.png
I cant find how to make this to work... If somebody can help me on this yuo can make me happy =)