This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: mystery #2: testing document() without failure
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 13 Apr 2002 09:52:22 +0100
- Subject: Re: [xsl] mystery #2: testing document() without failure
- References: <m2g0208no7.fsf@maya.dyndns.org>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> The document() function will return a null node set if the referenced
> file is not found,
It might do that as an allowed recovery option but the default behaviour
is to issue a (possibly fatal) error. Unfortunately there's no way to
control that behaviour in XSLT itself.
xalan may have some implementation-specific customisation of this
though.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list