Mercurial > hg > documentViewer
changeset 279:5bdecec2af22
*** empty log message ***
author | abukhman |
---|---|
date | Thu, 14 Oct 2010 12:18:35 +0200 |
parents | 3cf933f640a3 |
children | bde5fe91660a |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Thu Oct 14 12:10:33 2010 +0200 +++ b/MpdlXmlTextServer.py Thu Oct 14 12:18:35 2010 +0200 @@ -153,9 +153,10 @@ result = dom.xpath("//result/resultPage/place") for l in result: hrefNode= l.getAttributeNodeNS(None, u"id") - logging.debug("getGisPlaces :%s"%(hrefNode)) href= hrefNode.nodeValue - #koka=href + for i in range(0,len(href)): + print "Element with nummer ", i, "ist", href[i] + #logging.debug("getGisPlaces :%s"%(href)) #if href.startswith('id='): #hrefNode.nodeValue = href.replace('id=',"?")