DOMDocument->schemaValidateSource()

(no version information, might be only in CVS)

DOMDocument->schemaValidateSource() --  Validates a document based on a schema

說明

class DOMDocument {

bool schemaValidateSource ( string source )

}

Validates a document based on a schema defined in the given string.

參數

source

A string containing the schema.

返回值

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