public function getPriority($as_string=true)
    {
        $nodes = $this->doc->getElementsByTagName('priority');
        $node =$nodes->item(0);
        if($node){
            if($as_string){
                return $node->nodeValue;
            } else {
                return $node;
            }
        } else {
            return '';
        }
    }