Updated xrefgen stylesheet and corresponding params to do semantic logic based on @data-type instead of @class.