Very nice module for writing out XML. My original review of the module noted some deficiencies in the documentation that seem to be deficiencies in my eyeballs. Namespaces and prefix mapping as well as everything else seems to be well-documented for this stable module, and have been for some time.
As far as XML generation goes, XML::Writer is probably as easy, simple, and efficient as it gets. While this most recent version incorporates no new functionality, the prior version added several neat features: the DATA_MODE, DATA_INDENT, and NEWLINES parameters, whichï¿½when combinedï¿½effectively allow you to control the style of the markup.
The biggest drawback of this module still remains, though. XML::Writer requiresï¿½no matter whatï¿½an IO::Handle object for a file handle to be used to output XML to. This makes dynamically outputting XML to a scalar, something that should be relatively easy, surprisingly difficult, requiring some additional magic from IO::String to treat a scalar as though it were a file handle. While this is no longer an issue for users of Perl 5.8, if you're still using a prior version of Perl or writing a module for CPAN, this remains a very annoying problem.
This is functionality that probably could have easily been added to the module.
I also think the requirement of IO::Handle/IO::File objects in place of straight file handle names or file handle references could have been removed by some typeglobbing and symbol table work on the author's partï¿½IO::Handle is used for author's convenience, not ours.