Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00525988
Message ID:
00526528
Views:
17
According to the demonstration at the last VFP devcon, VFP 70 is using XMLDOM for XML to cursor but using internal string processing for cursortoxml. There was a marked difference in performance between the two. It was explained away as being the speed limit of XMLDOM.

Glenn

>>>I know how to use the XMLDOM to parse XML files/strings but it seems overkill for that little job, What do you think? Is there a lighter piece of VFP code for parsing simple XML?
>>
>>You could probably write something faster fairly easily depending on the complexity of your exception information. But I usually don't hesitate to use the parser even for small stuff because it's pretty fast to instantiate and to load a small document. Unless your small documents are being loaded in a tight loop (their not in your situation), I wouldn't worry about overhead.
>
>Thank you Erik, now, pure curiosity, do you know if VFP7 is internally using internally using for XMLTOCURSOR()?
Previous
Next
Reply
Map
View