[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XalanTransform warning: Invalid argument in nodese
"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
|
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
|