You are my hero... thanks for the help. I now have two xslt books on my
nightstand for bedtime reading.
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Adam Griffin
Sent: Thursday, October 31, 2002 8:02 AM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: RE: [xsl] XML to HTML... dynamic table headers from element
names
Happy to help when I can. Similar thing again, just make small change
so
that its for all rows, for all data.
<tr>
<xsl:for-each select="Table[1]/*">
<td><xsl:value-of select="local-name()"/></td>
</xsl:for-each>
</tr>
<xsl:for-each select="Table">
<tr>
<xsl:for-each select="*">
<td><xsl:value-of select="." /></td>
</xsl:for-each>
</tr>
</xsl:for-each>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list