+ #if timer.dontSave:
+ #continue
+ #t = doc.createTextNode("\t")
+ #root_element.appendChild(t)
+ #t = doc.createElement('timer')
+ #t.setAttribute("begin", str(int(timer.begin)))
+ #t.setAttribute("end", str(int(timer.end)))
+ #t.setAttribute("serviceref", str(timer.service_ref))
+ #t.setAttribute("repeated", str(timer.repeated))
+ #t.setAttribute("name", timer.name)
+ #t.setAttribute("description", timer.description)
+ #t.setAttribute("eit", str(timer.eit))
+
+ #for time, code, msg in timer.log_entries:
+ #t.appendChild(doc.createTextNode("\t\t"))
+ #l = doc.createElement('log')
+ #l.setAttribute("time", str(time))
+ #l.setAttribute("code", str(code))
+ #l.appendChild(doc.createTextNode(msg))
+ #t.appendChild(l)
+ #t.appendChild(doc.createTextNode("\n"))
+
+ #root_element.appendChild(t)
+ #t = doc.createTextNode("\n")
+ #root_element.appendChild(t)
+
+
+ #file = open(self.Filename, "w")
+ #doc.writexml(file)
+ #file.write("\n")
+ #file.close()
+
+ list = []
+
+ list.append('<?xml version="1.0" ?>\n')
+ list.append('<timers>\n')
+
+ for timer in self.timer_list + self.processed_timers: