Forum und email

DOMDocument->relaxNGValidate()

(No version information available, might be only in CVS)

DOMDocument->relaxNGValidate() — Performs relaxNG validation on the document

說明

DOMDocument
bool relaxNGValidate ( string $filename )

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

參數

filename

The RNG file.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE