It sounds like you would benefit of building yourself a little toolbox of what you need to expose to xslt. Inline C# functions are convenient for this if you don't to work outside the C1 console. Here you can paste this code as a function that can be used directly by your Marketing department.
http://docs.composite.net/ASP-NET/CSharpFunctions/Creating-Inline-C-Functions