Load the xml string into the MVC 4 model
<p>I need to load the country and the corresponding state values from the xml tag CES into the MVC model . Basically the xml contains the country and state values.I need to show the country and state in two dropdown in mvc 4.0. On selecting the country on one dropdown , corresponding state values has to be shown in the another dropdown. Please help . </p>

<pre><code>&lt;cc&gt;
&lt;State&gt;
    &lt;MEX&gt;
        &lt;Record CountryCode="AE" CountryDesc="EMIRATOS ARABES UNIDOS" System="MEX" Code="UA" StateProvinceDesc="EMIRATOS ARABES UNIDOS"/&gt;
    &lt;/MEX&gt;
    &lt;CES&gt;
        &lt;Record CountryCode="CA" CountryDesc="CANADA" System="CES" Code="AB" StateProvinceDesc="Alberta"/&gt;
        &lt;Record CountryCode="CA" CountryDesc="CANADA" System="CES" Code="BC" StateProvinceDesc="British Columbia"/&gt;
        &lt;Record CountryCode="CA" CountryDesc="CANADA" System="CES" Code="MB" StateProvinceDesc="Manitoba"/&gt;
        &lt;Record CountryCode="CA" CountryDesc="CANADA" System="CES" Code="NB" StateProvinceDesc="New Brunswick"/&gt;
        &lt;Record CountryCode="CA" CountryDesc="CANADA" System="CES" Code="NL" StateProvinceDesc="Newfoundland Labrador"/&gt;
        &lt;Record CountryCode="CA" CountryDesc="CANADA" System="CES" Code="NT" StateProvinceDesc="Northwest Territories"/&gt;
        &lt;Record CountryCode="CA" CountryDesc="CANADA" System="CES" Code="NS" StateProvinceDesc="Nova Scotia"/&gt;
        &lt;Record CountryCode="CA" CountryDesc="CANADA" System="CES" Code="ON" StateProvinceDesc="Ontario"/&gt;          
    &lt;/CES&gt;
    &lt;MEC&gt;

        &lt;Record CountryCode="US" CountryDesc="USA" System="MEC" Code="WA" StateProvinceDesc="WASHINGTON"/&gt;
        &lt;Record CountryCode="US" CountryDesc="USA" System="MEC" Code="WV" StateProvinceDesc="WEST VIRGINIA"/&gt;
        &lt;Record CountryCode="US" CountryDesc="USA" System="MEC" Code="WI" StateProvinceDesc="WISCONSIN"/&gt;
        &lt;Record CountryCode="US" CountryDesc="USA" System="MEC" Code="WY" StateProvinceDesc="WYOMING"/&gt;
        &lt;Record CountryCode="US" CountryDesc="USA" System="MEC" Code="YT" StateProvinceDesc="YUKON"/&gt;
    &lt;/MEC&gt;
&lt;/State&gt;
&lt;Country&gt;
    &lt;MEX&gt;           
        &lt;Record CountryCode="VN" CountryDesc="VIETNAM" System="MEX"/&gt;
        &lt;Record CountryCode="YE" CountryDesc="REPUBLICA DE YEMEN" System="MEX"/&gt;
        &lt;Record CountryCode="YU" CountryDesc="YUGOSLAVIA" System="MEX"/&gt;
        &lt;Record CountryCode="ZA" CountryDesc="SUDAFRICA" System="MEX"/&gt;
        &lt;Record CountryCode="ZW" CountryDesc="ZIMBABWE" System="MEX"/&gt;
    &lt;/MEX&gt;
    &lt;CES&gt;

        &lt;Record CountryCode="VI" CountryDesc="VIRGIN ISLANDS (U.S.)" System="CES"/&gt;
        &lt;Record CountryCode="VN" CountryDesc="VIETNAM" System="CES"/&gt;
        &lt;Record CountryCode="YE" CountryDesc="REPUBLIC OF YEMEN" System="CES"/&gt;
        &lt;Record CountryCode="YU" CountryDesc="YUGOSLAVIA" System="CES"/&gt;
        &lt;Record CountryCode="ZA" CountryDesc="REPUBLIC SOUTH AFRICA" System="CES"/&gt;
        &lt;Record CountryCode="ZR" CountryDesc="REPUBLIC OF ZAIRE" System="CES"/&gt;
        &lt;Record CountryCode="ZW" CountryDesc="ZIMBABWE" System="CES"/&gt;
    &lt;/CES&gt;
    &lt;MEC&gt;

        &lt;Record CountryCode="TT" CountryDesc="TRINIDAD" System="MEC"/&gt;
        &lt;Record CountryCode="UK" CountryDesc="UNITED KINGDOM" System="MEC"/&gt;
        &lt;Record CountryCode="US" CountryDesc="USA" System="MEC"/&gt;
        &lt;Record CountryCode="UY" CountryDesc="URUGUAY" System="MEC"/&gt;
        &lt;Record CountryCode="VE" CountryDesc="VENEZUELA" System="MEC"/&gt;
        &lt;Record CountryCode="VI" CountryDesc="US VIRGIN ISLANDS" System="MEC"/&gt;
    &lt;/MEC&gt;
&lt;/Country&gt;
</code></pre>

<p></p>

<p>Thanks
Sam</p>