Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLDOM parsing speed is slow
Message
From
18/10/2007 15:31:08
 
 
To
18/10/2007 14:52:57
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01261916
Message ID:
01261930
Views:
15
try
lcFile = "Tst.txt"
= strtofile(m.lcmd, m.lcFile, 0)
FOR m.li = 0 TO m.liNumDesc-1
    * m.lcmd = m.lcmd + ["] + oChildNode.ITEM(m.li).TEXT + [",]
   = strtofile( ["] + oChildNode.ITEM(m.li).TEXT + [",], m.lcFile, 1)
ENDFOR
as this eliminates the heavy memory copies as the string grows.

HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform