Re: [xsl] working out the xsl document name

Subject: Re: [xsl] working out the xsl document name
From: Jarkko.Moilanen@xxxxxx
Date: Wed, 21 Jan 2004 13:46:20 +0200
Lainaus Andrew Curry <andrew.curry@xxxxxxxxxxxx>:

< Would anyone know if it is possible using Xalan and XSL to get the name of
< the file the xsl is being used on within xsl??
<  XSL-List info and archive:

You cant get that info from within XSLT. But...

Pass the XSL name to stylesheet as stylesheet parameter.

Xalan -p StyleSheet "'foobar.xsl'" x.xml x.xsl

Not sure about the cmdline syntax, but u should get the idea.

* Jarkko Moilanen                                 *
* Dokumentoinnin kehittäjä                        *
* Profound XML technology Expert                  *
* DokuMentori Oy                                  *
*                              *

 XSL-List info and archive:

Current Thread