(PHP 5, PHP 7)
DOMElement::hasAttributeNS — Checks to see if attribute exists
$namespaceURI
, string $localName
) : bool
Indicates whether attribute in namespace namespaceURI
named localName exists as a member of the element.
namespaceURIThe namespace URI.
localNameThe local name.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.