W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

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

From: Max Froumentin <maxfro@opera.com>
Date: Wed, 18 Mar 2009 16:26:30 +0100
To: Marcos Caceres <marcosc@opera.com>
Cc: public-webapps <public-webapps@w3.org>
Message-ID: <m2y6v2zwbd.fsf@pc214.sm.oslo.opera.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:30 GMT