.. _functx_distinct-attribute-names: =============================== functx:distinct-attribute-names =============================== The distinct names of all attributes in an XML fragment Description ~~~~~~~~~~~ The functx:distinct-attribute-names function returns the distinct set of attribute names that exist on nodes in $nodes or their descendants. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - nodes:node() - the root to start from Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:distinct-attribute-names($in-xml) - ('a1', 'a2', 'a3') See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_distinct-element-names`.