Archive:PHP and MySQL Programming/XML and PHP: Difference between revisions
wikademia>Quolo m added "data_" in one more place |
wikademia>Quolo m Undid my previous change |
||
| Line 64: | Line 64: | ||
=== Defining Character Handlers === | === Defining Character Handlers === | ||
Character handlers are created by means of the | Character handlers are created by means of the set_character_handler() function as follows : | ||
<? | <? | ||
xml_set_character_handler(XML_PARSER, CHARACTER_FUNCTION); | |||
?> | ?> | ||
The two arguments accepted by the | The two arguments accepted by the set_character_handler() function are : | ||
1. XML_PARSER - The variable that you created when you called the xml_parser_create() function. | 1. XML_PARSER - The variable that you created when you called the xml_parser_create() function. | ||