I have a very large data set (240,000+ rows) that I need to
do some calculations on. The data is in XML format and I need to
find each instance where an XML value equals a string and pull
another value for a calculation.
So, from the XML listed I would like to find all instances
where val1==One and run a calculation based on val2. I've been
trying various E4X methods, and while they work great for pulling a
single value out they dont seem to work for returning a range of
values. Whats more, I cant just loop over the whole mess due to the
script execution timeout limits in Flex.
Sorry, wasn't very clear. Something like var myList:XMLList =
myXml.data.(val1=="one" || var1 == "Two"); will work, however they
seem to take almost as much time to execute as just doing a for
loop over the whole mess and comparing each value in turn. Meaning
that they still generate time outs. What I'm finding is that the 60
second max script execution time is just not long enough to process
hundreds of thousands of records. And in this case, each records
value is dependant on every other record, so I cant batch process
it very easy.