# Unit xquery_module_binary

Description
Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Variables

## Description

This unit implements some functions of the binary module of http://expath.org/spec/binary

Call registerModuleBinary to register it. Afterwards you can use e.g. `query('Q{http://expath.org/ns/binary}length(xs:base64Binary("abcd"))')` to get the length of a base64Binary after converting the base64 to binary. If you add the namespace to the namespaces in the static context, you can write it simpler as `query('bin:length(xs:base64Binary("abcd"))')`.

## Overview

### Functions and Procedures

`procedure registerModuleBinary;`

### Constants

`XMLNamespaceURL_Expath_Binary = 'http://expath.org/ns/binary';`

### Variables

`XMLNamespace_Expath_Binary: TNamespace;`

## Description

### Functions and Procedures

`procedure registerModuleBinary;`
Registers the module to the XQuery engine

### Constants

`XMLNamespaceURL_Expath_Binary = 'http://expath.org/ns/binary';`

### Variables

`XMLNamespace_Expath_Binary: TNamespace;`

Generated by PasDoc 0.16.0.