Generalization of attributes defined in "http://www.w3.org/2001/XMLSchema-instance", aka "type" and "nil" in particular.
Also added support for ::value instead of {} for value of tag.