"Prashant Thakare" <thakare(_at_)cc(_dot_)gatech(_dot_)edu> wrote in message
news:1078368756(_dot_)7376(_dot_)15(_dot_)camel(_at_)grizzard-lnx(_dot_)cc(_dot_)gatech(_dot_)edu(_dot_)(_dot_)(_dot_)
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