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

Re: top level params and xsl:attribute magic?

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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