[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Open Source - Excel to XML Converter

Subject: Re: Open Source - Excel to XML Converter
From: "Iñaki Arrieta Baro" <zerrendak.iabaro@xxxxxxxxx>
Date: Thu, 5 Oct 2006 00:14:06 +0200
excel a xml
- Save your file in .csv (Comma-separated values) format using pipe
like field separator carachter. You can do this with any spreadsheet.

- Apply this AWK script:

BEGIN{<books>;FS="\|"}
{printf("<book>\n\t<isbn>%s</isbn>\n\t<title>%s</title>\n</book>\n\n",$1,$2)}
END{</books>}

Iqaki

On 10/4/06, Rashmi Rubdi <dev_subscriptions@xxxxxxxxx> wrote:
I am looking for an easy way to create an XML data
file.

For example I have my xml data structure like this:

<books>

<book>
<isbn>1234</isbn>
<title></title>
</book>

<book>
<isbn>1234</isbn>
<title></title>
</book>

</books>

It's a bit tedious to create this file manually and
was looking to enter the data in an Excel spread sheet
and then use a converter to convert from Excel to XML.

Does any one know a good converter?

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Iqaki Arrieta Baro http://www.dokulan.net Dokumentazioaren inguruko berriak euskaraz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.