Perhaps the better solution is to ask the provider to give you a correct XML file? If you get into the habit of trying to process incorrect XML files, it can lead you down a nasty rabbit hole. I generally give a bug report to the vendor and point them to an online XML validator so they can fix it.
...roboticus
When your only tool is XML, all your problems are just beginning.
In reply to Re: Stripping off the first line of file help!
by roboticus
in thread Stripping off the first line of file help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |