Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

2 items tagged “xpath”

“Why doesn’t jQuery have an XPath CSS Selector implementation?” For now, my answer is: I don’t want two selector implementations—it makes the code base significantly harder to maintain, increases the number of possible cross-browser bugs, and drastically increases the filesize of the resulting download.

John Resig 0 11th February 2008, 5:31 am

lxml.cssselect (via) lxml includes an implementation of CSS 3 selectors, which compiles them to XPath expressions. Should be a useful tool for parsing Microformats from Python. 1 24th September 2007, 11:57 pm

A django site