slide 72

The XML We Started From

<recipe>
<title>Fancy Apple Pie</title>

<class name="type of dish">dessert pie</class>
<class name="main ingredient">apple</class>

<component>
<title>The Pastry</title>

<ingredients>

<ingredient>
<quantity>1 1/2</quantity>
<measure>c</measure>
<foodstuff>flour</foodstuff>
</ingredient>

<ingredient>
<quantity>1/2</quantity>
<measure>tsp</measure>
<foodstuff>salt</foodstuff>
</ingredient>

<ingredient>
<quantity>1/2</quantity>
<measure>c</measure>
<foodstuff>unsalted butter, cold</foodstuff>
</ingredient>

<ingredient>
<quantity>1</quantity>
<measure>tsp</measure>
<foodstuff>sugar</foodstuff>
</ingredient>

<ingredient>
<quantity>3-4</quantity>
<measure>Tbsp</measure>
<foodstuff>cold water</foodstuff>
</ingredient>

<ingredient>
<foodstuff>flour (for sprinkling)</foodstuff>
</ingredient>

</ingredients>

<directions>
<step><p>Make the pie crust in your usual
way. Bake blind 14 min at 400F.</p></step>

</directions>
</component>

<component>
  <title>The Filling</title>

<ingredient-list>
<ingredient>
<quantity>4</quantity>
<foodstuff>tart apples, peeled</foodstuff>
</ingredient>

<ingredient>
<quantity>1</quantity>
<measure>Tbsp</measure>
<foodstuff>lemon juice</foodstuff>
</ingredient>

<ingredient>
<quantity>2</quantity>
<measure>Tbsp</measure>
<foodstuff>unsalted butter</foodstuff>
</ingredient>

<ingredient>
<quantity>2/3</quantity>
<measure>c</measure>
<foodstuff>sugar</foodstuff>
</ingredient>

<ingredient>
<quantity>3</quantity>
<foodstuff>eggs</foodstuff>
</ingredient>

<ingredient>
<quantity>1</quantity>
<measure>c</measure>
<foodstuff>heavy cream</foodstuff>
</ingredient>

<ingredient>
<measure>pinch</measure>
<foodstuff>nutmeg</foodstuff>
</ingredient>

<ingredient>
<measure>pinch</measure>
<foodstuff>cinnamon</foodstuff>
</ingredient>

</ingredient-list>

<directions>
<step><p>Grate the apples, and sprinkle with lemon
juice to prevent browning.</p>
</step>

<step><p>Cook the apples and sugar gently in the
butter just to boiling. Simmer until the apples
are soft and little liquid remains. Cool.</p>
</step>

<step><p>Beat the eggs. Beat in the cream, nutmeg,
and cinnamon. Mix in the apples and pour the
mixture into the pie shell.</p>
</step>

<step><p>Bake until the custard is just set, a
bout 30 min.</p>
</step>

</directions>

</component>

<source>Adapted from Angela.</source>

<yield>Serves 6</yield>

<nutrition><p>...</p></nutrition>

</recipe>