Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xml processing in FPW26
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00789997
Message ID:
00790116
Views:
68
Unfortunately, the best tools for reading XML aren't going to work for you in 2.X. XML is only text, and you can read it in FPW2.6. You'll have to create a cursor with a field to hold the XML, then APPEND FROM XMLFile SDF to get it into your cursor. From there, you can load it into a memory variable (if it's not too long) and use functions like AT(), RAT() and SUBSTR() to pull it apart.

>I need to implement XML functionality in FPW26. To do this I have taken a closer look into the dbf2xml and xml2dbf programs written by Ken Levy. I have made some changes in the dbf2xml program to get it to work in FPW26 and it seems to work fine. Now, however, I also need to implement the xml2dbf in FPW26. This nifty little program, however, uses the oXML=NEWOBJECT("MSXML") object which can't be used in FPW26. I know there must be zillions of ways to do this but I need this in FPW26. Is there anybody that can help be out in this?
>
>Thanks in advance,
>
>Ron
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform