Lainaus Andrew Curry <andrew(_dot_)curry(_at_)pa(_dot_)press(_dot_)net>:
< 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