Including Macro Domains in Mashup Scripts or Macros
You can use macros in a mashup script or another macro if:
They are inner macros that are defined within that mashup script or macro.
They are registered as global macros.
They are reusable macros and you include the macro domain that defines them in your mashup script or macro.
To include a macro domain in a mashup script or another macro, add
<include> directly within <mashup>, <macro> or <operation> and specify the domain. In the
Mashup Editor, you can automatically include the appropriate macro domain when you add the macro call to a mashup script. See
Adding Macro Calls Automatically in the Mashup Editor for information.
For example:
<mashup name="myMashup"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openmashup.org/schemas/v1.0/EMML/
../xsd/EMMLPrestoSpec.xsd"
xmlns="http://http://www.openmashup.org/schemas/v1.0/EMML"
xmlns:macro ="http://www.openmashup.org/schemas/v1.0/EMMLMacro"
xmlns:presto="http://www.jackbe.com/v1.0/EMMLPrestoExtensions">
<include domain="myConversionMacros"/>
...