comparison MpdlXmlTextServer.py @ 306:ec293c61f8a9

*** empty log message ***
author abukhman
date Thu, 14 Oct 2010 17:01:20 +0200
parents 55eeee76bce8
children ec5e920a61e6
comparison
equal deleted inserted replaced
305:55eeee76bce8 306:ec293c61f8a9
146 docpath = docinfo['textURLPath'] 146 docpath = docinfo['textURLPath']
147 url = docinfo['url'] 147 url = docinfo['url']
148 selfurl = self.absolute_url() 148 selfurl = self.absolute_url()
149 pn = pageinfo['current'] 149 pn = pageinfo['current']
150 hrefList=[] 150 hrefList=[]
151 151 myList= ""
152 text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],xpath,pn)) 152 text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],xpath,pn))
153 dom = Parse(text) 153 dom = Parse(text)
154 result = dom.xpath("//result/resultPage/place") 154 result = dom.xpath("//result/resultPage/place")
155 for l in result: 155 for l in result:
156 hrefNode= l.getAttributeNodeNS(None, u"id") 156 hrefNode= l.getAttributeNodeNS(None, u"id")