cvs commit: xml-xalan/test/tests/conf/math math99.xsl math01.xsl math02.xml math02.xsl math03.xml math03.xsl math04.xml math04.xsl math05.xml math05.xsl math06.xml math06.xsl math07.xml math07.xsl math08.xml math08.xsl math09.xml math09.xsl math10.xml math10.xsl math100.xml math100.xsl math101.xml math101.xsl math102.xml math102.xsl math103.xml math103.xsl math104.xml math104.xsl math11.xml math11.xsl math12.xml math12.xsl math13.xml math13.xsl math14.xml math14.xsl math15.xml math15.xsl math16.xml math16.xsl math17.xml math17.xsl math18.xml math18.xsl math19.xml math19.xsl math20.xml math20.xsl math21.xml math21.xsl math22.xml math22.xsl math23.xml math23.xsl math24.xml math24.xsl math25.xml math25.xsl math26.xml math26.xsl math27.xml math27.xsl math28.xml math28.xsl math29.xml math29.xsl math30.xml math30.xsl math31.xml math31.xsl math32.xml math32.xsl math33.xml math33.xsl math34.xml math34.xsl math35.xml math35.xsl math36.xml math36.xsl math37.xml math37.xsl math38.xml math38.xsl math39.xml math39.xsl math40.xml math40.xsl math41.xml math41.xsl math42.xml math42.xsl math43.xml math43.xsl math44.xml math44.xsl math45.xml math45.xsl math46.xml math46.xsl math47.xml math47.xsl math48.xml math48.xsl math49.xml math49.xsl math50.xml math50.xsl math51.xml math51.xsl math52.xml math52.xsl math53.xml math53.xsl math54.xml math54.xsl math55.xml math55.xsl math56.xml math56.xsl math57.xml math57.xsl math58.xml math58.xsl math59.xml math59.xsl math60.xml math60.xsl math61.xml math61.xsl math62.xml math62.xsl math63.xml math63.xsl math64.xml math64.xsl math65.xml math65.xsl math66.xml math66.xsl math67.xml math67.xsl math68.xml math68.xsl math69.xml math69.xsl math70.xml math70.xsl math71.xml math71.xsl math72.xml math72.xsl math73.xml math73.xsl math74.xml math74.xsl math75.xml math75.xsl math76.xml math76.xsl math77.xml math77.xsl math78.xml math78.xsl math79.xml math79.xsl math80.xml math80.xsl math81.xml math81.xsl math82.xml math82.xsl math83.xml math83.xsl math84.xml math84.xsl math85.xml math85.xsl math86.xml math86.xsl math87.xml math87.xsl math88.xml math88.xsl math89.xml math89.xsl math90.xml math90.xsl math91.xml math91.xsl math92.xml math92.xsl math93.xml math93.xsl math94.xml math94.xsl math95.xml math95.xsl math96.xml math96.xsl math97.xml math97.xsl math98.xml math98.xsl math99.xml math01.xml

16 Dec 2000 01:22:40 -0000

