In this tutorial, I show how you can dynamically load XML file data in Select2 using jQuery AJAX and PHP.