DOMDocument->relaxNGValidate()

(no version information, might be only in CVS)

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

說明

class DOMDocument {

bool relaxNGValidate ( string filename )

}

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

參數

filename

The RNG file.

返回值

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