dmarston    00/12/15 17:22:39

  Added:       test/tests/conf/math math99.xsl math01.xsl math02.xml
                        math02.xsl math03.xml math03.xsl math04.xml
                        math04.xsl math05.xml math05.xsl math06.xml
                        math06.xsl math07.xml math07.xsl math08.xml
                        math08.xsl math09.xml math09.xsl math10.xml
                        math10.xsl math100.xml math100.xsl math101.xml
                        math101.xsl math102.xml math102.xsl math103.xml
                        math103.xsl math104.xml math104.xsl math11.xml
                        math11.xsl math12.xml math12.xsl math13.xml
                        math13.xsl math14.xml math14.xsl math15.xml
                        math15.xsl math16.xml math16.xsl math17.xml
                        math17.xsl math18.xml math18.xsl math19.xml
                        math19.xsl math20.xml math20.xsl math21.xml
                        math21.xsl math22.xml math22.xsl math23.xml
                        math23.xsl math24.xml math24.xsl math25.xml
                        math25.xsl math26.xml math26.xsl math27.xml
                        math27.xsl math28.xml math28.xsl math29.xml
                        math29.xsl math30.xml math30.xsl math31.xml
                        math31.xsl math32.xml math32.xsl math33.xml
                        math33.xsl math34.xml math34.xsl math35.xml
                        math35.xsl math36.xml math36.xsl math37.xml
                        math37.xsl math38.xml math38.xsl math39.xml
                        math39.xsl math40.xml math40.xsl math41.xml
                        math41.xsl math42.xml math42.xsl math43.xml
                        math43.xsl math44.xml math44.xsl math45.xml
                        math45.xsl math46.xml math46.xsl math47.xml
                        math47.xsl math48.xml math48.xsl math49.xml
                        math49.xsl math50.xml math50.xsl math51.xml
                        math51.xsl math52.xml math52.xsl math53.xml
                        math53.xsl math54.xml math54.xsl math55.xml
                        math55.xsl math56.xml math56.xsl math57.xml
                        math57.xsl math58.xml math58.xsl math59.xml
                        math59.xsl math60.xml math60.xsl math61.xml
                        math61.xsl math62.xml math62.xsl math63.xml
                        math63.xsl math64.xml math64.xsl math65.xml
                        math65.xsl math66.xml math66.xsl math67.xml
                        math67.xsl math68.xml math68.xsl math69.xml
                        math69.xsl math70.xml math70.xsl math71.xml
                        math71.xsl math72.xml math72.xsl math73.xml
                        math73.xsl math74.xml math74.xsl math75.xml
                        math75.xsl math76.xml math76.xsl math77.xml
                        math77.xsl math78.xml math78.xsl math79.xml
                        math79.xsl math80.xml math80.xsl math81.xml
                        math81.xsl math82.xml math82.xsl math83.xml
                        math83.xsl math84.xml math84.xsl math85.xml
                        math85.xsl math86.xml math86.xsl math87.xml
                        math87.xsl math88.xml math88.xsl math89.xml
                        math89.xsl math90.xml math90.xsl math91.xml
                        math91.xsl math92.xml math92.xsl math93.xml
                        math93.xsl math94.xml math94.xsl math95.xml
                        math95.xsl math96.xml math96.xsl math97.xml
                        math97.xsl math98.xml math98.xsl math99.xml
                        math01.xml
  Log:
  Copy of tests in Lotus/IBM repository
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/math/math99.xsl
  
  Index: math99.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math99 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that * has precedence over + and -. -->
  
  <xsl:variable name="anum" select="10"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="3*2+5*4-4*2-1"/><xsl:text>,</xsl:text>
      <xsl:value-of select="n6*5-8*n2+5*2"/><xsl:text>,</xsl:text>
      <xsl:value-of select="$anum*5-4*n2+n6*n1 -n3*3"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math01.xsl
  
  Index: math01.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH01 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion function on an element. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number(n1)"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math02.xml
  
  Index: math02.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math02.xsl
  
  Index: math02.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH02 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor(). -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(0.0)"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math03.xml
  
  Index: math03.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math03.xsl
  
  Index: math03.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH03 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling(). -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(0.0)"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math04.xml
  
  Index: math04.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math04.xsl
  
  Index: math04.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH04 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round(). -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(0.0)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math05.xml
  
  Index: math05.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  <n attrib="1">0</n>
  <n attrib="1">1</n>
  <n attrib="1">2</n>
  <n attrib="1">3</n>
  <n attrib="2">4</n>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math05.xsl
  
  Index: math05.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH05 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of sum(). -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="sum(n)"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math06.xml
  
  Index: math06.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  <n1 attrib="2">2</n1>
  <n2 attrib="4">3</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math06.xsl
  
  Index: math06.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH06 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '*' operator. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2*3"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math07.xml
  
  Index: math07.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  <n1 attrib="5">3</n1>
  <n2 attrib="5">6</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math07.xsl
  
  Index: math07.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH07 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '+' operator. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="3+6"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math08.xml
  
  Index: math08.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math08.xsl
  
  Index: math08.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH08 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator.  Note since XML allows "-" in names
         the "-" operator typically needs to be preceded by whitespace.-->
  
  
  
  <xsl:variable name="h" select="60"/>
  <xsl:variable name="i" select="20"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="3-1"/><xsl:text>,</xsl:text>
        <xsl:value-of select="$h - $i"/> 
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math09.xml
  
  Index: math09.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math09.xsl
  
  Index: math09.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH09 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="6 div 2"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math10.xml
  
  Index: math10.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  <n1 attrib="10">5</n1>
  <n2 attrib="4">2</n2>
  <div attrib="-5">-5</div>
  <mod attrib="-2">2</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math10.xsl
  
  Index: math10.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH10 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'mod' operator. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="5 mod 2"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math100.xml
  
  Index: math100.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <n5>5</n5>
    <n6>6</n6>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math100.xsl
  
  Index: math100.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math100 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that div has precedence over + and -. -->
  
  <xsl:variable name="anum" select="10"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="(24 div 3 +2) div (40 div 8 
