XML structure as small database in .plist file

Hope someone can help with this. I’m just trying to learn how to use XML with a view store a small dataset, but am unsure as to the exact structure.

Its with a view to it being used to populate a .plist file for an iPhone app.

As an example of the initial structure, it is just a list of films, with the fields

Film
Director
Release Date

I got as far as :


<plist version="1.0">
<dict>
   <key>Film</key>
      <string>Fargo</string>
   <key>Director</key>
      <string>Joel Coen</string>
   <key>Release</key>
      <string>1996</string>
</dict>
</plist>

For the first film, but wasn’t sure how it would be structured to add a second.

Alternatively, I got as far as


<plist version="1.0">
<dict>
   <key>Films</key>
   <array>
      <string>Lost in Translation</string>
      <string>Fargo</string>
   </array>
</dict>
</plist>

Which lists the films, but I wasn’t sure how to add the other fields for each film.

If anyone could point me it the right direction here, that would be much appreciated.

Thanks.

Maybe something like

<plist version="1.0">
<dict>
   <key>Films</key>
   <movies>
      <film>
        <title>Lost in Translation</title>
        <date>2002</date>
        <cert>PG</cert>
      </film>
      <film>
        <title>Fargo</title>
        <date>2003</date>
        <cert>15</cert>
      </film>
   </movies>
</dict>
</plist>