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.
- Transform the XML documents into a character string.
- Split the character string into equal chunks (400 characters).
- Save each chunk as a value in an array.
- Transfer the chunks one by one using the Ajax mechanism into the final XML document.