
xdmp:uri-format( $uri as xs:string ) as xs:string
Returns the format of the given URI as matched in the mimetypes configuration.
| Parameters | |
|---|---|
| uri | The document URI. | 
  xdmp:uri-format("example.txt")
  => text
  xdmp:uri-format("example.xml")
  => xml
  xdmp:uri-format("example.json")
  => json