changeset 199:4ef2d0970d94

*** empty log message ***
author abukhman
date Tue, 05 Oct 2010 14:01:50 +0200
parents 812710c57dfc
children 8301df01ac5a
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Tue Oct 05 12:53:05 2010 +0200
+++ b/MpdlXmlTextServer.py	Tue Oct 05 14:01:50 2010 +0200
@@ -138,7 +138,7 @@
         logging.debug("documentViewer (text) text: %s"%(text))
         #docinfo['numPages']=text('resultPage')
         pagedom = Parse(text)
-        docinfo['numPages']= pagedom.xpath("//resultPage")
+        docinfo['numPages']= pagedom.Text("resultPage")
         logging.debug("documentViewer (characterNormalization) docinfo['numPages']: %s"%(docinfo['numPages']))
         return docinfo