The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Flat File in HP-UX Krishnaramjis Shell Programming and Scripting 0 06-02-2008 11:24 PM
Flat file Krishnaramjis Shell Programming and Scripting 9 05-08-2008 10:28 PM
Help with a Flat File!!! kumarsaravana_s Shell Programming and Scripting 11 06-07-2007 11:15 PM
Help with a flat file!!! kumarsaravana_s Shell Programming and Scripting 3 04-16-2007 07:58 AM
Converting Pivot file to flat file vskr72 Shell Programming and Scripting 2 10-18-2005 04:41 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-13-2007
balireddy_77 balireddy_77 is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 31
Wink XML to flat file

Hi all,
can u please help me in converting any given XML file to flat file.

thanks in advance.
-bali
  #2 (permalink)  
Old 04-13-2007
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
What is the format of the flat file ?
How would this xml snippet look in a flat file format ?
Code:
<section>
  <key>something</key>
  <key1>something more</key1>
</section>
One format that I am aware of is the windows .ini format. The output would become
Code:
[section]
key=something
key1=something more

Last edited by vino; 04-13-2007 at 05:58 AM..
  #3 (permalink)  
Old 04-13-2007
radoulov's Avatar
radoulov radoulov is offline Forum Staff  
addict
  
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,847
Quote:
Originally Posted by balireddy_77
Hi all,
can u please help me in converting any given XML file to flat file.
[...]
Not sure about the exact requirement, but you could check XMLgawk:

XMLgawk Home Page
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0