Hello,
I need to get element value from element with attributes. I know how to get value from 'simple' element, but I don't know how to work with attributes.

For example, my xml is

Code:
<s>
  <s n="MyData">
    <c n="User"></c>
    <c n="ValidationErrors"></c>
    <c n="errorCode">0</c>
    <a n="responseDate">20100809104232</a>
    <a n="streamID">23747608</a>
    <a n="requestNumber">1</a>
  </s>
</s>
I need to get <a> (ie, 20100809104232, 23747608 and 1).

I wrote xsl:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/s/s">
 <table border="1" cellpadding="5" cellspacing="3">
 <tr>
  <td>Status:</td><td><xsl:apply-templates select="a" /></td>
 </tr>

 </table>
</xsl:template>
</xsl:stylesheet>
But I get 020100809104232237476081 in one string. Help!