I\'m looking to find a specific attribute of a specific element in an HTML document using PHP DOMDocument.
Specifically, there is a div with a unique class set, and
$xpath = new DomXPath($doc); $result = $xpath->evaluate('//div[@class=uniqueClass]/span/@style');