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('').
Michael Kay
Saxonica
--~------------------------------------------------------------------
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>
--~--