Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Converting xls or plain text file to xml

From: "Joe Fawcett" <joefawcett@-------.--->
To: NULL
Date: 7/3/2008 6:09:00 PM

"Joseph J. Kesselman" <keshlam-nospam@c...> wrote in message 
news:486ce4d8$1@kcnews01...
> sweetpotatop@y... wrote:
>> I am wondering if there is way to convert a xls (with column headers)
>> or a plain text file to an xml file without knowing anything about
>> xsd.
>
> Sure. Schema validation is optional. For basic data processing, you can 
> often ignore schemas and just work with well-formed documents.
>
> If you know how to read the source data, and you know how you want to map 
> that to XML, this is just a Simple Matter Of Programming.
>
> Excel is using the schema because it's trying to be general purpose and 
> let the schema help guide that mapping. But hand-coding certainly works.
Also you can save from Excel as XML (versions 2003+) without a custom 
schema, you'll get Excel's own schema instead which can be hard work to use 
but this depends on your specific scenario.

-- 

Joe Fawcett
http://joe.fawcett.name 



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