Exporting all references in xml format

Hi there, and thank you for reading this post,

I  would need to export all references of a RM database in xml format. The references have been tagged into various subsets. I know how to export them subset by subset and it works great, but this means that I end up with as many files as the number of subsets there is. What I would need is to export them all in one go, but with the name of the subsets included in each record (this would be used as categories), as if it were a regular field actually…

Hope this is somehow clear and doable.

Any help much appreciated.

Many thanks

Antoine