PHP 手册
后退 |  | 前进

# 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`。

## 参见

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

后退 | 起点 | 前进
DOMDocument->schemaValidate() | 上一级 | DOMDocument->validate()