Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
N-Tier Design
Message
 
 
À
18/09/2003 11:03:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00830147
Message ID:
00830389
Vues:
17
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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform