comparison MpdlXmlTextServer.py @ 295:345df6402050

*** empty log message ***
author abukhman
date Thu, 14 Oct 2010 14:34:01 +0200
parents 38ee730716c8
children c38b86ce1021
comparison
equal deleted inserted replaced
294:38ee730716c8 295:345df6402050
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")
157 href= hrefNode.nodeValue 157 href= hrefNode.nodeValue
158 hrefList.append(href) 158 hrefList.append(href)
159 hoho= hrefList.replace("['u%s']"%href,'%s'%href) 159 hoho= hrefList.remove("['u%s']"%href,'%s'%href)
160 logging.debug("getGisPlaces :%s"%(hoho)) 160 logging.debug("getGisPlaces :%s"%(hoho))
161 161
162 162
163 return hrefList 163 return hrefList
164 164