B.1.3 Example 2

As another example a filter to select all SystemEvents (including derived types) that are contained in the Area1 View or the Area2 View would result in a logic tree as shown in Figure B.2 and a ContentFilter as shown in Table B.2.

Figure B.2 – Filter logic tree example

Table B.2 describes the elements, operators and operands used in the example.

Table B.2 – ContentFilter example
Element[]OperatorOperand[0]Operand[1]
0AndElementOperand = 1 ElementOperand = 4
1OrElementOperand = 2ElementOperand = 3
2InViewAttributeOperand = NodeId: Area1, BrowsePath: ".", Attribute: NodeId
3InViewAttributeOperand = NodeId: Area2, BrowsePath: ".", Attribute: NodeId
4OfTypeAttributeOperand = NodeId: SystemEventType, BrowsePath: ".", Attribute: NodeId”