code: function toXML() {
          $xml = new SimpleXMLElement("<?xml version=\"1.0\"?><property></property>");
  
          $xml->addChild("key", $this->key);
          $xml->addChild("value", $this->value);
  
          return $xml;
      }
docs: Creates the XML representation of an attachment
  
  @return \SimpleXMLElement