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 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Passing Document/NodeList, Michael Kay | Thread | [xsl] operator && euivalent in XSLT, Yogesh |
Re: [xsl] Bug Sorting Zeros, David_Marston | Date | RE: [xsl] Bug Sorting Zeros, David_N_Bertoni |
Month |