def done(self): XMLReporter.done(self) xslt_applier = self._create_xslt_applier()(self.converter) result = xslt_applier.apply(self.get_xml(), params = {u'date': unicode(time.asctime())}) open(self.filename, "wt").write(result)
def done(self): XMLReporter.done(self) xslt_applier = self._create_xslt_applier()(self.converter) result = xslt_applier.apply(self.get_xml(), params={u'date': unicode(time.asctime())}) open(self.filename, "wt").write(result)
def __init__(self, filename, converter): XMLReporter.__init__(self) self.filename = filename self.converter = converter