<slide title="Simple XML">
<example title="Book XML File"><![CDATA[<books>
  <book id="1">
    <title>The Grapes of Wrath</title>
    <author>John Steinbeck</author>
  </book>
  <book id="2">
    <title>The Pearl</title>
    <author>John Steinbeck</author>
  </book>
</books>]]></example>
<example title="Book PHP File" result="1" fontsize="1.5em"><![CDATA[<?php
$books = simplexml_load_file('presentations/slides/intro/book.xml');

foreach ($books->book as $book) {
  echo "{$book['id']}. {$book->title} was written by {$book->author}<br>\n";
}
?>]]></example>
</slide>
