tests/expr/math/math-3307a.xsl
changeset 1198 aacf3d6d8681
child 1211 226a4c4600fb
equal deleted inserted replaced
1197:d300f98a5bb8 1198:aacf3d6d8681
       
     1 <?xml version="1.0" encoding="ISO-8859-1"?>
       
     2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
       
     3   xmlns:xs="http://www.w3.org/2001/XMLSchema">
       
     4 <?spec fo#func-numeric-divide?>
       
     5 <!-- PURPOSE:  Test that the result of dividing two integers is a decimal. -->
       
     6   <!-- Variant forcing run-time evaluation -->
       
     7   
       
     8   <xsl:param name="p" select="3"/>
       
     9 
       
    10 <xsl:template match="/">
       
    11 <out result="{($p div 4) instance of xs:decimal}"/>
       
    12 </xsl:template>
       
    13 </xsl:stylesheet>