This PHP extension provides an XML parser and preprocessor.
If you want to test, launch
xppq-php provides an XML pull-parser .
You will find an example of use of the parser here.
The preprocessor is an URL wrapper who wraps the
xpp protocol. It takes a stream providing the XML data like here, and can be provided to a function which takes an XML data providing streaw, like the above preprocessor, as illustrated here.