I need to convert HTML To XML as my server only accepts XML- other answers don't solve this
<p>****This is a simple HTML code for a form for vehicle search
I have the CSS AND JAVASCRIPT ready for this . Want to convert HTML to XML</p>

<hr>

<pre><code>&lt;div class="landingSearch"&gt;
  &lt;h2&gt;Find your next vehicle&lt;/h2&gt;
  &lt;div class="dropdown"&gt;
    &lt;form name="search" id="searchForm" action="http://localhost:8888/inventory"
    method="get"&gt;
    &lt;select id="make" name="make"&gt;
      &lt;option value=""&gt;All Makes&lt;/option&gt;
    &lt;/select&gt; 
    &lt;select id="model" name="model"&gt;
      &lt;option value=""&gt;All Models&lt;/option&gt;
    &lt;/select&gt; 
    &lt;select id="condition" name="condition"&gt;
      &lt;option value=""&gt;All&lt;/option&gt;
      &lt;option&gt;new&lt;/option&gt;
      &lt;option&gt;used&lt;/option&gt;
    &lt;/select&gt; 
    &lt;input type="text" name="zipCode" id="zip" placeholder="Zip Code"    pattern="\d*"
    only-digits="" required="" value="" tabindex="0" aria-required="true"
    aria-invalid="true" /&gt; 
    &lt;input type="hidden" id="state" value="TX" /&gt; 
    &lt;button type="find cars" id="inventorySearchButton"&gt;Find Cars&lt;/button&gt;&lt;/form&gt;
  &lt;/div&gt;
  &lt;/div&gt;
</code></pre>