# Method Parser.XML.Validating()->validate()

Method validate

  ``private` `mixed` validate(`string` `kind`, `string` `name`, `mapping` `attributes`, `array`|`string` `contents`, `mapping`(`string`:`mixed`) `info`, `function`(`string`, `string`, `mapping`, `array`|`string`, `mapping`(`string`:`mixed`), `mixed` ... :`mixed`) `callback`, `array`(`mixed`) `extra`)`

Description

  The validation callback function.

See also

  ::parse()