in reply to Re: newline behaviour with XML::Writer
in thread newline behaviour with XML::Writer

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

Replies are listed 'Best First'.
Re^3: newline behaviour with XML::Writer
by psini (Deacon) on Sep 15, 2008 at 18:55 UTC

    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."