ZVON > References > XSLT Reference
Example 48:2: All | XML | >> XSLT << | Output |

XSLT


     <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
          <xsl:output method = "text" />

          <xsl:template match = "/" >
               <xsl:text >
      12.1234:     </xsl:text>
               <xsl:value-of select = "floor(12.1234)" />
               <xsl:text >
      -12.1234:     </xsl:text>
               <xsl:value-of select = "floor(-12.1234)" />
               <xsl:text >
      12:     </xsl:text>
               <xsl:value-of select = "floor(12)" />
          </xsl:template>
     </xsl:stylesheet>