Write some Software

Đã Đóng

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

Kỹ năng: Java, Perl, PHP, Shell Script, Kiến trúc phần mềm

Xem thêm: 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

Mã Dự Án: #13121625

22 freelancer đang chào giá trung bình $46 cho công việc này

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 Thêm

$34 USD trong 1 ngày
(970 Đánh Giá)
7.8
$26 USD trong 1 ngày
(1144 Đánh Giá)
7.3
$40 USD trong 0 ngày
(391 Đánh Giá)
7.0
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 trong 1 ngày
(399 Đánh Giá)
7.4
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 trong 1 ngày
(58 Đánh Giá)
6.7
utkarshkatiyar19

A proposal has not yet been provided

$100 USD trong 2 ngày
(141 Đánh Giá)
6.3
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 Thêm

$45 USD trong 1 ngày
(14 Đánh Giá)
4.8
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 Thêm

$49 USD trong 1 ngày
(22 Đánh Giá)
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 Thêm

$111 USD trong 1 ngày
(19 Đánh Giá)
4.7
grundahl

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

$30 USD trong 1 ngày
(6 Đánh Giá)
3.4
$30 USD trong 1 ngày
(14 Đánh Giá)
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 Thêm

$20 USD trong 1 ngày
(6 Đánh Giá)
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, Thêm

$150 USD trong 3 ngày
(1 Đánh Giá)
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 trong 1 ngày
(1 Đánh Giá)
0.8
$32 USD trong 1 ngày
(0 Đánh Giá)
0.0
jurajantonak

A proposal has not yet been provided

$25 USD trong 1 ngày
(0 Đánh Giá)
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 trong 1 ngày
(0 Đánh Giá)
0.0
$30 USD trong 10 ngày
(0 Đánh Giá)
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 trong 1 ngày
(0 Đánh Giá)
0.0
rapidsoft4

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have c Thêm

$23 USD trong 6 ngày
(0 Đánh Giá)
0.0