Mercurial > hg > documentViewer
changeset 265:4a0dd5ff6859
*** empty log message ***
author | abukhman |
---|---|
date | Wed, 13 Oct 2010 18:38:29 +0200 |
parents | ac93e115d902 |
children | f06b992a5b24 |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Wed Oct 13 18:34:32 2010 +0200 +++ b/MpdlXmlTextServer.py Wed Oct 13 18:38:29 2010 +0200 @@ -150,7 +150,7 @@ text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],xpath,pn)) dom = Parse(text) - result = dom.xpath("//result/resultPage") + result = dom.xpath("//result/resultPage/place") logging.debug("getGisPlaces (place) result:%s"%(result)) for l in result: hrefNode= l.getAttributeNodeNS(None, u"id")