Changeset 247:4015e0cea2b5 in documentViewer
- Timestamp:
- Oct 11, 2010, 3:51:09 PM (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r246 r247 146 146 text=self.getServerData("xpath.xql", "document=%s&xpath=%s&pn=%s"%(docinfo['textURLPath'], xpath,pn)) 147 147 pagedom = Parse(text) 148 result =pagedom.xpath("//result/resultPage/ place/")148 result =pagedom.xpath("//result/resultPage/") 149 149 for l in result: 150 hrefNode= l.getAttributeNodeNS(None, u" id")150 hrefNode= l.getAttributeNodeNS(None, u"place") 151 151 logging.debug("documentViewer (characterNormalization) l: %s"%(l)) 152 152 if hrefNode:
Note: See TracChangeset
for help on using the changeset viewer.