As you may have realised from replies, it's normal for macros to be uploaded in Keyboard Maestro's format rather than to be shown as XML.
Importing macros in XML format is possible, but is not straightforward. If anyone here wants to experiment with that, this post by @Nige_S suggests to me that the problem may be with missing macro group information in the header.
If that were the only problem, you would still have to tweak the macro, I suspect. I note the presence of “EXAMPLEMACRO001”, so I take it that it is an example that you have found somewhere. Note that the macro will have been set up for an example image, too—so don't expect it to work with just any image that you throw at it.
It might help if we had information about the origin of the XML and what you want to do with the macro, although I have to say I am not too hopeful, for the reasons that I have just mentioned.
Gain some basic experience by making a few very simple macros, and your knowledge will build over time.