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