XQuilla/docs/xqc-api/xqc_8h.html
2020-02-17 22:19:08 +01:00

726 lines
35 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla XQC API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">include</a></div>
<h1>xqc.h File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
<p>
<a href="xqc_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__InputStream__s.html">XQC_InputStream_s</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="xqc_8h.html#a6">XQC_InputStream</a> struct is designed to be populated by users for the purpose of streaming data into an XQC implementation. <a href="structXQC__InputStream__s.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__ErrorHandler__s.html">XQC_ErrorHandler_s</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="xqc_8h.html#a7">XQC_ErrorHandler</a> struct is designed to be populated by users for the purpose of collecting more detailed error messages from an XQC implementation. <a href="structXQC__ErrorHandler__s.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__Implementation__s.html">XQC_Implementation_s</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="xqc_8h.html#a1">XQC_Implementation</a> struct provides factory functions for preparing queries. <a href="structXQC__Implementation__s.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext_s</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="xqc_8h.html#a2">XQC_StaticContext</a> struct provides a way to specify values for the static context of the query to be prepared. <a href="structXQC__StaticContext__s.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__Expression__s.html">XQC_Expression_s</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="xqc_8h.html#a3">XQC_Expression</a> struct represents a prepared query, and allows the user to execute that query any number of times. <a href="structXQC__Expression__s.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__DynamicContext__s.html">XQC_DynamicContext_s</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__Sequence__s.html">XQC_Sequence_s</a></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a0">XQC_VERSION_NUMBER</a>&nbsp;&nbsp;&nbsp;1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The version of the XQC API in this header file. <a href="#a0"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structXQC__Implementation__s.html">XQC_Implementation_s</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a1">XQC_Implementation</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext_s</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a2">XQC_StaticContext</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structXQC__Expression__s.html">XQC_Expression_s</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a3">XQC_Expression</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structXQC__DynamicContext__s.html">XQC_DynamicContext_s</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a4">XQC_DynamicContext</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structXQC__Sequence__s.html">XQC_Sequence_s</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a5">XQC_Sequence</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structXQC__InputStream__s.html">XQC_InputStream_s</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a6">XQC_InputStream</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structXQC__ErrorHandler__s.html">XQC_ErrorHandler_s</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a7">XQC_ErrorHandler</a></td></tr>
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a66">XQC_Error</a> { <br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a66a8">XQC_NO_ERROR</a> = 0,
<a class="el" href="xqc_8h.html#a66a9">XQC_END_OF_SEQUENCE</a>,
<a class="el" href="xqc_8h.html#a66a10">XQC_NO_CURRENT_ITEM</a>,
<a class="el" href="xqc_8h.html#a66a11">XQC_PARSE_ERROR</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a66a12">XQC_INVALID_ARGUMENT</a>,
<a class="el" href="xqc_8h.html#a66a13">XQC_NOT_NODE</a>,
<a class="el" href="xqc_8h.html#a66a14">XQC_INTERNAL_ERROR</a>,
<a class="el" href="xqc_8h.html#a66a15">XQC_NOT_IMPLEMENTED</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a66a16">XQC_UNRECOGNIZED_ENCODING</a>,
<a class="el" href="xqc_8h.html#a66a17">XQC_STATIC_ERROR</a>,
<a class="el" href="xqc_8h.html#a66a18">XQC_TYPE_ERROR</a>,
<a class="el" href="xqc_8h.html#a66a19">XQC_DYNAMIC_ERROR</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a66a20">XQC_SERIALIZATION_ERROR</a>
<br>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The error enumeration used by all XQC functions to designate error condition. <a href="#a66">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a67">XQC_ItemType</a> { <br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a67a21">XQC_EMPTY_TYPE</a> = 0,
<a class="el" href="xqc_8h.html#a67a22">XQC_DOCUMENT_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a23">XQC_ELEMENT_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a24">XQC_ATTRIBUTE_TYPE</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a67a25">XQC_TEXT_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a26">XQC_PROCESSING_INSTRUCTION_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a27">XQC_COMMENT_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a28">XQC_NAMESPACE_TYPE</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a67a29">XQC_ANY_SIMPLE_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a30">XQC_ANY_URI_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a31">XQC_BASE_64_BINARY_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a32">XQC_BOOLEAN_TYPE</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a67a33">XQC_DATE_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a34">XQC_DATE_TIME_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a35">XQC_DAY_TIME_DURATION_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a36">XQC_DECIMAL_TYPE</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a67a37">XQC_DOUBLE_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a38">XQC_DURATION_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a39">XQC_FLOAT_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a40">XQC_G_DAY_TYPE</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a67a41">XQC_G_MONTH_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a42">XQC_G_MONTH_DAY_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a43">XQC_G_YEAR_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a44">XQC_G_YEAR_MONTH_TYPE</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a67a45">XQC_HEX_BINARY_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a46">XQC_NOTATION_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a47">XQC_QNAME_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a48">XQC_STRING_TYPE</a>,
<br>
&nbsp;&nbsp;<a class="el" href="xqc_8h.html#a67a49">XQC_TIME_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a50">XQC_UNTYPED_ATOMIC_TYPE</a>,
<a class="el" href="xqc_8h.html#a67a51">XQC_YEAR_MONTH_DURATION_TYPE</a>
<br>
}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a68">XQC_XPath1Mode</a> { <a class="el" href="xqc_8h.html#a68a52">XQC_XPATH2_0</a>,
<a class="el" href="xqc_8h.html#a68a53">XQC_XPATH1_0</a>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">XPath 1.0 compatibility mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a> <a href="#a68">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a69">XQC_OrderingMode</a> { <a class="el" href="xqc_8h.html#a69a54">XQC_ORDERED</a>,
<a class="el" href="xqc_8h.html#a69a55">XQC_UNORDERED</a>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ordering mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a> <a href="#a69">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a70">XQC_OrderEmptyMode</a> { <a class="el" href="xqc_8h.html#a70a56">XQC_EMPTY_GREATEST</a>,
<a class="el" href="xqc_8h.html#a70a57">XQC_EMPTY_LEAST</a>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default order for empty sequences as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a> <a href="#a70">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a71">XQC_InheritMode</a> { <a class="el" href="xqc_8h.html#a71a58">XQC_INHERIT_NS</a>,
<a class="el" href="xqc_8h.html#a71a59">XQC_NO_INHERIT_NS</a>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inherit part of the Copy-namespace mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a> <a href="#a71">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a72">XQC_PreserveMode</a> { <a class="el" href="xqc_8h.html#a72a60">XQC_PRESERVE_NS</a>,
<a class="el" href="xqc_8h.html#a72a61">XQC_NO_PRESERVE_NS</a>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Preserve part of the Copy-namespace mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a> <a href="#a72">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a73">XQC_BoundarySpaceMode</a> { <a class="el" href="xqc_8h.html#a73a62">XQC_PRESERVE_SPACE</a>,
<a class="el" href="xqc_8h.html#a73a63">XQC_STRIP_SPACE</a>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Boundary-space policy as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a> <a href="#a73">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xqc_8h.html#a74">XQC_ConstructionMode</a> { <a class="el" href="xqc_8h.html#a74a64">XQC_PRESERVE_CONS</a>,
<a class="el" href="xqc_8h.html#a74a65">XQC_STRIP_CONS</a>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construction mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a> <a href="#a74">More...</a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="a0" doxytag="xqc.h::XQC_VERSION_NUMBER"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define XQC_VERSION_NUMBER&nbsp;&nbsp;&nbsp;1 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The version of the XQC API in this header file.
<p>
</td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="a4" doxytag="xqc.h::XQC_DynamicContext"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct <a class="el" href="structXQC__DynamicContext__s.html">XQC_DynamicContext_s</a> <a class="el" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a7" doxytag="xqc.h::XQC_ErrorHandler"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct <a class="el" href="structXQC__ErrorHandler__s.html">XQC_ErrorHandler_s</a> <a class="el" href="structXQC__ErrorHandler__s.html">XQC_ErrorHandler</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a3" doxytag="xqc.h::XQC_Expression"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct <a class="el" href="structXQC__Expression__s.html">XQC_Expression_s</a> <a class="el" href="structXQC__Expression__s.html">XQC_Expression</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a1" doxytag="xqc.h::XQC_Implementation"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct <a class="el" href="structXQC__Implementation__s.html">XQC_Implementation_s</a> <a class="el" href="structXQC__Implementation__s.html">XQC_Implementation</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a6" doxytag="xqc.h::XQC_InputStream"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct <a class="el" href="structXQC__InputStream__s.html">XQC_InputStream_s</a> <a class="el" href="structXQC__InputStream__s.html">XQC_InputStream</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a5" doxytag="xqc.h::XQC_Sequence"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct <a class="el" href="structXQC__Sequence__s.html">XQC_Sequence_s</a> <a class="el" href="structXQC__Sequence__s.html">XQC_Sequence</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a2" doxytag="xqc.h::XQC_StaticContext"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext_s</a> <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="a73" doxytag="xqc.h::XQC_BoundarySpaceMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a73">XQC_BoundarySpaceMode</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Boundary-space policy as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a73a62" doxytag="XQC_PRESERVE_SPACE"></a>XQC_PRESERVE_SPACE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a73a63" doxytag="XQC_STRIP_SPACE"></a>XQC_STRIP_SPACE</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a74" doxytag="xqc.h::XQC_ConstructionMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a74">XQC_ConstructionMode</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Construction mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a74a64" doxytag="XQC_PRESERVE_CONS"></a>XQC_PRESERVE_CONS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a74a65" doxytag="XQC_STRIP_CONS"></a>XQC_STRIP_CONS</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a66" doxytag="xqc.h::XQC_Error"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a66">XQC_Error</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The error enumeration used by all XQC functions to designate error condition.
<p>
All XQC functions return a value of type <a class="el" href="xqc_8h.html#a66">XQC_Error</a>. <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a66a8" doxytag="XQC_NO_ERROR"></a>XQC_NO_ERROR</em>&nbsp;</td><td>
No error. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a9" doxytag="XQC_END_OF_SEQUENCE"></a>XQC_END_OF_SEQUENCE</em>&nbsp;</td><td>
The end of the XQC_Sequence has been reached. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a10" doxytag="XQC_NO_CURRENT_ITEM"></a>XQC_NO_CURRENT_ITEM</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a11" doxytag="XQC_PARSE_ERROR"></a>XQC_PARSE_ERROR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a12" doxytag="XQC_INVALID_ARGUMENT"></a>XQC_INVALID_ARGUMENT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a13" doxytag="XQC_NOT_NODE"></a>XQC_NOT_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a14" doxytag="XQC_INTERNAL_ERROR"></a>XQC_INTERNAL_ERROR</em>&nbsp;</td><td>
An implementation specific error has occurred. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a15" doxytag="XQC_NOT_IMPLEMENTED"></a>XQC_NOT_IMPLEMENTED</em>&nbsp;</td><td>
The implementation does not implement that function. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a16" doxytag="XQC_UNRECOGNIZED_ENCODING"></a>XQC_UNRECOGNIZED_ENCODING</em>&nbsp;</td><td>
The encoding of the query has not been recognized, or is not supported by the implementation.
<p>
All implementations must support queries in UTF-8.</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a17" doxytag="XQC_STATIC_ERROR"></a>XQC_STATIC_ERROR</em>&nbsp;</td><td>
A static error has occured while preparing the query. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a18" doxytag="XQC_TYPE_ERROR"></a>XQC_TYPE_ERROR</em>&nbsp;</td><td>
A type error has occured while preparing or executing the query. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a19" doxytag="XQC_DYNAMIC_ERROR"></a>XQC_DYNAMIC_ERROR</em>&nbsp;</td><td>
A dynamic error has occured while preparing or executing the query. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="a66a20" doxytag="XQC_SERIALIZATION_ERROR"></a>XQC_SERIALIZATION_ERROR</em>&nbsp;</td><td>
A serialization error has occured while serializing the output of a query. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a71" doxytag="xqc.h::XQC_InheritMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a71">XQC_InheritMode</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Inherit part of the Copy-namespace mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a71a58" doxytag="XQC_INHERIT_NS"></a>XQC_INHERIT_NS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a71a59" doxytag="XQC_NO_INHERIT_NS"></a>XQC_NO_INHERIT_NS</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a67" doxytag="xqc.h::XQC_ItemType"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a67">XQC_ItemType</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a67a21" doxytag="XQC_EMPTY_TYPE"></a>XQC_EMPTY_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a22" doxytag="XQC_DOCUMENT_TYPE"></a>XQC_DOCUMENT_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a23" doxytag="XQC_ELEMENT_TYPE"></a>XQC_ELEMENT_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a24" doxytag="XQC_ATTRIBUTE_TYPE"></a>XQC_ATTRIBUTE_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a25" doxytag="XQC_TEXT_TYPE"></a>XQC_TEXT_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a26" doxytag="XQC_PROCESSING_INSTRUCTION_TYPE"></a>XQC_PROCESSING_INSTRUCTION_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a27" doxytag="XQC_COMMENT_TYPE"></a>XQC_COMMENT_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a28" doxytag="XQC_NAMESPACE_TYPE"></a>XQC_NAMESPACE_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a29" doxytag="XQC_ANY_SIMPLE_TYPE"></a>XQC_ANY_SIMPLE_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a30" doxytag="XQC_ANY_URI_TYPE"></a>XQC_ANY_URI_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a31" doxytag="XQC_BASE_64_BINARY_TYPE"></a>XQC_BASE_64_BINARY_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a32" doxytag="XQC_BOOLEAN_TYPE"></a>XQC_BOOLEAN_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a33" doxytag="XQC_DATE_TYPE"></a>XQC_DATE_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a34" doxytag="XQC_DATE_TIME_TYPE"></a>XQC_DATE_TIME_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a35" doxytag="XQC_DAY_TIME_DURATION_TYPE"></a>XQC_DAY_TIME_DURATION_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a36" doxytag="XQC_DECIMAL_TYPE"></a>XQC_DECIMAL_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a37" doxytag="XQC_DOUBLE_TYPE"></a>XQC_DOUBLE_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a38" doxytag="XQC_DURATION_TYPE"></a>XQC_DURATION_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a39" doxytag="XQC_FLOAT_TYPE"></a>XQC_FLOAT_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a40" doxytag="XQC_G_DAY_TYPE"></a>XQC_G_DAY_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a41" doxytag="XQC_G_MONTH_TYPE"></a>XQC_G_MONTH_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a42" doxytag="XQC_G_MONTH_DAY_TYPE"></a>XQC_G_MONTH_DAY_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a43" doxytag="XQC_G_YEAR_TYPE"></a>XQC_G_YEAR_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a44" doxytag="XQC_G_YEAR_MONTH_TYPE"></a>XQC_G_YEAR_MONTH_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a45" doxytag="XQC_HEX_BINARY_TYPE"></a>XQC_HEX_BINARY_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a46" doxytag="XQC_NOTATION_TYPE"></a>XQC_NOTATION_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a47" doxytag="XQC_QNAME_TYPE"></a>XQC_QNAME_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a48" doxytag="XQC_STRING_TYPE"></a>XQC_STRING_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a49" doxytag="XQC_TIME_TYPE"></a>XQC_TIME_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a50" doxytag="XQC_UNTYPED_ATOMIC_TYPE"></a>XQC_UNTYPED_ATOMIC_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a67a51" doxytag="XQC_YEAR_MONTH_DURATION_TYPE"></a>XQC_YEAR_MONTH_DURATION_TYPE</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a70" doxytag="xqc.h::XQC_OrderEmptyMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a70">XQC_OrderEmptyMode</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default order for empty sequences as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a70a56" doxytag="XQC_EMPTY_GREATEST"></a>XQC_EMPTY_GREATEST</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a70a57" doxytag="XQC_EMPTY_LEAST"></a>XQC_EMPTY_LEAST</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a69" doxytag="xqc.h::XQC_OrderingMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a69">XQC_OrderingMode</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Ordering mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a69a54" doxytag="XQC_ORDERED"></a>XQC_ORDERED</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a69a55" doxytag="XQC_UNORDERED"></a>XQC_UNORDERED</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a72" doxytag="xqc.h::XQC_PreserveMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a72">XQC_PreserveMode</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Preserve part of the Copy-namespace mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a72a60" doxytag="XQC_PRESERVE_NS"></a>XQC_PRESERVE_NS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a72a61" doxytag="XQC_NO_PRESERVE_NS"></a>XQC_NO_PRESERVE_NS</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a68" doxytag="xqc.h::XQC_XPath1Mode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="xqc_8h.html#a68">XQC_XPath1Mode</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
XPath 1.0 compatibility mode as defined in <a href="http://www.w3.org/TR/xquery/#static_context.">http://www.w3.org/TR/xquery/#static_context.</a>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a68a52" doxytag="XQC_XPATH2_0"></a>XQC_XPATH2_0</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a68a53" doxytag="XQC_XPATH1_0"></a>XQC_XPATH1_0</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:57 2009 for XQilla XQC API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>