[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: accessing node[$position]

Subject: RE: accessing node[$position]
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 5 Jun 2002 10:24:01 +0100
identifying 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.