xsl-list
[Top] [All Lists]

RE: fn:document-uri in Saxon and XMLSpy

2006-01-06 13:24:50
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>