Example #1
0
 def serialize(object):
     with open(tempfile, 'w') as fobj:
         return xmlserialize.serialize_to_file(object, fobj)
Example #2
0
 def save(self):
     serialize_to_file(self, self.file, root_tag=self.ROOT_ELEMENT)