I've been unhappy with the XML syntax highlighter limitations, so I've decided to start again with a more rigorous approach. This is a nice scale of algorithm to get more familiar with C++ syntax too. Made a good start -- processing instructions, doctype declarations and basic open and close tags are already working, and I'm starting in on the attributes.