title: How do I get XSLT to stop using scientific notation when outputting the results of numeric operations?
body: <p>I have a bit of XSLT which is performing some magic on integer database identifiers.  The relevant code snippit is</p>
  
  <pre><code>      &lt;xsl:variable name="releaseId" select="@ID + $contentOffsetId"/&gt;
        &lt;xsl:attribute name="OLD_ID"&gt; &lt;xsl:value-of select="@ID" /&gt; &lt;/xsl:attribute&gt;
        &lt;xsl:attribute name="RELEASE_ID"&gt; &lt;xsl:value-of select="$releaseId" /&gt;      
  </code></pre>
  
  <p></p>
  
  <p>Unfortunately the output from this looks like this:</p>
  
  <pre><code>&lt;ALBUM.RELEASE_LOCALE LOCALE_CODE="en_US" OLD_ID="6597512" RELEASE_ID="6.597513E6"&gt;
  </code></pre>
  
  <p>This result is useless to me since I won't be able to use the scientific notation entry as input to my DB import utility.  I've tried a number of functions on the variable declaration, such as <code>string(@ID + $contentOffsetId)</code> but nothing seems to achieve the desired results.</p>
  
  <p>The XSL is being executed using Saxon 8.7.</p>