You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Stephan Kassanke <ka...@upb.de> on 2001/04/24 19:29:16 UTC

Extract real xml filename in xsl

Hi everybody,

sorry, if this is the wrong list (I found no user's list). I am looking for
a way to extract the filename without extension of the xml file which is
transformed by xalan. On the web i found the following which does not help
me any further, I am looking for a way to do this with xalan:


Access to XML filename

Mike Kay

There's no standard way of doing it. SAXON provides an
extension function system-id() which returns the URI of the
XML entity containing the current node.



I am looking for a way to extract the filename (without extension) within
the style sheet (for redirecting), eg a file named "rbc.xml" should result
in "rbc". Any help is greatly appreciated.


Stephan