<?php $xml = "<container><foo/><foo/></container>"; $sxe = simplexml_load_string($xml); var_dump($sxe->xpath("count(//foo)")); var_dump(count($sxe->xpath("//foo")));
You have javascript disabled. You will not be able to edit any code.