That will probably work, thanks. It actually should scan and edit xml files in a specified directory, then copy them into another dir preserving all the subderictory structure...something like this, but only it should work lol
sed -e "s/\s+|^&//g" c:\XMLCleanup\*.xml >...
I am trying to write a Unix Shell Script command that would clean up the XML files by eliminating spaces between the nodes...example:
<PERSON>
<NAME>James</NAME>
</PERSON>
the command has to make:
<PERSON><NAME>James</NAME></PERSON>
anyone has clues ???
Thanks
I am trying to write a Unix Shell Script command that would clean up the XML files by eliminating spaces between the nodes...example:
<PERSON>
<NAME>James</NAME>
</PERSON>
the command has to make:
<PERSON><NAME>James</NAME></PERSON>
anyone has clues ???
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.