[XQZone General] External XSLT processing of documents in ML Server?
David Sewell
dsewell at virginia.edu
Fri Jul 22 08:20:14 PDT 2005
We're trying to use the new functions in ML Server 3.0 for accessing Web
services to experiment with passing an XML document from the database to
an external XSLT processor, but we're running into some glitches. Our
first approach was to use a chain like this:
1. .xqy program using xdmp:http-post() to pass a document (quoted using
xdmp:quote()) to a CGI Perl program on another host
2. Perl program (using CGI.pm) takes XML data, writes to a temp file,
processes this file via an external XSLT parser (xsltproc) and returns
the resulting HTML as output
3. the .xqy program returns this HTML as its output
This is working correctly for small XML documents, but larger ones are
truncated--apparently somewhere in the handshaking between
xdmp:http-post() and the CGI script.
Before we spend a lot of time trying to analyze what's causing the
truncation, I thought I'd ask whether anyone else has a use case where
you're doing this sucessfully, and what framework you're using (for
example, Tomcat + Xalan, or ...?).
DS
--
David Sewell, Editorial and Technical Manager
Electronic Imprint, The University of Virginia Press
PO Box 400318, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: dsewell at virginia.edu Tel: +1 434 924 9973
Web: http://www.ei.virginia.edu/
More information about the General
mailing list