[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Get Document File name


Subject: Re: [xsl] Get Document File name
From: Frank Marent <frank.marent@xxxxxxxxxxx>
Date: Mon, 23 Oct 2006 08:11:20 +0200

hi phil

Is there a way to get the file name of the document you are processing? If I
use Document-uri() it returns the whole file path.

i'm using


tokenize(document-uri(/), '/')[last()]

or '\' if working with backslashes.

regards
frank


Current Thread