function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Too many script statements: 200001 when Parsing the Xml tree


in my class am using   the http request am sending the Request and am getting the Response  in the xml tree.

Then i have  parse the xml tree and am able to display the three fields,

Filename,Filesize, date . am able to display only 40 records on the Page when i have more than 40 records am getting  error has Too many script Statments 20001   am Hitting that Error


String response1 = res.getBody();

xmldom d;

 D = new xmldom(response1);

for(XMLDOM.Element DOMs:d.getElementsByTagName('Key'))

for(integer i=0;i<ADDXMLDOM.size();i++)