Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] accessing node[$position]

From: spiders frommars <arachni42@--------->
To:
Date: 6/3/2002 2:04:00 PM
In trying to reorder a set of nodes, I've run into a
problem with doing this:

<xsl:variable name="this_page"
select="descendant::page[$the_position]"/>
or
<xsl:value-of
select="descendant::page[$the_position]"/>

($the_position is a parameter that's passed in.)
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). I want to use a
param so I can jump around as necessary.
I've been searching for information on this for the
past couple days, and haven't had much luck (unless
I'm missing something, which is quite possible). Do
params/variables not work in this context? Is there a
workaround?
Thanks,
Jennifer


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

 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