Suljettu

Write some Software

Parse an XML and generate a flat file. Here is the XSD. [url removed, login to view] Attaching a Sample File

I am looking for a script to parse an XML and flatten all the columns to Flat File/Text file.

If I place 1000 xml files in a folder and run this script, it should take each xml and generate a flat file. All XML might not have all data. For missing data, it should leave blank means all the xml are based on xsd. if certain xml tags dont have data, it should generate the same format as other leaving the missing field as blank.

If XSD is defined as :

<name></name>

<first name></first name>

<lastname></lastname>

<State></State>

<zip></zip>

XML 1 data: File name [url removed, login to view]

<name>test1</name>

<first name>fname</first name>

<lastname>lname</lastname>

<State>TN</State>

XML 2 data: File name [url removed, login to view]

<name>test2</name>

<first name>fname2<first name>

<lastname>lname2<lastname>

<zip>1234</zip>

The output of the above files should be:

file 1 name: [url removed, login to view]

Header in the file "name~first name~lastname~State~zip~Country"

data: test1~fname~lname~TN~~~

For file 2: name: [url removed, login to view]

Header in the file "name~first name~lastname~State~zip~Country"

test1~fname2~lname2~~1234~

Irrespective of the data, the header should be constant based on xml and the data for missing xml tags should be empty..

Give me an estimate... both price and time. I am planing to run the script on linux. so I would prefer the script to be platform independent. Also, pass paramater to the script as source directory and target directory.

Thanks

Taidot: Java, Perl, PHP, Shell Script, tietojärjestelmäarkkitehtuuri

Näytä lisää: write the application of programing software, software write content for the latest keyword, software to write the chip, software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software convert oracle apps output excel, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

About the Employer:
( 0 reviews ) United States

Projektin tunnus: #13121625

21 freelanceria on tarjonnut keskimäärin 47 $ tähän työhön

sureshdevi

I can create php script to parse xml files and generate text file based on your requirements. I will complete this work in a day. Looking for your reply to start this work immediately. I will be available online fro Lisää

34 $ USD 1 päivässä
(970 arvostelua)
7.8
26 $ USD 1 päivässä
(1144 arvostelua)
7.3
dobreiiita

Hello I am Java expert and interested in this project. I have reviewed the details and attached files and confident to handle it perfectly. Please communicate to discuss further. Regards Anshu

35 $ USD 1 päivässä
(399 arvostelua)
7.4
40 $ USD 0 päivässä
(391 arvostelua)
7.0
freelance4hire80

hi, I'm a Perl developer. I'm ready to write a Perl script for you to parse the XML files into text file which you can run from linux command line

66 $ USD 1 päivässä
(58 arvostelua)
6.7
utkarshkatiyar19

A proposal has not yet been provided

100 $ USD 2 päivässä
(141 arvostelua)
6.3
cracken

Hi, I am competitive to this kind of task, can take good care of this project. In fact, I already done related to this job before. Let me know the best of your time so we can discuss further based on your requirements Lisää

49 $ USD 1 päivässä
(22 arvostelua)
4.8
gertone

HI. Top expert XSLT. Full time professional XSLT freelancer. I would make this a full XSLT2 program that includes visiting the files in the directory one by one. It saves the start/stop of the Java VM and runs a lot fa Lisää

45 $ USD 1 päivässä
(14 arvostelua)
4.8
usaravananbe2004

Hi, I am Saravanan from Chennai, India I am interested to apply for this work as I have hands on experience in Xml parsing using java, Please ping me to discuss further About myself I have 9 years’ hands on experi Lisää

111 $ USD 1 päivässä
(19 arvostelua)
4.7
30 $ USD 1 päivässä
(14 arvostelua)
3.4
grundahl

Hi, I'm an expert perl programmer and database administrator I can write your script. Sincerely yours, Eric

30 $ USD 1 päivässä
(6 arvostelua)
3.4
ContrastInc2016

Having 6.4 years of experience in Java/J2EE and PHP. I can complete the script you require to parse the XML's and generate a flat/text file out of it in a span of 1 day max. If this timeframe is okay, please let me kno Lisää

20 $ USD 1 päivässä
(6 arvostelua)
2.0
huongth

Hi. I am an expert in VBA, VBScript, Visual Basic, C#, C, C++, ASM, Delphi, Java, ASP, ASP.NET, Access, MySQL, MSSQL, QuickBooks, Oracle. I can create auto scripts to scrape websites, auto click, format txt, csv, xls, Lisää

150 $ USD 3 päivässä
(1 arvostelu)
1.3
Lionanaimal

I am Salh A java developer with 11 years experience I will deliver it within 24 hours and price is 50 USD regards

50 $ USD 1 päivässä
(1 arvostelu)
0.8
jurajantonak

A proposal has not yet been provided

25 $ USD 1 päivässä
(0 arvostelua)
0.0
jlcorrales

Can change into 1 day if simple

35 $ USD 3 päivässä
(0 arvostelua)
0.0
25 $ USD 1 päivässä
(0 arvostelua)
0.0
ilatech

Hi, I'm a french software engineer, and I new to this website. I just create my compagny, and I develop software for compagnies. I worked for 10 years as a software developer. For your project, I think the best i Lisää

30 $ USD 3 päivässä
(0 arvostelua)
0.0
robertbarryson

HELLO? I HAVE ENOUGH EXPERIENCES IN DESKTOP. IF YOU AWARD ME, I WILL FINISH SOON. DON'T WORRY ABOUT YOUR PROJECT. GOOD LUCK.

25 $ USD 1 päivässä
(0 arvostelua)
0.0
andreihritcu

Hello, I would like to know how would you like to treat the tags when there are many levels. Your examples have just one level. It will probably take me 1-2 days to accomplish this task.

35 $ USD 1 päivässä
(0 arvostelua)
0.0