~ubuntu-branches/debian/sid/axis2c/sid

« back to all changes in this revision

Viewing changes to docs/api/html/group__axiom__xpath__api.html

  • Committer: Bazaar Package Importer
  • Author(s): Kyo Lee
  • Date: 2009-12-16 20:27:31 UTC
  • mfrom: (6.1.9 karmic)
  • Revision ID: james.westby@ubuntu.com-20091216202731-ucim9tlbmpwucfz0
Tags: 1.6.0-1
Build for debian package based largely on Ubuntu package (#497594)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
 
3
<title>Axis2/C: api</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
<link href="tabs.css" rel="stylesheet" type="text/css">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.5.3 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
 
11
    <li><a href="modules.html"><span>Modules</span></a></li>
 
12
    <li><a href="annotated.html"><span>Classes</span></a></li>
 
13
    <li><a href="files.html"><span>Files</span></a></li>
 
14
    <li><a href="dirs.html"><span>Directories</span></a></li>
 
15
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
 
16
    <li><a href="examples.html"><span>Examples</span></a></li>
 
17
    <li>
 
18
      <form action="search.php" method="get">
 
19
        <table cellspacing="0" cellpadding="0" border="0">
 
20
          <tr>
 
21
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
 
22
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
 
23
          </tr>
 
24
        </table>
 
25
      </form>
 
26
    </li>
 
27
  </ul>
 
28
</div>
 
29
<h1>api</h1><table border="0" cellpadding="0" cellspacing="0">
 
30
<tr><td></td></tr>
 
31
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
 
32
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression</a></td></tr>
 
33
 
 
34
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context</a></td></tr>
 
35
 
 
36
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result</a></td></tr>
 
37
 
 
38
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node</a></td></tr>
 
39
 
 
40
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
 
41
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g27553a5a92aa57f6fb905367f9e950a5">AXIOM_XPATH_DEBUG</a></td></tr>
 
42
 
 
43
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g7a66629a5a092f0d5514c34d5575c753">AXIOM_XPATH_EVALUATION_ERROR</a>&nbsp;&nbsp;&nbsp;0</td></tr>
 
44
 
 
45
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g4a95eb72761a50fd76c58f61040dd703"></a><!-- doxytag: member="axiom_xpath_api::AXIOM_XPATH_ERROR_STREAMING_NOT_SUPPORTED" ref="g4a95eb72761a50fd76c58f61040dd703" args="" -->
 
46
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>AXIOM_XPATH_ERROR_STREAMING_NOT_SUPPORTED</b>&nbsp;&nbsp;&nbsp;10</td></tr>
 
47
 
 
48
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
 
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <br>
 
50
<a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g064994aadf8d1c9a29e2be75a84bf0fe">axiom_xpath_expression_t</a></td></tr>
 
51
 
 
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <br>
 
53
<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g82ac95df86678723508c6b4fdda1febb">axiom_xpath_context_t</a></td></tr>
 
54
 
 
55
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <br>
 
56
<a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#gd3fd9cff34578fc31d6ebd4d594a87f7">axiom_xpath_result_t</a></td></tr>
 
57
 
 
58
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <br>
 
59
<a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g3ee61d21a66efdb14f7609b79e7c0002">axiom_xpath_result_node_t</a></td></tr>
 
60
 
 
61
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g38e64c9e22325dcc0750e0f32ef0417a"></a><!-- doxytag: member="axiom_xpath_api::axiom_xpath_function_t" ref="g38e64c9e22325dcc0750e0f32ef0417a" args=")(axiom_xpath_context_t *context, int np)" -->
 
62
typedef int(*&nbsp;</td><td class="memItemRight" valign="bottom"><b>axiom_xpath_function_t</b> )(<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context, int np)</td></tr>
 
63
 
 
64
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
 
65
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#gc71f49207aafbf3bc545c23a8f094c6f">axiom_xpath_result_type_t</a> { <br>
 
66
&nbsp;&nbsp;<b>AXIOM_XPATH_TYPE_NODE</b> =  0, 
 
67
<b>AXIOM_XPATH_TYPE_ATTRIBUTE</b>, 
 
68
<b>AXIOM_XPATH_TYPE_NAMESPACE</b>, 
 
69
<b>AXIOM_XPATH_TYPE_TEXT</b>, 
 
70
<br>
 
71
&nbsp;&nbsp;<b>AXIOM_XPATH_TYPE_NUMBER</b>, 
 
72
<b>AXIOM_XPATH_TYPE_BOOLEAN</b>
 
73
<br>
 
74
 }</td></tr>
 
75
 
 
76
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
 
77
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN <br>
 
78
<a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g34b8a60579233870162ebf5d416dc3ac">axiom_xpath_compile_expression</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, const axis2_char_t *xpath_expr)</td></tr>
 
79
 
 
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN <br>
 
81
<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g9835edaade1499c3f3f22a1028e841ff">axiom_xpath_context_create</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, axiom_node_t *root_node)</td></tr>
 
82
 
 
83
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN <br>
 
84
<a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g2012e8e16e51b0d9aec32d85ae12a61a">axiom_xpath_evaluate</a> (<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context, <a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *xpath_expr)</td></tr>
 
85
 
 
86
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN axis2_bool_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#gc2019dd703c5522ea3373e3e061ada47">axiom_xpath_cast_node_to_boolean</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, <a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a> *node)</td></tr>
 
87
 
 
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#ge9336d53cde0e884f5fb213b9df02674">axiom_xpath_cast_node_to_number</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, <a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a> *node)</td></tr>
 
89
 
 
90
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN <br>
 
