get elemen conten php code example Example: php domdocument list all elements foreach($dom->getElementsByTagName('*') as $element ){ }