Javascript download ajax response as xml file

hey thanks for this great article about ajax.Its really helpful as java beginner to know about ajax . Here i have found a 

AJAX centers around JavaScript in the browser, which has no concept of files. It is known that AJAX request & response uses XML format, the response data 

Learn how to use asynchronous JavaScript technology and XML (Ajax) with the Java 2 The ValidateServlet returns an XML document containing the result.

20 Jun 2019 There are several types of response attributes defined by the living There are four primary ways of analyzing this XML document: The download events are fired on the XMLHttpRequest object itself, as shown in the above sample. AJAX – MDN All rights reserved