A simple convience interface for converting the document to other DOM implementations.