c.binaryUri ([target : xlink], method : string, [name : string, value : string]*) : nodeset

The function binaryUri creates a URL compliant link to a binary method for the given xlink.

This function accepts an xlink or a method name as an argument.

<xsl:variable name="target">onion://data/objects/100</xsl:variable>
<img src="{c.binaryUri($target, 'thumbnail', 'mode', 'large')}" />
create a URL to a binary method

This example creates a URL to the binary method thumbnail adding a parameter mode.

The representation of the link depends on the configured URI format.