Changeset 293:740f57b98460 in documentViewer
- Timestamp:
- Oct 14, 2010, 12:21:41 PM (15 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r292 r293 149 149 pn = pageinfo['current'] 150 150 hrefList=[] 151 151 152 152 text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],xpath,pn)) 153 153 dom = Parse(text) … … 157 157 href= hrefNode.nodeValue 158 158 hrefList.append(href) 159 #href=href.href 160 #href = ",".join(href) 159 hoh=hrefList.split(u'') 161 160 logging.debug("getGisPlaces :%s"%(hrefList)) 162 163 #return ";".join(["%s=%s" % (href, href) for href, href in params.items()]) 164 #logging.debug("getGisPlaces :%s"%(href)) 165 #if href.startswith('id='): 166 #hrefNode.nodeValue = href.replace('id=',"?") 167 #logging.debug("documentViewer getGisPlaces (characterNormalization) hrefNode.nodeValue:%s"%(hrefNode.nodeValue)) 168 #logging.debug("getGisPlaces :%s"%(href)) 161 logging.debug("getGisPlaces :%s"%(hoh)) 162 169 163 return hrefList 170 #return "no text here"171 164 172 165 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
Note: See TracChangeset
for help on using the changeset viewer.