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

variable list manipulation (and arrays?)

Subject: variable list manipulation (and arrays?)
From: Karim A Nassar <Karim.Nassar@xxxxxxx>
Date: Thu, 05 Apr 2001 02:10:55 -0700 (MST)
list manipulation
I am using xsl to create html pages. I have a nav bar that is on all of
the pages. I would like to have a list of variables that represent all the
pages on the site. The reason I want to do this is so that when generating
the "current" page, the "current" page has no link in the nav
bar. Additionally, when adding a new page to the site, all I have to do is
add the new variable to the stylesheet and reparse all the xml files.

So, I would like to loop through all of the pages-variables (that
represent the pages of the site) adding them to the nav bar with
appropriate links.

This would work best if I could have an array of these variables. 

My questions are:

Can I create an array? (or Do I need to?)
How could I select //*(all-pages-variables) to for-each through them?
Where would I set the variables?

I have tried too many things to specify here and would appreciate some
pointers in the right direction.

Thanks in advance,
Karim Nassar


 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.