Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 6710

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Set the encoding for the parsing of XML documents</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.xslt-set-base.html">xslt_set_base</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.xslt-set-error-handler.html">xslt_set_error_handler</a></div>
 <div class="up"><a href="ref.xslt.html">XSLT (PHP 4) Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.xslt-set-encoding" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">xslt_set_encoding</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.5)</p><p class="refpurpose"><span class="refname">xslt_set_encoding</span> &mdash; <span class="dc-title">Set the encoding for the parsing of <acronym title="eXtensible Markup Language">XML</acronym> documents</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.xslt-set-encoding-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>xslt_set_encoding</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$xh</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$encoding</code></span>
   )</div>

  <p class="para rdfs-comment">
   Set the output encoding for the <acronym title="eXtensible Stylesheet Language Transformations">XSLT</acronym> transformations.
   When using the <span class="productname">Sablotron</span> backend, this option is only
   available when you compile <span class="productname">Sablotron</span> with
   encoding support.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.xslt-set-encoding-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>
<span class="term"><em><code class="parameter">
xh</code></em></span><dd>
<p class="para">The <acronym title="eXtensible Stylesheet Language Transformations">XSLT</acronym> processor
link identifier, created with  <span class="function"><a href="function.xslt-create.html" class="function">xslt_create()</a></span>.</p></dd>

</dt>

    <dt>

     <span class="term"><em><code class="parameter">encoding</code></em></span>
     <dd>

      <p class="para">
       An output encoding, e.g <em>iso-8859-1</em>.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xslt-set-encoding-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.xslt-set-base.html">xslt_set_base</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.xslt-set-error-handler.html">xslt_set_error_handler</a></div>
 <div class="up"><a href="ref.xslt.html">XSLT (PHP 4) Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>