http://www.zorba-xquery.com/modules/item ZC

Module Description
Before using any of the functions below please remember to import the module namespace:
import module namespace item = "http://www.zorba-xquery.com/modules/item";

This module provides utility functions on items. For example, it provides a function that allows estimating the size in bytes that a given item allocates in memory.

Author:

Matthias Brantner

XQuery version and encoding for this module:

xquery version "1.0" encoding "utf-8";

Zorba version for this module:

The latest version of this module is 1.0. For more information about module versioning in Zorba please check out this resource.

Module Resources
Namespaces
item http://www.zorba-xquery.com/modules/item
ver http://www.zorba-xquery.com/options/versioning
Function Summary
External size ( $item as item() ) as xs:integer
Computes the size in bytes of the given item in main memory.
Functions
External size back to 'Function Summary'
declare function item:size (
            $item as item()
) as xs:integer

Computes the size in bytes of the given item in main memory.

Parameters:
Returns: