What's the best way to parse XML in PHP? I've tried using DOMDocument(), but it's driving me up a fucking wall. The constructor doesn't seem to work as documented, and when I finally do get an object, using domxml_open_mem(string), the documented methods blow up. Hate hate hate hate.
Originally posted on pop.vox.com