private function zTagNFe() { if (empty($this->NFe)) { $this->NFe = $this->dom->createElement("NFe"); $this->NFe->setAttribute("xmlns", "http://www.portalfiscal.inf.br/nfe"); } return $this->NFe; }