Re: [whatwg] Features for responsive Web design

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