<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.domelement.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'domelement.getattributenodens.php',
    1 => 'DOMElement::getAttributeNodeNS',
    2 => 'Returns attribute node',
  ),
  'up' => 
  array (
    0 => 'class.domelement.php',
    1 => 'DOMElement',
  ),
  'prev' => 
  array (
    0 => 'domelement.getattributenode.php',
    1 => 'DOMElement::getAttributeNode',
  ),
  'next' => 
  array (
    0 => 'domelement.getattributens.php',
    1 => 'DOMElement::getAttributeNS',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/dom/domelement/getattributenodens.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="domelement.getattributenodens" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">DOMElement::getAttributeNodeNS</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">DOMElement::getAttributeNodeNS</span> &mdash; <span class="dc-title">
   Returns attribute node
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-domelement.getattributenodens-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>DOMElement::getAttributeNodeNS</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$namespace</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$localName</code></span>): <span class="type"><span class="type"><a href="class.domattr.php" class="type DOMAttr">DOMAttr</a></span>|<span class="type"><a href="class.domnamespacenode.php" class="type DOMNameSpaceNode">DOMNameSpaceNode</a></span>|<span class="type"><a href="language.types.null.php" class="type null">null</a></span></span></div>

  <p class="para rdfs-comment">
   Returns the attribute node in namespace <code class="parameter">namespace</code> 
   with local name <code class="parameter">localName</code> for the current node.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-domelement.getattributenodens-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">namespace</code></dt>
     <dd>
      <p class="para">
       The namespace URI.
      </p>
     </dd>
    
    
     <dt><code class="parameter">localName</code></dt>
     <dd>
      <p class="para">
       The local name.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-domelement.getattributenodens-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   The attribute node. Note that for XML namespace declarations
   (<code class="literal">xmlns</code> and <code class="literal">xmlns:*</code> attributes) an 
   instance of <span class="classname"><a href="class.domnamespacenode.php" class="classname">DOMNameSpaceNode</a></span> is returned instead of a
   <span class="classname"><a href="class.domattr.php" class="classname">DOMAttr</a></span> object.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-domelement.getattributenodens-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="domelement.hasattributens.php" class="methodname" rel="rdfs-seeAlso">DOMElement::hasAttributeNS()</a> - Checks to see if attribute exists</span></li>
    <li><span class="methodname"><a href="domelement.setattributenodens.php" class="methodname" rel="rdfs-seeAlso">DOMElement::setAttributeNodeNS()</a> - Adds new attribute node to element</span></li>
    <li><span class="methodname"><a href="domelement.removeattributenode.php" class="methodname" rel="rdfs-seeAlso">DOMElement::removeAttributeNode()</a> - Removes attribute</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>