Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] accessing node[$position]

From: Peter Davis <pdavis152@--------->
To:
Date: 6/3/2002 3:21:00 PM
-----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


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent