示例#1
0
文件: xslt.py 项目: algard/testoob
 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)
示例#2
0
 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)
示例#3
0
文件: xslt.py 项目: algard/testoob
 def __init__(self, filename, converter):
     XMLReporter.__init__(self)
     self.filename = filename
     self.converter = converter
示例#4
0
 def __init__(self, filename, converter):
     XMLReporter.__init__(self)
     self.filename = filename
     self.converter = converter