fn:parse-uri

Parses the URI provided and returns a map of its parts.

parse-uri($value as xs:string?, $options as map(*)?:={}) ➔ fn:uri-structure-record?

Arguments

 

$value

xs:string?

The input URI

 

$options

map(*)?

:= {}

Options map

Result

fn:uri-structure-record?

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 12. Available for all platforms.

Notes on the Saxon implementation

Available since Saxon 13 in XPath 4.0. Available since Saxon 12.1 provided that syntax extensions are enabled.