Hi!

On Sat, Jun 14, 2003 at 08:51:22PM +0200, Robin Berjon wrote:
> S Woodside wrote:
> >in XSLT,
> >
> >document(foo.xml, .) will work relative to the source document
> >document(foo.xml, document('') ) will work relative to the XSLT in question
> >
> >(I might have that backwards)

Ohh that sounds promising, can I also get the uri of that?
My idea is to take the uri and parse it at every / to be able
to include all navbar.xml files of the dierectory hirarchy.

E.g. if I acces <server>/projects/projecta/index.xml
I include /navabr.xml
          /projects/navbar.xml
          ...

At the moment I tried to do it with <xsl:value-of select="$request.uri"/>
but thats not very portable.

Thanks, Fabian

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to