91
axis2_char_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g326af499dbf89b48595f9f8464472488">axiom_xpath_cast_node_to_string</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, <a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a> *node)</td></tr>
 
92
 
 
93
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN <br>
 
94
axiom_node_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#gff7f77f32a203e90418d1e920f5ab30d">axiom_xpath_cast_node_to_axiom_node</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, <a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a> *node)</td></tr>
 
95
 
 
96
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g9c605179eff1ce688aeed2bb3a5a615f">axiom_xpath_free_context</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, <a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context)</td></tr>
 
97
 
 
98
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g5c75692634a5b8c50aa215838164873c">axiom_xpath_free_expression</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, <a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *xpath_expr)</td></tr>
 
99
 
 
100
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#gbce6df5e417ac892e3c472a9e8d9b159">axiom_xpath_free_result</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, <a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result_t</a> *result)</td></tr>
 
101
 
 
102
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g521831b95af07a1d758870955e21ec46">axiom_xpath_register_namespace</a> (<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context, axiom_namespace_t *ns)</td></tr>
 
103
 
 
104
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN <br>
 
105
axiom_namespace_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g81ba6657a1992f1b45a0930f7a413b68">axiom_xpath_get_namespace</a> (<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context, axis2_char_t *prefix)</td></tr>
 
106
 
 
107
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g3c28eba21a5183ab268021129d9cad12">axiom_xpath_clear_namespaces</a> (<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context)</td></tr>
 
108
 
 
109
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN <br>
 
110
<a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g1cd43a5e6fb152d14a218f923418f8d6">axiom_xpath_evaluate_streaming</a> (<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context, <a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *xpath_expr)</td></tr>
 
111
 
 
112
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN axis2_bool_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g83c7017c40dd0977276b77d97cbff6a5">axiom_xpath_streaming_check</a> (const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *env, <a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *expr)</td></tr>
 
113
 
 
114
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#gaa194fb637ad142a32510933243ddda5">axiom_xpath_register_default_functions_set</a> (<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context)</td></tr>
 
115
 
 
116
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#gb6cc87a2fa3c5adf9d7844d21e2f747b">axiom_xpath_register_function</a> (<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context, axis2_char_t *name, axiom_xpath_function_t func)</td></tr>
 
117
 
 
118
<tr><td class="memItemLeft" nowrap align="right" valign="top">AXIS2_EXTERN <br>
 
119
axiom_xpath_function_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axiom__xpath__api.html#g0cff83ae01a93dfd36978407b9895399">axiom_xpath_get_function</a> (<a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *context, axis2_char_t *name)</td></tr>
 
120
 
 
121
</table>
 
122
<hr><h2>Define Documentation</h2>
 
123
<a class="anchor" name="g27553a5a92aa57f6fb905367f9e950a5"></a><!-- doxytag: member="axiom_xpath.h::AXIOM_XPATH_DEBUG" ref="g27553a5a92aa57f6fb905367f9e950a5" args="" -->
 
124
<div class="memitem">
 
125
<div class="memproto">
 
126
      <table class="memname">
 
127
        <tr>
 
128
          <td class="memname">#define AXIOM_XPATH_DEBUG          </td>
 
129
        </tr>
 
130
      </table>
 
131
</div>
 
132
<div class="memdoc">
 
133
 
 
134
<p>
 
135
Enable tracing 
 
136
</div>
 
137
</div><p>
 
138
<a class="anchor" name="g7a66629a5a092f0d5514c34d5575c753"></a><!-- doxytag: member="axiom_xpath.h::AXIOM_XPATH_EVALUATION_ERROR" ref="g7a66629a5a092f0d5514c34d5575c753" args="" -->
 
139
<div class="memitem">
 
140
<div class="memproto">
 
141
      <table class="memname">
 
142
        <tr>
 
143
          <td class="memname">#define AXIOM_XPATH_EVALUATION_ERROR&nbsp;&nbsp;&nbsp;0          </td>
 
144
        </tr>
 
145
      </table>
 
146
</div>
 
147
<div class="memdoc">
 
148
 
 
149
<p>
 
150
An error occured while evaluating the xpath expression 
 
151
</div>
 
152
</div><p>
 
153
<hr><h2>Typedef Documentation</h2>
 
154
<a class="anchor" name="g82ac95df86678723508c6b4fdda1febb"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_context_t" ref="g82ac95df86678723508c6b4fdda1febb" args="" -->
 
155
<div class="memitem">
 
156
<div class="memproto">
 
157
      <table class="memname">
 
158
        <tr>
 
159
          <td class="memname">typedef struct <a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context</a> <a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a>          </td>
 
160
        </tr>
 
161
      </table>
 
162
</div>
 
163
<div class="memdoc">
 
164
 
 
165
<p>
 
166
The XPath context Keeps a reference to the context node or attribute, XPath expression, environment and result set. 
 
167
</div>
 
168
</div><p>
 
169
<a class="anchor" name="g064994aadf8d1c9a29e2be75a84bf0fe"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_expression_t" ref="g064994aadf8d1c9a29e2be75a84bf0fe" args="" -->
 
170
<div class="memitem">
 
171
<div class="memproto">
 
172
      <table class="memname">
 
173
        <tr>
 
174
          <td class="memname">typedef struct <a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression</a> <a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a>          </td>
 
175
        </tr>
 
176
      </table>
 
177
</div>
 
178
<div class="memdoc">
 
179
 
 
180
<p>
 
181
XPath expression It includes the expression as a string and parsed data. 
 
182
</div>
 
183
</div><p>
 
184
<a class="anchor" name="g3ee61d21a66efdb14f7609b79e7c0002"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_result_node_t" ref="g3ee61d21a66efdb14f7609b79e7c0002" args="" -->
 
