September 2001
Intermediate to advanced
768 pages
32h 45m
English
int xml_set_external_entity_ref_handler(resource parserID, string handler)
| parserID | Reference to a valid parser |
| handler | Function to be used as the event handler |
Sets the external entity reference handler for the specified XML parser.
Returns:
TRUE on success; FALSE on error
Description:
Handles all external user-defined entities; see the example code. 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 |
| entityname | Name of the entity |
| base | Base for resolving the ... |
Read now
Unlock full access