Changeset 243:4b5e3cdb9d02 in documentViewer
- Timestamp:
- Oct 11, 2010, 3:03:17 PM (15 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r242 r243 144 144 """ Show all Gis Places of whole Page""" 145 145 xpath='//place' 146 text=self.getServerData("xpath.xql", "document=%s&xpath=%s "%(docinfo['textURLPath'], xpath))146 text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'], xpath,pn)) 147 147 pagedom = Parse(text) 148 148 result =pagedom.xpath("//result/resultPage/") 149 logging.debug("YYYY result%s"%result)150 149 for l in result: 151 150 hrefNode= l.getAttributeNodeNS(None, u"place") 152 logging.debug("YYYY hrefNode%s"%hrefNode)153 151 if hrefNode: 154 152 href= hrefNode.nodeValue
Note: See TracChangeset
for help on using the changeset viewer.