For XML parsing, I was thinking I could write a new temp file with a starting tag, write the original xml file into the temp file, and then concat the closing line. Parse it, then erase it.
To me that sounds as sane as you can be with such broken files.
Be sure to also include a <?xml ...> preamble with the right encoding information, otherwise non-ASCII chars will surely break your program.
In reply to Re: XML Cleanup
by moritz
in thread XML Cleanup
by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |