code: def _to_DOM(self):
          
          root_node = ET.Element("forecast")
          interval_node = ET.SubElement(root_node, "interval")
          interval_node.text = self._interval
          reception_time_node = ET.SubElement(root_node, "reception_time")
          reception_time_node.text = str(self._reception_time)
          root_node.append(self._location._to_DOM())
          weathers_node = ET.SubElement(root_node, "weathers")
          for weather in self:
              weathers_node.append(weather._to_DOM())
          return root_node
docs: Dumps object data to a fully traversable DOM representation of the
          object.
  
          :returns: a ``xml.etree.Element`` object