.. _functx_sequence-node-equal-any-order: ==================================== functx:sequence-node-equal-any-order ==================================== Whether two sequences contain the same XML nodes, regardless of order Description ~~~~~~~~~~~ The functx:sequence-node-equal-any-order function returns a boolean value indicating whether the two arguments have the same nodes, in any order. They are compared based on node identity, not their contents. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - seq1:node() - the first sequence of nodes * - seq2:node() - the second sequence of nodes Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:sequence-node-equal-any-order($in-xml/author, $in-xml/*) - true * - functx:sequence-node-equal-any-order($in-xml/author, ($in-xml/author[2],$in-xml/author[1])) - true * - functx:sequence-node-equal-any-order($in-xml/author[1],$anAuthor) - false See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_sequence-node-equal`. * :ref:`functx_sequence-deep-equal`.