comparison MpdlXmlTextServer.py @ 308:bc7c8021a83d

*** empty log message ***
author abukhman
date Fri, 15 Oct 2010 12:26:18 +0200
parents ec5e920a61e6
children ea18683b2bff
comparison
equal deleted inserted replaced
307:ec5e920a61e6 308:bc7c8021a83d
175 for l in result: 175 for l in result:
176 hrefNode = l.getAttributeNodeNS(None, u"id") 176 hrefNode = l.getAttributeNodeNS(None, u"id")
177 href= hrefNode.nodeValue 177 href= hrefNode.nodeValue
178 hrefList.append(href) 178 hrefList.append(href)
179 myList = ",".join(hrefList) 179 myList = ",".join(hrefList)
180 return myList 180 return myList
181 181
182 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): 182 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
183 """returns single page from fulltext""" 183 """returns single page from fulltext"""
184 docpath = docinfo['textURLPath'] 184 docpath = docinfo['textURLPath']
185 path = docinfo['textURLPath'] 185 path = docinfo['textURLPath']