185
<div class="memitem">
 
186
<div class="memproto">
 
187
      <table class="memname">
 
188
        <tr>
 
189
          <td class="memname">typedef struct <a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node</a> <a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a>          </td>
 
190
        </tr>
 
191
      </table>
 
192
</div>
 
193
<div class="memdoc">
 
194
 
 
195
<p>
 
196
XPath result Stores type and value of the result. 
 
197
</div>
 
198
</div><p>
 
199
<a class="anchor" name="gd3fd9cff34578fc31d6ebd4d594a87f7"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_result_t" ref="gd3fd9cff34578fc31d6ebd4d594a87f7" args="" -->
 
200
<div class="memitem">
 
201
<div class="memproto">
 
202
      <table class="memname">
 
203
        <tr>
 
204
          <td class="memname">typedef struct <a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result</a> <a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result_t</a>          </td>
 
205
        </tr>
 
206
      </table>
 
207
</div>
 
208
<div class="memdoc">
 
209
 
 
210
<p>
 
211
XPath result set Contains the result set and other information such as whether the expression was evaluated successfully. 
 
212
</div>
 
213
</div><p>
 
214
<hr><h2>Enumeration Type Documentation</h2>
 
215
<a class="anchor" name="gc71f49207aafbf3bc545c23a8f094c6f"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_result_type_t" ref="gc71f49207aafbf3bc545c23a8f094c6f" args="" -->
 
216
<div class="memitem">
 
217
<div class="memproto">
 
218
      <table class="memname">
 
219
        <tr>
 
220
          <td class="memname">enum <a class="el" href="group__axiom__xpath__api.html#gc71f49207aafbf3bc545c23a8f094c6f">axiom_xpath_result_type_t</a>          </td>
 
221
        </tr>
 
222
      </table>
 
223
</div>
 
224
<div class="memdoc">
 
225
 
 
226
<p>
 
227
XPath result types 
 
228
</div>
 
229
</div><p>
 
230
<hr><h2>Function Documentation</h2>
 
231
<a class="anchor" name="gff7f77f32a203e90418d1e920f5ab30d"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_cast_node_to_axiom_node" ref="gff7f77f32a203e90418d1e920f5ab30d" args="(const axutil_env_t *env, axiom_xpath_result_node_t *node)" -->
 
232
<div class="memitem">
 
233
<div class="memproto">
 
234
      <table class="memname">
 
235
        <tr>
 
236
          <td class="memname">AXIS2_EXTERN axiom_node_t* axiom_xpath_cast_node_to_axiom_node           </td>
 
237
          <td>(</td>
 
238
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
239
          <td class="paramname"> <em>env</em>, </td>
 
240
        </tr>
 
241
        <tr>
 
242
          <td class="paramkey"></td>
 
243
          <td></td>
 
244
          <td class="paramtype"><a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a> *&nbsp;</td>
 
245
          <td class="paramname"> <em>node</em></td><td>&nbsp;</td>
 
246
        </tr>
 
247
        <tr>
 
248
          <td></td>
 
249
          <td>)</td>
 
250
          <td></td><td></td><td width="100%"></td>
 
251
        </tr>
 
252
      </table>
 
253
</div>
 
254
<div class="memdoc">
 
255
 
 
256
<p>
 
257
Convert an XPath result to an axiom node. If the result is an axiom node it is returned and NULL otherwise.<p>
 
258
<dl compact><dt><b>Parameters:</b></dt><dd>
 
259
  <table border="0" cellspacing="2" cellpadding="0">
 
260
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
261
    <tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>A pointer to the XPath result </td></tr>
 
262
  </table>
 
263
</dl>
 
264
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The axiom node. </dd></dl>
 
265
 
 
266
</div>
 
267
</div><p>
 
268
<a class="anchor" name="gc2019dd703c5522ea3373e3e061ada47"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_cast_node_to_boolean" ref="gc2019dd703c5522ea3373e3e061ada47" args="(const axutil_env_t *env, axiom_xpath_result_node_t *node)" -->
 
269
<div class="memitem">
 
270
<div class="memproto">
 
271
      <table class="memname">
 
272
        <tr>
 
273
          <td class="memname">AXIS2_EXTERN axis2_bool_t axiom_xpath_cast_node_to_boolean           </td>
 
274
          <td>(</td>
 
275
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
276
          <td class="paramname"> <em>env</em>, </td>
 
277
        </tr>
 
278
        <tr>
 
279
          <td class="paramkey"></td>
 
280
          <td></td>
 
281
          <td class="paramtype"><a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a> *&nbsp;</td>
 
282
          <td class="paramname"> <em>node</em></td><td>&nbsp;</td>
 
283
        </tr>
 
284
        <tr>
 
285
          <td></td>
 
286
          <td>)</td>
 
287
          <td></td><td></td><td width="100%"></td>
 
288
        </tr>
 
289
      </table>
 
290
</div>
 
291
<div class="memdoc">
 
292
 
 
293
<p>
 
294
Convert an XPath result to a boolean. If the result is a boolean the value of it is returned. If the result is a number, AXIS2_TRUE is returned if the value is not equal to 0 and AXIS2_FALSE otherwise. Otherwise AXIS2_TRUE is returned if the result is not NULL and AXIS2_FALSE otherwise.<p>
 
295
<dl compact><dt><b>Parameters:</b></dt><dd>
 
296
  <table border="0" cellspacing="2" cellpadding="0">
 
297
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
298
    <tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>A pointer to the XPath result </td></tr>
 
299
  </table>
 
300
</dl>
 
301
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The boolean value. </dd></dl>
 
