11 Aug 2010
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.
Til next time,
noppanit at 00:00