Mercurial > hg > documentViewer
comparison MpdlXmlTextServer.py @ 300:e67f50a09259
*** empty log message ***
author | abukhman |
---|---|
date | Thu, 14 Oct 2010 15:14:16 +0200 |
parents | a988bbec59d1 |
children | f91d6da31486 |
comparison
equal
deleted
inserted
replaced
299:a988bbec59d1 | 300:e67f50a09259 |
---|---|
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 myList = "; ".join(hrefList) | 159 myList = ",".join(hrefList) |
160 #hoho =hrefList.replace('','') | 160 #hoho =hrefList.replace('','') |
161 logging.debug("getGisPlaces :%s"%(myList)) | 161 logging.debug("getGisPlaces :%s"%(myList)) |
162 | 162 |
163 return myList | 163 return myList |
164 | 164 |