[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: top level params and xsl:attribute magic?
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Sat, 18 Jan 2003 16:04:57 -0500
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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member