xsl-list
[Top] [All Lists]

Re: [xsl] XSLT collection function to get filenames

2008-03-16 07:05:30
Martin Honnen wrote:

to get the file name you will need to take the string after the last slash.

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

--

        Martin Honnen
        http://JavaScript.FAQTs.com/

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