PHP 手冊
前一頁 |  | 下一頁

# DOMDocument->schemaValidateSource()

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

## Description

class DOMDocument {
bool schemaValidateSource ( string source )
}

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

## Parameters

source

  A string containing the schema.

## Return Values

成功回傳`TRUE`失敗回傳`FALSE`。

## 參考

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

前一頁 | 內容 | 下一頁
DOMDocument->schemaValidate() | 上一層 | DOMDocument->validate()