Looking at XML-DOM, XML::DOM::Document is a documentation module, consisting of POD only. You cannot inherit anything from in. Try XML::DOM as base class instead.
I don't think inheriting from XML::DOM is what I want; the package I'm writing has the semantics of being a document. I probably don't want to use inheritance at all; and instead just contain a XML::DOM::Document.