2008/10/7 Graeme Geldenhuys <[EMAIL PROTECTED]>:
> On Tue, Oct 7, 2008 at 9:28 PM, Michael Van Canneyt
> <[EMAIL PROTECTED]> 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
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus