An XML snippet for copying a macro is shown in the example here:
<dmCreate> ... <macros> <macro selection="included"> <name>macro1</name> <database>database1</database> </macro> </macros> ... </dmCreate>
Multiple macros can be specified within the macros element. Each macro element has two required elements: name and database.