Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
N-Tier Design
Message
From
18/09/2003 13:11:09
 
 
To
18/09/2003 11:03:53
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00830147
Message ID:
00830389
Views:
19
Hi, Pamela.

>>As XmlAdapter allows you to put several cursors in the same XML (hierarchically)
>
>Although XMLAdaptor can handle multiple tables, I have yet to see an example of it properly handling true hierarchical XML. Can you point me to an example where it does?

If you mean a multiple hierarchy, as formal XML allows to handle (for instance, having each customer's orders hanging *into* the customer element), then no, it doesn't handle this.

What XmlAdapter does is to "chain" a cursor after the other, putting all of them under a single VFPDataSet hierarchy. Anyway, as VFP is so cursor-oriented, it is more useful that way, IMHO. It would be nice for VFP to work over the established relationships and build a real data tree, but then it would be a bit difficult (and probably quite slower) to pares it again to get the cursors.

If you want to take a look at a small framework I used to present sessions on that, you can check:

http://www.mugdays.com.ar/Conferencias.asp

The PPTs are in Spanish, but the code... is just code. 8-)

You can also take a look at several articles published on UT Magazine and CoDe.

Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform