f:uri-scheme

f:uri-scheme — Returns the scheme portion of a URI.

Function:
{http://docbook.org/ns/docbook/functions}uri-scheme#1
Defined in:
modules/functions.xsl
Used in:
main.xsl, modules/chunk-cleanup.xsl
Since:
2.0.6

Synopsis

f:uri-scheme($uri as xs:string) as xs:string?

Description

If the URI begins with a scheme, this function returns the scheme. Otherwise, it returns an empty sequence.