|
@@ -202,7 +202,7 @@ class DOMAdapter(DOMAdapterInterface): |
|
|
def loadDocument(self, file): |
|
|
def loadDocument(self, file): |
|
|
self.__node = DOM.loadDocument(file) |
|
|
self.__node = DOM.loadDocument(file) |
|
|
if hasattr(self.__node, 'documentElement'): |
|
|
if hasattr(self.__node, 'documentElement'): |
|
|
self.__node = node.documentElement |
|
|
|
|
|
|
|
|
self.__node = self.__node.documentElement |
|
|
|
|
|
|
|
|
def loadFromURL(self, url): |
|
|
def loadFromURL(self, url): |
|
|
self.__node = DOM.loadFromURL(url) |
|
|
self.__node = DOM.loadFromURL(url) |
|
|