Companion object for the XML attribute XAtt trait.
Factory apply method for XAtt trait. Often you may prefer to use the subclasses of XAtt where the name of the attribute has already been set.