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

Reply via email to