[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Fwd: [xsl] curly braces

Subject: Re: Fwd: [xsl] curly braces
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Thu, 20 Sep 2012 18:12:24 +0100

On Thu, Sep 20, 2012 at 3:14 PM, Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx> wrote:
> 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('').

doc ('U') worked. thanks.

Current Thread