Changeset 249:6c6f0614d6d6 in documentViewer
- Timestamp:
- Oct 11, 2010, 3:54:24 PM (15 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r248 r249 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 /")148 result =pagedom.xpath("//result/resultPage") 149 149 for l in result: 150 hrefNode= l.getAttributeNodeNS(None, u" id")151 logging.debug("documentViewer (characterNormalization) l: 150 hrefNode= l.getAttributeNodeNS(None, u"place") 151 logging.debug("documentViewer (characterNormalization) l:%s"%(l)) 152 152 if hrefNode: 153 153 href= hrefNode.nodeValue
Note: See TracChangeset
for help on using the changeset viewer.