302
 
 
303
</div>
 
304
</div><p>
 
305
<a class="anchor" name="ge9336d53cde0e884f5fb213b9df02674"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_cast_node_to_number" ref="ge9336d53cde0e884f5fb213b9df02674" args="(const axutil_env_t *env, axiom_xpath_result_node_t *node)" -->
 
306
<div class="memitem">
 
307
<div class="memproto">
 
308
      <table class="memname">
 
309
        <tr>
 
310
          <td class="memname">AXIS2_EXTERN double axiom_xpath_cast_node_to_number           </td>
 
311
          <td>(</td>
 
312
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
313
          <td class="paramname"> <em>env</em>, </td>
 
314
        </tr>
 
315
        <tr>
 
316
          <td class="paramkey"></td>
 
317
          <td></td>
 
318
          <td class="paramtype"><a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a> *&nbsp;</td>
 
319
          <td class="paramname"> <em>node</em></td><td>&nbsp;</td>
 
320
        </tr>
 
321
        <tr>
 
322
          <td></td>
 
323
          <td>)</td>
 
324
          <td></td><td></td><td width="100%"></td>
 
325
        </tr>
 
326
      </table>
 
327
</div>
 
328
<div class="memdoc">
 
329
 
 
330
<p>
 
331
Convert an XPath result to a number. If the result is a boolean, 1 is returned if it's true and 0 otherwise. If the result is a number the value of it is returned. Otherwise AXIS2_TRUE is returned if the result is not NULL and AXIS2_FALSE otherwise.<p>
 
332
<dl compact><dt><b>Parameters:</b></dt><dd>
 
333
  <table border="0" cellspacing="2" cellpadding="0">
 
334
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
335
    <tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>A pointer to the XPath result </td></tr>
 
336
  </table>
 
337
</dl>
 
338
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The numerical value. </dd></dl>
 
339
 
 
340
</div>
 
341
</div><p>
 
342
<a class="anchor" name="g326af499dbf89b48595f9f8464472488"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_cast_node_to_string" ref="g326af499dbf89b48595f9f8464472488" args="(const axutil_env_t *env, axiom_xpath_result_node_t *node)" -->
 
343
<div class="memitem">
 
344
<div class="memproto">
 
345
      <table class="memname">
 
346
        <tr>
 
347
          <td class="memname">AXIS2_EXTERN axis2_char_t* axiom_xpath_cast_node_to_string           </td>
 
348
          <td>(</td>
 
349
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
350
          <td class="paramname"> <em>env</em>, </td>
 
351
        </tr>
 
352
        <tr>
 
353
          <td class="paramkey"></td>
 
354
          <td></td>
 
355
          <td class="paramtype"><a class="el" href="structaxiom__xpath__result__node.html">axiom_xpath_result_node_t</a> *&nbsp;</td>
 
356
          <td class="paramname"> <em>node</em></td><td>&nbsp;</td>
 
357
        </tr>
 
358
        <tr>
 
359
          <td></td>
 
360
          <td>)</td>
 
361
          <td></td><td></td><td width="100%"></td>
 
362
        </tr>
 
363
      </table>
 
364
</div>
 
365
<div class="memdoc">
 
366
 
 
367
<p>
 
368
Convert an XPath result to text. If the result is a boolean, "true" is returned if it's true and "false" otherwise. If the result is a number the text representation of it is returned. If the result is a text the value of it is returned. If the result is an axiom node, the text value of it is returned If the result is an axiom attribue, the text value of it is returned<p>
 
369
<dl compact><dt><b>Parameters:</b></dt><dd>
 
370
  <table border="0" cellspacing="2" cellpadding="0">
 
371
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
372
    <tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>A pointer to the XPath result </td></tr>
 
373
  </table>
 
374
</dl>
 
375
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The text value. </dd></dl>
 
376
 
 
377
</div>
 
378
</div><p>
 
379
<a class="anchor" name="g3c28eba21a5183ab268021129d9cad12"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_clear_namespaces" ref="g3c28eba21a5183ab268021129d9cad12" args="(axiom_xpath_context_t *context)" -->
 
380
<div class="memitem">
 
381
<div class="memproto">
 
382
      <table class="memname">
 
383
        <tr>
 
384
          <td class="memname">AXIS2_EXTERN void axiom_xpath_clear_namespaces           </td>
 
385
          <td>(</td>
 
386
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
387
          <td class="paramname"> <em>context</em>          </td>
 
388
          <td>&nbsp;)&nbsp;</td>
 
389
          <td width="100%"></td>
 
390
        </tr>
 
391
      </table>
 
392
</div>
 
393
<div class="memdoc">
 
394
 
 
395
<p>
 
396
Clears all registered XPath namespaces<p>
 
397
<dl compact><dt><b>Parameters:</b></dt><dd>
 
398
  <table border="0" cellspacing="2" cellpadding="0">
 
399
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath Context, must not be null </td></tr>
 
400
  </table>
 
401
</dl>
 
402
 
 
403
</div>
 
404
</div><p>
 
405
<a class="anchor" name="g34b8a60579233870162ebf5d416dc3ac"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_compile_expression" ref="g34b8a60579233870162ebf5d416dc3ac" args="(const axutil_env_t *env, const axis2_char_t *xpath_expr)" -->
 
406
<div class="memitem">
 
407
<div class="memproto">
 
408
      <table class="memname">
 
409
        <tr>
 
410
          <td class="memname">AXIS2_EXTERN <a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a>* axiom_xpath_compile_expression           </td>
 
