Mercurial > hg > documentViewer
changeset 243:4b5e3cdb9d02
*** empty log message ***
author | abukhman |
---|---|
date | Mon, 11 Oct 2010 17:03:17 +0200 |
parents | 14d39c85d992 |
children | 7f089a0cb189 |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Mon Oct 11 16:49:37 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 11 17:03:17 2010 +0200 @@ -143,13 +143,11 @@ def getGisPlases(self, docinfo): """ Show all Gis Places of whole Page""" xpath='//place' - text=self.getServerData("xpath.xql", "document=%s&xpath=%s"%(docinfo['textURLPath'], xpath)) + text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'], xpath,pn)) pagedom = Parse(text) result =pagedom.xpath("//result/resultPage/") - logging.debug("YYYY result%s"%result) for l in result: hrefNode= l.getAttributeNodeNS(None, u"place") - logging.debug("YYYY hrefNode%s"%hrefNode) if hrefNode: href= hrefNode.nodeValue if href.startswith('id='):