[RFCv3 04/25] docs: Add xmlgen.rst to explain how to use it