W3C home > Mailing lists > Public > www-style@w3.org > June 2003

Re: XPath as CSS-selectors?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 20 Jun 2003 14:41:20 -0500
Message-ID: <3EF36360.2010702@mit.edu>
To: Herr Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
CC: www-style Mailing List <www-style@w3.org>

Herr Christian Wolfgang Hujer wrote:
> I think XPath is fast enough.
> Experience: Use of large XPath expressions (>250) making extensive use of the 
> document() function several times (>10) in each single xslt transformation of 
> websites (pages >250) using Ant, Xalan, Xerces and Java.

And the times involved were?  It's hard to work with blanket statements 
unsupported by hard data.

> If the implementation of XPath in a UA would be only half as fast as that of 
> Xalan (which isn't know for speed anyway), instant response for any web page 
> <200kB is guaranteed I think.

"Instant" means "under 5 msec" in the use cases we're talking about 
here.... because the UA is being given 10 msec to reresolve style and 
reflow/repaint/whatever as necessary.

Not saying it's not doable, I just have no data to work with, since my 
XPath experience is severely limited.

Received on Friday, 20 June 2003 15:41:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:07 UTC