This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
How to get the current document name ?
- To: "xsl-list" <xsl-list at mulberrytech dot com>
- Subject: How to get the current document name ?
- From: Frédéric SCHWEBEL <schwebel at rfv dot insa-lyon dot fr>
- Date: Thu, 2 Nov 2000 17:24:44 -0400 (EST)
- Reply-To: xsl-list at mulberrytech dot com
Hello,
I'm trying to do an XSL sheet a bit like the "slides" examples in the Cocoon
package : the output tree has links that call the same xml file with a
different number for the "slide" parameter.
In the cocoon example, it's done like this :
<A HREF="?slide=1">....</A>
It does work with IE5 (the url for the link is
http://...../samples/slides.xml?slide=1) but NOT with netscape (the url is
http://..../samples/?slide=1) wich brings to the file listing of the
"samples" directory.
So I'd like to put <A HREF="<xsl:value-of current document name
?????>?slide=1">
How can I do this ? The "document()" function doesn't seem to allow me do
this... thanks !
Fred
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list