[Lazarus] Smaill detail in 0.9.27 (svn 1 minute ago)... and probably in 0.9.26?

Horacio Jamilis hjamilis at pymesoft.com.ar
Wed Oct 8 03:41:25 CEST 2008


2008/10/7 Graeme Geldenhuys <graemeg.lists at gmail.com>:
> On Tue, Oct 7, 2008 at 9:28 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>>
>> You cannot control the formatting. This is part of the XML specs, and is normal.
>> Whitespace is irrelevant in XML, except for some special cases.
>
> I know whitespace is irrelevant in XML, but I always thought there was
> a "pretty format" option somewhere. FPCUnit's xml output is formatted
> pretty. So is Lazarus's .xml config files.  What do they use then?
>

If you have one element, you get:

 <?xml version="1.0"?>
 <configfile><locale lang="EN"/></configfile>

If you have 2 or more elements, you get:

 <?xml version="1.0"?>
 <configfile>
    <locale lang="EN"/>
    <other element="look!"/>
</configfile>

Gustavo



More information about the Lazarus mailing list