![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] accessing node[$position] >Thread Next - Re: [xsl] accessing node[$position] Re: [xsl] accessing node[$position]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 | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
