[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Merging multiple documents with document() funtion
Mike > 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) 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|