eb6e6d9 simplify Element a bit using kwargs

Authored and Committed by adamwill 8 years ago
    simplify Element a bit using kwargs
    
    avoids the need for an annoying attributes dict. Deal with
    'class' as a special case. There are some others, apparently,
    but hopefully I'm not gonna run into them.
    
    We *could* just use lxml or something, but I'm trying to avoid
    the dep for now...
    
        
file modified
+23 -17