Code has been added to clipboard!
Looping Trough Attribute Values in XML Files
Example
<?php
$xml = simplexml_load_file('bookstore.xml') or die('Failed to create an object');
foreach($xml->children() as $books) { Â Â Â
echo $books->name['lang'];Â Â Â
echo "<br>";
}
?>