Mercurial > hg > documentViewer
comparison MpdlXmlTextServer.py @ 296:c38b86ce1021
*** empty log message ***
author | abukhman |
---|---|
date | Thu, 14 Oct 2010 14:39:27 +0200 |
parents | 345df6402050 |
children | 4853d3b8544d |
comparison
equal
deleted
inserted
replaced
295:345df6402050 | 296:c38b86ce1021 |
---|---|
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.remove("['u%s']"%href,'%s'%href) | 159 hoho= hrefList.remove("['u%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 |