Qt Reference Documentation

# valid_recipe.xml Example File

xmlpatterns/schema/files/valid_recipe.xml

     <recipe>
         <title>Cheese on Toast</title>
         <ingredient name="Bread" quantity="2" unit="slices"/>
         <ingredient name="Cheese" quantity="2" unit="slices"/>
         <time quantity="3" unit="minutes"/>
         <method>
             <step>1. Slice the bread and cheese.</step>
             <step>2. Grill one side of each slice of bread.</step>
             <step>3. Turn over the bread and place a slice of cheese on each piece.</step>
             <step>4. Grill until the cheese has started to melt.</step>
             <step>5. Serve and enjoy!</step>
         </method>
     </recipe>