/belle2/masterclass/runscript.php |
---|
247,7 → 247,7 |
$xpath = new DOMXpath($dom); |
$nodelist = $xpath->query('//selector|//combiner'); |
$nodelist = $xpath->query('//selector|//combiner|//combiner3'); |
$cnt=1; |
foreach ($nodelist as $plist) { |
$newnode=$dom->createElement("plist","$cnt"); |
257,7 → 257,7 |
$cnt++; |
} |
$nodelist = $xpath->query('//list|//list1|//list2'); |
$nodelist = $xpath->query('//list|//list1|//list2|//list3'); |
$cnt=1; |
foreach ($nodelist as $plist) { |
if( $plist->childNodes->length === 0){ |