Changeset 254:4b13f2e54665 in documentViewer
- Timestamp:
- Oct 13, 2010, 3:16:01 PM (15 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r253 r254 143 143 def getGisPlaces(self, docinfo=None, pageinfo=None): 144 144 """ Show all Gis Places of whole Page""" 145 #xpath='//place'145 xpath='//place' 146 146 docpath = docinfo['textURLPath'] 147 147 url = docinfo['url'] 148 148 selfurl = self.absolute_url() 149 149 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)) 151 151 logging.debug("documentViewer getGisPlaces (text) text:%s"%(text)) 152 152 pagedom = Parse(text)
Note: See TracChangeset
for help on using the changeset viewer.