Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


File XML to open with Microsoft Excel

From: AM Informatica <m.ettori@-------------.---->
To: NULL
Date: 7/17/2009 2:36:00 AM
Hi, we have created the following XML file. We should have to open it
with Excel and do an automatic Sum of the FIELD1 colum. So we have
created this file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<Document>
 <Costs>
  <Record>
    <FIELD1>100</FIELD1>
    <FIELD2>110</FIELD2>
  </Record>
  <Record>
    <FIELD1>200</FIELD>
    <FIELD2>210</FIELD>
  </Record>
 </Costs>
</Document>

This file works fine with Excel, we can do the automatic Sum of the
column FIELD1 without problems.

The problem is that if we have values with decimals (for example
100,10) then Excel cannot do the automatic Sum of the colum.
So, if we try this file :

<?xml version="1.0" encoding="ISO-8859-1"?>
<Document>
 <Costs>
  <Record>
    <FIELD1>100,1</FIELD1>
    <FIELD2>110,2</FIELD2>
  </Record>
  <Record>
    <FIELD1>200,3</FIELD>
    <FIELD2>210,1</FIELD>
  </Record>
 </Costs>
</Document>

Then we get the problem..
How should we change the XML file to solve the problem? (because we
have number with decimals)

Thanks!
Best regards,
Maurizio


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent