I need to save into sql server the data from a xml file with output like: with root casts:
<casts>
<dirfilms>
<dirid>AaB</dirid>
<is>A.Bennett</is>
<castnote>Actors and notes.</castnote>
<filmc>
<m>
<f>AaB10</f>
<t>A Private Function</t>
<a>Michael Palin</a>
<p>Und</p>
<r>podiatrist</r>
</m>
<m>
<f>AaB10</f>
<t>A Private Function</t>
<a>Maggie Smith</a>
<p>Und</p>
<r>ambitious wife</r>
<awards>
<award>BFA</award>
</awards>
</m>
<m>
<f>AaB10</f>
<t>A Private Function</t>
<a>Denholm Elliott</a>
<p>Und</p>
<r/>
<awards>
<award>BFA</award>
</awards>
</m>
<m>
<f>AaB10</f>
<t>A Private Function</t>
<a>Richard Griffiths</a>
<p>Und</p>
<r/>
</m>
... (more nodes snipped) ...
</filmc>
</dirfilms>
</casts>