You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2002/02/19 19:44:05 UTC

cvs commit: xml-xalan/test/tests/conf/numberformat numberformat46.xsl numberformat46.xml

dmarston    02/02/19 10:44:05

  Added:       test/tests/conf/numberformat numberformat46.xsl
                        numberformat46.xml
  Log:
  See Bugzilla #6155. This is a companion to numberformat45.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/numberformat/numberformat46.xsl
  
  Index: numberformat46.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: NumberFormat46 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.3 -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test whether a default decimal-format defined in an include is applied here. -->
  
  <xsl:include href="x45import.xsl"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:text>&#10;</xsl:text>
      <one>
        <xsl:value-of select="format-number(12345.67,'000.000,###')"/>
        <xsl:text>, </xsl:text>
        <xsl:value-of select="format-number(-98765.4321,'##0.000,000')"/>
      </one>
      <xsl:text>&#10;</xsl:text>
      <xsl:call-template name="sub"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/numberformat/numberformat46.xml
  
  Index: numberformat46.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org