mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add &url.relaxng; and document the remaining DOMDocument methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@176119 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
30a513687b
commit
99c6c8d34e
4 changed files with 266 additions and 60 deletions
|
@ -1,34 +1,60 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.dom-domdocument-relaxngvalidate">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->relaxNGValidate</refname>
|
||||
<refpurpose>
|
||||
Performs relaxNG validation on the document
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
&reftitle.description;
|
||||
<classsynopsis>
|
||||
<ooclass><classname>DOMDocument</classname></ooclass>
|
||||
<methodsynopsis>
|
||||
<type>bool</type>
|
||||
<methodname>relaxNGValidate</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</classsynopsis>
|
||||
<para>
|
||||
Performs relaxNG validation on the document based on the file defined by
|
||||
<parameter>filename</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
See also <link linkend="function.dom-domdocument-validate">DOMDocument->validate()</link>,
|
||||
<link linkend="function.dom-domdocument-schemavalidate">DOMDocument->schemaValidate()</link>,
|
||||
<link linkend="function.dom-domdocument-schemavalidatesource">DOMDocument->schemaValidateSource()</link>
|
||||
and <link linkend="function.dom-domdocument-relaxngvalidatesource">DOMDocument->relaxNGValidateSource()</link>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id="function.dom-domdocument-relaxngvalidate">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->relaxNGValidate()</refname>
|
||||
<refpurpose>
|
||||
Performs relaxNG validation on the document
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<classsynopsis>
|
||||
<ooclass><classname>DOMDocument</classname></ooclass>
|
||||
<methodsynopsis>
|
||||
<type>bool</type>
|
||||
<methodname>relaxNGValidate</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</classsynopsis>
|
||||
<para>
|
||||
Performs <ulink url="&url.relaxng;">relaxNG</ulink> validation on the document
|
||||
based on the given RNG schema.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The RNG file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><xref linkend="function.dom-domdocument-relaxngvalidatesource" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-schemavalidate" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-schemavalidatesource" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-validate" /></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
|
|
@ -1,34 +1,60 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.dom-domdocument-relaxngvalidatesource">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->relaxNGValidateSource</refname>
|
||||
<refpurpose>
|
||||
Performs relaxNG validation on the document
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
&reftitle.description;
|
||||
<classsynopsis>
|
||||
<ooclass><classname>DOMDocument</classname></ooclass>
|
||||
<methodsynopsis>
|
||||
<type>bool</type>
|
||||
<methodname>relaxNGValidateSource</methodname>
|
||||
<methodparam><type>string</type><parameter>source</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</classsynopsis>
|
||||
<para>
|
||||
Performs relaxNG validation on the document based on the file defined in
|
||||
string <parameter>source</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
See also <link linkend="function.dom-domdocument-validate">DOMDocument->validate()</link>,
|
||||
<link linkend="function.dom-domdocument-schemavalidate">DOMDocument->schemaValidate()</link>,
|
||||
<link linkend="function.dom-domdocument-schemavalidatesource">DOMDocument->schemaValidateSource()</link>
|
||||
and <link linkend="function.dom-domdocument-relaxngvalidate">DOMDocument->relaxNGValidate()</link>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id="function.dom-domdocument-relaxngvalidatesource">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->relaxNGValidateSource()</refname>
|
||||
<refpurpose>
|
||||
Performs relaxNG validation on the document
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<classsynopsis>
|
||||
<ooclass><classname>DOMDocument</classname></ooclass>
|
||||
<methodsynopsis>
|
||||
<type>bool</type>
|
||||
<methodname>relaxNGValidateSource</methodname>
|
||||
<methodparam><type>string</type><parameter>source</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</classsynopsis>
|
||||
<para>
|
||||
Performs <ulink url="&url.relaxng;">relaxNG</ulink> validation on the document
|
||||
based on the given RNG source.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>source</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string containing the RNG schema.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><xref linkend="function.dom-domdocument-relaxngvalidate" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-schemavalidate" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-schemavalidatesource" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-validate" /></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
|
77
reference/dom/functions/dom-domdocument-schemavalidate.xml
Normal file
77
reference/dom/functions/dom-domdocument-schemavalidate.xml
Normal file
|
@ -0,0 +1,77 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<refentry id="function.dom-domdocument-schemavalidate">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->schemaValidate()</refname>
|
||||
<refpurpose>
|
||||
Validates a document based on a schema
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<classsynopsis>
|
||||
<ooclass><classname>DOMDocument</classname></ooclass>
|
||||
<methodsynopsis>
|
||||
<type>bool</type>
|
||||
<methodname>schemaValidate</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</classsynopsis>
|
||||
<para>
|
||||
Validates a document based on a the given schema file.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The path to the schema.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><xref linkend="function.dom-domdocument-schemavalidatesource" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-relaxngvalidate" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-relaxngvalidatesource" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-validate" /></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -0,0 +1,77 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<refentry id="function.dom-domdocument-schemavalidatesource">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->schemaValidateSource()</refname>
|
||||
<refpurpose>
|
||||
Validates a document based on a schema
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<classsynopsis>
|
||||
<ooclass><classname>DOMDocument</classname></ooclass>
|
||||
<methodsynopsis>
|
||||
<type>bool</type>
|
||||
<methodname>schemaValidateSource</methodname>
|
||||
<methodparam><type>string</type><parameter>source</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</classsynopsis>
|
||||
<para>
|
||||
Validates a document based on a schema defined in the given string.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>source</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string containing the schema.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><xref linkend="function.dom-domdocument-schemavalidate" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-relaxngvalidate" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-relaxngvalidatesource" /></member>
|
||||
<member><xref linkend="function.dom-domdocument-validate" /></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
Loading…
Reference in a new issue