Hacker News new | ask | show | jobs
by coldtea 2054 days ago
CSS and XPath don't share any functionality.

Maybe you had XSLT in mind (which still is different) - or the fact that both CSS and XPath have "selectors". But one is used to get nodes (as a library), the other is a styling language.

And XPath, at least originally, had an extremely elegant path language.