From 99c6c8d34e8b73bc53570d1cca6f44beebfb386e Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Fri, 31 Dec 2004 12:05:14 +0000 Subject: [PATCH] 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 --- .../dom-domdocument-relaxngvalidate.xml | 86 ++++++++++++------- .../dom-domdocument-relaxngvalidatesource.xml | 86 ++++++++++++------- .../dom-domdocument-schemavalidate.xml | 77 +++++++++++++++++ .../dom-domdocument-schemavalidatesource.xml | 77 +++++++++++++++++ 4 files changed, 266 insertions(+), 60 deletions(-) create mode 100644 reference/dom/functions/dom-domdocument-schemavalidate.xml create mode 100644 reference/dom/functions/dom-domdocument-schemavalidatesource.xml diff --git a/reference/dom/functions/dom-domdocument-relaxngvalidate.xml b/reference/dom/functions/dom-domdocument-relaxngvalidate.xml index eec67a42b1..159ebc6f19 100644 --- a/reference/dom/functions/dom-domdocument-relaxngvalidate.xml +++ b/reference/dom/functions/dom-domdocument-relaxngvalidate.xml @@ -1,34 +1,60 @@ - - - - DOMDocument->relaxNGValidate - - Performs relaxNG validation on the document - - - - &reftitle.description; - - DOMDocument - - bool - relaxNGValidate - stringfilename - - - - Performs relaxNG validation on the document based on the file defined by - filename. - - - See also DOMDocument->validate(), - DOMDocument->schemaValidate(), - DOMDocument->schemaValidateSource() - and DOMDocument->relaxNGValidateSource(). - - - + + + + DOMDocument->relaxNGValidate() + + Performs relaxNG validation on the document + + + + &reftitle.description; + + DOMDocument + + bool + relaxNGValidate + stringfilename + + + + Performs relaxNG validation on the document + based on the given RNG schema. + + + + &reftitle.parameters; + + + + filename + + + The RNG file. + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + &reftitle.seealso; + + + + + + + + + + - - - DOMDocument->relaxNGValidateSource - - Performs relaxNG validation on the document - - - - &reftitle.description; - - DOMDocument - - bool - relaxNGValidateSource - stringsource - - - - Performs relaxNG validation on the document based on the file defined in - string source. - - - See also DOMDocument->validate(), - DOMDocument->schemaValidate(), - DOMDocument->schemaValidateSource() - and DOMDocument->relaxNGValidate(). - - - + + + + DOMDocument->relaxNGValidateSource() + + Performs relaxNG validation on the document + + + + &reftitle.description; + + DOMDocument + + bool + relaxNGValidateSource + stringsource + + + + Performs relaxNG validation on the document + based on the given RNG source. + + + + &reftitle.parameters; + + + + source + + + A string containing the RNG schema. + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + &reftitle.seealso; + + + + + + + + + + + + + DOMDocument->schemaValidate() + + Validates a document based on a schema + + + + &reftitle.description; + + DOMDocument + + bool + schemaValidate + stringfilename + + + + Validates a document based on a the given schema file. + + + + &reftitle.parameters; + + + + filename + + + The path to the schema. + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + &reftitle.seealso; + + + + + + + + + + + + diff --git a/reference/dom/functions/dom-domdocument-schemavalidatesource.xml b/reference/dom/functions/dom-domdocument-schemavalidatesource.xml new file mode 100644 index 0000000000..a63544135a --- /dev/null +++ b/reference/dom/functions/dom-domdocument-schemavalidatesource.xml @@ -0,0 +1,77 @@ + + + + + DOMDocument->schemaValidateSource() + + Validates a document based on a schema + + + + &reftitle.description; + + DOMDocument + + bool + schemaValidateSource + stringsource + + + + Validates a document based on a schema defined in the given string. + + + + &reftitle.parameters; + + + + source + + + A string containing the schema. + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + &reftitle.seealso; + + + + + + + + + + + +