[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML to HTML... dynamic table headers from element

Subject: RE: XML to HTML... dynamic table headers from element names
From: "Alan K. Gay" <alan@xxxxxxxxxxxx>
Date: Thu, 31 Oct 2002 12:35:13 -0500
xml reading in dynamic table
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@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Adam Griffin
Sent: Thursday, October 31, 2002 8:02 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.