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

<xsl:template match="/">
    <usernames>
      <xsl:for-each select="ccms/users/user">
      <record>
        <item type="id"><xsl:value-of select="@id"/></item>
        <item type="name"><xsl:value-of select="name"/></item>
      </record>
      </xsl:for-each>
</usernames>
</xsl:template>
</xsl:stylesheet>