411
          <td>(</td>
 
412
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
413
          <td class="paramname"> <em>env</em>, </td>
 
414
        </tr>
 
415
        <tr>
 
416
          <td class="paramkey"></td>
 
417
          <td></td>
 
418
          <td class="paramtype">const axis2_char_t *&nbsp;</td>
 
419
          <td class="paramname"> <em>xpath_expr</em></td><td>&nbsp;</td>
 
420
        </tr>
 
421
        <tr>
 
422
          <td></td>
 
423
          <td>)</td>
 
424
          <td></td><td></td><td width="100%"></td>
 
425
        </tr>
 
426
      </table>
 
427
</div>
 
428
<div class="memdoc">
 
429
 
 
430
<p>
 
431
Compile an XPath expression<p>
 
432
<dl compact><dt><b>Parameters:</b></dt><dd>
 
433
  <table border="0" cellspacing="2" cellpadding="0">
 
434
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
435
    <tr><td valign="top"></td><td valign="top"><em>xpath_expr</em>&nbsp;</td><td>A pointer to the XPath expression </td></tr>
 
436
  </table>
 
437
</dl>
 
438
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The parsed XPath expression. Returns NULL if an error occured while parsing. </dd></dl>
 
439
 
 
440
</div>
 
441
</div><p>
 
442
<a class="anchor" name="g9835edaade1499c3f3f22a1028e841ff"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_context_create" ref="g9835edaade1499c3f3f22a1028e841ff" args="(const axutil_env_t *env, axiom_node_t *root_node)" -->
 
443
<div class="memitem">
 
444
<div class="memproto">
 
445
      <table class="memname">
 
446
        <tr>
 
447
          <td class="memname">AXIS2_EXTERN <a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a>* axiom_xpath_context_create           </td>
 
448
          <td>(</td>
 
449
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
450
          <td class="paramname"> <em>env</em>, </td>
 
451
        </tr>
 
452
        <tr>
 
453
          <td class="paramkey"></td>
 
454
          <td></td>
 
455
          <td class="paramtype">axiom_node_t *&nbsp;</td>
 
456
          <td class="paramname"> <em>root_node</em></td><td>&nbsp;</td>
 
457
        </tr>
 
458
        <tr>
 
459
          <td></td>
 
460
          <td>)</td>
 
461
          <td></td><td></td><td width="100%"></td>
 
462
        </tr>
 
463
      </table>
 
464
</div>
 
465
<div class="memdoc">
 
466
 
 
467
<p>
 
468
Create an empty XPath context<p>
 
469
<dl compact><dt><b>Parameters:</b></dt><dd>
 
470
  <table border="0" cellspacing="2" cellpadding="0">
 
471
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
472
    <tr><td valign="top"></td><td valign="top"><em>root_node</em>&nbsp;</td><td>A pointer to the root of the tree </td></tr>
 
473
  </table>
 
474
</dl>
 
475
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The initialized XPath context. </dd></dl>
 
476
 
 
477
</div>
 
478
</div><p>
 
479
<a class="anchor" name="g2012e8e16e51b0d9aec32d85ae12a61a"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_evaluate" ref="g2012e8e16e51b0d9aec32d85ae12a61a" args="(axiom_xpath_context_t *context, axiom_xpath_expression_t *xpath_expr)" -->
 
480
<div class="memitem">
 
481
<div class="memproto">
 
482
      <table class="memname">
 
483
        <tr>
 
484
          <td class="memname">AXIS2_EXTERN <a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result_t</a>* axiom_xpath_evaluate           </td>
 
485
          <td>(</td>
 
486
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
487
          <td class="paramname"> <em>context</em>, </td>
 
488
        </tr>
 
489
        <tr>
 
490
          <td class="paramkey"></td>
 
491
          <td></td>
 
492
          <td class="paramtype"><a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *&nbsp;</td>
 
493
          <td class="paramname"> <em>xpath_expr</em></td><td>&nbsp;</td>
 
494
        </tr>
 
495
        <tr>
 
496
          <td></td>
 
497
          <td>)</td>
 
498
          <td></td><td></td><td width="100%"></td>
 
499
        </tr>
 
500
      </table>
 
501
</div>
 
502
<div class="memdoc">
 
503
 
 
504
<p>
 
505
Evaluate an parsed XPath expression. Different expressions could be evaluated on the same context, and same expression could be evaluated on multiple trees without recompiling.<p>
 
506
<dl compact><dt><b>Parameters:</b></dt><dd>
 
507
  <table border="0" cellspacing="2" cellpadding="0">
 
508
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath context must not be null </td></tr>
 
509
    <tr><td valign="top"></td><td valign="top"><em>xpath_expr</em>&nbsp;</td><td>XPath expression to be evaluated </td></tr>
 
510
  </table>
 
511
</dl>
 
512
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The set of results. </dd></dl>
 
513
 
 
514
</div>
 
515
</div><p>
 
516
<a class="anchor" name="g1cd43a5e6fb152d14a218f923418f8d6"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_evaluate_streaming" ref="g1cd43a5e6fb152d14a218f923418f8d6" args="(axiom_xpath_context_t *context, axiom_xpath_expression_t *xpath_expr)" -->
 
517
<div class="memitem">
 
518
<div class="memproto">
 
519
      <table class="memname">
 
520
        <tr>
 
521
          <td class="memname">AXIS2_EXTERN <a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result_t</a>* axiom_xpath_evaluate_streaming           </td>
 
522
          <td>(</td>
 
523
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
524
          <td class="paramname"> <em>context</em>, </td>
 
525
        </tr>
 
526
        <tr>
 
527
          <td class="paramkey"></td>
 
528
          <td></td>
 
529
          <td class="paramtype"><a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *&nbsp;</td>
 
530
          <td class="paramname"> <em>xpath_expr</em></td><td>&nbsp;</td>
 
531
        </tr>
 
532
        <tr>
 
533
          <td></td>
 
534
          <td>)</td>
 
