[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: "Paul Sprakes" <paul@xxxxxxxxxxxxx>
Date: Mon, 14 Jan 2002 23:16:30 -0000
funtion of trade mark
Thanks for the tip. Unfortunately, I need everything to run in a standalone
browser on the client, so no asp/cgi etc.. I have tried running it in
Mozilla with a purposely broken url and it worked perfectly, so it seems
that this is a msxsl bug.

Cheers, Paul.

----- Original Message -----
From: "Eric Vitiello" <xsl-list@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, January 14, 2002 7:02 PM
Subject: Re:  Merging multiple documents with document() funtion

> -- 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
> >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

 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.