Hi!
Let's say I have the
following XML:
<wurste>
<wurst>
<name>XY</name>
<typ>ZZ</typ>
<bla>VV</bla>
</wurst>
</wurste>
Now I want to
transform this with XSLT to html. The result should be a table looking like
this:
name | XY
typ |
ZZ
bla |
VV
I know I could do it
like this:
<table>
<tr>
<td>name</td><td><xsl:value-of select="name"
/></td>
</tr>
<tr>
<td>typ</td><td><xsl:value-of select="typ"
/></td>
</tr>
and so
on.
But is there a way
to get the name of the Element automatically? Then I could fill in the table in
a for-each-loop.
Thanks,
Barthi
