Skip to main content

<parameters> and <parameter>

Specifies the parameters for another BPL element as a set of name-value pairs.

Syntax

<parameters>
    <parameter name='MAXLEN' value='1024' />
    <parameter name='MINLEN' value='1' /> 
</parameters> 

Elements

<parameter> element

Zero or more <parameter> elements may appear inside the <parameters> container. Each <parameter> element defines one parameter.

Each <parameter> element has two attributes, name and value, as described below.

Description

The optional <parameters> element is valid only within <property> or <xslt>. <parameters> defines the parameters for its containing BPL element as a set of name-value pairs:

  • Within <context>, <parameters> contains the data type parameters for a <property> that you are defining in the business process execution context. There is a detailed explanation of the business process execution context in documentation of the <assign> element.

  • Within <xslt>, <parameters> contains any XSLT name-value pairs that you wish to pass to the stylesheet that controls the XSLT transformation.

<parameters> does not support any BPL attributes. It is simply a container for zero or more <parameter> element, one for each parameter. You may provide as many <parameter> elements as you wish, but all must appear within the same <parameters> block. For example:

<context>
  <property name='Test' type='%Integer' initialexpression='342' >
    <parameters>
      <parameter name='MAXVAL' value='1000' />
    </parameters>
  </property>
  <property name='Another' type='%String' initialexpression='Yo' >
    <parameters>
      <parameter name='MAXLEN' value='2' />
      <parameter name='MINLEN' value='1' />
    </parameters>
  </property>
</context>

<parameter> Attributes

name attribute

Required. The name of this parameter:

  • Within <property>, name identifies a data type parameter for the property. For valid names, see Parameters.

  • Within <xslt>, name must be the name of a valid XSLT parameter.

value attribute

Optional. The value to assign to the parameter.

See Also

FeedbackOpens in a new tab