in reply to Stripping off the first line of file help!

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.

  • Comment on Re: Stripping off the first line of file help!