XML format change

Dirk Hohndel dirk at hohndel.org
Wed Dec 26 15:48:53 PST 2012


On Dec 23, 2012, at 9:53 AM, Dirk Hohndel wrote:

> Linus, Miika,
> 
> the two of you have been rather deeply involved in dealing with the XML side of things (and Linus obviously has very strong feelings about the prettiness and readability of our XML).
> 
> So here is what I proposed a few days ago:
> 
> <settings>
> <divecomputer deviceid='abc' nickname='my computer' />
> <divecomputer deviceid='def' nickname='my backup computer' />
> <autogroup value='TRUE' />
> <other settings ... />
> </settings>
> <dives>
> <program name='subsurface' version='1'></program>
> <trip date='…

One more question about this.

We have a <divecomputer> tag inside the dive tag. Is there any issue with having a <divecomputer> tag under settings as well or should I give it a unique name (like <divecomputerid>)?

/D


More information about the subsurface mailing list