--- documentViewer/MpdlXmlTextServer.py 2010/10/13 15:35:41 1.92 +++ documentViewer/MpdlXmlTextServer.py 2010/10/13 15:49:08 1.96 @@ -146,11 +146,13 @@ class MpdlXmlTextServer(SimpleItem): docpath = docinfo['textURLPath'] url = docinfo['url'] selfurl = self.absolute_url() + pn = pageinfo['current'] text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],'//place',pn)) - logging.debug("documentViewer getGisPlaces (text) text:%s"%(text)) + #logging.debug("documentViewer getGisPlaces (text) text:%s"%(text)) pagedom = Parse(text) - result =pagedom.xpath("//result/resultPage/*") + result =pagedom.xpath("//result/resultPage/place") + logging.debug("getGisPlaces (place) result:%s"%(result)) for l in result: hrefNode= l.getAttributeNodeNS(None, u"id") logging.debug("documentViewer getGisPlaces (characterNormalization) l:%s"%(l))