XML Documentation
| From: | Jason Hopkins | Date: | Tue, 06 Dec 2005 16:27:06 +0000 |
| Subject: | XML Documentation | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969371186@lists.php.net to get a copy of this message | ||
I've been working with the XML functions a lot lately, and the other night, I couldn't find out why my functions weren't recieving the data that was passed to them. Once I wrote a test output, I realized that, instead of being passed the data, my function was being passed the parser id. To get to the point, the arguments shown for the 'set_character_data_handler' function in the documentation are 'parser, data' when in fact, it sends the arguments as 'data, parser' This is something which, I understand is easy to mistake, but it can be a major pain as it took me 2 days to figure out what was wrong with my script.
12/06/2005 04:26 PM (CST)
Jason Hopkins
Omega Vortex Hosting Manager/Developer
www.omegavortex.com