Forum und email

DOMDocument->relaxNGValidateSource()

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

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

說明

DOMDocument
bool relaxNGValidateSource ( string $source )

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

參數

source

A string containing the RNG schema.

Return值

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