title: How to create XML in Google custom search Autocomplete?
body: <p>I try to use the structure at <a href="https://developers.google.com/custom-search/docs/queries" rel="nofollow">https://developers.google.com/custom-search/docs/queries</a> but it can't upload successfully.</p>
  
  <pre><code>&lt;Autocompletions&gt;
    &lt;Autocompletion term="cake" type="1" language=""/&gt;
    &lt;Autocompletion term="strawberry.*" type="2" match="2" language=""/&gt;
    &lt;Autocompletion term="vanilla" type="2" language=""/&gt;
    &lt;Autocompletion term="apple" type="3" language=""&gt;
      &lt;Promotion id="1" queries="dessert" title="Apple pie for dessert!" url="http://www.example.com/applepieforsale"
          start_date="" end_date="" image_url=""  description="Apple pie is the best dessert ever!"/&gt;
      &lt;Promotion id="2" queries="apple" title="Buy Apple pie" url="http://www.example.com/applepieforsale"
          start_date="" end_date="" image_url="" description="We stock the best apple pie in the world, right here."/&gt;
    &lt;/Autocompletion&gt;
  &lt;/Autocompletions&gt;
  </code></pre>
  
  <p>My website is using wordpress; I get the title of posts and want to use it as string query for google custom search.</p>
  
  <p>Please help me figure out how to create XML for autocomplete.</p>