.. _functx_siblings-same-name:
=========================
functx:siblings-same-name
=========================
The siblings of an XML element that have the same name
Description
~~~~~~~~~~~
The functx:siblings-same-name function returns the siblings of an element that
have the same qualified name. It returns only other elements, not attributes,
and not the element itself.
.. list-table::
:widths: 40 60
:header-rows: 1
* - **Parameters**
- **Description**
* - element:element()
- the node
Examples
~~~~~~~~
.. list-table::
:widths: 50 50
:header-rows: 1
* - **XPath**
- **Results**
* - functx:siblings-same-name($in-xml/author[1])
- John Doe
* - functx:siblings-same-name($in-xml/author[1]/fName[2])
- Kate
See Also
~~~~~~~~
.. toctree::
:titlesonly:
:glob:
* :ref:`functx_siblings`.