Output list of macros

Keyboard Maestro does not have any direct tools for reading/writing XML. The best bet is problem JXA.

Search for forum for XML (or plist) and you will likely find a lot of info on the subject, such as: