[whatwg] Features for responsive Web design
Nils Dagsson Moskopp
nils at dieweltistgarnichtso.net
Wed Sep 5 17:49:51 PDT 2012
Glenn Maynard <glenn at zewt.org> schrieb am Wed, 5 Sep 2012 19:01:19
> On Wed, Sep 5, 2012 at 6:01 PM, Nils Dagsson Moskopp <
> nils at 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?
Nils Dagsson Moskopp // erlehmann
More information about the whatwg