Subject: RE: [xsl] Retrieving XML document's name From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Mon, 2 Jul 2001 23:43:39 +0100 |
> This is probably pretty simple, but I couldn't find the answer in the > archives or books... how can you retrieve the name of the XML > file that you > are transforming? In standard XSLT you can't. Pass it in as a parameter if you need it. With Saxon, there are two extension functions saxon:system-id() and saxon:base-uri(). (They will give the same answer unless your document uses xml:base). Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Retrieving XML document's, John Putman | Thread | Re: [xsl] Retrieving XML document's, Sebastian Rahtz |
RE: [xsl] Result Tree Fragment Prob, Michael Kay | Date | RE: [xsl] Retrieving XML document's, John Putman |
Month |