examples/xmlpatterns/recipes/files/cookbook.xml
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <cookbook>
       
     3     <recipe xml:id="MushroomSoup">
       
     4         <title>Quick and Easy Mushroom Soup</title>
       
     5         <ingredient name="Fresh mushrooms"
       
     6                     quantity="7"
       
     7                     unit="pieces"/>
       
     8         <ingredient name="Garlic"
       
     9                     quantity="1"
       
    10                     unit="cloves"/>
       
    11         <ingredient name="Olive oil"
       
    12                     quantity="2"
       
    13                     unit="tablespoons"/>
       
    14         <ingredient name="Milk"
       
    15                     quantity="200"
       
    16                     unit="milliliters"/>
       
    17         <ingredient name="Water"
       
    18                     quantity="200"
       
    19                     unit="milliliters"/>
       
    20         <ingredient name="Cream"
       
    21                     quantity="100"
       
    22                     unit="milliliters"/>
       
    23         <ingredient name="Vegetable soup cube"
       
    24                     quantity="1/2"
       
    25                     unit="cubes"/>
       
    26         <ingredient name="Ground black pepper"
       
    27                     quantity="1/2"
       
    28                     unit="teaspoons"/>
       
    29         <ingredient name="Dried parsley"
       
    30                     quantity="1"
       
    31                     unit="teaspoons"/>
       
    32         <time quantity="20"
       
    33               unit="minutes"/>
       
    34         <method>
       
    35             <step>1. Slice mushrooms and garlic.</step>
       
    36             <step>2. Fry mushroom slices and garlic with olive oil.</step>
       
    37             <step>3. Once mushrooms are cooked, add milk, cream water. Stir.</step>
       
    38             <step>4. Add vegetable soup cube.</step>
       
    39             <step>5. Reduce heat, add pepper and parsley.</step>
       
    40             <step>6. Turn off the stove before the mixture boils.</step>
       
    41             <step>7. Blend the mixture.</step>
       
    42         </method>
       
    43     </recipe>
       
    44     <recipe xml:id="CheeseOnToast">
       
    45         <title>Cheese on Toast</title>
       
    46         <ingredient name="Bread"
       
    47                     quantity="2"
       
    48                     unit="slices"/>
       
    49         <ingredient name="Cheese"
       
    50                     quantity="2"
       
    51                     unit="slices"/>
       
    52         <time quantity="3"
       
    53               unit="minutes"/>
       
    54         <method>
       
    55             <step>1. Slice the bread and cheese.</step>
       
    56             <step>2. Grill one side of each slice of bread.</step>
       
    57             <step>3. Turn over the bread and place a slice of cheese on each piece.</step>
       
    58             <step>4. Grill until the cheese has started to melt.</step>
       
    59             <step>5. Serve and enjoy!</step>
       
    60         </method>
       
    61     </recipe>
       
    62 </cookbook>