This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: accessing node[$position]


> 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

Either there's a bug in Xselerator, or there's a mistake in a part of
your stylesheet that you haven't shown us. You can find out which is the
case by either (a) running your stylesheet through another XSLT
processor, or (b) posting it on this list.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]