<?php $xml = new SimpleXMLElement( '<DOM> <TAB id="ID1" width="30.1" height="0.5" ></TAB> <TAB id="ID2" width="15.7" height="1.8" ></TAB> </DOM>'); foreach ($xml->children() as $second_level) { echo $second_level->attributes()->id . "<br>"; echo (float)$second_level->attributes()->width * 10 . "<br>"; echo (float)$second_level->attributes()->height * 10 . "<br>"; }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`