PDA

View Full Version : object to xml howto?



noeska
26-09-2006, 08:29 PM
How do i convert an object to xml data?
I think of using a TRemotable descendant, but i do not understand on how to use the ObjectToSoap function. I think i should use it together with TXmlDocument, but how? Or am i going the hard way? I do not want to use third party components as i want to use turbo delphi.

Also i could use some info serializing objects in delphi e.g. how do i write my own serializing function? E.g. serialize to xml or even fancier to an sql query.... but first i need to learn the basics.... any tutorials on this topic?

Thanks in advance.

noeska
27-09-2006, 05:57 PM
Using google again i found: http://www.delphipages.com/threads/thread.cfm?ID=116604&G=116542 this seems to do what i want, all i have to learn it is object inside object and list and arrays.