[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|