Looks like they opted for CSS ("All CSS3 selectors that make sense for a standalone parser are supported.") over XPath.
– mu is too shortJul 16 '11 at 06:12
1 Answers1
5
They didn’t exactly. CSS syntax is much more natural to a lot of web developers and, despite xpath’s power, CSS is a better impedance match for HTML DOM. It’s one of the reasons jQuery has done so well for example.