The UNIX and Linux Forums  

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
convert unix script to perl gholdbhurg Shell Programming and Scripting 2 03-25-2008 01:42 PM
How to convert Unix executable file to Tiff Pet Teoh UNIX for Dummies Questions & Answers 1 09-28-2007 06:08 AM
how to convert script file to text file. shaksing Shell Programming and Scripting 2 08-07-2007 09:03 AM
how to convert unix .ksh script to windows .batch script 2.5lt V8 Shell Programming and Scripting 1 11-28-2006 12:52 PM
How to convert binary Unix file to text user12345 UNIX for Dummies Questions & Answers 5 11-10-2006 06:53 AM

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 08-27-2007
srinivasaphani srinivasaphani is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 2
Sample Unix script file to convert .xml to .csv

Dear all,

Can you send me a script file the changes .xml to .csv file.

Thanks,
Srinivasa
  #2 (permalink)  
Old 08-27-2007
dennis.jacob dennis.jacob is offline Forum Advisor  
dj - the student
  
 

Join Date: Feb 2007
Location: Singapore/Bangalore/Cochin
Posts: 603
Provide a sample xml file
  #3 (permalink)  
Old 08-27-2007
ahmedwaseem2000 ahmedwaseem2000 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Bangalore
Posts: 219
This was posted in error. please remove this

Last edited by ahmedwaseem2000; 08-27-2007 at 02:46 PM..
  #4 (permalink)  
Old 08-27-2007
srinivasaphani srinivasaphani is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 2
sample xml

Quote:
Originally Posted by jacoden View Post
Provide a sample xml file
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xslutput method="xml"/>
<ns0:EmployeeAssesmentSFACTOR xmlns:ns0="http://ehro.eds.com/FRAMEWORK/FileToFile">
<ASSESMENT>
<EMPLOYEENO>1</EMPLOYEENO>
<VALID_FROM>12</VALID_FROM>
<VALID_TO>13</VALID_TO>
<EMPLOYEERATING>
<DESCRIPTION>Sri ni</DESCRIPTION>
<RATING>A</RATING>
<COMMENT>good</COMMENT>
</EMPLOYEERATING>
</ASSESMENT>
</ns0:EmployeeAssesmentSFACTOR>
  #5 (permalink)  
Old 08-27-2007
aigles's Avatar
aigles aigles is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,423
Give us the full structure of the xml file.
Is there allways only one ns0:EmployeeAssesmentSFACTOR tag ?
Is there allways only one ASSESMENT tag inside ns0:EmployeeAssesmentSFACTOR ?
Is there allways only one EMPLOYEERATING tag inside ASSESMENT ?

Show us the required format of the csv file.

Jean-Pierre.
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 10:39 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