changeset 194:490a0a1a65d7

*** empty log message ***
author abukhman
date Tue, 05 Oct 2010 11:58:00 +0200
parents 9097dd41bc90
children 2c2dcfbb701c
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Tue Oct 05 11:53:03 2010 +0200
+++ b/MpdlXmlTextServer.py	Tue Oct 05 11:58:00 2010 +0200
@@ -136,7 +136,7 @@
         xpath ='/count(//pb)'
         text=self.getServerData("xpath.xql", "document=%s&xpath=%s"%(docinfo['textURLPath'], xpath))
         logging.debug("documentViewer (text) text: %s"%(text))
-        #docinfo['numPages']=text.xpath
+        docinfo['numPages']=text.xpath(resultPage)
         #logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization))
         return docinfo