English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The xml_set_element_handler() function is used to establish start and end element handlers.
xml_set_element_handler(parser, start, end)
Establishes an element handler function for the XML parser specified by the parser parameter. The parameters start and end are strings representing function names, which must exist when the xml_parse() function is called on the parser specified by parser.
Returns True on success, returns false on failure
Serial number | Parameters and descriptions |
---|---|
1 | parser Reference to the XML parser, used to establish start and end element handlers. |
2 | start It is used to specify the function to be called at the beginning of the element |
3 | end Used to specify the function to be called at the end of the element |