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

RE: Saxon servlet and xsl:result-document (multiple do

Subject: RE: Saxon servlet and xsl:result-document (multiple documents) problem
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 8 Apr 2004 21:54:41 +0100
saxon servlet
Firstly, I think you will need to use absolute URIs in the href attribute.
If you use relative URIs, there's nothing really for them to be resolved
against.

Secondly, the sample servlet uses "new StreamResult(out)" as the transform
destination. I think you may have to change this so the systemId on the
result object is set.

Finally, for diagnostics, try setting the FeatureKeys.TIMING feature on the
TransformerFactory. This causes Saxon to trace the names of secondary output
files to System.err, which will probably end up in the servlet container's
log file.

Michael Kay

> -----Original Message-----
> From: xml4pharma@xxxxxxxxxxxxxxxx 
> [mailto:xml4pharma@xxxxxxxxxxxxxxxx] 
> Sent: 08 April 2004 19:16
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Saxon servlet and xsl:result-document 
> (multiple documents) problem
> 
> 
> I have a stylesheet that creates several output documents (using
> multiple xsl:result-document). It works fine with Saxon from line
> command.
> 
> Now I want to use the SaxonServlet to have it generated on 
> the server. 
> I tried several things for defining the URI, but I can't see any
> documents being written on the server (at the moment I am still using
> http://localhost:8080/test on my Windows 2000 computer).
> Can anyone tell me how I have to define the output path so that the
> files are really created on the server ?
> Or do I have to change anything in the SaxonServlet ?
> 
> Many thanks in advance
> 
> Jozef Aerts
> xml4pharma@xxxxxxxxxxxxxxxx

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.