XML serialization functionality

Waldo Bastian bastian at kde.org
Mon Mar 20 17:57:07 GMT 2006


On Monday 20 March 2006 04:50, David Faure wrote:
> On Monday 20 March 2006 10:39, Thiago Macieira wrote:
> > 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.
>
> There are other tags under text:p...
>    <text:p>A <text:span>B</text:span> C</text:p>
> QDom would break this due to inserting \n and spaces before text:span,
> presumably. OOo's solution is to not indent anything, KOffice's solution is
> to only indent outside of text:p.

You can tell OOo to use indentation with an option (Tools -> Options -> 
Load/Save -> General -> Size optimization for XML format)

Cheers,
Waldo
-- 
Linux Client Architect - Channel Platform Solutions Group - Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060320/44e995e0/attachment.sig>


More information about the kde-core-devel mailing list