Unix/Linux Go Back    


Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Generating xml file from UNIX

Shell Programming and Scripting


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 1 Week Ago
archana25 archana25 is offline
Registered User
 
Join Date: Jul 2017
Last Activity: 19 July 2017, 5:50 PM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Generating xml file from UNIX

i have a unix script which generates the csv file. the data in csv file is dynamic. how can i convert/move the data from csv file to xml. please suggest
Sponsored Links
    #2  
Old Unix and Linux 1 Week Ago
apmcd47 apmcd47 is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 27 July 2017, 3:41 AM EDT
Posts: 193
Thanks: 5
Thanked 42 Times in 40 Posts
Quote:
Originally Posted by archana25 View Post
i have a unix script which generates the csv file. the data in csv file is dynamic. how can i convert/move the data from csv file to xml. please suggest
What do you mean by dynamic? Do you men that the data in the file changes every time the script is run? Do you mean that the columns keep changing position for some reason?

Can you show examples of the data in both the CSV format you get and the XML format you wish to obtain?

Andrew
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Check to see if a file is generating twinion Shell Programming and Scripting 8 03-13-2015 05:15 PM
Generating file from sqlplus gnnsprapa Shell Programming and Scripting 7 08-30-2013 11:12 AM
Performance issue in UNIX while generating .dat file from large text file KRAMA Shell Programming and Scripting 19 05-20-2009 10:55 AM
Generating different columns from same file Amey Joshi UNIX for Dummies Questions & Answers 1 05-05-2009 10:55 AM
Ksh - finding pattern in file and generating a new file net Shell Programming and Scripting 2 01-09-2009 01:35 AM



All times are GMT -4. The time now is 02:50 PM.