Search Results

Search: Posts Made By: Gary1978
19,163
Posted By Gary1978
used awk '{ gsub(/...
used awk '{ gsub(/ xmlns:xsi\=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance"/,"") } 1' file.
It worked. Thanks.
19,163
Posted By Gary1978
Any help regarding this will be great. Still...
Any help regarding this will be great. Still waiting for a solution from the unix gurus here.
TIA.
19,163
Posted By Gary1978
How to remove xml namespace from xml file using shell script?
Did that too. File got copied as expected. But with this command, it generates a file of 0 byte! And it works only for smallers sized files. I'm getting confused here.
19,163
Posted By Gary1978
How to remove xml namespace from xml file using shell script?
Tested it with a small file. I works! But when I'm using a larger file, it stops working.
19,163
Posted By Gary1978
Similar code I've in my shell script. But when...
Similar code I've in my shell script. But when I'm re-directing this command to a new xml file, it creates a file of size 0. The file is big in size, can that be a reason?

TIA.
19,163
Posted By Gary1978
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...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 12:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy