Re: [sXBL] 4.2 Processing content elements

On Fri, 3 Sep 2004, Anne van Kesteren wrote:
> > > 
> > > XBL could probably be used, eventually, together with XHTML and CSS 
> > > and some basic DOM methods on smaller devices. If such a device 
> > > already has CSS support to style the markup, it would be redundant 
> > > to have a complete XPath specification just for XBL.
> > 
> > Yes, but the problem works both ways (which is why it hasn't been 
> > resolved): if the device already has XPath it would be redundant to 
> > have it implement the complete CSS 3 Selectors just for XBL.
> 
> I'm not 100% sure, but downgrading from XPath to CSS3 Selectors is 
> probably easier. Except for cases like 'a:link', 'a:visited', but I'm 
> not sure if those are necessary.

Of course, there are good arguments for saying that the fact that 
Selectors can do these dynamic things while XPath cannot is a good 
argument for using Selectors in such a dynamic environment as XBL. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 4 September 2004 10:59:55 UTC