Is it possible to select elements with class values like this:
<div class="a b"></div>
<div class="a c"></div>
<div class="a d"></div>
<div class="a e"></div>
<div class="a f"></div>
I need select all of the div elements who's class attribute value has a
...
I tried something like this:
$items = $xpath->query('//div[@class="a *"]');
I tried without *
, but it also returned nothing.
What is the correct XPath to select these elements by their class attribute values?