[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Merging multiple documents with document() funtion
> 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
|
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
|