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 Reference Namespace
 
Macro Reference Namespace
Custom statements use a separate namespace from EMML because they are unique to your environment. They are not defined in the EMML schema.
When you use macros in a mashup or another macro, the Macro Reference Namespace must be declared in your mashup script or macro. For example:
<mashup name="myMashup"
xmlns="http://www.openmashup.org/schemas/v1.0/EMMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openmashup.org/schemas/v1.0/EMMLSchema ../schema/EMMLSpec.xsd"
xmlns:macro="http://www.openmashup.org/schemas/v1.0/EMMLMacro">
...
</mashup>
<macro name="myCustomMacro"
xmlns:presto="http://www.jackbe.com/v1.0/EMMLPrestoExtensions"
xmlns:macro="http://www.openmashup.org/schemas/v1.0/EMMLMacro">
...
</macro>
See Declaring Namespaces for instructions. See EMML Namespaces for the current Macro Reference Namespace.

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