Logical Operators

The Stylus Studio XSLT 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 output port, as shown in this example of a greater than block.

Figure 247. Greater Than Block

You can map the return port to a target structure element or attribute, or to the input port on an XSLT instruction, XPath function, or another condition block.

 
Free Stylus Studio XML Training:
W3C Member