This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]