2013/10/24 Bobby Powers <bobbypow...@gmail.com>:
> I think Russ Cox said it very well[1]:
>
> Mapping between XML elements and data structures is inherently flawed:
> an XML element is an order-dependent collection of anonymous values,
> while a data structure is an order-independent collection of named
> values.  See [...] json for a textual representation more suitable to
> data structures.
>
> 1 - http://tip.golang.org/src/pkg/encoding/xml/read.go?s=257:579#L7
Yeah. For documents, XML suits more, because (reading) order usually
matters and "names" are given through elements like captions.

Reply via email to