On 31/07/2008, Trevor Nicholls <trevor(_at_)castingthevoid(_dot_)com> wrote:
Is there anything I can add to the template, or stylesheet, so that this
situation does not generate a fatal error?
Depends a bit on your processor. Both Sablotron and LibXSLT have
options for silent supressing of unresolved document(). I think Saxon
has, too. Xalan don't, but you *could* use the -URIRESOLVER
[full-path] option to specify your own URI resolver, which you can
just have resolve to an empty document with a blank root you can test
on if resolved to 404. Xalan is not recomended, and if you can,
espace.
Alex
--
---------------------------------------------------------------------------
Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
------------------------------------------ http://shelter.nu/blog/ --------
--~------------------------------------------------------------------
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>
--~--