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 © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback