Home | History | Annotate | Download | only in python

Lines Matching full:info

6       <info>Register a Python written function to the XPath interpreter</info>
7 <return type='int' info="1 in case of success, 0 or -1 in case of error"/>
8 <arg name='ctx' type='xmlXPathContextPtr' info='the xpathContext'/>
9 <arg name='name' type='xmlChar *' info='the function name'/>
10 <arg name='ns_uri' type='xmlChar *' info='the namespace or NULL'/>
11 <arg name='f' type='pythonObject' info='the python function'/>
15 <info>Register a variable with the XPath context</info>
16 <return type='int' info="1 in case of success, 0 or -1 in case of error"/>
17 <arg name='ctx' type='xmlXPathContextPtr' info='the xpathContext'/>
18 <arg name='name' type='xmlChar *' info='the variable name'/>
19 <arg name='ns_uri' type='xmlChar *' info='the namespace or NULL'/>
20 <arg name='value' type='pythonObject' info='the value'/>
23 <info>Create a new Node</info>
24 <return type='xmlNodePtr' info="A new element node"/>
25 <arg name='name' type='xmlChar *' info='the node name'/>
28 <info>Create a progressive XML parser context to build either an event flow if the SAX object is not None, or a DOM tree otherwise.</info>
29 <return type='xmlParserCtxtPtr' info="the parser context or None in case of error"/>
30 <arg name='SAX' type='pythonObject' info='the SAX callback object or None'/>
31 <arg name='chunk' type='xmlChar *' info='the initial data'/>
32 <arg name='size' type='int' info='the size of the initial data'/>
33 <arg name='URI' type='xmlChar *' info='The URI used for base computations'/>
37 <info>Create a progressive HTML parser context to build either an event flow if the SAX object is not None, or a DOM tree otherwise.</info>
38 <return type='xmlParserCtxtPtr' info="the parser context or None in case of error"/>
39 <arg name='SAX' type='pythonObject' info='the SAX callback object or None'/>
40 <arg name='chunk' type='xmlChar *' info='the initial data'/>
41 <arg name='size' type='int' info='the size of the initial data'/>
42 <arg name='URI' type='xmlChar *' info='The URI used for base computations'/>
45 <info>Interface to parse an XML file or resource pointed by an URI to build an event flow to the SAX object</info>
47 <arg name='SAX' type='pythonObject' info='the SAX callback object or None'/>
48 <arg name='URI' type='xmlChar *' info='The URI of the resource'/>
49 <arg name='recover' type='int' info='allow recovery in case of error'/>
53 <info>Interface to parse an HTML file or resource pointed by an URI to build an event flow to the SAX object</info>
55 <arg name='SAX' type='pythonObject' info='the SAX callback object or None'/>
56 <arg name='URI' type='xmlChar *' info='The URI of the resource'/>
57 <arg name='encoding' type='const char *' info='encoding or None'/>
60 <info>Create a libxml2 output buffer from a Python file</info>
61 <return type='xmlOutputBufferPtr' info="the output buffer"/>
62 <arg name='file' type='pythonObject' info='the Python file'/>
63 <arg name='encoding' type='xmlChar *' info='an optionnal encoding'/>
66 <info>Create a libxml2 input buffer from a Python file</info>
67 <return type='xmlParserInputBufferPtr' info="the input buffer"/>
68 <arg name='file' type='pythonObject' info='the Python file'/>
69 <arg name='encoding' type='xmlChar *' info='an optionnal encoding'/>
72 <info>Set the entity resolver as a python function</info>
73 <return type='int' info="0 in case of success, -1 for error"/>
74 <arg name='resolver' type='pythonObject' info='the Python function'/>
78 <info>Get the document tree from a parser context.</info>
79 <return type='xmlDocPtr' info="the document tree" field="myDoc"/>
80 <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/>
83 <info>Get the well formed information from a parser context.</info>
84 <return type='int' info="the wellFormed field" field="wellFormed"/>
85 <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/>
88 <info>Get the validity information from a parser context.</info>
89 <return type='int' info="the valid field" field="valid"/>
90 <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/>
93 <info>Switch the parser to validation mode.</info>
95 <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/>
96 <arg name='validate' type='int' info='1 to activate validation'/>
99 <info>Switch the parser to replace entities.</info>
101 <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/>
102 <arg name='replaceEntities' type='int' info='1 to replace entities'/>
105 <info>Switch the parser to be pedantic.</info>
107 <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/>
108 <arg name='pedantic' type='int' info='1 to run in pedantic mode'/>
111 <info>Switch the parser to load the DTD without validating.</info>
113 <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/>
114 <arg name='loadsubset' type='int' info='1 to load the DTD'/>
117 <info>Switch on the generation of line number for elements nodes.</info>
119 <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/>
120 <arg name='linenumbers' type='int' info='1 to save line numbers'/>
123 <info>Switch on the generation of line number for elements nodes. Also returns the number of bytes allocated and not freed by libxml2 since memory debugging was switched on.</info>
124 <return type='int' info="returns the number of bytes allocated and not freed"/>
125 <arg name='activate' type='int' info='1 switch on memory debugging 0 switch it off'/>
128 <info>dump the memory allocated in the file .memdump</info>
133 <info>Get the namespace of a node</info>
134 <return type='xmlNsPtr' info="The namespace or None"/>
135 <arg name='node' type='xmlNodePtr' info='the node'/>
138 <info>Get the namespace of a node</info>
139 <return type='xmlNsPtr' info="The namespace or None"/>
140 <arg name='node' type='xmlNodePtr' info='the node'/>
145 <info>Get the xpathContext from an xpathParserContext</info>
146 <return type='xmlXPathContextPtr' info="The XPath context" field="context"/>
147 <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath parser context'/>
151 <info>Get the doc from an xpathContext</info>
152 <return type='xmlDocPtr' info="The doc context" field="doc"/>
153 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
157 <info>Get the current node from an xpathContext</info>
158 <return type='xmlNodePtr' info="The node context" field="node"/>
159 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
163 <info>Set the doc of an xpathContext</info>
165 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
166 <arg name="doc" type='xmlDocPtr' info="The doc context"/>
170 <info>Set the current node of an xpathContext</info>
172 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
173 <arg name="node" type='xmlNodePtr' info="The node context"/>
177 <info>Get the current node from an xpathContext</info>
178 <return type='int' info="The node context" field="proximityPosition"/>
179 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
183 <info>Get the current node from an xpathContext</info>
184 <return type='int' info="The node context" field="contextSize"/>
185 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
189 <info>Get the current function name xpathContext</info>
190 <return type='const xmlChar *' info="The function name" field="function"/>
191 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
195 <info>Get the current function name URI xpathContext</info>
196 <return type='const xmlChar *' info="The function name URI" field="functionURI"/>
197 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
201 <info>Get the scheme part from an URI</info>
202 <return type='const char *' info="The URI scheme" field="scheme"/>
203 <arg name='URI' type='xmlURIPtr' info='the URI'/>
206 <info>Set the scheme part of an URI.</info>
208 <arg name='URI' type='xmlURIPtr' info='the URI'/>
209 <arg name='scheme' type='char *' info='The URI scheme part'/>
212 <info>Get the opaque part from an URI</info>
213 <return type='const char *' info="The URI opaque" field="opaque"/>
214 <arg name='URI' type='xmlURIPtr' info='the URI'/>
217 <info>Set the opaque part of an URI.</info>
219 <arg name='URI' type='xmlURIPtr' info='the URI'/>
220 <arg name='opaque' type='char *' info='The URI opaque part'/>
223 <info>Get the authority part from an URI</info>
224 <return type='const char *' info="The URI authority" field="authority"/>
225 <arg name='URI' type='xmlURIPtr' info='the URI'/>
228 <info>Set the authority part of an URI.</info>
230 <arg name='URI' type='xmlURIPtr' info='the URI'/>
231 <arg name='authority' type='char *' info='The URI authority part'/>
234 <info>Get the server part from an URI</info>
235 <return type='const char *' info="The URI server" field="server"/>
236 <arg name='URI' type='xmlURIPtr' info='the URI'/>
239 <info>Set the server part of an URI.</info>
241 <arg name='URI' type='xmlURIPtr' info='the URI'/>
242 <arg name='server' type='char *' info='The URI server part'/>
245 <info>Get the user part from an URI</info>
246 <return type='const char *' info="The URI user" field="user"/>
247 <arg name='URI' type='xmlURIPtr' info='the URI'/>
250 <info>Set the user part of an URI.</info>
252 <arg name='URI' type='xmlURIPtr' info='the URI'/>
253 <arg name='user' type='char *' info='The URI user part'/>
256 <info>Get the path part from an URI</info>
257 <return type='const char *' info="The URI path" field="path"/>
258 <arg name='URI' type='xmlURIPtr' info='the URI'/>
261 <info>Set the path part of an URI.</info>
263 <arg name='URI' type='xmlURIPtr' info='the URI'/>
264 <arg name='path' type='char *' info='The URI path part'/>
267 <info>Get the query part from an URI</info>
268 <return type='const char *' info="The URI query" field="query"/>
269 <arg name='URI' type='xmlURIPtr' info='the URI'/>
272 <info>Set the query part of an URI.</info>
274 <arg name='URI' type='xmlURIPtr' info='the URI'/>
275 <arg name='query' type='char *' info='The URI query part'/>
278 <info>Get the raw query part from an URI (i.e. the unescaped form).</info>
279 <return type='const char *' info="The URI query" field="query_raw"/>
280 <arg name='URI' type='xmlURIPtr' info='the URI'/>
283 <info>Set the raw query part of an URI (i.e. the unescaped form).</info>
285 <arg name='URI' type='xmlURIPtr' info='the URI'/>
286 <arg name='query_raw' type='char *' info='The raw URI query part'/>
289 <info>Get the fragment part from an URI</info>
290 <return type='const char *' info="The URI fragment" field="fragment"/>
291 <arg name='URI' type='xmlURIPtr' info='the URI'/>
294 <info>Set the fragment part of an URI.</info>
296 <arg name='URI' type='xmlURIPtr' info='the URI'/>
297 <arg name='fragment' type='char *' info
300 <info>Get the port part from an URI</info>
301 <return type='int' info="The URI port" field="port"/>
302 <arg name='URI' type='xmlURIPtr' info='the URI'/>
305 <info>Set the port part of an URI.</info>
307 <arg name='URI' type='xmlURIPtr' info='the URI'/>
308 <arg name='port' type='int' info='The URI port part'/>
312 <info>What part of the library raised this error</info>
313 <return type='int' info="The error domain" field="domain"/>
314 <arg name='Error' type='xmlErrorPtr' info='the Error'/>
317 <info>The error code, e.g. an xmlParserError</info>
318 <return type='int' info="The error code" field="code"/>
319 <arg name='Error' type='xmlErrorPtr' info='the Error'/>
322 <info>human-readable informative error message</info>
323 <return type='const char *' info="The error message" field="message"/>
324 <arg name='Error' type='xmlErrorPtr' info='the Error'/>
327 <info>how consequent is the error</info>
328 <return type='int' info="The error level" field="level"/>
329 <arg name='Error' type='xmlErrorPtr' info='the Error'/>
332 <info>the filename</info>
333 <return type='const char *' info="The error file" field="file"/>
334 <arg name='Error' type='xmlErrorPtr' info='the Error'/>
337 <info>the line number if available</info>
338 <return type='int' info="The error line" field="line"/>
339 <arg name='Error' type='xmlErrorPtr' info='the Error'/>
342 <info>Cleanup function for the XML library. It tries to reclaim all parsing related global memory allocated for the library processing. It doesn't deallocate any document related memory. Calling this function should not prevent reusing the library but one should call xmlCleanupParser() only when the process has finished using the library or XML document built with it.</info>
346 <info>Returns the total amount of memory allocated by libxml2</info>
347 <return type='int' info='number of bytes allocated'/>