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 | Writing Mashups in EMML | Declaring Namespaces
 
Declaring Namespaces
You must declare these namespaces in a mashup script:
*Namespaces used in component mashable information sources.
Note: When you declare namespaces for component mashables, you must use the same namespace prefix as the MashZone NextGen Server.
*Namespaces used in the construction of input parameters, output parameters or variables.
*The macro reference namespace for any custom statements (macros) that you use in your mashup. See Calling a Macro for more information.
*The EMML namespace and the MashZone NextGen EMML Extension namespace.
Note: See EMML Namespaces for the currently supported namespaces for EMML and macros.
You declare namespaces using the xmlns attribute on any element in a mashup script. Typically, it is easier to define all the namespaces used in the script on the <mashup> element. For macros, especially in a macro library, it is a good practice to define namespaces on <macro>.
It has two additional namespace declarations, for Atom and XHTML, that are used in the <constructor> statement to build the body of a <directinvoke> that posts to a blogging service. Namespaces are simply valid URIs - they can be URLs or URNs.
Note: Previous releases used <namespace> elements to define namespace for component mashables. This technique is deprecated, although it is still supported.

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