changeset 253:d6ca167ccb1a

*** empty log message ***
author abukhman
date Wed, 13 Oct 2010 17:10:25 +0200
parents 9de9d301743c
children 4b13f2e54665
files MpdlXmlTextServer.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Wed Oct 13 17:06:03 2010 +0200
+++ b/MpdlXmlTextServer.py	Wed Oct 13 17:10:25 2010 +0200
@@ -140,9 +140,13 @@
         docinfo['numPages']=int(getTextFromNode(result[0]))
         return docinfo
     
-    def getGisPlaces(self, docinfo):
+    def getGisPlaces(self, docinfo=None, pageinfo=None):
         """ Show all Gis Places of whole Page"""
         #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))
         logging.debug("documentViewer getGisPlaces (text) text:%s"%(text))
         pagedom = Parse(text)