Changeset 293:740f57b98460 in documentViewer


Ignore:
Timestamp:
Oct 14, 2010, 12:21:41 PM (15 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r292 r293  
    149149        pn = pageinfo['current']
    150150        hrefList=[]
    151        
     151
    152152        text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],xpath,pn))
    153153        dom = Parse(text)
     
    157157            href= hrefNode.nodeValue
    158158            hrefList.append(href)
    159             #href=href.href
    160             #href = ",".join(href)
     159            hoh=hrefList.split(u'')
    161160            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                           
    169163        return hrefList
    170         #return "no text here"
    171164   
    172165    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.