I have some xml similar to this:
<?xml version="1.0" encoding="utf-8" ?>
<data>
<resources>
<resource key="Title">Alpha</resource>
<resource key="ImageName">Small.png</resource>
<resource key="Desc">blah</resource>
</resources>
</data>
using linq-xml how can i assign each resource here as a key value pair with the ViewData collection.
Thanks.