public function getNode($nodeName, $itemNum = 0)
    {
        $node = $this->getElementsByTagName($nodeName)->item($itemNum);
        if (isset($node)) {
            return $node;
        }

        return '';
    }
public function getNode($nodeName, $itemNum = 0)
    {
        $node = $this->getElementsByTagName($nodeName)->item($itemNum);
        if (isset($node)) {
            return $node;
        }

        return '';
    }
public function getNode ( $ nodeName , $ itemNum = 0 ) { $ node = $ this -> getElementsByTagName ( $ nodeName ) -> item ( $ itemNum ) ; if ( isset ( $ node ) ) { return $ node ; } return '' ; }
getNode
Retorna o node solicitado.
@param string $nodeName
@param int $itemNum
@return DOMElement se existir ou string vazia se não
getNode Retorna o node solicitado .