<?php $html=<<<'HTML' <body> <input/> <input/> <input/> </body> HTML; $domd=new DOMDocument(); $domd->loadHTML($html); $xp=new DOMXPath($domd); var_dump($xp->query("//body")->item(0)->childNodes);
You have javascript disabled. You will not be able to edit any code.