<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" 
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:r="http://recipes.org"
		xmlns="http://www.w3.org/1999/xhtml"
		>
<xsl:template match="r:collection"> 
<html> 
<body>
<ol>

<li>
<b>All recipe titles: </b>
<xsl:apply-templates 
    select="r:recipe/r:title"
    /></li>

<li>
<b>The name of all ingredients measured in cups: </b>
<xsl:apply-templates 
    select="//r:ingredient[@unit='cup']/@name"
    /></li>

<li>
<b>The name of all ingredients measured in tablespoons: </b>
<!-- Your code goes here! --></li>

<li>
<b>The name of all 'immediate' ingredients in recipes (but not of ingredients that are used to make other ingredients): </b>
<!-- Your code here again! And so on, for the remaining questions --></li>

<li>
<b>The name of all ingredients that are used to make other ingredients: </b>
</li>

<li>
<b>The name of all ingredients for which you need other ingredients: </b>
</li>

<li>
<b>The title of recipes with eggs in them: </b>
</li>

<li>
<b>The title of recipes with no eggs in them: </b>
</li>

<li>
<b>The name of ingredients where you need exactly half a cup:</b>
</li>

<li>
<b>The name of ingredients where you need more than half a cup:</b>
</li>

<li>
<b>Every second ingredient in the first recipe: </b>
</li>

</ol>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
