Applying Styles to XML Elements
The simplest XSL templates consist of HTML tags and styles with references to the tags of XML document pieces that should be formatted. For example, putting XML elements tagged TITLE and ARTIST as elements inside a table definition: <td><xsl:value-of select="TITLE"/></td> <td><xsl:value-of select="ARTIST"/></td>
This could be repeated over many elements of the XML document:<xsl:for-each select="CATALOG/CD”><tr><td><xsl:value-of select="TITLE"/></td><td><xsl:value-of select="ARTIST"/></td></tr>