Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor to XML using XMLAdapter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01087940
Message ID:
01090988
Vues:
67
Nick,

>Yep, I thought abount that but it sounds an awfully inefficient solution, writing these tags thousands of times and then going through and replacing each and every one of them. Then, of course, there is the problem of what happens if the data contains the same text as one of the field names!

It would certainly be risky to use the STRTRAN, as you mention, although you could avoid the problem with data/fieldnames conflicting by including the angle brakets (complete tag and endtag strings) in your STRTRAN expressions. The XMLField renaming solution I posted is sort of klunky, but it will get the job done.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform