![]() |
|
|
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 |
| shell script to remove old files and write to a log file | yabai | Shell Programming and Scripting | 4 | 12-09-2008 01:08 PM |
| a remove script taken in input a file which contain a list of directories | yeclota | Shell Programming and Scripting | 2 | 09-09-2008 11:56 AM |
| please help me how to script atomatic remove file that are not needed | sunilnbalar | Shell Programming and Scripting | 1 | 08-23-2007 07:30 AM |
| How to remove line from crontab in shell script? | nir_s | Shell Programming and Scripting | 2 | 11-03-2005 01:19 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to remove xml namespace from xml file using shell script?
I have an xml file:
<AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Table1> <Data1 10 </Data1> <Data2 20 </Data2> <Data3 40 </Data3> <Table1> </AutoData> and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only. I tried using sed command like: sed 's% xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"%%' old.xml >new.xml but didnot work. Any help will be much appreciated. TIA. |
| Bookmarks |
| Tags |
| xml, xmlnamespace |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|