I realize this is probably a very stupid question so sorry in advanced. I am trying to pass an XML list to a view but I am having trouble once I get to the view.
My controller:
public ActionResult Search(int isbdn)
{
ViewData["ISBN"] = isbdn;
string pathToXml= "http://isbndb.com/api/books.xml?access_key=DWD3TC34&index1=isbn&value1=";
pathToXml += isbdn;
var doc = XDocument.Load(pathToXml);
IEnumerable<XElement> items = from m in doc.Elements()
select m;
What would my view look like? Do I need to incorporate some type of XML data controller?
Thanks and sorry :)