Changeset 253:d6ca167ccb1a in documentViewer for MpdlXmlTextServer.py


Ignore:
Timestamp:
Oct 13, 2010, 3:10:25 PM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r252 r253  
    141141        return docinfo
    142142   
    143     def getGisPlaces(self, docinfo):
     143    def getGisPlaces(self, docinfo=None, pageinfo=None):
    144144        """ Show all Gis Places of whole Page"""
    145145        #xpath='//place'
     146        docpath = docinfo['textURLPath']
     147        url = docinfo['url']
     148        selfurl = self.absolute_url()
     149       
    146150        text=self.getServerData("xpath.xql", "document=%s&xpath='//place'%s&pn=%s"%(docinfo['textURLPath'],pn))
    147151        logging.debug("documentViewer getGisPlaces (text) text:%s"%(text))
Note: See TracChangeset for help on using the changeset viewer.