xsl-list
[Top] [All Lists]

Re: Fwd: [xsl] curly braces

2012-09-20 09:15:03
On Thu, Sep 20, 2012 at 3:11 PM, Michael Kay <mike(_at_)saxonica(_dot_)com> 
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>