Re: xml as parameter from servlet
I have been trying to get a Saxon(6.5.1) transformation to accept xml as a parameter.
The second possibility is to write a customized XML source and an URIResolver which passes it on request of a special URI to the processor, and use the document() function to access your source. See http://www.biglist.com/lists/xsl-list/archives/200107/msg01261.html and follow-ups.
A third possibility is to build yourself an XMLReader which uses a standard XMLReader to parse your source document into a SAX event stream for passing into the XSLT processor and splices your parameter data into the SAX event stream.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format