|
Rockbox mail archiveSubject: Re: XML settings file from settings_list.cRe: 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 template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |