dmarston    02/01/30 11:42:35

  Added:       test/tests/conf/variable variable63.xsl variable63.xml
  Log:
  More coverage of underscore as a letter character in names.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/variable/variable63.xsl
  
  Index: variable63.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  
    <!-- FileName: variable63 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 11.2 -->
    <!-- Creator: David Marston -->
    <!-- Purpose: test using parameter names with leading underscore -->
   
  <xsl:output method="xml" encoding="UTF-8" indent="no"/>
  
  <xsl:template match="/">
    <out>
      <xsl:call-template name="foo">
        <xsl:with-param name="_foo_par" select="/doc/datum/@value"/>
      </xsl:call-template>
    </out>
  </xsl:template>
  
  <xsl:template name="foo">
    <xsl:param name="_foo_par"/>
  
    <xsl:for-each select="$_foo_par">(<xsl:value-of 
select="position()"/>)</xsl:for-each>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/variable/variable63.xml
  
  Index: variable63.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <datum value="5"/>
    <datum value="3"/>
    <datum value="4"/>
  </doc>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to