Subject: RE: [xsl] determine absolute path of processed xml From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 5 Aug 2004 12:18:56 +0100 |
In XSLT 2.0 you can do document-uri(/). If you're not using 2.0, you can do saxon:system-id(/). In both cases they only work if the systemId is actually known, which may not be the case if for example the source was supplied as a DOMSource. A more portable solution is to pass the URI to the stylesheet as a parameter. Michael Kay > -----Original Message----- > From: Sebastian Fey [mailto:fey@xxxxxxxxxxx] > Sent: 05 August 2004 11:56 > To: Xsl-List (E-Mail) > Subject: [xsl] determine absolute path of processed xml > > hi, > > is there a (saxon-) extension that returns the absolute path > of the _XML_ being processed by xsl. > > thx, > sebastian
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] determine absolute path of pr, Sebastian Fey | Thread | [xsl] How to add a new font, Narasingarao Kommire |
RE: [xsl] file_size_affecting_trans, Suman Kumar | Date | [xsl] How to add a new font, Narasingarao Kommire |
Month |