php8.5
Home/ Manual/ dom / domdocument/ DOMDocument::relaxNGValidate

DOMDocument::relaxNGValidate

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Performs relaxNG validation on the document

Description

DOMDocument::relaxNGValidate(string $filename): bool

Performs relaxNG validation on the document based on the given RNG schema.

Parameters

filename

The RNG file.

Return Values

Success

See Also

  • DOMDocument::relaxNGValidateSource
  • DOMDocument::schemaValidate
  • DOMDocument::schemaValidateSource
  • DOMDocument::validate

Source: reference/dom/domdocument/relaxngvalidate.xml · from the official PHP manual (php/doc-en)