On 9/1/06, Frank Marent <frank(_dot_)marent(_at_)emnemics(_dot_)ch> wrote:
i'm struggling again and again over this point:
is there a function in xslt that gives me the clean filename of the
processed xml file? like
'myfile.xml'
'test.xml'
'anyfilename.xml'
i do *not* need the document-uri. only the filename of the current
processed xml file.
In xslt 2.0 I use:
tokenize(base-uri(.), '/')[last()]
In xslt 1.0 you'll need to pass it in as a parameter.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--