Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor to XML using XMLAdapter
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087940
Message ID:
01090988
Views:
65
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform