xpath-diner
xpath-diner copied to clipboard
`//apple[@class="small"]` should be an accepted answer
There is absolutely no reason why we should have to use the contains() function to filter an element based on an attribute value. But it's marked as an incorrect answer in various levels.
There are better uses of contains() or matches(), though... :-)