title: not getting multiple values of xml using xsl
body: <p>I have xml like this</p>
  
  <pre><code>&lt;categories&gt;
    &lt;category&gt;
      &lt;Loc&gt;India&lt;/Loc&gt;
      &lt;Loc&gt;US&lt;/Loc&gt;
      &lt;Loc&gt;Spain&lt;/Loc&gt;
      &lt;type&gt;A&lt;/type&gt;
      &lt;type&gt;B&lt;/type&gt;
      &lt;Cat&gt;unknown&lt;/Cat&gt;
      &lt;SubCat&gt;True&lt;/SubCat&gt;
    &lt;/category&gt;
  &lt;/categories&gt;
  </code></pre>
  
  <p>In my xsl when i m doing</p>
  
  <pre><code>&lt;xsl:for-each select="categories/category"&gt;
  All locations:&lt;xsl:value-of select="Loc"/&gt;
  All type: &lt;xsl:value-of select="type"/&gt; 
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>and the result I m getting is
  All locations: India
  All type: A
  I want it to get all values of Loc and type
  All Locations: India,US,Spain
  All type: A,B</p>
  
  <p>Can you tell me where I m getting wrong?</p>
  
  <p>Thanks,</p>