Various simplification in trivial attributes.

I think I'm going to wait before merging this one for the next major
version of tyxml (along with some other breaking changes) in order not
to break compat in each minor version of tyxml...