Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.net serializer equivalent in VFP8?
Message
De
23/05/2003 15:42:11
Lu Ping
Zhuhai Tec Co.
Zhuhai, Chine
 
 
À
23/05/2003 12:25:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00792210
Message ID:
00792395
Vues:
23
hi Tracy:
I have an idea .it is not easy to serialize object to xml.but I think the object is from some
class ,and the properties is specified to some value ,so record the class name and properties value ,then
put it into xml.it is ok.
my idea maybe wrong.

coolyylu

>Hi Bob,
>
>I just saw the serializer/deserializer demonstrated by David Platt of Rolling Thunder in vb.net and c#.net and the marshal/unmarshal demonstrated in java at the Acord Conference this week and it was really something. I'd like to be able to do the same thing in VFP8 if possible. I will be doing some heavy xml processing down the road. I'll check out the wwxml class Rick has. I'm surprised the same capability is not built into VFP8? David Platt had a great demo that he wrote that looks at aggregates, entities, and attributes in xml and created forms with the appropriate controls in all three languages.
>
>Thanks,
>
>>>In vb or c#.net I can use the serializer to take an object and create an xml doc from it and the deserializer to do the reverse just like marshal/unmarshal in java. What is the equivalent in VFP?
>>>
>>>I'm also interested in autogenerating a class wrapper from a schema too. Is the .Net XSD wrapper class generator the only way to do that?
>>
>>Rick Strahl's free wwXML class (you can get at www.west-wind.com) has an ObjectToXML() and XMLToObject() methods which will do this for you. Although I there there are some limitations.
>>
>>BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform