changeset 317:d2ee9f3ab08d

*** empty log message ***
author abukhman
date Fri, 15 Oct 2010 15:28:13 +0200
parents fd474cd56183
children ecb97f468add
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Fri Oct 15 15:26:26 2010 +0200
+++ b/MpdlXmlTextServer.py	Fri Oct 15 15:28:13 2010 +0200
@@ -185,8 +185,9 @@
         selfurl = self.absolute_url()
         pn =pageinfo['current']
         viewMode=  pageinfo['viewMode']
-        text = self.getServerData("doc-query.xql","document=%s&mode=%s&pn=%s"%(docinfo['textURLPath'], 'text',  pn))
+        text = self.getServerData("page-fragment.xql","document=%s&mode=%s&pn=%s"%(docinfo['textURLPath'], 'text',  pn))
         dom =Parse(text)
+        logging.debug("getOrigPages :%s"%(dom))
         pagedivs = dom.xpath("//div[@class='pageNumberOrig']")
         logging.debug("getOrigPages :%s"%(pagedivs))
         return "pagedivs"