Stefan Lang
12/2/2004 7:59:00 AM
Am Mittwoch, 1. Dezember 2004 19:32 schrieb phlip2005@gmail.com:
> Rubistas:
>
> I'm using REXML to read and write XML too often.
>
> Whenever REXML saves a comment, it adds linefeeds to it. Because I
> write too often, these are stacking up. Is this my fault? I tried
> various doc.write(f, x) options for the indentation levels.
>
> Ruby 1.8.2 (from the Pragmatic Programmers' way cool installer).
I have the same problem: Read document and write it
out again with (usually) doc.write(file, 0).
This adds some (at least one) linefeeds to previously existing ones.
Ruby version: ruby 1.8.2 (2004-11-06) [i686-linux]
--
Stefan