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

accessing node[$position]

Subject: accessing node[$position]
From: spiders frommars <arachni42@xxxxxxxxx>
Date: Mon, 3 Jun 2002 14:54:47 -0700 (PDT)
 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 (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


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.