DOMDocument->relaxNGValidateSource()

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

Description

class DOMDocument {

bool relaxNGValidateSource ( string source )

}

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

Parameters

source

A string containing the RNG schema.

Return Values

成功回傳TRUE失敗回傳FALSE

參考

DOMDocument->relaxNGValidate()
DOMDocument->schemaValidate()
DOMDocument->schemaValidateSource()
DOMDocument->validate()