535
          <td></td><td></td><td width="100%"></td>
 
536
        </tr>
 
537
      </table>
 
538
</div>
 
539
<div class="memdoc">
 
540
 
 
541
<p>
 
542
Evaluates an XPath expression on streaming XML. Not all expressions can be evaluated on streaming XML. If the expression cannot be evaluated on streaming XML NULL will be returned.<p>
 
543
<dl compact><dt><b>Parameters:</b></dt><dd>
 
544
  <table border="0" cellspacing="2" cellpadding="0">
 
545
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath Context, must not be null </td></tr>
 
546
    <tr><td valign="top"></td><td valign="top"><em>xpath_expr</em>&nbsp;</td><td>XPath expression to be evaluated </td></tr>
 
547
  </table>
 
548
</dl>
 
549
 
 
550
</div>
 
551
</div><p>
 
552
<a class="anchor" name="g9c605179eff1ce688aeed2bb3a5a615f"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_free_context" ref="g9c605179eff1ce688aeed2bb3a5a615f" args="(const axutil_env_t *env, axiom_xpath_context_t *context)" -->
 
553
<div class="memitem">
 
554
<div class="memproto">
 
555
      <table class="memname">
 
556
        <tr>
 
557
          <td class="memname">AXIS2_EXTERN void axiom_xpath_free_context           </td>
 
558
          <td>(</td>
 
559
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
560
          <td class="paramname"> <em>env</em>, </td>
 
561
        </tr>
 
562
        <tr>
 
563
          <td class="paramkey"></td>
 
564
          <td></td>
 
565
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
566
          <td class="paramname"> <em>context</em></td><td>&nbsp;</td>
 
567
        </tr>
 
568
        <tr>
 
569
          <td></td>
 
570
          <td>)</td>
 
571
          <td></td><td></td><td width="100%"></td>
 
572
        </tr>
 
573
      </table>
 
574
</div>
 
575
<div class="memdoc">
 
576
 
 
577
<p>
 
578
Free XPath context<p>
 
579
<dl compact><dt><b>Parameters:</b></dt><dd>
 
580
  <table border="0" cellspacing="2" cellpadding="0">
 
581
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
582
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath context must not be null </td></tr>
 
583
  </table>
 
584
</dl>
 
585
 
 
586
</div>
 
587
</div><p>
 
588
<a class="anchor" name="g5c75692634a5b8c50aa215838164873c"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_free_expression" ref="g5c75692634a5b8c50aa215838164873c" args="(const axutil_env_t *env, axiom_xpath_expression_t *xpath_expr)" -->
 
589
<div class="memitem">
 
590
<div class="memproto">
 
591
      <table class="memname">
 
592
        <tr>
 
593
          <td class="memname">AXIS2_EXTERN void axiom_xpath_free_expression           </td>
 
594
          <td>(</td>
 
595
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
596
          <td class="paramname"> <em>env</em>, </td>
 
597
        </tr>
 
598
        <tr>
 
599
          <td class="paramkey"></td>
 
600
          <td></td>
 
601
          <td class="paramtype"><a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *&nbsp;</td>
 
602
          <td class="paramname"> <em>xpath_expr</em></td><td>&nbsp;</td>
 
603
        </tr>
 
604
        <tr>
 
605
          <td></td>
 
606
          <td>)</td>
 
607
          <td></td><td></td><td width="100%"></td>
 
608
        </tr>
 
609
      </table>
 
610
</div>
 
611
<div class="memdoc">
 
612
 
 
613
<p>
 
614
Free XPath expression<p>
 
615
<dl compact><dt><b>Parameters:</b></dt><dd>
 
616
  <table border="0" cellspacing="2" cellpadding="0">
 
617
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
618
    <tr><td valign="top"></td><td valign="top"><em>xpath_expr</em>&nbsp;</td><td>XPath expression must not be null </td></tr>
 
619
  </table>
 
620
</dl>
 
621
 
 
622
</div>
 
623
</div><p>
 
624
<a class="anchor" name="gbce6df5e417ac892e3c472a9e8d9b159"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_free_result" ref="gbce6df5e417ac892e3c472a9e8d9b159" args="(const axutil_env_t *env, axiom_xpath_result_t *result)" -->
 
625
<div class="memitem">
 
626
<div class="memproto">
 
627
      <table class="memname">
 
628
        <tr>
 
629
          <td class="memname">AXIS2_EXTERN void axiom_xpath_free_result           </td>
 
630
          <td>(</td>
 
631
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
632
          <td class="paramname"> <em>env</em>, </td>
 
633
        </tr>
 
634
        <tr>
 
635
          <td class="paramkey"></td>
 
636
          <td></td>
 
637
          <td class="paramtype"><a class="el" href="structaxiom__xpath__result.html">axiom_xpath_result_t</a> *&nbsp;</td>
 
638
          <td class="paramname"> <em>result</em></td><td>&nbsp;</td>
 
639
        </tr>
 
640
        <tr>
 
641
          <td></td>
 
642
          <td>)</td>
 
643
          <td></td><td></td><td width="100%"></td>
 
644
        </tr>
 
645
      </table>
 
646
</div>
 
647
<div class="memdoc">
 
648
 
 
649
<p>
 
650
Free XPath result set<p>
 
651
<dl compact><dt><b>Parameters:</b></dt><dd>
 
652
  <table border="0" cellspacing="2" cellpadding="0">
 
653
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Environment must not be null </td></tr>
 
654
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>XPath result set must not be null </td></tr>
 
655
  </table>
 
656
</dl>
 
657
 
 
658
</div>
 
659
</div><p>
 
660
<a class="anchor" name="g0cff83ae01a93dfd36978407b9895399"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_get_function" ref="g0cff83ae01a93dfd36978407b9895399" args="(axiom_xpath_context_t *context, axis2_char_t *name)" -->
 
661
<div class="memitem">
 
662
<div class="memproto">
 
663
      <table class="memname">
 
664
        <tr>
 
665
          <td class="memname">AXIS2_EXTERN axiom_xpath_function_t axiom_xpath_get_function           </td>
 
666
          <td>(</td>
 
667
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
668
          <td class="paramname"> <em>context</em>, </td>
 
669
        </tr>
 
670
        <tr>
 
671
          <td class="paramkey"></td>
 
672
          <td></td>
 
673
          <td class="paramtype">axis2_char_t *&nbsp;</td>
 
674
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
 
675
        </tr>
 
676
        <tr>
 
677
          <td></td>
 
678
          <td>)</td>
 
679
          <td></td><td></td><td width="100%"></td>
 
680
        </tr>
 
681
      </table>
 
682
</div>
 
683
<div class="memdoc">
 
684
 
 
685
<p>
 
686
Retrive a pointer to a registered funciton by the function name. If there is no function registered by the given name, NULL will be returned.<p>
 
687
<dl compact><dt><b>Parameters:</b></dt><dd>
 
688
  <table border="0" cellspacing="2" cellpadding="0">
 
689
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath Context, must not be null </td></tr>
 
690
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>Name of the function, must not be null </td></tr>
 
691
  </table>
 
692
</dl>
 
693
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The corresponding function. </dd></dl>
 
694
 
 
695
</div>
 
696
</div><p>
 
697
<a class="anchor" name="g81ba6657a1992f1b45a0930f7a413b68"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_get_namespace" ref="g81ba6657a1992f1b45a0930f7a413b68" args="(axiom_xpath_context_t *context, axis2_char_t *prefix)" -->
 
698
<div class="memitem">
 
699
<div class="memproto">
 
700
      <table class="memname">
 
701
        <tr>
 
702
          <td class="memname">AXIS2_EXTERN axiom_namespace_t* axiom_xpath_get_namespace           </td>
 
703
          <td>(</td>
 
704
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
705
          <td class="paramname"> <em>context</em>, </td>
 
706
        </tr>
 
707
        <tr>
 
708
          <td class="paramkey"></td>
 
709
          <td></td>
 
710
          <td class="paramtype">axis2_char_t *&nbsp;</td>
 
711
          <td class="paramname"> <em>prefix</em></td><td>&nbsp;</td>
 
712
        </tr>
 
713
        <tr>
 
714
          <td></td>
 
715
          <td>)</td>
 
716
          <td></td><td></td><td width="100%"></td>
 
717
        </tr>
 
718
      </table>
 
719
</div>
 
720
<div class="memdoc">
 
721
 
 
722
<p>
 
723
Get a registered namespace by the prefix. If there is no namespace registered by the given prefix NULL will be returned<p>
 
724
<dl compact><dt><b>Parameters:</b></dt><dd>
 
725
  <table border="0" cellspacing="2" cellpadding="0">
 
726
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath Context, must not be null </td></tr>
 
727
    <tr><td valign="top"></td><td valign="top"><em>prefix</em>&nbsp;</td><td>Prefix of the namespace, must not be null </td></tr>
 
728
  </table>
 
729
</dl>
 
730
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The namespace corresponding to the prefix. </dd></dl>
 
731
 
 
732
</div>
 
733
</div><p>
 
734
<a class="anchor" name="gaa194fb637ad142a32510933243ddda5"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_register_default_functions_set" ref="gaa194fb637ad142a32510933243ddda5" args="(axiom_xpath_context_t *context)" -->
 
735
<div class="memitem">
 
736
<div class="memproto">
 
737
      <table class="memname">
 
738
        <tr>
 
739
          <td class="memname">AXIS2_EXTERN void axiom_xpath_register_default_functions_set           </td>
 
740
          <td>(</td>
 
741
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
742
          <td class="paramname"> <em>context</em>          </td>
 
743
          <td>&nbsp;)&nbsp;</td>
 
744
          <td width="100%"></td>
 
745
        </tr>
 
746
      </table>
 
747
</div>
 
748
<div class="memdoc">
 
749
 
 
750
<p>
 
751
Setup the XPath core function library<p>
 
752
<dl compact><dt><b>Parameters:</b></dt><dd>
 
753
  <table border="0" cellspacing="2" cellpadding="0">
 
754
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath Context, must not be null </td></tr>
 
755
  </table>
 
756
</dl>
 
757
 
 
758
</div>
 
759
</div><p>
 
760
<a class="anchor" name="gb6cc87a2fa3c5adf9d7844d21e2f747b"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_register_function" ref="gb6cc87a2fa3c5adf9d7844d21e2f747b" args="(axiom_xpath_context_t *context, axis2_char_t *name, axiom_xpath_function_t func)" -->
 
761
<div class="memitem">
 
762
<div class="memproto">
 
763
      <table class="memname">
 
764
        <tr>
 
765
          <td class="memname">AXIS2_EXTERN void axiom_xpath_register_function           </td>
 
