xml_set_notation_decl_handler

int xml_set_notation_decl_handler(resource parserID, string handler) 
parserID Reference to a valid parser
handler Function to be used as the event handler

Sets the notation declaration handler for the specified XML parser.

Returns:

TRUE on success; FALSE on error

Description:

The parser fires this event handler every time it encounters a notation declaration. 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 function prototype should have the following parameters:

Parameter Description
parser Reference to the XML parser that uses this function
notationname Name of the notation
base Base for resolving ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.