Mine
public text v1 · immutable<?php
include 'final.php';
$xml = new SimpleXMLElement($xmlstr);
/* Access the <rating> nodes of the first movie.
* Output the rating scale, too. */
foreach ($xml->weblog[0] as $weblog) {
echo "test";
echo($weblog); // Get attributes as element indices
}
?>