public function taginfNFe($chave = '', $versao = '')
{
$this->infNFe = $this->dom->createElement("infNFe");
$this->infNFe->setAttribute("Id", 'NFe' . $chave);
$this->infNFe->setAttribute("versao", $versao);
//$this->infNFe->setAttribute("pk_nItem",'');
$this->versao = $versao;
$this->chNFe = $chave;
return $this->infNFe;
}