xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon <simonjga...@yahoo.com>
Subject XSL question
Date Mon, 11 Jun 2001 12:25:37 GMT
It's off-topic, but here's a question:

assuming the following xsl template

<xsl:template name="someTemplate">

  <xsl:call-template name="callMe">
    <xsl:with-param
name="location">/section/data/stuff</xsl:with-param>
  </xsl:call-template>

</xsl:template>


<xsl:template name="callMe">
  <xsl:param name="location"/>

  <xsl:for-each select="$location">
    <!-- some content -->

  </xsl:for-each>
</xsl:template>


---- what's wrong; the "location" parameter is passed
correctly and can be debugged using a value-of
instruction, however if I want to use it within a
for-each, it isn't allowed for some reason - why?

.s


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message