DOMDocument::relaxNGValidate
(PHP 5, PHP 7, PHP 8)
DOMDocument::relaxNGValidate — Performs relaxNG validation on the document
说明
Performs » relaxNG validation on the document based on the given RNG schema.
参数
filename
-
The RNG file.
参见
- DOMDocument::relaxNGValidateSource() - Performs relaxNG validation on the document
- DOMDocument::schemaValidate() - Validates a document based on a schema. Only XML Schema 1.0 is supported.
- DOMDocument::schemaValidateSource() - Validates a document based on a schema
- DOMDocument::validate() - Validates the document based on its DTD
+添加备注
用户贡献的备注 1 note
scarywound at gmail dot com ¶
12 years ago
Keep in mind that this method can't handle schemas in compact syntax!
备份地址:http://www.lvesu.com/blog/php/domdocument.relaxngvalidate.php