<input>
Optional element to declare parameters that can be used as input to mashup, operation or macro. Input parameters can be used to provide values for EMML statements including input parameters for component services.
See also Declaring Mashup Variables and Parameters for more information and examples.
| Can Contain | Typically empty. The input data can be defined as text and any well-formed literal XML. |
| Allowed In | mashup, macro, operation, |
Attributes
| Name | Required | Description |
|---|---|---|
| name | yes | The required name for a variable, input parameter or output parameter. Parameter names must be unique within the scope of the mashup script. Names for variables must be unique within the scope of the mashup, if the variable has a global scope, or within the statement in which the variable is declared. |
| type | yes | The required data type for this parameter or variable. Valid values for this include:
Input parameters for the mashup script can be a document type. Curently however, the EMML Runtime Reference Engine supports only simple types for mashup input. |
| service | The optional name of the service that has metadata defining the data type for this parameter or variable. This is required if the value of the type attribute is a token. |
|
| default | The optional, simple default value to use for this variable, input parameter or output parameter. You cannot set default values for document-type variables or parameters. |
Enterprise Mashup Markup Language (EMML) Documentation is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.
