Subject:with-param behaviour on apply-templates Author:Adriaan Vanderende Date:07 Jan 2003 03:40 PM
Hi,
Are there any different behaviours on
(xsl:apply-templates select="//")
(xsl:with-param name="parm" select="document('dd.xml')")/)
(/xsl:apply-templates)
It seems that the parameter is not passed or not correctly passed to the matched template.
Subject:Re: with-param behaviour on apply-templates Author:(Deleted User) Date:09 Jan 2003 08:35 AM
Hi Adriaan,
At 15.58 07/01/2003 -0500, you wrote:
>From: "Adriaan Vanderende"
>
>Hi,
>
>Are there any different behaviours on
>(xsl:apply-templates select="//")
>(xsl:with-param name="parm" select="document('dd.xml')")/)
>(/xsl:apply-templates)
>
>It seems that the parameter is not passed or not correctly passed to the
>matched template.
Can you give us more informations (or a complete testcase)? I tried your
snippet, and it cannot work, as the select="//" statement is not a valid
expression (the "//" query is missing a node test, e.g. //mynode).
For instance, this XSL document produces the expected result
Subject:Re: with-param behaviour on apply-templates Author:Minollo I. Date:21 Jan 2003 01:23 PM
Adriaan,
xalan:nodeset() is currently supported only by the XalanJ processor. The
Stylus Studio built-in XSLT processor won't be able to process that
instruction.
As mentioned earlier today in another SSDN post, we will make the Stylus
processor a bit more flexible so that xalan:nodeset is properly handled.