Thanks very much Ahmed, that works great! I've tested in 10.4, will confirm once I've run it in 10.2.2.
I wouldn't have thought of initialising the text symbol property, is there something in the documentation that would hint at that or is that standard practice I'm not aware of? I'd have expected the parser class to initialise it's own properties.
I can now parse the string but textparserClass doesn't seem to give any indication once it's parsed the last tag?
The Next method doesn't return an enumeration I can loop through.
Andrew