[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Using output URI resolver within a servlet

Subject: Using output URI resolver within a servlet
From: "Anita Lund" <anita.lund@xxxxxxx>
Date: Mon, 12 Apr 2004 13:40:15 +0200
xalan uri resolver
Hi,

I am trying to change the SaxonServlet so that it can handle a stylesheet
creating multiple output documents using xsl:result-document.  I am using
Saxon7-9-1 running on Windows2000, using tomcat 4.1 as servlet container.

My goal is to return the main output directly to the browser via
ServletOutputStream.
The main output includes several iframes, which refer to HTML files written
as secondary output documents during the XSL transformation.

Currently, all output from the transformation (including
xsl:result-document) is returned to the browser and no files are generated
on the server.

As far as I understand the problem has something to do with the URI
resolver/systemId of the output stream.

I have tried to set the systemId on the result object, and am currently
trying to get the servlet to work using the UserOutputResolver from the Trax
examples, without much luck ;)

The href in xsl:result-document contains an absolute URI on the form:
file:///localhost:8080/{$path}/{$filename}.html

Has anyone tried this before with success?

Many thanks for your help in advance!
Anita Lund

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.