[Bug 17206] Making dynamic evaluation via xsl:evaluate more dynamic

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17206

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Michael Kay <mike@saxonica.com> 2012-07-27 20:11:48 UTC ---
We can see the use case and we're thinking about it.

Note that there is a workaround: rebind the variable names within the
expression

<xsl:evaluate xpath="let $xyz := $p1 return
                                  let $qpr := $p2 return
                                  || $expression">
  <xsl:with-param name="p1" select="1" />
  <xsl:with-param name="p2" select="2" /> 
</xsl:evaluate>

I think my main reluctance with the suggestion as written is that it will
encourage people to want all variable names to be dynamic throughout the
language.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 27 July 2012 20:11:50 UTC