[xsl] xsl StreamSource for servlet

Subject: [xsl] xsl StreamSource for servlet
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Thu, 19 Jul 2001 11:05:05 -0700
Is the following possible (I can't get it to work yet...)? - Is there a
better way?

Given a J2EE compliant web container (resin 2.01), I have a startup servlet
(starts up when the webapp starts) that creates a StreamSource for an XSL
file (has many includes) from the filesystem and sets it as a context
attribute.

Then when someone logs into the webapp, the login servlet gets the xsl
StreamSource attribute and sends it as an argument to a class that does the
transformation. I am also sending in the XML StreamSource and the
PrintWriter out (which is converted to a StreamResult in the accepting
class).

Should this work?


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


Current Thread