<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <!-- This match is set for all the child nodes in the data. /-->
  <xsl:template match="/">
    <!-- This encloses items that will be repeated once for each specified child (recLetter) of a specified node (tblAlphabet) in the data. /-->
    <xsl:for-each select="tblAlphabet/recLetter">
      <p><b>
        <!-- This gets the value of a specified child (Heading) of the for-each node (recLetter). /-->
        <xsl:value-of select="heading"/>
      </b></p>
      <p><xsl:value-of select="detail"/></p>
      <p><img>
        <!-- This sets the value of a specified attribute (src) of its parent node (img) in the template. /-->
        <xsl:attribute name="src">
          media/<xsl:value-of select="fileName"/>
        </xsl:attribute>
      </img></p>
      <hr/>
    </xsl:for-each>
  </xsl:template>
</xsl:stylesheet>
