Hi,
        
        I want to pass an argument to the NodeSet function of Xalan. It accpets 
a tree fragment in  any format (may be string or a node or a simple java 
Object) .Thats what I am doing.But at run time it gives me a class caste 
Exception. following is the code-snippet

        <!-- input param  is an XMLString -->
        <xsl:param name="SystemInfo">
        </xsl:param>
 
<!-- the way I call this -->
        <!-- for xalan :- change the context to SystemInfo -->
           <xsl:for-each select="xalan:nodeset($SystemInfo)">
<!--     match the templates under the SystemInfo Tag -->
            <xsl:apply-templates /> 
            </xsl:for-each> 

The exception thrown is XSLTC specific(XALAN-J) .  

Tell me the way out for this thing.Will be witing fpor your response .

rgds . .
Ankur Chadha.

Reply via email to