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

Re: XalanTransform warning: Invalid argument in nodese

Subject: Re: XalanTransform warning: Invalid argument in nodeset()
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Thu, 4 Mar 2004 06:13:39 +0100
xalantransform
"Prashant Thakare" <thakare@xxxxxxxxxxxxx> wrote in message
news:1078368756.7376.15.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I am unable to get rid of warning "Invalid argument type in the function
> 'nodeset()'" given by XalanTransform.
>
> The code is as follows:
> <xsl:variable name="datatypes" select="/xip/datatypes"/>
> ...
> <xsl:with-param name="filters" select="xalan:nodeset($filters)"/>

I guess you meant:

   <xsl:with-param name="filters" select="xalan:nodeset($datatypes)"/>

The value of the "datataypes" variable is a node-set -- not an RTF. This is
why you get the warning.

In this case you do not need to use the xalan:nodset() extension function -- 
there's no RTF to cconver to a node-set.

> ...
>
> If I define the variable in the file instead of assigning from input
> file, the warning goes off.

Yes, because in this case the value of the "datatypes" is an RTF.


Cheers,

Dimitre Novatchev
FXSL developer,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html


>
> <xsl:variable name="datatypes">
> <abc>
>         <bcd>
>         </bcd>
> </abc>
> ...
> <xsl:with-param name="filters" select="xalan:nodeset($datatypes)"/>
> ...
>
> Any clues?
> Prashant
>
>
>  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

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.