The cookie-cat website provides a WordPress feed to dynamically generate the data for the cc_mapping.xml file. The feed is coded as part of the cookie-category custom plugin.
The URL request is of the form
https://www.cookie-cat.co.uk/feed/cc_mapping?plugins=plugin1,plugin2, ... , pluginn,extras&cookies=cookie1,cookie2, ..., cookiennn
The response is an XML feed that can be saved as the cc_mapping.xml file that is used by the cookie-cat plugin.
As you can see from the diagram it’s not particularly pretty 🙂