Last week the WebKit team announced support for DOM Level 3 XPath in the nightly builds.
If you want to play with that, there’s a tutorial on Mozilla’s XPath support, which has live examples that work with WebKit.
Native XPath in the browser means we can ditch the expensive calls to document.getElementsByClassName() in our libraries.
Possibly Related posts (machine generated):