ingredients

Node type: Block element (can contain only other elements)

Whitespace: Not protected

Definition

The ingredients in a recipe.

Child Nodes or Content

Icon identifying optional elements = Optional element or attribute

Parent Elements

recipe

Code Sample

<recipe>

<title paraID="1">Guacamole</title>

<ingredients>

<list listFormat="noMarker">

<listItem>

<para paraID="2">2 ripe avocados</para>

</listItem>

<listItem>

<para paraID="3">½ medium onion, minced</para>

</listItem>

<listItem>

<para paraID="4">1 teaspoon vinegar</para>

</listItem>

<listItem>

<para paraID="5">1 very ripe tomato, peeled and chopped fine</para>

</listItem>

<listItem>

<para paraID="6">1 tablespoon mayonnaise</para>

</listItem>

<listItem>

<para paraID="7">salt and pepper</para>

</listItem>

</list>

</ingredients>

<preparation>

<list listFormat="number">

<listItem>

<label>1.</label>

<para paraID="8">Cut avocados in half, remove stones, and peel.</para>

</listItem>

<listItem>

<label>2.</label>

<para paraID="9">Place avocado, onion, and vinegar in a bowl and beat together with an electric mixer or mash together well.</para>

</listItem>

<listItem>

<label>3.</label>

<para paraID="10">Stir in tomatoes and mayonnaise.</para>

</listItem>

<listItem>

<label>4.</label>

<para paraID="11">Add salt and pepper if desired.</para>

</listItem>

</list>

</preparation>

</recipe>

Display Sample

Guacamole


  • 2 ripe avocados
  • ½ medium onion, minced
  • 1 teaspoon vinegar
  • 1 very ripe tomato, peeled and chopped fine
  • 1 tablespoon mayonnaise
  • salt and pepper

  1. Cut avocados in half, remove stones, and peel.
  2. Place avocado, onion, and vinegar in a bowl and beat together with an electric mixer or mash together well.
  3. Stir in tomatoes and mayonnaise.
  4. Add salt and pepper if desired.

Notes

Wraps the paras, table, or list with the actual ingredients.

See Also

Marking in Microsoft Word

Use the RECIPE-INGR_para paragraph style. If needed, styles such as RECIPE-INGR-LISTnoMrk-1_para could be created.

Note: The paragraph style of all lines within ingredients should begin with “RECIPE-INGR_”. If this isn’t practical, use the xmlPara paragraph style to enter beginning and ending <ingredients>, <preparation>, and <recipe> tags.