|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] variable list manipulation (and arrays?)
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
|
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
|

Cart








