Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor2XML and XML2Cursor
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00559626
Message ID:
00581881
Views:
32
>>Doubtful. VFP's internal XML parsing is blazing fast. I'm not sure if they're using MSXML or not internally, but if they are they are low level early binding to it, which will be much faster than anything we can do with the late bound MSXML objects.
>
>FYI, you can early bind in VFP7 with CreateObjectEx(). There is an example in the VFP7 help file. I'm surprised more folks aren't using it.
>
>
>oXML = CreateObjectEx("Microsoft.XMLDOM","", "")
>
There's little to no performance advantage in doing so in VFP.

The problem is that you need to early bind to all the objects, not just the top level DOM object. Since hte other objects are dynamically created and returned they are not early bound.

I can't remember now exactly how this works, but Erik Moore and myself spent some time comparing numbers and for the extra code involved the performance gain was negliable.

Early binding may be nice for some things but not for the XMLDOM.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform