.. _functx_max-node: =============== functx:max-node =============== The XML node whose typed value is the maximum Description ~~~~~~~~~~~ The functx:max-node function returns the node(s) that contains the maximum value, based on typed value. Unlike the built-in fn:max function, it returns the node itself, not its atomic value. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - nodes:node() - the sequence of nodes to test Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:max-node($in-xml//int) - 115 See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`max`. * :ref:`functx_min-node`.