Create a Reusable Macro Library
Macro libraries are XML files with the definitions or one ore several macros within one domain. Because they are file-based, macro libraries can be a good way to track macros in source control but still easily register them in Business Analytics.
To create a macro library file
1. Create a macro library file in any XML editor of your choice.
2. Add a <macros> element as the root element of the file. For example:
<macros xmlns="http://www.openmashup.org/schemas/v1.0/EMML"
domain="myDomain">
...
</macros>>
3. Optionally, define the domain for all macros in this library in the domain attribute.
4. Define one or more macros for this library with the <macro> statement. 5. Save the macro library file.
Macro libraries typically use the *.emml-macros file extension, although thisis not required.