You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Bensoussan, Thierry" <Th...@BroadVision.com> on 2000/07/06 14:11:19 UTC

Bug in xsl:foreach ?

I would like to use a parameter reference in the select attribute
of a foreach but it doesn't work... A Sax exception occures during
the processing.

Is the following legal ? Is it a xalan bug ?.

I would appreciate any comments since I'm new to XSL.

<xsl:template name="generate-selected-date">
  <xsl:param name="item">/flightsearch/types/type[@name =
'month']</xsl:param>

  <!-- $item seems to be the problem... ->
  <xsl:for-each select="$item">
  </xsl:for-each>
</xsl:template>

Thanx,
Thierry.