XQC_Sequence_s Struct Reference

This struct represents an instance of the XQuery 1.0 and XPath 2.0 Data Model (XDM). More...

#include <zorba/zorbac.h>


Data Fields

void * data
 for internal use only
void(* free )(XQC_Sequence sequence)
 called to free the resources associated with the xqc_itemfactory.
XQUERY_ERROR(* next )(XQC_Sequence sequence, XQC_Item item)
 Get the next item of the sequence.


Detailed Description

This struct represents an instance of the XQuery 1.0 and XPath 2.0 Data Model (XDM).

See http://www.w3.org/TR/xpath-datamodel/.

Examples:

ccontext.c, cerror.c, cexternal_functions.c, and csimple.c.

Definition at line 1712 of file zorbac.h.


Field Documentation

for internal use only

Definition at line 1739 of file zorbac.h.

called to free the resources associated with the xqc_itemfactory.

Parameters:
sequence the XQC_Sequence that this function pointer is a member of
Examples:
ccontext.c, cerror.c, and csimple.c.

Get the next item of the sequence.

Parameters:
sequence The XQC_Sequence_s that this function pointer is a member of
[out] item The item wrapper that should contain the next item if XQ_NO_ERROR is returned
Return values:
XQC_NO_ERROR 
XQP0019_INTERNAL_ERROR 
any XQuery type or dynamic error
Examples:
ccontext.c, cerror.c, cexternal_functions.c, and csimple.c.


The documentation for this struct was generated from the following file: