It's more powerful than CSS selectors
How much more powerful are they? I know they can be used to select based on node content, which is not possible with CSS. Any other advantages?
Edit: I did some more research and CSS is not able to select a parent, so XPath is more powerful in that regard too. Interesting.
stackoverflow.com/questions/101486...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How much more powerful are they? I know they can be used to select based on node content, which is not possible with CSS. Any other advantages?
Edit: I did some more research and CSS is not able to select a parent, so XPath is more powerful in that regard too. Interesting.
stackoverflow.com/questions/101486...