in reply to How do you parse XML?

I don't parse XML. I let Chromium do the parsing, then fiddle with the resulting tree using JS/jQuery (yes, this works for arbitrary XML, not just XHTML).