Exemplo n.º 1
0
 def _parse_from_source(self, source):
     from com.indelv.dom.util import XMLReader
     from org.xml.sax import InputSource
     return Document(XMLReader.parseDocument(InputSource(source)))
Exemplo n.º 2
0
    def _parse_from_source(self, source):
        from com.indelv.dom.util import XMLReader
        from org.xml.sax import InputSource

        return Document(XMLReader.parseDocument(InputSource(source)))