-3)"/><xsl:text>,</xsl:text>
      <xsl:value-of select="80 div n2 + 12 div 2 - n4 div 
n2"/><xsl:text>,</xsl:text>
      <xsl:value-of select="70 div $anum - 18 div n6 + $anum div n2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math101.xml
  
  Index: math101.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <n5>5</n5>
    <n6>6</n6>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math101.xsl
  
  Index: math101.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math101 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that mod has precedence over + and -. -->
  
  <xsl:variable name="anum" select="10"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="48 mod 17 - 2 mod 9 + 13 mod 
5"/><xsl:text>,</xsl:text>
      <xsl:value-of select="56 mod round(n5*2+1.444) - n6 mod 4 + 7 mod 
n4"/><xsl:text>,</xsl:text>
      <xsl:value-of select="(77 mod $anum + n5 mod 8) mod $anum"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math102.xml
  
  Index: math102.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>17</doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math102.xsl
  
  Index: math102.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH102 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that number() with no argument applies to context node. 
-->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number()"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math103.xml
  
  Index: math103.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n1>3</n1>
    <n2>7</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math103.xsl
  
  Index: math103.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH103 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of unary '-' on a union. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:copy-of select="-(n1|n2)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math104.xml
  
  Index: math104.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <n>0</n>
    <n>1</n>
    <n>2</n>
    <n>-1</n>
    <n>0.0001</n>
    <n>five</n>
    <n>NaN</n>
    <n></n>
    <n>.</n>
    <n>0.</n>
    <n>.0</n>
    <n>-0</n>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math104.xsl
  
  Index: math104.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH104 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of is-a-number technique. -->
    <!-- Author: David Marston -->
  
  <xsl:template match="doc">
    <out>
      <xsl:for-each select="n">
        <xsl:choose>
          <xsl:when test="contains(number(.),'NaN')">
            <xsl:value-of select="."/><xsl:text> is not a number
  </xsl:text>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="."/><xsl:text> is a number
  </xsl:text>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:for-each>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math11.xml
  
  Index: math11.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math11.xsl
  
  Index: math11.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH11 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion function on a non-existent node. 
-->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number(foo)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math12.xml
  
  Index: math12.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math12.xsl
  
  Index: math12.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH12 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion function on numeric input. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number(2)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math13.xml
  
  Index: math13.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math13.xsl
  
  Index: math13.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH13 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion function on a string that is 
convertible. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number('3')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math14.xml
  
  Index: math14.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math14.xsl
  
  Index: math14.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH14 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion function on a null string. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number('')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math15.xml
  
  Index: math15.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math15.xsl
  
  Index: math15.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH15 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion function on a string that is not 
convertible. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number('abc')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math16.xml
  
  Index: math16.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math16.xsl
  
  Index: math16.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH16 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() and string() conversion functions for 
numeric accuracy. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number(string(1.0))=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math17.xml
  
  Index: math17.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math17.xsl
  
  Index: math17.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH17 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion function on a tree fragment. -->
  
  <xsl:variable name="ResultTreeFragTest">
    <xsl:value-of select="n4"/>
  </xsl:variable>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number($ResultTreeFragTest)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math18.xml
  
  Index: math18.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math18.xsl
  
  Index: math18.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH18 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion function on an empty tree 
fragment. -->
  
  <xsl:variable name="emptyResultTreeFragTest">
    <xsl:value-of select="foo"/>
  </xsl:variable>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number($emptyResultTreeFragTest)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math19.xml
  
  Index: math19.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math19.xsl
  
  Index: math19.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH19 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion of boolean constant true. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number(true())=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math20.xml
  
  Index: math20.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math20.xsl
  
  Index: math20.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH20 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion of boolean constant false. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number(false())=0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math21.xml
  
  Index: math21.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math21.xsl
  
  Index: math21.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH21 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of consistency number() conversion of non-convertible 
