from sfatables.globals import *
class XMLRule:
-
def apply_processor(self, type, doc, output_xpath_filter=None):
processor = self.processors[type]
filepath = os.path.join(sfatables_config, 'processors', processor)
# XXX
+ print filepath
styledoc = libxml2.parseFile(filepath)
style = libxslt.parseStylesheetDoc(styledoc)
result = style.applyStylesheet(doc, None)