DOMDocument->validate()
(no version information, might be only in CVS)
DOMDocument->validate() -- Validates the document based on its DTDOpis
class DOMDocument {bool validate ( void )
}
Validates the document based on its DTD.
You can also use the validateOnParse property of DOMDocument to make a DTD validation.
Zwracane wartości
Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki. If the document have no DTD attached, this method will return FALSE.
Patrz także
DOMDocument->schemaValidate() |
DOMDocument->schemaValidateSource() |
DOMDocument->relaxNGValidate() |
DOMDocument->relaxNGValidateSource() |
Poprzedni | Spis treści | Następny |
DOMDocument->schemaValidateSource() | Początek rozdziału |