[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Converting Excel Table to XML document
- From: "Joe Fawcett" <joefawcett@hotmail.com>
- To: <xml-dev@lists.xml.org>
- Date: Fri, 19 Dec 2008 09:19:04 -0000
If it's Excel 2003/2007 you can attach a schema describing the output XML
and map the columns. Then export as XML.
If it's Excel in a lower version you can open it using COM object model and
create the XML "by hand".
Joe Fawcett
http://joe.fawcett.name
--------------------------------------------------
From: "Oscar Rodriguez" <orodriguez@innoveer.com>
Sent: Thursday, December 18, 2008 6:13 PM
To: <xml-dev@lists.xml.org>
Subject: [xml-dev] Converting Excel Table to XML document
> Hi - I have the following reference table in Excel
>
> SourceApp TargetApp
>
> Competitor Commercial
> Partner Business Partner
> ...
>
> Does anyone know an easy way to convert the above table to an XML that
> looks as follows?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <dvm name="Customer" isNew="null">
> <description>DVM description</description>
> <columns>
> <column name="SourceApp"/>
> <column name="TargetApp"/>
> </columns>
> <rows>
> <row>
> <cell>Competitor</cell>
> <cell>COMMERICAL</cell>
> </row>
> </rows>
> </dvm>
>
>
> Thanks in advance
> - Oscar
>
>
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]