![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| PERL:How to convert numeric values txt file to PACKED DECIMAL File? | aloktiwary | Shell Programming and Scripting | 1 | 05-20-2009 09:55 AM |
| Convert CSV file (with double quoted strings) to pipe delimited file | lehmanbrothers | Shell Programming and Scripting | 11 | 02-13-2009 01:14 PM |
| convert one colume file to a one line, wrapped file. | jouuu | UNIX for Advanced & Expert Users | 7 | 12-03-2008 06:07 AM |
| Plz Help To convert xml file to text file using bourn shell scripts | ram2s2001 | Shell Programming and Scripting | 0 | 11-09-2005 09:56 AM |
| convert XML file into Text file(fixed length) | ram2s2001 | Shell Programming and Scripting | 0 | 11-03-2005 01:28 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to convert a txt file to xml file
Hello,
I donot have exact lenght of the file. But i want entire txt of the file to send it into one node. for example I have txt file.. asdfghjklmnbvcxzqwertyuiop[]., nswwneikniniwn so i need the output as <documentbody>asdfghjklmnbvcxzqwertyuiop[]., nswwneikniniwn</documentbody> iI have to convert this txt file into xml file using shell script Thanks and Regards Hemant ---------- Post updated at 01:43 AM ---------- Previous update was at 12:29 AM ---------- Please help..as I have to complete this work today as this is critical. Last edited by Hemantgupta84; 08-24-2009 at 02:43 AM.. |
|
||||
|
Thanks for ur suggestion.
I know how to change .txt file manually or using editor. But i need automate the system. Everytime a file came to unix box its get converted into xml. And i a min 1000 file can come. THanks and Regards Hemant |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|