<xsl:template match="/">
matches whole document<xsl:value-of>
extract value from a node, e.g. <xsl:value-of select="catalog/cd/title"/>
, but it will get only first occurence!<xsl:for-each select="catalog/cd">
...
<xsl:value-of select="title"/>
...
</xsl:for-each>
<xsl:choose>
<xsl:when test="price > 10">
...
</xsl:when>
<xsl:otherwise>
...
</xsl:otherwise>
</xsl:choose>
Comments: