thanks a lot for pointing that out!
i tried to use DATA_MODE together with NEWLINES which did not help but what you pointed out works correct and is plain simple. ... stupid me ... guess it's still along way to enlightenent for me ;)
i'm still wondering which use the newlines parameter has, what use is the NEWLINES garbeled output?
Comment on Re^2: newline behaviour with XML::Writer
Dunno. My guess is that it is to obtain the shortest possible lines without inserting newlines within data. OTOH breaking a tag does not change the XML content.
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."