- print_r: documentation ( source)
- simplexml_load_file: documentation ( source)
<?xml version="1.0" encoding="UTF-8"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
<?php
$xml=simplexml_load_file("note.xml");
print_r($xml);
?>