In order to take the filename out of the "path/filname", David suggested:
tokenize(document-uri(.), "[\\/]")[last()]
to catch both / and \
The set of functions working in both XmlSpy and in Saxon looks like this:
tokenize(document-uri(.), "(\\|/)")[last()]
Jesper
--~------------------------------------------------------------------
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>
--~--