strings. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number('xxx')=number('xxx')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math22.xml
  
  Index: math22.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math22.xsl
  
  Index: math22.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH22 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of number() conversion of a non-convertible string. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="number('xxx')=0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math23.xml
  
  Index: math23.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math23.xsl
  
  Index: math23.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH23 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor() on a node. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(n0)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math24.xml
  
  Index: math24.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math24.xsl
  
  Index: math24.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH24 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor() on a non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(1.9)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math25.xml
  
  Index: math25.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math25.xsl
  
  Index: math25.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH25 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor() on a node containing a non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(n1)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math26.xml
  
  Index: math26.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math26.xsl
  
  Index: math26.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH26 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor() near a boundary. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(2.999999)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math27.xml
  
  Index: math27.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math27.xsl
  
  Index: math27.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH27 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor() on a node containing a boundary case. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(n2)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math28.xml
  
  Index: math28.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math28.xsl
  
  Index: math28.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH28 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor() on a negative non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(-1.5)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math29.xml
  
  Index: math29.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math29.xsl
  
  Index: math29.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH29 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor(). -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(1)=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math30.xml
  
  Index: math30.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math30.xsl
  
  Index: math30.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH30 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor() of a non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(1.9)=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math31.xml
  
  Index: math31.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math31.xsl
  
  Index: math31.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH31 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of floor() on a negative non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(-1.5)=-2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math32.xml
  
  Index: math32.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math32.xsl
  
  Index: math32.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH32 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling() on a node containing an integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(n0)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math33.xml
  
  Index: math33.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math33.xsl
  
  Index: math33.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH33 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling() on a non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(1.54)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math34.xml
  
  Index: math34.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math34.xsl
  
  Index: math34.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH34 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling() of a node containing a non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(n1)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math35.xml
  
  Index: math35.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math35.xsl
  
  Index: math35.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH35 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling() on a boundary case. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(2.999999)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math36.xml
  
  Index: math36.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math36.xsl
  
  Index: math36.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH36 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling() on a node containing a boundary case. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(n2)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math37.xml
  
  Index: math37.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math37.xsl
  
  Index: math37.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH37 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling(). -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(1)=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math38.xml
  
  Index: math38.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math38.xsl
  
  Index: math38.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH38 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling() on a non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(1.1)=2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math39.xml
  
  Index: math39.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.54</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math39.xsl
  
  Index: math39.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH39 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of ceiling() on a negative non-integer. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="ceiling(-1.5)=-1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math40.xml
  
  Index: math40.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math40.xsl
  
  Index: math40.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH40 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() on a node. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(n0)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math41.xml
  
  Index: math41.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math41.xsl
  
  Index: math41.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH41 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a non-integer below halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(1.24)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math42.xml
  
  Index: math42.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math42.xsl
  
  Index: math42.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH42 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a node containing a non-integer below 
halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(n1)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math43.xml
  
  Index: math43.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math43.xsl
  
  Index: math43.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH43 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a boundary case. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(2.999999)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math44.xml
  
  Index: math44.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math44.xsl
  
  Index: math44.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH44 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a node containing a boundary case. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(n2)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math45.xml
  
  Index: math45.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math45.xsl
  
  Index: math45.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH45 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a non-integer below halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(1.1)=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math46.xml
  
  Index: math46.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math46.xsl
  
  Index: math46.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH46 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a negative non-integer above halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(-1.1)=-1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math47.xml
  
  Index: math47.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math47.xsl
  
  Index: math47.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH47 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a non-integer above halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(1.9)=2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math48.xml
  
  Index: math48.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math48.xsl
  
  Index: math48.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH48 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a negative non-integer below halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(-1.9)=-2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math49.xml
  
  Index: math49.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math49.xsl
  
  Index: math49.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH49 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a non-integer at halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(1.5)=2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math50.xml
  
  Index: math50.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math50.xsl
  
  Index: math50.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH50 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 Number Functions -->
    <!-- Purpose: Test of round() of a non-integer at halfway. -->
  
  <xsl:template match="doc">
    <out>
       <xsl:value-of select="round(2.5)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math51.xml
  
  Index: math51.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math51.xsl
  
  Index: math51.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH51 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of round() of a negative non-integer at halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(-2.5)=-2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math52.xml
  
  Index: math52.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0.0</n0>
    <n1>1.24</n1>
    <n2>2.999999</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math52.xsl
  
  Index: math52.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH52 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 Number Functions -->
    <!-- Purpose: Test of round() of a negative non-integer at halfway. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="round(-1.5)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math53.xml
  
  Index: math53.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n attrib="1">0</n>
  <n attrib="1">1</n>
  <n attrib="1">2</n>
  <n attrib="1">3</n>
  <n attrib="2">4</n>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math53.xsl
  
  Index: math53.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH53 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of sum(). -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="sum(n/@attrib)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math54.xml
  
  Index: math54.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n attrib="1">0</n>
  <n attrib="1">1</n>
  <n attrib="1">2</n>
  <n attrib="1">3</n>
  <n attrib="2">4</n>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math54.xsl
  
  Index: math54.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH54 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of sum(). -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="sum(x)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math55.xml
  
  Index: math55.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="2">2</n1>
  <n2 attrib="4">3</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math55.xsl
  
  Index: math55.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH55 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '*' operator on two nodes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n1*n2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math56.xml
  
  Index: math56.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="2">2</n1>
  <n2 attrib="4">3</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math56.xsl
  
  Index: math56.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH56 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '*' operator on attributes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="(n1/@attrib)*(n2/@attrib)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math57.xml
  
  Index: math57.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="5">3</n1>
  <n2 attrib="5">6</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math57.xsl
  
  Index: math57.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH57 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '+' operator on two nodes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n1+n2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math58.xml
  
  Index: math58.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="5">3</n1>
  <n2 attrib="5">6</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math58.xsl
  
  Index: math58.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH58 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '+' operator on two attributes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="(n1/@attrib)+(n2/@attrib)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math59.xml
  
  Index: math59.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="5">3</n1>
  <n2 attrib="5">6</n2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math59.xsl
  
  Index: math59.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH59 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '+' operator on two attributes, without parentheses. 
-->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n1/@attrib + n2/@attrib"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math60.xml
  
  Index: math60.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math60.xsl
  
  Index: math60.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH60 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator, negative result. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="1-2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math61.xml
  
  Index: math61.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math61.xsl
  
  Index: math61.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH61 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator on two nodes whose names have hyphens. 
-->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n-2 - n-1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math62.xml
  
  Index: math62.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math62.xsl
  
  Index: math62.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH62 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '+' operator and unary '-'. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="7+-3"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math63.xml
  
  Index: math63.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math63.xsl
  
  Index: math63.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH63 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '+' operator and unary '-' on nodes whose names have 
hyphens. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n-2+-n-1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math64.xml
  
  Index: math64.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math64.xsl
  
  Index: math64.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH64 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator and unary '-'. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="7 - -3"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math65.xml
  
  Index: math65.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math65.xsl
  
  Index: math65.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH65 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator and unary '-' on nodes whose names have 
hyphens. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n-2 - -n-1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math66.xml
  
  Index: math66.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math66.xsl
  
  Index: math66.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH66 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator and unary '-'. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="-7 --3"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math67.xml
  
  Index: math67.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math67.xsl
  
  Index: math67.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH67 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator and unary '-' on nodes whose names have 
hyphens. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="-n-2 --n-1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math68.xml
  
  Index: math68.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math68.xsl
  
  Index: math68.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH68 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator and unary '-' on attributes of nodes 
whose names have hyphens. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="-n-2/@attrib --n-1/@attrib"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math69.xml
  
  Index: math69.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n-1 attrib="9">3</n-1>
  <n-2 attrib="1">7</n-2>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math69.xsl
  
  Index: math69.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH69 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of '-' operator and unary '-' outside parentheses, with 
values from attributes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="-(n-2/@attrib) - -(n-1/@attrib)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math70.xml
  
  Index: math70.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math70.xsl
  
  Index: math70.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH70 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator, negative divisor. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="6 div -2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math71.xml
  
  Index: math71.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math71.xsl
  
  Index: math71.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH71 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator on two nodes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n1 div n2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math72.xml
  
  Index: math72.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math72.xsl
  
  Index: math72.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH72 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator on two nodes with confusing names. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="div div mod"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math73.xml
  
  Index: math73.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math73.xsl
  
  Index: math73.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH73 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator on two attributes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n1/@attrib div n2/@attrib"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math74.xml
  
  Index: math74.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math74.xsl
  
  Index: math74.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH74 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator on attributes of nodes with confusing 
names. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="div/@attrib div mod/@attrib"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math75.xml
  
  Index: math75.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math75.xsl
  
  Index: math75.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH75 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator with -0 as divisor. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="1 div -0 = 2 div -0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math76.xml
  
  Index: math76.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math76.xsl
  
  Index: math76.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH76 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator, comparing 0 and -0 as divisors. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="1 div -0 = 1 div 0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math77.xml
  
  Index: math77.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math77.xsl
  
  Index: math77.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH77 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator with 0 on both sides. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="0 div 0 >= 0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math78.xml
  
  Index: math78.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">6</n1>
  <n2 attrib="5">3</n2>
  <div attrib="20">9</div>
  <mod attrib="2">3</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math78.xsl
  
  Index: math78.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH78 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'div' operator and less-than. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="0 div 0 &#60; 0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math79.xml
  
  Index: math79.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">5</n1>
  <n2 attrib="4">2</n2>
  <div attrib="-5">-5</div>
  <mod attrib="-2">2</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math79.xsl
  
  Index: math79.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH79 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'mod' operator on two nodes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n1 mod n2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math80.xml
  
  Index: math80.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">5</n1>
  <n2 attrib="4">2</n2>
  <div attrib="-5">-5</div>
  <mod attrib="-2">2</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math80.xsl
  
  Index: math80.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH80 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'mod' operator on two nodes with confusing names. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="div mod mod"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math81.xml
  
  Index: math81.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">5</n1>
  <n2 attrib="4">2</n2>
  <div attrib="-5">-5</div>
  <mod attrib="-2">2</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math81.xsl
  
  Index: math81.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH81 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'mod' operator on two attributes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n1/@attrib mod n2/@attrib"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math82.xml
  
  Index: math82.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">5</n1>
  <n2 attrib="4">2</n2>
  <div attrib="-5">-5</div>
  <mod attrib="-2">2</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math82.xsl
  
  Index: math82.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH82 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'mod' operator on attributes of nodes with confusing 
names. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="div/@attrib mod mod/@attrib"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math83.xml
  
  Index: math83.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <n1 attrib="10">5</n1>
  <n2 attrib="4">2</n2>
  <div attrib="-5">-5</div>
  <mod attrib="-2">2</mod>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math83.xsl
  
  Index: math83.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH83 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.5 -->
    <!-- Purpose: Test of 'mod' operator on positive and negative operands. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="(5 mod 2 = 1) and (5 mod -2 = 1) and (-5 mod 2 = 
-1) and (-5 mod -2 = -1)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math84.xml
  
  Index: math84.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  <av>
  <a>
  <b>1</b>
  <h>8</h>
  <d>1</d>
  <e>1</e>
  </a>
  <v>
  <w>1</w>
  <h>7</h>
  <y>1</y>
  <z>1</z>
  </v>
  </av>
  </doc>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math84.xsl
  
  Index: math84.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math84 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.4 Number Functions-->
    <!-- Purpose: Test of sum(). -->
  
  <xsl:template match="doc">
    <out><xsl:text>&#10;</xsl:text>
      <xsl:variable name="rtf" select="av//h"/>
        <xsl:copy-of select="$rtf"/><xsl:text>&#10;</xsl:text>
      <xsl:value-of select="sum($rtf)"/><xsl:text>&#10;</xsl:text>
        <xsl:value-of select="$rtf"/><xsl:text>&#10;</xsl:text>
    </out>
  
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math85.xml
  
  Index: math85.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math85.xsl
  
  Index: math85.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH85 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of nesting of parentheses. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="((((((n3+5)*(3)+(((n2)+2)*(n1 - 6)))-(n4 - 
