fn:parse-integer
Converts a string to an integer, recognizing any radix in the range 2 to 36.
parse-integer($value as xs:string?, $radix as xs:integer?:=10) ➔ xs:integer?
Arguments | ||||
| $value | xs:string? | The input string | |
| $radix | xs:integer? | := 10 | The required radix |
Result | xs:integer? | |||
Namespace
http://www.w3.org/2005/xpath-functions
Links to W3C specifications
XPath 4.0 Functions and Operators
Saxon availability
Available in XPath 4.0, XSLT 4.0, and XQuery 4.0. Requires Saxon-PE or Saxon-EE. Implemented since Saxon 13. Available for all platforms.