Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: XML settings file from settings_list.c

Re: XML settings file from settings_list.c

From: Magnus Holmgren <lear_at_algonet.se>
Date: Wed, 13 Feb 2008 20:30:19 +0100

pondlife wrote:

> Also, I've always tried to avoid use of attributes, but that's probably just
> me having an irrational preferance for tags over attributes. e.g.
>
> <Settings>
> <Type name="sound">
> <Volume min="-60" max="0" default="0"/>
> <Bass min="0" max="30" default="0"/>
> <Channels default="stereo">
> <option>stereo</option>

<...>

> </Channels>
> </Type>
> </Settings>
>
> I just find that more human-readable, which might not be relevant.

I've also read that attributes should be kept to a minimum, but I doubt
adding a large (and changing) set of tags would be an improvement...
After all, it is about mark-up, not defining a new "language". :)

   Magnus
Received on 2008-02-13


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa