Document: ezcDocumentRelaxNgValidator
[ ]
[ Conversion ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDocumentRelaxNgValidator
|
A tool class used by the XML based documents to validate their tree against a RelaxNG schema. [
source]
Method Summary
Methods
__construct
void __construct(
string
$schema )
Construct validator from schema
Parameters
| Name |
Type |
Description |
$schema |
string |
|
validateDomDocument
void validateDomDocument(
$document )
Set handler for format
Set the format handler for $format to the specified handler class, which should extend from ezcDocument.
Parameters
| Name |
Type |
Description |
$document |
DOMDocument |
|
Last updated: Wed, 18 Jun 2008