Ejemplo n.º 1
0
 def applyStylesheet(self, doc, params):
     """Apply the stylesheet to the document"""
     if doc == None: doc__o = None
     else: doc__o = doc._o
     ret = libxsltmod.xsltApplyStylesheet(self._o, doc__o, params)
     if ret == None: return None
     return libxml2.xmlDoc(_obj=ret)
Ejemplo n.º 2
0
 def applyStylesheet(self, doc, params):
     """Apply the stylesheet to the document"""
     if doc == None: doc__o = None
     else: doc__o = doc._o
     ret = libxsltmod.xsltApplyStylesheet(self._o, doc__o, params)
     if ret == None: return None
     return libxml2.xmlDoc(_obj=ret)