[xsl] variable list manipulation (and arrays?)

Subject: [xsl] variable list manipulation (and arrays?)
From: Karim A Nassar <Karim.Nassar@xxxxxxx>
Date: Thu, 05 Apr 2001 02:10:55 -0700 (MST)
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