Export Blueprint data to XML


Does anyone know how I can export the values of certain variables in blueprint to an xml file?

My main goal is to:

  1. Get the scale, location, and rotation values of a camera in UE4.
  2. Save these values to an XML file so I can read the camera data into Maya via a tool that I am writing.

Any help would be greatly appreciated. Thanks!