<?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 => 'uk',
  ),
  'this' => 
  array (
    0 => 'domelement.removeattributenode.php',
    1 => 'DOMElement::removeAttributeNode',
    2 => 'Removes attribute',
  ),
  'up' => 
  array (
    0 => 'class.domelement.php',
    1 => 'DOMElement',
  ),
  'prev' => 
  array (
    0 => 'domelement.removeattribute.php',
    1 => 'DOMElement::removeAttribute',
  ),
  'next' => 
  array (
    0 => 'domelement.removeattributens.php',
    1 => 'DOMElement::removeAttributeNS',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/dom/domelement/removeattributenode.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

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

 </div>
 <div class="refsect1 description" id="refsect1-domelement.removeattributenode-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>DOMElement::removeAttributeNode</strong></span>(<span class="methodparam"><span class="type"><a href="class.domattr.php" class="type DOMAttr">DOMAttr</a></span> <code class="parameter">$attr</code></span>): <span class="type"><span class="type"><a href="class.domattr.php" class="type DOMAttr">DOMAttr</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Removes attribute <code class="parameter">attr</code> from the element.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-domelement.removeattributenode-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">attr</code></dt>
     <dd>
      <p class="para">
       The attribute node.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-domelement.removeattributenode-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Повертає <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> у разі успіху або <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> в разі помилки.
  </p>
 </div>

 <div class="refsect1 errors" id="refsect1-domelement.removeattributenode-errors">
  <h3 class="title">Помилки/виключення</h3>
  <p class="para">
   <dl>
    
     <dt><strong><code><a href="dom.constants.php#constant.dom-no-modification-allowed-err">DOM_NO_MODIFICATION_ALLOWED_ERR</a></code></strong></dt>
     <dd>
      <p class="para">
       Raised if the node is readonly.
      </p>
     </dd>
    
    
     <dt><strong><code><a href="dom.constants.php#constant.dom-not-found-err">DOM_NOT_FOUND_ERR</a></code></strong></dt>
     <dd>
      <p class="para">
       Raised if <code class="parameter">attr</code> is not an attribute of the element.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-domelement.removeattributenode-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="domelement.hasattribute.php" class="methodname" rel="rdfs-seeAlso">DOMElement::hasAttribute()</a> - Checks to see if attribute exists</span></li>
    <li><span class="methodname"><a href="domelement.getattributenode.php" class="methodname" rel="rdfs-seeAlso">DOMElement::getAttributeNode()</a> - Returns attribute node</span></li>
    <li><span class="methodname"><a href="domelement.setattributenode.php" class="methodname" rel="rdfs-seeAlso">DOMElement::setAttributeNode()</a> - Adds new attribute node to element</span></li>
   </ul>
  </p>
 </div>

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