RE: [xsl] Passing Document/NodeList to xsl as parameter

Subject: RE: [xsl] Passing Document/NodeList to xsl as parameter
From: "Tim" <xsl@xxxxxxxxxxxxxx>
Date: 25 Jun 2001 14:44:48 -0000
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 
> 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 
> intended.
> Mike Kay
> Software AG
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread