private function getAllCandidates($elements)
{
$found = new \SplObjectStorage();
foreach ($elements as $item) {
$found->attach($item);
// put self in
$nl = $item->getElementsByTagName('*');
//foreach ($nl as $node) $found[] = $node;
$this->attachNodeList($nl, $found);
}
return $found;
}