[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] fn:document-uri in Saxon and XMLSpy
Subject: RE: [xsl] fn:document-uri in Saxon and XMLSpy
From: "Jesper Tverskov" <jesper@xxxxxxxxxxx>
Date: Fri, 6 Jan 2006 21:24:50 +0100
|
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
|