Barbara,
I was aware that FPW26 was not going to give me ´state of the art´ possibilities :-)
Considering the fact that the dbf2xml function written by Ken Levy was easily converted from VFP to FPW26 I had hoped that it could also be done for xml2dbf. Considering the fact that xml is only ascii I had hoped that someone had done this....
I guess I will need to dive into this myself and to create some functionality to do this natively in FPW26.
Thanks,
Ron
>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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only