Autocomplete search make easier to find an item from the long list of available items.
It displays suggestion based on the typed searched text.
If your data available in XML format then also you can use it for autocomplete searching.
With the use of XPath navigate on XML data node and search the value.
In this tutorial, I am using the select2 plugin for autocomplete data with jQuery AJAX.