W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2012

Re: [whatwg] Features for responsive Web design

From: Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Date: Thu, 6 Sep 2012 02:49:51 +0200
To: Glenn Maynard <glenn@zewt.org>
Message-ID: <20120906024951.1b6152ff@desudesudesu>
Cc: Mathew Marquis <mat@matmarquis.com>, Ian Hickson <ian@hixie.ch>, public-respimg@w3.org, WHATWG List <whatwg@whatwg.org>
Glenn Maynard <glenn@zewt.org> schrieb am Wed, 5 Sep 2012 19:01:19
-0500:

> […]
> 
> On Wed, Sep 5, 2012 at 6:01 PM, Nils Dagsson Moskopp <
> nils@dieweltistgarnichtso.net> wrote:
> 
> > Still, this would mean that existing DOM-like node-based data
> > structures could not be used easily – even if filled through
> > HTML5lib – because there would be no obvious mapping for such
> > fractal complexity.
> >
> 
> "Fractal complexity"?  Please don't be dramatic; this is
> embarrassingly simple.

Often, solutions that can be considered “simple” for emitters of data
externalize costs, burdening consumers – especially when “simple”
prevents using off-the-shelf components like XML parsers (if a site
returns JSON in a case where ATOM might suffice) or DOM structures.

Usually, data is (way) more often consumed than generated.

Can you elaborate how you would use Python's ElementTree (or a similar
data structure) with srcset in an “embarrassingly simple” way?
<http://docs.python.org/library/xml.etree.elementtree.html>

-- 
Nils Dagsson Moskopp // erlehmann
<http://dieweltistgarnichtso.net>
Received on Thursday, 6 September 2012 00:51:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:45 UTC