DOMDocument::schemaValidate
DOMDocument::validate
DOMDocument
PHP Manual

# DOMDocument::schemaValidateSource

(PHP 5)

DOMDocument::schemaValidateSource — Validates a document based on a schema

### 설명

bool DOMDocument::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 - Validates a document based on a schema
- DOMDocument::relaxNGValidate - Performs relaxNG validation on the document
- DOMDocument::relaxNGValidateSource - Performs relaxNG validation on the document
- DOMDocument::validate - Validates the document based on its DTD

DOMDocument::schemaValidate
DOMDocument::validate
DOMDocument
PHP Manual