On second thought, I just tried this and it works fine. Maybe the
xsl:with-param is in an invalid position. Can you send us a copy of your
entire XSL? Xalanj-1 used to have some errors in this area and allowed some
illegal stuff.
Thanks,
Myriam


                                                                                       
                    Myriam_Midy@lo                                                     
                    tus.com              To:     [EMAIL PROTECTED]              
                                         cc:     (bcc: Myriam Midy/CAM/Lotus)          
                    08/15/01 11:53       Subject:     Re: with-param not working in    
                    AM                    XalanJ2  -- Help!                            
                    Please respond                                                     
                    to xalan-dev                                                       
                                                                                       
                                                                                       





Hi,
I think this may be a bug. Can you please enter it in Bugzilla? Thanks for
the report.

Myriam



                    Kurt Heston

                    <kurtheston@ya       To:     [EMAIL PROTECTED]

                    hoo.com>             cc:     (bcc: Myriam
Midy/CAM/Lotus)
                                         Subject:     with-param not
working in
                    08/15/01 04:38        XalanJ2  -- Help!

                    AM

                    Please respond

                    to xalan-dev







Hello,

The following xslt code worked great in Xalanj1:

<xsl:call-template name="myTemp">
    <xsl:with-param name="var1" select="."/>
</xsl:call-template>

but when I use it in XalanJ2 I get the following error:

xsl:with-param is not allowed in this position in the stylesheet!

Everything I read tells me that my syntax is correct.  What is the
problem???







Reply via email to