Project

Profile

Help

Bug #1545 » test.xsl

Manfred Staudinger, 2012-05-31 11:55

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="2.0"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:ixsl="http://saxonica.com/ns/interactiveXSLT"
xmlns:prop="http://saxonica.com/ns/html-property"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xlink="http://www.w3.org/1999/xlink"
extension-element-prefixes="ixsl"
xmlns:plan="http://www.plan.com"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<xsl:variable name="x_wrong" select="(546 * 1552.244) + 175917.984, round((546 * 1552.244) + 175917.984)" as="xs:double+"/>
<xsl:message select="'wrong:', $x_wrong[1], 'correct:', $x_wrong[2]"/>
</xsl:template>
</xsl:transform>
(1-1/12)