title: Passing a XML parsed list from a controller to a view in ASP.NET MVC
body: <p>I am trying to pass an XML list to a view but I am having trouble once I get to the view.</p>
  
  <p>My controller:</p>
  
  <pre><code> public ActionResult Search(int isbdn)
      {
          ViewData["ISBN"] = isbdn;
          string pathToXml= "http://isbndb.com/api/books.xml?access_key=DWD3TC34&amp;index1=isbn&amp;value1=";
          pathToXml += isbdn;
          var doc = XDocument.Load(pathToXml);
          IEnumerable&lt;XElement&gt; items = from m in doc.Elements()
                      select m;
  </code></pre>
  
  <p>What would my view look like? Do I need to incorporate some type of XML data controller?</p>