[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML String as Parameter..

Subject: RE: XML String as Parameter..
From: "Hunsberger, Peter" <Peter.Hunsberger@xxxxxxxxxx>
Date: Mon, 1 Apr 2002 08:44:34 -0600
xsl parameter contains xml
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.