n2))+(-(4-6)))))"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math86.xml
  
  Index: math86.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <n5>5</n5>
    <n6>6</n6>
    <n7>7</n7>
    <n8>.125</n8>
    <n9>.5</n9>
    <n10>.2</n10>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math86.xsl
  
  Index: math86.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math86 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991666 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of multiply. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n1*n2*n3*n4"/><xsl:text>,</xsl:text>
      <xsl:value-of select="n1*n2*n3*n4*n5*n6*n7*n8*n9*n10"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math87.xml
  
  Index: math87.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>1440</n0>
    <n1>2</n1>
    <n2>2</n2>
    <n3>6</n3>
    <n4>10</n4>
    <n5>3</n5>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math87.xsl
  
  Index: math87.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math87 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991666 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of division. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="n0 div n1 div n2 div n3"/><xsl:text>,</xsl:text>
      <xsl:value-of select="n0 div n1 div n2 div n3 div 
n4"/><xsl:text>,</xsl:text>
      <xsl:value-of select="n0 div n1 div n2 div n3 div n4 div n5"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math88.xml
  
  Index: math88.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <n5>5</n5>
    <n6>6</n6>
    <n7>2</n7>
    <n8>6</n8>
    <n9>10</n9>
    <n10>3</n10>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math88.xsl
  
  Index: math88.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math88 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Mini stress of x-way multiply and divide. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="(n1*n2*n3*n4*n5*n6)div n7 div n8 div n9 div n10"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math89.xml
  
  Index: math89.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math89.xsl
  
  Index: math89.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH89 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that NaN propagates through + and parentheses. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="(2 + number('xxx'))"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math90.xml
  
  Index: math90.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math90.xsl
  
  Index: math90.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH90 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that NaN propagates through * and unary -. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2 * -number('xxx')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math91.xml
  
  Index: math91.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math91.xsl
  
  Index: math91.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH91 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that NaN propagates through subtraction. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2 - number('xxx')"/><xsl:text>,</xsl:text>
      <xsl:value-of select="number('xxx') - 10"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math92.xml
  
  Index: math92.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math92.xsl
  
  Index: math92.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH92 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that NaN propagates through div. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2 div number('xxx')"/><xsl:text>,</xsl:text>
      <xsl:value-of select="number('xxx') div 3"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math93.xml
  
  Index: math93.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math93.xsl
  
  Index: math93.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH93 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that NaN propagates through mod. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2 mod number('xxx')"/><xsl:text>,</xsl:text>
      <xsl:value-of select="number('xxx') mod 3"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math94.xml
  
  Index: math94.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math94.xsl
  
  Index: math94.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH94 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test that NaN propagates through the numeric functions. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="floor(number('xxx'))"/><xsl:text>,</xsl:text>
      <xsl:value-of select="ceiling(number('xxx'))"/><xsl:text>,</xsl:text>
      <xsl:value-of select="round(number('xxx'))"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math95.xml
  
  Index: math95.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <e>1</e>
    <e>2</e>
    <e>3</e>
    <e>4</e>
    <e>five</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math95.xsl
  
  Index: math95.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH95 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of sum() with non-number. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="sum(e)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math96.xml
  
  Index: math96.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <e>17</e>
    <e>-5</e>
    <e>8</e>
    <e>-37</e>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math96.xsl
  
  Index: math96.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: MATH96 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of sum() with unary - in some nodes. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="sum(e)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math97.xml
  
  Index: math97.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <n5>5</n5>
    <n6>6</n6>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math97.xsl
  
  Index: math97.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math97 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of repeated use of +. -->
  
  <xsl:variable name="anum" select="10"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="10+5+25+20+15+50+35+40"/><xsl:text>,</xsl:text>
      <xsl:value-of select="2+n5+7+n3"/><xsl:text>,</xsl:text>
      <xsl:value-of select="n2+3+$anum+7+n5"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math98.xml
  
  Index: math98.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <n5>5</n5>
    <n6>6</n6>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math98.xsl
  
  Index: math98.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: math98 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.4 -->
    <!-- Purpose: Test of repeated use of -. Space away from - when required. 
-->
  
  <xsl:variable name="anum" select="10"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="100-9-7-4-17-18-5"/><xsl:text>,</xsl:text>
      <xsl:value-of select="100-n6 -4-n1 -1-11"/><xsl:text>,</xsl:text>
      <xsl:value-of select="100-$anum -5-15-$anum"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/math/math99.xml
  
  Index: math99.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <n5>5</n5>
    <n6>6</n6>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/math/math01.xml
  
  Index: math01.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <n0>0</n0>
    <n1>1</n1>
    <n2>2</n2>
    <n3>3</n3>
    <n4>4</n4>
    <e>five</e>
  </doc>
  
  

Reply via email to