This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Problem to place data into a specific <TD>
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Problem to place data into a specific <TD>
- From: Roel Mertens <rmertens at inad dot nl>
- Date: Thu, 21 Dec 2000 08:53:35 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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