# @jc:xquery Annotation

Specifies the XQuery files and their attributes for XQuery transformations at run time.

Syntax

@jc:xquery

[xquery-arg-names=""]
[validate-parms="true|false"]
[validate-return="true|false"]
[design-time-encoding=""]

Example:

/**
* @jc:xquery design-time-encoding="Cp1252" xquery-arg-names="" validate-return="false" validate-parms="false"
*/

Attributes

Specifies attributes to be used for XQuery transformations.

xquery-arg-names

Contains the semicolon-separated list of argument names used during the XQuery execution at run time. If an XQuery definition has the following signature:

ConvertPO(String Xqname, String PO, PoDocument poDoc)

the attribute values would be:

PO;poDoc.

validate-parms

At run time, when true, validates the parameters for typed XML documents.

validate-return

At run time, when true validates the return type for typed XML documents.

design-time-encoding

Stores the encoding, such as UTF-8, or the .xq files at design time