http://qs1969.pair.com?node_id=300375


in reply to XML::Generator::PerlData and attributes

The output from XML::Generator::PerlData is SAX2, not SAX1, so you have to either run it through XML::Filter::SAX2toSAX1 before output to XML::Handler::YAWriter, or use XML::SAX::Writer to output it.