From Pierre today, there's this quick post concerning the inclusion of XMLWriter in PHP 5.1.2.
With XMLReader, XMLWriter is a really nice addition to the xml extensions.
XMLWriter is finally bundled in php5. It will available and enabled by default in the next PHP release (5.1.2).
The XMLWriter extension provides fast, non-cached, forward-only means of generating streams or files containing XML data.