title: XML/XSLT trasnsformed data export to excel in Java
body: <p>I have a JSP in which I want to:</p>
  
  <ol>
  <li>make an HTTP request;</li>
  <li>get back the XML response;</li>
  <li>transform the response using XSL; and</li>
  <li>export the transformed data to excel.</li>
  </ol>
  
  <p>But i do not get the entire data in a single HTTP call. Also I have to use two stylesheets for exporting to Excel. The first is for the first page of records, and the other is for all the other pages.</p>
  
  <p>How can one do this in Java?</p>
  
  <p>Thanks</p>