I have xml like this
<categories>
<category>
<Loc>India</Loc>
<Loc>US</Loc>
<Loc>Spain</Loc>
<type>A</type>
<type>B</type>
<Cat>unknown</Cat>
<SubCat>True</SubCat>
</category>
</categories>
In my xsl when i m doing
<xsl:for-each select="categories/category">
All locations:<xsl:value-of select="Loc"/>
All type: <xsl:value-of select="type"/>
</xsl:for-each>
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
Can you tell me where I m getting wrong?
Thanks,