root.set("xmlns", _ns["p"])
// Metadata
generated_on = str(datetime.datetime.now().isoformat())
metadata = ET.SubElement(root, "Metadata")
creator = ET.SubElement(metadata, "Creator")
creator.text = creator_name
created = ET.SubElement(metadata, "Created")
// TODO : Consider the case where the file already exists and only an update needs to be done
created.text = generated_on
last_change = ET.SubElement(metadata, "LastChange")
last_change.text = generated_on
root.append(self.to_xml())