Generate parametrs

I have a simple AP that connected with MAVLink to QGC.
But I wanna a parametrs file like “Parametrs.c” for my AP with 98 variables (int & float)
How to create xml file and generate them like MAVLink??
thx a lot