Sylvain Wallez wrote:

Example :
<wt:widget id="foo">
 <wi:styling type="textarea" rows="10"/>
</wt:widget>

The "type" attribute defines the "style type" and all other attributes are dependent on this type (and here, copied as is).

What do you think ?

Including the style element directly rather than referring to it with a type attribute leaves for more future expansion room and won't mess up namespaces if you include direct output elements in the <wi:styling/> element, IMHO.


</Steven>
--
Steven Noels                            http://outerthought.org/
Outerthought - Open Source Java & XML            An Orixo Member
Read my weblog at            http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org                stevenn at apache.org



Reply via email to