DOMDocument::saveXML
DOMDocument::schemaValidateSource
DOMDocument
PHP Manual

# DOMDocument::schemaValidate

(PHP 5)

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

### 설명

bool DOMDocument::schemaValidate ( string `$filename` )

Validates a document based on the given schema file.

### 인수

`filename`

  The path to the schema.

### 반환값

성공할 경우 `TRUE`를, 실패할 경우 `FALSE`를 반환합니다.

### 참고

- DOMDocument::schemaValidateSource - 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::saveXML
DOMDocument::schemaValidateSource
DOMDocument
PHP Manual