September 2001
Intermediate to advanced
768 pages
32h 45m
English
int xml_set_element_handler(resource parserID, string starthandler, string endhandler)
| parserID | Reference to a valid parser |
| starthandler | Function to be used as the starting event handler |
| endhandler | Function to be used as the ending event handler |
Sets the starting and ending handlers for the specified XML parser.
Returns:
TRUE on success; FALSE on error
Description:
The starting handler fires when the opening tag of an element is found; the ending handler fires when the closing tag of an element is found by the parser. Setting the handler to FALSE or an empty string disables the handler. The function returns FALSE if the parser is invalid or the handler was not created.
The start element function prototype should ...
Read now
Unlock full access