--- a/E5XML/TasksWriter.py Mon Dec 22 14:01:41 2014 +0100 +++ b/E5XML/TasksWriter.py Mon Dec 22 18:27:16 2014 +0100 @@ -78,6 +78,12 @@ self.writeAttribute("priority", str(task.priority)) self.writeAttribute("completed", str(task.completed)) self.writeAttribute("type", str(task.taskType)) + self.writeAttribute("uid", task.uid) + if task.parentUid: + self.writeAttribute("parent_uid", task.parentUid) + if task.childCount() > 0: + self.writeAttribute("expanded", str(task.isExpanded())) + self.writeTextElement("Summary", task.summary.strip()) self.writeTextElement("Description", task.description.strip()) self.writeTextElement("Created", time.strftime(