Subject: Re: 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: http://www.mulberrytech.com/xsl/xsl-list
<
<
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 *
* www.dokumentori.fi *
***************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|