[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML String as Parameter..
> The i tried to load the Parameter to a variable using > document() function. > <xsl:variable name="xmlvar" > select="document(xalan:node-set($xmlparm))"> > </xsl:variable> > > Now it throws Error "For extension function, could not > find method > java.lang.String.node-set([ExpressionContext,] ). Why are you trying to convert a string to a nodeset? If it's just a string use it directly. If the string contains XML that you want to have parsed you need pass it in as a nodeset in the first place. That's a little harder, but there have been several discussions on how to do this lately. In particular, for Xalan see: http://www.biglist.com/lists/xsl-list/archives/200203/msg01059.html 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
|