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@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format