xsl-list
[Top] [All Lists]

Re: top level params and xsl:attribute magic?

2003-01-18 14:04:57
Thanks, I considered this, but I think that passing the full XPath makes debugging easier and will be more robust if I change the source XML (it has a chance of still working, instead of being guaranteed not to work.

simon

On Saturday, January 18, 2003, at 02:34  AM, Dimitre Novatchev wrote:

Instead of using the XPath expression to a node as its unique id, use
the pair:

(count(ancestor::node()), count(preceding::node()) )

This means that you will be passing as parameter a pair of numbers,
e.g.:

3,15

---
     anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list