Changeset 291:3b54df7ca88e in documentViewer
- Timestamp:
- Oct 14, 2010, 12:08:43 PM (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r290 r291 148 148 selfurl = self.absolute_url() 149 149 pn = pageinfo['current'] 150 hrefList=[] 150 151 151 152 text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],xpath,pn)) … … 155 156 hrefNode= l.getAttributeNodeNS(None, u"id") 156 157 href= hrefNode.nodeValue 157 158 hrefList.add(href) 159 #href=href.href 158 160 #href = ",".join(href) 159 logging.debug("getGisPlaces :%s"%(href ))161 logging.debug("getGisPlaces :%s"%(hrefList)) 160 162 161 163 #return ";".join(["%s=%s" % (href, href) for href, href in params.items()]) 162 logging.debug("getGisPlaces :%s"%(href))164 #logging.debug("getGisPlaces :%s"%(href)) 163 165 #if href.startswith('id='): 164 166 #hrefNode.nodeValue = href.replace('id=',"?") 165 167 #logging.debug("documentViewer getGisPlaces (characterNormalization) hrefNode.nodeValue:%s"%(hrefNode.nodeValue)) 166 168 #logging.debug("getGisPlaces :%s"%(href)) 167 return href 169 return hrefList 168 170 #return "no text here" 169 171
Note: See TracChangeset
for help on using the changeset viewer.