Re: [widgets] <option>s on <feature>s

Marcos Caceres <marcosc@opera.com> writes:

> It might be good to add an <option>s element on the <feature> element
> to allow options to be set for features using name-value pairs. For
> example:
>
> <feature name="http://clothing.com/api">
> <option name="fancy" value="pants"/>

<option name="fancy">pants</option>

Shorter by 1 char, and more extensible: you can use CDATA for the value, and perhaps one day you might allow markup in the value.

Max.

> 	<option name="color" value="green"/>
> </feature>
>
> Thoughts? comments?
>
> Kind regards,
> Marcos

Received on Wednesday, 18 March 2009 15:27:20 UTC