[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Multiple Output Documents with XSLServlet


Subject: Re: Multiple Output Documents with XSLServlet
From: Edd Dumbill <edd@xxxxxxxxxxxxx>
Date: Tue, 12 Oct 1999 06:05:38 +0000

On Mon, Oct 11, 1999 at 03:31:04PM -0700, Kirk V. Hastings wrote:
> Now I would like to do it dynamically with James Clark's XSLServlet. 
> However, not being a Java programmer, I'm finding it difficult to see what 
> changes I would have to make to the code in order to output multiple 
> documents directly to the browser. Has anyone else tackled a similar problem?

The documents in a frameset are fetched in distinct HTTP operations,
which means your servlet will get invoked once for each document that
makes up the frameset. An HTTP GET only retrieves one at a time.

If you're just looking for a neat solution you might use a top-level
variable to control which stylesheet is used, which you can pass in via
the query string in the URL, but you can't deliver three documents to
one HTTP GET.

> Kirk

-- 
Edd Dumbill ------/ a new media consultant, writer & technologist /--
 | Publishing Editor, xmlhack.com                <http://xmlhack.com>
 | Director, Useful Information Company        <http://usefulinc.com>
 : Internet Director, Pharmalicensing    <http://pharmalicensing.com>
 : UK voice/msg: +44 702-093-6870            UK fax: +44 870-164-0230


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



Current Thread