Re: [xsl] Merging multiple documents with document() funtion

Subject: Re: [xsl] Merging multiple documents with document() funtion
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 16 Jan 2002 09:29:59 GMT
> The XSLT processor is given discretion here, whether to abort or to recover.
> The actual behavior therefore depends on the processor you are using.

This is __so__ annoying:-)

If it had been forced to return an empty node set you'd be able to test
for the presence of a file and do all sorts of interesting possibilities
with allowing optional configuration files to be processed to control
some main transformation.

I suppose the reason why it wasn't mandated to return a value is that it
could fail (eg with an unexpected server response) somewhere outside the
stylesheets control.

If XPath2 ends up getting a (trappable) error value, it would be nice if
document() could be mandated to return such an error in this case.
(If not it would be nice if it were possible to mandate getting () back)


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread