Perturbatio #1 Don't know how much it would help, but I wrote an HTML parser (not really a parser, more a tokenizer) thingy, it should work for XML as well (although it won't validate it).