<xsl:template match="/">
<html>
...
<xsl:for-each select="cd/artist">
<h3>Artist</h3>
<p><xsl:value-of select="." /></p>
</xsl:for-each>
</html>
</xsl:template>
Process all artist nodes that are subnodes of cd nodes. Output is an h3 heading
Output the string value of the current node (ie, the artist's name) as a paragraph
12 of 34 |