didou Fri Dec 31 07:05:13 2004 EDT
Added files:
/phpdoc/en/reference/dom/functions
dom-domdocument-schemavalidatesource.xml
dom-domdocument-schemavalidate.xml
Modified files:
/phpdoc/entities global.ent
/phpdoc/en/reference/dom/functions
dom-domdocument-relaxngvalidatesource.xml
dom-domdocument-relaxngvalidate.xml
Log:
Add &url.relaxng; and document the remaining DOMDocument methods
http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.211&r2=1.212&ty=u
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.211 phpdoc/entities/global.ent:1.212
--- phpdoc/entities/global.ent:1.211 Fri Dec 24 20:03:17 2004
+++ phpdoc/entities/global.ent Fri Dec 31 07:05:13 2004
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.211 2004/12/25 01:03:17 pollita Exp $
+ $Id: global.ent,v 1.212 2004/12/31 12:05:13 didou Exp $
Contains global "macros" for all the XML documents.
@@ -274,6 +274,7 @@
<!ENTITY url.redhat.support "http://redhat.com/docs/manuals/ccvs/">
<!ENTITY url.redhat.mcve "http://www.mcve.com/">
<!ENTITY url.regex.man
"http://www.tin.org/bin/man.cgi?section=7&topic=regex">
+<!ENTITY url.relaxng "http://www.relaxng.org/">
<!-- linking to specific rfcs is done like so: &url.rfc;xxxx so for example
&url.rfc;2042 -->
<!ENTITY url.rfc 'http://www.faqs.org/rfcs/rfc'>
<!ENTITY url.iana.system-names
'http://www.iana.org/assignments/operating-system-names'>
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidatesource.xml?r1=1.4&r2=1.5&ty=u
Index:
phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidatesource.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidatesource.xml:1.4
phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidatesource.xml:1.5
---
phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidatesource.xml:1.4
Fri Dec 17 10:11:30 2004
+++ phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidatesource.xml
Fri Dec 31 07:05:13 2004
@@ -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:
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidate.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidate.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidate.xml:1.4
phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidate.xml:1.5
--- phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidate.xml:1.4
Fri Dec 17 10:11:30 2004
+++ phpdoc/en/reference/dom/functions/dom-domdocument-relaxngvalidate.xml
Fri Dec 31 07:05:13 2004
@@ -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:
http://cvs.php.net/co.php/phpdoc/en/reference/dom/functions/dom-domdocument-schemavalidatesource.xml?r=1.1&p=1
Index:
phpdoc/en/reference/dom/functions/dom-domdocument-schemavalidatesource.xml
+++ phpdoc/en/reference/dom/functions/dom-domdocument-schemavalidatesource.xml
<?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
-->
http://cvs.php.net/co.php/phpdoc/en/reference/dom/functions/dom-domdocument-schemavalidate.xml?r=1.1&p=1
Index: phpdoc/en/reference/dom/functions/dom-domdocument-schemavalidate.xml
+++ phpdoc/en/reference/dom/functions/dom-domdocument-schemavalidate.xml
<?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
-->