June 14th, 2011

More joy of text

I am attempting to read some data from a text file used by a rival package. The format seems to be 'a bit like XML / SGML only not' in the sense that the opening tags are 4 letter codes in upper case and the closing tags are the same four letter codes but in lower case. The attributes are introduced by 2 letter lower case names.
Why oh why oh why? Etc.