Subject: Re: [xsl] Get Document File name From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Mon, 23 Oct 2006 08:35:32 +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.
^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))? 12 3 4 5 6 7 8 9
-- Abel Braaksma http://www.nuntia.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Get Document File name, Frank Marent | Thread | RE: [xsl] Get Document File name, Michael Kay |
[xsl] Table Proportional Column Wid, siarom egrub | Date | RE: [xsl] getting type information , Michael Kay |
Month |