[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Interesting QDomDocument::setContent variant
From:       till busch <buti () gmx ! at>
Date:       2004-06-07 19:13:24
Message-ID: 200406072113.24841.buti () gmx ! at
[Download RAW message or body]

On Monday 07 June 2004 20:36, David Faure wrote:
> On Monday 07 June 2004 20:05, Thomas Zander wrote:
> > > , or getting rid of all newlines and
> > > indentation in the generated XML files (now I see why the OO files have
> > > none!).
> >
> > I doubt that; its hard work to create nicely indented XML files; my guess
> > is that they were just lazy :)

there is an option in ooo. see Tools->Options->Load/Save->General:
"size optimization for xml fomat (no pretty printing)"

i guess this is about indention.
i've never tried to disable it though.

>
> I disagree. It really makes the (computer-) parsing simpler.
> When it comes to looking at a nicely indented XML file, it's very simple:
> "xmllint --format content.xml". This is what I use all the time to read XML
> files generated by OO.
>
> Hmm now I'm undecided. I'll fix the problems when encountering
> non-elements, as triggered by this whitespace-reporting parser... If things
> work ok after that I guess I'll leave the indentation then.
>
> Thanks for the input.

greetings,

- till
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic