xsl-list
[Top] [All Lists]

Re: [xsl] Get Document File name

2006-10-22 23:12:08
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

--~------------------------------------------------------------------
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>