Subject: | NEWLINES bug |
NEWLINES => 1 in the new() constructor add \n before the XML tag is closed.
Output looks mangled
delphi Bloggers # ./xml_writer.pl
<doc class="simple"
Show quoted text
><title
>Simple Doc</title
><section
><title no="1" type="intro"
>Introduction</title
><para
>a text with<bold
>bold</bold
> words.</para
></section
></doc
>