766
          <td>(</td>
 
767
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
768
          <td class="paramname"> <em>context</em>, </td>
 
769
        </tr>
 
770
        <tr>
 
771
          <td class="paramkey"></td>
 
772
          <td></td>
 
773
          <td class="paramtype">axis2_char_t *&nbsp;</td>
 
774
          <td class="paramname"> <em>name</em>, </td>
 
775
        </tr>
 
776
        <tr>
 
777
          <td class="paramkey"></td>
 
778
          <td></td>
 
779
          <td class="paramtype">axiom_xpath_function_t&nbsp;</td>
 
780
          <td class="paramname"> <em>func</em></td><td>&nbsp;</td>
 
781
        </tr>
 
782
        <tr>
 
783
          <td></td>
 
784
          <td>)</td>
 
785
          <td></td><td></td><td width="100%"></td>
 
786
        </tr>
 
787
      </table>
 
788
</div>
 
789
<div class="memdoc">
 
790
 
 
791
<p>
 
792
Registers a custom XPath function <a href="http://www.w3.org/TR/xpath#corelib">http://www.w3.org/TR/xpath#corelib</a><p>
 
793
<dl compact><dt><b>Parameters:</b></dt><dd>
 
794
  <table border="0" cellspacing="2" cellpadding="0">
 
795
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath Context, must not be null </td></tr>
 
796
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>Name of the function, must not be null </td></tr>
 
797
    <tr><td valign="top"></td><td valign="top"><em>func</em>&nbsp;</td><td>Pointer to the function, must not be null </td></tr>
 
798
  </table>
 
799
</dl>
 
800
 
 
801
</div>
 
802
</div><p>
 
803
<a class="anchor" name="g521831b95af07a1d758870955e21ec46"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_register_namespace" ref="g521831b95af07a1d758870955e21ec46" args="(axiom_xpath_context_t *context, axiom_namespace_t *ns)" -->
 
804
<div class="memitem">
 
805
<div class="memproto">
 
806
      <table class="memname">
 
807
        <tr>
 
808
          <td class="memname">AXIS2_EXTERN void axiom_xpath_register_namespace           </td>
 
809
          <td>(</td>
 
810
          <td class="paramtype"><a class="el" href="structaxiom__xpath__context.html">axiom_xpath_context_t</a> *&nbsp;</td>
 
811
          <td class="paramname"> <em>context</em>, </td>
 
812
        </tr>
 
813
        <tr>
 
814
          <td class="paramkey"></td>
 
815
          <td></td>
 
816
          <td class="paramtype">axiom_namespace_t *&nbsp;</td>
 
817
          <td class="paramname"> <em>ns</em></td><td>&nbsp;</td>
 
818
        </tr>
 
819
        <tr>
 
820
          <td></td>
 
821
          <td>)</td>
 
822
          <td></td><td></td><td width="100%"></td>
 
823
        </tr>
 
824
      </table>
 
825
</div>
 
826
<div class="memdoc">
 
827
 
 
828
<p>
 
829
Registers a XPath namespace<p>
 
830
<dl compact><dt><b>Parameters:</b></dt><dd>
 
831
  <table border="0" cellspacing="2" cellpadding="0">
 
832
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>XPath Context, must not be null </td></tr>
 
833
    <tr><td valign="top"></td><td valign="top"><em>ns</em>&nbsp;</td><td>AXIOM namespace, must not be null </td></tr>
 
834
  </table>
 
835
</dl>
 
836
 
 
837
</div>
 
838
</div><p>
 
839
<a class="anchor" name="g83c7017c40dd0977276b77d97cbff6a5"></a><!-- doxytag: member="axiom_xpath.h::axiom_xpath_streaming_check" ref="g83c7017c40dd0977276b77d97cbff6a5" args="(const axutil_env_t *env, axiom_xpath_expression_t *expr)" -->
 
840
<div class="memitem">
 
841
<div class="memproto">
 
842
      <table class="memname">
 
843
        <tr>
 
844
          <td class="memname">AXIS2_EXTERN axis2_bool_t axiom_xpath_streaming_check           </td>
 
845
          <td>(</td>
 
846
          <td class="paramtype">const <a class="el" href="structaxutil__env.html">axutil_env_t</a> *&nbsp;</td>
 
847
          <td class="paramname"> <em>env</em>, </td>
 
848
        </tr>
 
849
        <tr>
 
850
          <td class="paramkey"></td>
 
851
          <td></td>
 
852
          <td class="paramtype"><a class="el" href="structaxiom__xpath__expression.html">axiom_xpath_expression_t</a> *&nbsp;</td>
 
853
          <td class="paramname"> <em>expr</em></td><td>&nbsp;</td>
 
854
        </tr>
 
855
        <tr>
 
856
          <td></td>
 
857
          <td>)</td>
 
858
          <td></td><td></td><td width="100%"></td>
 
859
        </tr>
 
860
      </table>
 
861
</div>
 
862
<div class="memdoc">
 
863
 
 
864
<p>
 
865
Checks whether the given expression can be evaluated on streaming XML. If it is possible AXIS2_TRUE will be retuned; AXIS2_FALSE otherwise.<p>
 
866
<dl compact><dt><b>Parameters:</b></dt><dd>
 
867
  <table border="0" cellspacing="2" cellpadding="0">
 
868
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>Axis2 environment, must not be null </td></tr>
 
869
    <tr><td valign="top"></td><td valign="top"><em>expr</em>&nbsp;</td><td>Complied XPath expression, must not be null </td></tr>
 
870
  </table>
 
871
</dl>
 
872
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A boolean indicating whether the expression can be evaluated on streaming XML. </dd></dl>
 
873
 
 
874
</div>
 
875
</div><p>
 
876
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 11:49:44 2009 for Axis2/C by&nbsp;
 
877
<a href="http://www.doxygen.org/index.html">
 
878
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
 
879
</body>
 
880
</html>