title: read xml with multiple namespaces
body: <p>I am trying to get </p>
  
  <pre><code>&lt;dc:identifier xsi:type="dcterms:URI" &gt;bitstream link&lt;/dc:identifier&gt;
  </code></pre>
  
  <p>and dc:title,publisher etc using C# in my MVC app need help as i am new to xml</p>
  
  <pre><code>&lt;metadata&gt;
    &lt;uketd_dc:uketddc
           xmlns:uketd_dc="http://naca.central.cranfield.ac.uk/ethos-oai/2.0/"
           xmlns:doc="http://www.lyncode.com/xoai"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:uketdterms="http://naca.central.cranfield.ac.uk/ethos-oai/terms/" 
           xmlns:dcterms="http://purl.org/dc/terms/"
           xmlns:dc="http://purl.org/dc/elements/1.1/"
           xsi:schemaLocation="http://naca.central.cranfield.ac.uk/ethos-oai/2.0/ http://naca.central.cranfield.ac.uk/ethos-oai/2.0/uketd_dc.xsd"&gt;
      &lt;dc:date&gt;2010-10-14T17:31:59Z&lt;/dc:date&gt;
      &lt;dc:date&gt;2010-10-14T17:31:59Z&lt;/dc:date&gt;
      &lt;dc:date&gt;2003-01-01&lt;/dc:date&gt;
      &lt;dc:date&gt;2015-06-12T10:34:09Z&lt;/dc:date&gt;
      &lt;dcterms:issued&gt;2003-01-01&lt;/dcterms:issued&gt;
      &lt;dcterms:isReferencedBy xsi:type="dcterms:URI"&gt;http://www.iadb.org/en/publications/publication-detail,7101.html?id=4486&lt;/dcterms:isReferencedBy&gt;
      &lt;dcterms:abstract&gt;This book looks at the key issues and lessons that policymakers must consider in designing an adequate framework for dealing with financial crises. These include structural problems and their causes, policy actions, the role of market discipline, and preemptive strategies.&lt;/dcterms:abstract&gt;
      &lt;dc:title&gt;Financial Crises in Japan and Latin America&lt;/dc:title&gt;
      &lt;dc:creator&gt;Zahler, Roberto&lt;/dc:creator&gt;
      &lt;dc:contributor&gt;VICTORCO&lt;/dc:contributor&gt;
      &lt;dc:subject&gt;Financial Crises &amp;amp; Economic Stabilization&lt;/dc:subject&gt;
      &lt;dc:description&gt;This book looks at the key issues and lessons that policymakers must consider in designing an adequate framework for dealing with financial crises. These include structural problems and their causes, policy actions, the role of market discipline, and preemptive strategies.&lt;/dc:description&gt;
      &lt;dc:type&gt;Books&lt;/dc:type&gt;
      &lt;dc:identifier&gt;International Lending and Debt Problems&lt;/dc:identifier&gt;
      &lt;dc:identifier&gt;International Lending and Debt Problems&lt;/dc:identifier&gt;
      &lt;dc:identifier&gt;International Lending and Debt Problems&lt;/dc:identifier&gt;
      &lt;dc:identifier&gt;International Lending and Debt Problems&lt;/dc:identifier&gt;
      &lt;dc:identifier&gt;International Lending and Debt Problems&lt;/dc:identifier&gt;
      &lt;dc:identifier&gt;9781931003476&lt;/dc:identifier&gt;
      &lt;dc:identifier&gt;http://www.iadb.org/en/publications/publication-detail,7101.html?id=4486&lt;/dc:identifier&gt;
      &lt;dc:language&gt;en&lt;/dc:language&gt;
      &lt;dc:publisher&gt;Inter-American Development Bank (IDB)&lt;/dc:publisher&gt;
      &lt;dc:identifier xsi:type="dcterms:URI"&gt;http://publications.iadb.org/bitstream/handle/11319/195/Financial+Crises+in+Japan+and+Latin+America.pdf?sequence=1&lt;/dc:identifier&gt;
      &lt;uketdterms:checksum xsi:type="uketdterms:MD5"&gt;83c42636d27d253499be4db09db02312&lt;/uketdterms:checksum&gt;
      &lt;dc:identifier xsi:type="dcterms:URI"&gt;http://publications.iadb.org/bitstream/handle/11319/195/Financial+Crises+in+Japan+and+Latin+America.pdf.png?sequence=11&lt;/dc:identifier&gt;
      &lt;uketdterms:checksum xsi:type="uketdterms:MD5"&gt;4d4c1c29a730054db0cfcfc477333626&lt;/uketdterms:checksum&gt;
      &lt;dc:identifier xsi:type="dcterms:URI"&gt;http://publications.iadb.org/bitstream/handle/11319/195/Financial+Crises+in+Japan+and+Latin+America.pdf.jpg?sequence=5&lt;/dc:identifier&gt;
      &lt;uketdterms:checksum xsi:type="uketdterms:MD5"&gt;7e49ce2e1c21c12e141aa50402037b25&lt;/uketdterms:checksum&gt;
      &lt;dc:identifier xsi:type="dcterms:URI"&gt;http://publications.iadb.org/bitstream/handle/11319/195/Financial+Crises+in+Japan+and+Latin+America.pdf.txt?sequence=10&lt;/dc:identifier&gt;
      &lt;uketdterms:checksum xsi:type="uketdterms:MD5"&gt;bad0c21c28fc8a9946bdfa5eae2bf59d&lt;/uketdterms:checksum&gt;
    &lt;/uketd_dc:uketddc&gt;
  &lt;/metadata&gt;
  </code></pre>
  
  <p>I tried the below code and not able to get the details</p>
  
  <pre><code>XDocument billingData = XDocument.Load("http://publications.iadb.org/oai/request?verb=ListRecords&amp;metadataPrefix=uketd_dc");
  XNamespace oai_dc = XNamespace.Get("http://naca.central.cranfield.ac.uk/ethos-oai/2.0/");
  XNamespace oai_dc1 = XNamespace.Get("http://naca.central.cranfield.ac.uk/ethos-oai/2.0/ http://naca.central.cranfield.ac.uk/ethos-oai/2.0/uketd_dc.xsd");
  XNamespace dc = XNamespace.Get("http://purl.org/dc/elements/1.1/");
  
  var billings = from billing in billingData.Descendants(oai_dc + "uketd_dc").Descendants(oai_dc1 + "dc")
                 select new Billing(billing.Element(dc + "title").Value, billing.Element(dc + "creator").Value,
                         billing.Element(dc + "description").Value, billing.Element(dc + "identifier").Value);
  allBillings.AddRange(billings.ToList&lt;Billing&gt;());
  </code></pre>
  
  <p>I don't know whether i am doing correct.</p>