xsl-list
[Top] [All Lists]

Re: [xsl] function for getting filename

2006-08-31 22:59:40
"Frank" == Frank Marent <frank(_dot_)marent(_at_)emnemics(_dot_)ch> 
writes:

    Frank> i'm struggling again and again over this point: is there a
    Frank> function in xslt that gives me the clean filename of the
    Frank> processed xml file? like

No. it might not be an xml file at all.

    Frank>    'myfile.xml' 'test.xml' 'anyfilename.xml'

    Frank> i do *not* need the document-uri. only the filename of the
    Frank> current processed xml file.

But if you have the document URI, and it's scheme is file, then you
can get the file name form it.
Otherwise, there probably is no file.
-- 
Colin Adams
Preston Lancashire

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