bin:find
Returns the position of the first occurrence of $search within
$value, starting at $offset.
find($value as (xs:hexBinary | xs:base64Binary)?, $offset as xs:integer, $search as (xs:hexBinary | xs:base64Binary)) ➔ xs:integer?
Arguments | ||||
| $value | (xs:hexBinary | xs:base64Binary)? | Binary data to be searched | |
| $offset | xs:integer | Offset in octets to start searching from | |
| $search | (xs:hexBinary | xs:base64Binary) | Binary data to be searched for | |
Result | xs:integer? | |||
Namespace
http://expath.org/ns/binary
Links to specifications
Saxon availability
Available in XPath 2.0 and later versions. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE. Available for all platforms.