"Wim" == Wim Janssen
<Wim(_dot_)Janssen(_at_)student(_dot_)luc(_dot_)ac(_dot_)be> writes:
Wim> Hi, I'm working on a master thesis about XSLT.
Wim> I found a problem and I don't know wether it is a bug in
Wim> saxon (version 8.0).
Wim> Take a look a this little program
Wim> <xsl:template match="/a"> <xsl:element name="S">
Wim> <xsl:call-template name="f"> <xsl:with-param name="p1"
Wim> select="3"/> <xsl:with-param name="p2" select="$p1 + 2"/>
Wim> </xsl:call-template> </xsl:element> </xsl:template>
It's not a bug. There is no variable or parameter named p1 in scope.
There IS a parameter named p1 in scope within the template named f,
but you are not within that template.
--
Colin Paul Adams
Preston Lancashire
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--