You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Frank Chen <fr...@ms5.hinet.net> on 2001/05/23 06:21:47 UTC

xsl:with-param

Hi:

A question about Xalan implementation for xsl:with-param.

<xsl:apply-templates select="title">
  <xsl:with-param name="type" select="style"/>
</xsl:apply-templates>

The value of parameter type is evaluated only once, or repeatedly for every node of the node-set?

Frank Chen



Re: xsl:with-param

Posted by Phil Friedman <pf...@terralink.com>.
Frank,

The parameter value should be evaluated only once. This same value is
then available regardless of which templates match.

Regards,  Philip Friedman -- Terralink Software Systems -- 207-772-6500 x101

On Wed, 23 May 2001 12:21:47 +0800, "Frank Chen" <fr...@ms5.hinet.net> may have written:

|Hi:
| 
|A question about Xalan implementation for xsl:with-param.
| 
|<xsl:apply-templates select="title">
|  <xsl:with-param name="type" select="style"/>
|</xsl:apply-templates>
| 
|The value of parameter type is evaluated only once, or repeatedly for
|every node of the node-set?
| 
|Frank Chen
| 
|