Diff for /ECHO_content/ECHO_xslt.py between versions 1.11 and 1.12

version 1.11, 2006/09/14 14:31:53 version 1.12, 2006/10/11 16:55:26
Line 137  class ECHO_cache: Line 137  class ECHO_cache:
         if not fileStore:          if not fileStore:
             return None              return None
         else:          else:
              
             return self.root[name].get(pn,None)              return self.root[name].get(pn,None)
                   
   
Line 263  class ECHO_xslt(ECHO_pageTemplate,ECHO_l Line 264  class ECHO_xslt(ECHO_pageTemplate,ECHO_l
         fn=self.REQUEST['fn']          fn=self.REQUEST['fn']
   
         if not _id:          if not _id:
              
             fromCache=self.cache.retrieveObject(fn,_pn)              fromCache=self.cache.retrieveObject(fn,_pn)
             
             if fromCache and _caching=="yes":              if fromCache and _caching=="yes":
Line 288  class ECHO_xslt(ECHO_pageTemplate,ECHO_l Line 290  class ECHO_xslt(ECHO_pageTemplate,ECHO_l
         tmp=xsltproc.run(document)          tmp=xsltproc.run(document)
         #bugfix for digilib images which doesn't accept &          #bugfix for digilib images which doesn't accept &
         tmp=tmp.replace("&","&")          tmp=tmp.replace("&","&")
           
   
         return tmp[0:]          return tmp[0:]
                           
     def getTextInput(self):      def getTextInput(self):
Line 338  class ECHO_xslt(ECHO_pageTemplate,ECHO_l Line 342  class ECHO_xslt(ECHO_pageTemplate,ECHO_l
                           
             self.cache.storeObject(self.baseUri,"-1",txt)              self.cache.storeObject(self.baseUri,"-1",txt)
                   
           
         dom=NonvalidatingReader.parseString(txt,self.baseUri)          dom=NonvalidatingReader.parseString(txt,self.baseUri)
                   
         #pb should have a namespache          #pb should have a namespache

Removed from v.1.11  
changed lines
  Added in v.1.12


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>