Changeset 243:4b5e3cdb9d02 in documentViewer for MpdlXmlTextServer.py


Ignore:
Timestamp:
Oct 11, 2010, 3:03:17 PM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r242 r243  
    144144        """ Show all Gis Places of whole Page"""
    145145        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))
    147147        pagedom = Parse(text)
    148148        result =pagedom.xpath("//result/resultPage/")
    149         logging.debug("YYYY result%s"%result)
    150149        for l in result:
    151150            hrefNode= l.getAttributeNodeNS(None, u"place")
    152             logging.debug("YYYY hrefNode%s"%hrefNode)
    153151            if hrefNode:
    154152                href= hrefNode.nodeValue
Note: See TracChangeset for help on using the changeset viewer.