From: Massimiliano Mirra Date: 2002-03-18T07:03:35+09:00 Subject: Re: [ANN] Xml Serialization for Ruby On Mon, Mar 18, 2002 at 05:20:56AM +0900, Chris Morris wrote: > Xml Serialization allows classes to be marshalled to and from XML, with an > emphasis on concise, human readable and editable XML. :-) > yields either: > > > > new value > > > > or: > > > new value > Might I suggest a slightly different output? Some time ago I wanted to extend the tuple space that comes with Ruby, so that it was accessible to other languages over the net and allowed distributed objects and RPC. The first step was marshalling objects in XML, so I took XMarshal and modified it. This was the output I chose: John 12345 This way, every XML element stays consistent with the pattern. Consider: blah 12345 opposed to: blah 12345 My .02 Euros. :-) Massimiliano