years-from-duration
Returns an xs:integer representing the years component in the canonical lexical representation of the duration value supplied as argument.
Languages
XQuery, XSLT 2.0, XSLT 3.0.
Parameters
Name | Type | Description |
---|---|---|
duration | xs:duration | The input value of type xs:duration. |