Define Entity Class

Mar 12, 2014 at 9:31 AM
Hi, I'm try to define an Entity Class to load data from this XML file (in particulari section "GENRES" and "CASTS"

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE tellico (View Source for full doctype...)>
<tellico xmlns="http://periapsis.org/tellico/" syntaxVersion="11">
<collection title="I miei video" type="3">
<entry id="0">
<title>2 single a nozze</title>
<medium>DVD</medium>
<year>2005</year>
<genres>
<genre>Commedia</genre>
<genre>Romantico</genre>
</genres>
<casts>
<cast>
<column>Owen Wilson</column>
<column>John Beckwith</column>
</cast>
<cast>
<column>Vince Vaughn</column>
<column>Jeremy Grey</column>
</cast>
</casts>__
<cdate calendar="gregorian">
<year>2009</year>
<month>09</month>
<day>23</day>
</cdate>
<mdate calendar="gregorian">
<year>2011</year>
<month>01</month>
<day>27</day>
</mdate>
</entry>
<images>
<image width="500" format="jpeg" height="704" id="6d6617a5c97f9f4bf00575b130162894.jpeg" />
</images>
</collection>
</tellico

Thanx