Re: Fwd: [xsl] curly braces

Subject: Re: Fwd: [xsl] curly braces
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Thu, 20 Sep 2012 15:14:54 +0100
On Thu, Sep 20, 2012 at 3:11 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>
>>> If doc('') fails then it's almost certainly because you compiled the
>>> stylesheet without supplying a base URI: for example you supplied it as a
>>> StreamSource or DOMSource with no SystemID. It could also happen because
>>> your base URI changes within the stylesheet module, for example as a
>>> result
>>> of using external entities or using xml:base.
>>>
>> Does this mean I could fix this by setting xml:base in the stylesheet?
>>
> If you know the URI of the stylesheet is U then you could set xml:base="U",
> but it would be simpler just to call doc('U') instead of doc('').
>

OK, on one of my  platforms I don't know the URI of the stylesheet but
on the other I do. Will try.

Current Thread