title: Write an XQuery for given XML
body: <p>I need to write an XQuery from a given XML but I cannot find the right way to do it.</p>
  
  <p>Here is the xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!-- Edited by XMLSpy --&gt;
  &lt;onlinecomputer&gt;
      &lt;item name="Processor" price="100.00"/&gt;
          &lt;item name="USB driver" price="50.00"/&gt;
          &lt;item name="Webcam" price="20.50"/&gt;
          &lt;item name="Notebook" price="700.00"/&gt;
          &lt;place&gt;
           &lt;name&gt;Prishtin&lt;/name&gt;
             &lt;customer&gt;
                  &lt;name&gt;Hana&lt;/name&gt;
                  &lt;street&gt; Nen Tereza&lt;/street&gt;
                  &lt;order item="Processor" amount="1"/&gt;
                  &lt;order item="USB driver" amount="3"/&gt;
                  &lt;order item="Webcam" amount="3"/&gt;
                  &lt;order item="Notebook" amount="2"/&gt;
             &lt;/customer&gt;
              &lt;customer&gt;
                  &lt;name&gt;Ron&lt;/name&gt;
                  &lt;street&gt; blbl&lt;/street&gt;
                  &lt;order item="Webcam" amount="1"/&gt;
             &lt;/customer&gt;
        &lt;/place&gt;
          &lt;place&gt;
           &lt;name&gt;Tetove&lt;/name&gt;
             &lt;customer&gt;
                  &lt;name&gt;Edin&lt;/name&gt;
                  &lt;street&gt; gggg&lt;/street&gt;
                  &lt;order item="Processor" amount="4"/&gt;
                  &lt;order item="Notebook" amount="1"/&gt;
             &lt;/customer&gt;
              &lt;customer&gt;
                  &lt;name&gt;Alex&lt;/name&gt;
                  &lt;street&gt; bbbb&lt;/street&gt;
                  &lt;order item="Processor" amount="2"/&gt;
             &lt;/customer&gt;
        &lt;/place&gt;
  &lt;/onlinecomputer&gt;
  </code></pre>
  
  <p>The XQuery should write an expression that will give the set of pairs (place and item) such that this item has been shipped in a given place.</p>
  
  <p>The result should be like:</p>
  
  <pre><code>&lt;answer place="nameOfPlace" item="nameOfItem" /&gt;
  </code></pre>