--- documentViewer/MpdlXmlTextServer.py 2010/10/13 15:10:25 1.89 +++ documentViewer/MpdlXmlTextServer.py 2010/10/13 15:16:01 1.90 @@ -142,12 +142,12 @@ class MpdlXmlTextServer(SimpleItem): def getGisPlaces(self, docinfo=None, pageinfo=None): """ Show all Gis Places of whole Page""" - #xpath='//place' + xpath='//place' docpath = docinfo['textURLPath'] url = docinfo['url'] selfurl = self.absolute_url() - text=self.getServerData("xpath.xql", "document=%s&xpath='//place'%s&pn=%s"%(docinfo['textURLPath'],pn)) + text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],'//place',pn)) logging.debug("documentViewer getGisPlaces (text) text:%s"%(text)) pagedom = Parse(text) result =pagedom.xpath("//result/resultPage/*")