Bookmark and Share Share

<output>

The parameter that holds the result returned from a mashup, operation or macro.

See also Declaring Mashup Variables and Parameters for more information and examples.

Can Contain

Typically empty. Can contain text and any well-formed literal XML. If content is defined within this statement, this is the sole output for the mashup or operation.

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:

  • boolean
  • date
  • document (complex variables that have structure)
  • number
  • string
  • Any token that identifies a data type defined by a service. Tokens are typically used for input or output parameters where the service has metadata for a named datatype.

Input parameters for the mashup script cannot be a document type. Only simple types are supported 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.