Choose Node Properties

Input Port

Choose nodes can have as many input ports as you specify.

Property
Description
Name
The name displayed in the port's tooltip. Default value is Input#0. This number is incremented by one for each additional input port (Input#1, Input#2, and so on). Not editable.
DataType
The port's datatype. Default value is node(). Other values are available in a drop-down list.
Default Value
The default value for the input. Can be blank (this is the default).
Table 85. Choose Input Port Properties

Node

Property
Description
Name
The name you want to appear in the Choose node's tooltip. Default value is Choose.
Number of Inputs
The number of input ports you want the Choose node to have.
Number of Choices
By default, a Choose node has two choices - one, which you specify, and the "else", which is implicit. You can use this property to specify additional choices.
XPath #0
The XPath expression used to define the choices in the Choose node. There is one XPath# property for each choice.
Table 86. Choose Node Properties

Output Port

Each Choose node has at least two output ports - Output#0, and Output `no match'. It will have other output ports ( Output#1, Output#2, and so on) if other choices have been defined for the Choose node.

Property
Description
Name
The name displayed for the output port; not editable.
DataType
The port's datatype. Default value is node().
Copy to URL
The URL to which you want the output passed. Can be left blank.
Table 87. Choose Output Port Properties

 
Free Stylus Studio XML Training: