ignore attributes with no value

XML doesn't allow attributes with no value, so arg=None should be ignored (should this handle False, etc.?)