in reply to xml parsing

First, as mentionned previously, do not write your own XML parser, you won't get it right.

As you XML seems to be organised in record-like structures, you might want to have a look at AnyData, which will let you treat the XML as a relational table.

--
The Error Message is GOD - MJD