I select <a id="categoryBrandIcon">
with:
$item = $xpath->query("//a[@id='categoryBrandIcon']")->item(0);
How do I modify the code to select <a id="categoryBrandIcon">
and all <input type="hidden">
tags?
Selecting inputs if input[@type='hidden']
but I don't know how to chain those two.
With CSS selectors I would do this a#categoryBrandIcon, input[type="hidden"]