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

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

This module provides function that are related to XML Schema support in Zorba.

Author:

Cezar Andrei, 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 2.0. For more information about module versioning in Zorba please check out this resource.

Module Resources
Namespaces
schema http://www.zorba-xquery.com/modules/schema
ver http://www.zorba-xquery.com/options/versioning
Function Summary
External is-validated ( $node as node() ) as xs:boolean
This function returns true if the given node has need validated, and false otherwise.
External schema-type ( $item as item() ) as xs:QName?
This function returns the name of the type of the item passed as parameter.
Updating External validate-in-place ( $node as node() ) as
Updating function that validates the document in place.
Functions
External is-validated back to 'Function Summary'
declare function schema:is-validated (
            $node as node()
) as xs:boolean

This function returns true if the given node has need validated, and false otherwise.

Parameters:
Returns:

External schema-type back to 'Function Summary'
declare function schema:schema-type (
            $item as item()
) as xs:QName?

This function returns the name of the type of the item passed as parameter.

Parameters:
Returns:

Updating External validate-in-place back to 'Function Summary'
declare function schema:validate-in-place (
            $node as node()
) as 

Updating function that validates the document in place. After the updating query is applied the $node will contain the validated content.

Parameters:
Returns: