cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Problem with ValueFormat using POI to generate XLS file.....
Date Fri, 28 Mar 2003 13:45:11 GMT
Hi:

Recently we are trying to format a float number to 4 fixed decimals. For
example a number 1.23456 will be formated to 1.2345

We are using in a XML doc:

<gmr:Cell Col="5" Row="{$row+4}" format="#,##0.0000">

  <xsl:attribute name="ValueType">40</xsl:attribute>
    <xsl:if test="@format">
     <xsl:attribute name="ValueFormat">
      <xsl:value-of select="@format"/>
     </xsl:attribute>
    </xsl:if>

    <gmr:Content>
      <xsl:value-of select="numbers/@raw"/>
    </gmr:Content>
</gmr:Cell>

 what is wrong?
 i get only the valuetype 40 without the special format....

Best Regards,

Antonio Gallardo



Mime
View raw message