XML serialization functionality

Thiago Macieira thiago at kde.org
Mon Mar 20 09:39:11 GMT 2006

David Faure wrote:
>Yep, but it's not enough for OASIS-compliant saving.
>It can use indentation everywhere -except- inside <text:p> tags, where
> space matters. So some reimplementable behavior is needed (but I agree
> that a string might be overkill, from a API point of view an int is
> enough, as long as it can be turned off completely for a given tag).
>Not that I'm really motivated to port KOffice's saving code yet another
> time, so this is a rather academic discussion to me.

We're talking about tag indenting, I hope.

Text should never be indented. It should be preserved as-is, including 
line-breaks and spacing characters.

And attributes go inside tags, so they don't get indented either.
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060320/e4467e06/attachment.sig>

More information about the kde-core-devel mailing list