XML parser class is a PHP class that parses arbitrary XML input and builds an array with the structure of all tag and data elements. Optionally it can keep track of the positions of each element to locate elements that may be contextually in error. Supports a parsed file cache to minimize the overhead of parsing the same file repeatedly. Optimized parsing of simplified XML (SML) formats ignoring the tag attributes.
|Tags||Software Development Libraries php classes Text Processing Markup XML|
|Operating Systems||OS Independent|
Release Notes: This release fixes the assignment of parse errors when extracting element data.
Release Notes: This release adds a new function that can validate and extract data from a whole XML document at once using given rules that define the accepted constraints for the tag structure and tag data values. Custom validation is possible using a subclass to implement custom validation rules. Full documentation of the class was added.
Release Notes: This version adds support for extracting object tag and attribute namespaces.
Release Notes: The file existence checks were removed to allow parsing XML remote files and virtual streams. A bug in the VerifyWhiteSpace function which was accessing the wrong object when the store_positions options is true was fixed.
Release Notes: This release improves the clarity of the messages that are returned when errors on reading and writing parsed XML cache files occur.