Excel: mapped XML data and the "number stored as text" error -


One of my colleagues has an XML document, which opens in Excel 2007, "Get External Data / XML Data Import From "to use.

Excel automatically maps XML to columns. However, some elements store numerical data, which Excel refuses to behave as a number:

  & lt; SOME_NUMBER & gt; 68.12 & lt; / SOME_NUMBER & gt; Instead, the cell shows the "number stored in the text" error 

There is currently no XML Schema attached to the document, and I want to avoid making one, if possible. What are the other options?

PS: Trying different regional settings was unsuccessful. The data is always being viewed as text.

Just saw this (old) question and thought I still answered:

< P> When you say "no XML schema is currently attached to the document" then you are not quite right. There is always an XML schema, although most of the time Excel has been built up for you. It is not very difficult to remove and optimize this schema - you can get the easiest results.

How to do this (there was a date field in this example):


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -