X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fxmlrule.py;h=a72a480ecc7a675f3d977978a125935d7bfc1500;hb=c451060afdf4ef60cdfea767ba6f00d6ffce66f8;hp=b700b60dc5c82e5f5fba4ed940cb0ac0199ae227;hpb=a26c2035f895f329fd7d2a8892b7606be0d46116;p=sfa.git diff --git a/sfatables/xmlrule.py b/sfatables/xmlrule.py index b700b60d..a72a480e 100644 --- a/sfatables/xmlrule.py +++ b/sfatables/xmlrule.py @@ -3,7 +3,6 @@ import libxslt from sfatables.globals import * class XMLRule: - def apply_processor(self, type, doc, output_xpath_filter=None): processor = self.processors[type] @@ -11,6 +10,7 @@ class XMLRule: filepath = os.path.join(sfatables_config, 'processors', processor) # XXX + print filepath styledoc = libxml2.parseFile(filepath) style = libxslt.parseStylesheetDoc(styledoc) result = style.applyStylesheet(doc, None)