This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem to place data into a specific <TD>



I have the following problem.
Here my XML and my wanted output:


XML:
 
<Root>
<Article></Article>
<ID>1</ID>
<code type="A">1</code>
<code type="B">2</code>
<code type="C">3</code>
<Article></Article>
<ID>2</ID>
<code type="A">1</code>
<code type="C">3</code>
</Root>

I want this as output (with xsl)

        A    B    C
1      1     2    3
2      1           3

with a for-each the problem is the last code is placed under B like:

        A    B    C
1      1     2    3
2      1     3

What can be a solution ??
The code type is vaiable, I don't know whatr it is when I get the XML.
So it can also be E F G or something

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]