changeset 261:2508c813d87a

*** empty log message ***
author abukhman
date Wed, 13 Oct 2010 17:51:03 +0200
parents e2da793cdd3a
children 9b931ab7d76c
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Wed Oct 13 17:49:08 2010 +0200
+++ b/MpdlXmlTextServer.py	Wed Oct 13 17:51:03 2010 +0200
@@ -151,7 +151,7 @@
         text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'],'//place',pn))
         #logging.debug("documentViewer getGisPlaces (text) text:%s"%(text))
         pagedom = Parse(text)
-        result =pagedom.xpath("//result/resultPage/place")
+        result =pagedom.xpath("//result/resultPage/")
         logging.debug("getGisPlaces (place) result:%s"%(result))
         for l in result:
             hrefNode= l.getAttributeNodeNS(None, u"id")