[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Merging multiple documents with document() funtion

Subject: RE: Merging multiple documents with document() funtion
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 16 Jan 2002 09:08:48 -0000
funtion of a processors
> I have a source xml document which defines multiple url's to
> rss feeds. I
> then use an xsl transformation to combine these using a call to
> document(url) and then transform them into a single html
> page. Eveything
> works fine until one of the url's can't be reached (i.e.
> server goes down).
> When this happens, the processing stops and no more url's
> will be loaded.
> Is there any way to get the processor to continue to the next
> url if the
> prevous one cannot be resolved?

The XSLT processor is given discretion here, whether to abort or to recover.
The actual behavior therefore depends on the processor you are using. Some
processors allow you to control the recovery action. If the processor
supports JAXP 1.1, you can write your own URIResolver which returns a dummy
document if no real document can be found.

Mike Kay

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.