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 | Constructing the Mashup Result, Inputs or Intermediate Variables | <constructor>
 
<constructor>
This statement constructs a well-formed document, wrapped in a root node, and assigns it to an input or output parameter or to a variable. You define the structure as literal XML and assign static data or use dynamic mashup expressions to assign data dynamically.
It is a good practice to use a separate namespace for the elements in the structure being constructed, so that they are clearly separated from EMML markup.
See Construct the Complete Document and Construct the Root and Append Repeated Content for examples of the two common patterns used with <constructor>. See also Working Samples for information on sample mashups that use this statement.
Can Contain
Can contain text and any well-formed literal XML.
Allowed In
mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while
Attributes
Name
Required
Description
outputvariable
yes
The required variable to accept the output of this statement.

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