Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why? CSS selectors are the normal web developer way to select content from a document. Even JavaScript adopted the approach.


XPath supports more complex queries. In JavaScript, XPath is available as document.evaluate




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: