Description for pseudo XSL code

This image shows the pseudo XSL code.
<xsl:template match ="/">
   <t01:root>
      <t01:Total_Items>
         <xsl:value-of select="count(/ns0:po/ns0:details/ns0:item)" />
      </t01:Total_Items>
      <t01:Items_collection>
         <xsl:for-each select="/ns0:po:ns0:details/ns0:item">
            <t01:Item_Position>
              <xsl:for-each select="position()" />
            </t01:Item_Position>
            <t01:name>
              <xsl:for-each select="," />
            </t01:name>
         </xsl:for-each>
      </t01:Items_collection>
   </t01:root>
</xsl:template>