DOM extension to XML::Parser