DOMDocument->relaxNGValidateSource()

(no version information, might be only in CVS)

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

說明

class DOMDocument {

bool relaxNGValidateSource ( string source )

}

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

參數

source

A string containing the RNG schema.

返回值

若果成功則返回 TRUE,失敗則返回 FALSE