Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates > by-pkgid > 9026c9fecbedd778b04292bd6f2d9049 > files > 48

qtxmlpatterns5-doc-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>cookbook.xml Example File | Qt XML Patterns 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtxmlpatterns-index.html">Qt XML Patterns</a></td><td ><a href="qtxmlpatterns-recipes-example.html">Recipes Example</a></td><td >cookbook.xml Example File</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">cookbook.xml Example File</h1>
<span class="subtitle">recipes/files/cookbook.xml</span>
<!-- $$$recipes/files/cookbook.xml-description -->
<div class="descr"> <a name="details"></a>
<pre class="cpp">

  &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;cookbook&gt;
      &lt;recipe xml:id=&quot;MushroomSoup&quot;&gt;
          &lt;title&gt;Quick and Easy Mushroom Soup&lt;/title&gt;
          &lt;ingredient name=&quot;Fresh mushrooms&quot;
                      quantity=&quot;7&quot;
                      unit=&quot;pieces&quot;/&gt;
          &lt;ingredient name=&quot;Garlic&quot;
                      quantity=&quot;1&quot;
                      unit=&quot;cloves&quot;/&gt;
          &lt;ingredient name=&quot;Olive oil&quot;
                      quantity=&quot;2&quot;
                      unit=&quot;tablespoons&quot;/&gt;
          &lt;ingredient name=&quot;Milk&quot;
                      quantity=&quot;200&quot;
                      unit=&quot;milliliters&quot;/&gt;
          &lt;ingredient name=&quot;Water&quot;
                      quantity=&quot;200&quot;
                      unit=&quot;milliliters&quot;/&gt;
          &lt;ingredient name=&quot;Cream&quot;
                      quantity=&quot;100&quot;
                      unit=&quot;milliliters&quot;/&gt;
          &lt;ingredient name=&quot;Vegetable soup cube&quot;
                      quantity=&quot;1/2&quot;
                      unit=&quot;cubes&quot;/&gt;
          &lt;ingredient name=&quot;Ground black pepper&quot;
                      quantity=&quot;1/2&quot;
                      unit=&quot;teaspoons&quot;/&gt;
          &lt;ingredient name=&quot;Dried parsley&quot;
                      quantity=&quot;1&quot;
                      unit=&quot;teaspoons&quot;/&gt;
          &lt;time quantity=&quot;20&quot;
                unit=&quot;minutes&quot;/&gt;
          &lt;method&gt;
              &lt;step&gt;1. Slice mushrooms and garlic.&lt;/step&gt;
              &lt;step&gt;2. Fry mushroom slices and garlic with olive oil.&lt;/step&gt;
              &lt;step&gt;3. Once mushrooms are cooked, add milk, cream water. Stir.&lt;/step&gt;
              &lt;step&gt;4. Add vegetable soup cube.&lt;/step&gt;
              &lt;step&gt;5. Reduce heat, add pepper and parsley.&lt;/step&gt;
              &lt;step&gt;6. Turn off the stove before the mixture boils.&lt;/step&gt;
              &lt;step&gt;7. Blend the mixture.&lt;/step&gt;
          &lt;/method&gt;
      &lt;/recipe&gt;
      &lt;recipe xml:id=&quot;CheeseOnToast&quot;&gt;
          &lt;title&gt;Cheese on Toast&lt;/title&gt;
          &lt;ingredient name=&quot;Bread&quot;
                      quantity=&quot;2&quot;
                      unit=&quot;slices&quot;/&gt;
          &lt;ingredient name=&quot;Cheese&quot;
                      quantity=&quot;2&quot;
                      unit=&quot;slices&quot;/&gt;
          &lt;time quantity=&quot;3&quot;
                unit=&quot;minutes&quot;/&gt;
          &lt;method&gt;
              &lt;step&gt;1. Slice the bread and cheese.&lt;/step&gt;
              &lt;step&gt;2. Grill one side of each slice of bread.&lt;/step&gt;
              &lt;step&gt;3. Turn over the bread and place a slice of cheese on each piece.&lt;/step&gt;
              &lt;step&gt;4. Grill until the cheese has started to melt.&lt;/step&gt;
              &lt;step&gt;5. Serve and enjoy!&lt;/step&gt;
          &lt;/method&gt;
      &lt;/recipe&gt;
  &lt;/cookbook&gt;

</pre>
</div>
<!-- @@@recipes/files/cookbook.xml -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>