Updated tocgen stylesheet to do semantic logic based on @data-type instead of @class.