[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Get Document File name
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 23 Oct 2006 08:58:05 +0100
> i'm using
> 
>    tokenize(document-uri(/), '/')[last()]
> 
> or '\' if working with backslashes.
> 

The document-uri() function returns a URI, not a filename, and URIs always
use forwards slashes as separators.

Michael Kay
http://www.saxonica.com/

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member