This is an odd little library. It may be useful, but it has some caveats you should know about.
It does have some problems parsing XML. If you want to parse, use XML::Simple .
There are some bugs, and they can be strange (like CDATA adding whitespace incosistently), but by and large it's a nice interface to work with if you're creating XML programatically, and I haven't seen anything else like it.
The author tends to not respond to email. Until this version I had considered this module abandoned.
This module could really use a graft feature, to let you build up partial trees in other functions, and then graft them inside existing structures.