version 1.44, 2010/10/05 09:45:40
|
version 1.45, 2010/10/05 09:53:03
|
Line 134 class MpdlXmlTextServer(SimpleItem):
|
Line 134 class MpdlXmlTextServer(SimpleItem):
|
# allredy there |
# allredy there |
return docinfo |
return docinfo |
xpath ='/count(//pb)' |
xpath ='/count(//pb)' |
text=self.getServerData("xpath.xql", "document=%sxpath=%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 |
#logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization)) |
#logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization)) |
return docinfo |
return docinfo |
|
|