blob: 87fb09955885589f1176212183f1a8fd889a4f35 [file] [log] [blame]
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001<HTML
2><HEAD
3><TITLE
4>encoding</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
14REL="PREVIOUS"
15TITLE="parserInternals"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016HREF="libxml-parserinternals.html"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +000017REL="NEXT"
18TITLE="debugXML"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000019HREF="libxml-debugxml.html"></HEAD
Daniel Veillardaeea04f2000-01-25 19:27:27 +000020><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000021CLASS="REFENTRY"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000022BGCOLOR="#FFFFFF"
23TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000024LINK="#0000FF"
25VLINK="#840084"
26ALINK="#0000FF"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000027><DIV
28CLASS="NAVHEADER"
29><TABLE
30WIDTH="100%"
31BORDER="0"
32BGCOLOR="#000000"
33CELLPADDING="1"
34CELLSPACING="0"
35><TR
36><TH
37COLSPAN="4"
38ALIGN="center"
39><FONT
40COLOR="#FFFFFF"
41SIZE="5"
42>Gnome XML Library Reference Manual</FONT
43></TH
44></TR
45><TR
46><TD
47WIDTH="25%"
48BGCOLOR="#C00000"
49ALIGN="left"
50><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000051HREF="libxml-parserinternals.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000052><FONT
53COLOR="#FFFFFF"
54SIZE="3"
55><B
56>&#60;&#60;&#60; Previous Page</B
57></FONT
58></A
59></TD
60><TD
61WIDTH="25%"
62BGCOLOR="#0000C0"
63ALIGN="center"
64><FONT
65COLOR="#FFFFFF"
66SIZE="3"
67><B
68><A
69HREF="book1.html"
70><FONT
71COLOR="#FFFFFF"
72SIZE="3"
73><B
74>Home</B
75></FONT
76></A
77></B
78></FONT
79></TD
80><TD
81WIDTH="25%"
82BGCOLOR="#00C000"
83ALIGN="center"
84><FONT
85COLOR="#FFFFFF"
86SIZE="3"
87><B
88><A
89HREF="libxml-lib.html"
90><FONT
91COLOR="#FFFFFF"
92SIZE="3"
93><B
94>Up</B
95></FONT
96></A
97></B
98></FONT
99></TD
100><TD
101WIDTH="25%"
102BGCOLOR="#C00000"
103ALIGN="right"
104><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000105HREF="libxml-debugxml.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000106><FONT
107COLOR="#FFFFFF"
108SIZE="3"
109><B
110>Next Page &#62;&#62;&#62;</B
111></FONT
112></A
113></TD
114></TR
115></TABLE
116></DIV
117><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000118><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000119NAME="LIBXML-ENCODING"
Daniel Veillard503b8932001-01-05 06:36:31 +0000120>encoding</A
121></H1
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000122><DIV
123CLASS="REFNAMEDIV"
124><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000125NAME="AEN20723"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000126></A
127><H2
128>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000129>encoding&nbsp;--&nbsp;</DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000130><DIV
131CLASS="REFSYNOPSISDIV"
132><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000133NAME="AEN20726"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000134></A
135><H2
136>Synopsis</H2
137><TABLE
138BORDER="0"
139BGCOLOR="#D6E8FF"
140WIDTH="100%"
141CELLPADDING="6"
142><TR
143><TD
144><PRE
145CLASS="SYNOPSIS"
146>&#13;
147
148enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000149HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000150>xmlCharEncoding</A
151>;
152int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000153HREF="libxml-encoding.html#XMLCHARENCODINGINPUTFUNC"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000154>*xmlCharEncodingInputFunc</A
155>) (unsigned char *out,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000156 int *outlen,
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000157 unsigned char *in,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000158 int *inlen);
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000159int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-encoding.html#XMLCHARENCODINGOUTPUTFUNC"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000161>*xmlCharEncodingOutputFunc</A
162>) (unsigned char *out,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000163 int *outlen,
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000164 unsigned char *in,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000165 int *inlen);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000166struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000167HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000168>xmlCharEncodingHandler</A
169>;
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000170typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000171HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000172>xmlCharEncodingHandlerPtr</A
173>;
174void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000175HREF="libxml-encoding.html#XMLINITCHARENCODINGHANDLERS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000176>xmlInitCharEncodingHandlers</A
177> (void);
178void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000179HREF="libxml-encoding.html#XMLCLEANUPCHARENCODINGHANDLERS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000180>xmlCleanupCharEncodingHandlers</A
181> (void);
182void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000183HREF="libxml-encoding.html#XMLREGISTERCHARENCODINGHANDLER"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000184>xmlRegisterCharEncodingHandler</A
185> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000186HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000187>xmlCharEncodingHandlerPtr</A
188> handler);
189<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000190HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000191>xmlCharEncodingHandlerPtr</A
192> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000193HREF="libxml-encoding.html#XMLGETCHARENCODINGHANDLER"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000194>xmlGetCharEncodingHandler</A
195>
196 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000197HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000198>xmlCharEncoding</A
199> enc);
200<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000201HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000202>xmlCharEncodingHandlerPtr</A
203> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-encoding.html#XMLFINDCHARENCODINGHANDLER"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000205>xmlFindCharEncodingHandler</A
206>
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000207 (const char *name);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000208int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000209HREF="libxml-encoding.html#XMLADDENCODINGALIAS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000210>xmlAddEncodingAlias</A
211> (const char *name,
212 const char *alias);
213int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-encoding.html#XMLDELENCODINGALIAS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000215>xmlDelEncodingAlias</A
216> (const char *alias);
217const char* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-encoding.html#XMLGETENCODINGALIAS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000219>xmlGetEncodingAlias</A
220> (const char *alias);
221void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-encoding.html#XMLCLEANUPENCODINGALIASES"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000223>xmlCleanupEncodingAliases</A
224> (void);
225<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000227>xmlCharEncoding</A
228> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000229HREF="libxml-encoding.html#XMLPARSECHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000230>xmlParseCharEncoding</A
231> (const char *name);
232const char* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000233HREF="libxml-encoding.html#XMLGETCHARENCODINGNAME"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000234>xmlGetCharEncodingName</A
235> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000236HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000237>xmlCharEncoding</A
238> enc);
239<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000241>xmlCharEncoding</A
242> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000243HREF="libxml-encoding.html#XMLDETECTCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000244>xmlDetectCharEncoding</A
245> (unsigned char *in,
246 int len);
247int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000248HREF="libxml-encoding.html#XMLCHARENCOUTFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000249>xmlCharEncOutFunc</A
250> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000251HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000252>xmlCharEncodingHandler</A
253> *handler,
254 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000255HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000256>xmlBufferPtr</A
257> out,
258 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000259HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000260>xmlBufferPtr</A
261> in);
262int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000263HREF="libxml-encoding.html#XMLCHARENCINFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000264>xmlCharEncInFunc</A
265> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000267>xmlCharEncodingHandler</A
268> *handler,
269 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000271>xmlBufferPtr</A
272> out,
273 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000275>xmlBufferPtr</A
276> in);
277int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000278HREF="libxml-encoding.html#XMLCHARENCFIRSTLINE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000279>xmlCharEncFirstLine</A
280> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000281HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000282>xmlCharEncodingHandler</A
283> *handler,
284 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000285HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000286>xmlBufferPtr</A
287> out,
288 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000289HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000290>xmlBufferPtr</A
291> in);
292int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000293HREF="libxml-encoding.html#XMLCHARENCCLOSEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000294>xmlCharEncCloseFunc</A
295> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000296HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000297>xmlCharEncodingHandler</A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000298> *handler);
299int <A
300HREF="libxml-encoding.html#UTF8TOISOLAT1"
301>UTF8Toisolat1</A
302> (unsigned char *out,
303 int *outlen,
304 unsigned char *in,
305 int *inlen);
306int <A
307HREF="libxml-encoding.html#ISOLAT1TOUTF8"
308>isolat1ToUTF8</A
309> (unsigned char *out,
310 int *outlen,
311 unsigned char *in,
312 int *inlen);
313int <A
314HREF="libxml-encoding.html#XMLCHECKUTF8"
315>xmlCheckUTF8</A
316> (unsigned char *utf);
317int <A
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000318HREF="libxml-encoding.html#XMLUTF8STRSIZE"
319>xmlUTF8Strsize</A
320> (const <A
321HREF="libxml-tree.html#XMLCHAR"
322>xmlChar</A
323> *utf,
324 int len);
325<A
326HREF="libxml-tree.html#XMLCHAR"
327>xmlChar</A
328>* <A
329HREF="libxml-encoding.html#XMLUTF8STRNDUP"
330>xmlUTF8Strndup</A
331> (const <A
332HREF="libxml-tree.html#XMLCHAR"
333>xmlChar</A
334> *utf,
335 int len);
336<A
337HREF="libxml-tree.html#XMLCHAR"
338>xmlChar</A
339>* <A
340HREF="libxml-encoding.html#XMLUTF8STRPOS"
341>xmlUTF8Strpos</A
342> (const <A
343HREF="libxml-tree.html#XMLCHAR"
344>xmlChar</A
345> *utf,
346 int pos);
347int <A
348HREF="libxml-encoding.html#XMLUTF8STRLOC"
349>xmlUTF8Strloc</A
350> (const <A
351HREF="libxml-tree.html#XMLCHAR"
352>xmlChar</A
353> *utf,
354 const <A
355HREF="libxml-tree.html#XMLCHAR"
356>xmlChar</A
357> *utfchar);
358<A
359HREF="libxml-tree.html#XMLCHAR"
360>xmlChar</A
361>* <A
362HREF="libxml-encoding.html#XMLUTF8STRSUB"
363>xmlUTF8Strsub</A
364> (const <A
365HREF="libxml-tree.html#XMLCHAR"
366>xmlChar</A
367> *utf,
368 int start,
369 int len);
370int <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000371HREF="libxml-encoding.html#XMLUTF8STRLEN"
372>xmlUTF8Strlen</A
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000373> (const <A
374HREF="libxml-tree.html#XMLCHAR"
375>xmlChar</A
376> *utf);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000377></TD
378></TR
379></TABLE
380></DIV
381><DIV
382CLASS="REFSECT1"
383><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000384NAME="AEN20786"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000385></A
386><H2
387>Description</H2
388><P
389></P
390></DIV
391><DIV
392CLASS="REFSECT1"
393><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000394NAME="AEN20789"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000395></A
396><H2
397>Details</H2
398><DIV
399CLASS="REFSECT2"
400><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000401NAME="AEN20791"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000402></A
403><H3
404><A
405NAME="XMLCHARENCODING"
406></A
407>enum xmlCharEncoding</H3
408><TABLE
409BORDER="0"
410BGCOLOR="#D6E8FF"
411WIDTH="100%"
412CELLPADDING="6"
413><TR
414><TD
415><PRE
416CLASS="PROGRAMLISTING"
417>typedef enum {
418 XML_CHAR_ENCODING_ERROR= -1, /* No char encoding detected */
419 XML_CHAR_ENCODING_NONE= 0, /* No char encoding detected */
420 XML_CHAR_ENCODING_UTF8= 1, /* UTF-8 */
421 XML_CHAR_ENCODING_UTF16LE= 2, /* UTF-16 little endian */
422 XML_CHAR_ENCODING_UTF16BE= 3, /* UTF-16 big endian */
423 XML_CHAR_ENCODING_UCS4LE= 4, /* UCS-4 little endian */
424 XML_CHAR_ENCODING_UCS4BE= 5, /* UCS-4 big endian */
425 XML_CHAR_ENCODING_EBCDIC= 6, /* EBCDIC uh! */
426 XML_CHAR_ENCODING_UCS4_2143=7, /* UCS-4 unusual ordering */
427 XML_CHAR_ENCODING_UCS4_3412=8, /* UCS-4 unusual ordering */
428 XML_CHAR_ENCODING_UCS2= 9, /* UCS-2 */
429 XML_CHAR_ENCODING_8859_1= 10,/* ISO-8859-1 ISO Latin 1 */
430 XML_CHAR_ENCODING_8859_2= 11,/* ISO-8859-2 ISO Latin 2 */
431 XML_CHAR_ENCODING_8859_3= 12,/* ISO-8859-3 */
432 XML_CHAR_ENCODING_8859_4= 13,/* ISO-8859-4 */
433 XML_CHAR_ENCODING_8859_5= 14,/* ISO-8859-5 */
434 XML_CHAR_ENCODING_8859_6= 15,/* ISO-8859-6 */
435 XML_CHAR_ENCODING_8859_7= 16,/* ISO-8859-7 */
436 XML_CHAR_ENCODING_8859_8= 17,/* ISO-8859-8 */
437 XML_CHAR_ENCODING_8859_9= 18,/* ISO-8859-9 */
438 XML_CHAR_ENCODING_2022_JP= 19,/* ISO-2022-JP */
439 XML_CHAR_ENCODING_SHIFT_JIS=20,/* Shift_JIS */
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000440 XML_CHAR_ENCODING_EUC_JP= 21,/* EUC-JP */
441 XML_CHAR_ENCODING_ASCII= 22 /* pure ASCII */
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000442} xmlCharEncoding;</PRE
443></TD
444></TR
445></TABLE
446><P
Daniel Veillardbed7b052001-05-19 14:59:49 +0000447>Predefined values for some standard encodings
448Libxml don't do beforehand translation on UTF8, ISOLatinX
449It also support UTF16 (LE and BE) by default.</P
450><P
451>Anything else would have to be translated to UTF8 before being
452given to the parser itself. The BOM for UTF16 and the encoding
453declaration are looked at and a converter is looked for at that
454point. If not found the parser stops here as asked by the XML REC
455Converter can be registered by the user using xmlRegisterCharEncodingHandler
456but the currentl form doesn't allow stateful transcoding (a serious
457problem agreed !). If iconv has been found it will be used
458automatically and allow stateful transcoding, the simplest is then
459to be sure to enable icon and to provide iconv libs for the encoding
460support needed.</P
461><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000462></P
463></DIV
464><HR><DIV
465CLASS="REFSECT2"
466><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000467NAME="AEN20798"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000468></A
469><H3
470><A
471NAME="XMLCHARENCODINGINPUTFUNC"
472></A
473>xmlCharEncodingInputFunc ()</H3
474><TABLE
475BORDER="0"
476BGCOLOR="#D6E8FF"
477WIDTH="100%"
478CELLPADDING="6"
479><TR
480><TD
481><PRE
482CLASS="PROGRAMLISTING"
483>int (*xmlCharEncodingInputFunc) (unsigned char *out,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000484 int *outlen,
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000485 unsigned char *in,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000486 int *inlen);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000487></TD
488></TR
489></TABLE
490><P
Daniel Veillardbed7b052001-05-19 14:59:49 +0000491>Take a block of chars in the original encoding and try to convert
492it to an UTF-8 block of chars out.</P
493><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000494></P
495><DIV
496CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000497><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000498NAME="AEN20804"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000499></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000500><P
501></P
502><TABLE
503BORDER="0"
504WIDTH="100%"
505BGCOLOR="#FFD0D0"
506CELLSPACING="0"
507CELLPADDING="4"
508CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000509><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000510><TR
511><TD
512WIDTH="20%"
513ALIGN="RIGHT"
514VALIGN="TOP"
515><TT
516CLASS="PARAMETER"
517><I
518>out</I
519></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000520>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000521><TD
522WIDTH="80%"
523ALIGN="LEFT"
524VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000525>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000526></TR
527><TR
528><TD
529WIDTH="20%"
530ALIGN="RIGHT"
531VALIGN="TOP"
532><TT
533CLASS="PARAMETER"
534><I
535>outlen</I
536></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000537>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000538><TD
539WIDTH="80%"
540ALIGN="LEFT"
541VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000542>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000543></TR
544><TR
545><TD
546WIDTH="20%"
547ALIGN="RIGHT"
548VALIGN="TOP"
549><TT
550CLASS="PARAMETER"
551><I
552>in</I
553></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000554>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000555><TD
556WIDTH="80%"
557ALIGN="LEFT"
558VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000559>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000560></TR
561><TR
562><TD
563WIDTH="20%"
564ALIGN="RIGHT"
565VALIGN="TOP"
566><TT
567CLASS="PARAMETER"
568><I
569>inlen</I
570></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000571>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000572><TD
573WIDTH="80%"
574ALIGN="LEFT"
575VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000576>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000577></TR
578><TR
579><TD
580WIDTH="20%"
581ALIGN="RIGHT"
582VALIGN="TOP"
583><I
584CLASS="EMPHASIS"
585>Returns</I
586> :</TD
587><TD
588WIDTH="80%"
589ALIGN="LEFT"
590VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000591>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000592></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000593></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000594></TABLE
595><P
596></P
597></DIV
598></DIV
599><HR><DIV
600CLASS="REFSECT2"
601><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000602NAME="AEN20829"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000603></A
604><H3
605><A
606NAME="XMLCHARENCODINGOUTPUTFUNC"
607></A
608>xmlCharEncodingOutputFunc ()</H3
609><TABLE
610BORDER="0"
611BGCOLOR="#D6E8FF"
612WIDTH="100%"
613CELLPADDING="6"
614><TR
615><TD
616><PRE
617CLASS="PROGRAMLISTING"
618>int (*xmlCharEncodingOutputFunc) (unsigned char *out,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000619 int *outlen,
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000620 unsigned char *in,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000621 int *inlen);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000622></TD
623></TR
624></TABLE
625><P
Daniel Veillardbed7b052001-05-19 14:59:49 +0000626>Take a block of UTF-8 chars in and try to convert it to an other
627encoding.
628Note: a first call designed to produce heading info is called with
629in = NULL. If stateful this should also initialize the encoder state</P
630><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000631></P
632><DIV
633CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000634><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000635NAME="AEN20835"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000636></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000637><P
638></P
639><TABLE
640BORDER="0"
641WIDTH="100%"
642BGCOLOR="#FFD0D0"
643CELLSPACING="0"
644CELLPADDING="4"
645CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000646><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000647><TR
648><TD
649WIDTH="20%"
650ALIGN="RIGHT"
651VALIGN="TOP"
652><TT
653CLASS="PARAMETER"
654><I
655>out</I
656></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000657>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000658><TD
659WIDTH="80%"
660ALIGN="LEFT"
661VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000662>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000663></TR
664><TR
665><TD
666WIDTH="20%"
667ALIGN="RIGHT"
668VALIGN="TOP"
669><TT
670CLASS="PARAMETER"
671><I
672>outlen</I
673></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000674>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000675><TD
676WIDTH="80%"
677ALIGN="LEFT"
678VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000679>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000680></TR
681><TR
682><TD
683WIDTH="20%"
684ALIGN="RIGHT"
685VALIGN="TOP"
686><TT
687CLASS="PARAMETER"
688><I
689>in</I
690></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000691>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000692><TD
693WIDTH="80%"
694ALIGN="LEFT"
695VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000696>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000697></TR
698><TR
699><TD
700WIDTH="20%"
701ALIGN="RIGHT"
702VALIGN="TOP"
703><TT
704CLASS="PARAMETER"
705><I
706>inlen</I
707></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000708>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000709><TD
710WIDTH="80%"
711ALIGN="LEFT"
712VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000713>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000714></TR
715><TR
716><TD
717WIDTH="20%"
718ALIGN="RIGHT"
719VALIGN="TOP"
720><I
721CLASS="EMPHASIS"
722>Returns</I
723> :</TD
724><TD
725WIDTH="80%"
726ALIGN="LEFT"
727VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000728>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000729></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000730></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000731></TABLE
732><P
733></P
734></DIV
735></DIV
736><HR><DIV
737CLASS="REFSECT2"
738><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000739NAME="AEN20860"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000740></A
741><H3
742><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000743NAME="XMLCHARENCODINGHANDLER"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000744></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000745>struct xmlCharEncodingHandler</H3
746><TABLE
747BORDER="0"
748BGCOLOR="#D6E8FF"
749WIDTH="100%"
750CELLPADDING="6"
751><TR
752><TD
753><PRE
754CLASS="PROGRAMLISTING"
755>struct xmlCharEncodingHandler {
756 char *name;
757 xmlCharEncodingInputFunc input;
758 xmlCharEncodingOutputFunc output;
759#ifdef LIBXML_ICONV_ENABLED
760 iconv_t iconv_in;
761 iconv_t iconv_out;
762#endif /* LIBXML_ICONV_ENABLED */
763};</PRE
764></TD
765></TR
766></TABLE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000767><P
768></P
769></DIV
770><HR><DIV
771CLASS="REFSECT2"
772><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000773NAME="AEN20865"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000774></A
775><H3
776><A
777NAME="XMLCHARENCODINGHANDLERPTR"
778></A
779>xmlCharEncodingHandlerPtr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000780><P
781></P
782></DIV
783><HR><DIV
784CLASS="REFSECT2"
785><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000786NAME="AEN20869"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000787></A
788><H3
789><A
790NAME="XMLINITCHARENCODINGHANDLERS"
791></A
792>xmlInitCharEncodingHandlers ()</H3
793><TABLE
794BORDER="0"
795BGCOLOR="#D6E8FF"
796WIDTH="100%"
797CELLPADDING="6"
798><TR
799><TD
800><PRE
801CLASS="PROGRAMLISTING"
802>void xmlInitCharEncodingHandlers (void);</PRE
803></TD
804></TR
805></TABLE
806><P
807>Initialize the char encoding support, it registers the default
808encoding supported.
809NOTE: while public, this function usually doesn't need to be called
810in normal processing.</P
811><P
812></P
813></DIV
814><HR><DIV
815CLASS="REFSECT2"
816><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000817NAME="AEN20875"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000818></A
819><H3
820><A
821NAME="XMLCLEANUPCHARENCODINGHANDLERS"
822></A
823>xmlCleanupCharEncodingHandlers ()</H3
824><TABLE
825BORDER="0"
826BGCOLOR="#D6E8FF"
827WIDTH="100%"
828CELLPADDING="6"
829><TR
830><TD
831><PRE
832CLASS="PROGRAMLISTING"
833>void xmlCleanupCharEncodingHandlers (void);</PRE
834></TD
835></TR
836></TABLE
837><P
838>Cleanup the memory allocated for the char encoding support, it
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000839unregisters all the encoding handlers and the aliases.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000840><P
841></P
842></DIV
843><HR><DIV
844CLASS="REFSECT2"
845><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000846NAME="AEN20881"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000847></A
848><H3
849><A
850NAME="XMLREGISTERCHARENCODINGHANDLER"
851></A
852>xmlRegisterCharEncodingHandler ()</H3
853><TABLE
854BORDER="0"
855BGCOLOR="#D6E8FF"
856WIDTH="100%"
857CELLPADDING="6"
858><TR
859><TD
860><PRE
861CLASS="PROGRAMLISTING"
862>void xmlRegisterCharEncodingHandler (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000863HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000864>xmlCharEncodingHandlerPtr</A
865> handler);</PRE
866></TD
867></TR
868></TABLE
869><P
870>Register the char encoding handler, surprizing, isn't it ?</P
871><P
872></P
873><DIV
874CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000875><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000876NAME="AEN20888"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000877></A
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000878><P
879></P
880><TABLE
881BORDER="0"
882WIDTH="100%"
883BGCOLOR="#FFD0D0"
884CELLSPACING="0"
885CELLPADDING="4"
886CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000887><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000888><TR
889><TD
890WIDTH="20%"
891ALIGN="RIGHT"
892VALIGN="TOP"
893><TT
894CLASS="PARAMETER"
895><I
896>handler</I
897></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000898>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000899><TD
900WIDTH="80%"
901ALIGN="LEFT"
902VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000903>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000904></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000905></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000906></TABLE
907><P
908></P
909></DIV
910></DIV
911><HR><DIV
912CLASS="REFSECT2"
913><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000914NAME="AEN20897"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000915></A
916><H3
917><A
918NAME="XMLGETCHARENCODINGHANDLER"
919></A
920>xmlGetCharEncodingHandler ()</H3
921><TABLE
922BORDER="0"
923BGCOLOR="#D6E8FF"
924WIDTH="100%"
925CELLPADDING="6"
926><TR
927><TD
928><PRE
929CLASS="PROGRAMLISTING"
930><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000932>xmlCharEncodingHandlerPtr</A
933> xmlGetCharEncodingHandler
934 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000935HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000936>xmlCharEncoding</A
937> enc);</PRE
938></TD
939></TR
940></TABLE
941><P
942>Search in the registrered set the handler able to read/write that encoding.</P
943><P
944></P
945><DIV
946CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000947><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000948NAME="AEN20905"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000949></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000950><P
951></P
952><TABLE
953BORDER="0"
954WIDTH="100%"
955BGCOLOR="#FFD0D0"
956CELLSPACING="0"
957CELLPADDING="4"
958CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000959><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000960><TR
961><TD
962WIDTH="20%"
963ALIGN="RIGHT"
964VALIGN="TOP"
965><TT
966CLASS="PARAMETER"
967><I
968>enc</I
969></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000970>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000971><TD
972WIDTH="80%"
973ALIGN="LEFT"
974VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000975>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000976></TR
977><TR
978><TD
979WIDTH="20%"
980ALIGN="RIGHT"
981VALIGN="TOP"
982><I
983CLASS="EMPHASIS"
984>Returns</I
985> :</TD
986><TD
987WIDTH="80%"
988ALIGN="LEFT"
989VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000990>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000991></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000992></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000993></TABLE
994><P
995></P
996></DIV
997></DIV
998><HR><DIV
999CLASS="REFSECT2"
1000><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001001NAME="AEN20918"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001002></A
1003><H3
1004><A
1005NAME="XMLFINDCHARENCODINGHANDLER"
1006></A
1007>xmlFindCharEncodingHandler ()</H3
1008><TABLE
1009BORDER="0"
1010BGCOLOR="#D6E8FF"
1011WIDTH="100%"
1012CELLPADDING="6"
1013><TR
1014><TD
1015><PRE
1016CLASS="PROGRAMLISTING"
1017><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001018HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001019>xmlCharEncodingHandlerPtr</A
1020> xmlFindCharEncodingHandler
1021 (const char *name);</PRE
1022></TD
1023></TR
1024></TABLE
1025><P
1026></P
1027><DIV
1028CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001029><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001030NAME="AEN20924"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001031></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001032><P
1033></P
1034><TABLE
1035BORDER="0"
1036WIDTH="100%"
1037BGCOLOR="#FFD0D0"
1038CELLSPACING="0"
1039CELLPADDING="4"
1040CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001041><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001042><TR
1043><TD
1044WIDTH="20%"
1045ALIGN="RIGHT"
1046VALIGN="TOP"
1047><TT
1048CLASS="PARAMETER"
1049><I
1050>name</I
1051></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001052>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001053><TD
1054WIDTH="80%"
1055ALIGN="LEFT"
1056VALIGN="TOP"
1057>&nbsp;</TD
1058></TR
1059><TR
1060><TD
1061WIDTH="20%"
1062ALIGN="RIGHT"
1063VALIGN="TOP"
1064><I
1065CLASS="EMPHASIS"
1066>Returns</I
1067> :</TD
1068><TD
1069WIDTH="80%"
1070ALIGN="LEFT"
1071VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001072>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001073></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001074></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001075></TABLE
1076><P
1077></P
1078></DIV
1079></DIV
1080><HR><DIV
1081CLASS="REFSECT2"
1082><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001083NAME="AEN20937"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001084></A
1085><H3
1086><A
1087NAME="XMLADDENCODINGALIAS"
1088></A
1089>xmlAddEncodingAlias ()</H3
1090><TABLE
1091BORDER="0"
1092BGCOLOR="#D6E8FF"
1093WIDTH="100%"
1094CELLPADDING="6"
1095><TR
1096><TD
1097><PRE
1098CLASS="PROGRAMLISTING"
1099>int xmlAddEncodingAlias (const char *name,
1100 const char *alias);</PRE
1101></TD
1102></TR
1103></TABLE
1104><P
1105>Registers and alias <TT
1106CLASS="PARAMETER"
1107><I
1108>alias</I
1109></TT
1110> for an encoding named <TT
1111CLASS="PARAMETER"
1112><I
1113>name</I
1114></TT
1115>. Existing alias
1116will be overwritten.</P
1117><P
1118></P
1119><DIV
1120CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001121><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001122NAME="AEN20945"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001123></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001124><P
1125></P
1126><TABLE
1127BORDER="0"
1128WIDTH="100%"
1129BGCOLOR="#FFD0D0"
1130CELLSPACING="0"
1131CELLPADDING="4"
1132CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001133><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001134><TR
1135><TD
1136WIDTH="20%"
1137ALIGN="RIGHT"
1138VALIGN="TOP"
1139><TT
1140CLASS="PARAMETER"
1141><I
1142>name</I
1143></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001144>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001145><TD
1146WIDTH="80%"
1147ALIGN="LEFT"
1148VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001149>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001150></TR
1151><TR
1152><TD
1153WIDTH="20%"
1154ALIGN="RIGHT"
1155VALIGN="TOP"
1156><TT
1157CLASS="PARAMETER"
1158><I
1159>alias</I
1160></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001161>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001162><TD
1163WIDTH="80%"
1164ALIGN="LEFT"
1165VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001166>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001167></TR
1168><TR
1169><TD
1170WIDTH="20%"
1171ALIGN="RIGHT"
1172VALIGN="TOP"
1173><I
1174CLASS="EMPHASIS"
1175>Returns</I
1176> :</TD
1177><TD
1178WIDTH="80%"
1179ALIGN="LEFT"
1180VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001181>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001182></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001183></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001184></TABLE
1185><P
1186></P
1187></DIV
1188></DIV
1189><HR><DIV
1190CLASS="REFSECT2"
1191><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001192NAME="AEN20962"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001193></A
1194><H3
1195><A
1196NAME="XMLDELENCODINGALIAS"
1197></A
1198>xmlDelEncodingAlias ()</H3
1199><TABLE
1200BORDER="0"
1201BGCOLOR="#D6E8FF"
1202WIDTH="100%"
1203CELLPADDING="6"
1204><TR
1205><TD
1206><PRE
1207CLASS="PROGRAMLISTING"
1208>int xmlDelEncodingAlias (const char *alias);</PRE
1209></TD
1210></TR
1211></TABLE
1212><P
1213>Unregisters an encoding alias <TT
1214CLASS="PARAMETER"
1215><I
1216>alias</I
1217></TT
1218></P
1219><P
1220></P
1221><DIV
1222CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001223><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001224NAME="AEN20969"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001225></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001226><P
1227></P
1228><TABLE
1229BORDER="0"
1230WIDTH="100%"
1231BGCOLOR="#FFD0D0"
1232CELLSPACING="0"
1233CELLPADDING="4"
1234CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001235><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001236><TR
1237><TD
1238WIDTH="20%"
1239ALIGN="RIGHT"
1240VALIGN="TOP"
1241><TT
1242CLASS="PARAMETER"
1243><I
1244>alias</I
1245></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001246>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001247><TD
1248WIDTH="80%"
1249ALIGN="LEFT"
1250VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001251>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001252></TR
1253><TR
1254><TD
1255WIDTH="20%"
1256ALIGN="RIGHT"
1257VALIGN="TOP"
1258><I
1259CLASS="EMPHASIS"
1260>Returns</I
1261> :</TD
1262><TD
1263WIDTH="80%"
1264ALIGN="LEFT"
1265VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001266>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001267></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001268></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001269></TABLE
1270><P
1271></P
1272></DIV
1273></DIV
1274><HR><DIV
1275CLASS="REFSECT2"
1276><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001277NAME="AEN20982"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001278></A
1279><H3
1280><A
1281NAME="XMLGETENCODINGALIAS"
1282></A
1283>xmlGetEncodingAlias ()</H3
1284><TABLE
1285BORDER="0"
1286BGCOLOR="#D6E8FF"
1287WIDTH="100%"
1288CELLPADDING="6"
1289><TR
1290><TD
1291><PRE
1292CLASS="PROGRAMLISTING"
1293>const char* xmlGetEncodingAlias (const char *alias);</PRE
1294></TD
1295></TR
1296></TABLE
1297><P
1298>Lookup an encoding name for the given alias.</P
1299><P
1300></P
1301><DIV
1302CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001303><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001304NAME="AEN20988"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001305></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001306><P
1307></P
1308><TABLE
1309BORDER="0"
1310WIDTH="100%"
1311BGCOLOR="#FFD0D0"
1312CELLSPACING="0"
1313CELLPADDING="4"
1314CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001315><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001316><TR
1317><TD
1318WIDTH="20%"
1319ALIGN="RIGHT"
1320VALIGN="TOP"
1321><TT
1322CLASS="PARAMETER"
1323><I
1324>alias</I
1325></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001326>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001327><TD
1328WIDTH="80%"
1329ALIGN="LEFT"
1330VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001331>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001332></TR
1333><TR
1334><TD
1335WIDTH="20%"
1336ALIGN="RIGHT"
1337VALIGN="TOP"
1338><I
1339CLASS="EMPHASIS"
1340>Returns</I
1341> :</TD
1342><TD
1343WIDTH="80%"
1344ALIGN="LEFT"
1345VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001346>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001347></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001348></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001349></TABLE
1350><P
1351></P
1352></DIV
1353></DIV
1354><HR><DIV
1355CLASS="REFSECT2"
1356><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001357NAME="AEN21001"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001358></A
1359><H3
1360><A
1361NAME="XMLCLEANUPENCODINGALIASES"
1362></A
1363>xmlCleanupEncodingAliases ()</H3
1364><TABLE
1365BORDER="0"
1366BGCOLOR="#D6E8FF"
1367WIDTH="100%"
1368CELLPADDING="6"
1369><TR
1370><TD
1371><PRE
1372CLASS="PROGRAMLISTING"
1373>void xmlCleanupEncodingAliases (void);</PRE
1374></TD
1375></TR
1376></TABLE
1377><P
1378>Unregisters all aliases</P
1379><P
1380></P
1381></DIV
1382><HR><DIV
1383CLASS="REFSECT2"
1384><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001385NAME="AEN21007"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001386></A
1387><H3
1388><A
1389NAME="XMLPARSECHARENCODING"
1390></A
1391>xmlParseCharEncoding ()</H3
1392><TABLE
1393BORDER="0"
1394BGCOLOR="#D6E8FF"
1395WIDTH="100%"
1396CELLPADDING="6"
1397><TR
1398><TD
1399><PRE
1400CLASS="PROGRAMLISTING"
1401><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001402HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001403>xmlCharEncoding</A
1404> xmlParseCharEncoding (const char *name);</PRE
1405></TD
1406></TR
1407></TABLE
1408><P
1409>Conpare the string to the known encoding schemes already known. Note
1410that the comparison is case insensitive accordingly to the section
1411[XML] 4.3.3 Character Encoding in Entities.</P
1412><P
1413></P
1414><DIV
1415CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001416><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001417NAME="AEN21014"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001418></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001419><P
1420></P
1421><TABLE
1422BORDER="0"
1423WIDTH="100%"
1424BGCOLOR="#FFD0D0"
1425CELLSPACING="0"
1426CELLPADDING="4"
1427CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001428><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001429><TR
1430><TD
1431WIDTH="20%"
1432ALIGN="RIGHT"
1433VALIGN="TOP"
1434><TT
1435CLASS="PARAMETER"
1436><I
1437>name</I
1438></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001439>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001440><TD
1441WIDTH="80%"
1442ALIGN="LEFT"
1443VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001444>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001445></TR
1446><TR
1447><TD
1448WIDTH="20%"
1449ALIGN="RIGHT"
1450VALIGN="TOP"
1451><I
1452CLASS="EMPHASIS"
1453>Returns</I
1454> :</TD
1455><TD
1456WIDTH="80%"
1457ALIGN="LEFT"
1458VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001459>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001460></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001461></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001462></TABLE
1463><P
1464></P
1465></DIV
1466></DIV
1467><HR><DIV
1468CLASS="REFSECT2"
1469><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001470NAME="AEN21027"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001471></A
1472><H3
1473><A
1474NAME="XMLGETCHARENCODINGNAME"
1475></A
1476>xmlGetCharEncodingName ()</H3
1477><TABLE
1478BORDER="0"
1479BGCOLOR="#D6E8FF"
1480WIDTH="100%"
1481CELLPADDING="6"
1482><TR
1483><TD
1484><PRE
1485CLASS="PROGRAMLISTING"
1486>const char* xmlGetCharEncodingName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001487HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001488>xmlCharEncoding</A
1489> enc);</PRE
1490></TD
1491></TR
1492></TABLE
1493><P
1494>The "canonical" name for XML encoding.
1495C.f. http://www.w3.org/TR/REC-xml<GTKDOCLINK
1496HREF="CHARENCODING"
1497>charencoding</GTKDOCLINK
1498>
1499Section 4.3.3 Character Encoding in Entities</P
1500><P
1501></P
1502><DIV
1503CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001504><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001505NAME="AEN21035"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001506></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001507><P
1508></P
1509><TABLE
1510BORDER="0"
1511WIDTH="100%"
1512BGCOLOR="#FFD0D0"
1513CELLSPACING="0"
1514CELLPADDING="4"
1515CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001516><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001517><TR
1518><TD
1519WIDTH="20%"
1520ALIGN="RIGHT"
1521VALIGN="TOP"
1522><TT
1523CLASS="PARAMETER"
1524><I
1525>enc</I
1526></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001527>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001528><TD
1529WIDTH="80%"
1530ALIGN="LEFT"
1531VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001532>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001533></TR
1534><TR
1535><TD
1536WIDTH="20%"
1537ALIGN="RIGHT"
1538VALIGN="TOP"
1539><I
1540CLASS="EMPHASIS"
1541>Returns</I
1542> :</TD
1543><TD
1544WIDTH="80%"
1545ALIGN="LEFT"
1546VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001547>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001548></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001549></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001550></TABLE
1551><P
1552></P
1553></DIV
1554></DIV
1555><HR><DIV
1556CLASS="REFSECT2"
1557><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001558NAME="AEN21048"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001559></A
1560><H3
1561><A
1562NAME="XMLDETECTCHARENCODING"
1563></A
1564>xmlDetectCharEncoding ()</H3
1565><TABLE
1566BORDER="0"
1567BGCOLOR="#D6E8FF"
1568WIDTH="100%"
1569CELLPADDING="6"
1570><TR
1571><TD
1572><PRE
1573CLASS="PROGRAMLISTING"
1574><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001575HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001576>xmlCharEncoding</A
1577> xmlDetectCharEncoding (unsigned char *in,
1578 int len);</PRE
1579></TD
1580></TR
1581></TABLE
1582><P
1583>Guess the encoding of the entity using the first bytes of the entity content
1584accordingly of the non-normative appendix F of the XML-1.0 recommendation.</P
1585><P
1586></P
1587><DIV
1588CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001589><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001590NAME="AEN21055"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001591></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001592><P
1593></P
1594><TABLE
1595BORDER="0"
1596WIDTH="100%"
1597BGCOLOR="#FFD0D0"
1598CELLSPACING="0"
1599CELLPADDING="4"
1600CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001601><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001602><TR
1603><TD
1604WIDTH="20%"
1605ALIGN="RIGHT"
1606VALIGN="TOP"
1607><TT
1608CLASS="PARAMETER"
1609><I
1610>in</I
1611></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001612>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001613><TD
1614WIDTH="80%"
1615ALIGN="LEFT"
1616VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001617>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001618></TR
1619><TR
1620><TD
1621WIDTH="20%"
1622ALIGN="RIGHT"
1623VALIGN="TOP"
1624><TT
1625CLASS="PARAMETER"
1626><I
1627>len</I
1628></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001629>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001630><TD
1631WIDTH="80%"
1632ALIGN="LEFT"
1633VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001634>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001635></TR
1636><TR
1637><TD
1638WIDTH="20%"
1639ALIGN="RIGHT"
1640VALIGN="TOP"
1641><I
1642CLASS="EMPHASIS"
1643>Returns</I
1644> :</TD
1645><TD
1646WIDTH="80%"
1647ALIGN="LEFT"
1648VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001649>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001650></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001651></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001652></TABLE
1653><P
1654></P
1655></DIV
1656></DIV
1657><HR><DIV
1658CLASS="REFSECT2"
1659><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001660NAME="AEN21072"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001661></A
1662><H3
1663><A
1664NAME="XMLCHARENCOUTFUNC"
1665></A
1666>xmlCharEncOutFunc ()</H3
1667><TABLE
1668BORDER="0"
1669BGCOLOR="#D6E8FF"
1670WIDTH="100%"
1671CELLPADDING="6"
1672><TR
1673><TD
1674><PRE
1675CLASS="PROGRAMLISTING"
1676>int xmlCharEncOutFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001677HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001678>xmlCharEncodingHandler</A
1679> *handler,
1680 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001681HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001682>xmlBufferPtr</A
1683> out,
1684 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001685HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001686>xmlBufferPtr</A
1687> in);</PRE
1688></TD
1689></TR
1690></TABLE
1691><P
1692>Generic front-end for the encoding handler output function
1693a first call with <TT
1694CLASS="PARAMETER"
1695><I
1696>in</I
1697></TT
1698> == NULL has to be made firs to initiate the
1699output in case of non-stateless encoding needing to initiate their
1700state or the output (like the BOM in UTF16).
1701In case of UTF8 sequence conversion errors for the given encoder,
1702the content will be automatically remapped to a CharRef sequence.</P
1703><P
1704></P
1705><DIV
1706CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001707><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001708NAME="AEN21082"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001709></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001710><P
1711></P
1712><TABLE
1713BORDER="0"
1714WIDTH="100%"
1715BGCOLOR="#FFD0D0"
1716CELLSPACING="0"
1717CELLPADDING="4"
1718CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001719><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001720><TR
1721><TD
1722WIDTH="20%"
1723ALIGN="RIGHT"
1724VALIGN="TOP"
1725><TT
1726CLASS="PARAMETER"
1727><I
1728>handler</I
1729></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001730>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001731><TD
1732WIDTH="80%"
1733ALIGN="LEFT"
1734VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001735>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001736></TR
1737><TR
1738><TD
1739WIDTH="20%"
1740ALIGN="RIGHT"
1741VALIGN="TOP"
1742><TT
1743CLASS="PARAMETER"
1744><I
1745>out</I
1746></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001747>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001748><TD
1749WIDTH="80%"
1750ALIGN="LEFT"
1751VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001752>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001753></TR
1754><TR
1755><TD
1756WIDTH="20%"
1757ALIGN="RIGHT"
1758VALIGN="TOP"
1759><TT
1760CLASS="PARAMETER"
1761><I
Daniel Veillard06047432000-04-24 11:33:38 +00001762>in</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001763></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001764>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001765><TD
1766WIDTH="80%"
1767ALIGN="LEFT"
1768VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001769>&nbsp;</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001770></TR
1771><TR
1772><TD
1773WIDTH="20%"
1774ALIGN="RIGHT"
1775VALIGN="TOP"
1776><I
1777CLASS="EMPHASIS"
1778>Returns</I
1779> :</TD
1780><TD
1781WIDTH="80%"
1782ALIGN="LEFT"
1783VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001784>&nbsp;</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001785></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001786></TBODY
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001787></TABLE
1788><P
1789></P
1790></DIV
1791></DIV
Daniel Veillard06047432000-04-24 11:33:38 +00001792><HR><DIV
1793CLASS="REFSECT2"
1794><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001795NAME="AEN21103"
Daniel Veillard06047432000-04-24 11:33:38 +00001796></A
1797><H3
1798><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001799NAME="XMLCHARENCINFUNC"
Daniel Veillard06047432000-04-24 11:33:38 +00001800></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001801>xmlCharEncInFunc ()</H3
Daniel Veillard06047432000-04-24 11:33:38 +00001802><TABLE
1803BORDER="0"
1804BGCOLOR="#D6E8FF"
1805WIDTH="100%"
1806CELLPADDING="6"
1807><TR
1808><TD
1809><PRE
1810CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001811>int xmlCharEncInFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001812HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001813>xmlCharEncodingHandler</A
1814> *handler,
1815 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001816HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001817>xmlBufferPtr</A
1818> out,
1819 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001820HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001821>xmlBufferPtr</A
1822> in);</PRE
Daniel Veillard06047432000-04-24 11:33:38 +00001823></TD
1824></TR
1825></TABLE
1826><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001827>Generic front-end for the encoding handler input function</P
Daniel Veillard06047432000-04-24 11:33:38 +00001828><P
1829></P
1830><DIV
1831CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001832><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001833NAME="AEN21112"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001834></A
Daniel Veillard06047432000-04-24 11:33:38 +00001835><P
1836></P
1837><TABLE
1838BORDER="0"
1839WIDTH="100%"
1840BGCOLOR="#FFD0D0"
1841CELLSPACING="0"
1842CELLPADDING="4"
1843CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001844><TBODY
Daniel Veillard06047432000-04-24 11:33:38 +00001845><TR
1846><TD
1847WIDTH="20%"
1848ALIGN="RIGHT"
1849VALIGN="TOP"
1850><TT
1851CLASS="PARAMETER"
1852><I
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001853>handler</I
Daniel Veillard06047432000-04-24 11:33:38 +00001854></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001855>&nbsp;:</TD
Daniel Veillard06047432000-04-24 11:33:38 +00001856><TD
1857WIDTH="80%"
1858ALIGN="LEFT"
1859VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001860>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001861></TR
1862><TR
1863><TD
1864WIDTH="20%"
1865ALIGN="RIGHT"
1866VALIGN="TOP"
1867><TT
1868CLASS="PARAMETER"
1869><I
1870>out</I
1871></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001872>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001873><TD
1874WIDTH="80%"
1875ALIGN="LEFT"
1876VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001877>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001878></TR
1879><TR
1880><TD
1881WIDTH="20%"
1882ALIGN="RIGHT"
1883VALIGN="TOP"
1884><TT
1885CLASS="PARAMETER"
1886><I
1887>in</I
1888></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001889>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001890><TD
1891WIDTH="80%"
1892ALIGN="LEFT"
1893VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001894>&nbsp;</TD
Daniel Veillard06047432000-04-24 11:33:38 +00001895></TR
1896><TR
1897><TD
1898WIDTH="20%"
1899ALIGN="RIGHT"
1900VALIGN="TOP"
1901><I
1902CLASS="EMPHASIS"
1903>Returns</I
1904> :</TD
1905><TD
1906WIDTH="80%"
1907ALIGN="LEFT"
1908VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001909>&nbsp;</TD
Daniel Veillard06047432000-04-24 11:33:38 +00001910></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001911></TBODY
Daniel Veillard06047432000-04-24 11:33:38 +00001912></TABLE
1913><P
1914></P
1915></DIV
1916></DIV
1917><HR><DIV
1918CLASS="REFSECT2"
1919><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001920NAME="AEN21133"
Daniel Veillard06047432000-04-24 11:33:38 +00001921></A
1922><H3
1923><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001924NAME="XMLCHARENCFIRSTLINE"
Daniel Veillard06047432000-04-24 11:33:38 +00001925></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001926>xmlCharEncFirstLine ()</H3
Daniel Veillard06047432000-04-24 11:33:38 +00001927><TABLE
1928BORDER="0"
1929BGCOLOR="#D6E8FF"
1930WIDTH="100%"
1931CELLPADDING="6"
1932><TR
1933><TD
1934><PRE
1935CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001936>int xmlCharEncFirstLine (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001937HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001938>xmlCharEncodingHandler</A
1939> *handler,
1940 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001941HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001942>xmlBufferPtr</A
1943> out,
1944 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001945HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001946>xmlBufferPtr</A
1947> in);</PRE
Daniel Veillard06047432000-04-24 11:33:38 +00001948></TD
1949></TR
1950></TABLE
1951><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001952>Front-end for the encoding handler input function, but handle only
1953the very first line, i.e. limit itself to 45 chars.</P
Daniel Veillard06047432000-04-24 11:33:38 +00001954><P
1955></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001956><DIV
1957CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001958><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001959NAME="AEN21142"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001960></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001961><P
1962></P
1963><TABLE
1964BORDER="0"
1965WIDTH="100%"
1966BGCOLOR="#FFD0D0"
1967CELLSPACING="0"
1968CELLPADDING="4"
1969CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001970><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001971><TR
1972><TD
1973WIDTH="20%"
1974ALIGN="RIGHT"
1975VALIGN="TOP"
1976><TT
1977CLASS="PARAMETER"
1978><I
1979>handler</I
1980></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001981>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001982><TD
1983WIDTH="80%"
1984ALIGN="LEFT"
1985VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001986>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001987></TR
1988><TR
1989><TD
1990WIDTH="20%"
1991ALIGN="RIGHT"
1992VALIGN="TOP"
1993><TT
1994CLASS="PARAMETER"
1995><I
1996>out</I
1997></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001998>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001999><TD
2000WIDTH="80%"
2001ALIGN="LEFT"
2002VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002003>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002004></TR
2005><TR
2006><TD
2007WIDTH="20%"
2008ALIGN="RIGHT"
2009VALIGN="TOP"
2010><TT
2011CLASS="PARAMETER"
2012><I
2013>in</I
2014></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002015>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002016><TD
2017WIDTH="80%"
2018ALIGN="LEFT"
2019VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002020>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002021></TR
2022><TR
2023><TD
2024WIDTH="20%"
2025ALIGN="RIGHT"
2026VALIGN="TOP"
2027><I
2028CLASS="EMPHASIS"
2029>Returns</I
2030> :</TD
2031><TD
2032WIDTH="80%"
2033ALIGN="LEFT"
2034VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002035>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002036></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002037></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002038></TABLE
2039><P
2040></P
2041></DIV
2042></DIV
2043><HR><DIV
2044CLASS="REFSECT2"
2045><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002046NAME="AEN21163"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002047></A
2048><H3
2049><A
2050NAME="XMLCHARENCCLOSEFUNC"
2051></A
2052>xmlCharEncCloseFunc ()</H3
2053><TABLE
2054BORDER="0"
2055BGCOLOR="#D6E8FF"
2056WIDTH="100%"
2057CELLPADDING="6"
2058><TR
2059><TD
2060><PRE
2061CLASS="PROGRAMLISTING"
2062>int xmlCharEncCloseFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002063HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002064>xmlCharEncodingHandler</A
2065> *handler);</PRE
2066></TD
2067></TR
2068></TABLE
2069><P
2070>Generic front-end for hencoding handler close function</P
2071><P
2072></P
2073><DIV
2074CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002075><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002076NAME="AEN21170"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002077></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002078><P
2079></P
2080><TABLE
2081BORDER="0"
2082WIDTH="100%"
2083BGCOLOR="#FFD0D0"
2084CELLSPACING="0"
2085CELLPADDING="4"
2086CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002087><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002088><TR
2089><TD
2090WIDTH="20%"
2091ALIGN="RIGHT"
2092VALIGN="TOP"
2093><TT
2094CLASS="PARAMETER"
2095><I
2096>handler</I
2097></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002098>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002099><TD
2100WIDTH="80%"
2101ALIGN="LEFT"
2102VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002103>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002104></TR
2105><TR
2106><TD
2107WIDTH="20%"
2108ALIGN="RIGHT"
2109VALIGN="TOP"
2110><I
2111CLASS="EMPHASIS"
2112>Returns</I
2113> :</TD
2114><TD
2115WIDTH="80%"
2116ALIGN="LEFT"
2117VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002118>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002119></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002120></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002121></TABLE
2122><P
2123></P
2124></DIV
Daniel Veillard06047432000-04-24 11:33:38 +00002125></DIV
Daniel Veillarda41123c2001-04-22 19:31:20 +00002126><HR><DIV
2127CLASS="REFSECT2"
2128><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002129NAME="AEN21183"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002130></A
2131><H3
2132><A
2133NAME="UTF8TOISOLAT1"
2134></A
2135>UTF8Toisolat1 ()</H3
2136><TABLE
2137BORDER="0"
2138BGCOLOR="#D6E8FF"
2139WIDTH="100%"
2140CELLPADDING="6"
2141><TR
2142><TD
2143><PRE
2144CLASS="PROGRAMLISTING"
2145>int UTF8Toisolat1 (unsigned char *out,
2146 int *outlen,
2147 unsigned char *in,
2148 int *inlen);</PRE
2149></TD
2150></TR
2151></TABLE
2152><P
2153>Take a block of UTF-8 chars in and try to convert it to an ISO Latin 1
2154block of chars out.</P
2155><P
2156></P
2157><DIV
2158CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002159><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002160NAME="AEN21189"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002161></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002162><P
2163></P
2164><TABLE
2165BORDER="0"
2166WIDTH="100%"
2167BGCOLOR="#FFD0D0"
2168CELLSPACING="0"
2169CELLPADDING="4"
2170CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002171><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002172><TR
2173><TD
2174WIDTH="20%"
2175ALIGN="RIGHT"
2176VALIGN="TOP"
2177><TT
2178CLASS="PARAMETER"
2179><I
2180>out</I
2181></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002182>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002183><TD
2184WIDTH="80%"
2185ALIGN="LEFT"
2186VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002187>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002188></TR
2189><TR
2190><TD
2191WIDTH="20%"
2192ALIGN="RIGHT"
2193VALIGN="TOP"
2194><TT
2195CLASS="PARAMETER"
2196><I
2197>outlen</I
2198></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002199>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002200><TD
2201WIDTH="80%"
2202ALIGN="LEFT"
2203VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002204>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002205></TR
2206><TR
2207><TD
2208WIDTH="20%"
2209ALIGN="RIGHT"
2210VALIGN="TOP"
2211><TT
2212CLASS="PARAMETER"
2213><I
2214>in</I
2215></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002216>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002217><TD
2218WIDTH="80%"
2219ALIGN="LEFT"
2220VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002221>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002222></TR
2223><TR
2224><TD
2225WIDTH="20%"
2226ALIGN="RIGHT"
2227VALIGN="TOP"
2228><TT
2229CLASS="PARAMETER"
2230><I
2231>inlen</I
2232></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002233>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002234><TD
2235WIDTH="80%"
2236ALIGN="LEFT"
2237VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002238>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002239></TR
2240><TR
2241><TD
2242WIDTH="20%"
2243ALIGN="RIGHT"
2244VALIGN="TOP"
2245><I
2246CLASS="EMPHASIS"
2247>Returns</I
2248> :</TD
2249><TD
2250WIDTH="80%"
2251ALIGN="LEFT"
2252VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002253>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002254></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002255></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002256></TABLE
2257><P
2258></P
2259></DIV
2260></DIV
2261><HR><DIV
2262CLASS="REFSECT2"
2263><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002264NAME="AEN21214"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002265></A
2266><H3
2267><A
2268NAME="ISOLAT1TOUTF8"
2269></A
2270>isolat1ToUTF8 ()</H3
2271><TABLE
2272BORDER="0"
2273BGCOLOR="#D6E8FF"
2274WIDTH="100%"
2275CELLPADDING="6"
2276><TR
2277><TD
2278><PRE
2279CLASS="PROGRAMLISTING"
2280>int isolat1ToUTF8 (unsigned char *out,
2281 int *outlen,
2282 unsigned char *in,
2283 int *inlen);</PRE
2284></TD
2285></TR
2286></TABLE
2287><P
2288>Take a block of ISO Latin 1 chars in and try to convert it to an UTF-8
2289block of chars out.</P
2290><P
2291></P
2292><DIV
2293CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002294><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002295NAME="AEN21220"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002296></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002297><P
2298></P
2299><TABLE
2300BORDER="0"
2301WIDTH="100%"
2302BGCOLOR="#FFD0D0"
2303CELLSPACING="0"
2304CELLPADDING="4"
2305CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002306><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002307><TR
2308><TD
2309WIDTH="20%"
2310ALIGN="RIGHT"
2311VALIGN="TOP"
2312><TT
2313CLASS="PARAMETER"
2314><I
2315>out</I
2316></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002317>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002318><TD
2319WIDTH="80%"
2320ALIGN="LEFT"
2321VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002322>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002323></TR
2324><TR
2325><TD
2326WIDTH="20%"
2327ALIGN="RIGHT"
2328VALIGN="TOP"
2329><TT
2330CLASS="PARAMETER"
2331><I
2332>outlen</I
2333></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002334>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002335><TD
2336WIDTH="80%"
2337ALIGN="LEFT"
2338VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002339>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002340></TR
2341><TR
2342><TD
2343WIDTH="20%"
2344ALIGN="RIGHT"
2345VALIGN="TOP"
2346><TT
2347CLASS="PARAMETER"
2348><I
2349>in</I
2350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002351>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002352><TD
2353WIDTH="80%"
2354ALIGN="LEFT"
2355VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002356>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002357></TR
2358><TR
2359><TD
2360WIDTH="20%"
2361ALIGN="RIGHT"
2362VALIGN="TOP"
2363><TT
2364CLASS="PARAMETER"
2365><I
2366>inlen</I
2367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002368>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002369><TD
2370WIDTH="80%"
2371ALIGN="LEFT"
2372VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002373>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002374></TR
2375><TR
2376><TD
2377WIDTH="20%"
2378ALIGN="RIGHT"
2379VALIGN="TOP"
2380><I
2381CLASS="EMPHASIS"
2382>Returns</I
2383> :</TD
2384><TD
2385WIDTH="80%"
2386ALIGN="LEFT"
2387VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002388>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002389></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002390></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002391></TABLE
2392><P
2393></P
2394></DIV
2395></DIV
2396><HR><DIV
2397CLASS="REFSECT2"
2398><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002399NAME="AEN21245"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002400></A
2401><H3
2402><A
2403NAME="XMLCHECKUTF8"
2404></A
2405>xmlCheckUTF8 ()</H3
2406><TABLE
2407BORDER="0"
2408BGCOLOR="#D6E8FF"
2409WIDTH="100%"
2410CELLPADDING="6"
2411><TR
2412><TD
2413><PRE
2414CLASS="PROGRAMLISTING"
2415>int xmlCheckUTF8 (unsigned char *utf);</PRE
2416></TD
2417></TR
2418></TABLE
2419><P
2420>Checks <TT
2421CLASS="PARAMETER"
2422><I
2423>utf</I
2424></TT
2425> for being valid utf-8. <TT
2426CLASS="PARAMETER"
2427><I
2428>utf</I
2429></TT
2430> is assumed to be
2431null-terminated. This function is not super-strict, as it will
2432allow longer utf-8 sequences than necessary. Note that Java is
2433capable of producing these sequences if provoked. Also note, this
2434routine checks for the 4-byte maxiumum size, but does not check for
24350x10ffff maximum value.</P
2436><P
2437></P
2438><DIV
2439CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002440><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002441NAME="AEN21253"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002442></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002443><P
2444></P
2445><TABLE
2446BORDER="0"
2447WIDTH="100%"
2448BGCOLOR="#FFD0D0"
2449CELLSPACING="0"
2450CELLPADDING="4"
2451CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002452><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002453><TR
2454><TD
2455WIDTH="20%"
2456ALIGN="RIGHT"
2457VALIGN="TOP"
2458><TT
2459CLASS="PARAMETER"
2460><I
2461>utf</I
2462></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002463>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002464><TD
2465WIDTH="80%"
2466ALIGN="LEFT"
2467VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002468>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002469></TR
2470><TR
2471><TD
2472WIDTH="20%"
2473ALIGN="RIGHT"
2474VALIGN="TOP"
2475><I
2476CLASS="EMPHASIS"
2477>Returns</I
2478> :</TD
2479><TD
2480WIDTH="80%"
2481ALIGN="LEFT"
2482VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002483>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002484></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002485></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002486></TABLE
2487><P
2488></P
2489></DIV
2490></DIV
2491><HR><DIV
2492CLASS="REFSECT2"
2493><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002494NAME="AEN21266"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002495></A
2496><H3
2497><A
2498NAME="XMLUTF8STRSIZE"
2499></A
2500>xmlUTF8Strsize ()</H3
2501><TABLE
2502BORDER="0"
2503BGCOLOR="#D6E8FF"
2504WIDTH="100%"
2505CELLPADDING="6"
2506><TR
2507><TD
2508><PRE
2509CLASS="PROGRAMLISTING"
2510>int xmlUTF8Strsize (const <A
2511HREF="libxml-tree.html#XMLCHAR"
2512>xmlChar</A
2513> *utf,
2514 int len);</PRE
2515></TD
2516></TR
2517></TABLE
2518><P
2519>storage size of an UTF8 string</P
2520><P
2521></P
2522><DIV
2523CLASS="INFORMALTABLE"
2524><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002525NAME="AEN21273"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002526></A
2527><P
2528></P
2529><TABLE
2530BORDER="0"
2531WIDTH="100%"
2532BGCOLOR="#FFD0D0"
2533CELLSPACING="0"
2534CELLPADDING="4"
2535CLASS="CALSTABLE"
2536><TBODY
2537><TR
2538><TD
2539WIDTH="20%"
2540ALIGN="RIGHT"
2541VALIGN="TOP"
2542><TT
2543CLASS="PARAMETER"
2544><I
2545>utf</I
2546></TT
2547>&nbsp;:</TD
2548><TD
2549WIDTH="80%"
2550ALIGN="LEFT"
2551VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002552>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002553></TR
2554><TR
2555><TD
2556WIDTH="20%"
2557ALIGN="RIGHT"
2558VALIGN="TOP"
2559><TT
2560CLASS="PARAMETER"
2561><I
2562>len</I
2563></TT
2564>&nbsp;:</TD
2565><TD
2566WIDTH="80%"
2567ALIGN="LEFT"
2568VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002569>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002570></TR
2571><TR
2572><TD
2573WIDTH="20%"
2574ALIGN="RIGHT"
2575VALIGN="TOP"
2576><I
2577CLASS="EMPHASIS"
2578>Returns</I
2579> :</TD
2580><TD
2581WIDTH="80%"
2582ALIGN="LEFT"
2583VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002584>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002585></TR
2586></TBODY
2587></TABLE
2588><P
2589></P
2590></DIV
2591></DIV
2592><HR><DIV
2593CLASS="REFSECT2"
2594><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002595NAME="AEN21290"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002596></A
2597><H3
2598><A
2599NAME="XMLUTF8STRNDUP"
2600></A
2601>xmlUTF8Strndup ()</H3
2602><TABLE
2603BORDER="0"
2604BGCOLOR="#D6E8FF"
2605WIDTH="100%"
2606CELLPADDING="6"
2607><TR
2608><TD
2609><PRE
2610CLASS="PROGRAMLISTING"
2611><A
2612HREF="libxml-tree.html#XMLCHAR"
2613>xmlChar</A
2614>* xmlUTF8Strndup (const <A
2615HREF="libxml-tree.html#XMLCHAR"
2616>xmlChar</A
2617> *utf,
2618 int len);</PRE
2619></TD
2620></TR
2621></TABLE
2622><P
2623>a strndup for array of UTF8's</P
2624><P
2625></P
2626><DIV
2627CLASS="INFORMALTABLE"
2628><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002629NAME="AEN21298"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002630></A
2631><P
2632></P
2633><TABLE
2634BORDER="0"
2635WIDTH="100%"
2636BGCOLOR="#FFD0D0"
2637CELLSPACING="0"
2638CELLPADDING="4"
2639CLASS="CALSTABLE"
2640><TBODY
2641><TR
2642><TD
2643WIDTH="20%"
2644ALIGN="RIGHT"
2645VALIGN="TOP"
2646><TT
2647CLASS="PARAMETER"
2648><I
2649>utf</I
2650></TT
2651>&nbsp;:</TD
2652><TD
2653WIDTH="80%"
2654ALIGN="LEFT"
2655VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002656>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002657></TR
2658><TR
2659><TD
2660WIDTH="20%"
2661ALIGN="RIGHT"
2662VALIGN="TOP"
2663><TT
2664CLASS="PARAMETER"
2665><I
2666>len</I
2667></TT
2668>&nbsp;:</TD
2669><TD
2670WIDTH="80%"
2671ALIGN="LEFT"
2672VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002673>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002674></TR
2675><TR
2676><TD
2677WIDTH="20%"
2678ALIGN="RIGHT"
2679VALIGN="TOP"
2680><I
2681CLASS="EMPHASIS"
2682>Returns</I
2683> :</TD
2684><TD
2685WIDTH="80%"
2686ALIGN="LEFT"
2687VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002688>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002689></TR
2690></TBODY
2691></TABLE
2692><P
2693></P
2694></DIV
2695></DIV
2696><HR><DIV
2697CLASS="REFSECT2"
2698><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002699NAME="AEN21315"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002700></A
2701><H3
2702><A
2703NAME="XMLUTF8STRPOS"
2704></A
2705>xmlUTF8Strpos ()</H3
2706><TABLE
2707BORDER="0"
2708BGCOLOR="#D6E8FF"
2709WIDTH="100%"
2710CELLPADDING="6"
2711><TR
2712><TD
2713><PRE
2714CLASS="PROGRAMLISTING"
2715><A
2716HREF="libxml-tree.html#XMLCHAR"
2717>xmlChar</A
2718>* xmlUTF8Strpos (const <A
2719HREF="libxml-tree.html#XMLCHAR"
2720>xmlChar</A
2721> *utf,
2722 int pos);</PRE
2723></TD
2724></TR
2725></TABLE
2726><P
2727>a function to provide the equivalent of fetching a
2728character from a string array</P
2729><P
2730></P
2731><DIV
2732CLASS="INFORMALTABLE"
2733><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002734NAME="AEN21323"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002735></A
2736><P
2737></P
2738><TABLE
2739BORDER="0"
2740WIDTH="100%"
2741BGCOLOR="#FFD0D0"
2742CELLSPACING="0"
2743CELLPADDING="4"
2744CLASS="CALSTABLE"
2745><TBODY
2746><TR
2747><TD
2748WIDTH="20%"
2749ALIGN="RIGHT"
2750VALIGN="TOP"
2751><TT
2752CLASS="PARAMETER"
2753><I
2754>utf</I
2755></TT
2756>&nbsp;:</TD
2757><TD
2758WIDTH="80%"
2759ALIGN="LEFT"
2760VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002761>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002762></TR
2763><TR
2764><TD
2765WIDTH="20%"
2766ALIGN="RIGHT"
2767VALIGN="TOP"
2768><TT
2769CLASS="PARAMETER"
2770><I
2771>pos</I
2772></TT
2773>&nbsp;:</TD
2774><TD
2775WIDTH="80%"
2776ALIGN="LEFT"
2777VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002778>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002779></TR
2780><TR
2781><TD
2782WIDTH="20%"
2783ALIGN="RIGHT"
2784VALIGN="TOP"
2785><I
2786CLASS="EMPHASIS"
2787>Returns</I
2788> :</TD
2789><TD
2790WIDTH="80%"
2791ALIGN="LEFT"
2792VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002793>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002794></TR
2795></TBODY
2796></TABLE
2797><P
2798></P
2799></DIV
2800></DIV
2801><HR><DIV
2802CLASS="REFSECT2"
2803><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002804NAME="AEN21340"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002805></A
2806><H3
2807><A
2808NAME="XMLUTF8STRLOC"
2809></A
2810>xmlUTF8Strloc ()</H3
2811><TABLE
2812BORDER="0"
2813BGCOLOR="#D6E8FF"
2814WIDTH="100%"
2815CELLPADDING="6"
2816><TR
2817><TD
2818><PRE
2819CLASS="PROGRAMLISTING"
2820>int xmlUTF8Strloc (const <A
2821HREF="libxml-tree.html#XMLCHAR"
2822>xmlChar</A
2823> *utf,
2824 const <A
2825HREF="libxml-tree.html#XMLCHAR"
2826>xmlChar</A
2827> *utfchar);</PRE
2828></TD
2829></TR
2830></TABLE
2831><P
2832>a function to provide relative location of a UTF8 char</P
2833><P
2834></P
2835><DIV
2836CLASS="INFORMALTABLE"
2837><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002838NAME="AEN21348"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002839></A
2840><P
2841></P
2842><TABLE
2843BORDER="0"
2844WIDTH="100%"
2845BGCOLOR="#FFD0D0"
2846CELLSPACING="0"
2847CELLPADDING="4"
2848CLASS="CALSTABLE"
2849><TBODY
2850><TR
2851><TD
2852WIDTH="20%"
2853ALIGN="RIGHT"
2854VALIGN="TOP"
2855><TT
2856CLASS="PARAMETER"
2857><I
2858>utf</I
2859></TT
2860>&nbsp;:</TD
2861><TD
2862WIDTH="80%"
2863ALIGN="LEFT"
2864VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002865>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002866></TR
2867><TR
2868><TD
2869WIDTH="20%"
2870ALIGN="RIGHT"
2871VALIGN="TOP"
2872><TT
2873CLASS="PARAMETER"
2874><I
2875>utfchar</I
2876></TT
2877>&nbsp;:</TD
2878><TD
2879WIDTH="80%"
2880ALIGN="LEFT"
2881VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002882>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002883></TR
2884><TR
2885><TD
2886WIDTH="20%"
2887ALIGN="RIGHT"
2888VALIGN="TOP"
2889><I
2890CLASS="EMPHASIS"
2891>Returns</I
2892> :</TD
2893><TD
2894WIDTH="80%"
2895ALIGN="LEFT"
2896VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002897>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002898></TR
2899></TBODY
2900></TABLE
2901><P
2902></P
2903></DIV
2904></DIV
2905><HR><DIV
2906CLASS="REFSECT2"
2907><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002908NAME="AEN21365"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002909></A
2910><H3
2911><A
2912NAME="XMLUTF8STRSUB"
2913></A
2914>xmlUTF8Strsub ()</H3
2915><TABLE
2916BORDER="0"
2917BGCOLOR="#D6E8FF"
2918WIDTH="100%"
2919CELLPADDING="6"
2920><TR
2921><TD
2922><PRE
2923CLASS="PROGRAMLISTING"
2924><A
2925HREF="libxml-tree.html#XMLCHAR"
2926>xmlChar</A
2927>* xmlUTF8Strsub (const <A
2928HREF="libxml-tree.html#XMLCHAR"
2929>xmlChar</A
2930> *utf,
2931 int start,
2932 int len);</PRE
2933></TD
2934></TR
2935></TABLE
2936><P
2937><TT
2938CLASS="PARAMETER"
2939><I
2940>start</I
2941></TT
2942>: relative pos of first char
2943<TT
2944CLASS="PARAMETER"
2945><I
2946>len</I
2947></TT
2948>: total number to copy</P
2949><P
2950>Note: positions are given in units of UTF-8 chars</P
2951><P
2952></P
2953><DIV
2954CLASS="INFORMALTABLE"
2955><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00002956NAME="AEN21376"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002957></A
2958><P
2959></P
2960><TABLE
2961BORDER="0"
2962WIDTH="100%"
2963BGCOLOR="#FFD0D0"
2964CELLSPACING="0"
2965CELLPADDING="4"
2966CLASS="CALSTABLE"
2967><TBODY
2968><TR
2969><TD
2970WIDTH="20%"
2971ALIGN="RIGHT"
2972VALIGN="TOP"
2973><TT
2974CLASS="PARAMETER"
2975><I
2976>utf</I
2977></TT
2978>&nbsp;:</TD
2979><TD
2980WIDTH="80%"
2981ALIGN="LEFT"
2982VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00002983>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002984></TR
2985><TR
2986><TD
2987WIDTH="20%"
2988ALIGN="RIGHT"
2989VALIGN="TOP"
2990><TT
2991CLASS="PARAMETER"
2992><I
2993>start</I
2994></TT
2995>&nbsp;:</TD
2996><TD
2997WIDTH="80%"
2998ALIGN="LEFT"
2999VALIGN="TOP"
3000>&nbsp;</TD
3001></TR
3002><TR
3003><TD
3004WIDTH="20%"
3005ALIGN="RIGHT"
3006VALIGN="TOP"
3007><TT
3008CLASS="PARAMETER"
3009><I
3010>len</I
3011></TT
3012>&nbsp;:</TD
3013><TD
3014WIDTH="80%"
3015ALIGN="LEFT"
3016VALIGN="TOP"
3017>&nbsp;</TD
3018></TR
3019><TR
3020><TD
3021WIDTH="20%"
3022ALIGN="RIGHT"
3023VALIGN="TOP"
3024><I
3025CLASS="EMPHASIS"
3026>Returns</I
3027> :</TD
3028><TD
3029WIDTH="80%"
3030ALIGN="LEFT"
3031VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003032>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003033></TR
3034></TBODY
3035></TABLE
3036><P
3037></P
3038></DIV
3039></DIV
3040><HR><DIV
3041CLASS="REFSECT2"
3042><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003043NAME="AEN21397"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003044></A
3045><H3
3046><A
3047NAME="XMLUTF8STRLEN"
3048></A
3049>xmlUTF8Strlen ()</H3
3050><TABLE
3051BORDER="0"
3052BGCOLOR="#D6E8FF"
3053WIDTH="100%"
3054CELLPADDING="6"
3055><TR
3056><TD
3057><PRE
3058CLASS="PROGRAMLISTING"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003059>int xmlUTF8Strlen (const <A
3060HREF="libxml-tree.html#XMLCHAR"
3061>xmlChar</A
3062> *utf);</PRE
Daniel Veillarda41123c2001-04-22 19:31:20 +00003063></TD
3064></TR
3065></TABLE
3066><P
3067>compute the lenght of an UTF8 string, it doesn't do a full UTF8
3068checking of the content of the string.</P
3069><P
3070></P
3071><DIV
3072CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003073><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00003074NAME="AEN21404"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003075></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003076><P
3077></P
3078><TABLE
3079BORDER="0"
3080WIDTH="100%"
3081BGCOLOR="#FFD0D0"
3082CELLSPACING="0"
3083CELLPADDING="4"
3084CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003085><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003086><TR
3087><TD
3088WIDTH="20%"
3089ALIGN="RIGHT"
3090VALIGN="TOP"
3091><TT
3092CLASS="PARAMETER"
3093><I
3094>utf</I
3095></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003096>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003097><TD
3098WIDTH="80%"
3099ALIGN="LEFT"
3100VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003101>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003102></TR
3103><TR
3104><TD
3105WIDTH="20%"
3106ALIGN="RIGHT"
3107VALIGN="TOP"
3108><I
3109CLASS="EMPHASIS"
3110>Returns</I
3111> :</TD
3112><TD
3113WIDTH="80%"
3114ALIGN="LEFT"
3115VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00003116>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003117></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003118></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003119></TABLE
3120><P
3121></P
3122></DIV
3123></DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003124></DIV
3125><DIV
3126CLASS="NAVFOOTER"
3127><BR
3128CLEAR="all"><BR><TABLE
3129WIDTH="100%"
3130BORDER="0"
3131BGCOLOR="#000000"
3132CELLPADDING="1"
3133CELLSPACING="0"
3134><TR
3135><TD
3136WIDTH="25%"
3137BGCOLOR="#C00000"
3138ALIGN="left"
3139><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003140HREF="libxml-parserinternals.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003141><FONT
3142COLOR="#FFFFFF"
3143SIZE="3"
3144><B
3145>&#60;&#60;&#60; Previous Page</B
3146></FONT
3147></A
3148></TD
3149><TD
3150WIDTH="25%"
3151BGCOLOR="#0000C0"
3152ALIGN="center"
3153><FONT
3154COLOR="#FFFFFF"
3155SIZE="3"
3156><B
3157><A
3158HREF="book1.html"
3159><FONT
3160COLOR="#FFFFFF"
3161SIZE="3"
3162><B
3163>Home</B
3164></FONT
3165></A
3166></B
3167></FONT
3168></TD
3169><TD
3170WIDTH="25%"
3171BGCOLOR="#00C000"
3172ALIGN="center"
3173><FONT
3174COLOR="#FFFFFF"
3175SIZE="3"
3176><B
3177><A
3178HREF="libxml-lib.html"
3179><FONT
3180COLOR="#FFFFFF"
3181SIZE="3"
3182><B
3183>Up</B
3184></FONT
3185></A
3186></B
3187></FONT
3188></TD
3189><TD
3190WIDTH="25%"
3191BGCOLOR="#C00000"
3192ALIGN="right"
3193><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003194HREF="libxml-debugxml.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003195><FONT
3196COLOR="#FFFFFF"
3197SIZE="3"
3198><B
3199>Next Page &#62;&#62;&#62;</B
3200></FONT
3201></A
3202></TD
3203></TR
3204><TR
3205><TD
3206COLSPAN="2"
3207ALIGN="left"
3208><FONT
3209COLOR="#FFFFFF"
3210SIZE="3"
3211><B
3212>parserInternals</B
3213></FONT
3214></TD
3215><TD
3216COLSPAN="2"
3217ALIGN="right"
3218><FONT
3219COLOR="#FFFFFF"
3220SIZE="3"
3221><B
3222>debugXML</B
3223></FONT
3224></TD
3225></TR
3226></TABLE
3227></DIV
3228></BODY
3229></HTML
3230>