xsl-list
[Top] [All Lists]

[xsl] Inserting an XSL variable as an HTML table row ID

2007-09-21 05:17:14

Hi,

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?

Thanks.

_________________________________________________________________
Download the latest version of Windows Live Messenger NOW!
http://get.live.com/en-ie/messenger/overview
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--