Re: [dev] Some thoughts about XML

From: Alexander S. <alex0player_AT_gmail.com>
Date: Fri, 25 Oct 2013 13:17:28 +0400

2013/10/24 Bobby Powers <bobbypowers_AT_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.
Received on Fri Oct 25 2013 - 11:17:28 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 25 2013 - 11:24:07 CEST