--- documentViewer/MpdlXmlTextServer.py 2010/10/11 15:51:09 1.83 +++ documentViewer/MpdlXmlTextServer.py 2010/10/11 15:54:24 1.85 @@ -145,10 +145,10 @@ class MpdlXmlTextServer(SimpleItem): xpath='//place' text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'], xpath,pn)) pagedom = Parse(text) - result =pagedom.xpath("//result/resultPage/") + result =pagedom.xpath("//result/resultPage") for l in result: hrefNode= l.getAttributeNodeNS(None, u"place") - logging.debug("documentViewer (characterNormalization) l: %s"%(l)) + logging.debug("documentViewer (characterNormalization) l:%s"%(l)) if hrefNode: href= hrefNode.nodeValue if href.startswith('id='):