This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Passing Document/NodeList to xsl as parameter
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Passing Document/NodeList to xsl as parameter
- From: "Tim" <xsl at cheekymail dot net>
- Date: 25 Jun 2001 14:44:48 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks Mike,
I've tried sending it just as a string and it throws the error:
java.xml.transform.TransformerException: Unknown Error in XPath
on execution of the evaluate() function. I've also tried accessing
the node parameter directly, e.g.
<xsl:value-of select="$keywords//*"/>
where $keywords is the parameter passed from my java bit.
Please send more ideas...
Ta, Tim.
> > <xsl:variable name="keys" select="xalan:evaluate($keywords)"/>
> >
> > $keywords is the parameter containing the nodelist.
>
> xalan:evaluate($keywords) expects $keywords to be a string containing
an
> XPath expression, I've no idea what it does if the parameter is a
NodeList -
> it probably converts the NodeList to a string, which I doubt is what
you
> intended.
>
> Mike Kay
> Software AG
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list