wpp

< ?php
$xml=simplexml_load_file("books.xml") or die("Error: Cannot create object");
echo $xml->book[0]['category'] . “
“;
echo $xml->book[1]->title['lang'];
?>