Parser that builds a tree of XML::Element objects