.. _functx_exclusive-or: =================== functx:exclusive-or =================== Whether one (and only one) of two boolean values is true Description ~~~~~~~~~~~ The functx:exclusive-or function returns true if one (and only one) of two boolean values is true. If either value is the empty sequence, the empty sequence is returned. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - arg1:boolean() - the first boolean value * - arg2:boolean() - the second boolean value Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:exclusive-or(true(),false()) - true * - functx:exclusive-or(true(),true()) - false * - functx:exclusive-or(4 > 3,1 > 2) - true