Mashups in EMML : Advanced Mashup Techniques : Making Mashup Scripts Dynamic : <template>
<template>
This statement defines an expression with dynamic parameters and assigns that to a variable. This variable can then be referred to dynamically in other mashup script statements that use expressions.
See also Dynamic Mashup Syntax for more information and examples.
Can Contain
Empty
Allowed In
mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while
Attributes
Name
Required
Description
expr
yes
The XPath expression to assign to the output variable. Typically, this XPath expression also contains one or more mashup expressions that will accept input parameters at runtime.
Note:  
The XPath expressions is this attribute are, by definition, evaluated twice to provide the dynamic capabilities of <template>. Because of this, you may need to escape or double-escape XML delimiter characters such as &.
outputvariable
yes
The required variable to accept the output of this statement.
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback