Re: how to get filename through xsl
Uche Ogbuji <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Organization | Fourthought, Inc. |
| Message-ID | <1116631612.26122.176.camel@borgia> |
On Wed, 2005-05-04 at 14:47 +0530, baskaran wrote: > I transfer one xml file to some other dtd based xml file by using saxon and > one xsl file. > I need to add id (for some tags) which contain xml file name + count. > > Kindly suggest me how to get filename (base name) through xsl EXSLT does not provide for this right now. Some processors, such as 4Suite [1] do. I do think that EXSLT should grow a URI parse/handling module, which could include a uri:base-uri() extension (returning the base URI of the context node). -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html XML Output with 4Suite & Amara - http://www.xml.com/pub/a/2005/04/20/py-xml.html Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/ Schema standardization for top-down semantic transparency - http://www-128.ibm.com/developerworks/xml/library/x-think31.html