This has to be a FAQ, but has anyone developed a good schema for having a device present an arbitrary list of configurable options (probably in XML) to a UI that presents the configuration options according to its own UI rules?
At its simplest, this might be something like I show below, for a device with two configurable options; one that has 3 discrete options, the other of which being a setting from 0-255. The UI might present Feature 1 as a set of 3 mutually exclusive radiobuttons, or as a drop- down list; it might present Feature 2 as a slider bar, or as a type-in numeric field, or both. The UI isn't the concern here - I'm looking for existing work in storing and presenting the /contents/ of the UI. The example is very simple, but how does one handle, for instance, two separate features that are linked (e.g if I set Feature 1 to Discrete Setting #2, then Feature 2 gets limited to 127 maximum?). I can think of many ways to do it but I have to think this problem has been solved a million times before and I don't want to reinvent the wheel. I don't think UPnP's system went down to the level of detail I require but I'd be happy to be told I'm wrong.
Example of what I mean:
Feature 1
Discrete Setting #1 Discrete Setting #2 Discrete Setting #3
Feature 2
0 255 1