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

Inserting an XSL variable as an HTML table row ID

Subject: Inserting an XSL variable as an HTML table row ID
From: Bhaskar _ <bhaskarji@xxxxxxxxxxx>
Date: Fri, 21 Sep 2007 12:16:42 +0000
 Inserting an XSL variable as an HTML table row ID

I am writing an XSL whose output is an HTML table. I generate an ID based on
the depth and position of the XML tree for each table row and store it in an
XSL variable, say $id. The output would look something like this:

So, the values of the XSL variable $id would be X1, X2, etc. But I can't seem
to figure out a way to print this variable inside the HTML 'tr' tag - that is,
I am unable to select the value of $id using xsl:value-of inside the tag.
Could someone please help?


Download the latest version of Windows Live Messenger NOW!

Current Thread


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.
First Name
Last Name
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.