changeset 252:9de9d301743c

*** empty log message ***
author abukhman
date Wed, 13 Oct 2010 17:06:03 +0200
parents d358d3701d99
children d6ca167ccb1a
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Wed Oct 13 16:55:03 2010 +0200
+++ b/MpdlXmlTextServer.py	Wed Oct 13 17:06:03 2010 +0200
@@ -142,8 +142,8 @@
     
     def getGisPlaces(self, docinfo):
         """ Show all Gis Places of whole Page"""
-        xpath='//place'
-        text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'], xpath,pn))
+        #xpath='//place'
+        text=self.getServerData("xpath.xql", "document=%s&xpath='//place'%s&pn=%s"%(docinfo['textURLPath'],pn))
         logging.debug("documentViewer getGisPlaces (text) text:%s"%(text))
         pagedom = Parse(text)
         result =pagedom.xpath("//result/resultPage/*")