public function getHtml()
 {
     if (!$this->exists()) {
         return '';
     }
     switch ($this->type) {
         case 'datetime':
             $html = '<abbr title="' . $this->content->format('c') . '">' . (class_exists('WebSyndication\\Helper') ? \WebSyndication\Helper::getLocalizedDateString($this->content) : $this->content->format('D j m Y H:i:s')) . '</abbr>';
             break;
         case 'time':
             $html = $this->content->format('H:i:s');
             break;
         case 'email':
             $html = '<a href="mailto:' . $this->content . '" title="Contact this email">' . $this->content . '</a>';
             break;
         case 'url':
             $html = '<a href="' . $this->content . '" title="See online">' . $this->content . '</a>';
             break;
         case 'text':
             $html = $this->xml_value;
             break;
         case 'lang':
             $html = '<abbr title="ISO : ' . $this->xml_value . '">' . $this->content . '</abbr>';
             break;
         case 'list':
             $html = '';
             foreach ($this->content as $_ctt) {
                 $html .= (strlen($html) ? ', ' : '') . $_ctt->content;
             }
             break;
         default:
             $html = $this->content;
             break;
     }
     return $html;
 }