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; + + + + + + + + + + + +