If XML File Is Too Big for AJAX


I found this article which is quite useful. What will you do if XML file is too big.

  1. Transform the XML documents into a character string.
  2. Split the character string into equal chunks (400 characters).
  3. Save each chunk as a value in an array.
  4. Transfer the chunks one by one using the Ajax mechanism into the final XML document.
Aug 11th, 2010