xsl-list
[Top] [All Lists]

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

2007-09-21 07:31:39

still I don't know how to get the node position and put it into a
variable

it's not clear why you need a variable at all, partly because whatever
 mail client you are using appears to be stripping all your examples
your initial posting looked like

  The output would look something like this:
  ...
  ......

from  

I generate an ID based on the depth and position of the XML tree

you may just want something like <tr id="id{count(ancestor::*)}" or use
the built in ID generator
<tr id="{generate-id()"

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--