|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: accessing node[$position]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm not sure what the real problem is, but you could try this: descendant::page[position() = $the_position] On Monday 03 June 2002 14:54, spiders frommars wrote: > Xselerator seems to have a problem with anything > involving something like node[$param_or_variable], > saying that the variable cannot be resolved (even > though value-of works just fine) Looking at the XPath spec, section 2.4, 3rd paragraph, it appears that the way you are doing it should work as you expect, so long as $the_position is actually a number of course. Does Xselerator have any documented bugs related to your issue? - -- Peter Davis -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8+/eGNSZCJx7tYycRAqwWAJ9HwgYzyNbckpO3ECM3qPrpunrwwgCcCz4z BEMNSRk0tns6gcQNXUm+j6c= =7eWL -----END PGP SIGNATURE----- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

![Re: accessing node[$position]](/images/get_stylus.gif)




