Changeset 254:4b13f2e54665 in documentViewer for MpdlXmlTextServer.py


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r253 r254  
    143143    def getGisPlaces(self, docinfo=None, pageinfo=None):
    144144        """ Show all Gis Places of whole Page"""
    145         #xpath='//place'
     145        xpath='//place'
    146146        docpath = docinfo['textURLPath']
    147147        url = docinfo['url']
    148148        selfurl = self.absolute_url()
    149149       
    150         text=self.getServerData("xpath.xql", "document=%s&xpath='//place'%s&pn=%s"%(docinfo['textURLPath'],pn))
     150        text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],'//place',pn))
    151151        logging.debug("documentViewer getGisPlaces (text) text:%s"%(text))
    152152        pagedom = Parse(text)
Note: See TracChangeset for help on using the changeset viewer.