On 2/28/07, David Karger <[EMAIL PROTECTED]> wrote:
> David Huynh wrote:
> > I have just refactored the Exhibit 2.0 development branch to support
> > more flexible layouts, e.g.,
> >
> > - Change <body ex:ondataload="window.exhibit =
> > Exhibit.create('President');"> to
> >
> >     <body>
> >        <div ex:role="exhibit-collection" ex:itemTypes="President"></div>
>
> how about
> <div ex:role="exhibit-collection" ex:selection=".type = 'President'">
> leaves room for more complex selection criteria later.

Or ex:role="collection" (I agree about your point of needless exhibit
prefixes in the ex: namespace). Regarding ex:selection, I think this
would force us to come up with a syntax for member-of-set for the
query, to cater ex:itemTypes="President,VicePresident" which works
now. Not that that would be bad, but the trouble of David's finite
amount of time might suggest it won't happen soon. :-)

-- 
 / Johan Sundström, http://ecmanaut.blogspot.com/

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to