XML_PullParser 1.3.2 review
DownloadXML_PullParser moves the API of the PHP XML facility from an event-based model to a token-based model. Instead of processing data
|
|
XML_PullParser moves the API of the PHP XML facility from an event-based model to a token-based model.
Instead of processing data as it is passed from the parser to callbacks, a script using PullParser requests "tokens" from XML_PullParser_getToken() and a number of helper functions.
Tokens are arrays representing XML structures, which become available in the order in which they appear in the document being parsed. Methods are provided both to get tokens and to extract their data.
What's New in This Release:
Fixed a bug in XML_PullParser_getText and enhanced its functionality with addition of a new parameter which enables more control over return value when this function is passed an array or tokenized array to be searched for data.
It's behavior should now be fully consistent with extensivley updated documentation for the method.
Also, updated and clarified documentation of several other methods and functions.
XML_PullParser 1.3.2 search tags