def _parse_from_source(self, source): from org.brownell.xml import DomBuilder return Document(DomBuilder.createDocument(source))