Changeset 247:4015e0cea2b5 in documentViewer


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r246 r247  
    146146        text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'], xpath,pn))
    147147        pagedom = Parse(text)
    148         result =pagedom.xpath("//result/resultPage/place/")
     148        result =pagedom.xpath("//result/resultPage/")
    149149        for l in result:
    150             hrefNode= l.getAttributeNodeNS(None, u"id")
     150            hrefNode= l.getAttributeNodeNS(None, u"place")
    151151            logging.debug("documentViewer (characterNormalization) l: %s"%(l))
    152152            if hrefNode:
Note: See TracChangeset for help on using the changeset viewer.