XML exporter for Cycles standalone

Hi folks, sorry if this is the wrong forum but I’m new to this. I was wondering if there is a Blender to .xml exporter so that it can be used with Cycles standalone. Or a documentation of how to build one? Thanks

Would it be easier to just run Blender in batch (“background”) mode and load scenes into it to render in Cycles that way?