This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xml as parameter from servlet
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 9 Apr 2002 10:23:52 +0100
- Subject: RE: [xsl] xml as parameter from servlet
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I have been trying to get a Saxon(6.5.1) transformation to
> accept xml as
> a parameter. I am sending it to this list because I don't know if my
> problem is Saxon specific. I get an error when I access the parameter
> with XSLT saying 'The value is not a nodeset.'
You have to parse the XML yourself, and pass the resulting parsed document
as the parameter value. You can't simply pass a string containing unparsed
XML.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list