X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfatables%2Fxmlrule.py;h=b700b60dc5c82e5f5fba4ed940cb0ac0199ae227;hp=58a8d4cc587fb4021fbd1745c04053f0939bd714;hb=a26c2035f895f329fd7d2a8892b7606be0d46116;hpb=7c42b6c1d131151c62454eeb29c331b4612715cd diff --git a/sfatables/xmlrule.py b/sfatables/xmlrule.py index 58a8d4cc..b700b60d 100644 --- a/sfatables/xmlrule.py +++ b/sfatables/xmlrule.py @@ -42,11 +42,13 @@ class XMLRule: style = libxslt.parseStylesheetDoc(styledoc) #doc = libxml2.parseDoc(rspec) result = style.applyStylesheet(doc, None) - stylesheet_result = result #style.saveResultToString(result) + stylesheet_result = style.saveResultToString(result) style.freeStylesheet() - #doc.freeDoc() - #result.freeDoc() + doc.freeDoc() + result.freeDoc() + import pdb + pdb.set_trace() return stylesheet_result def match(self, rspec):