orbeon/orbeon-forms — pull request #8 by ralfjung-e (2011-11-18 09:55:29+00:00)
Title: Support arbitarily nested itemsets in minimal and compact appearance of xforms:select

This patch adds support for arbitrarily nested itemsets in xforms:select when using the minimal or compact appearance. Both would produce invalid markup before. The nesting is not properly reflected in the new markup (since nesting tags is not allowed), but together with a calculated attribute on each option specifying the nesting depth, it is possible with this patch and some CSS to display tree-like structures in the select.
I originally posted this to the mailing list, see http://orbeon-forms-ops-users.24843.n4.nabble.com/Arbitarily-nested-itemsets-in-xforms-select-td3739858.html