changeset 450:3029dac78754

*** empty log message ***
author abukhman
date Tue, 27 Sep 2011 12:10:44 +0200
parents 6c11f3ec8698
children 91daab0c219b
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Wed Aug 31 15:55:17 2011 +0200
+++ b/MpdlXmlTextServer.py	Tue Sep 27 12:10:44 2011 +0200
@@ -202,12 +202,13 @@
         characterNormalization=pageinfo['characterNormalization']
         tocPN = pageinfo['tocPN']
         selfurl = self.absolute_url()   
+        
         if mode == "text_dict":
             textmode = "textPollux"
         else:
             textmode = mode
         
-        textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&options=withXmlNodeId&xpointer=%s"%(docpath,textmode,pn,characterNormalization, xpointer)
+        textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&xpointer=%s&options=withIdentifier"%(docpath,textmode,pn,characterNormalization, xpointer)
         if highlightQuery is not None:
             #textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn)
             textParam +="&highlightQuery=%s&s=%s&highlightElement=%s&highlightElementPos=%s"%(urllib.quote(highlightQuery),s, highlightElement, highlightElementPos)