It's worth noting that when validation fails this function also triggers a warning.
You can suppress the warning using the set_error_handler and restore_error_handler functions.
DOMDocument::relaxNGValidate
(PHP 5)
DOMDocument::relaxNGValidate — Belgeyi belirtilen RNG dosyasıyla doğrular
Açıklama
bool DOMDocument::relaxNGValidate
( string
$dosya
)Belirtilen RNG şemasına göre belgeye » relaxNG doğrulaması uygular.
Değiştirgeler
-
dosya -
RNG dosyasının yolu.
Dönen Değerler
Başarı durumunda TRUE, başarısızlık durumunda FALSE döner.
Ayrıca Bakınız
- DOMDocument::relaxNGValidateSource() - Belgeyi belirtilen RNG dizgesiyle doğrular
- DOMDocument::schemaValidate() - Belgeyi bir şema dosyasına göre doğrular
- DOMDocument::schemaValidateSource() - Belgeyi bir şema dizgesine göre doğrular
- DOMDocument::validate() - Belgeyi DTD'sine göre doğrular
mitchell dot beaumont at mitchellbeaumont dot com
26-Aug-2007 07:28
