Johan wrote:
Hi all...

I'm having trouble getting parameter values into my templates.
I specify the parameter like this :
<xsl:apply-templates select="profile">
<xsl:with-param name="customerId" > 1234567890
   </xsl:with-param>
</xsl:apply-templates>

<snip/>

But I always get 'unknown'. I've tried not specifying any value, but then the
parameter is empty.

The problem is you try to invoke the template using apply-templates. However, named templates should be invoked using call-template, e.g.

<xsl:call-template>
<xsl:with-param name="customerId">1234567890</xsl:with-param>
</xsl:call-template>

Chris

P.S: Since your question is purely XSLT related, its probably better to ask it on the XSLT mulberry list.



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

Reply via email to