Why XML? Why, not only XML documents can be sent(and received) via Ajax

1 Answers 1

Because JSON gained popularity only by 2010, but XML was also used in the serialization of raw data, and as a basis for HTML, which also often returned AJAX, by the way, the first one lost its popularity besides Enteprise, but the second is still widely used.a day, for example, when it is required that a client, not a server, be “thin”, or as a quick solution to implement AJAX.:)
In addition, AJAJ would sound ugly, so this is legacy.
In general, it would be better to call it something like “Partial Page Reload Pattern”, it also turns out to be platform independent, but the author’s subjectivity with his narrow outlook prevented, and this is another reason.