tests/expr/math/math-3309a.xsl
changeset 1198 aacf3d6d8681
equal deleted inserted replaced
1197:d300f98a5bb8 1198:aacf3d6d8681
       
     1 <xsl:stylesheet version="2.0"
       
     2    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
       
     3 >
       
     4 <?spec fo#func-number?>
       
     5 <!-- Test whitespace trimming in string-to-number conversion -->
       
     6   <!-- Variant forcing runtime evaluation -->
       
     7   
       
     8   <xsl:param name="p" select="'  -2  '"/>
       
     9   
       
    10 
       
    11 <xsl:template match="/">
       
    12   <out>
       
    13     <xsl:value-of select="number($p)"/>
       
    14   </out>
       
    15 </xsl:template>
       
    16 </xsl:stylesheet>