in reply to Re^4: XML::Twig generating invalid XHTML output??
in thread XML::Twig generating invalid XHTML output??

The difference appears to be what they generate. root is good if you want to extract portions of an XML doc (because it skips the stuff outside the roots), whereas handlers appear to be the way to go to transform an XML doc. At least, that's what I deduced, having no experience with XML::Twig before now.