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

redirect output of transformation

Subject: redirect output of transformation
From: Mike Sokolov <sokolov@xxxxxxxxxxxx>
Date: Wed, 17 Jun 2009 09:34:40 -0400
 redirect output of transformation
(not sure if this is the right list for this; please redirect me if not):

I am trying to convince my transformer to write its output to a service running on HTTP, but when I set the output base-uri to my http service, it continues to try to write to the filesystem.

I tried:

java -jar saxon-8.7.jar -o http://charlestown/rest-service test.xml test.xsl

and get:

java.io.FileNotFoundException:
 /proj/test/http:/charlestown/rest-service (No such file or directory)

... reading an old e-mail thread I came across something called OutputURIResolver in Saxon, and I was looking at trying to make use of that by handing it a resolver and implementing my own version of the JAXP Result interface, but that interface has only a couple of methods, neither of which seems to accept a stream or a string or anything that looks like the result of a transformation.

can someone tell me if this is possible, and if so, what I'm doing wrong?

Thanks

Mike Sokolov

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.