[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: nested for-each to create a html table
Santosh, typically you'd set up a local variable to refer to the current
node from the outer loop, as follows:
<xsl:for-each select="Results/Rows/Row"> <xsl:variable name="row" select="."/> <xsl:for-each select="Results\Columns\Column"> <xsl:value-of select="colName"/> // use $row here </xsl:for-each> </xsl:for-each> From: Santosh N <ss1722@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: nested for-each to create a html table Date: Wed, 18 May 2005 18:36:38 -0700 (PDT) _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
|
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
|