Subject: Re: [xsl] xml:base URI ignored by document() From: Lars Huttar <lars_huttar@xxxxxxx> Date: Tue, 27 Jul 2010 15:33:00 -0500 |
On 7/27/2010 10:45 AM, Wendell Piez wrote: > > In XSLT 1.0 you'd probably simply have: > > <xsl:variable name="base" select="document($base-uri)"/> > Ah... > and then document($relative-uri,$base). > > Of course this only works if an XML document is already there at > $base-uri. > Yes, I was planning for $base to be a folder; but I could use a file instead. It would seem like a waste to have to read and parse the $base document when I don't need it. But maybe the XSLT processor is smart enough not to do that... Lars
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xml:base URI ignored by d, Wendell Piez | Thread | Re: [xsl] xml:base URI ignored by d, Wendell Piez |
Re: [xsl] A question of style, Dimitre Novatchev | Date | [xsl] generic grouping without nest, James Cummings |
Month |