title: xpath Query for attribute values having the same name
body: <p>Hey guys I wanted to know whats the xpath needed to get all the attribute values which have a specific name:I need the values of the attribute  "<strong>code</strong>":
  eg:</p>
  
  <pre><code>&lt;nsIdentiftcustBuss:BusinessAddress&gt;
  &lt;nsCommon:AddressType
     code="12"&gt;TRADING&lt;/nsTCVCommon:AddressType&gt;
    &lt;nsCommon:AddressLine1&gt;SAN SUI HOUSE&lt;/nsCommon:AddressLine1&gt;
    &lt;nsCommon:AddressLine2&gt;KHARADI&lt;/nsCommon:AddressLine2&gt;
    &lt;nsCommon:AddressLine3&gt;KALYANI NAGAR&lt;/nsCommon:AddressLine3&gt;
    &lt;nsCommon:AddressLine4&gt;QUADRON&lt;/nsCommon:AddressLine4&gt;
    &lt;nsCommon:City&gt;NEW YORK&lt;/nsCommon:City&gt;
    &lt;nsCommon:ZipPostalCode&gt;GDU 87H&lt;/nsCommon:ZipPostalCode&gt;
    &lt;nsCommon:Country
     code="76"&gt;UNITED KINGDOM&lt;/nsCommon:Country&gt;
   &lt;/nsIdentiftcustBuss:BusinessAddress&gt;
   &lt;nsIdentiftcustBuss:BusinessAddress&gt;
    &lt;nsCommon:AddressType
     code="11"&gt;REGISTERED&lt;/nsCommon:AddressType&gt;
    &lt;ns:AddressLine1&gt;104,parkways&lt;/nsCommon:AddressLine1&gt;
    &lt;nsCommon:AddressLine2&gt;lincoln street&lt;/nsCommon:AddressLine2&gt;
    &lt;nsCommon:AddressLine3&gt;63 avenue&lt;/nsCommon:AddressLine3&gt;
    &lt;nsCommon:AddressLine4&gt;manhattan&lt;/nsCommon:AddressLine4&gt;
    &lt;nsCommon:City&gt;Northampton&lt;/nsCommon:City&gt;
    &lt;nsCommon:ZipPostalCode&gt;NNS 47L&lt;/nsCommon:ZipPostalCode&gt;
    &lt;nsCommon:Country
     code="76"&gt;UNITED KINGDOM&lt;/nsCommon:Country&gt;
   &lt;/nsIdentiftcustBuss:BusinessAddress&gt;
  </code></pre>
  
  <p>I need the output of the attribute name country code of both the nodes
  Here's the xpath I  used this</p>
  
  <pre><code>/*:BusinessAddress/*:Country/(@code)
  </code></pre>
  
  <p>and I got the output as</p>
  
  <pre><code> code, 76
   code, 76
  </code></pre>
  
  <p>But I need only the values:</p>
  
  <pre><code> 76
   76
  </code></pre>