> hi amelie (nice name ;-),

thanks :)


> <mytag:user>
>       <name><xsp-request:get-parameter name="user"/></name>
> </mytag:user>
>
>
> and your modified logicsheet would look something like this:
>
> ...
> <xsl:include href="logicsheet-util.xsl"/>
>
> <xsl:param name="namespace-uri">http://your/namespace/uri</xsl:param>
> <!-- you know -->
>
> <xsl:template match="mytag:[EMAIL PROTECTED] or name]">
>       <xsl:variable name="name">
>               <xsl:call-template name="get-string-parameter">
>                       <xsl:with-param name="name">name</xsl:with-param>
>                       <xsl:with-param name="required">true</xsl:with-param>
>               </xsl:call-template>
>       </xsl:variable>
>
>       ...
> </xsl:template>
> ...
>
> and in your template you now accees the parameter via the variable.


I can't achieve to make this work.

Here is what I've done (I've changed some names because it was quite
ambiguous)


In my xsp :

<mytag:user>
        <year><xsp-request:get-parameter name="paramyear"/></year>
</mytag:user>

And in my xsl:

<xsl:include href="logicsheet-util.xsl"/>
<xsl:param name="namespace-uri">http://mynamspace/mytag</xsl:param>


<xsl:template match="mytag:[EMAIL PROTECTED]">
        <xsl:variable name="varyear">
                <xsl:call-template name="get-string-parameter">
                        <xsl:with-param name="name">year</xsl:with-param>
                        <xsl:with-param name="required">true</xsl:with-param>
                </xsl:call-template>
        </xsl:variable>
        <xsl:call-template name="mytesttemplate"/>
</xsl:template>


As soon as I had "[EMAIL PROTECTED]" on my match xsl:template, the
"<xsl:call-template name="mytesttemplate"/>" instruction isn't executed
anymore.

I'm sure that there is no problem with the logicsheet-util inclusion .

What am i doing wrong?

Thanks

Amelie





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to