Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] function for getting filename [Thread Next] Re: [xsl] function for getting filenameTo: Date: 9/1/2006 10:16:00 AM On 9/1/06, Frank Marent <frank.marent@xxxxxxxxxxx> wrote: i'm struggling again and again over this point: is there a function in xslt that gives me the clean filename of the processed xml file? like 'myfile.xml' 'test.xml' 'anyfilename.xml' i do *not* need the document-uri. only the filename of the current processed xml file. In xslt 2.0 I use: tokenize(base-uri(.), '/')[last()] In xslt 1.0 you'll need to pass it in as a parameter. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
