http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2128

*** shadow/2128 Tue Jun 12 05:32:34 2001
--- shadow/2128.tmp.4913        Tue Jun 12 07:17:11 2001
***************
*** 2,9 ****
  | Named templates and xsl:with-param                                         |
  +----------------------------------------------------------------------------+
  |        Bug #: 2128                        Product: XalanJ2                 |
! |       Status: NEW                         Version: 2.0.x                   |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Blocker                  OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: org.apache.xalan.transf |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | Named templates and xsl:with-param                                         |
  +----------------------------------------------------------------------------+
  |        Bug #: 2128                        Product: XalanJ2                 |
! |       Status: RESOLVED                    Version: 2.0.x                   |
! |   Resolution: INVALID                    Platform: PC                      |
  |     Severity: Blocker                  OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: org.apache.xalan.transf |
  +----------------------------------------------------------------------------+
***************
*** 26,28 ****
--- 26,37 ----
  <xsl:template name="x">
   <xsl:value-of select="$_titel"></xsl:value-of>
  </xsl:template>
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-06-12 07:17 -------
+ You need to "receive" the passed parameter in your named template by including 
+ an xsl:param element in the named template.  See 
+ http://www.w3.org/TR/xslt.html#section-Passing-Parameters-to-Templates
+ "It is not an error to pass a parameter x to a template that does not have an 
+ xsl:param element for x; the parameter is simply ignored."
+ HTH,
+ Gary
\ No newline at end of file

Reply via email to