code: def parse_data_writer(self, node):
          
  
          if 'path' in node.lattrib:
              path = node.lattrib['path']
          else:
              self.raise_error('<DataWriter> must specify a path.')
  
          if 'filename' in node.lattrib:
              file_path = node.lattrib['filename']
          else:
              self.raise_error("Data writer for '{0}' must specify a filename.",
                               path)
  
          self.current_simulation.add_data_writer(DataWriter(path, file_path))
docs: Parses <DataWriter>
  
          @param node: Node containing the <DataWriter> element
          @type node: xml.etree.Element