# @jc:ddtf Annotation

Specifies the XQuery functions that can be used by the queries and the type of encoding used a design time.

Syntax

@jc:ddtf

[xquery-prologue=""]
[control-design-time-encoding=""]

Example:

/**
* @jc:ddtf xquery-prologue::
* define function debugFunction(xs:string $str) returns xs:string {
* concat("DTF XQuery: ", $str) }
* ::
* control-design-time-encoding="Cp1252"
*/

Attributes

xquery-prologue

Defines the global XQuery functions that can be used by the queries specified in the Transformation Control. (The call to the function is made in the XQuery file that contains the query.) In addition, the @dtf:xquery-prologue annotation with the prologue attribute specifies XQuery namespaces that can be used within the scope of the prologue of the transformation Control.

control-design-time-encoding

Specifies the encoding, such as UTF-8, of the control used by the base methods at design time.