Hello!

I have the problem that I want to create a navigation bar for my
webpages with xml/xslt and axkit. 
The structure of my documents/directories is like this:

/
 index.xml
 imprint.xml
 projects (folder)
 publications (folder)
 privat (folder)
 (and these files)
 navbar.xml
 webpage.xsl
 style_body.xsl
 style_navbar.xsl

/projects/
 index.xml
 navbar.xml
 projectA (folder)
 projectB (folder)

/projects/projectA/
 index.xml
 navbar.xml


Depending on what website is displayed I want to show a different
navigation bar. 
If it is the root index page it should look like:

  Home
  Imprint
  Projects
  Publications
  Privat

And if I am displaying projects/index.xml it should look like:

  Home
  Imprint
  Projects
   -ProjectA
   -ProjectB
  Publications
  Privat

How can I do that? the main stylesheet is from / and I think I don't 
have a way to know if I came from /index.html or /Projects/index.html.
If I would I probaly could travers the path down and add each of
the navbar.xml files with document or import  on the way.

Any suggestions how to do that, efficient and without having to 
specify the full path for each page.


Thanks a lot, Fabian

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to