title: how to create an xml using xmlserializer  in android app
body: <p>Hi am making a booking app and i need to send an xml to the server after creating the xml. </p>
  
  <p>How to create the xml using <code>xmlserializer</code> and send it to a server after creating it? </p>
  
  <pre><code>http://api.ean.com/ean-services/rs/hotel/v3/list?
  minorRev=[current minorRev #]
  &amp;cid=55505
  &amp;apiKey=[xxx-yourOwnKey-xxx]
   &amp;customerUserAgent=[xxx]&amp;customerIpAddress=[xxx]
  &amp;locale=en_US
  &amp;currencyCode=USD
  &amp;xml=
       &lt;HotelListRequest&gt;
  &lt;city&gt;Seattle&lt;/city&gt;
  &lt;stateProvinceCode&gt;WA&lt;/stateProvinceCode&gt;
  &lt;countryCode&gt;US&lt;/countryCode&gt;
  &lt;arrivalDate&gt;08/01/2012&lt;/arrivalDate&gt;
  &lt;departureDate&gt;08/03/2012&lt;/departureDate&gt;
  &lt;RoomGroup&gt;
    &lt;Room&gt;
      &lt;numberOfAdults&gt;2&lt;/numberOfAdults&gt;
    &lt;/Room&gt;
  &lt;/RoomGroup&gt;
  &lt;numberOfResults&gt;1&lt;/numberOfResults&gt;
       &lt;supplierCacheTolerance&gt;MED_ENHANCED&lt;/supplierCacheTolerance&gt;
       &lt;/HotelListRequest&gt;
  </code></pre>