version 1.45, 2010/10/05 09:53:03
|
version 1.46, 2010/10/05 09:58:00
|
Line 136 class MpdlXmlTextServer(SimpleItem):
|
Line 136 class MpdlXmlTextServer(SimpleItem):
|
xpath ='/count(//pb)' |
xpath ='/count(//pb)' |
text=self.getServerData("xpath.xql", "document=%s&xpath=%s"%(docinfo['textURLPath'], xpath)) |
text=self.getServerData("xpath.xql", "document=%s&xpath=%s"%(docinfo['textURLPath'], xpath)) |
logging.debug("documentViewer (text) text: %s"%(text)) |
logging.debug("documentViewer (text) text: %s"%(text)) |
#docinfo['numPages']=text.xpath |
docinfo['numPages']=text.xpath(resultPage) |
#logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization)) |
#logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization)) |
return docinfo |
return docinfo |
|
|