[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: Eric Vitiello <xsl-list@xxxxxxxxxxxx>
Date: Mon, 14 Jan 2002 14:02:45 -0500
asp rss multiple urls
-- Paul Sprakes [Mon, 14 Jan 2002 18:47:30 -0000]:
>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?

I am currently doing the exact same thing, and ran into the exact error.  The only fix that I could find was to put another layer into the mix.  I am doing everything via ASP, so I had a local XML file, and an XSLT file that would combine the XML, and various other sources VIA document().  to fix the problem, I cerated a local ASP file that I could request with my document() call.  This ASp file would go get teh XML file for me, and cache it.  whenever the "fetch" ASP file encountered an error, it would simply return the previous cached data to me.

This also allowed me to set expiration times for the remote XML files, and created a MUCH faster transformation.


---
Eric Vitiello
Perceive Designs
<www.perceive.net>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.