Re: [Simple-support] Multiple Objects in One File
Brought to you by:
niallg
|
From: Timo R. <cr...@ol...> - 2008-06-01 20:46:37
|
Hello Alan, > It's not jumping out at me. Is there an interface where you can > write multiple objects to one file? XStream has object streams for > this purpose... the only way I know is to have a class that wraps references to the objects you would like to serialize. Say we have ObjectA, ObjectB and ObjectC. Just create a class that has references to each of that instances and serialize that class. I'm not really an expert on SimpleXML, but this is the only "solution" I know. Regards, Timo |