PHP Dokumentation: Domdocument schemavalidate
12. Januar 2010 von werner
DOMDocument::schemaValidate
(PHP 5)
DOMDocument::schemaValidate — Validates a document based on a schema
Beschreibung
bool DOMDocument::schemaValidate ( string $filename )
Validates a document based on the given schema file.
Parameter-Liste
- filename
The path to the schema.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- 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