Partial contrib aff conversion of tag value to <x> and <role> tags.