Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in EMML | Advanced Mashup Techniques | Defining and Using Custom Mashup Statements with Macros | Calling a Macro | <macro:custom-macro-name>
 
<macro:custom-macro-name>
The use of a custom EMML statement defined in a macro of that name. To use macros in a mashup script or macro, you must declare the Macro Reference Namespace and use the namespace prefix with your custom macro name.
See also Calling a Macro and EMML Namespaces for more information and examples.
Content Model
Empty. Input parameters to the macro are passed as attributes of the same name.
Allowed In
mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while
Attributes
Name
Required
Description
domain
Conditional
The domain that this macro belongs to. This is not required for macros in the built-in global domain.
The domain name ensures that the correct macro is invoked when more than one domain of macros is included in a mashup script.
Note: If you omit this attribute and the macro name is not unique, the MashZone NextGen Server calls the last macro with this name.
outputvariable
The variable in this mashup script or macro that should receive the results of this macro. This is optional.
any input parameter
Pass input parameters to the macro using attributes of the same name.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release