Condition Blocks

The Stylus Studio XQuery mapper allows you to graphically define the following types of conditions:

  • Equal (=)
  • Less than (<)
  • Greater than (>)
  • Less than or equal to (<=)
  • Greater than or equal to (>=)
  • and (&)
  • or (||)

All condition blocks have two input ports and a single Return port, as shown in this example of a greater than block.

Figure 330. Greater Than Block

You can map the Return port to a target structure element or attribute, or to the input port on a FLWOR, function, IF, or another condition block.

 
Free Stylus Studio XML Training:
W3C Member