<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.xmlwriter.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'xmlwriter.writeelementns.php',
    1 => 'XMLWriter::writeElementNs',
    2 => 'Write full namespaced element tag',
  ),
  'up' => 
  array (
    0 => 'class.xmlwriter.php',
    1 => 'XMLWriter',
  ),
  'prev' => 
  array (
    0 => 'xmlwriter.writeelement.php',
    1 => 'XMLWriter::writeElement',
  ),
  'next' => 
  array (
    0 => 'xmlwriter.writepi.php',
    1 => 'XMLWriter::writePi',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/xmlwriter/xmlwriter/writeelementns.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="xmlwriter.writeelementns" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">XMLWriter::writeElementNs</h1>
  <h1 class="refname">xmlwriter_write_element_ns</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.2, PHP 7, PHP 8, PECL xmlwriter &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">XMLWriter::writeElementNs</span> -- <span class="refname">xmlwriter_write_element_ns</span> &mdash; <span class="dc-title">Write full namespaced element tag</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-xmlwriter.writeelementns-description">
  <h3 class="title">Опис</h3>
  <p class="para">Об&#039;єктно-орієнтований стиль</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>XMLWriter::writeElementNs</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<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">$prefix</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$name</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<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>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<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">$content</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span><br>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">Процедурний стиль</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>xmlwriter_write_element_ns</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="class.xmlwriter.php" class="type XMLWriter">XMLWriter</a></span> <code class="parameter">$writer</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<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">$prefix</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$name</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<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>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<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">$content</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span><br>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Writes a full namespaced element tag.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-xmlwriter.writeelementns-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    <dt>
<code class="parameter">writer</code></dt><dd><p class="para">Тільки для процедурних
викликів. Примірник <span class="classname"><a href="class.xmlwriter.php" class="classname">XMLWriter</a></span>, що буде оброблятися. Цей
об&#039;єкт повертається функцією <span class="function"><a href="xmlwriter.openuri.php" class="function">xmlwriter_open_uri()</a></span> або
<span class="function"><a href="xmlwriter.openmemory.php" class="function">xmlwriter_open_memory()</a></span>.</p></dd>
    
     <dt><code class="parameter">prefix</code></dt>
     <dd>
      <p class="para">
       The namespace prefix.
       If <code class="parameter">prefix</code> is <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>, the namespace will be omitted.
      </p>
     </dd>
    
    
     <dt><code class="parameter">name</code></dt>
     <dd>
      <p class="para">
       The element name.
      </p>
     </dd>
    
    
     <dt><code class="parameter">namespace</code></dt>
     <dd>
      <p class="para">
       The namespace URI.
       If <code class="parameter">namespace</code> is <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>, the namespace declaration will be
       omitted.
      </p>
     </dd>
    
    
     <dt><code class="parameter">content</code></dt>
     <dd>
      <p class="para">
       The element contents.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-xmlwriter.writeelementns-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 changelog" id="refsect1-xmlwriter.writeelementns-changelog">
  <h3 class="title">Журнал змін</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Версія</th>
      <th>Опис</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.0.0</td>
 <td>
  Тепер <code class="parameter">writer</code> має бути примірником
  <span class="classname"><a href="class.xmlwriter.php" class="classname">XMLWriter</a></span>. Раніше очікувався <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-xmlwriter.writeelementns-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="xmlwriter.startelementns.php" class="methodname" rel="rdfs-seeAlso">XMLWriter::startElementNs()</a> - Create start namespaced element tag</span></li>
    <li><span class="methodname"><a href="xmlwriter.endelement.php" class="methodname" rel="rdfs-seeAlso">XMLWriter::endElement()</a> - End current element</span></li>
    <li><span class="methodname"><a href="xmlwriter.writeelement.php" class="methodname" rel="rdfs-seeAlso">XMLWriter::writeElement()</a> - Write full element tag</span></li>
   </ul>
  </p>
 </div>


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