<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.domdocument.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'domdocument.relaxngvalidatesource.php',
    1 => 'DOMDocument::relaxNGValidateSource',
    2 => 'Performs relaxNG validation on the document',
  ),
  'up' => 
  array (
    0 => 'class.domdocument.php',
    1 => 'DOMDocument',
  ),
  'prev' => 
  array (
    0 => 'domdocument.relaxngvalidate.php',
    1 => 'DOMDocument::relaxNGValidate',
  ),
  'next' => 
  array (
    0 => 'domdocument.replacechildren.php',
    1 => 'DOMDocument::replaceChildren',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/dom/domdocument/relaxngvalidatesource.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="domdocument.relaxngvalidatesource" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">DOMDocument::relaxNGValidateSource</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">DOMDocument::relaxNGValidateSource</span> &mdash; <span class="dc-title">
   Performs relaxNG validation on the document
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-domdocument.relaxngvalidatesource-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>DOMDocument::relaxNGValidateSource</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$source</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Performs <a href="http://www.relaxng.org/" class="link external">&raquo;&nbsp;relaxNG</a> validation on the document
   based on the given RNG source.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-domdocument.relaxngvalidatesource-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">source</code></dt>
     <dd>
      <p class="para">
       A string containing the RNG schema.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-domdocument.relaxngvalidatesource-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-domdocument.relaxngvalidatesource-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="domdocument.relaxngvalidate.php" class="methodname" rel="rdfs-seeAlso">DOMDocument::relaxNGValidate()</a> - Performs relaxNG validation on the document</span></li>
    <li><span class="methodname"><a href="domdocument.schemavalidate.php" class="methodname" rel="rdfs-seeAlso">DOMDocument::schemaValidate()</a> - Validates a document based on a schema. Only XML Schema 1.0 is supported.</span></li>
    <li><span class="methodname"><a href="domdocument.schemavalidatesource.php" class="methodname" rel="rdfs-seeAlso">DOMDocument::schemaValidateSource()</a> - Validates a document based on a schema</span></li>
    <li><span class="methodname"><a href="domdocument.validate.php" class="methodname" rel="rdfs-seeAlso">DOMDocument::validate()</a> - Validates the document based on its DTD</span></li>
   </ul>
  </p>
 </div>

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