Keep in mind that this method can't handle schemas in compact syntax!
(PHP 5, PHP 7)
DOMDocument::relaxNGValidate — Performs relaxNG validation on the document
$filename
)Performs » relaxNG validation on the document based on the given RNG schema.
filename
The RNG file.
성공 시 TRUE
를, 실패 시 FALSE
를 반환합니다.
Keep in mind that this method can't handle schemas in compact syntax!