On Oct 4, 2007, at 6:10 PM, Martin Owens wrote:

Funny you should mention this kind of technology, my dohickey project

(python/gtk) employs automatic field branching all data is stored as

xml too, which is quite unique and it may be something you can use the

ideas from.


The premise is simple: Not all fields are available to fill in.


Instead some fields only become available when either boolian

(checkboxes) or lists (dropdowns) have specific values, causing the

appearance of more values. each further set of child fields has the

same functionality as the parents and all data derived from the

structure is passed along as a flat hash/dictionary.


Do I make sense?


Have you look at XForms at all?

There's a good O'Reilly book on it free online at http://xformsinstitute.com/essentials/.

The "relevant" property and "xforms-enabled" and "xforms-disabled" events relate to hidden/visible enabled/disabled values and widgets.