On Tue, 28 May 2013 08:21:25 +1000, Chris Angelico wrote: > I'll use XML when I have to, but if I'm inventing my own protocol, > nope. There are just too many quirks with it. How do you represent an > empty string named Foo?
> <Foo></Foo> > or equivalently > <Foo/> > How do you represent an empty list named Foo? The same way. How do you > represent an empty dict/mapping named Foo? Lemme look up my > documentation... ah, the same way. Does this seem right to > you?</JubalEarly> <Foo type="list" /> <Foo type="mapping" /> <Foo type="string" /> -- Denis McMahon, denismfmcma...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list