"So the choice between elements and attributes is more-or-less arbitrary except for things that can not be represented with attributes (see feenster's answer)." . . . .