As you can see I have to add the information from the Hipos to the associated lowpos. I tried several things
in xslt with variable and template but could not find a solution for this.
Subject:xslt variable problem or alternative Author:Bernd Schloemer Date:03 Nov 2005 11:37 AM
input
<data>
<pos>
<matnr>4711</matnr>
<posnr>1</posnr>
<hipos>1</hipos>
<info>this is hiposition A</info>
</pos>
<pos>
<charge>A1</charge>
<posnr>1</posnr>
<subpos></subpos>
<info>this is a subposition nr 1 from hipos 1</info>
</pos>
<pos>
<charge>A2</charge>
<posnr>3</posnr>
<subpos></subpos>
<info>this is a subposition nr 2 from hipos 1</info>
</pos>
<pos>
<matnr>4712</matnr>
<posnr>4</posnr>
<hipos>1</hipos>
<info>this is hiposition B</info>
</pos>
<pos>
<charge>B1</charge>
<posnr>3</posnr>
<subpos></subpos>
<info>this is a subposition nr 1 from hipos B</info>
</pos>
</data>