|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Passing Document/NodeList to xsl as parameter
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
|
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
|

Cart








