blob: 2152157efe87cacfeb1d3fd3b55e115dbe6e8ae7 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>tree</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000013TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000015REL="PREVIOUS"
Daniel Veillard294cbca1999-12-03 13:19:09 +000016TITLE="SAX"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017HREF="libxml-sax.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000018REL="NEXT"
19TITLE="entities"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-entities.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard35925471999-02-25 08:46:07 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000033BGCOLOR="#000000"
34CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000035CELLSPACING="0"
36><TR
37><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000038COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000039ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000040><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
Daniel Veillard35925471999-02-25 08:46:07 +000045></TR
46><TR
47><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000048WIDTH="25%"
49BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000050ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000051><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000052HREF="libxml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
Daniel Veillard35925471999-02-25 08:46:07 +000060></TD
61><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000062WIDTH="25%"
63BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000064ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000065><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000080></TD
81><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000082WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
Daniel Veillard35008381999-10-25 13:15:52 +000090HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000091><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000104ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
Daniel Veillard35925471999-02-25 08:46:07 +0000114></TD
115></TR
116></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000117></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000120NAME="LIBXML-TREE"
Daniel Veillard503b8932001-01-05 06:36:31 +0000121>tree</A
122></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard60087f32001-10-10 09:45:09 +0000126NAME="AEN3781"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>tree&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillard60087f32001-10-10 09:45:09 +0000134NAME="AEN3784"
Daniel Veillard35925471999-02-25 08:46:07 +0000135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
Daniel Veillarde356c282001-03-10 12:32:04 +0000149#define <A
150HREF="libxml-tree.html#XML-XML-NAMESPACE-CAPS"
151>XML_XML_NAMESPACE</A
152>
Daniel Veillard35925471999-02-25 08:46:07 +0000153enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-tree.html#XMLELEMENTTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000155>xmlElementType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000156>;
Daniel Veillard35925471999-02-25 08:46:07 +0000157typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000158HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000159>xmlChar</A
160>;
161#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000162HREF="libxml-tree.html#BAD-CAST-CAPS"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000163>BAD_CAST</A
164>
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000165struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000166HREF="libxml-tree.html#XMLNOTATION"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000167>xmlNotation</A
168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000170HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000171>xmlNotationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000172>;
Daniel Veillard35925471999-02-25 08:46:07 +0000173enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000174HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000175>xmlAttributeType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000178HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillard35925471999-02-25 08:46:07 +0000179>xmlAttributeDefault</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000180>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000181struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000182HREF="libxml-tree.html#XMLENUMERATION"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000183>xmlEnumeration</A
184>;
Daniel Veillard35925471999-02-25 08:46:07 +0000185typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000186HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000187>xmlEnumerationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000188>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000189struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000190HREF="libxml-tree.html#XMLATTRIBUTE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000191>xmlAttribute</A
192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000194HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000195>xmlAttributePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000196>;
Daniel Veillard35925471999-02-25 08:46:07 +0000197enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000198HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000199>xmlElementContentType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000200>;
Daniel Veillard35925471999-02-25 08:46:07 +0000201enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000202HREF="libxml-tree.html#XMLELEMENTCONTENTOCCUR"
Daniel Veillard35925471999-02-25 08:46:07 +0000203>xmlElementContentOccur</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000204>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000205struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000206HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000207>xmlElementContent</A
208>;
Daniel Veillard35925471999-02-25 08:46:07 +0000209typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000210HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000211>xmlElementContentPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000212>;
Daniel Veillard35925471999-02-25 08:46:07 +0000213enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000215>xmlElementTypeVal</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000216>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000217struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-tree.html#XMLELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000219>xmlElement</A
220>;
Daniel Veillard35925471999-02-25 08:46:07 +0000221typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000223>xmlElementPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000224>;
Daniel Veillarda4964b72000-10-31 18:23:44 +0000225#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-tree.html#XML-LOCAL-NAMESPACE-CAPS"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000227>XML_LOCAL_NAMESPACE</A
228>
229typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000230HREF="libxml-tree.html#XMLNSTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000231>xmlNsType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000232>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000233struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000234HREF="libxml-tree.html#XMLNS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000235>xmlNs</A
236>;
Daniel Veillard35925471999-02-25 08:46:07 +0000237typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000238HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000239>xmlNsPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000240>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000241struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000242HREF="libxml-tree.html#XMLDTD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000243>xmlDtd</A
244>;
Daniel Veillard35925471999-02-25 08:46:07 +0000245typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000246HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000247>xmlDtdPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000248>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000249struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-tree.html#XMLATTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000251>xmlAttr</A
252>;
Daniel Veillard35925471999-02-25 08:46:07 +0000253typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000255>xmlAttrPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000256>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000257struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-tree.html#XMLID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000259>xmlID</A
260>;
Daniel Veillard35925471999-02-25 08:46:07 +0000261typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000263>xmlIDPtr</A
264>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000265struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-tree.html#XMLREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000267>xmlRef</A
268>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000269typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000271>xmlRefPtr</A
272>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000273enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000275>xmlBufferAllocationScheme</A
276>;
277struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000278HREF="libxml-tree.html#XMLBUFFER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000279>xmlBuffer</A
280>;
281typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000282HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000283>xmlBufferPtr</A
284>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000285struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000286HREF="libxml-tree.html#XMLNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000287>xmlNode</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000288>;
Daniel Veillard35925471999-02-25 08:46:07 +0000289typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000290HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000291>xmlNodePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000292>;
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000293#define <A
294HREF="libxml-tree.html#XML-GET-CONTENT-CAPS"
295>XML_GET_CONTENT</A
296> (n)
297#define <A
298HREF="libxml-tree.html#XML-GET-LINE-CAPS"
299>XML_GET_LINE</A
300> (n)
Daniel Veillard71b656e2000-01-05 14:46:17 +0000301struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000302HREF="libxml-tree.html#XMLDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000303>xmlDoc</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000304>;
Daniel Veillard35925471999-02-25 08:46:07 +0000305typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000306HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000307>xmlDocPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000308>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000309#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000310HREF="libxml-tree.html#XMLCHILDRENNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000311>xmlChildrenNode</A
312>
313#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000314HREF="libxml-tree.html#XMLROOTNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000315>xmlRootNode</A
316>
Daniel Veillarda41123c2001-04-22 19:31:20 +0000317void <A
318HREF="libxml-tree.html#XMLSETBUFFERALLOCATIONSCHEME"
319>xmlSetBufferAllocationScheme</A
320> (<A
321HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
322>xmlBufferAllocationScheme</A
323> scheme);
324<A
325HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
326>xmlBufferAllocationScheme</A
327> <A
328HREF="libxml-tree.html#XMLGETBUFFERALLOCATIONSCHEME"
329>xmlGetBufferAllocationScheme</A
330>
331 (void);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000332<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000334>xmlBufferPtr</A
335> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000336HREF="libxml-tree.html#XMLBUFFERCREATE"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000337>xmlBufferCreate</A
338> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000339<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000340HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000341>xmlBufferPtr</A
342> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000343HREF="libxml-tree.html#XMLBUFFERCREATESIZE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000344>xmlBufferCreateSize</A
345> (<GTKDOCLINK
346HREF="SIZE-T"
347>size_t</GTKDOCLINK
348> size);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000349int <A
350HREF="libxml-tree.html#XMLBUFFERRESIZE"
351>xmlBufferResize</A
352> (<A
353HREF="libxml-tree.html#XMLBUFFERPTR"
354>xmlBufferPtr</A
355> buf,
356 unsigned int size);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000357void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-tree.html#XMLBUFFERFREE"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000359>xmlBufferFree</A
360> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000361HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000362>xmlBufferPtr</A
363> buf);
364int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000365HREF="libxml-tree.html#XMLBUFFERDUMP"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000366>xmlBufferDump</A
367> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000368HREF="FILE-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000369>FILE</GTKDOCLINK
370> *file,
371 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000372HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000373>xmlBufferPtr</A
374> buf);
375void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000376HREF="libxml-tree.html#XMLBUFFERADD"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000377>xmlBufferAdd</A
378> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000379HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000380>xmlBufferPtr</A
381> buf,
382 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000383HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000384>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000385> *str,
386 int len);
387void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000388HREF="libxml-tree.html#XMLBUFFERADDHEAD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000389>xmlBufferAddHead</A
390> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000391HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000392>xmlBufferPtr</A
393> buf,
394 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000395HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000396>xmlChar</A
397> *str,
398 int len);
399void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000400HREF="libxml-tree.html#XMLBUFFERCAT"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000401>xmlBufferCat</A
402> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000403HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000404>xmlBufferPtr</A
405> buf,
406 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000407HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000408>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000409> *str);
410void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000411HREF="libxml-tree.html#XMLBUFFERCCAT"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000412>xmlBufferCCat</A
413> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000414HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000415>xmlBufferPtr</A
416> buf,
417 const char *str);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000418int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000419HREF="libxml-tree.html#XMLBUFFERSHRINK"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000420>xmlBufferShrink</A
421> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000422HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000423>xmlBufferPtr</A
424> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000425 unsigned int len);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000426int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000427HREF="libxml-tree.html#XMLBUFFERGROW"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000428>xmlBufferGrow</A
429> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000430HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000431>xmlBufferPtr</A
432> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000433 unsigned int len);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000434void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000435HREF="libxml-tree.html#XMLBUFFEREMPTY"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000436>xmlBufferEmpty</A
437> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000438HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000439>xmlBufferPtr</A
440> buf);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000441const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000442HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000443>xmlChar</A
444>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000445HREF="libxml-tree.html#XMLBUFFERCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000446>xmlBufferContent</A
447> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000448HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000449>xmlBufferPtr</A
450> buf);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000451void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000452HREF="libxml-tree.html#XMLBUFFERSETALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000453>xmlBufferSetAllocationScheme</A
454> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000455HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000456>xmlBufferPtr</A
457> buf,
458 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000459HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000460>xmlBufferAllocationScheme</A
461> scheme);
462int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000463HREF="libxml-tree.html#XMLBUFFERLENGTH"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000464>xmlBufferLength</A
465> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000466HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000467>xmlBufferPtr</A
468> buf);
Daniel Veillard35925471999-02-25 08:46:07 +0000469<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000470HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000471>xmlDtdPtr</A
472> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000473HREF="libxml-tree.html#XMLCREATEINTSUBSET"
Daniel Veillard35925471999-02-25 08:46:07 +0000474>xmlCreateIntSubset</A
475> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000476HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000477>xmlDocPtr</A
478> doc,
479 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000480HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000481>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000482> *name,
483 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000484HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000485>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000486> *ExternalID,
487 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000488HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000489>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000490> *SystemID);
491<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000492HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000493>xmlDtdPtr</A
494> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000495HREF="libxml-tree.html#XMLNEWDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000496>xmlNewDtd</A
497> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000498HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000499>xmlDocPtr</A
500> doc,
501 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000503>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000504> *name,
505 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000506HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000507>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000508> *ExternalID,
509 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000510HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000511>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000512> *SystemID);
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000513<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000514HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000515>xmlDtdPtr</A
516> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000517HREF="libxml-tree.html#XMLGETINTSUBSET"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000518>xmlGetIntSubset</A
519> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000520HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000521>xmlDocPtr</A
522> doc);
Daniel Veillard35925471999-02-25 08:46:07 +0000523void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000524HREF="libxml-tree.html#XMLFREEDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000525>xmlFreeDtd</A
526> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000527HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000528>xmlDtdPtr</A
529> cur);
530<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000531HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000532>xmlNsPtr</A
533> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000534HREF="libxml-tree.html#XMLNEWGLOBALNS"
Daniel Veillard35925471999-02-25 08:46:07 +0000535>xmlNewGlobalNs</A
536> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000537HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000538>xmlDocPtr</A
539> doc,
540 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000541HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000542>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000543> *href,
544 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000545HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000546>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000547> *prefix);
548<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000549HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000550>xmlNsPtr</A
551> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000552HREF="libxml-tree.html#XMLNEWNS"
Daniel Veillard35925471999-02-25 08:46:07 +0000553>xmlNewNs</A
554> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000555HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000556>xmlNodePtr</A
557> node,
558 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000559HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000560>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000561> *href,
562 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000563HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000564>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000565> *prefix);
566void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000567HREF="libxml-tree.html#XMLFREENS"
Daniel Veillard35925471999-02-25 08:46:07 +0000568>xmlFreeNs</A
569> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000570HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000571>xmlNsPtr</A
572> cur);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000573void <A
574HREF="libxml-tree.html#XMLFREENSLIST"
575>xmlFreeNsList</A
576> (<A
577HREF="libxml-tree.html#XMLNSPTR"
578>xmlNsPtr</A
579> cur);
Daniel Veillard35925471999-02-25 08:46:07 +0000580<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000581HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000582>xmlDocPtr</A
583> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000584HREF="libxml-tree.html#XMLNEWDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000585>xmlNewDoc</A
586> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000588>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000589> *version);
590void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000591HREF="libxml-tree.html#XMLFREEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000592>xmlFreeDoc</A
593> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000595>xmlDocPtr</A
596> cur);
597<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000598HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000599>xmlAttrPtr</A
600> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-tree.html#XMLNEWDOCPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000602>xmlNewDocProp</A
603> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000604HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000605>xmlDocPtr</A
606> doc,
607 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000608HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000609>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000610> *name,
611 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000612HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000613>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000614> *value);
615<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000617>xmlAttrPtr</A
618> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000619HREF="libxml-tree.html#XMLNEWPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000620>xmlNewProp</A
621> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000622HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000623>xmlNodePtr</A
624> node,
625 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000626HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000627>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000628> *name,
629 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000630HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000631>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000632> *value);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000633<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000634HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000635>xmlAttrPtr</A
636> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-tree.html#XMLNEWNSPROP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000638>xmlNewNsProp</A
639> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000640HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000641>xmlNodePtr</A
642> node,
643 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000644HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000645>xmlNsPtr</A
646> ns,
647 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000649>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000650> *name,
651 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000653>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000654> *value);
Daniel Veillard35925471999-02-25 08:46:07 +0000655void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLFREEPROPLIST"
Daniel Veillard35925471999-02-25 08:46:07 +0000657>xmlFreePropList</A
658> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000659HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000660>xmlAttrPtr</A
661> cur);
662void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000663HREF="libxml-tree.html#XMLFREEPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000664>xmlFreeProp</A
665> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000666HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000667>xmlAttrPtr</A
668> cur);
669<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000670HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000671>xmlAttrPtr</A
672> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000673HREF="libxml-tree.html#XMLCOPYPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000674>xmlCopyProp</A
675> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000676HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000677>xmlNodePtr</A
678> target,
679 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000680HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000681>xmlAttrPtr</A
682> cur);
683<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000684HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000685>xmlAttrPtr</A
686> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000687HREF="libxml-tree.html#XMLCOPYPROPLIST"
Daniel Veillard35925471999-02-25 08:46:07 +0000688>xmlCopyPropList</A
689> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000691>xmlNodePtr</A
692> target,
693 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000694HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000695>xmlAttrPtr</A
696> cur);
697<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000698HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000699>xmlDtdPtr</A
700> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000701HREF="libxml-tree.html#XMLCOPYDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000702>xmlCopyDtd</A
703> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000704HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000705>xmlDtdPtr</A
706> dtd);
707<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000708HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000709>xmlDocPtr</A
710> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000711HREF="libxml-tree.html#XMLCOPYDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000712>xmlCopyDoc</A
713> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000714HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000715>xmlDocPtr</A
716> doc,
717 int recursive);
718<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000719HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000720>xmlNodePtr</A
721> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000722HREF="libxml-tree.html#XMLNEWDOCNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000723>xmlNewDocNode</A
724> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000725HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000726>xmlDocPtr</A
727> doc,
728 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000729HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000730>xmlNsPtr</A
731> ns,
732 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000733HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000734>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000735> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000736 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000737HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000738>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000739> *content);
740<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000741HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000742>xmlNodePtr</A
743> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000744HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000745>xmlNewDocRawNode</A
746> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000747HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000748>xmlDocPtr</A
749> doc,
750 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000751HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000752>xmlNsPtr</A
753> ns,
754 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000755HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000756>xmlChar</A
757> *name,
758 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000759HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000760>xmlChar</A
761> *content);
762<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000763HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000764>xmlNodePtr</A
765> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000766HREF="libxml-tree.html#XMLNEWNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000767>xmlNewNode</A
768> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000769HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000770>xmlNsPtr</A
771> ns,
772 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000773HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000774>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000775> *name);
776<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000777HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000778>xmlNodePtr</A
779> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000780HREF="libxml-tree.html#XMLNEWCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +0000781>xmlNewChild</A
782> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000783HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000784>xmlNodePtr</A
785> parent,
786 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000787HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000788>xmlNsPtr</A
789> ns,
790 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000791HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000792>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000793> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000794 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000795HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000796>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000797> *content);
798<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000799HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000800>xmlNodePtr</A
801> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-tree.html#XMLNEWTEXTCHILD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000803>xmlNewTextChild</A
804> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000805HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000806>xmlNodePtr</A
807> parent,
808 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000810>xmlNsPtr</A
811> ns,
812 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000813HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000814>xmlChar</A
815> *name,
816 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000817HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000818>xmlChar</A
819> *content);
820<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000821HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000822>xmlNodePtr</A
823> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000824HREF="libxml-tree.html#XMLNEWDOCTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000825>xmlNewDocText</A
826> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000827HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000828>xmlDocPtr</A
829> doc,
830 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000831HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000832>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000833> *content);
834<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000835HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000836>xmlNodePtr</A
837> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000838HREF="libxml-tree.html#XMLNEWTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000839>xmlNewText</A
840> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000841HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000842>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000843> *content);
844<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000845HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000846>xmlNodePtr</A
847> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000848HREF="libxml-tree.html#XMLNEWPI"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000849>xmlNewPI</A
850> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000851HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000852>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000853> *name,
854 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000855HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000856>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000857> *content);
858<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000859HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000860>xmlNodePtr</A
861> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000862HREF="libxml-tree.html#XMLNEWDOCTEXTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000863>xmlNewDocTextLen</A
864> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000865HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000866>xmlDocPtr</A
867> doc,
868 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000869HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000870>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000871> *content,
872 int len);
873<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000874HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000875>xmlNodePtr</A
876> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-tree.html#XMLNEWTEXTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000878>xmlNewTextLen</A
879> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000880HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000881>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000882> *content,
883 int len);
884<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000885HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000886>xmlNodePtr</A
887> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000888HREF="libxml-tree.html#XMLNEWDOCCOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000889>xmlNewDocComment</A
890> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000891HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000892>xmlDocPtr</A
893> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000894 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000895HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000896>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000897> *content);
898<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000899HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000900>xmlNodePtr</A
901> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000902HREF="libxml-tree.html#XMLNEWCOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000903>xmlNewComment</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000904> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000905HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000906>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000907> *content);
908<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000909HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000910>xmlNodePtr</A
911> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000912HREF="libxml-tree.html#XMLNEWCDATABLOCK"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000913>xmlNewCDataBlock</A
914> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000915HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000916>xmlDocPtr</A
917> doc,
918 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000919HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000920>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000921> *content,
922 int len);
923<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000924HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000925>xmlNodePtr</A
926> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000927HREF="libxml-tree.html#XMLNEWCHARREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000928>xmlNewCharRef</A
929> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000930HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000931>xmlDocPtr</A
932> doc,
933 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000934HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000935>xmlChar</A
936> *name);
937<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000938HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000939>xmlNodePtr</A
940> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000941HREF="libxml-tree.html#XMLNEWREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +0000942>xmlNewReference</A
943> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000944HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000945>xmlDocPtr</A
946> doc,
947 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000948HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000949>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000950> *name);
951<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000952HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000953>xmlNodePtr</A
954> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000955HREF="libxml-tree.html#XMLCOPYNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000956>xmlCopyNode</A
Daniel Veillard04382ae2001-09-12 18:51:30 +0000957> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000958HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000959>xmlNodePtr</A
960> node,
961 int recursive);
962<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000963HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000964>xmlNodePtr</A
965> <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000966HREF="libxml-tree.html#XMLDOCCOPYNODE"
967>xmlDocCopyNode</A
968> (<A
969HREF="libxml-tree.html#XMLNODEPTR"
970>xmlNodePtr</A
971> node,
972 <A
973HREF="libxml-tree.html#XMLDOCPTR"
974>xmlDocPtr</A
975> doc,
976 int recursive);
977<A
978HREF="libxml-tree.html#XMLNODEPTR"
979>xmlNodePtr</A
980> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000981HREF="libxml-tree.html#XMLCOPYNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +0000982>xmlCopyNodeList</A
983> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000984HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000985>xmlNodePtr</A
986> node);
987<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000988HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000989>xmlNodePtr</A
990> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000991HREF="libxml-tree.html#XMLNEWDOCFRAGMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000992>xmlNewDocFragment</A
993> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000994HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000995>xmlDocPtr</A
996> doc);
997<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000998HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000999>xmlNodePtr</A
1000> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001001HREF="libxml-tree.html#XMLDOCGETROOTELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001002>xmlDocGetRootElement</A
1003> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001004HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001005>xmlDocPtr</A
1006> doc);
1007<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001008HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001009>xmlNodePtr</A
1010> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001011HREF="libxml-tree.html#XMLGETLASTCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +00001012>xmlGetLastChild</A
1013> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001014HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001015>xmlNodePtr</A
1016> parent);
1017int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001018HREF="libxml-tree.html#XMLNODEISTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001019>xmlNodeIsText</A
1020> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001021HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001022>xmlNodePtr</A
1023> node);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001024int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001025HREF="libxml-tree.html#XMLISBLANKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001026>xmlIsBlankNode</A
1027> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001028HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001029>xmlNodePtr</A
1030> node);
1031<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001032HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001033>xmlNodePtr</A
1034> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001035HREF="libxml-tree.html#XMLDOCSETROOTELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001036>xmlDocSetRootElement</A
1037> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001038HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001039>xmlDocPtr</A
1040> doc,
1041 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001042HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001043>xmlNodePtr</A
1044> root);
1045void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001046HREF="libxml-tree.html#XMLNODESETNAME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001047>xmlNodeSetName</A
1048> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001049HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001050>xmlNodePtr</A
1051> cur,
1052 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001053HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001054>xmlChar</A
1055> *name);
Daniel Veillardf3a73582000-01-05 14:58:39 +00001056<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001057HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001058>xmlNodePtr</A
1059> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001060HREF="libxml-tree.html#XMLADDCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +00001061>xmlAddChild</A
1062> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001063HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001064>xmlNodePtr</A
1065> parent,
1066 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001067HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001068>xmlNodePtr</A
1069> cur);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001070<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001071HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001072>xmlNodePtr</A
1073> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001074HREF="libxml-tree.html#XMLADDCHILDLIST"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001075>xmlAddChildList</A
1076> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001077HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001078>xmlNodePtr</A
1079> parent,
1080 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001081HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001082>xmlNodePtr</A
1083> cur);
1084<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001085HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001086>xmlNodePtr</A
1087> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001088HREF="libxml-tree.html#XMLREPLACENODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001089>xmlReplaceNode</A
1090> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001091HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001092>xmlNodePtr</A
1093> old,
1094 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001095HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001096>xmlNodePtr</A
1097> cur);
1098<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001099HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001100>xmlNodePtr</A
1101> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001102HREF="libxml-tree.html#XMLADDSIBLING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001103>xmlAddSibling</A
1104> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001105HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001106>xmlNodePtr</A
1107> cur,
1108 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001109HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001110>xmlNodePtr</A
1111> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001112<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001113HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001114>xmlNodePtr</A
1115> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001116HREF="libxml-tree.html#XMLADDPREVSIBLING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001117>xmlAddPrevSibling</A
1118> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001119HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001120>xmlNodePtr</A
1121> cur,
1122 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001123HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001124>xmlNodePtr</A
1125> elem);
1126<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001127HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001128>xmlNodePtr</A
1129> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001130HREF="libxml-tree.html#XMLADDNEXTSIBLING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001131>xmlAddNextSibling</A
1132> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001133HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001134>xmlNodePtr</A
1135> cur,
1136 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001137HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001138>xmlNodePtr</A
1139> elem);
Daniel Veillard35925471999-02-25 08:46:07 +00001140void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001141HREF="libxml-tree.html#XMLUNLINKNODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001142>xmlUnlinkNode</A
1143> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001144HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001145>xmlNodePtr</A
1146> cur);
1147<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001148HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001149>xmlNodePtr</A
1150> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001151HREF="libxml-tree.html#XMLTEXTMERGE"
Daniel Veillard35925471999-02-25 08:46:07 +00001152>xmlTextMerge</A
1153> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001154HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001155>xmlNodePtr</A
1156> first,
1157 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001158HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001159>xmlNodePtr</A
1160> second);
1161void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001162HREF="libxml-tree.html#XMLTEXTCONCAT"
Daniel Veillard35925471999-02-25 08:46:07 +00001163>xmlTextConcat</A
1164> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001165HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001166>xmlNodePtr</A
1167> node,
1168 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001169HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001170>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001171> *content,
1172 int len);
1173void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001174HREF="libxml-tree.html#XMLFREENODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001175>xmlFreeNodeList</A
1176> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001177HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001178>xmlNodePtr</A
1179> cur);
1180void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001181HREF="libxml-tree.html#XMLFREENODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001182>xmlFreeNode</A
1183> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001184HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001185>xmlNodePtr</A
1186> cur);
Daniel Veillard28929b22000-11-13 18:22:49 +00001187void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001188HREF="libxml-tree.html#XMLSETTREEDOC"
Daniel Veillard28929b22000-11-13 18:22:49 +00001189>xmlSetTreeDoc</A
1190> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001191HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001192>xmlNodePtr</A
1193> tree,
1194 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001195HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001196>xmlDocPtr</A
1197> doc);
1198void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001199HREF="libxml-tree.html#XMLSETLISTDOC"
Daniel Veillard28929b22000-11-13 18:22:49 +00001200>xmlSetListDoc</A
1201> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001202HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001203>xmlNodePtr</A
1204> list,
1205 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001206HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001207>xmlDocPtr</A
1208> doc);
Daniel Veillard35925471999-02-25 08:46:07 +00001209<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001210HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001211>xmlNsPtr</A
1212> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001213HREF="libxml-tree.html#XMLSEARCHNS"
Daniel Veillard35925471999-02-25 08:46:07 +00001214>xmlSearchNs</A
1215> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001216HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001217>xmlDocPtr</A
1218> doc,
1219 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001220HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001221>xmlNodePtr</A
1222> node,
1223 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001224HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001225>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001226> *nameSpace);
1227<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001228HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001229>xmlNsPtr</A
1230> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001231HREF="libxml-tree.html#XMLSEARCHNSBYHREF"
Daniel Veillard35925471999-02-25 08:46:07 +00001232>xmlSearchNsByHref</A
1233> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001234HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001235>xmlDocPtr</A
1236> doc,
1237 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001238HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001239>xmlNodePtr</A
1240> node,
1241 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001242HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001243>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001244> *href);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001245<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001246HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001247>xmlNsPtr</A
1248>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001249HREF="libxml-tree.html#XMLGETNSLIST"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001250>xmlGetNsList</A
1251> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001252HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001253>xmlDocPtr</A
1254> doc,
1255 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001256HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001257>xmlNodePtr</A
1258> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001259void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001260HREF="libxml-tree.html#XMLSETNS"
Daniel Veillard35925471999-02-25 08:46:07 +00001261>xmlSetNs</A
1262> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001263HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001264>xmlNodePtr</A
1265> node,
1266 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001267HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001268>xmlNsPtr</A
1269> ns);
1270<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001271HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001272>xmlNsPtr</A
1273> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001274HREF="libxml-tree.html#XMLCOPYNAMESPACE"
Daniel Veillard35925471999-02-25 08:46:07 +00001275>xmlCopyNamespace</A
1276> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001277HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001278>xmlNsPtr</A
1279> cur);
1280<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001281HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001282>xmlNsPtr</A
1283> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001284HREF="libxml-tree.html#XMLCOPYNAMESPACELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001285>xmlCopyNamespaceList</A
1286> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001287HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001288>xmlNsPtr</A
1289> cur);
1290<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001291HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001292>xmlAttrPtr</A
1293> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001294HREF="libxml-tree.html#XMLSETPROP"
Daniel Veillard35925471999-02-25 08:46:07 +00001295>xmlSetProp</A
1296> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001297HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001298>xmlNodePtr</A
1299> node,
1300 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001301HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001302>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001303> *name,
1304 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001305HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001306>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001307> *value);
1308<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001309HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001310>xmlChar</A
1311>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001312HREF="libxml-tree.html#XMLGETPROP"
Daniel Veillard35925471999-02-25 08:46:07 +00001313>xmlGetProp</A
1314> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001315HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001316>xmlNodePtr</A
1317> node,
1318 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001319HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001320>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001321> *name);
1322<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001323HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001324>xmlAttrPtr</A
1325> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001326HREF="libxml-tree.html#XMLHASPROP"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001327>xmlHasProp</A
1328> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001329HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001330>xmlNodePtr</A
1331> node,
1332 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001333HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001334>xmlChar</A
1335> *name);
1336<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001337HREF="libxml-tree.html#XMLATTRPTR"
1338>xmlAttrPtr</A
1339> <A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001340HREF="libxml-tree.html#XMLHASNSPROP"
1341>xmlHasNsProp</A
1342> (<A
1343HREF="libxml-tree.html#XMLNODEPTR"
1344>xmlNodePtr</A
1345> node,
1346 const <A
1347HREF="libxml-tree.html#XMLCHAR"
1348>xmlChar</A
1349> *name,
1350 const <A
1351HREF="libxml-tree.html#XMLCHAR"
1352>xmlChar</A
1353> *nameSpace);
1354<A
1355HREF="libxml-tree.html#XMLATTRPTR"
1356>xmlAttrPtr</A
1357> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001358HREF="libxml-tree.html#XMLSETNSPROP"
1359>xmlSetNsProp</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001360> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001361HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001362>xmlNodePtr</A
1363> node,
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001364 <A
1365HREF="libxml-tree.html#XMLNSPTR"
1366>xmlNsPtr</A
1367> ns,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001368 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001369HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001370>xmlChar</A
1371> *name,
1372 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001373HREF="libxml-tree.html#XMLCHAR"
1374>xmlChar</A
1375> *value);
1376<A
1377HREF="libxml-tree.html#XMLCHAR"
1378>xmlChar</A
1379>* <A
1380HREF="libxml-tree.html#XMLGETNSPROP"
1381>xmlGetNsProp</A
1382> (<A
1383HREF="libxml-tree.html#XMLNODEPTR"
1384>xmlNodePtr</A
1385> node,
1386 const <A
1387HREF="libxml-tree.html#XMLCHAR"
1388>xmlChar</A
1389> *name,
1390 const <A
1391HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001392>xmlChar</A
1393> *nameSpace);
1394<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001395HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001396>xmlNodePtr</A
1397> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001398HREF="libxml-tree.html#XMLSTRINGGETNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001399>xmlStringGetNodeList</A
1400> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001401HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001402>xmlDocPtr</A
1403> doc,
1404 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001405HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001406>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001407> *value);
1408<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001409HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001410>xmlNodePtr</A
1411> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001412HREF="libxml-tree.html#XMLSTRINGLENGETNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001413>xmlStringLenGetNodeList</A
1414> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001415HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001416>xmlDocPtr</A
1417> doc,
1418 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001419HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001420>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001421> *value,
1422 int len);
1423<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001424HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001425>xmlChar</A
1426>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001427HREF="libxml-tree.html#XMLNODELISTGETSTRING"
Daniel Veillard35925471999-02-25 08:46:07 +00001428>xmlNodeListGetString</A
1429> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001430HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001431>xmlDocPtr</A
1432> doc,
1433 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001434HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001435>xmlNodePtr</A
1436> list,
1437 int inLine);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001438<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001439HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001440>xmlChar</A
1441>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001442HREF="libxml-tree.html#XMLNODELISTGETRAWSTRING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001443>xmlNodeListGetRawString</A
1444> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001445HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001446>xmlDocPtr</A
1447> doc,
1448 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001449HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001450>xmlNodePtr</A
1451> list,
1452 int inLine);
Daniel Veillard35925471999-02-25 08:46:07 +00001453void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001454HREF="libxml-tree.html#XMLNODESETCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001455>xmlNodeSetContent</A
1456> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001457HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001458>xmlNodePtr</A
1459> cur,
1460 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001461HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001462>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001463> *content);
1464void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001465HREF="libxml-tree.html#XMLNODESETCONTENTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +00001466>xmlNodeSetContentLen</A
1467> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001468HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001469>xmlNodePtr</A
1470> cur,
1471 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001472HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001473>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001474> *content,
1475 int len);
1476void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001477HREF="libxml-tree.html#XMLNODEADDCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001478>xmlNodeAddContent</A
1479> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001480HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001481>xmlNodePtr</A
1482> cur,
1483 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001484HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001485>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001486> *content);
1487void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001488HREF="libxml-tree.html#XMLNODEADDCONTENTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +00001489>xmlNodeAddContentLen</A
1490> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001491HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001492>xmlNodePtr</A
1493> cur,
1494 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001495HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001496>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001497> *content,
1498 int len);
1499<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001500HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001501>xmlChar</A
1502>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001503HREF="libxml-tree.html#XMLNODEGETCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001504>xmlNodeGetContent</A
1505> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001506HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001507>xmlNodePtr</A
1508> cur);
Daniel Veillarda819dac1999-11-24 18:04:22 +00001509<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001510HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001511>xmlChar</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001512>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001513HREF="libxml-tree.html#XMLNODEGETLANG"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001514>xmlNodeGetLang</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001515> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001516HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001517>xmlNodePtr</A
1518> cur);
1519void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001520HREF="libxml-tree.html#XMLNODESETLANG"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001521>xmlNodeSetLang</A
1522> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001523HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001524>xmlNodePtr</A
1525> cur,
1526 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001527HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001528>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001529> *lang);
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001530int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001531HREF="libxml-tree.html#XMLNODEGETSPACEPRESERVE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001532>xmlNodeGetSpacePreserve</A
1533> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001534HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001535>xmlNodePtr</A
1536> cur);
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001537void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001538HREF="libxml-tree.html#XMLNODESETSPACEPRESERVE"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001539>xmlNodeSetSpacePreserve</A
1540> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001541HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001542>xmlNodePtr</A
1543> cur,
1544 <GTKDOCLINK
1545HREF="INTVAL"
1546>intval</GTKDOCLINK
1547>);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001548<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001549HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001550>xmlChar</A
1551>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001552HREF="libxml-tree.html#XMLNODEGETBASE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001553>xmlNodeGetBase</A
1554> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001555HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001556>xmlDocPtr</A
1557> doc,
1558 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001559HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001560>xmlNodePtr</A
1561> cur);
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001562void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001563HREF="libxml-tree.html#XMLNODESETBASE"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001564>xmlNodeSetBase</A
1565> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001566HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001567>xmlNodePtr</A
1568> cur,
1569 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001570HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001571>xmlChar</A
1572> *uri);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001573int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001574HREF="libxml-tree.html#XMLREMOVEPROP"
Daniel Veillard06047432000-04-24 11:33:38 +00001575>xmlRemoveProp</A
1576> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001577HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard06047432000-04-24 11:33:38 +00001578>xmlAttrPtr</A
1579> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001580int <A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001581HREF="libxml-tree.html#XMLUNSETPROP"
1582>xmlUnsetProp</A
1583> (<A
1584HREF="libxml-tree.html#XMLNODEPTR"
1585>xmlNodePtr</A
1586> node,
1587 const <A
1588HREF="libxml-tree.html#XMLCHAR"
1589>xmlChar</A
1590> *name);
1591int <A
1592HREF="libxml-tree.html#XMLUNSETNSPROP"
1593>xmlUnsetNsProp</A
1594> (<A
1595HREF="libxml-tree.html#XMLNODEPTR"
1596>xmlNodePtr</A
1597> node,
1598 <A
1599HREF="libxml-tree.html#XMLNSPTR"
1600>xmlNsPtr</A
1601> ns,
1602 const <A
1603HREF="libxml-tree.html#XMLCHAR"
1604>xmlChar</A
1605> *name);
Daniel Veillard35925471999-02-25 08:46:07 +00001606void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001607HREF="libxml-tree.html#XMLBUFFERWRITEXMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001608>xmlBufferWriteXmlCHAR</A
1609> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001610HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001611>xmlBufferPtr</A
1612> buf,
1613 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001614HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001615>xmlChar</A
1616> *string);
1617void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001618HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001619>xmlBufferWriteCHAR</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001620> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001621HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001622>xmlBufferPtr</A
1623> buf,
1624 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001625HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001626>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001627> *string);
1628void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001629HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001630>xmlBufferWriteChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001631> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001632HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001633>xmlBufferPtr</A
1634> buf,
1635 const char *string);
Daniel Veillard35925471999-02-25 08:46:07 +00001636void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001637HREF="libxml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001638>xmlBufferWriteQuotedString</A
1639> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001640HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001641>xmlBufferPtr</A
1642> buf,
1643 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001644HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001645>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001646> *string);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001647int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001648HREF="libxml-tree.html#XMLRECONCILIATENS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001649>xmlReconciliateNs</A
1650> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001651HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001652>xmlDocPtr</A
1653> doc,
1654 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001655HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001656>xmlNodePtr</A
1657> tree);
Daniel Veillard011b63c1999-06-02 17:44:04 +00001658void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001659HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORY"
Daniel Veillard503b8932001-01-05 06:36:31 +00001660>xmlDocDumpFormatMemory</A
1661> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001662HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001663>xmlDocPtr</A
1664> cur,
1665 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001666HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001667>xmlChar</A
1668> **mem,
1669 int *size,
1670 int format);
1671void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001672HREF="libxml-tree.html#XMLDOCDUMPMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +00001673>xmlDocDumpMemory</A
1674> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001675HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001676>xmlDocPtr</A
1677> cur,
1678 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001679HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001680>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001681> **mem,
1682 int *size);
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001683void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001684HREF="libxml-tree.html#XMLDOCDUMPMEMORYENC"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001685>xmlDocDumpMemoryEnc</A
1686> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001687HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001688>xmlDocPtr</A
1689> out_doc,
1690 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001691HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001692>xmlChar</A
1693> **doc_txt_ptr,
1694 int *doc_txt_len,
1695 const char *txt_encoding);
Daniel Veillard503b8932001-01-05 06:36:31 +00001696void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001697HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORYENC"
Daniel Veillard503b8932001-01-05 06:36:31 +00001698>xmlDocDumpFormatMemoryEnc</A
1699> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001700HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001701>xmlDocPtr</A
1702> out_doc,
1703 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001704HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001705>xmlChar</A
1706> **doc_txt_ptr,
1707 int *doc_txt_len,
1708 const char *txt_encoding,
1709 int format);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001710int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001711HREF="libxml-tree.html#XMLDOCDUMP"
Daniel Veillard35925471999-02-25 08:46:07 +00001712>xmlDocDump</A
1713> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001714HREF="FILE-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001715>FILE</GTKDOCLINK
1716> *f,
1717 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001718HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001719>xmlDocPtr</A
1720> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001721void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001722HREF="libxml-tree.html#XMLELEMDUMP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001723>xmlElemDump</A
1724> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001725HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001726>FILE</GTKDOCLINK
1727> *f,
1728 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001729HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001730>xmlDocPtr</A
1731> doc,
1732 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001733HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001734>xmlNodePtr</A
1735> cur);
Daniel Veillard35925471999-02-25 08:46:07 +00001736int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001737HREF="libxml-tree.html#XMLSAVEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +00001738>xmlSaveFile</A
1739> (const char *filename,
1740 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001741HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001742>xmlDocPtr</A
1743> cur);
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001744int <A
1745HREF="libxml-tree.html#XMLSAVEFORMATFILE"
1746>xmlSaveFormatFile</A
1747> (const char *filename,
1748 <A
1749HREF="libxml-tree.html#XMLDOCPTR"
1750>xmlDocPtr</A
1751> cur,
1752 int format);
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001753void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001754HREF="libxml-tree.html#XMLNODEDUMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001755>xmlNodeDump</A
1756> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001757HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001758>xmlBufferPtr</A
1759> buf,
1760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001761HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001762>xmlDocPtr</A
1763> doc,
1764 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001765HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001766>xmlNodePtr</A
1767> cur,
1768 int level,
1769 int format);
Daniel Veillard35925471999-02-25 08:46:07 +00001770int <A
Daniel Veillardf012a642001-07-23 19:10:52 +00001771HREF="libxml-tree.html#XMLSAVEFORMATFILEENC"
1772>xmlSaveFormatFileEnc</A
1773> (const char *filename,
1774 <A
1775HREF="libxml-tree.html#XMLDOCPTR"
1776>xmlDocPtr</A
1777> cur,
1778 const char *encoding,
1779 int format);
1780int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001781HREF="libxml-tree.html#XMLSAVEFILEENC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001782>xmlSaveFileEnc</A
1783> (const char *filename,
1784 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001785HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001786>xmlDocPtr</A
1787> cur,
1788 const char *encoding);
1789int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001790HREF="libxml-tree.html#XMLGETDOCCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001791>xmlGetDocCompressMode</A
1792> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001793HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001794>xmlDocPtr</A
1795> doc);
1796void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001797HREF="libxml-tree.html#XMLSETDOCCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001798>xmlSetDocCompressMode</A
1799> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001800HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001801>xmlDocPtr</A
1802> doc,
1803 int mode);
1804int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001805HREF="libxml-tree.html#XMLGETCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001806>xmlGetCompressMode</A
1807> (void);
1808void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001809HREF="libxml-tree.html#XMLSETCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001810>xmlSetCompressMode</A
1811> (int mode);</PRE
1812></TD
1813></TR
1814></TABLE
1815></DIV
1816><DIV
1817CLASS="REFSECT1"
1818><A
Daniel Veillard60087f32001-10-10 09:45:09 +00001819NAME="AEN4239"
Daniel Veillard35925471999-02-25 08:46:07 +00001820></A
1821><H2
1822>Description</H2
1823><P
1824></P
1825></DIV
1826><DIV
1827CLASS="REFSECT1"
1828><A
Daniel Veillard60087f32001-10-10 09:45:09 +00001829NAME="AEN4242"
Daniel Veillard35925471999-02-25 08:46:07 +00001830></A
1831><H2
1832>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001833><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001834CLASS="REFSECT2"
1835><A
Daniel Veillard60087f32001-10-10 09:45:09 +00001836NAME="AEN4244"
Daniel Veillarde356c282001-03-10 12:32:04 +00001837></A
1838><H3
1839><A
1840NAME="XML-XML-NAMESPACE-CAPS"
1841></A
1842>XML_XML_NAMESPACE</H3
1843><TABLE
1844BORDER="0"
1845BGCOLOR="#D6E8FF"
1846WIDTH="100%"
1847CELLPADDING="6"
1848><TR
1849><TD
1850><PRE
1851CLASS="PROGRAMLISTING"
1852>#define XML_XML_NAMESPACE</PRE
1853></TD
1854></TR
1855></TABLE
1856><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001857>This is the namespace for the special xml: prefix predefined in the
1858XML Namespace specification</P
1859><P
Daniel Veillarde356c282001-03-10 12:32:04 +00001860></P
1861></DIV
1862><HR><DIV
1863CLASS="REFSECT2"
1864><A
Daniel Veillard60087f32001-10-10 09:45:09 +00001865NAME="AEN4250"
Daniel Veillard35925471999-02-25 08:46:07 +00001866></A
1867><H3
1868><A
1869NAME="XMLELEMENTTYPE"
1870></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001871>enum xmlElementType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001872><TABLE
1873BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001874BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001875WIDTH="100%"
1876CELLPADDING="6"
1877><TR
1878><TD
1879><PRE
1880CLASS="PROGRAMLISTING"
1881>typedef enum {
1882 XML_ELEMENT_NODE= 1,
1883 XML_ATTRIBUTE_NODE= 2,
1884 XML_TEXT_NODE= 3,
1885 XML_CDATA_SECTION_NODE= 4,
1886 XML_ENTITY_REF_NODE= 5,
1887 XML_ENTITY_NODE= 6,
1888 XML_PI_NODE= 7,
1889 XML_COMMENT_NODE= 8,
1890 XML_DOCUMENT_NODE= 9,
1891 XML_DOCUMENT_TYPE_NODE= 10,
1892 XML_DOCUMENT_FRAG_NODE= 11,
Daniel Veillard35008381999-10-25 13:15:52 +00001893 XML_NOTATION_NODE= 12,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001894 XML_HTML_DOCUMENT_NODE= 13,
1895 XML_DTD_NODE= 14,
1896 XML_ELEMENT_DECL= 15,
1897 XML_ATTRIBUTE_DECL= 16,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001898 XML_ENTITY_DECL= 17,
Daniel Veillard28929b22000-11-13 18:22:49 +00001899 XML_NAMESPACE_DECL= 18,
1900 XML_XINCLUDE_START= 19,
1901 XML_XINCLUDE_END= 20
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001902#ifdef LIBXML_DOCB_ENABLED
1903 ,XML_DOCB_DOCUMENT_NODE= 21
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001904#endif
Daniel Veillard35925471999-02-25 08:46:07 +00001905} xmlElementType;</PRE
1906></TD
1907></TR
1908></TABLE
1909><P
1910></P
1911></DIV
1912><HR><DIV
1913CLASS="REFSECT2"
1914><A
Daniel Veillard60087f32001-10-10 09:45:09 +00001915NAME="AEN4255"
Daniel Veillard35925471999-02-25 08:46:07 +00001916></A
1917><H3
1918><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001919NAME="XMLCHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001920></A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001921>xmlChar</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001922><TABLE
1923BORDER="0"
1924BGCOLOR="#D6E8FF"
1925WIDTH="100%"
1926CELLPADDING="6"
1927><TR
1928><TD
1929><PRE
1930CLASS="PROGRAMLISTING"
1931>typedef unsigned char xmlChar;</PRE
1932></TD
1933></TR
1934></TABLE
1935><P
1936>This is a basic byte in an UTF-8 encoded string.
1937It's unsigned allowing to pinpoint case where char * are assigned
1938to xmlChar * (possibly making serialization back impossible).</P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001939><P
1940></P
1941></DIV
1942><HR><DIV
1943CLASS="REFSECT2"
1944><A
Daniel Veillard60087f32001-10-10 09:45:09 +00001945NAME="AEN4261"
Daniel Veillard35925471999-02-25 08:46:07 +00001946></A
1947><H3
1948><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001949NAME="BAD-CAST-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001950></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001951>BAD_CAST</H3
1952><TABLE
1953BORDER="0"
1954BGCOLOR="#D6E8FF"
1955WIDTH="100%"
1956CELLPADDING="6"
1957><TR
1958><TD
1959><PRE
1960CLASS="PROGRAMLISTING"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001961>#define BAD_CAST (xmlChar *)</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001962></TD
1963></TR
1964></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001965><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001966>Macro to cast a string to an xmlChar * when one know its safe.</P
1967><P
Daniel Veillard35925471999-02-25 08:46:07 +00001968></P
1969></DIV
1970><HR><DIV
1971CLASS="REFSECT2"
1972><A
Daniel Veillard60087f32001-10-10 09:45:09 +00001973NAME="AEN4267"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001974></A
1975><H3
1976><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001977NAME="XMLNOTATION"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001978></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001979>struct xmlNotation</H3
1980><TABLE
1981BORDER="0"
1982BGCOLOR="#D6E8FF"
1983WIDTH="100%"
1984CELLPADDING="6"
1985><TR
1986><TD
1987><PRE
1988CLASS="PROGRAMLISTING"
1989>struct xmlNotation {
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001990 const xmlChar *name; /* Notation name */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001991 const xmlChar *PublicID; /* Public identifier, if any */
1992 const xmlChar *SystemID; /* System identifier, if any */
1993};</PRE
1994></TD
1995></TR
1996></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001997><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001998>a DTD Notation definition</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001999><P
2000></P
2001></DIV
2002><HR><DIV
2003CLASS="REFSECT2"
2004><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002005NAME="AEN4273"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002006></A
2007><H3
2008><A
2009NAME="XMLNOTATIONPTR"
2010></A
2011>xmlNotationPtr</H3
2012><TABLE
2013BORDER="0"
2014BGCOLOR="#D6E8FF"
2015WIDTH="100%"
2016CELLPADDING="6"
2017><TR
2018><TD
2019><PRE
2020CLASS="PROGRAMLISTING"
2021>typedef xmlNotation *xmlNotationPtr;</PRE
2022></TD
2023></TR
2024></TABLE
2025><P
2026></P
2027></DIV
2028><HR><DIV
2029CLASS="REFSECT2"
2030><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002031NAME="AEN4278"
Daniel Veillard35925471999-02-25 08:46:07 +00002032></A
2033><H3
2034><A
2035NAME="XMLATTRIBUTETYPE"
2036></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002037>enum xmlAttributeType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002038><TABLE
2039BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002040BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002041WIDTH="100%"
2042CELLPADDING="6"
2043><TR
2044><TD
2045><PRE
2046CLASS="PROGRAMLISTING"
2047>typedef enum {
2048 XML_ATTRIBUTE_CDATA = 1,
2049 XML_ATTRIBUTE_ID,
2050 XML_ATTRIBUTE_IDREF ,
2051 XML_ATTRIBUTE_IDREFS,
2052 XML_ATTRIBUTE_ENTITY,
2053 XML_ATTRIBUTE_ENTITIES,
2054 XML_ATTRIBUTE_NMTOKEN,
2055 XML_ATTRIBUTE_NMTOKENS,
2056 XML_ATTRIBUTE_ENUMERATION,
2057 XML_ATTRIBUTE_NOTATION
2058} xmlAttributeType;</PRE
2059></TD
2060></TR
2061></TABLE
2062><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002063>a DTD Attribute type definition</P
2064><P
Daniel Veillard35925471999-02-25 08:46:07 +00002065></P
2066></DIV
2067><HR><DIV
2068CLASS="REFSECT2"
2069><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002070NAME="AEN4284"
Daniel Veillard35925471999-02-25 08:46:07 +00002071></A
2072><H3
2073><A
2074NAME="XMLATTRIBUTEDEFAULT"
2075></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002076>enum xmlAttributeDefault</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002077><TABLE
2078BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002079BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002080WIDTH="100%"
2081CELLPADDING="6"
2082><TR
2083><TD
2084><PRE
2085CLASS="PROGRAMLISTING"
2086>typedef enum {
2087 XML_ATTRIBUTE_NONE = 1,
2088 XML_ATTRIBUTE_REQUIRED,
2089 XML_ATTRIBUTE_IMPLIED,
2090 XML_ATTRIBUTE_FIXED
2091} xmlAttributeDefault;</PRE
2092></TD
2093></TR
2094></TABLE
2095><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002096>a DTD Attribute default definition</P
2097><P
Daniel Veillard35925471999-02-25 08:46:07 +00002098></P
2099></DIV
2100><HR><DIV
2101CLASS="REFSECT2"
2102><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002103NAME="AEN4290"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002104></A
2105><H3
2106><A
2107NAME="XMLENUMERATION"
2108></A
2109>struct xmlEnumeration</H3
2110><TABLE
2111BORDER="0"
2112BGCOLOR="#D6E8FF"
2113WIDTH="100%"
2114CELLPADDING="6"
2115><TR
2116><TD
2117><PRE
2118CLASS="PROGRAMLISTING"
2119>struct xmlEnumeration {
2120 struct _xmlEnumeration *next; /* next one */
2121 const xmlChar *name; /* Enumeration name */
2122};</PRE
2123></TD
2124></TR
2125></TABLE
2126><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002127>list structure used when there is an enumeration in DTDs</P
Daniel Veillard35925471999-02-25 08:46:07 +00002128><P
2129></P
2130></DIV
2131><HR><DIV
2132CLASS="REFSECT2"
2133><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002134NAME="AEN4296"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002135></A
2136><H3
2137><A
2138NAME="XMLENUMERATIONPTR"
2139></A
2140>xmlEnumerationPtr</H3
2141><TABLE
2142BORDER="0"
2143BGCOLOR="#D6E8FF"
2144WIDTH="100%"
2145CELLPADDING="6"
2146><TR
2147><TD
2148><PRE
2149CLASS="PROGRAMLISTING"
2150>typedef xmlEnumeration *xmlEnumerationPtr;</PRE
2151></TD
2152></TR
2153></TABLE
2154><P
2155></P
2156></DIV
2157><HR><DIV
2158CLASS="REFSECT2"
2159><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002160NAME="AEN4301"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002161></A
2162><H3
2163><A
2164NAME="XMLATTRIBUTE"
2165></A
2166>struct xmlAttribute</H3
2167><TABLE
2168BORDER="0"
2169BGCOLOR="#D6E8FF"
2170WIDTH="100%"
2171CELLPADDING="6"
2172><TR
2173><TD
2174><PRE
2175CLASS="PROGRAMLISTING"
2176>struct xmlAttribute {
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002177 void *_private; /* for Corba, must be first ! */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002178 xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */
2179 const xmlChar *name; /* Attribute name */
2180 struct _xmlNode *children; /* NULL */
2181 struct _xmlNode *last; /* NULL */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002182 struct _xmlDtd *parent; /* -&gt; DTD */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002183 struct _xmlNode *next; /* next sibling link */
2184 struct _xmlNode *prev; /* previous sibling link */
2185 struct _xmlDoc *doc; /* the containing document */
2186
2187 struct _xmlAttribute *nexth; /* next in hash table */
2188 xmlAttributeType atype; /* The attribute type */
2189 xmlAttributeDefault def; /* the default */
2190 const xmlChar *defaultValue; /* or the default value */
2191 xmlEnumerationPtr tree; /* or the enumeration tree if any */
2192 const xmlChar *prefix; /* the namespace prefix if any */
2193 const xmlChar *elem; /* Element holding the attribute */
2194};</PRE
2195></TD
2196></TR
2197></TABLE
2198><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002199>an Attribute declaration in a DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00002200><P
2201></P
2202></DIV
2203><HR><DIV
2204CLASS="REFSECT2"
2205><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002206NAME="AEN4307"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002207></A
2208><H3
2209><A
2210NAME="XMLATTRIBUTEPTR"
2211></A
2212>xmlAttributePtr</H3
2213><TABLE
2214BORDER="0"
2215BGCOLOR="#D6E8FF"
2216WIDTH="100%"
2217CELLPADDING="6"
2218><TR
2219><TD
2220><PRE
2221CLASS="PROGRAMLISTING"
2222>typedef xmlAttribute *xmlAttributePtr;</PRE
2223></TD
2224></TR
2225></TABLE
2226><P
2227></P
2228></DIV
2229><HR><DIV
2230CLASS="REFSECT2"
2231><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002232NAME="AEN4312"
Daniel Veillard35925471999-02-25 08:46:07 +00002233></A
2234><H3
2235><A
2236NAME="XMLELEMENTCONTENTTYPE"
2237></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002238>enum xmlElementContentType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002239><TABLE
2240BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002241BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002242WIDTH="100%"
2243CELLPADDING="6"
2244><TR
2245><TD
2246><PRE
2247CLASS="PROGRAMLISTING"
2248>typedef enum {
2249 XML_ELEMENT_CONTENT_PCDATA = 1,
2250 XML_ELEMENT_CONTENT_ELEMENT,
2251 XML_ELEMENT_CONTENT_SEQ,
2252 XML_ELEMENT_CONTENT_OR
2253} xmlElementContentType;</PRE
2254></TD
2255></TR
2256></TABLE
2257><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002258>Possible definitions of element content types</P
2259><P
Daniel Veillard35925471999-02-25 08:46:07 +00002260></P
2261></DIV
2262><HR><DIV
2263CLASS="REFSECT2"
2264><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002265NAME="AEN4318"
Daniel Veillard35925471999-02-25 08:46:07 +00002266></A
2267><H3
2268><A
2269NAME="XMLELEMENTCONTENTOCCUR"
2270></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002271>enum xmlElementContentOccur</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002272><TABLE
2273BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002274BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002275WIDTH="100%"
2276CELLPADDING="6"
2277><TR
2278><TD
2279><PRE
2280CLASS="PROGRAMLISTING"
2281>typedef enum {
2282 XML_ELEMENT_CONTENT_ONCE = 1,
2283 XML_ELEMENT_CONTENT_OPT,
2284 XML_ELEMENT_CONTENT_MULT,
2285 XML_ELEMENT_CONTENT_PLUS
2286} xmlElementContentOccur;</PRE
2287></TD
2288></TR
2289></TABLE
2290><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002291>Possible definitions of element content occurences</P
2292><P
Daniel Veillard35925471999-02-25 08:46:07 +00002293></P
2294></DIV
2295><HR><DIV
2296CLASS="REFSECT2"
2297><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002298NAME="AEN4324"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002299></A
2300><H3
2301><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002302NAME="XMLELEMENTCONTENT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002303></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002304>struct xmlElementContent</H3
2305><TABLE
2306BORDER="0"
2307BGCOLOR="#D6E8FF"
2308WIDTH="100%"
2309CELLPADDING="6"
2310><TR
2311><TD
2312><PRE
2313CLASS="PROGRAMLISTING"
2314>struct xmlElementContent {
2315 xmlElementContentType type; /* PCDATA, ELEMENT, SEQ or OR */
2316 xmlElementContentOccur ocur; /* ONCE, OPT, MULT or PLUS */
2317 const xmlChar *name; /* Element name */
2318 struct _xmlElementContent *c1; /* first child */
2319 struct _xmlElementContent *c2; /* second child */
Daniel Veillarda41123c2001-04-22 19:31:20 +00002320 struct _xmlElementContent *parent; /* parent */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002321};</PRE
2322></TD
2323></TR
2324></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00002325><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002326>an XML Element content as stored after parsing an element definition
2327in a DTD.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002328><P
2329></P
2330></DIV
2331><HR><DIV
2332CLASS="REFSECT2"
2333><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002334NAME="AEN4330"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002335></A
2336><H3
2337><A
2338NAME="XMLELEMENTCONTENTPTR"
2339></A
2340>xmlElementContentPtr</H3
2341><TABLE
2342BORDER="0"
2343BGCOLOR="#D6E8FF"
2344WIDTH="100%"
2345CELLPADDING="6"
2346><TR
2347><TD
2348><PRE
2349CLASS="PROGRAMLISTING"
2350>typedef xmlElementContent *xmlElementContentPtr;</PRE
2351></TD
2352></TR
2353></TABLE
2354><P
2355></P
2356></DIV
2357><HR><DIV
2358CLASS="REFSECT2"
2359><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002360NAME="AEN4335"
Daniel Veillard35925471999-02-25 08:46:07 +00002361></A
2362><H3
2363><A
2364NAME="XMLELEMENTTYPEVAL"
2365></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002366>enum xmlElementTypeVal</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002367><TABLE
2368BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002369BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002370WIDTH="100%"
2371CELLPADDING="6"
2372><TR
2373><TD
2374><PRE
2375CLASS="PROGRAMLISTING"
2376>typedef enum {
Daniel Veillarda41123c2001-04-22 19:31:20 +00002377 XML_ELEMENT_TYPE_UNDEFINED = 0,
Daniel Veillard35925471999-02-25 08:46:07 +00002378 XML_ELEMENT_TYPE_EMPTY = 1,
2379 XML_ELEMENT_TYPE_ANY,
2380 XML_ELEMENT_TYPE_MIXED,
2381 XML_ELEMENT_TYPE_ELEMENT
2382} xmlElementTypeVal;</PRE
2383></TD
2384></TR
2385></TABLE
2386><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002387>the differnt possibility for an element content type</P
2388><P
Daniel Veillard35925471999-02-25 08:46:07 +00002389></P
2390></DIV
2391><HR><DIV
2392CLASS="REFSECT2"
2393><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002394NAME="AEN4341"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002395></A
2396><H3
2397><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002398NAME="XMLELEMENT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002399></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002400>struct xmlElement</H3
2401><TABLE
2402BORDER="0"
2403BGCOLOR="#D6E8FF"
2404WIDTH="100%"
2405CELLPADDING="6"
2406><TR
2407><TD
2408><PRE
2409CLASS="PROGRAMLISTING"
2410>struct xmlElement {
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002411 void *_private; /* for Corba, must be first ! */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002412 xmlElementType type; /* XML_ELEMENT_DECL, must be second ! */
2413 const xmlChar *name; /* Element name */
2414 struct _xmlNode *children; /* NULL */
2415 struct _xmlNode *last; /* NULL */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002416 struct _xmlDtd *parent; /* -&gt; DTD */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002417 struct _xmlNode *next; /* next sibling link */
2418 struct _xmlNode *prev; /* previous sibling link */
2419 struct _xmlDoc *doc; /* the containing document */
2420
2421 xmlElementTypeVal etype; /* The type */
2422 xmlElementContentPtr content; /* the allowed element content */
2423 xmlAttributePtr attributes; /* List of the declared attributes */
2424 const xmlChar *prefix; /* the namespace prefix if any */
2425};</PRE
2426></TD
2427></TR
2428></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00002429><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002430>an XML Element declaration from a DTD</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002431><P
2432></P
2433></DIV
2434><HR><DIV
2435CLASS="REFSECT2"
2436><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002437NAME="AEN4347"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002438></A
2439><H3
2440><A
2441NAME="XMLELEMENTPTR"
2442></A
2443>xmlElementPtr</H3
2444><TABLE
2445BORDER="0"
2446BGCOLOR="#D6E8FF"
2447WIDTH="100%"
2448CELLPADDING="6"
2449><TR
2450><TD
2451><PRE
2452CLASS="PROGRAMLISTING"
2453>typedef xmlElement *xmlElementPtr;</PRE
2454></TD
2455></TR
2456></TABLE
2457><P
2458></P
2459></DIV
2460><HR><DIV
2461CLASS="REFSECT2"
2462><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002463NAME="AEN4352"
Daniel Veillard35925471999-02-25 08:46:07 +00002464></A
2465><H3
2466><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002467NAME="XML-LOCAL-NAMESPACE-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00002468></A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002469>XML_LOCAL_NAMESPACE</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002470><TABLE
2471BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002472BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002473WIDTH="100%"
2474CELLPADDING="6"
2475><TR
2476><TD
2477><PRE
2478CLASS="PROGRAMLISTING"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002479>#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL</PRE
2480></TD
2481></TR
2482></TABLE
2483><P
2484>A namespace declaration node</P
2485><P
2486></P
2487></DIV
2488><HR><DIV
2489CLASS="REFSECT2"
2490><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002491NAME="AEN4358"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002492></A
2493><H3
2494><A
2495NAME="XMLNSTYPE"
2496></A
2497>xmlNsType</H3
2498><TABLE
2499BORDER="0"
2500BGCOLOR="#D6E8FF"
2501WIDTH="100%"
2502CELLPADDING="6"
2503><TR
2504><TD
2505><PRE
2506CLASS="PROGRAMLISTING"
2507>typedef xmlElementType xmlNsType;</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002508></TD
2509></TR
2510></TABLE
2511><P
2512></P
2513></DIV
2514><HR><DIV
2515CLASS="REFSECT2"
2516><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002517NAME="AEN4363"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002518></A
2519><H3
2520><A
2521NAME="XMLNS"
2522></A
2523>struct xmlNs</H3
2524><TABLE
2525BORDER="0"
2526BGCOLOR="#D6E8FF"
2527WIDTH="100%"
2528CELLPADDING="6"
2529><TR
2530><TD
2531><PRE
2532CLASS="PROGRAMLISTING"
2533>struct xmlNs {
2534 struct _xmlNs *next; /* next Ns link for this node */
2535 xmlNsType type; /* global or local */
2536 const xmlChar *href; /* URL for the namespace */
2537 const xmlChar *prefix; /* prefix for the namespace */
2538};</PRE
2539></TD
2540></TR
2541></TABLE
2542><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002543>An XML namespace.
2544Note that prefix == NULL is valid, it defines the default namespace
2545within the subtree (until overriden).</P
2546><P
2547>xmlNsType is unified with xmlElementType</P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002548><P
2549></P
2550></DIV
2551><HR><DIV
2552CLASS="REFSECT2"
2553><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002554NAME="AEN4370"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002555></A
2556><H3
2557><A
2558NAME="XMLNSPTR"
2559></A
2560>xmlNsPtr</H3
2561><TABLE
2562BORDER="0"
2563BGCOLOR="#D6E8FF"
2564WIDTH="100%"
2565CELLPADDING="6"
2566><TR
2567><TD
2568><PRE
2569CLASS="PROGRAMLISTING"
2570>typedef xmlNs *xmlNsPtr;</PRE
2571></TD
2572></TR
2573></TABLE
2574><P
2575></P
2576></DIV
2577><HR><DIV
2578CLASS="REFSECT2"
2579><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002580NAME="AEN4375"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002581></A
2582><H3
2583><A
2584NAME="XMLDTD"
2585></A
2586>struct xmlDtd</H3
2587><TABLE
2588BORDER="0"
2589BGCOLOR="#D6E8FF"
2590WIDTH="100%"
2591CELLPADDING="6"
2592><TR
2593><TD
2594><PRE
2595CLASS="PROGRAMLISTING"
2596>struct xmlDtd {
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002597 void *_private; /* for Corba, must be first ! */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002598 xmlElementType type; /* XML_DTD_NODE, must be second ! */
2599 const xmlChar *name; /* Name of the DTD */
2600 struct _xmlNode *children; /* the value of the property link */
2601 struct _xmlNode *last; /* last child link */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002602 struct _xmlDoc *parent; /* child-&gt;parent link */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002603 struct _xmlNode *next; /* next sibling link */
2604 struct _xmlNode *prev; /* previous sibling link */
2605 struct _xmlDoc *doc; /* the containing document */
2606
2607 /* End of common part */
2608 void *notations; /* Hash table for notations if any */
2609 void *elements; /* Hash table for elements if any */
2610 void *attributes; /* Hash table for attributes if any */
2611 void *entities; /* Hash table for entities if any */
2612 const xmlChar *ExternalID; /* External identifier for PUBLIC DTD */
2613 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC DTD */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002614 void *pentities; /* Hash table for param entities if any */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002615};</PRE
2616></TD
2617></TR
2618></TABLE
2619><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002620>An XML DtD, as defined by &lt;!DOCTYPE ... There is actually one for
2621the internal subset and for the external subset</P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002622><P
2623></P
2624></DIV
2625><HR><DIV
2626CLASS="REFSECT2"
2627><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002628NAME="AEN4381"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002629></A
2630><H3
2631><A
2632NAME="XMLDTDPTR"
2633></A
2634>xmlDtdPtr</H3
2635><TABLE
2636BORDER="0"
2637BGCOLOR="#D6E8FF"
2638WIDTH="100%"
2639CELLPADDING="6"
2640><TR
2641><TD
2642><PRE
2643CLASS="PROGRAMLISTING"
2644>typedef xmlDtd *xmlDtdPtr;</PRE
2645></TD
2646></TR
2647></TABLE
2648><P
2649></P
2650></DIV
2651><HR><DIV
2652CLASS="REFSECT2"
2653><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002654NAME="AEN4386"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002655></A
2656><H3
2657><A
2658NAME="XMLATTR"
2659></A
2660>struct xmlAttr</H3
2661><TABLE
2662BORDER="0"
2663BGCOLOR="#D6E8FF"
2664WIDTH="100%"
2665CELLPADDING="6"
2666><TR
2667><TD
2668><PRE
2669CLASS="PROGRAMLISTING"
2670>struct xmlAttr {
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002671 void *_private; /* for Corba, must be first ! */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002672 xmlElementType type; /* XML_ATTRIBUTE_NODE, must be second ! */
2673 const xmlChar *name; /* the name of the property */
2674 struct _xmlNode *children; /* the value of the property */
2675 struct _xmlNode *last; /* NULL */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002676 struct _xmlNode *parent; /* child-&gt;parent link */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002677 struct _xmlAttr *next; /* next sibling link */
2678 struct _xmlAttr *prev; /* previous sibling link */
2679 struct _xmlDoc *doc; /* the containing document */
2680 xmlNs *ns; /* pointer to the associated namespace */
2681 xmlAttributeType atype; /* the attribute type if validating */
2682};</PRE
2683></TD
2684></TR
2685></TABLE
2686><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002687>A attribute on an XML node.</P
Daniel Veillard35925471999-02-25 08:46:07 +00002688><P
2689></P
2690></DIV
2691><HR><DIV
2692CLASS="REFSECT2"
2693><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002694NAME="AEN4392"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002695></A
2696><H3
2697><A
2698NAME="XMLATTRPTR"
2699></A
2700>xmlAttrPtr</H3
2701><TABLE
2702BORDER="0"
2703BGCOLOR="#D6E8FF"
2704WIDTH="100%"
2705CELLPADDING="6"
2706><TR
2707><TD
2708><PRE
2709CLASS="PROGRAMLISTING"
2710>typedef xmlAttr *xmlAttrPtr;</PRE
2711></TD
2712></TR
2713></TABLE
2714><P
2715></P
2716></DIV
2717><HR><DIV
2718CLASS="REFSECT2"
2719><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002720NAME="AEN4397"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002721></A
2722><H3
2723><A
2724NAME="XMLID"
2725></A
2726>struct xmlID</H3
2727><TABLE
2728BORDER="0"
2729BGCOLOR="#D6E8FF"
2730WIDTH="100%"
2731CELLPADDING="6"
2732><TR
2733><TD
2734><PRE
2735CLASS="PROGRAMLISTING"
2736>struct xmlID {
2737 struct _xmlID *next; /* next ID */
2738 const xmlChar *value; /* The ID name */
2739 xmlAttrPtr attr; /* The attribut holding it */
2740};</PRE
2741></TD
2742></TR
2743></TABLE
2744><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002745>An XML ID instance.</P
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002746><P
2747></P
2748></DIV
2749><HR><DIV
2750CLASS="REFSECT2"
2751><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002752NAME="AEN4403"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002753></A
2754><H3
2755><A
2756NAME="XMLIDPTR"
2757></A
2758>xmlIDPtr</H3
2759><TABLE
2760BORDER="0"
2761BGCOLOR="#D6E8FF"
2762WIDTH="100%"
2763CELLPADDING="6"
2764><TR
2765><TD
2766><PRE
2767CLASS="PROGRAMLISTING"
2768>typedef xmlID *xmlIDPtr;</PRE
2769></TD
2770></TR
2771></TABLE
2772><P
2773></P
2774></DIV
2775><HR><DIV
2776CLASS="REFSECT2"
2777><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002778NAME="AEN4408"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002779></A
2780><H3
2781><A
2782NAME="XMLREF"
2783></A
2784>struct xmlRef</H3
2785><TABLE
2786BORDER="0"
2787BGCOLOR="#D6E8FF"
2788WIDTH="100%"
2789CELLPADDING="6"
2790><TR
2791><TD
2792><PRE
2793CLASS="PROGRAMLISTING"
2794>struct xmlRef {
2795 struct _xmlRef *next; /* next Ref */
2796 const xmlChar *value; /* The Ref name */
2797 xmlAttrPtr attr; /* The attribut holding it */
2798};</PRE
2799></TD
2800></TR
2801></TABLE
2802><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002803>An XML IDREF instance.</P
Daniel Veillard35925471999-02-25 08:46:07 +00002804><P
2805></P
2806></DIV
2807><HR><DIV
2808CLASS="REFSECT2"
2809><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002810NAME="AEN4414"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002811></A
2812><H3
2813><A
2814NAME="XMLREFPTR"
2815></A
2816>xmlRefPtr</H3
2817><TABLE
2818BORDER="0"
2819BGCOLOR="#D6E8FF"
2820WIDTH="100%"
2821CELLPADDING="6"
2822><TR
2823><TD
2824><PRE
2825CLASS="PROGRAMLISTING"
2826>typedef xmlRef *xmlRefPtr;</PRE
2827></TD
2828></TR
2829></TABLE
2830><P
2831></P
2832></DIV
2833><HR><DIV
2834CLASS="REFSECT2"
2835><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002836NAME="AEN4419"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002837></A
2838><H3
2839><A
2840NAME="XMLBUFFERALLOCATIONSCHEME"
2841></A
2842>enum xmlBufferAllocationScheme</H3
2843><TABLE
2844BORDER="0"
2845BGCOLOR="#D6E8FF"
2846WIDTH="100%"
2847CELLPADDING="6"
2848><TR
2849><TD
2850><PRE
2851CLASS="PROGRAMLISTING"
2852>typedef enum {
2853 XML_BUFFER_ALLOC_DOUBLEIT,
2854 XML_BUFFER_ALLOC_EXACT
2855} xmlBufferAllocationScheme;</PRE
2856></TD
2857></TR
2858></TABLE
2859><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002860>A buffer allocation scheme can be defined to either match exactly the
2861need or double it's allocated size each time it is found too small</P
2862><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002863></P
2864></DIV
2865><HR><DIV
2866CLASS="REFSECT2"
2867><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002868NAME="AEN4425"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002869></A
2870><H3
2871><A
2872NAME="XMLBUFFER"
2873></A
2874>struct xmlBuffer</H3
2875><TABLE
2876BORDER="0"
2877BGCOLOR="#D6E8FF"
2878WIDTH="100%"
2879CELLPADDING="6"
2880><TR
2881><TD
2882><PRE
2883CLASS="PROGRAMLISTING"
2884>struct xmlBuffer {
2885 xmlChar *content; /* The buffer content UTF8 */
2886 unsigned int use; /* The buffer size used */
2887 unsigned int size; /* The buffer size */
2888 xmlBufferAllocationScheme alloc; /* The realloc method */
2889};</PRE
2890></TD
2891></TR
2892></TABLE
2893><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002894>A buffer structure</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002895><P
2896></P
2897></DIV
2898><HR><DIV
2899CLASS="REFSECT2"
2900><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002901NAME="AEN4431"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002902></A
2903><H3
2904><A
2905NAME="XMLBUFFERPTR"
2906></A
2907>xmlBufferPtr</H3
2908><TABLE
2909BORDER="0"
2910BGCOLOR="#D6E8FF"
2911WIDTH="100%"
2912CELLPADDING="6"
2913><TR
2914><TD
2915><PRE
2916CLASS="PROGRAMLISTING"
2917>typedef xmlBuffer *xmlBufferPtr;</PRE
2918></TD
2919></TR
2920></TABLE
2921><P
2922></P
2923></DIV
2924><HR><DIV
2925CLASS="REFSECT2"
2926><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002927NAME="AEN4436"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002928></A
2929><H3
2930><A
2931NAME="XMLNODE"
2932></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002933>struct xmlNode</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002934><TABLE
2935BORDER="0"
2936BGCOLOR="#D6E8FF"
2937WIDTH="100%"
2938CELLPADDING="6"
2939><TR
2940><TD
2941><PRE
2942CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002943>struct xmlNode {
Daniel Veillard71b656e2000-01-05 14:46:17 +00002944 void *_private; /* for Corba, must be first ! */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002945 xmlElementType type; /* type number, must be second ! */
2946 const xmlChar *name; /* the name of the node, or the entity */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002947 struct _xmlNode *children; /* parent-&gt;childs link */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002948 struct _xmlNode *last; /* last child link */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002949 struct _xmlNode *parent; /* child-&gt;parent link */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002950 struct _xmlNode *next; /* next sibling link */
2951 struct _xmlNode *prev; /* previous sibling link */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002952 struct _xmlDoc *doc; /* the containing document */
2953 xmlNs *ns; /* pointer to the associated namespace */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002954#ifndef XML_USE_BUFFER_CONTENT
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002955 xmlChar *content; /* the content */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002956#else
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002957 xmlBufferPtr content; /* the content in a buffer */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002958#endif
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002959
2960 /* End of common part */
2961 struct _xmlAttr *properties;/* properties list */
2962 xmlNs *nsDef; /* namespace definitions on this node */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002963};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002964></TD
2965></TR
2966></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002967><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002968>A node in an XML tree.</P
Daniel Veillard294cbca1999-12-03 13:19:09 +00002969><P
2970></P
2971></DIV
2972><HR><DIV
2973CLASS="REFSECT2"
2974><A
Daniel Veillard60087f32001-10-10 09:45:09 +00002975NAME="AEN4442"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002976></A
2977><H3
2978><A
2979NAME="XMLNODEPTR"
2980></A
2981>xmlNodePtr</H3
2982><TABLE
2983BORDER="0"
2984BGCOLOR="#D6E8FF"
2985WIDTH="100%"
2986CELLPADDING="6"
2987><TR
2988><TD
2989><PRE
2990CLASS="PROGRAMLISTING"
2991>typedef xmlNode *xmlNodePtr;</PRE
2992></TD
2993></TR
2994></TABLE
2995><P
2996></P
2997></DIV
2998><HR><DIV
2999CLASS="REFSECT2"
3000><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003001NAME="AEN4447"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003002></A
3003><H3
3004><A
3005NAME="XML-GET-CONTENT-CAPS"
3006></A
3007>XML_GET_CONTENT()</H3
3008><TABLE
3009BORDER="0"
3010BGCOLOR="#D6E8FF"
3011WIDTH="100%"
3012CELLPADDING="6"
3013><TR
3014><TD
3015><PRE
3016CLASS="PROGRAMLISTING"
3017>#define XML_GET_CONTENT(n)</PRE
3018></TD
3019></TR
3020></TABLE
3021><P
3022>macro to extract the content pointer of a node</P
3023><P
3024></P
3025><DIV
3026CLASS="INFORMALTABLE"
3027><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003028NAME="AEN4453"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003029></A
3030><P
3031></P
3032><TABLE
3033BORDER="0"
3034WIDTH="100%"
3035BGCOLOR="#FFD0D0"
3036CELLSPACING="0"
3037CELLPADDING="4"
3038CLASS="CALSTABLE"
3039><TBODY
3040><TR
3041><TD
3042WIDTH="20%"
3043ALIGN="RIGHT"
3044VALIGN="TOP"
3045><TT
3046CLASS="PARAMETER"
3047><I
3048>n</I
3049></TT
3050>&nbsp;:</TD
3051><TD
3052WIDTH="80%"
3053ALIGN="LEFT"
3054VALIGN="TOP"
3055>&nbsp;</TD
3056></TR
3057></TBODY
3058></TABLE
3059><P
3060></P
3061></DIV
3062></DIV
3063><HR><DIV
3064CLASS="REFSECT2"
3065><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003066NAME="AEN4462"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003067></A
3068><H3
3069><A
3070NAME="XML-GET-LINE-CAPS"
3071></A
3072>XML_GET_LINE()</H3
3073><TABLE
3074BORDER="0"
3075BGCOLOR="#D6E8FF"
3076WIDTH="100%"
3077CELLPADDING="6"
3078><TR
3079><TD
3080><PRE
3081CLASS="PROGRAMLISTING"
3082>#define XML_GET_LINE(n)</PRE
3083></TD
3084></TR
3085></TABLE
3086><P
3087>macro to extract the line number of an element node</P
3088><P
3089></P
3090><DIV
3091CLASS="INFORMALTABLE"
3092><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003093NAME="AEN4468"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003094></A
3095><P
3096></P
3097><TABLE
3098BORDER="0"
3099WIDTH="100%"
3100BGCOLOR="#FFD0D0"
3101CELLSPACING="0"
3102CELLPADDING="4"
3103CLASS="CALSTABLE"
3104><TBODY
3105><TR
3106><TD
3107WIDTH="20%"
3108ALIGN="RIGHT"
3109VALIGN="TOP"
3110><TT
3111CLASS="PARAMETER"
3112><I
3113>n</I
3114></TT
3115>&nbsp;:</TD
3116><TD
3117WIDTH="80%"
3118ALIGN="LEFT"
3119VALIGN="TOP"
3120>&nbsp;</TD
3121></TR
3122></TBODY
3123></TABLE
3124><P
3125></P
3126></DIV
3127></DIV
3128><HR><DIV
3129CLASS="REFSECT2"
3130><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003131NAME="AEN4477"
Daniel Veillard294cbca1999-12-03 13:19:09 +00003132></A
3133><H3
3134><A
3135NAME="XMLDOC"
3136></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003137>struct xmlDoc</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00003138><TABLE
3139BORDER="0"
3140BGCOLOR="#D6E8FF"
3141WIDTH="100%"
3142CELLPADDING="6"
3143><TR
3144><TD
3145><PRE
3146CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003147>struct xmlDoc {
Daniel Veillard71b656e2000-01-05 14:46:17 +00003148 void *_private; /* for Corba, must be first ! */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003149 xmlElementType type; /* XML_DOCUMENT_NODE, must be second ! */
3150 char *name; /* name/filename/URI of the document */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003151 struct _xmlNode *children; /* the document tree */
3152 struct _xmlNode *last; /* last child link */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003153 struct _xmlNode *parent; /* child-&gt;parent link */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003154 struct _xmlNode *next; /* next sibling link */
3155 struct _xmlNode *prev; /* previous sibling link */
3156 struct _xmlDoc *doc; /* autoreference to itself */
3157
3158 /* End of common part */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003159 int compression;/* level of zlib compression */
3160 int standalone; /* standalone document (no external refs) */
3161 struct _xmlDtd *intSubset; /* the document internal subset */
3162 struct _xmlDtd *extSubset; /* the document external subset */
3163 struct _xmlNs *oldNs; /* Global namespace, the old way */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003164 const xmlChar *version; /* the XML version string */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003165 const xmlChar *encoding; /* external initial encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003166 void *ids; /* Hash table for ID attributes if any */
3167 void *refs; /* Hash table for IDREFs attributes if any */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003168 const xmlChar *URL; /* The URI for that document */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003169 int charset; /* encoding of the in-memory content
3170 actually an xmlCharEncoding */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003171};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00003172></TD
3173></TR
3174></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00003175><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003176>An XML document.</P
Daniel Veillard294cbca1999-12-03 13:19:09 +00003177><P
3178></P
3179></DIV
3180><HR><DIV
3181CLASS="REFSECT2"
3182><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003183NAME="AEN4483"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003184></A
3185><H3
3186><A
3187NAME="XMLDOCPTR"
3188></A
3189>xmlDocPtr</H3
3190><TABLE
3191BORDER="0"
3192BGCOLOR="#D6E8FF"
3193WIDTH="100%"
3194CELLPADDING="6"
3195><TR
3196><TD
3197><PRE
3198CLASS="PROGRAMLISTING"
3199>typedef xmlDoc *xmlDocPtr;</PRE
3200></TD
3201></TR
3202></TABLE
3203><P
3204></P
3205></DIV
3206><HR><DIV
3207CLASS="REFSECT2"
3208><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003209NAME="AEN4488"
Daniel Veillard06047432000-04-24 11:33:38 +00003210></A
3211><H3
3212><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003213NAME="XMLCHILDRENNODE"
Daniel Veillard06047432000-04-24 11:33:38 +00003214></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003215>xmlChildrenNode</H3
3216><TABLE
3217BORDER="0"
3218BGCOLOR="#D6E8FF"
3219WIDTH="100%"
3220CELLPADDING="6"
3221><TR
3222><TD
3223><PRE
3224CLASS="PROGRAMLISTING"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003225>#define xmlChildrenNode children</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003226></TD
3227></TR
3228></TABLE
Daniel Veillard06047432000-04-24 11:33:38 +00003229><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003230>Macro for compatibility naming layer with libxml1</P
3231><P
Daniel Veillard06047432000-04-24 11:33:38 +00003232></P
3233></DIV
3234><HR><DIV
3235CLASS="REFSECT2"
3236><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003237NAME="AEN4494"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003238></A
3239><H3
3240><A
3241NAME="XMLROOTNODE"
3242></A
3243>xmlRootNode</H3
3244><TABLE
3245BORDER="0"
3246BGCOLOR="#D6E8FF"
3247WIDTH="100%"
3248CELLPADDING="6"
3249><TR
3250><TD
3251><PRE
3252CLASS="PROGRAMLISTING"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003253>#define xmlRootNode children</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003254></TD
3255></TR
3256></TABLE
3257><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003258>Macro for compatibility naming layer with libxml1</P
3259><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003260></P
3261></DIV
3262><HR><DIV
3263CLASS="REFSECT2"
3264><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003265NAME="AEN4500"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003266></A
3267><H3
3268><A
3269NAME="XMLSETBUFFERALLOCATIONSCHEME"
3270></A
3271>xmlSetBufferAllocationScheme ()</H3
3272><TABLE
3273BORDER="0"
3274BGCOLOR="#D6E8FF"
3275WIDTH="100%"
3276CELLPADDING="6"
3277><TR
3278><TD
3279><PRE
3280CLASS="PROGRAMLISTING"
3281>void xmlSetBufferAllocationScheme (<A
3282HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
3283>xmlBufferAllocationScheme</A
3284> scheme);</PRE
3285></TD
3286></TR
3287></TABLE
3288><P
3289>Set the buffer allocation method. Types are
3290XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
3291XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed,
3292improves performance</P
3293><P
3294></P
3295><DIV
3296CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003297><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003298NAME="AEN4507"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003299></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003300><P
3301></P
3302><TABLE
3303BORDER="0"
3304WIDTH="100%"
3305BGCOLOR="#FFD0D0"
3306CELLSPACING="0"
3307CELLPADDING="4"
3308CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003309><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003310><TR
3311><TD
3312WIDTH="20%"
3313ALIGN="RIGHT"
3314VALIGN="TOP"
3315><TT
3316CLASS="PARAMETER"
3317><I
3318>scheme</I
3319></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003320>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003321><TD
3322WIDTH="80%"
3323ALIGN="LEFT"
3324VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003325> allocation method to use</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003326></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003327></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003328></TABLE
3329><P
3330></P
3331></DIV
3332></DIV
3333><HR><DIV
3334CLASS="REFSECT2"
3335><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003336NAME="AEN4516"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003337></A
3338><H3
3339><A
3340NAME="XMLGETBUFFERALLOCATIONSCHEME"
3341></A
3342>xmlGetBufferAllocationScheme ()</H3
3343><TABLE
3344BORDER="0"
3345BGCOLOR="#D6E8FF"
3346WIDTH="100%"
3347CELLPADDING="6"
3348><TR
3349><TD
3350><PRE
3351CLASS="PROGRAMLISTING"
3352><A
3353HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
3354>xmlBufferAllocationScheme</A
3355> xmlGetBufferAllocationScheme
3356 (void);</PRE
3357></TD
3358></TR
3359></TABLE
3360><P
3361>Types are
3362XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
3363XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed,
3364improves performance</P
3365><P
3366></P
3367><DIV
3368CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003369><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003370NAME="AEN4523"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003371></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003372><P
3373></P
3374><TABLE
3375BORDER="0"
3376WIDTH="100%"
3377BGCOLOR="#FFD0D0"
3378CELLSPACING="0"
3379CELLPADDING="4"
3380CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003381><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003382><TR
3383><TD
3384WIDTH="20%"
3385ALIGN="RIGHT"
3386VALIGN="TOP"
3387><I
3388CLASS="EMPHASIS"
3389>Returns</I
3390> :</TD
3391><TD
3392WIDTH="80%"
3393ALIGN="LEFT"
3394VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003395>the current allocation scheme</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003396></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003397></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003398></TABLE
3399><P
3400></P
3401></DIV
3402></DIV
3403><HR><DIV
3404CLASS="REFSECT2"
3405><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003406NAME="AEN4532"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003407></A
3408><H3
3409><A
3410NAME="XMLBUFFERCREATE"
3411></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003412>xmlBufferCreate ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003413><TABLE
3414BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003415BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003416WIDTH="100%"
3417CELLPADDING="6"
3418><TR
3419><TD
3420><PRE
3421CLASS="PROGRAMLISTING"
3422><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003423HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003424>xmlBufferPtr</A
3425> xmlBufferCreate (void);</PRE
3426></TD
3427></TR
3428></TABLE
3429><P
3430>routine to create an XML buffer.</P
3431><P
3432></P
3433><DIV
3434CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003435><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003436NAME="AEN4539"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003437></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003438><P
3439></P
3440><TABLE
3441BORDER="0"
3442WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003443BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003444CELLSPACING="0"
3445CELLPADDING="4"
3446CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003447><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003448><TR
3449><TD
3450WIDTH="20%"
3451ALIGN="RIGHT"
3452VALIGN="TOP"
3453><I
3454CLASS="EMPHASIS"
3455>Returns</I
3456> :</TD
3457><TD
3458WIDTH="80%"
3459ALIGN="LEFT"
3460VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003461>the new structure.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003462></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003463></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003464></TABLE
3465><P
3466></P
3467></DIV
3468></DIV
3469><HR><DIV
3470CLASS="REFSECT2"
3471><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003472NAME="AEN4548"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003473></A
3474><H3
3475><A
3476NAME="XMLBUFFERCREATESIZE"
3477></A
3478>xmlBufferCreateSize ()</H3
3479><TABLE
3480BORDER="0"
3481BGCOLOR="#D6E8FF"
3482WIDTH="100%"
3483CELLPADDING="6"
3484><TR
3485><TD
3486><PRE
3487CLASS="PROGRAMLISTING"
3488><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003489HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003490>xmlBufferPtr</A
3491> xmlBufferCreateSize (<GTKDOCLINK
3492HREF="SIZE-T"
3493>size_t</GTKDOCLINK
3494> size);</PRE
3495></TD
3496></TR
3497></TABLE
3498><P
3499>routine to create an XML buffer.</P
3500><P
3501></P
3502><DIV
3503CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003504><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003505NAME="AEN4556"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003506></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003507><P
3508></P
3509><TABLE
3510BORDER="0"
3511WIDTH="100%"
3512BGCOLOR="#FFD0D0"
3513CELLSPACING="0"
3514CELLPADDING="4"
3515CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003516><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003517><TR
3518><TD
3519WIDTH="20%"
3520ALIGN="RIGHT"
3521VALIGN="TOP"
3522><TT
3523CLASS="PARAMETER"
3524><I
3525>size</I
3526></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003527>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003528><TD
3529WIDTH="80%"
3530ALIGN="LEFT"
3531VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003532> initial size of buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003533></TR
3534><TR
3535><TD
3536WIDTH="20%"
3537ALIGN="RIGHT"
3538VALIGN="TOP"
3539><I
3540CLASS="EMPHASIS"
3541>Returns</I
3542> :</TD
3543><TD
3544WIDTH="80%"
3545ALIGN="LEFT"
3546VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003547>the new structure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003548></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003549></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003550></TABLE
3551><P
3552></P
3553></DIV
3554></DIV
3555><HR><DIV
3556CLASS="REFSECT2"
3557><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003558NAME="AEN4569"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003559></A
3560><H3
3561><A
3562NAME="XMLBUFFERRESIZE"
3563></A
3564>xmlBufferResize ()</H3
3565><TABLE
3566BORDER="0"
3567BGCOLOR="#D6E8FF"
3568WIDTH="100%"
3569CELLPADDING="6"
3570><TR
3571><TD
3572><PRE
3573CLASS="PROGRAMLISTING"
3574>int xmlBufferResize (<A
3575HREF="libxml-tree.html#XMLBUFFERPTR"
3576>xmlBufferPtr</A
3577> buf,
3578 unsigned int size);</PRE
3579></TD
3580></TR
3581></TABLE
3582><P
3583>Resize a buffer to accomodate minimum size of <TT
3584CLASS="PARAMETER"
3585><I
3586>size</I
3587></TT
3588>.</P
3589><P
3590></P
3591><DIV
3592CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003593><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003594NAME="AEN4577"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003595></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003596><P
3597></P
3598><TABLE
3599BORDER="0"
3600WIDTH="100%"
3601BGCOLOR="#FFD0D0"
3602CELLSPACING="0"
3603CELLPADDING="4"
3604CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003605><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003606><TR
3607><TD
3608WIDTH="20%"
3609ALIGN="RIGHT"
3610VALIGN="TOP"
3611><TT
3612CLASS="PARAMETER"
3613><I
3614>buf</I
3615></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003616>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003617><TD
3618WIDTH="80%"
3619ALIGN="LEFT"
3620VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003621> the buffer to resize</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003622></TR
3623><TR
3624><TD
3625WIDTH="20%"
3626ALIGN="RIGHT"
3627VALIGN="TOP"
3628><TT
3629CLASS="PARAMETER"
3630><I
3631>size</I
3632></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003633>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003634><TD
3635WIDTH="80%"
3636ALIGN="LEFT"
3637VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003638> the desired size</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003639></TR
3640><TR
3641><TD
3642WIDTH="20%"
3643ALIGN="RIGHT"
3644VALIGN="TOP"
3645><I
3646CLASS="EMPHASIS"
3647>Returns</I
3648> :</TD
3649><TD
3650WIDTH="80%"
3651ALIGN="LEFT"
3652VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003653>0 in case of problems, 1 otherwise</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003654></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003655></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003656></TABLE
3657><P
3658></P
3659></DIV
3660></DIV
3661><HR><DIV
3662CLASS="REFSECT2"
3663><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003664NAME="AEN4594"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003665></A
3666><H3
3667><A
3668NAME="XMLBUFFERFREE"
3669></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003670>xmlBufferFree ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003671><TABLE
3672BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003673BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003674WIDTH="100%"
3675CELLPADDING="6"
3676><TR
3677><TD
3678><PRE
3679CLASS="PROGRAMLISTING"
3680>void xmlBufferFree (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003681HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003682>xmlBufferPtr</A
3683> buf);</PRE
3684></TD
3685></TR
3686></TABLE
3687><P
3688>Frees an XML buffer.</P
3689><P
3690></P
3691><DIV
3692CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003693><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003694NAME="AEN4601"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003695></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003696><P
3697></P
3698><TABLE
3699BORDER="0"
3700WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003701BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003702CELLSPACING="0"
3703CELLPADDING="4"
3704CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003705><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003706><TR
3707><TD
3708WIDTH="20%"
3709ALIGN="RIGHT"
3710VALIGN="TOP"
3711><TT
3712CLASS="PARAMETER"
3713><I
3714>buf</I
3715></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003716>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003717><TD
3718WIDTH="80%"
3719ALIGN="LEFT"
3720VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003721> the buffer to free</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003722></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003723></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003724></TABLE
3725><P
3726></P
3727></DIV
3728></DIV
3729><HR><DIV
3730CLASS="REFSECT2"
3731><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003732NAME="AEN4610"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003733></A
3734><H3
3735><A
3736NAME="XMLBUFFERDUMP"
3737></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003738>xmlBufferDump ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003739><TABLE
3740BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003741BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003742WIDTH="100%"
3743CELLPADDING="6"
3744><TR
3745><TD
3746><PRE
3747CLASS="PROGRAMLISTING"
3748>int xmlBufferDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00003749HREF="FILE-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003750>FILE</GTKDOCLINK
3751> *file,
3752 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003753HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003754>xmlBufferPtr</A
3755> buf);</PRE
3756></TD
3757></TR
3758></TABLE
3759><P
3760>Dumps an XML buffer to a FILE *.</P
3761><P
3762></P
3763><DIV
3764CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003765><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003766NAME="AEN4618"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003767></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003768><P
3769></P
3770><TABLE
3771BORDER="0"
3772WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003773BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003774CELLSPACING="0"
3775CELLPADDING="4"
3776CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003777><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003778><TR
3779><TD
3780WIDTH="20%"
3781ALIGN="RIGHT"
3782VALIGN="TOP"
3783><TT
3784CLASS="PARAMETER"
3785><I
3786>file</I
3787></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003788>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003789><TD
3790WIDTH="80%"
3791ALIGN="LEFT"
3792VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003793> the file output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003794></TR
3795><TR
3796><TD
3797WIDTH="20%"
3798ALIGN="RIGHT"
3799VALIGN="TOP"
3800><TT
3801CLASS="PARAMETER"
3802><I
3803>buf</I
3804></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003805>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003806><TD
3807WIDTH="80%"
3808ALIGN="LEFT"
3809VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003810> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003811></TR
3812><TR
3813><TD
3814WIDTH="20%"
3815ALIGN="RIGHT"
3816VALIGN="TOP"
3817><I
3818CLASS="EMPHASIS"
3819>Returns</I
3820> :</TD
3821><TD
3822WIDTH="80%"
3823ALIGN="LEFT"
3824VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003825>the number of xmlChar written</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003826></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003827></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003828></TABLE
3829><P
3830></P
3831></DIV
3832></DIV
3833><HR><DIV
3834CLASS="REFSECT2"
3835><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003836NAME="AEN4635"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003837></A
3838><H3
3839><A
3840NAME="XMLBUFFERADD"
3841></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003842>xmlBufferAdd ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003843><TABLE
3844BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003845BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003846WIDTH="100%"
3847CELLPADDING="6"
3848><TR
3849><TD
3850><PRE
3851CLASS="PROGRAMLISTING"
3852>void xmlBufferAdd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003853HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003854>xmlBufferPtr</A
3855> buf,
3856 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003857HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003858>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003859> *str,
3860 int len);</PRE
3861></TD
3862></TR
3863></TABLE
3864><P
Daniel Veillard60087f32001-10-10 09:45:09 +00003865>Add a string range to an XML buffer. if len == -1, the length of
Daniel Veillardf3a73582000-01-05 14:58:39 +00003866str is recomputed.</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003867><P
3868></P
3869><DIV
3870CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003871><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003872NAME="AEN4643"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003873></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003874><P
3875></P
3876><TABLE
3877BORDER="0"
3878WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003879BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003880CELLSPACING="0"
3881CELLPADDING="4"
3882CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003883><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003884><TR
3885><TD
3886WIDTH="20%"
3887ALIGN="RIGHT"
3888VALIGN="TOP"
3889><TT
3890CLASS="PARAMETER"
3891><I
3892>buf</I
3893></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003894>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003895><TD
3896WIDTH="80%"
3897ALIGN="LEFT"
3898VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003899> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003900></TR
3901><TR
3902><TD
3903WIDTH="20%"
3904ALIGN="RIGHT"
3905VALIGN="TOP"
3906><TT
3907CLASS="PARAMETER"
3908><I
3909>str</I
3910></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003911>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003912><TD
3913WIDTH="80%"
3914ALIGN="LEFT"
3915VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003916> the xmlChar string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003917></TR
3918><TR
3919><TD
3920WIDTH="20%"
3921ALIGN="RIGHT"
3922VALIGN="TOP"
3923><TT
3924CLASS="PARAMETER"
3925><I
3926>len</I
3927></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003928>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003929><TD
3930WIDTH="80%"
3931ALIGN="LEFT"
3932VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003933> the number of xmlChar to add</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003934></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003935></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003936></TABLE
3937><P
3938></P
3939></DIV
3940></DIV
3941><HR><DIV
3942CLASS="REFSECT2"
3943><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003944NAME="AEN4660"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003945></A
3946><H3
3947><A
3948NAME="XMLBUFFERADDHEAD"
3949></A
3950>xmlBufferAddHead ()</H3
3951><TABLE
3952BORDER="0"
3953BGCOLOR="#D6E8FF"
3954WIDTH="100%"
3955CELLPADDING="6"
3956><TR
3957><TD
3958><PRE
3959CLASS="PROGRAMLISTING"
3960>void xmlBufferAddHead (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003961HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003962>xmlBufferPtr</A
3963> buf,
3964 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003965HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003966>xmlChar</A
3967> *str,
3968 int len);</PRE
3969></TD
3970></TR
3971></TABLE
3972><P
3973>Add a string range to the beginning of an XML buffer.
Daniel Veillard60087f32001-10-10 09:45:09 +00003974if len == -1, the length of <TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003975CLASS="PARAMETER"
3976><I
3977>str</I
3978></TT
3979> is recomputed.</P
3980><P
3981></P
3982><DIV
3983CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003984><A
Daniel Veillard60087f32001-10-10 09:45:09 +00003985NAME="AEN4669"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003986></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003987><P
3988></P
3989><TABLE
3990BORDER="0"
3991WIDTH="100%"
3992BGCOLOR="#FFD0D0"
3993CELLSPACING="0"
3994CELLPADDING="4"
3995CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003996><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003997><TR
3998><TD
3999WIDTH="20%"
4000ALIGN="RIGHT"
4001VALIGN="TOP"
4002><TT
4003CLASS="PARAMETER"
4004><I
4005>buf</I
4006></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004007>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004008><TD
4009WIDTH="80%"
4010ALIGN="LEFT"
4011VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004012> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004013></TR
4014><TR
4015><TD
4016WIDTH="20%"
4017ALIGN="RIGHT"
4018VALIGN="TOP"
4019><TT
4020CLASS="PARAMETER"
4021><I
4022>str</I
4023></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004024>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004025><TD
4026WIDTH="80%"
4027ALIGN="LEFT"
4028VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004029> the xmlChar string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004030></TR
4031><TR
4032><TD
4033WIDTH="20%"
4034ALIGN="RIGHT"
4035VALIGN="TOP"
4036><TT
4037CLASS="PARAMETER"
4038><I
4039>len</I
4040></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004041>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004042><TD
4043WIDTH="80%"
4044ALIGN="LEFT"
4045VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004046> the number of xmlChar to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004047></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004048></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004049></TABLE
4050><P
4051></P
4052></DIV
4053></DIV
4054><HR><DIV
4055CLASS="REFSECT2"
4056><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004057NAME="AEN4686"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004058></A
4059><H3
4060><A
4061NAME="XMLBUFFERCAT"
4062></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004063>xmlBufferCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004064><TABLE
4065BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004066BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004067WIDTH="100%"
4068CELLPADDING="6"
4069><TR
4070><TD
4071><PRE
4072CLASS="PROGRAMLISTING"
4073>void xmlBufferCat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004074HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004075>xmlBufferPtr</A
4076> buf,
4077 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004078HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004079>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004080> *str);</PRE
4081></TD
4082></TR
4083></TABLE
4084><P
4085>Append a zero terminated string to an XML buffer.</P
4086><P
4087></P
4088><DIV
4089CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004090><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004091NAME="AEN4694"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004092></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004093><P
4094></P
4095><TABLE
4096BORDER="0"
4097WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004098BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004099CELLSPACING="0"
4100CELLPADDING="4"
4101CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004102><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004103><TR
4104><TD
4105WIDTH="20%"
4106ALIGN="RIGHT"
4107VALIGN="TOP"
4108><TT
4109CLASS="PARAMETER"
4110><I
4111>buf</I
4112></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004113>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004114><TD
4115WIDTH="80%"
4116ALIGN="LEFT"
4117VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004118> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004119></TR
4120><TR
4121><TD
4122WIDTH="20%"
4123ALIGN="RIGHT"
4124VALIGN="TOP"
4125><TT
4126CLASS="PARAMETER"
4127><I
4128>str</I
4129></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004130>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004131><TD
4132WIDTH="80%"
4133ALIGN="LEFT"
4134VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004135> the xmlChar string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004136></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004137></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004138></TABLE
4139><P
4140></P
4141></DIV
4142></DIV
4143><HR><DIV
4144CLASS="REFSECT2"
4145><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004146NAME="AEN4707"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004147></A
4148><H3
4149><A
4150NAME="XMLBUFFERCCAT"
4151></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004152>xmlBufferCCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004153><TABLE
4154BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004155BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004156WIDTH="100%"
4157CELLPADDING="6"
4158><TR
4159><TD
4160><PRE
4161CLASS="PROGRAMLISTING"
4162>void xmlBufferCCat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004163HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004164>xmlBufferPtr</A
4165> buf,
4166 const char *str);</PRE
4167></TD
4168></TR
4169></TABLE
4170><P
4171>Append a zero terminated C string to an XML buffer.</P
4172><P
4173></P
4174><DIV
4175CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004176><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004177NAME="AEN4714"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004178></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004179><P
4180></P
4181><TABLE
4182BORDER="0"
4183WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004184BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004185CELLSPACING="0"
4186CELLPADDING="4"
4187CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004188><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004189><TR
4190><TD
4191WIDTH="20%"
4192ALIGN="RIGHT"
4193VALIGN="TOP"
4194><TT
4195CLASS="PARAMETER"
4196><I
4197>buf</I
4198></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004199>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004200><TD
4201WIDTH="80%"
4202ALIGN="LEFT"
4203VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004204> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004205></TR
4206><TR
4207><TD
4208WIDTH="20%"
4209ALIGN="RIGHT"
4210VALIGN="TOP"
4211><TT
4212CLASS="PARAMETER"
4213><I
4214>str</I
4215></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004216>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004217><TD
4218WIDTH="80%"
4219ALIGN="LEFT"
4220VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004221> the C char string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004222></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004223></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004224></TABLE
4225><P
4226></P
4227></DIV
4228></DIV
4229><HR><DIV
4230CLASS="REFSECT2"
4231><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004232NAME="AEN4727"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004233></A
4234><H3
4235><A
4236NAME="XMLBUFFERSHRINK"
4237></A
4238>xmlBufferShrink ()</H3
4239><TABLE
4240BORDER="0"
4241BGCOLOR="#D6E8FF"
4242WIDTH="100%"
4243CELLPADDING="6"
4244><TR
4245><TD
4246><PRE
4247CLASS="PROGRAMLISTING"
4248>int xmlBufferShrink (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004249HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004250>xmlBufferPtr</A
4251> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004252 unsigned int len);</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004253></TD
4254></TR
4255></TABLE
4256><P
4257>Remove the beginning of an XML buffer.</P
4258><P
4259></P
4260><DIV
4261CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004262><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004263NAME="AEN4734"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004264></A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004265><P
4266></P
4267><TABLE
4268BORDER="0"
4269WIDTH="100%"
4270BGCOLOR="#FFD0D0"
4271CELLSPACING="0"
4272CELLPADDING="4"
4273CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004274><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004275><TR
4276><TD
4277WIDTH="20%"
4278ALIGN="RIGHT"
4279VALIGN="TOP"
4280><TT
4281CLASS="PARAMETER"
4282><I
4283>buf</I
4284></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004285>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004286><TD
4287WIDTH="80%"
4288ALIGN="LEFT"
4289VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004290> the buffer to dump</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004291></TR
4292><TR
4293><TD
4294WIDTH="20%"
4295ALIGN="RIGHT"
4296VALIGN="TOP"
4297><TT
4298CLASS="PARAMETER"
4299><I
4300>len</I
4301></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004302>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004303><TD
4304WIDTH="80%"
4305ALIGN="LEFT"
4306VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004307> the number of xmlChar to remove</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004308></TR
4309><TR
4310><TD
4311WIDTH="20%"
4312ALIGN="RIGHT"
4313VALIGN="TOP"
4314><I
4315CLASS="EMPHASIS"
4316>Returns</I
4317> :</TD
4318><TD
4319WIDTH="80%"
4320ALIGN="LEFT"
4321VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004322>the number of xmlChar removed, or -1 in case of failure.</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004323></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004324></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004325></TABLE
4326><P
4327></P
4328></DIV
4329></DIV
4330><HR><DIV
4331CLASS="REFSECT2"
4332><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004333NAME="AEN4751"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004334></A
4335><H3
4336><A
4337NAME="XMLBUFFERGROW"
4338></A
4339>xmlBufferGrow ()</H3
4340><TABLE
4341BORDER="0"
4342BGCOLOR="#D6E8FF"
4343WIDTH="100%"
4344CELLPADDING="6"
4345><TR
4346><TD
4347><PRE
4348CLASS="PROGRAMLISTING"
4349>int xmlBufferGrow (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004350HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004351>xmlBufferPtr</A
4352> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004353 unsigned int len);</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004354></TD
4355></TR
4356></TABLE
4357><P
4358>Grow the available space of an XML buffer.</P
4359><P
4360></P
4361><DIV
4362CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004363><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004364NAME="AEN4758"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004365></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004366><P
4367></P
4368><TABLE
4369BORDER="0"
4370WIDTH="100%"
4371BGCOLOR="#FFD0D0"
4372CELLSPACING="0"
4373CELLPADDING="4"
4374CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004375><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004376><TR
4377><TD
4378WIDTH="20%"
4379ALIGN="RIGHT"
4380VALIGN="TOP"
4381><TT
4382CLASS="PARAMETER"
4383><I
4384>buf</I
4385></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004386>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004387><TD
4388WIDTH="80%"
4389ALIGN="LEFT"
4390VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004391> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004392></TR
4393><TR
4394><TD
4395WIDTH="20%"
4396ALIGN="RIGHT"
4397VALIGN="TOP"
4398><TT
4399CLASS="PARAMETER"
4400><I
4401>len</I
4402></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004403>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004404><TD
4405WIDTH="80%"
4406ALIGN="LEFT"
4407VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004408> the minimum free size to allocate</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004409></TR
4410><TR
4411><TD
4412WIDTH="20%"
4413ALIGN="RIGHT"
4414VALIGN="TOP"
4415><I
4416CLASS="EMPHASIS"
4417>Returns</I
4418> :</TD
4419><TD
4420WIDTH="80%"
4421ALIGN="LEFT"
4422VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004423>the new available space or -1 in case of error</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004424></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004425></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004426></TABLE
4427><P
4428></P
4429></DIV
4430></DIV
4431><HR><DIV
4432CLASS="REFSECT2"
4433><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004434NAME="AEN4775"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004435></A
4436><H3
4437><A
4438NAME="XMLBUFFEREMPTY"
4439></A
4440>xmlBufferEmpty ()</H3
4441><TABLE
4442BORDER="0"
4443BGCOLOR="#D6E8FF"
4444WIDTH="100%"
4445CELLPADDING="6"
4446><TR
4447><TD
4448><PRE
4449CLASS="PROGRAMLISTING"
4450>void xmlBufferEmpty (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004451HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004452>xmlBufferPtr</A
4453> buf);</PRE
4454></TD
4455></TR
4456></TABLE
4457><P
4458>empty a buffer.</P
4459><P
4460></P
4461><DIV
4462CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004463><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004464NAME="AEN4782"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004465></A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004466><P
4467></P
4468><TABLE
4469BORDER="0"
4470WIDTH="100%"
4471BGCOLOR="#FFD0D0"
4472CELLSPACING="0"
4473CELLPADDING="4"
4474CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004475><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004476><TR
4477><TD
4478WIDTH="20%"
4479ALIGN="RIGHT"
4480VALIGN="TOP"
4481><TT
4482CLASS="PARAMETER"
4483><I
4484>buf</I
4485></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004486>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004487><TD
4488WIDTH="80%"
4489ALIGN="LEFT"
4490VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004491> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004492></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004493></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004494></TABLE
4495><P
4496></P
4497></DIV
4498></DIV
4499><HR><DIV
4500CLASS="REFSECT2"
4501><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004502NAME="AEN4791"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004503></A
4504><H3
4505><A
4506NAME="XMLBUFFERCONTENT"
4507></A
4508>xmlBufferContent ()</H3
4509><TABLE
4510BORDER="0"
4511BGCOLOR="#D6E8FF"
4512WIDTH="100%"
4513CELLPADDING="6"
4514><TR
4515><TD
4516><PRE
4517CLASS="PROGRAMLISTING"
4518>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004519HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004520>xmlChar</A
4521>* xmlBufferContent (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004522HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004523>xmlBufferPtr</A
4524> buf);</PRE
4525></TD
4526></TR
4527></TABLE
4528><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004529>Function to extract the content of a buffer</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004530><P
4531></P
4532><DIV
4533CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004534><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004535NAME="AEN4799"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004536></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004537><P
4538></P
4539><TABLE
4540BORDER="0"
4541WIDTH="100%"
4542BGCOLOR="#FFD0D0"
4543CELLSPACING="0"
4544CELLPADDING="4"
4545CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004546><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004547><TR
4548><TD
4549WIDTH="20%"
4550ALIGN="RIGHT"
4551VALIGN="TOP"
4552><TT
4553CLASS="PARAMETER"
4554><I
4555>buf</I
4556></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004557>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004558><TD
4559WIDTH="80%"
4560ALIGN="LEFT"
4561VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004562> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004563></TR
4564><TR
4565><TD
4566WIDTH="20%"
4567ALIGN="RIGHT"
4568VALIGN="TOP"
4569><I
4570CLASS="EMPHASIS"
4571>Returns</I
4572> :</TD
4573><TD
4574WIDTH="80%"
4575ALIGN="LEFT"
4576VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004577>the internal content</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004578></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004579></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004580></TABLE
4581><P
4582></P
4583></DIV
4584></DIV
4585><HR><DIV
4586CLASS="REFSECT2"
4587><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004588NAME="AEN4812"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004589></A
4590><H3
4591><A
4592NAME="XMLBUFFERSETALLOCATIONSCHEME"
4593></A
4594>xmlBufferSetAllocationScheme ()</H3
4595><TABLE
4596BORDER="0"
4597BGCOLOR="#D6E8FF"
4598WIDTH="100%"
4599CELLPADDING="6"
4600><TR
4601><TD
4602><PRE
4603CLASS="PROGRAMLISTING"
4604>void xmlBufferSetAllocationScheme (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004605HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004606>xmlBufferPtr</A
4607> buf,
4608 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004609HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004610>xmlBufferAllocationScheme</A
4611> scheme);</PRE
4612></TD
4613></TR
4614></TABLE
4615><P
4616>Sets the allocation scheme for this buffer</P
4617><P
4618></P
4619><DIV
4620CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004621><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004622NAME="AEN4820"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004623></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004624><P
4625></P
4626><TABLE
4627BORDER="0"
4628WIDTH="100%"
4629BGCOLOR="#FFD0D0"
4630CELLSPACING="0"
4631CELLPADDING="4"
4632CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004633><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004634><TR
4635><TD
4636WIDTH="20%"
4637ALIGN="RIGHT"
4638VALIGN="TOP"
4639><TT
4640CLASS="PARAMETER"
4641><I
4642>buf</I
4643></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004644>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004645><TD
4646WIDTH="80%"
4647ALIGN="LEFT"
4648VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004649> the buffer to free</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004650></TR
4651><TR
4652><TD
4653WIDTH="20%"
4654ALIGN="RIGHT"
4655VALIGN="TOP"
4656><TT
4657CLASS="PARAMETER"
4658><I
4659>scheme</I
4660></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004661>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004662><TD
4663WIDTH="80%"
4664ALIGN="LEFT"
4665VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004666> allocation scheme to use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004667></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004668></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004669></TABLE
4670><P
4671></P
4672></DIV
4673></DIV
4674><HR><DIV
4675CLASS="REFSECT2"
4676><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004677NAME="AEN4833"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004678></A
4679><H3
4680><A
4681NAME="XMLBUFFERLENGTH"
4682></A
4683>xmlBufferLength ()</H3
4684><TABLE
4685BORDER="0"
4686BGCOLOR="#D6E8FF"
4687WIDTH="100%"
4688CELLPADDING="6"
4689><TR
4690><TD
4691><PRE
4692CLASS="PROGRAMLISTING"
4693>int xmlBufferLength (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004694HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004695>xmlBufferPtr</A
4696> buf);</PRE
4697></TD
4698></TR
4699></TABLE
4700><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004701>Function to get the length of a buffer</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004702><P
4703></P
4704><DIV
4705CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004706><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004707NAME="AEN4840"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004708></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004709><P
4710></P
4711><TABLE
4712BORDER="0"
4713WIDTH="100%"
4714BGCOLOR="#FFD0D0"
4715CELLSPACING="0"
4716CELLPADDING="4"
4717CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004718><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004719><TR
4720><TD
4721WIDTH="20%"
4722ALIGN="RIGHT"
4723VALIGN="TOP"
4724><TT
4725CLASS="PARAMETER"
4726><I
4727>buf</I
4728></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004729>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004730><TD
4731WIDTH="80%"
4732ALIGN="LEFT"
4733VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004734> the buffer </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004735></TR
4736><TR
4737><TD
4738WIDTH="20%"
4739ALIGN="RIGHT"
4740VALIGN="TOP"
4741><I
4742CLASS="EMPHASIS"
4743>Returns</I
4744> :</TD
4745><TD
4746WIDTH="80%"
4747ALIGN="LEFT"
4748VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004749>the length of data in the internal content</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004750></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004751></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004752></TABLE
4753><P
4754></P
4755></DIV
4756></DIV
4757><HR><DIV
4758CLASS="REFSECT2"
4759><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004760NAME="AEN4853"
Daniel Veillard35925471999-02-25 08:46:07 +00004761></A
4762><H3
4763><A
4764NAME="XMLCREATEINTSUBSET"
4765></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004766>xmlCreateIntSubset ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004767><TABLE
4768BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004769BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004770WIDTH="100%"
4771CELLPADDING="6"
4772><TR
4773><TD
4774><PRE
4775CLASS="PROGRAMLISTING"
4776><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004777HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004778>xmlDtdPtr</A
4779> xmlCreateIntSubset (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004780HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004781>xmlDocPtr</A
4782> doc,
4783 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004784HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004785>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004786> *name,
4787 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004788HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004789>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004790> *ExternalID,
4791 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004792HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004793>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004794> *SystemID);</PRE
4795></TD
4796></TR
4797></TABLE
4798><P
4799>Create the internal subset of a document</P
4800><P
4801></P
4802><DIV
4803CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004804><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004805NAME="AEN4864"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004806></A
Daniel Veillard35925471999-02-25 08:46:07 +00004807><P
4808></P
4809><TABLE
4810BORDER="0"
4811WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004812BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004813CELLSPACING="0"
4814CELLPADDING="4"
4815CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004816><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004817><TR
4818><TD
4819WIDTH="20%"
4820ALIGN="RIGHT"
4821VALIGN="TOP"
4822><TT
4823CLASS="PARAMETER"
4824><I
4825>doc</I
4826></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004827>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004828><TD
4829WIDTH="80%"
4830ALIGN="LEFT"
4831VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004832> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004833></TR
4834><TR
4835><TD
4836WIDTH="20%"
4837ALIGN="RIGHT"
4838VALIGN="TOP"
4839><TT
4840CLASS="PARAMETER"
4841><I
4842>name</I
4843></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004844>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004845><TD
4846WIDTH="80%"
4847ALIGN="LEFT"
4848VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004849> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004850></TR
4851><TR
4852><TD
4853WIDTH="20%"
4854ALIGN="RIGHT"
4855VALIGN="TOP"
4856><TT
4857CLASS="PARAMETER"
4858><I
4859>ExternalID</I
4860></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004861>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004862><TD
4863WIDTH="80%"
4864ALIGN="LEFT"
4865VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004866> the external (PUBLIC) ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004867></TR
4868><TR
4869><TD
4870WIDTH="20%"
4871ALIGN="RIGHT"
4872VALIGN="TOP"
4873><TT
4874CLASS="PARAMETER"
4875><I
4876>SystemID</I
4877></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004878>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004879><TD
4880WIDTH="80%"
4881ALIGN="LEFT"
4882VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004883> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004884></TR
4885><TR
4886><TD
4887WIDTH="20%"
4888ALIGN="RIGHT"
4889VALIGN="TOP"
4890><I
4891CLASS="EMPHASIS"
4892>Returns</I
4893> :</TD
4894><TD
4895WIDTH="80%"
4896ALIGN="LEFT"
4897VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004898>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004899></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004900></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004901></TABLE
4902><P
4903></P
4904></DIV
4905></DIV
4906><HR><DIV
4907CLASS="REFSECT2"
4908><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004909NAME="AEN4889"
Daniel Veillard35925471999-02-25 08:46:07 +00004910></A
4911><H3
4912><A
4913NAME="XMLNEWDTD"
4914></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004915>xmlNewDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004916><TABLE
4917BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004918BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004919WIDTH="100%"
4920CELLPADDING="6"
4921><TR
4922><TD
4923><PRE
4924CLASS="PROGRAMLISTING"
4925><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004926HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004927>xmlDtdPtr</A
4928> xmlNewDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004929HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004930>xmlDocPtr</A
4931> doc,
4932 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004933HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004934>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004935> *name,
4936 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004937HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004938>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004939> *ExternalID,
4940 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004941HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004942>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004943> *SystemID);</PRE
4944></TD
4945></TR
4946></TABLE
4947><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004948>Creation of a new DTD for the external subset. To create an
4949internal subset, use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004950HREF="libxml-tree.html#XMLCREATEINTSUBSET"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004951>xmlCreateIntSubset</A
4952>().</P
Daniel Veillard35925471999-02-25 08:46:07 +00004953><P
4954></P
4955><DIV
4956CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004957><A
Daniel Veillard60087f32001-10-10 09:45:09 +00004958NAME="AEN4901"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004959></A
Daniel Veillard35925471999-02-25 08:46:07 +00004960><P
4961></P
4962><TABLE
4963BORDER="0"
4964WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004965BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004966CELLSPACING="0"
4967CELLPADDING="4"
4968CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004969><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004970><TR
4971><TD
4972WIDTH="20%"
4973ALIGN="RIGHT"
4974VALIGN="TOP"
4975><TT
4976CLASS="PARAMETER"
4977><I
4978>doc</I
4979></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004980>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004981><TD
4982WIDTH="80%"
4983ALIGN="LEFT"
4984VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004985> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004986></TR
4987><TR
4988><TD
4989WIDTH="20%"
4990ALIGN="RIGHT"
4991VALIGN="TOP"
4992><TT
4993CLASS="PARAMETER"
4994><I
4995>name</I
4996></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004997>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004998><TD
4999WIDTH="80%"
5000ALIGN="LEFT"
5001VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005002> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005003></TR
5004><TR
5005><TD
5006WIDTH="20%"
5007ALIGN="RIGHT"
5008VALIGN="TOP"
5009><TT
5010CLASS="PARAMETER"
5011><I
5012>ExternalID</I
5013></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005014>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005015><TD
5016WIDTH="80%"
5017ALIGN="LEFT"
5018VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005019> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005020></TR
5021><TR
5022><TD
5023WIDTH="20%"
5024ALIGN="RIGHT"
5025VALIGN="TOP"
5026><TT
5027CLASS="PARAMETER"
5028><I
5029>SystemID</I
5030></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005031>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005032><TD
5033WIDTH="80%"
5034ALIGN="LEFT"
5035VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005036> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005037></TR
5038><TR
5039><TD
5040WIDTH="20%"
5041ALIGN="RIGHT"
5042VALIGN="TOP"
5043><I
5044CLASS="EMPHASIS"
5045>Returns</I
5046> :</TD
5047><TD
5048WIDTH="80%"
5049ALIGN="LEFT"
5050VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005051>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005052></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005053></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005054></TABLE
5055><P
5056></P
5057></DIV
5058></DIV
5059><HR><DIV
5060CLASS="REFSECT2"
5061><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005062NAME="AEN4926"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005063></A
5064><H3
5065><A
5066NAME="XMLGETINTSUBSET"
5067></A
5068>xmlGetIntSubset ()</H3
5069><TABLE
5070BORDER="0"
5071BGCOLOR="#D6E8FF"
5072WIDTH="100%"
5073CELLPADDING="6"
5074><TR
5075><TD
5076><PRE
5077CLASS="PROGRAMLISTING"
5078><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005079HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005080>xmlDtdPtr</A
5081> xmlGetIntSubset (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005082HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005083>xmlDocPtr</A
5084> doc);</PRE
5085></TD
5086></TR
5087></TABLE
5088><P
5089>Get the internal subset of a document</P
5090><P
5091></P
5092><DIV
5093CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005094><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005095NAME="AEN4934"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005096></A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005097><P
5098></P
5099><TABLE
5100BORDER="0"
5101WIDTH="100%"
5102BGCOLOR="#FFD0D0"
5103CELLSPACING="0"
5104CELLPADDING="4"
5105CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005106><TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005107><TR
5108><TD
5109WIDTH="20%"
5110ALIGN="RIGHT"
5111VALIGN="TOP"
5112><TT
5113CLASS="PARAMETER"
5114><I
5115>doc</I
5116></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005117>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005118><TD
5119WIDTH="80%"
5120ALIGN="LEFT"
5121VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005122> the document pointer</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005123></TR
5124><TR
5125><TD
5126WIDTH="20%"
5127ALIGN="RIGHT"
5128VALIGN="TOP"
5129><I
5130CLASS="EMPHASIS"
5131>Returns</I
5132> :</TD
5133><TD
5134WIDTH="80%"
5135ALIGN="LEFT"
5136VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005137>a pointer to the DTD structure or NULL if not found</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005138></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005139></TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005140></TABLE
5141><P
5142></P
5143></DIV
5144></DIV
5145><HR><DIV
5146CLASS="REFSECT2"
5147><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005148NAME="AEN4947"
Daniel Veillard35925471999-02-25 08:46:07 +00005149></A
5150><H3
5151><A
5152NAME="XMLFREEDTD"
5153></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005154>xmlFreeDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005155><TABLE
5156BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005157BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005158WIDTH="100%"
5159CELLPADDING="6"
5160><TR
5161><TD
5162><PRE
5163CLASS="PROGRAMLISTING"
5164>void xmlFreeDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005165HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005166>xmlDtdPtr</A
5167> cur);</PRE
5168></TD
5169></TR
5170></TABLE
5171><P
5172>Free a DTD structure.</P
5173><P
5174></P
5175><DIV
5176CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005177><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005178NAME="AEN4954"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005179></A
Daniel Veillard35925471999-02-25 08:46:07 +00005180><P
5181></P
5182><TABLE
5183BORDER="0"
5184WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005185BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005186CELLSPACING="0"
5187CELLPADDING="4"
5188CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005189><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005190><TR
5191><TD
5192WIDTH="20%"
5193ALIGN="RIGHT"
5194VALIGN="TOP"
5195><TT
5196CLASS="PARAMETER"
5197><I
5198>cur</I
5199></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005200>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005201><TD
5202WIDTH="80%"
5203ALIGN="LEFT"
5204VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005205> the DTD structure to free up</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005206></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005207></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005208></TABLE
5209><P
5210></P
5211></DIV
5212></DIV
5213><HR><DIV
5214CLASS="REFSECT2"
5215><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005216NAME="AEN4963"
Daniel Veillard35925471999-02-25 08:46:07 +00005217></A
5218><H3
5219><A
5220NAME="XMLNEWGLOBALNS"
5221></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005222>xmlNewGlobalNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005223><TABLE
5224BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005225BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005226WIDTH="100%"
5227CELLPADDING="6"
5228><TR
5229><TD
5230><PRE
5231CLASS="PROGRAMLISTING"
5232><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005233HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005234>xmlNsPtr</A
5235> xmlNewGlobalNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005236HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005237>xmlDocPtr</A
5238> doc,
5239 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005240HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005241>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005242> *href,
5243 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005244HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005245>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005246> *prefix);</PRE
5247></TD
5248></TR
5249></TABLE
5250><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00005251>Creation of a Namespace, the old way using PI and without scoping
5252DEPRECATED !!!
Daniel Veillard0142b842000-01-14 14:45:24 +00005253It now create a namespace on the root element of the document if found.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005254><P
5255></P
5256><DIV
5257CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005258><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005259NAME="AEN4973"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005260></A
Daniel Veillard35925471999-02-25 08:46:07 +00005261><P
5262></P
5263><TABLE
5264BORDER="0"
5265WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005266BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005267CELLSPACING="0"
5268CELLPADDING="4"
5269CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005270><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005271><TR
5272><TD
5273WIDTH="20%"
5274ALIGN="RIGHT"
5275VALIGN="TOP"
5276><TT
5277CLASS="PARAMETER"
5278><I
5279>doc</I
5280></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005281>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005282><TD
5283WIDTH="80%"
5284ALIGN="LEFT"
5285VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005286> the document carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005287></TR
5288><TR
5289><TD
5290WIDTH="20%"
5291ALIGN="RIGHT"
5292VALIGN="TOP"
5293><TT
5294CLASS="PARAMETER"
5295><I
5296>href</I
5297></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005298>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005299><TD
5300WIDTH="80%"
5301ALIGN="LEFT"
5302VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005303> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005304></TR
5305><TR
5306><TD
5307WIDTH="20%"
5308ALIGN="RIGHT"
5309VALIGN="TOP"
5310><TT
5311CLASS="PARAMETER"
5312><I
5313>prefix</I
5314></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005315>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005316><TD
5317WIDTH="80%"
5318ALIGN="LEFT"
5319VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005320> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005321></TR
5322><TR
5323><TD
5324WIDTH="20%"
5325ALIGN="RIGHT"
5326VALIGN="TOP"
5327><I
5328CLASS="EMPHASIS"
5329>Returns</I
5330> :</TD
5331><TD
5332WIDTH="80%"
5333ALIGN="LEFT"
5334VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005335>NULL this functionnality had been removed</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005336></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005337></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005338></TABLE
5339><P
5340></P
5341></DIV
5342></DIV
5343><HR><DIV
5344CLASS="REFSECT2"
5345><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005346NAME="AEN4994"
Daniel Veillard35925471999-02-25 08:46:07 +00005347></A
5348><H3
5349><A
5350NAME="XMLNEWNS"
5351></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005352>xmlNewNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005353><TABLE
5354BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005355BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005356WIDTH="100%"
5357CELLPADDING="6"
5358><TR
5359><TD
5360><PRE
5361CLASS="PROGRAMLISTING"
5362><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005363HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005364>xmlNsPtr</A
5365> xmlNewNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005366HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005367>xmlNodePtr</A
5368> node,
5369 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005370HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005371>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005372> *href,
5373 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005374HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005375>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005376> *prefix);</PRE
5377></TD
5378></TR
5379></TABLE
5380><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00005381>Creation of a new Namespace. This function will refuse to create
5382a namespace with a similar prefix than an existing one present on this
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005383node.
5384We use href==NULL in the case of an element creation where the namespace
5385was not defined.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005386><P
5387></P
5388><DIV
5389CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005390><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005391NAME="AEN5004"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005392></A
Daniel Veillard35925471999-02-25 08:46:07 +00005393><P
5394></P
5395><TABLE
5396BORDER="0"
5397WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005398BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005399CELLSPACING="0"
5400CELLPADDING="4"
5401CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005402><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005403><TR
5404><TD
5405WIDTH="20%"
5406ALIGN="RIGHT"
5407VALIGN="TOP"
5408><TT
5409CLASS="PARAMETER"
5410><I
5411>node</I
5412></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005413>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005414><TD
5415WIDTH="80%"
5416ALIGN="LEFT"
5417VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005418> the element carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005419></TR
5420><TR
5421><TD
5422WIDTH="20%"
5423ALIGN="RIGHT"
5424VALIGN="TOP"
5425><TT
5426CLASS="PARAMETER"
5427><I
5428>href</I
5429></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005430>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005431><TD
5432WIDTH="80%"
5433ALIGN="LEFT"
5434VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005435> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005436></TR
5437><TR
5438><TD
5439WIDTH="20%"
5440ALIGN="RIGHT"
5441VALIGN="TOP"
5442><TT
5443CLASS="PARAMETER"
5444><I
5445>prefix</I
5446></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005447>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005448><TD
5449WIDTH="80%"
5450ALIGN="LEFT"
5451VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005452> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005453></TR
5454><TR
5455><TD
5456WIDTH="20%"
5457ALIGN="RIGHT"
5458VALIGN="TOP"
5459><I
5460CLASS="EMPHASIS"
5461>Returns</I
5462> :</TD
5463><TD
5464WIDTH="80%"
5465ALIGN="LEFT"
5466VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005467>returns a new namespace pointer or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005468></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005469></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005470></TABLE
5471><P
5472></P
5473></DIV
5474></DIV
5475><HR><DIV
5476CLASS="REFSECT2"
5477><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005478NAME="AEN5025"
Daniel Veillard35925471999-02-25 08:46:07 +00005479></A
5480><H3
5481><A
5482NAME="XMLFREENS"
5483></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005484>xmlFreeNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005485><TABLE
5486BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005487BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005488WIDTH="100%"
5489CELLPADDING="6"
5490><TR
5491><TD
5492><PRE
5493CLASS="PROGRAMLISTING"
5494>void xmlFreeNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005495HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005496>xmlNsPtr</A
5497> cur);</PRE
5498></TD
5499></TR
5500></TABLE
5501><P
5502>Free up the structures associated to a namespace</P
5503><P
5504></P
5505><DIV
5506CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005507><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005508NAME="AEN5032"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005509></A
Daniel Veillard35925471999-02-25 08:46:07 +00005510><P
5511></P
5512><TABLE
5513BORDER="0"
5514WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005515BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005516CELLSPACING="0"
5517CELLPADDING="4"
5518CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005519><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005520><TR
5521><TD
5522WIDTH="20%"
5523ALIGN="RIGHT"
5524VALIGN="TOP"
5525><TT
5526CLASS="PARAMETER"
5527><I
5528>cur</I
5529></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005530>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005531><TD
5532WIDTH="80%"
5533ALIGN="LEFT"
5534VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005535> the namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005536></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005537></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005538></TABLE
5539><P
5540></P
5541></DIV
5542></DIV
5543><HR><DIV
5544CLASS="REFSECT2"
5545><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005546NAME="AEN5041"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005547></A
5548><H3
5549><A
5550NAME="XMLFREENSLIST"
5551></A
5552>xmlFreeNsList ()</H3
5553><TABLE
5554BORDER="0"
5555BGCOLOR="#D6E8FF"
5556WIDTH="100%"
5557CELLPADDING="6"
5558><TR
5559><TD
5560><PRE
5561CLASS="PROGRAMLISTING"
5562>void xmlFreeNsList (<A
5563HREF="libxml-tree.html#XMLNSPTR"
5564>xmlNsPtr</A
5565> cur);</PRE
5566></TD
5567></TR
5568></TABLE
5569><P
5570>Free up all the structures associated to the chained namespaces.</P
5571><P
5572></P
5573><DIV
5574CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005575><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005576NAME="AEN5048"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005577></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005578><P
5579></P
5580><TABLE
5581BORDER="0"
5582WIDTH="100%"
5583BGCOLOR="#FFD0D0"
5584CELLSPACING="0"
5585CELLPADDING="4"
5586CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005587><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005588><TR
5589><TD
5590WIDTH="20%"
5591ALIGN="RIGHT"
5592VALIGN="TOP"
5593><TT
5594CLASS="PARAMETER"
5595><I
5596>cur</I
5597></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005598>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005599><TD
5600WIDTH="80%"
5601ALIGN="LEFT"
5602VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005603> the first namespace pointer</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005604></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005605></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005606></TABLE
5607><P
5608></P
5609></DIV
5610></DIV
5611><HR><DIV
5612CLASS="REFSECT2"
5613><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005614NAME="AEN5057"
Daniel Veillard35925471999-02-25 08:46:07 +00005615></A
5616><H3
5617><A
5618NAME="XMLNEWDOC"
5619></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005620>xmlNewDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005621><TABLE
5622BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005623BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005624WIDTH="100%"
5625CELLPADDING="6"
5626><TR
5627><TD
5628><PRE
5629CLASS="PROGRAMLISTING"
5630><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005631HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005632>xmlDocPtr</A
5633> xmlNewDoc (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005634HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005635>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005636> *version);</PRE
5637></TD
5638></TR
5639></TABLE
5640><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005641>Creates a new XML document</P
Daniel Veillard35925471999-02-25 08:46:07 +00005642><P
5643></P
5644><DIV
5645CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005646><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005647NAME="AEN5065"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005648></A
Daniel Veillard35925471999-02-25 08:46:07 +00005649><P
5650></P
5651><TABLE
5652BORDER="0"
5653WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005654BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005655CELLSPACING="0"
5656CELLPADDING="4"
5657CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005658><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005659><TR
5660><TD
5661WIDTH="20%"
5662ALIGN="RIGHT"
5663VALIGN="TOP"
5664><TT
5665CLASS="PARAMETER"
5666><I
5667>version</I
5668></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005669>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005670><TD
5671WIDTH="80%"
5672ALIGN="LEFT"
5673VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005674> xmlChar string giving the version of XML "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005675></TR
5676><TR
5677><TD
5678WIDTH="20%"
5679ALIGN="RIGHT"
5680VALIGN="TOP"
5681><I
5682CLASS="EMPHASIS"
5683>Returns</I
5684> :</TD
5685><TD
5686WIDTH="80%"
5687ALIGN="LEFT"
5688VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005689>a new document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005690></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005691></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005692></TABLE
5693><P
5694></P
5695></DIV
5696></DIV
5697><HR><DIV
5698CLASS="REFSECT2"
5699><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005700NAME="AEN5078"
Daniel Veillard35925471999-02-25 08:46:07 +00005701></A
5702><H3
5703><A
5704NAME="XMLFREEDOC"
5705></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005706>xmlFreeDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005707><TABLE
5708BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005709BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005710WIDTH="100%"
5711CELLPADDING="6"
5712><TR
5713><TD
5714><PRE
5715CLASS="PROGRAMLISTING"
5716>void xmlFreeDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005717HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005718>xmlDocPtr</A
5719> cur);</PRE
5720></TD
5721></TR
5722></TABLE
5723><P
5724>Free up all the structures used by a document, tree included.</P
5725><P
5726></P
5727><DIV
5728CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005729><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005730NAME="AEN5085"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005731></A
Daniel Veillard35925471999-02-25 08:46:07 +00005732><P
5733></P
5734><TABLE
5735BORDER="0"
5736WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005737BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005738CELLSPACING="0"
5739CELLPADDING="4"
5740CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005741><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005742><TR
5743><TD
5744WIDTH="20%"
5745ALIGN="RIGHT"
5746VALIGN="TOP"
5747><TT
5748CLASS="PARAMETER"
5749><I
5750>cur</I
5751></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005752>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005753><TD
5754WIDTH="80%"
5755ALIGN="LEFT"
5756VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005757> pointer to the document
5758@: </TD
Daniel Veillard35925471999-02-25 08:46:07 +00005759></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005760></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005761></TABLE
5762><P
5763></P
5764></DIV
5765></DIV
5766><HR><DIV
5767CLASS="REFSECT2"
5768><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005769NAME="AEN5094"
Daniel Veillard35925471999-02-25 08:46:07 +00005770></A
5771><H3
5772><A
5773NAME="XMLNEWDOCPROP"
5774></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005775>xmlNewDocProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005776><TABLE
5777BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005778BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005779WIDTH="100%"
5780CELLPADDING="6"
5781><TR
5782><TD
5783><PRE
5784CLASS="PROGRAMLISTING"
5785><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005786HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005787>xmlAttrPtr</A
5788> xmlNewDocProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005789HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005790>xmlDocPtr</A
5791> doc,
5792 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005793HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005794>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005795> *name,
5796 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005797HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005798>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005799> *value);</PRE
5800></TD
5801></TR
5802></TABLE
5803><P
5804>Create a new property carried by a document.</P
5805><P
5806></P
5807><DIV
5808CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005809><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005810NAME="AEN5104"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005811></A
Daniel Veillard35925471999-02-25 08:46:07 +00005812><P
5813></P
5814><TABLE
5815BORDER="0"
5816WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005817BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005818CELLSPACING="0"
5819CELLPADDING="4"
5820CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005821><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005822><TR
5823><TD
5824WIDTH="20%"
5825ALIGN="RIGHT"
5826VALIGN="TOP"
5827><TT
5828CLASS="PARAMETER"
5829><I
5830>doc</I
5831></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005832>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005833><TD
5834WIDTH="80%"
5835ALIGN="LEFT"
5836VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005837> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005838></TR
5839><TR
5840><TD
5841WIDTH="20%"
5842ALIGN="RIGHT"
5843VALIGN="TOP"
5844><TT
5845CLASS="PARAMETER"
5846><I
5847>name</I
5848></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005849>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005850><TD
5851WIDTH="80%"
5852ALIGN="LEFT"
5853VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005854> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005855></TR
5856><TR
5857><TD
5858WIDTH="20%"
5859ALIGN="RIGHT"
5860VALIGN="TOP"
5861><TT
5862CLASS="PARAMETER"
5863><I
5864>value</I
5865></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005866>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005867><TD
5868WIDTH="80%"
5869ALIGN="LEFT"
5870VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005871> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005872></TR
5873><TR
5874><TD
5875WIDTH="20%"
5876ALIGN="RIGHT"
5877VALIGN="TOP"
5878><I
5879CLASS="EMPHASIS"
5880>Returns</I
5881> :</TD
5882><TD
5883WIDTH="80%"
5884ALIGN="LEFT"
5885VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005886>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005887></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005888></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005889></TABLE
5890><P
5891></P
5892></DIV
5893></DIV
5894><HR><DIV
5895CLASS="REFSECT2"
5896><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005897NAME="AEN5125"
Daniel Veillard35925471999-02-25 08:46:07 +00005898></A
5899><H3
5900><A
5901NAME="XMLNEWPROP"
5902></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005903>xmlNewProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005904><TABLE
5905BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005906BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005907WIDTH="100%"
5908CELLPADDING="6"
5909><TR
5910><TD
5911><PRE
5912CLASS="PROGRAMLISTING"
5913><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005914HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005915>xmlAttrPtr</A
5916> xmlNewProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005917HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005918>xmlNodePtr</A
5919> node,
5920 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005921HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005922>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005923> *name,
5924 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005925HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005926>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005927> *value);</PRE
5928></TD
5929></TR
5930></TABLE
5931><P
5932>Create a new property carried by a node.</P
5933><P
5934></P
5935><DIV
5936CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005937><A
Daniel Veillard60087f32001-10-10 09:45:09 +00005938NAME="AEN5135"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005939></A
Daniel Veillard35925471999-02-25 08:46:07 +00005940><P
5941></P
5942><TABLE
5943BORDER="0"
5944WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005945BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005946CELLSPACING="0"
5947CELLPADDING="4"
5948CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005949><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005950><TR
5951><TD
5952WIDTH="20%"
5953ALIGN="RIGHT"
5954VALIGN="TOP"
5955><TT
5956CLASS="PARAMETER"
5957><I
5958>node</I
5959></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005960>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005961><TD
5962WIDTH="80%"
5963ALIGN="LEFT"
5964VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005965> the holding node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005966></TR
5967><TR
5968><TD
5969WIDTH="20%"
5970ALIGN="RIGHT"
5971VALIGN="TOP"
5972><TT
5973CLASS="PARAMETER"
5974><I
5975>name</I
5976></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005977>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005978><TD
5979WIDTH="80%"
5980ALIGN="LEFT"
5981VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005982> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005983></TR
5984><TR
5985><TD
5986WIDTH="20%"
5987ALIGN="RIGHT"
5988VALIGN="TOP"
5989><TT
5990CLASS="PARAMETER"
5991><I
5992>value</I
5993></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005994>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005995><TD
5996WIDTH="80%"
5997ALIGN="LEFT"
5998VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005999> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006000></TR
6001><TR
6002><TD
6003WIDTH="20%"
6004ALIGN="RIGHT"
6005VALIGN="TOP"
6006><I
6007CLASS="EMPHASIS"
6008>Returns</I
6009> :</TD
6010><TD
6011WIDTH="80%"
6012ALIGN="LEFT"
6013VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006014>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006015></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006016></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006017></TABLE
6018><P
6019></P
6020></DIV
6021></DIV
6022><HR><DIV
6023CLASS="REFSECT2"
6024><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006025NAME="AEN5156"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006026></A
6027><H3
6028><A
6029NAME="XMLNEWNSPROP"
6030></A
6031>xmlNewNsProp ()</H3
6032><TABLE
6033BORDER="0"
6034BGCOLOR="#D6E8FF"
6035WIDTH="100%"
6036CELLPADDING="6"
6037><TR
6038><TD
6039><PRE
6040CLASS="PROGRAMLISTING"
6041><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006042HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006043>xmlAttrPtr</A
6044> xmlNewNsProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006045HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006046>xmlNodePtr</A
6047> node,
6048 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006049HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006050>xmlNsPtr</A
6051> ns,
6052 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006053HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006054>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006055> *name,
6056 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006057HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006058>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006059> *value);</PRE
6060></TD
6061></TR
6062></TABLE
6063><P
6064>Create a new property tagged with a namespace and carried by a node.</P
6065><P
6066></P
6067><DIV
6068CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006069><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006070NAME="AEN5167"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006071></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006072><P
6073></P
6074><TABLE
6075BORDER="0"
6076WIDTH="100%"
6077BGCOLOR="#FFD0D0"
6078CELLSPACING="0"
6079CELLPADDING="4"
6080CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006081><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006082><TR
6083><TD
6084WIDTH="20%"
6085ALIGN="RIGHT"
6086VALIGN="TOP"
6087><TT
6088CLASS="PARAMETER"
6089><I
6090>node</I
6091></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006092>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006093><TD
6094WIDTH="80%"
6095ALIGN="LEFT"
6096VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006097> the holding node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006098></TR
6099><TR
6100><TD
6101WIDTH="20%"
6102ALIGN="RIGHT"
6103VALIGN="TOP"
6104><TT
6105CLASS="PARAMETER"
6106><I
6107>ns</I
6108></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006109>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006110><TD
6111WIDTH="80%"
6112ALIGN="LEFT"
6113VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006114> the namespace</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006115></TR
6116><TR
6117><TD
6118WIDTH="20%"
6119ALIGN="RIGHT"
6120VALIGN="TOP"
6121><TT
6122CLASS="PARAMETER"
6123><I
6124>name</I
6125></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006126>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006127><TD
6128WIDTH="80%"
6129ALIGN="LEFT"
6130VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006131> the name of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006132></TR
6133><TR
6134><TD
6135WIDTH="20%"
6136ALIGN="RIGHT"
6137VALIGN="TOP"
6138><TT
6139CLASS="PARAMETER"
6140><I
6141>value</I
6142></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006143>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006144><TD
6145WIDTH="80%"
6146ALIGN="LEFT"
6147VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006148> the value of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006149></TR
6150><TR
6151><TD
6152WIDTH="20%"
6153ALIGN="RIGHT"
6154VALIGN="TOP"
6155><I
6156CLASS="EMPHASIS"
6157>Returns</I
6158> :</TD
6159><TD
6160WIDTH="80%"
6161ALIGN="LEFT"
6162VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006163>a pointer to the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006164></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006165></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006166></TABLE
6167><P
6168></P
6169></DIV
6170></DIV
6171><HR><DIV
6172CLASS="REFSECT2"
6173><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006174NAME="AEN5192"
Daniel Veillard35925471999-02-25 08:46:07 +00006175></A
6176><H3
6177><A
6178NAME="XMLFREEPROPLIST"
6179></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006180>xmlFreePropList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006181><TABLE
6182BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006183BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006184WIDTH="100%"
6185CELLPADDING="6"
6186><TR
6187><TD
6188><PRE
6189CLASS="PROGRAMLISTING"
6190>void xmlFreePropList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006191HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006192>xmlAttrPtr</A
6193> cur);</PRE
6194></TD
6195></TR
6196></TABLE
6197><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006198>Free a property and all its siblings, all the children are freed too.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006199><P
6200></P
6201><DIV
6202CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006203><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006204NAME="AEN5199"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006205></A
Daniel Veillard35925471999-02-25 08:46:07 +00006206><P
6207></P
6208><TABLE
6209BORDER="0"
6210WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006211BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006212CELLSPACING="0"
6213CELLPADDING="4"
6214CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006215><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006216><TR
6217><TD
6218WIDTH="20%"
6219ALIGN="RIGHT"
6220VALIGN="TOP"
6221><TT
6222CLASS="PARAMETER"
6223><I
6224>cur</I
6225></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006226>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006227><TD
6228WIDTH="80%"
6229ALIGN="LEFT"
6230VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006231> the first property in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006232></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006233></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006234></TABLE
6235><P
6236></P
6237></DIV
6238></DIV
6239><HR><DIV
6240CLASS="REFSECT2"
6241><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006242NAME="AEN5208"
Daniel Veillard35925471999-02-25 08:46:07 +00006243></A
6244><H3
6245><A
6246NAME="XMLFREEPROP"
6247></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006248>xmlFreeProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006249><TABLE
6250BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006251BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006252WIDTH="100%"
6253CELLPADDING="6"
6254><TR
6255><TD
6256><PRE
6257CLASS="PROGRAMLISTING"
6258>void xmlFreeProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006259HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006260>xmlAttrPtr</A
6261> cur);</PRE
6262></TD
6263></TR
6264></TABLE
6265><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00006266>Free one attribute, all the content is freed too</P
Daniel Veillard35925471999-02-25 08:46:07 +00006267><P
6268></P
6269><DIV
6270CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006271><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006272NAME="AEN5215"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006273></A
Daniel Veillard35925471999-02-25 08:46:07 +00006274><P
6275></P
6276><TABLE
6277BORDER="0"
6278WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006279BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006280CELLSPACING="0"
6281CELLPADDING="4"
6282CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006283><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006284><TR
6285><TD
6286WIDTH="20%"
6287ALIGN="RIGHT"
6288VALIGN="TOP"
6289><TT
6290CLASS="PARAMETER"
6291><I
6292>cur</I
6293></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006294>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006295><TD
6296WIDTH="80%"
6297ALIGN="LEFT"
6298VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006299> an attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006300></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006301></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006302></TABLE
6303><P
6304></P
6305></DIV
6306></DIV
6307><HR><DIV
6308CLASS="REFSECT2"
6309><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006310NAME="AEN5224"
Daniel Veillard35925471999-02-25 08:46:07 +00006311></A
6312><H3
6313><A
6314NAME="XMLCOPYPROP"
6315></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006316>xmlCopyProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006317><TABLE
6318BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006319BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006320WIDTH="100%"
6321CELLPADDING="6"
6322><TR
6323><TD
6324><PRE
6325CLASS="PROGRAMLISTING"
6326><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006327HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006328>xmlAttrPtr</A
6329> xmlCopyProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006330HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006331>xmlNodePtr</A
6332> target,
6333 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006334HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006335>xmlAttrPtr</A
6336> cur);</PRE
6337></TD
6338></TR
6339></TABLE
6340><P
6341>Do a copy of the attribute.</P
6342><P
6343></P
6344><DIV
6345CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006346><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006347NAME="AEN5233"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006348></A
Daniel Veillard35925471999-02-25 08:46:07 +00006349><P
6350></P
6351><TABLE
6352BORDER="0"
6353WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006354BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006355CELLSPACING="0"
6356CELLPADDING="4"
6357CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006358><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006359><TR
6360><TD
6361WIDTH="20%"
6362ALIGN="RIGHT"
6363VALIGN="TOP"
6364><TT
6365CLASS="PARAMETER"
6366><I
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006367>target</I
Daniel Veillard35925471999-02-25 08:46:07 +00006368></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006369>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006370><TD
6371WIDTH="80%"
6372ALIGN="LEFT"
6373VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006374> the element where the attribute will be grafted</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006375></TR
6376><TR
6377><TD
6378WIDTH="20%"
6379ALIGN="RIGHT"
6380VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00006381><TT
6382CLASS="PARAMETER"
6383><I
6384>cur</I
6385></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006386>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006387><TD
6388WIDTH="80%"
6389ALIGN="LEFT"
6390VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006391> the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006392></TR
6393><TR
6394><TD
6395WIDTH="20%"
6396ALIGN="RIGHT"
6397VALIGN="TOP"
6398><I
6399CLASS="EMPHASIS"
6400>Returns</I
6401> :</TD
6402><TD
6403WIDTH="80%"
6404ALIGN="LEFT"
6405VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006406> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006407></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006408></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006409></TABLE
6410><P
6411></P
6412></DIV
6413></DIV
6414><HR><DIV
6415CLASS="REFSECT2"
6416><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006417NAME="AEN5250"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006418></A
6419><H3
6420><A
6421NAME="XMLCOPYPROPLIST"
6422></A
6423>xmlCopyPropList ()</H3
6424><TABLE
6425BORDER="0"
6426BGCOLOR="#D6E8FF"
6427WIDTH="100%"
6428CELLPADDING="6"
6429><TR
6430><TD
6431><PRE
6432CLASS="PROGRAMLISTING"
6433><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006434HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006435>xmlAttrPtr</A
6436> xmlCopyPropList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006437HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006438>xmlNodePtr</A
6439> target,
6440 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006441HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006442>xmlAttrPtr</A
6443> cur);</PRE
6444></TD
6445></TR
6446></TABLE
6447><P
6448>Do a copy of an attribute list.</P
6449><P
6450></P
6451><DIV
6452CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006453><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006454NAME="AEN5259"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006455></A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006456><P
6457></P
6458><TABLE
6459BORDER="0"
6460WIDTH="100%"
6461BGCOLOR="#FFD0D0"
6462CELLSPACING="0"
6463CELLPADDING="4"
6464CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006465><TBODY
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006466><TR
6467><TD
6468WIDTH="20%"
6469ALIGN="RIGHT"
6470VALIGN="TOP"
6471><TT
6472CLASS="PARAMETER"
6473><I
6474>target</I
6475></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006476>&nbsp;:</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006477><TD
6478WIDTH="80%"
6479ALIGN="LEFT"
6480VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006481> the element where the attributes will be grafted</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006482></TR
6483><TR
6484><TD
6485WIDTH="20%"
6486ALIGN="RIGHT"
6487VALIGN="TOP"
6488><TT
6489CLASS="PARAMETER"
6490><I
6491>cur</I
6492></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006493>&nbsp;:</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006494><TD
6495WIDTH="80%"
6496ALIGN="LEFT"
6497VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006498> the first attribute</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006499></TR
6500><TR
6501><TD
6502WIDTH="20%"
6503ALIGN="RIGHT"
6504VALIGN="TOP"
6505><I
6506CLASS="EMPHASIS"
6507>Returns</I
6508> :</TD
6509><TD
6510WIDTH="80%"
6511ALIGN="LEFT"
6512VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006513> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006514></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006515></TBODY
Daniel Veillardd2d38e91999-08-30 11:42:36 +00006516></TABLE
6517><P
6518></P
6519></DIV
6520></DIV
6521><HR><DIV
6522CLASS="REFSECT2"
6523><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006524NAME="AEN5276"
Daniel Veillard35925471999-02-25 08:46:07 +00006525></A
6526><H3
6527><A
6528NAME="XMLCOPYDTD"
6529></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006530>xmlCopyDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006531><TABLE
6532BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006533BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006534WIDTH="100%"
6535CELLPADDING="6"
6536><TR
6537><TD
6538><PRE
6539CLASS="PROGRAMLISTING"
6540><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006541HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006542>xmlDtdPtr</A
6543> xmlCopyDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006544HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006545>xmlDtdPtr</A
6546> dtd);</PRE
6547></TD
6548></TR
6549></TABLE
6550><P
6551>Do a copy of the dtd.</P
6552><P
6553></P
6554><DIV
6555CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006556><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006557NAME="AEN5284"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006558></A
Daniel Veillard35925471999-02-25 08:46:07 +00006559><P
6560></P
6561><TABLE
6562BORDER="0"
6563WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006564BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006565CELLSPACING="0"
6566CELLPADDING="4"
6567CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006568><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006569><TR
6570><TD
6571WIDTH="20%"
6572ALIGN="RIGHT"
6573VALIGN="TOP"
6574><TT
6575CLASS="PARAMETER"
6576><I
6577>dtd</I
6578></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006579>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006580><TD
6581WIDTH="80%"
6582ALIGN="LEFT"
6583VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006584> the dtd</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006585></TR
6586><TR
6587><TD
6588WIDTH="20%"
6589ALIGN="RIGHT"
6590VALIGN="TOP"
6591><I
6592CLASS="EMPHASIS"
6593>Returns</I
6594> :</TD
6595><TD
6596WIDTH="80%"
6597ALIGN="LEFT"
6598VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006599> a new xmlDtdPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006600></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006601></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006602></TABLE
6603><P
6604></P
6605></DIV
6606></DIV
6607><HR><DIV
6608CLASS="REFSECT2"
6609><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006610NAME="AEN5297"
Daniel Veillard35925471999-02-25 08:46:07 +00006611></A
6612><H3
6613><A
6614NAME="XMLCOPYDOC"
6615></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006616>xmlCopyDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006617><TABLE
6618BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006619BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006620WIDTH="100%"
6621CELLPADDING="6"
6622><TR
6623><TD
6624><PRE
6625CLASS="PROGRAMLISTING"
6626><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006627HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006628>xmlDocPtr</A
6629> xmlCopyDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006630HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006631>xmlDocPtr</A
6632> doc,
6633 int recursive);</PRE
6634></TD
6635></TR
6636></TABLE
6637><P
6638>Do a copy of the document info. If recursive, the content tree will
6639be copied too as well as Dtd, namespaces and entities.</P
6640><P
6641></P
6642><DIV
6643CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006644><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006645NAME="AEN5305"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006646></A
Daniel Veillard35925471999-02-25 08:46:07 +00006647><P
6648></P
6649><TABLE
6650BORDER="0"
6651WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006652BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006653CELLSPACING="0"
6654CELLPADDING="4"
6655CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006656><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006657><TR
6658><TD
6659WIDTH="20%"
6660ALIGN="RIGHT"
6661VALIGN="TOP"
6662><TT
6663CLASS="PARAMETER"
6664><I
6665>doc</I
6666></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006667>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006668><TD
6669WIDTH="80%"
6670ALIGN="LEFT"
6671VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006672> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006673></TR
6674><TR
6675><TD
6676WIDTH="20%"
6677ALIGN="RIGHT"
6678VALIGN="TOP"
6679><TT
6680CLASS="PARAMETER"
6681><I
6682>recursive</I
6683></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006684>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006685><TD
6686WIDTH="80%"
6687ALIGN="LEFT"
6688VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006689> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006690></TR
6691><TR
6692><TD
6693WIDTH="20%"
6694ALIGN="RIGHT"
6695VALIGN="TOP"
6696><I
6697CLASS="EMPHASIS"
6698>Returns</I
6699> :</TD
6700><TD
6701WIDTH="80%"
6702ALIGN="LEFT"
6703VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006704> a new xmlDocPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006705></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006706></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006707></TABLE
6708><P
6709></P
6710></DIV
6711></DIV
6712><HR><DIV
6713CLASS="REFSECT2"
6714><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006715NAME="AEN5322"
Daniel Veillard35925471999-02-25 08:46:07 +00006716></A
6717><H3
6718><A
6719NAME="XMLNEWDOCNODE"
6720></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006721>xmlNewDocNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006722><TABLE
6723BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006724BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006725WIDTH="100%"
6726CELLPADDING="6"
6727><TR
6728><TD
6729><PRE
6730CLASS="PROGRAMLISTING"
6731><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006732HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006733>xmlNodePtr</A
6734> xmlNewDocNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006735HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006736>xmlDocPtr</A
6737> doc,
6738 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006739HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006740>xmlNsPtr</A
6741> ns,
6742 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006743HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006744>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006745> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006746 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006747HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006748>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006749> *content);</PRE
6750></TD
6751></TR
6752></TABLE
6753><P
6754>Creation of a new node element within a document. <TT
6755CLASS="PARAMETER"
6756><I
6757>ns</I
6758></TT
6759> and <TT
6760CLASS="PARAMETER"
6761><I
6762>content</I
6763></TT
6764>
Daniel Veillardf3a73582000-01-05 14:58:39 +00006765are optionnal (NULL).
6766NOTE: <TT
6767CLASS="PARAMETER"
6768><I
6769>content</I
6770></TT
6771> is supposed to be a piece of XML CDATA, so it allow entities
6772references, but XML special chars need to be escaped first by using
6773<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006774HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006775>xmlEncodeEntitiesReentrant</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006776>(). Use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006777HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006778>xmlNewDocRawNode</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006779>() if you don't
6780need entities support.</P
6781><P
6782></P
6783><DIV
6784CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006785><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006786NAME="AEN5338"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006787></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006788><P
6789></P
6790><TABLE
6791BORDER="0"
6792WIDTH="100%"
6793BGCOLOR="#FFD0D0"
6794CELLSPACING="0"
6795CELLPADDING="4"
6796CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006797><TBODY
Daniel Veillardf3a73582000-01-05 14:58:39 +00006798><TR
6799><TD
6800WIDTH="20%"
6801ALIGN="RIGHT"
6802VALIGN="TOP"
6803><TT
6804CLASS="PARAMETER"
6805><I
6806>doc</I
6807></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006808>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006809><TD
6810WIDTH="80%"
6811ALIGN="LEFT"
6812VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006813> the document</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006814></TR
6815><TR
6816><TD
6817WIDTH="20%"
6818ALIGN="RIGHT"
6819VALIGN="TOP"
6820><TT
6821CLASS="PARAMETER"
6822><I
6823>ns</I
6824></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006825>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006826><TD
6827WIDTH="80%"
6828ALIGN="LEFT"
6829VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006830> namespace if any</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006831></TR
6832><TR
6833><TD
6834WIDTH="20%"
6835ALIGN="RIGHT"
6836VALIGN="TOP"
6837><TT
6838CLASS="PARAMETER"
6839><I
6840>name</I
6841></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006842>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006843><TD
6844WIDTH="80%"
6845ALIGN="LEFT"
6846VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006847> the node name</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006848></TR
6849><TR
6850><TD
6851WIDTH="20%"
6852ALIGN="RIGHT"
6853VALIGN="TOP"
6854><TT
6855CLASS="PARAMETER"
6856><I
6857>content</I
6858></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006859>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006860><TD
6861WIDTH="80%"
6862ALIGN="LEFT"
6863VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006864> the XML text content if any</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006865></TR
6866><TR
6867><TD
6868WIDTH="20%"
6869ALIGN="RIGHT"
6870VALIGN="TOP"
6871><I
6872CLASS="EMPHASIS"
6873>Returns</I
6874> :</TD
6875><TD
6876WIDTH="80%"
6877ALIGN="LEFT"
6878VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006879>a pointer to the new node object.</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006880></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006881></TBODY
Daniel Veillardf3a73582000-01-05 14:58:39 +00006882></TABLE
6883><P
6884></P
6885></DIV
6886></DIV
6887><HR><DIV
6888CLASS="REFSECT2"
6889><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006890NAME="AEN5363"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006891></A
6892><H3
6893><A
6894NAME="XMLNEWDOCRAWNODE"
6895></A
6896>xmlNewDocRawNode ()</H3
6897><TABLE
6898BORDER="0"
6899BGCOLOR="#D6E8FF"
6900WIDTH="100%"
6901CELLPADDING="6"
6902><TR
6903><TD
6904><PRE
6905CLASS="PROGRAMLISTING"
6906><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006907HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006908>xmlNodePtr</A
6909> xmlNewDocRawNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006910HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006911>xmlDocPtr</A
6912> doc,
6913 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006914HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006915>xmlNsPtr</A
6916> ns,
6917 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006918HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006919>xmlChar</A
6920> *name,
6921 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006922HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006923>xmlChar</A
6924> *content);</PRE
6925></TD
6926></TR
6927></TABLE
6928><P
6929>Creation of a new node element within a document. <TT
6930CLASS="PARAMETER"
6931><I
6932>ns</I
6933></TT
6934> and <TT
6935CLASS="PARAMETER"
6936><I
6937>content</I
6938></TT
6939>
6940are optionnal (NULL).</P
6941><P
6942></P
6943><DIV
6944CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006945><A
Daniel Veillard60087f32001-10-10 09:45:09 +00006946NAME="AEN5376"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006947></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006948><P
6949></P
6950><TABLE
6951BORDER="0"
6952WIDTH="100%"
6953BGCOLOR="#FFD0D0"
6954CELLSPACING="0"
6955CELLPADDING="4"
6956CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006957><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006958><TR
6959><TD
6960WIDTH="20%"
6961ALIGN="RIGHT"
6962VALIGN="TOP"
6963><TT
6964CLASS="PARAMETER"
6965><I
6966>doc</I
6967></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006968>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006969><TD
6970WIDTH="80%"
6971ALIGN="LEFT"
6972VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006973> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006974></TR
6975><TR
6976><TD
6977WIDTH="20%"
6978ALIGN="RIGHT"
6979VALIGN="TOP"
6980><TT
6981CLASS="PARAMETER"
6982><I
6983>ns</I
6984></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006985>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006986><TD
6987WIDTH="80%"
6988ALIGN="LEFT"
6989VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006990> namespace if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006991></TR
6992><TR
6993><TD
6994WIDTH="20%"
6995ALIGN="RIGHT"
6996VALIGN="TOP"
6997><TT
6998CLASS="PARAMETER"
6999><I
7000>name</I
7001></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007002>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007003><TD
7004WIDTH="80%"
7005ALIGN="LEFT"
7006VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007007> the node name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007008></TR
7009><TR
7010><TD
7011WIDTH="20%"
7012ALIGN="RIGHT"
7013VALIGN="TOP"
7014><TT
7015CLASS="PARAMETER"
7016><I
7017>content</I
7018></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007019>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007020><TD
7021WIDTH="80%"
7022ALIGN="LEFT"
7023VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007024> the text content if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007025></TR
7026><TR
7027><TD
7028WIDTH="20%"
7029ALIGN="RIGHT"
7030VALIGN="TOP"
7031><I
7032CLASS="EMPHASIS"
7033>Returns</I
7034> :</TD
7035><TD
7036WIDTH="80%"
7037ALIGN="LEFT"
7038VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007039>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007040></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007041></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007042></TABLE
7043><P
7044></P
7045></DIV
7046></DIV
7047><HR><DIV
7048CLASS="REFSECT2"
7049><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007050NAME="AEN5401"
Daniel Veillard35925471999-02-25 08:46:07 +00007051></A
7052><H3
7053><A
7054NAME="XMLNEWNODE"
7055></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007056>xmlNewNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007057><TABLE
7058BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007059BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007060WIDTH="100%"
7061CELLPADDING="6"
7062><TR
7063><TD
7064><PRE
7065CLASS="PROGRAMLISTING"
7066><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007067HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007068>xmlNodePtr</A
7069> xmlNewNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007070HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007071>xmlNsPtr</A
7072> ns,
7073 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007074HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007075>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007076> *name);</PRE
7077></TD
7078></TR
7079></TABLE
7080><P
7081>Creation of a new node element. <TT
7082CLASS="PARAMETER"
7083><I
7084>ns</I
7085></TT
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007086> is optionnal (NULL).</P
Daniel Veillard35925471999-02-25 08:46:07 +00007087><P
7088></P
7089><DIV
7090CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007091><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007092NAME="AEN5411"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007093></A
Daniel Veillard35925471999-02-25 08:46:07 +00007094><P
7095></P
7096><TABLE
7097BORDER="0"
7098WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007099BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007100CELLSPACING="0"
7101CELLPADDING="4"
7102CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007103><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007104><TR
7105><TD
7106WIDTH="20%"
7107ALIGN="RIGHT"
7108VALIGN="TOP"
7109><TT
7110CLASS="PARAMETER"
7111><I
7112>ns</I
7113></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007114>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007115><TD
7116WIDTH="80%"
7117ALIGN="LEFT"
7118VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007119> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007120></TR
7121><TR
7122><TD
7123WIDTH="20%"
7124ALIGN="RIGHT"
7125VALIGN="TOP"
7126><TT
7127CLASS="PARAMETER"
7128><I
7129>name</I
7130></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007131>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007132><TD
7133WIDTH="80%"
7134ALIGN="LEFT"
7135VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007136> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007137></TR
7138><TR
7139><TD
7140WIDTH="20%"
7141ALIGN="RIGHT"
7142VALIGN="TOP"
7143><I
7144CLASS="EMPHASIS"
7145>Returns</I
7146> :</TD
7147><TD
7148WIDTH="80%"
7149ALIGN="LEFT"
7150VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007151>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007152></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007153></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007154></TABLE
7155><P
7156></P
7157></DIV
7158></DIV
7159><HR><DIV
7160CLASS="REFSECT2"
7161><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007162NAME="AEN5428"
Daniel Veillard35925471999-02-25 08:46:07 +00007163></A
7164><H3
7165><A
7166NAME="XMLNEWCHILD"
7167></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007168>xmlNewChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007169><TABLE
7170BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007171BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007172WIDTH="100%"
7173CELLPADDING="6"
7174><TR
7175><TD
7176><PRE
7177CLASS="PROGRAMLISTING"
7178><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007179HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007180>xmlNodePtr</A
7181> xmlNewChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007182HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007183>xmlNodePtr</A
7184> parent,
7185 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007186HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007187>xmlNsPtr</A
7188> ns,
7189 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007190HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007191>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007192> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00007193 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007194HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007195>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007196> *content);</PRE
7197></TD
7198></TR
7199></TABLE
7200><P
7201>Creation of a new child element, added at the end of <TT
7202CLASS="PARAMETER"
7203><I
7204>parent</I
7205></TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007206> children list.
Daniel Veillard35925471999-02-25 08:46:07 +00007207<TT
7208CLASS="PARAMETER"
7209><I
7210>ns</I
7211></TT
7212> and <TT
7213CLASS="PARAMETER"
7214><I
7215>content</I
7216></TT
7217> parameters are optionnal (NULL). If content is non NULL,
Daniel Veillardf3a73582000-01-05 14:58:39 +00007218a child list containing the TEXTs and ENTITY_REFs node will be created.
7219NOTE: <TT
7220CLASS="PARAMETER"
7221><I
7222>content</I
7223></TT
7224> is supposed to be a piece of XML CDATA, so it allow entities
7225references, but XML special chars need to be escaped first by using
7226<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007227HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007228>xmlEncodeEntitiesReentrant</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007229>(). Use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007230HREF="libxml-tree.html#XMLNEWTEXTCHILD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007231>xmlNewTextChild</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007232>() if entities
7233support is not needed.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007234><P
7235></P
7236><DIV
7237CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007238><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007239NAME="AEN5445"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007240></A
Daniel Veillard35925471999-02-25 08:46:07 +00007241><P
7242></P
7243><TABLE
7244BORDER="0"
7245WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007246BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007247CELLSPACING="0"
7248CELLPADDING="4"
7249CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007250><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007251><TR
7252><TD
7253WIDTH="20%"
7254ALIGN="RIGHT"
7255VALIGN="TOP"
7256><TT
7257CLASS="PARAMETER"
7258><I
7259>parent</I
7260></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007261>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007262><TD
7263WIDTH="80%"
7264ALIGN="LEFT"
7265VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007266> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007267></TR
7268><TR
7269><TD
7270WIDTH="20%"
7271ALIGN="RIGHT"
7272VALIGN="TOP"
7273><TT
7274CLASS="PARAMETER"
7275><I
7276>ns</I
7277></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007278>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007279><TD
7280WIDTH="80%"
7281ALIGN="LEFT"
7282VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007283> a namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007284></TR
7285><TR
7286><TD
7287WIDTH="20%"
7288ALIGN="RIGHT"
7289VALIGN="TOP"
7290><TT
7291CLASS="PARAMETER"
7292><I
7293>name</I
7294></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007295>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007296><TD
7297WIDTH="80%"
7298ALIGN="LEFT"
7299VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007300> the name of the child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007301></TR
7302><TR
7303><TD
7304WIDTH="20%"
7305ALIGN="RIGHT"
7306VALIGN="TOP"
7307><TT
7308CLASS="PARAMETER"
7309><I
7310>content</I
7311></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007312>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007313><TD
7314WIDTH="80%"
7315ALIGN="LEFT"
7316VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007317> the XML content of the child if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007318></TR
7319><TR
7320><TD
7321WIDTH="20%"
7322ALIGN="RIGHT"
7323VALIGN="TOP"
7324><I
7325CLASS="EMPHASIS"
7326>Returns</I
7327> :</TD
7328><TD
7329WIDTH="80%"
7330ALIGN="LEFT"
7331VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007332>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007333></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007334></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007335></TABLE
7336><P
7337></P
7338></DIV
7339></DIV
7340><HR><DIV
7341CLASS="REFSECT2"
7342><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007343NAME="AEN5470"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007344></A
7345><H3
7346><A
7347NAME="XMLNEWTEXTCHILD"
7348></A
7349>xmlNewTextChild ()</H3
7350><TABLE
7351BORDER="0"
7352BGCOLOR="#D6E8FF"
7353WIDTH="100%"
7354CELLPADDING="6"
7355><TR
7356><TD
7357><PRE
7358CLASS="PROGRAMLISTING"
7359><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007360HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007361>xmlNodePtr</A
7362> xmlNewTextChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007363HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007364>xmlNodePtr</A
7365> parent,
7366 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007367HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007368>xmlNsPtr</A
7369> ns,
7370 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007371HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007372>xmlChar</A
7373> *name,
7374 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007375HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007376>xmlChar</A
7377> *content);</PRE
7378></TD
7379></TR
7380></TABLE
7381><P
7382>Creation of a new child element, added at the end of <TT
7383CLASS="PARAMETER"
7384><I
7385>parent</I
7386></TT
7387> children list.
7388<TT
7389CLASS="PARAMETER"
7390><I
7391>ns</I
7392></TT
7393> and <TT
7394CLASS="PARAMETER"
7395><I
7396>content</I
7397></TT
7398> parameters are optionnal (NULL). If content is non NULL,
7399a child TEXT node will be created containing the string content.</P
7400><P
7401></P
7402><DIV
7403CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007404><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007405NAME="AEN5484"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007406></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007407><P
7408></P
7409><TABLE
7410BORDER="0"
7411WIDTH="100%"
7412BGCOLOR="#FFD0D0"
7413CELLSPACING="0"
7414CELLPADDING="4"
7415CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007416><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007417><TR
7418><TD
7419WIDTH="20%"
7420ALIGN="RIGHT"
7421VALIGN="TOP"
7422><TT
7423CLASS="PARAMETER"
7424><I
7425>parent</I
7426></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007427>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007428><TD
7429WIDTH="80%"
7430ALIGN="LEFT"
7431VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007432> the parent node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007433></TR
7434><TR
7435><TD
7436WIDTH="20%"
7437ALIGN="RIGHT"
7438VALIGN="TOP"
7439><TT
7440CLASS="PARAMETER"
7441><I
7442>ns</I
7443></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007444>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007445><TD
7446WIDTH="80%"
7447ALIGN="LEFT"
7448VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007449> a namespace if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007450></TR
7451><TR
7452><TD
7453WIDTH="20%"
7454ALIGN="RIGHT"
7455VALIGN="TOP"
7456><TT
7457CLASS="PARAMETER"
7458><I
7459>name</I
7460></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007461>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007462><TD
7463WIDTH="80%"
7464ALIGN="LEFT"
7465VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007466> the name of the child</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007467></TR
7468><TR
7469><TD
7470WIDTH="20%"
7471ALIGN="RIGHT"
7472VALIGN="TOP"
7473><TT
7474CLASS="PARAMETER"
7475><I
7476>content</I
7477></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007478>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007479><TD
7480WIDTH="80%"
7481ALIGN="LEFT"
7482VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007483> the text content of the child if any.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007484></TR
7485><TR
7486><TD
7487WIDTH="20%"
7488ALIGN="RIGHT"
7489VALIGN="TOP"
7490><I
7491CLASS="EMPHASIS"
7492>Returns</I
7493> :</TD
7494><TD
7495WIDTH="80%"
7496ALIGN="LEFT"
7497VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007498>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007499></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007500></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007501></TABLE
7502><P
7503></P
7504></DIV
7505></DIV
7506><HR><DIV
7507CLASS="REFSECT2"
7508><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007509NAME="AEN5509"
Daniel Veillard35925471999-02-25 08:46:07 +00007510></A
7511><H3
7512><A
7513NAME="XMLNEWDOCTEXT"
7514></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007515>xmlNewDocText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007516><TABLE
7517BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007518BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007519WIDTH="100%"
7520CELLPADDING="6"
7521><TR
7522><TD
7523><PRE
7524CLASS="PROGRAMLISTING"
7525><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007526HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007527>xmlNodePtr</A
7528> xmlNewDocText (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007529HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007530>xmlDocPtr</A
7531> doc,
7532 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007533HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007534>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007535> *content);</PRE
7536></TD
7537></TR
7538></TABLE
7539><P
7540>Creation of a new text node within a document.</P
7541><P
7542></P
7543><DIV
7544CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007545><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007546NAME="AEN5518"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007547></A
Daniel Veillard35925471999-02-25 08:46:07 +00007548><P
7549></P
7550><TABLE
7551BORDER="0"
7552WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007553BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007554CELLSPACING="0"
7555CELLPADDING="4"
7556CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007557><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007558><TR
7559><TD
7560WIDTH="20%"
7561ALIGN="RIGHT"
7562VALIGN="TOP"
7563><TT
7564CLASS="PARAMETER"
7565><I
7566>doc</I
7567></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007568>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007569><TD
7570WIDTH="80%"
7571ALIGN="LEFT"
7572VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007573> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007574></TR
7575><TR
7576><TD
7577WIDTH="20%"
7578ALIGN="RIGHT"
7579VALIGN="TOP"
7580><TT
7581CLASS="PARAMETER"
7582><I
7583>content</I
7584></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007585>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007586><TD
7587WIDTH="80%"
7588ALIGN="LEFT"
7589VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007590> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007591></TR
7592><TR
7593><TD
7594WIDTH="20%"
7595ALIGN="RIGHT"
7596VALIGN="TOP"
7597><I
7598CLASS="EMPHASIS"
7599>Returns</I
7600> :</TD
7601><TD
7602WIDTH="80%"
7603ALIGN="LEFT"
7604VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007605>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007606></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007607></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007608></TABLE
7609><P
7610></P
7611></DIV
7612></DIV
7613><HR><DIV
7614CLASS="REFSECT2"
7615><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007616NAME="AEN5535"
Daniel Veillard35925471999-02-25 08:46:07 +00007617></A
7618><H3
7619><A
7620NAME="XMLNEWTEXT"
7621></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007622>xmlNewText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007623><TABLE
7624BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007625BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007626WIDTH="100%"
7627CELLPADDING="6"
7628><TR
7629><TD
7630><PRE
7631CLASS="PROGRAMLISTING"
7632><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007633HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007634>xmlNodePtr</A
7635> xmlNewText (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007636HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007637>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007638> *content);</PRE
7639></TD
7640></TR
7641></TABLE
7642><P
7643>Creation of a new text node.</P
7644><P
7645></P
7646><DIV
7647CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007648><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007649NAME="AEN5543"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007650></A
Daniel Veillard35925471999-02-25 08:46:07 +00007651><P
7652></P
7653><TABLE
7654BORDER="0"
7655WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007656BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007657CELLSPACING="0"
7658CELLPADDING="4"
7659CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007660><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007661><TR
7662><TD
7663WIDTH="20%"
7664ALIGN="RIGHT"
7665VALIGN="TOP"
7666><TT
7667CLASS="PARAMETER"
7668><I
7669>content</I
7670></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007671>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007672><TD
7673WIDTH="80%"
7674ALIGN="LEFT"
7675VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007676> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007677></TR
7678><TR
7679><TD
7680WIDTH="20%"
7681ALIGN="RIGHT"
7682VALIGN="TOP"
7683><I
7684CLASS="EMPHASIS"
7685>Returns</I
7686> :</TD
7687><TD
7688WIDTH="80%"
7689ALIGN="LEFT"
7690VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007691>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007692></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007693></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007694></TABLE
7695><P
7696></P
7697></DIV
7698></DIV
7699><HR><DIV
7700CLASS="REFSECT2"
7701><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007702NAME="AEN5556"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007703></A
7704><H3
7705><A
7706NAME="XMLNEWPI"
7707></A
7708>xmlNewPI ()</H3
7709><TABLE
7710BORDER="0"
7711BGCOLOR="#D6E8FF"
7712WIDTH="100%"
7713CELLPADDING="6"
7714><TR
7715><TD
7716><PRE
7717CLASS="PROGRAMLISTING"
7718><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007719HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007720>xmlNodePtr</A
7721> xmlNewPI (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007722HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007723>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007724> *name,
7725 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007726HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007727>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007728> *content);</PRE
7729></TD
7730></TR
7731></TABLE
7732><P
7733>Creation of a processing instruction element.</P
7734><P
7735></P
7736><DIV
7737CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007738><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007739NAME="AEN5565"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007740></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007741><P
7742></P
7743><TABLE
7744BORDER="0"
7745WIDTH="100%"
7746BGCOLOR="#FFD0D0"
7747CELLSPACING="0"
7748CELLPADDING="4"
7749CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007750><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007751><TR
7752><TD
7753WIDTH="20%"
7754ALIGN="RIGHT"
7755VALIGN="TOP"
7756><TT
7757CLASS="PARAMETER"
7758><I
7759>name</I
7760></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007761>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007762><TD
7763WIDTH="80%"
7764ALIGN="LEFT"
7765VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007766> the processing instruction name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007767></TR
7768><TR
7769><TD
7770WIDTH="20%"
7771ALIGN="RIGHT"
7772VALIGN="TOP"
7773><TT
7774CLASS="PARAMETER"
7775><I
7776>content</I
7777></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007778>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007779><TD
7780WIDTH="80%"
7781ALIGN="LEFT"
7782VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007783> the PI content</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007784></TR
7785><TR
7786><TD
7787WIDTH="20%"
7788ALIGN="RIGHT"
7789VALIGN="TOP"
7790><I
7791CLASS="EMPHASIS"
7792>Returns</I
7793> :</TD
7794><TD
7795WIDTH="80%"
7796ALIGN="LEFT"
7797VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007798>a pointer to the new node object.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007799></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007800></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007801></TABLE
7802><P
7803></P
7804></DIV
7805></DIV
7806><HR><DIV
7807CLASS="REFSECT2"
7808><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007809NAME="AEN5582"
Daniel Veillard35925471999-02-25 08:46:07 +00007810></A
7811><H3
7812><A
7813NAME="XMLNEWDOCTEXTLEN"
7814></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007815>xmlNewDocTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007816><TABLE
7817BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007818BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007819WIDTH="100%"
7820CELLPADDING="6"
7821><TR
7822><TD
7823><PRE
7824CLASS="PROGRAMLISTING"
7825><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007826HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007827>xmlNodePtr</A
7828> xmlNewDocTextLen (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007829HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007830>xmlDocPtr</A
7831> doc,
7832 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007833HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007834>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007835> *content,
7836 int len);</PRE
7837></TD
7838></TR
7839></TABLE
7840><P
Daniel Veillard60087f32001-10-10 09:45:09 +00007841>Creation of a new text node with an extra content length parameter. The
Daniel Veillard35925471999-02-25 08:46:07 +00007842text node pertain to a given document.</P
7843><P
7844></P
7845><DIV
7846CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007847><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007848NAME="AEN5591"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007849></A
Daniel Veillard35925471999-02-25 08:46:07 +00007850><P
7851></P
7852><TABLE
7853BORDER="0"
7854WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007855BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007856CELLSPACING="0"
7857CELLPADDING="4"
7858CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007859><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007860><TR
7861><TD
7862WIDTH="20%"
7863ALIGN="RIGHT"
7864VALIGN="TOP"
7865><TT
7866CLASS="PARAMETER"
7867><I
7868>doc</I
7869></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007870>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007871><TD
7872WIDTH="80%"
7873ALIGN="LEFT"
7874VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007875> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007876></TR
7877><TR
7878><TD
7879WIDTH="20%"
7880ALIGN="RIGHT"
7881VALIGN="TOP"
7882><TT
7883CLASS="PARAMETER"
7884><I
7885>content</I
7886></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007887>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007888><TD
7889WIDTH="80%"
7890ALIGN="LEFT"
7891VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007892> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007893></TR
7894><TR
7895><TD
7896WIDTH="20%"
7897ALIGN="RIGHT"
7898VALIGN="TOP"
7899><TT
7900CLASS="PARAMETER"
7901><I
7902>len</I
7903></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007904>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007905><TD
7906WIDTH="80%"
7907ALIGN="LEFT"
7908VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007909> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007910></TR
7911><TR
7912><TD
7913WIDTH="20%"
7914ALIGN="RIGHT"
7915VALIGN="TOP"
7916><I
7917CLASS="EMPHASIS"
7918>Returns</I
7919> :</TD
7920><TD
7921WIDTH="80%"
7922ALIGN="LEFT"
7923VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007924>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007925></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007926></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007927></TABLE
7928><P
7929></P
7930></DIV
7931></DIV
7932><HR><DIV
7933CLASS="REFSECT2"
7934><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007935NAME="AEN5612"
Daniel Veillard35925471999-02-25 08:46:07 +00007936></A
7937><H3
7938><A
7939NAME="XMLNEWTEXTLEN"
7940></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007941>xmlNewTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007942><TABLE
7943BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007944BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007945WIDTH="100%"
7946CELLPADDING="6"
7947><TR
7948><TD
7949><PRE
7950CLASS="PROGRAMLISTING"
7951><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007952HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007953>xmlNodePtr</A
7954> xmlNewTextLen (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007955HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007956>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007957> *content,
7958 int len);</PRE
7959></TD
7960></TR
7961></TABLE
7962><P
Daniel Veillard60087f32001-10-10 09:45:09 +00007963>Creation of a new text node with an extra parameter for the content's length</P
Daniel Veillard35925471999-02-25 08:46:07 +00007964><P
7965></P
7966><DIV
7967CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007968><A
Daniel Veillard60087f32001-10-10 09:45:09 +00007969NAME="AEN5620"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007970></A
Daniel Veillard35925471999-02-25 08:46:07 +00007971><P
7972></P
7973><TABLE
7974BORDER="0"
7975WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007976BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007977CELLSPACING="0"
7978CELLPADDING="4"
7979CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007980><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007981><TR
7982><TD
7983WIDTH="20%"
7984ALIGN="RIGHT"
7985VALIGN="TOP"
7986><TT
7987CLASS="PARAMETER"
7988><I
7989>content</I
7990></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007991>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007992><TD
7993WIDTH="80%"
7994ALIGN="LEFT"
7995VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007996> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007997></TR
7998><TR
7999><TD
8000WIDTH="20%"
8001ALIGN="RIGHT"
8002VALIGN="TOP"
8003><TT
8004CLASS="PARAMETER"
8005><I
8006>len</I
8007></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008008>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008009><TD
8010WIDTH="80%"
8011ALIGN="LEFT"
8012VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008013> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008014></TR
8015><TR
8016><TD
8017WIDTH="20%"
8018ALIGN="RIGHT"
8019VALIGN="TOP"
8020><I
8021CLASS="EMPHASIS"
8022>Returns</I
8023> :</TD
8024><TD
8025WIDTH="80%"
8026ALIGN="LEFT"
8027VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008028>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008029></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008030></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008031></TABLE
8032><P
8033></P
8034></DIV
8035></DIV
8036><HR><DIV
8037CLASS="REFSECT2"
8038><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008039NAME="AEN5637"
Daniel Veillard35925471999-02-25 08:46:07 +00008040></A
8041><H3
8042><A
8043NAME="XMLNEWDOCCOMMENT"
8044></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008045>xmlNewDocComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008046><TABLE
8047BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008048BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008049WIDTH="100%"
8050CELLPADDING="6"
8051><TR
8052><TD
8053><PRE
8054CLASS="PROGRAMLISTING"
8055><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008056HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008057>xmlNodePtr</A
8058> xmlNewDocComment (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008059HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008060>xmlDocPtr</A
8061> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +00008062 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008063HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008064>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008065> *content);</PRE
8066></TD
8067></TR
8068></TABLE
8069><P
8070>Creation of a new node containing a commentwithin a document.</P
8071><P
8072></P
8073><DIV
8074CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008075><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008076NAME="AEN5646"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008077></A
Daniel Veillard35925471999-02-25 08:46:07 +00008078><P
8079></P
8080><TABLE
8081BORDER="0"
8082WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008083BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008084CELLSPACING="0"
8085CELLPADDING="4"
8086CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008087><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008088><TR
8089><TD
8090WIDTH="20%"
8091ALIGN="RIGHT"
8092VALIGN="TOP"
8093><TT
8094CLASS="PARAMETER"
8095><I
8096>doc</I
8097></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008098>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008099><TD
8100WIDTH="80%"
8101ALIGN="LEFT"
8102VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008103> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008104></TR
8105><TR
8106><TD
8107WIDTH="20%"
8108ALIGN="RIGHT"
8109VALIGN="TOP"
8110><TT
8111CLASS="PARAMETER"
8112><I
8113>content</I
8114></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008115>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008116><TD
8117WIDTH="80%"
8118ALIGN="LEFT"
8119VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008120> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008121></TR
8122><TR
8123><TD
8124WIDTH="20%"
8125ALIGN="RIGHT"
8126VALIGN="TOP"
8127><I
8128CLASS="EMPHASIS"
8129>Returns</I
8130> :</TD
8131><TD
8132WIDTH="80%"
8133ALIGN="LEFT"
8134VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008135>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008136></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008137></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008138></TABLE
8139><P
8140></P
8141></DIV
8142></DIV
8143><HR><DIV
8144CLASS="REFSECT2"
8145><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008146NAME="AEN5663"
Daniel Veillard35925471999-02-25 08:46:07 +00008147></A
8148><H3
8149><A
8150NAME="XMLNEWCOMMENT"
8151></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008152>xmlNewComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008153><TABLE
8154BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008155BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008156WIDTH="100%"
8157CELLPADDING="6"
8158><TR
8159><TD
8160><PRE
8161CLASS="PROGRAMLISTING"
8162><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008163HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008164>xmlNodePtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00008165> xmlNewComment (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008166HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008167>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008168> *content);</PRE
8169></TD
8170></TR
8171></TABLE
8172><P
8173>Creation of a new node containing a comment.</P
8174><P
8175></P
8176><DIV
8177CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008178><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008179NAME="AEN5671"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008180></A
Daniel Veillard35925471999-02-25 08:46:07 +00008181><P
8182></P
8183><TABLE
8184BORDER="0"
8185WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008186BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008187CELLSPACING="0"
8188CELLPADDING="4"
8189CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008190><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008191><TR
8192><TD
8193WIDTH="20%"
8194ALIGN="RIGHT"
8195VALIGN="TOP"
8196><TT
8197CLASS="PARAMETER"
8198><I
8199>content</I
8200></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008201>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008202><TD
8203WIDTH="80%"
8204ALIGN="LEFT"
8205VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008206> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008207></TR
8208><TR
8209><TD
8210WIDTH="20%"
8211ALIGN="RIGHT"
8212VALIGN="TOP"
8213><I
8214CLASS="EMPHASIS"
8215>Returns</I
8216> :</TD
8217><TD
8218WIDTH="80%"
8219ALIGN="LEFT"
8220VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008221>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008222></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008223></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008224></TABLE
8225><P
8226></P
8227></DIV
8228></DIV
8229><HR><DIV
8230CLASS="REFSECT2"
8231><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008232NAME="AEN5684"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008233></A
8234><H3
8235><A
8236NAME="XMLNEWCDATABLOCK"
8237></A
8238>xmlNewCDataBlock ()</H3
8239><TABLE
8240BORDER="0"
8241BGCOLOR="#D6E8FF"
8242WIDTH="100%"
8243CELLPADDING="6"
8244><TR
8245><TD
8246><PRE
8247CLASS="PROGRAMLISTING"
8248><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008249HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008250>xmlNodePtr</A
8251> xmlNewCDataBlock (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008252HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008253>xmlDocPtr</A
8254> doc,
8255 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008256HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008257>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008258> *content,
8259 int len);</PRE
8260></TD
8261></TR
8262></TABLE
8263><P
8264>Creation of a new node containing a CData block.</P
8265><P
8266></P
8267><DIV
8268CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008269><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008270NAME="AEN5693"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008271></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008272><P
8273></P
8274><TABLE
8275BORDER="0"
8276WIDTH="100%"
8277BGCOLOR="#FFD0D0"
8278CELLSPACING="0"
8279CELLPADDING="4"
8280CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008281><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00008282><TR
8283><TD
8284WIDTH="20%"
8285ALIGN="RIGHT"
8286VALIGN="TOP"
8287><TT
8288CLASS="PARAMETER"
8289><I
8290>doc</I
8291></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008292>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008293><TD
8294WIDTH="80%"
8295ALIGN="LEFT"
8296VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008297> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008298></TR
8299><TR
8300><TD
8301WIDTH="20%"
8302ALIGN="RIGHT"
8303VALIGN="TOP"
8304><TT
8305CLASS="PARAMETER"
8306><I
8307>content</I
8308></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008309>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008310><TD
8311WIDTH="80%"
8312ALIGN="LEFT"
8313VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008314> the CData block content content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008315></TR
8316><TR
8317><TD
8318WIDTH="20%"
8319ALIGN="RIGHT"
8320VALIGN="TOP"
8321><TT
8322CLASS="PARAMETER"
8323><I
8324>len</I
8325></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008326>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008327><TD
8328WIDTH="80%"
8329ALIGN="LEFT"
8330VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008331> the length of the block</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008332></TR
8333><TR
8334><TD
8335WIDTH="20%"
8336ALIGN="RIGHT"
8337VALIGN="TOP"
8338><I
8339CLASS="EMPHASIS"
8340>Returns</I
8341> :</TD
8342><TD
8343WIDTH="80%"
8344ALIGN="LEFT"
8345VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008346>a pointer to the new node object.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008347></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008348></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00008349></TABLE
8350><P
8351></P
8352></DIV
8353></DIV
8354><HR><DIV
8355CLASS="REFSECT2"
8356><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008357NAME="AEN5714"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008358></A
8359><H3
8360><A
8361NAME="XMLNEWCHARREF"
8362></A
8363>xmlNewCharRef ()</H3
8364><TABLE
8365BORDER="0"
8366BGCOLOR="#D6E8FF"
8367WIDTH="100%"
8368CELLPADDING="6"
8369><TR
8370><TD
8371><PRE
8372CLASS="PROGRAMLISTING"
8373><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008374HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008375>xmlNodePtr</A
8376> xmlNewCharRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008377HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008378>xmlDocPtr</A
8379> doc,
8380 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008381HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008382>xmlChar</A
8383> *name);</PRE
8384></TD
8385></TR
8386></TABLE
8387><P
8388>Creation of a new character reference node.</P
8389><P
8390></P
8391><DIV
8392CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008393><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008394NAME="AEN5723"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008395></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008396><P
8397></P
8398><TABLE
8399BORDER="0"
8400WIDTH="100%"
8401BGCOLOR="#FFD0D0"
8402CELLSPACING="0"
8403CELLPADDING="4"
8404CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008405><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008406><TR
8407><TD
8408WIDTH="20%"
8409ALIGN="RIGHT"
8410VALIGN="TOP"
8411><TT
8412CLASS="PARAMETER"
8413><I
8414>doc</I
8415></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008416>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008417><TD
8418WIDTH="80%"
8419ALIGN="LEFT"
8420VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008421> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008422></TR
8423><TR
8424><TD
8425WIDTH="20%"
8426ALIGN="RIGHT"
8427VALIGN="TOP"
8428><TT
8429CLASS="PARAMETER"
8430><I
8431>name</I
8432></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008433>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008434><TD
8435WIDTH="80%"
8436ALIGN="LEFT"
8437VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008438> the char ref string, starting with # or "&amp;# ... ;"</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008439></TR
8440><TR
8441><TD
8442WIDTH="20%"
8443ALIGN="RIGHT"
8444VALIGN="TOP"
8445><I
8446CLASS="EMPHASIS"
8447>Returns</I
8448> :</TD
8449><TD
8450WIDTH="80%"
8451ALIGN="LEFT"
8452VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008453>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008454></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008455></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008456></TABLE
8457><P
8458></P
8459></DIV
8460></DIV
8461><HR><DIV
8462CLASS="REFSECT2"
8463><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008464NAME="AEN5740"
Daniel Veillard35925471999-02-25 08:46:07 +00008465></A
8466><H3
8467><A
8468NAME="XMLNEWREFERENCE"
8469></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008470>xmlNewReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008471><TABLE
8472BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008473BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008474WIDTH="100%"
8475CELLPADDING="6"
8476><TR
8477><TD
8478><PRE
8479CLASS="PROGRAMLISTING"
8480><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008481HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008482>xmlNodePtr</A
8483> xmlNewReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008484HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008485>xmlDocPtr</A
8486> doc,
8487 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008488HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008489>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008490> *name);</PRE
8491></TD
8492></TR
8493></TABLE
8494><P
8495>Creation of a new reference node.</P
8496><P
8497></P
8498><DIV
8499CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008500><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008501NAME="AEN5749"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008502></A
Daniel Veillard35925471999-02-25 08:46:07 +00008503><P
8504></P
8505><TABLE
8506BORDER="0"
8507WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008508BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008509CELLSPACING="0"
8510CELLPADDING="4"
8511CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008512><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008513><TR
8514><TD
8515WIDTH="20%"
8516ALIGN="RIGHT"
8517VALIGN="TOP"
8518><TT
8519CLASS="PARAMETER"
8520><I
8521>doc</I
8522></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008523>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008524><TD
8525WIDTH="80%"
8526ALIGN="LEFT"
8527VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008528> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008529></TR
8530><TR
8531><TD
8532WIDTH="20%"
8533ALIGN="RIGHT"
8534VALIGN="TOP"
8535><TT
8536CLASS="PARAMETER"
8537><I
8538>name</I
8539></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008540>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008541><TD
8542WIDTH="80%"
8543ALIGN="LEFT"
8544VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008545> the reference name, or the reference string with &amp; and ;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008546></TR
8547><TR
8548><TD
8549WIDTH="20%"
8550ALIGN="RIGHT"
8551VALIGN="TOP"
8552><I
8553CLASS="EMPHASIS"
8554>Returns</I
8555> :</TD
8556><TD
8557WIDTH="80%"
8558ALIGN="LEFT"
8559VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008560>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008561></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008562></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008563></TABLE
8564><P
8565></P
8566></DIV
8567></DIV
8568><HR><DIV
8569CLASS="REFSECT2"
8570><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008571NAME="AEN5766"
Daniel Veillard35925471999-02-25 08:46:07 +00008572></A
8573><H3
8574><A
8575NAME="XMLCOPYNODE"
8576></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008577>xmlCopyNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008578><TABLE
8579BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008580BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008581WIDTH="100%"
8582CELLPADDING="6"
8583><TR
8584><TD
8585><PRE
8586CLASS="PROGRAMLISTING"
8587><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008588HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008589>xmlNodePtr</A
Daniel Veillard04382ae2001-09-12 18:51:30 +00008590> xmlCopyNode (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008591HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008592>xmlNodePtr</A
8593> node,
8594 int recursive);</PRE
8595></TD
8596></TR
8597></TABLE
8598><P
8599>Do a copy of the node.</P
8600><P
8601></P
8602><DIV
8603CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008604><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008605NAME="AEN5774"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008606></A
Daniel Veillard35925471999-02-25 08:46:07 +00008607><P
8608></P
8609><TABLE
8610BORDER="0"
8611WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008612BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008613CELLSPACING="0"
8614CELLPADDING="4"
8615CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008616><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008617><TR
8618><TD
8619WIDTH="20%"
8620ALIGN="RIGHT"
8621VALIGN="TOP"
8622><TT
8623CLASS="PARAMETER"
8624><I
8625>node</I
8626></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008627>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008628><TD
8629WIDTH="80%"
8630ALIGN="LEFT"
8631VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008632> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008633></TR
8634><TR
8635><TD
8636WIDTH="20%"
8637ALIGN="RIGHT"
8638VALIGN="TOP"
8639><TT
8640CLASS="PARAMETER"
8641><I
8642>recursive</I
8643></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008644>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008645><TD
8646WIDTH="80%"
8647ALIGN="LEFT"
8648VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008649> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008650></TR
8651><TR
8652><TD
8653WIDTH="20%"
8654ALIGN="RIGHT"
8655VALIGN="TOP"
8656><I
8657CLASS="EMPHASIS"
8658>Returns</I
8659> :</TD
8660><TD
8661WIDTH="80%"
8662ALIGN="LEFT"
8663VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008664> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008665></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008666></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008667></TABLE
8668><P
8669></P
8670></DIV
8671></DIV
8672><HR><DIV
8673CLASS="REFSECT2"
8674><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008675NAME="AEN5791"
Daniel Veillarda41123c2001-04-22 19:31:20 +00008676></A
8677><H3
8678><A
8679NAME="XMLDOCCOPYNODE"
8680></A
8681>xmlDocCopyNode ()</H3
8682><TABLE
8683BORDER="0"
8684BGCOLOR="#D6E8FF"
8685WIDTH="100%"
8686CELLPADDING="6"
8687><TR
8688><TD
8689><PRE
8690CLASS="PROGRAMLISTING"
8691><A
8692HREF="libxml-tree.html#XMLNODEPTR"
8693>xmlNodePtr</A
8694> xmlDocCopyNode (<A
8695HREF="libxml-tree.html#XMLNODEPTR"
8696>xmlNodePtr</A
8697> node,
8698 <A
8699HREF="libxml-tree.html#XMLDOCPTR"
8700>xmlDocPtr</A
8701> doc,
8702 int recursive);</PRE
8703></TD
8704></TR
8705></TABLE
8706><P
8707>Do a copy of the node to a given document.</P
8708><P
8709></P
8710><DIV
8711CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008712><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008713NAME="AEN5800"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008714></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00008715><P
8716></P
8717><TABLE
8718BORDER="0"
8719WIDTH="100%"
8720BGCOLOR="#FFD0D0"
8721CELLSPACING="0"
8722CELLPADDING="4"
8723CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008724><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008725><TR
8726><TD
8727WIDTH="20%"
8728ALIGN="RIGHT"
8729VALIGN="TOP"
8730><TT
8731CLASS="PARAMETER"
8732><I
8733>node</I
8734></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008735>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008736><TD
8737WIDTH="80%"
8738ALIGN="LEFT"
8739VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008740> the node</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008741></TR
8742><TR
8743><TD
8744WIDTH="20%"
8745ALIGN="RIGHT"
8746VALIGN="TOP"
8747><TT
8748CLASS="PARAMETER"
8749><I
8750>doc</I
8751></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008752>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008753><TD
8754WIDTH="80%"
8755ALIGN="LEFT"
8756VALIGN="TOP"
8757>&nbsp;</TD
8758></TR
8759><TR
8760><TD
8761WIDTH="20%"
8762ALIGN="RIGHT"
8763VALIGN="TOP"
8764><TT
8765CLASS="PARAMETER"
8766><I
8767>recursive</I
8768></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008769>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008770><TD
8771WIDTH="80%"
8772ALIGN="LEFT"
8773VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008774> if 1 do a recursive copy.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008775></TR
8776><TR
8777><TD
8778WIDTH="20%"
8779ALIGN="RIGHT"
8780VALIGN="TOP"
8781><I
8782CLASS="EMPHASIS"
8783>Returns</I
8784> :</TD
8785><TD
8786WIDTH="80%"
8787ALIGN="LEFT"
8788VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008789> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00008790></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008791></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00008792></TABLE
8793><P
8794></P
8795></DIV
8796></DIV
8797><HR><DIV
8798CLASS="REFSECT2"
8799><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008800NAME="AEN5821"
Daniel Veillard35925471999-02-25 08:46:07 +00008801></A
8802><H3
8803><A
8804NAME="XMLCOPYNODELIST"
8805></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008806>xmlCopyNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008807><TABLE
8808BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008809BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008810WIDTH="100%"
8811CELLPADDING="6"
8812><TR
8813><TD
8814><PRE
8815CLASS="PROGRAMLISTING"
8816><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008817HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008818>xmlNodePtr</A
8819> xmlCopyNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008820HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008821>xmlNodePtr</A
8822> node);</PRE
8823></TD
8824></TR
8825></TABLE
8826><P
8827>Do a recursive copy of the node list.</P
8828><P
8829></P
8830><DIV
8831CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008832><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008833NAME="AEN5829"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008834></A
Daniel Veillard35925471999-02-25 08:46:07 +00008835><P
8836></P
8837><TABLE
8838BORDER="0"
8839WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008840BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008841CELLSPACING="0"
8842CELLPADDING="4"
8843CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008844><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008845><TR
8846><TD
8847WIDTH="20%"
8848ALIGN="RIGHT"
8849VALIGN="TOP"
8850><TT
8851CLASS="PARAMETER"
8852><I
8853>node</I
8854></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008855>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008856><TD
8857WIDTH="80%"
8858ALIGN="LEFT"
8859VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008860> the first node in the list.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008861></TR
8862><TR
8863><TD
8864WIDTH="20%"
8865ALIGN="RIGHT"
8866VALIGN="TOP"
8867><I
8868CLASS="EMPHASIS"
8869>Returns</I
8870> :</TD
8871><TD
8872WIDTH="80%"
8873ALIGN="LEFT"
8874VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008875> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008876></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008877></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008878></TABLE
8879><P
8880></P
8881></DIV
8882></DIV
8883><HR><DIV
8884CLASS="REFSECT2"
8885><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008886NAME="AEN5842"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008887></A
8888><H3
8889><A
8890NAME="XMLNEWDOCFRAGMENT"
8891></A
8892>xmlNewDocFragment ()</H3
8893><TABLE
8894BORDER="0"
8895BGCOLOR="#D6E8FF"
8896WIDTH="100%"
8897CELLPADDING="6"
8898><TR
8899><TD
8900><PRE
8901CLASS="PROGRAMLISTING"
8902><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008903HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008904>xmlNodePtr</A
8905> xmlNewDocFragment (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008906HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008907>xmlDocPtr</A
8908> doc);</PRE
8909></TD
8910></TR
8911></TABLE
8912><P
8913>Creation of a new Fragment node.</P
8914><P
8915></P
8916><DIV
8917CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008918><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008919NAME="AEN5850"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008920></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008921><P
8922></P
8923><TABLE
8924BORDER="0"
8925WIDTH="100%"
8926BGCOLOR="#FFD0D0"
8927CELLSPACING="0"
8928CELLPADDING="4"
8929CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008930><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008931><TR
8932><TD
8933WIDTH="20%"
8934ALIGN="RIGHT"
8935VALIGN="TOP"
8936><TT
8937CLASS="PARAMETER"
8938><I
8939>doc</I
8940></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008941>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008942><TD
8943WIDTH="80%"
8944ALIGN="LEFT"
8945VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008946> the document owning the fragment</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008947></TR
8948><TR
8949><TD
8950WIDTH="20%"
8951ALIGN="RIGHT"
8952VALIGN="TOP"
8953><I
8954CLASS="EMPHASIS"
8955>Returns</I
8956> :</TD
8957><TD
8958WIDTH="80%"
8959ALIGN="LEFT"
8960VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008961>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008962></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008963></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008964></TABLE
8965><P
8966></P
8967></DIV
8968></DIV
8969><HR><DIV
8970CLASS="REFSECT2"
8971><A
Daniel Veillard60087f32001-10-10 09:45:09 +00008972NAME="AEN5863"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008973></A
8974><H3
8975><A
8976NAME="XMLDOCGETROOTELEMENT"
8977></A
8978>xmlDocGetRootElement ()</H3
8979><TABLE
8980BORDER="0"
8981BGCOLOR="#D6E8FF"
8982WIDTH="100%"
8983CELLPADDING="6"
8984><TR
8985><TD
8986><PRE
8987CLASS="PROGRAMLISTING"
8988><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008989HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008990>xmlNodePtr</A
8991> xmlDocGetRootElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008992HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008993>xmlDocPtr</A
8994> doc);</PRE
8995></TD
8996></TR
8997></TABLE
8998><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008999>Get the root element of the document (doc-&gt;children is a list
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009000containing possibly comments, PIs, etc ...).</P
9001><P
9002></P
9003><DIV
9004CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009005><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009006NAME="AEN5871"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009007></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009008><P
9009></P
9010><TABLE
9011BORDER="0"
9012WIDTH="100%"
9013BGCOLOR="#FFD0D0"
9014CELLSPACING="0"
9015CELLPADDING="4"
9016CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009017><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009018><TR
9019><TD
9020WIDTH="20%"
9021ALIGN="RIGHT"
9022VALIGN="TOP"
9023><TT
9024CLASS="PARAMETER"
9025><I
9026>doc</I
9027></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009028>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009029><TD
9030WIDTH="80%"
9031ALIGN="LEFT"
9032VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009033> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009034></TR
9035><TR
9036><TD
9037WIDTH="20%"
9038ALIGN="RIGHT"
9039VALIGN="TOP"
9040><I
9041CLASS="EMPHASIS"
9042>Returns</I
9043> :</TD
9044><TD
9045WIDTH="80%"
9046ALIGN="LEFT"
9047VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009048>the xmlNodePtr for the root or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009049></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009050></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009051></TABLE
9052><P
9053></P
9054></DIV
9055></DIV
9056><HR><DIV
9057CLASS="REFSECT2"
9058><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009059NAME="AEN5884"
Daniel Veillard35925471999-02-25 08:46:07 +00009060></A
9061><H3
9062><A
9063NAME="XMLGETLASTCHILD"
9064></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009065>xmlGetLastChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009066><TABLE
9067BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009068BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009069WIDTH="100%"
9070CELLPADDING="6"
9071><TR
9072><TD
9073><PRE
9074CLASS="PROGRAMLISTING"
9075><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009076HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009077>xmlNodePtr</A
9078> xmlGetLastChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009079HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009080>xmlNodePtr</A
9081> parent);</PRE
9082></TD
9083></TR
9084></TABLE
9085><P
9086>Search the last child of a node.</P
9087><P
9088></P
9089><DIV
9090CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009091><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009092NAME="AEN5892"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009093></A
Daniel Veillard35925471999-02-25 08:46:07 +00009094><P
9095></P
9096><TABLE
9097BORDER="0"
9098WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009099BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009100CELLSPACING="0"
9101CELLPADDING="4"
9102CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009103><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009104><TR
9105><TD
9106WIDTH="20%"
9107ALIGN="RIGHT"
9108VALIGN="TOP"
9109><TT
9110CLASS="PARAMETER"
9111><I
9112>parent</I
9113></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009114>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009115><TD
9116WIDTH="80%"
9117ALIGN="LEFT"
9118VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009119> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009120></TR
9121><TR
9122><TD
9123WIDTH="20%"
9124ALIGN="RIGHT"
9125VALIGN="TOP"
9126><I
9127CLASS="EMPHASIS"
9128>Returns</I
9129> :</TD
9130><TD
9131WIDTH="80%"
9132ALIGN="LEFT"
9133VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009134>the last child or NULL if none.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009135></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009136></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009137></TABLE
9138><P
9139></P
9140></DIV
9141></DIV
9142><HR><DIV
9143CLASS="REFSECT2"
9144><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009145NAME="AEN5905"
Daniel Veillard35925471999-02-25 08:46:07 +00009146></A
9147><H3
9148><A
9149NAME="XMLNODEISTEXT"
9150></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009151>xmlNodeIsText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009152><TABLE
9153BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009154BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009155WIDTH="100%"
9156CELLPADDING="6"
9157><TR
9158><TD
9159><PRE
9160CLASS="PROGRAMLISTING"
9161>int xmlNodeIsText (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009162HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009163>xmlNodePtr</A
9164> node);</PRE
9165></TD
9166></TR
9167></TABLE
9168><P
9169>Is this node a Text node ?</P
9170><P
9171></P
9172><DIV
9173CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009174><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009175NAME="AEN5912"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009176></A
Daniel Veillard35925471999-02-25 08:46:07 +00009177><P
9178></P
9179><TABLE
9180BORDER="0"
9181WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009182BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009183CELLSPACING="0"
9184CELLPADDING="4"
9185CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009186><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009187><TR
9188><TD
9189WIDTH="20%"
9190ALIGN="RIGHT"
9191VALIGN="TOP"
9192><TT
9193CLASS="PARAMETER"
9194><I
9195>node</I
9196></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009197>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009198><TD
9199WIDTH="80%"
9200ALIGN="LEFT"
9201VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009202> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009203></TR
9204><TR
9205><TD
9206WIDTH="20%"
9207ALIGN="RIGHT"
9208VALIGN="TOP"
9209><I
9210CLASS="EMPHASIS"
9211>Returns</I
9212> :</TD
9213><TD
9214WIDTH="80%"
9215ALIGN="LEFT"
9216VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009217>1 yes, 0 no</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009218></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009219></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009220></TABLE
9221><P
9222></P
9223></DIV
9224></DIV
9225><HR><DIV
9226CLASS="REFSECT2"
9227><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009228NAME="AEN5925"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009229></A
9230><H3
9231><A
9232NAME="XMLISBLANKNODE"
9233></A
9234>xmlIsBlankNode ()</H3
9235><TABLE
9236BORDER="0"
9237BGCOLOR="#D6E8FF"
9238WIDTH="100%"
9239CELLPADDING="6"
9240><TR
9241><TD
9242><PRE
9243CLASS="PROGRAMLISTING"
9244>int xmlIsBlankNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009245HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009246>xmlNodePtr</A
9247> node);</PRE
9248></TD
9249></TR
9250></TABLE
9251><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00009252>Checks whether this node is an empty or whitespace only
9253(and possibly ignorable) text-node.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009254><P
9255></P
9256><DIV
9257CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009258><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009259NAME="AEN5932"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009260></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009261><P
9262></P
9263><TABLE
9264BORDER="0"
9265WIDTH="100%"
9266BGCOLOR="#FFD0D0"
9267CELLSPACING="0"
9268CELLPADDING="4"
9269CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009270><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009271><TR
9272><TD
9273WIDTH="20%"
9274ALIGN="RIGHT"
9275VALIGN="TOP"
9276><TT
9277CLASS="PARAMETER"
9278><I
9279>node</I
9280></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009281>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009282><TD
9283WIDTH="80%"
9284ALIGN="LEFT"
9285VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009286> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009287></TR
9288><TR
9289><TD
9290WIDTH="20%"
9291ALIGN="RIGHT"
9292VALIGN="TOP"
9293><I
9294CLASS="EMPHASIS"
9295>Returns</I
9296> :</TD
9297><TD
9298WIDTH="80%"
9299ALIGN="LEFT"
9300VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009301>1 yes, 0 no</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009302></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009303></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009304></TABLE
9305><P
9306></P
9307></DIV
9308></DIV
9309><HR><DIV
9310CLASS="REFSECT2"
9311><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009312NAME="AEN5945"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009313></A
9314><H3
9315><A
9316NAME="XMLDOCSETROOTELEMENT"
9317></A
9318>xmlDocSetRootElement ()</H3
9319><TABLE
9320BORDER="0"
9321BGCOLOR="#D6E8FF"
9322WIDTH="100%"
9323CELLPADDING="6"
9324><TR
9325><TD
9326><PRE
9327CLASS="PROGRAMLISTING"
9328><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009329HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009330>xmlNodePtr</A
9331> xmlDocSetRootElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009332HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009333>xmlDocPtr</A
9334> doc,
9335 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009336HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009337>xmlNodePtr</A
9338> root);</PRE
9339></TD
9340></TR
9341></TABLE
9342><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009343>Set the root element of the document (doc-&gt;children is a list
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009344containing possibly comments, PIs, etc ...).</P
9345><P
9346></P
9347><DIV
9348CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009349><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009350NAME="AEN5954"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009351></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009352><P
9353></P
9354><TABLE
9355BORDER="0"
9356WIDTH="100%"
9357BGCOLOR="#FFD0D0"
9358CELLSPACING="0"
9359CELLPADDING="4"
9360CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009361><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009362><TR
9363><TD
9364WIDTH="20%"
9365ALIGN="RIGHT"
9366VALIGN="TOP"
9367><TT
9368CLASS="PARAMETER"
9369><I
9370>doc</I
9371></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009372>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009373><TD
9374WIDTH="80%"
9375ALIGN="LEFT"
9376VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009377> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009378></TR
9379><TR
9380><TD
9381WIDTH="20%"
9382ALIGN="RIGHT"
9383VALIGN="TOP"
9384><TT
9385CLASS="PARAMETER"
9386><I
9387>root</I
9388></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009389>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009390><TD
9391WIDTH="80%"
9392ALIGN="LEFT"
9393VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009394> the new document root element</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009395></TR
9396><TR
9397><TD
9398WIDTH="20%"
9399ALIGN="RIGHT"
9400VALIGN="TOP"
9401><I
9402CLASS="EMPHASIS"
9403>Returns</I
9404> :</TD
9405><TD
9406WIDTH="80%"
9407ALIGN="LEFT"
9408VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009409>the old root element if any was found</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009410></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009411></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009412></TABLE
9413><P
9414></P
9415></DIV
9416></DIV
9417><HR><DIV
9418CLASS="REFSECT2"
9419><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009420NAME="AEN5971"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009421></A
9422><H3
9423><A
9424NAME="XMLNODESETNAME"
9425></A
9426>xmlNodeSetName ()</H3
9427><TABLE
9428BORDER="0"
9429BGCOLOR="#D6E8FF"
9430WIDTH="100%"
9431CELLPADDING="6"
9432><TR
9433><TD
9434><PRE
9435CLASS="PROGRAMLISTING"
9436>void xmlNodeSetName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009437HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009438>xmlNodePtr</A
9439> cur,
9440 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009441HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009442>xmlChar</A
9443> *name);</PRE
9444></TD
9445></TR
9446></TABLE
9447><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +00009448>Set (or reset) the name of a node.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009449><P
9450></P
9451><DIV
9452CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009453><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009454NAME="AEN5979"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009455></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009456><P
9457></P
9458><TABLE
9459BORDER="0"
9460WIDTH="100%"
9461BGCOLOR="#FFD0D0"
9462CELLSPACING="0"
9463CELLPADDING="4"
9464CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009465><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009466><TR
9467><TD
9468WIDTH="20%"
9469ALIGN="RIGHT"
9470VALIGN="TOP"
9471><TT
9472CLASS="PARAMETER"
9473><I
9474>cur</I
9475></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009476>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009477><TD
9478WIDTH="80%"
9479ALIGN="LEFT"
9480VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009481> the node being changed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009482></TR
9483><TR
9484><TD
9485WIDTH="20%"
9486ALIGN="RIGHT"
9487VALIGN="TOP"
9488><TT
9489CLASS="PARAMETER"
9490><I
9491>name</I
9492></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009493>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009494><TD
9495WIDTH="80%"
9496ALIGN="LEFT"
9497VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009498> the new tag name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009499></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009500></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009501></TABLE
9502><P
9503></P
9504></DIV
9505></DIV
9506><HR><DIV
9507CLASS="REFSECT2"
9508><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009509NAME="AEN5992"
Daniel Veillard35925471999-02-25 08:46:07 +00009510></A
9511><H3
9512><A
9513NAME="XMLADDCHILD"
9514></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009515>xmlAddChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009516><TABLE
9517BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009518BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009519WIDTH="100%"
9520CELLPADDING="6"
9521><TR
9522><TD
9523><PRE
9524CLASS="PROGRAMLISTING"
9525><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009526HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009527>xmlNodePtr</A
9528> xmlAddChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009529HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009530>xmlNodePtr</A
9531> parent,
9532 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009533HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009534>xmlNodePtr</A
9535> cur);</PRE
9536></TD
9537></TR
9538></TABLE
9539><P
9540>Add a new child element, to <TT
9541CLASS="PARAMETER"
9542><I
9543>parent</I
9544></TT
Daniel Veillard29a11cc2000-10-25 13:32:39 +00009545>, at the end of the child list
9546merging adjacent TEXT nodes (in which case <TT
9547CLASS="PARAMETER"
9548><I
9549>cur</I
9550></TT
9551> is freed)</P
Daniel Veillard35925471999-02-25 08:46:07 +00009552><P
9553></P
9554><DIV
9555CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009556><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009557NAME="AEN6003"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009558></A
Daniel Veillard35925471999-02-25 08:46:07 +00009559><P
9560></P
9561><TABLE
9562BORDER="0"
9563WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009564BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009565CELLSPACING="0"
9566CELLPADDING="4"
9567CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009568><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009569><TR
9570><TD
9571WIDTH="20%"
9572ALIGN="RIGHT"
9573VALIGN="TOP"
9574><TT
9575CLASS="PARAMETER"
9576><I
9577>parent</I
9578></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009579>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009580><TD
9581WIDTH="80%"
9582ALIGN="LEFT"
9583VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009584> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009585></TR
9586><TR
9587><TD
9588WIDTH="20%"
9589ALIGN="RIGHT"
9590VALIGN="TOP"
9591><TT
9592CLASS="PARAMETER"
9593><I
9594>cur</I
9595></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009596>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009597><TD
9598WIDTH="80%"
9599ALIGN="LEFT"
9600VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009601> the child node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009602></TR
9603><TR
9604><TD
9605WIDTH="20%"
9606ALIGN="RIGHT"
9607VALIGN="TOP"
9608><I
9609CLASS="EMPHASIS"
9610>Returns</I
9611> :</TD
9612><TD
9613WIDTH="80%"
9614ALIGN="LEFT"
9615VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009616>the child or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009617></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009618></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009619></TABLE
9620><P
9621></P
9622></DIV
9623></DIV
9624><HR><DIV
9625CLASS="REFSECT2"
9626><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009627NAME="AEN6020"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009628></A
9629><H3
9630><A
9631NAME="XMLADDCHILDLIST"
9632></A
9633>xmlAddChildList ()</H3
9634><TABLE
9635BORDER="0"
9636BGCOLOR="#D6E8FF"
9637WIDTH="100%"
9638CELLPADDING="6"
9639><TR
9640><TD
9641><PRE
9642CLASS="PROGRAMLISTING"
9643><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009644HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009645>xmlNodePtr</A
9646> xmlAddChildList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009647HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009648>xmlNodePtr</A
9649> parent,
9650 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009651HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009652>xmlNodePtr</A
9653> cur);</PRE
9654></TD
9655></TR
9656></TABLE
9657><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +00009658>Add a list of node at the end of the child list of the parent
9659merging adjacent TEXT nodes (<TT
9660CLASS="PARAMETER"
9661><I
9662>cur</I
9663></TT
9664> may be freed)</P
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009665><P
9666></P
9667><DIV
9668CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009669><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009670NAME="AEN6030"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009671></A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009672><P
9673></P
9674><TABLE
9675BORDER="0"
9676WIDTH="100%"
9677BGCOLOR="#FFD0D0"
9678CELLSPACING="0"
9679CELLPADDING="4"
9680CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009681><TBODY
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009682><TR
9683><TD
9684WIDTH="20%"
9685ALIGN="RIGHT"
9686VALIGN="TOP"
9687><TT
9688CLASS="PARAMETER"
9689><I
9690>parent</I
9691></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009692>&nbsp;:</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009693><TD
9694WIDTH="80%"
9695ALIGN="LEFT"
9696VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009697> the parent node</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009698></TR
9699><TR
9700><TD
9701WIDTH="20%"
9702ALIGN="RIGHT"
9703VALIGN="TOP"
9704><TT
9705CLASS="PARAMETER"
9706><I
9707>cur</I
9708></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009709>&nbsp;:</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009710><TD
9711WIDTH="80%"
9712ALIGN="LEFT"
9713VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009714> the first node in the list</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009715></TR
9716><TR
9717><TD
9718WIDTH="20%"
9719ALIGN="RIGHT"
9720VALIGN="TOP"
9721><I
9722CLASS="EMPHASIS"
9723>Returns</I
9724> :</TD
9725><TD
9726WIDTH="80%"
9727ALIGN="LEFT"
9728VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009729>the last child or NULL in case of error.</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009730></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009731></TBODY
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009732></TABLE
9733><P
9734></P
9735></DIV
9736></DIV
9737><HR><DIV
9738CLASS="REFSECT2"
9739><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009740NAME="AEN6047"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009741></A
9742><H3
9743><A
9744NAME="XMLREPLACENODE"
9745></A
9746>xmlReplaceNode ()</H3
9747><TABLE
9748BORDER="0"
9749BGCOLOR="#D6E8FF"
9750WIDTH="100%"
9751CELLPADDING="6"
9752><TR
9753><TD
9754><PRE
9755CLASS="PROGRAMLISTING"
9756><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009757HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009758>xmlNodePtr</A
9759> xmlReplaceNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009760HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009761>xmlNodePtr</A
9762> old,
9763 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009764HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009765>xmlNodePtr</A
9766> cur);</PRE
9767></TD
9768></TR
9769></TABLE
9770><P
9771>Unlink the old node from it's current context, prune the new one
9772at the same place. If cur was already inserted in a document it is
9773first unlinked from its existing context.</P
9774><P
9775></P
9776><DIV
9777CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009778><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009779NAME="AEN6056"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009780></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009781><P
9782></P
9783><TABLE
9784BORDER="0"
9785WIDTH="100%"
9786BGCOLOR="#FFD0D0"
9787CELLSPACING="0"
9788CELLPADDING="4"
9789CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009790><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009791><TR
9792><TD
9793WIDTH="20%"
9794ALIGN="RIGHT"
9795VALIGN="TOP"
9796><TT
9797CLASS="PARAMETER"
9798><I
9799>old</I
9800></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009801>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009802><TD
9803WIDTH="80%"
9804ALIGN="LEFT"
9805VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009806> the old node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009807></TR
9808><TR
9809><TD
9810WIDTH="20%"
9811ALIGN="RIGHT"
9812VALIGN="TOP"
9813><TT
9814CLASS="PARAMETER"
9815><I
9816>cur</I
9817></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009818>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009819><TD
9820WIDTH="80%"
9821ALIGN="LEFT"
9822VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009823> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009824></TR
9825><TR
9826><TD
9827WIDTH="20%"
9828ALIGN="RIGHT"
9829VALIGN="TOP"
9830><I
9831CLASS="EMPHASIS"
9832>Returns</I
9833> :</TD
9834><TD
9835WIDTH="80%"
9836ALIGN="LEFT"
9837VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009838>the old node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009839></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009840></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009841></TABLE
9842><P
9843></P
9844></DIV
9845></DIV
9846><HR><DIV
9847CLASS="REFSECT2"
9848><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009849NAME="AEN6073"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009850></A
9851><H3
9852><A
9853NAME="XMLADDSIBLING"
9854></A
9855>xmlAddSibling ()</H3
9856><TABLE
9857BORDER="0"
9858BGCOLOR="#D6E8FF"
9859WIDTH="100%"
9860CELLPADDING="6"
9861><TR
9862><TD
9863><PRE
9864CLASS="PROGRAMLISTING"
9865><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009866HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009867>xmlNodePtr</A
9868> xmlAddSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009869HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009870>xmlNodePtr</A
9871> cur,
9872 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009873HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009874>xmlNodePtr</A
9875> elem);</PRE
9876></TD
9877></TR
9878></TABLE
9879><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00009880>Add a new element <TT
9881CLASS="PARAMETER"
9882><I
9883>elem</I
9884></TT
9885> to the list of siblings of <TT
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009886CLASS="PARAMETER"
9887><I
9888>cur</I
9889></TT
Daniel Veillardf3a73582000-01-05 14:58:39 +00009890>
Daniel Veillard29a11cc2000-10-25 13:32:39 +00009891merging adjacent TEXT nodes (<TT
9892CLASS="PARAMETER"
9893><I
9894>elem</I
9895></TT
9896> may be freed)
Daniel Veillardf3a73582000-01-05 14:58:39 +00009897If the new element was already inserted in a document it is
9898first unlinked from its existing context.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009899><P
9900></P
9901><DIV
9902CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009903><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009904NAME="AEN6085"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009905></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009906><P
9907></P
9908><TABLE
9909BORDER="0"
9910WIDTH="100%"
9911BGCOLOR="#FFD0D0"
9912CELLSPACING="0"
9913CELLPADDING="4"
9914CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009915><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009916><TR
9917><TD
9918WIDTH="20%"
9919ALIGN="RIGHT"
9920VALIGN="TOP"
9921><TT
9922CLASS="PARAMETER"
9923><I
9924>cur</I
9925></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009926>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009927><TD
9928WIDTH="80%"
9929ALIGN="LEFT"
9930VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009931> the child node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009932></TR
9933><TR
9934><TD
9935WIDTH="20%"
9936ALIGN="RIGHT"
9937VALIGN="TOP"
9938><TT
9939CLASS="PARAMETER"
9940><I
9941>elem</I
9942></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009943>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009944><TD
9945WIDTH="80%"
9946ALIGN="LEFT"
9947VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009948> the new node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009949></TR
9950><TR
9951><TD
9952WIDTH="20%"
9953ALIGN="RIGHT"
9954VALIGN="TOP"
9955><I
9956CLASS="EMPHASIS"
9957>Returns</I
9958> :</TD
9959><TD
9960WIDTH="80%"
9961ALIGN="LEFT"
9962VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009963>the new element or NULL in case of error.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009964></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009965></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009966></TABLE
9967><P
9968></P
9969></DIV
9970></DIV
9971><HR><DIV
9972CLASS="REFSECT2"
9973><A
Daniel Veillard60087f32001-10-10 09:45:09 +00009974NAME="AEN6102"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009975></A
9976><H3
9977><A
9978NAME="XMLADDPREVSIBLING"
9979></A
9980>xmlAddPrevSibling ()</H3
9981><TABLE
9982BORDER="0"
9983BGCOLOR="#D6E8FF"
9984WIDTH="100%"
9985CELLPADDING="6"
9986><TR
9987><TD
9988><PRE
9989CLASS="PROGRAMLISTING"
9990><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009991HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009992>xmlNodePtr</A
9993> xmlAddPrevSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009994HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009995>xmlNodePtr</A
9996> cur,
9997 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009998HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009999>xmlNodePtr</A
10000> elem);</PRE
10001></TD
10002></TR
10003></TABLE
10004><P
10005>Add a new element <TT
10006CLASS="PARAMETER"
10007><I
10008>elem</I
10009></TT
10010> as the previous siblings of <TT
10011CLASS="PARAMETER"
10012><I
10013>cur</I
10014></TT
10015>
Daniel Veillard29a11cc2000-10-25 13:32:39 +000010016merging adjacent TEXT nodes (<TT
10017CLASS="PARAMETER"
10018><I
10019>elem</I
10020></TT
10021> may be freed)
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010022If the new element was already inserted in a document it is
10023first unlinked from its existing context.</P
10024><P
10025></P
10026><DIV
10027CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010028><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010029NAME="AEN6114"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010030></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010031><P
10032></P
10033><TABLE
10034BORDER="0"
10035WIDTH="100%"
10036BGCOLOR="#FFD0D0"
10037CELLSPACING="0"
10038CELLPADDING="4"
10039CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010040><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010041><TR
10042><TD
10043WIDTH="20%"
10044ALIGN="RIGHT"
10045VALIGN="TOP"
10046><TT
10047CLASS="PARAMETER"
10048><I
10049>cur</I
10050></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010051>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010052><TD
10053WIDTH="80%"
10054ALIGN="LEFT"
10055VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010056> the child node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010057></TR
10058><TR
10059><TD
10060WIDTH="20%"
10061ALIGN="RIGHT"
10062VALIGN="TOP"
10063><TT
10064CLASS="PARAMETER"
10065><I
10066>elem</I
10067></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010068>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010069><TD
10070WIDTH="80%"
10071ALIGN="LEFT"
10072VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010073> the new node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010074></TR
10075><TR
10076><TD
10077WIDTH="20%"
10078ALIGN="RIGHT"
10079VALIGN="TOP"
10080><I
10081CLASS="EMPHASIS"
10082>Returns</I
10083> :</TD
10084><TD
10085WIDTH="80%"
10086ALIGN="LEFT"
10087VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010088>the new element or NULL in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010089></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010090></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010091></TABLE
10092><P
10093></P
10094></DIV
10095></DIV
10096><HR><DIV
10097CLASS="REFSECT2"
10098><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010099NAME="AEN6131"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010100></A
10101><H3
10102><A
10103NAME="XMLADDNEXTSIBLING"
10104></A
10105>xmlAddNextSibling ()</H3
10106><TABLE
10107BORDER="0"
10108BGCOLOR="#D6E8FF"
10109WIDTH="100%"
10110CELLPADDING="6"
10111><TR
10112><TD
10113><PRE
10114CLASS="PROGRAMLISTING"
10115><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010116HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010117>xmlNodePtr</A
10118> xmlAddNextSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010119HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010120>xmlNodePtr</A
10121> cur,
10122 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010123HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010124>xmlNodePtr</A
10125> elem);</PRE
10126></TD
10127></TR
10128></TABLE
10129><P
10130>Add a new element <TT
10131CLASS="PARAMETER"
10132><I
10133>elem</I
10134></TT
10135> as the next siblings of <TT
10136CLASS="PARAMETER"
10137><I
10138>cur</I
10139></TT
10140>
10141If the new element was already inserted in a document it is
Daniel Veillard29a11cc2000-10-25 13:32:39 +000010142first unlinked from its existing context.
10143As a result of text merging <TT
10144CLASS="PARAMETER"
10145><I
10146>elem</I
10147></TT
10148> may be freed.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010149><P
10150></P
10151><DIV
10152CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010153><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010154NAME="AEN6143"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010155></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010156><P
10157></P
10158><TABLE
10159BORDER="0"
10160WIDTH="100%"
10161BGCOLOR="#FFD0D0"
10162CELLSPACING="0"
10163CELLPADDING="4"
10164CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010165><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010166><TR
10167><TD
10168WIDTH="20%"
10169ALIGN="RIGHT"
10170VALIGN="TOP"
10171><TT
10172CLASS="PARAMETER"
10173><I
10174>cur</I
10175></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010176>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010177><TD
10178WIDTH="80%"
10179ALIGN="LEFT"
10180VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010181> the child node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010182></TR
10183><TR
10184><TD
10185WIDTH="20%"
10186ALIGN="RIGHT"
10187VALIGN="TOP"
10188><TT
10189CLASS="PARAMETER"
10190><I
10191>elem</I
10192></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010193>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010194><TD
10195WIDTH="80%"
10196ALIGN="LEFT"
10197VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010198> the new node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010199></TR
10200><TR
10201><TD
10202WIDTH="20%"
10203ALIGN="RIGHT"
10204VALIGN="TOP"
10205><I
10206CLASS="EMPHASIS"
10207>Returns</I
10208> :</TD
10209><TD
10210WIDTH="80%"
10211ALIGN="LEFT"
10212VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010213>the new element or NULL in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010214></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010215></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010216></TABLE
10217><P
10218></P
10219></DIV
10220></DIV
10221><HR><DIV
10222CLASS="REFSECT2"
10223><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010224NAME="AEN6160"
Daniel Veillard35925471999-02-25 08:46:07 +000010225></A
10226><H3
10227><A
10228NAME="XMLUNLINKNODE"
10229></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010230>xmlUnlinkNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010231><TABLE
10232BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010233BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010234WIDTH="100%"
10235CELLPADDING="6"
10236><TR
10237><TD
10238><PRE
10239CLASS="PROGRAMLISTING"
10240>void xmlUnlinkNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010241HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010242>xmlNodePtr</A
10243> cur);</PRE
10244></TD
10245></TR
10246></TABLE
10247><P
10248>Unlink a node from it's current context, the node is not freed</P
10249><P
10250></P
10251><DIV
10252CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010253><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010254NAME="AEN6167"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010255></A
Daniel Veillard35925471999-02-25 08:46:07 +000010256><P
10257></P
10258><TABLE
10259BORDER="0"
10260WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010261BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010262CELLSPACING="0"
10263CELLPADDING="4"
10264CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010265><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010266><TR
10267><TD
10268WIDTH="20%"
10269ALIGN="RIGHT"
10270VALIGN="TOP"
10271><TT
10272CLASS="PARAMETER"
10273><I
10274>cur</I
10275></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010276>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010277><TD
10278WIDTH="80%"
10279ALIGN="LEFT"
10280VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010281> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010282></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010283></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010284></TABLE
10285><P
10286></P
10287></DIV
10288></DIV
10289><HR><DIV
10290CLASS="REFSECT2"
10291><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010292NAME="AEN6176"
Daniel Veillard35925471999-02-25 08:46:07 +000010293></A
10294><H3
10295><A
10296NAME="XMLTEXTMERGE"
10297></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010298>xmlTextMerge ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010299><TABLE
10300BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010301BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010302WIDTH="100%"
10303CELLPADDING="6"
10304><TR
10305><TD
10306><PRE
10307CLASS="PROGRAMLISTING"
10308><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010309HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010310>xmlNodePtr</A
10311> xmlTextMerge (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010312HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010313>xmlNodePtr</A
10314> first,
10315 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010316HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010317>xmlNodePtr</A
10318> second);</PRE
10319></TD
10320></TR
10321></TABLE
10322><P
10323>Merge two text nodes into one</P
10324><P
10325></P
10326><DIV
10327CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010328><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010329NAME="AEN6185"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010330></A
Daniel Veillard35925471999-02-25 08:46:07 +000010331><P
10332></P
10333><TABLE
10334BORDER="0"
10335WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010336BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010337CELLSPACING="0"
10338CELLPADDING="4"
10339CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010340><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010341><TR
10342><TD
10343WIDTH="20%"
10344ALIGN="RIGHT"
10345VALIGN="TOP"
10346><TT
10347CLASS="PARAMETER"
10348><I
10349>first</I
10350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010351>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010352><TD
10353WIDTH="80%"
10354ALIGN="LEFT"
10355VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010356> the first text node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010357></TR
10358><TR
10359><TD
10360WIDTH="20%"
10361ALIGN="RIGHT"
10362VALIGN="TOP"
10363><TT
10364CLASS="PARAMETER"
10365><I
10366>second</I
10367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010368>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010369><TD
10370WIDTH="80%"
10371ALIGN="LEFT"
10372VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010373> the second text node being merged</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010374></TR
10375><TR
10376><TD
10377WIDTH="20%"
10378ALIGN="RIGHT"
10379VALIGN="TOP"
10380><I
10381CLASS="EMPHASIS"
10382>Returns</I
10383> :</TD
10384><TD
10385WIDTH="80%"
10386ALIGN="LEFT"
10387VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010388>the first text node augmented</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010389></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010390></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010391></TABLE
10392><P
10393></P
10394></DIV
10395></DIV
10396><HR><DIV
10397CLASS="REFSECT2"
10398><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010399NAME="AEN6202"
Daniel Veillard35925471999-02-25 08:46:07 +000010400></A
10401><H3
10402><A
10403NAME="XMLTEXTCONCAT"
10404></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010405>xmlTextConcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010406><TABLE
10407BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010408BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010409WIDTH="100%"
10410CELLPADDING="6"
10411><TR
10412><TD
10413><PRE
10414CLASS="PROGRAMLISTING"
10415>void xmlTextConcat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010416HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010417>xmlNodePtr</A
10418> node,
10419 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010420HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010421>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010422> *content,
10423 int len);</PRE
10424></TD
10425></TR
10426></TABLE
10427><P
10428>Concat the given string at the end of the existing node content</P
10429><P
10430></P
10431><DIV
10432CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010433><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010434NAME="AEN6210"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010435></A
Daniel Veillard35925471999-02-25 08:46:07 +000010436><P
10437></P
10438><TABLE
10439BORDER="0"
10440WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010441BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010442CELLSPACING="0"
10443CELLPADDING="4"
10444CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010445><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010446><TR
10447><TD
10448WIDTH="20%"
10449ALIGN="RIGHT"
10450VALIGN="TOP"
10451><TT
10452CLASS="PARAMETER"
10453><I
10454>node</I
10455></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010456>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010457><TD
10458WIDTH="80%"
10459ALIGN="LEFT"
10460VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010461> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010462></TR
10463><TR
10464><TD
10465WIDTH="20%"
10466ALIGN="RIGHT"
10467VALIGN="TOP"
10468><TT
10469CLASS="PARAMETER"
10470><I
10471>content</I
10472></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010473>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010474><TD
10475WIDTH="80%"
10476ALIGN="LEFT"
10477VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010478> the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010479></TR
10480><TR
10481><TD
10482WIDTH="20%"
10483ALIGN="RIGHT"
10484VALIGN="TOP"
10485><TT
10486CLASS="PARAMETER"
10487><I
10488>len</I
10489></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010490>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010491><TD
10492WIDTH="80%"
10493ALIGN="LEFT"
10494VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010495> <TT
10496CLASS="PARAMETER"
10497><I
10498>content</I
10499></TT
Daniel Veillard60087f32001-10-10 09:45:09 +000010500> length</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010501></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010502></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010503></TABLE
10504><P
10505></P
10506></DIV
10507></DIV
10508><HR><DIV
10509CLASS="REFSECT2"
10510><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010511NAME="AEN6228"
Daniel Veillard35925471999-02-25 08:46:07 +000010512></A
10513><H3
10514><A
10515NAME="XMLFREENODELIST"
10516></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010517>xmlFreeNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010518><TABLE
10519BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010520BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010521WIDTH="100%"
10522CELLPADDING="6"
10523><TR
10524><TD
10525><PRE
10526CLASS="PROGRAMLISTING"
10527>void xmlFreeNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010528HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010529>xmlNodePtr</A
10530> cur);</PRE
10531></TD
10532></TR
10533></TABLE
10534><P
10535>Free a node and all its siblings, this is a recursive behaviour, all
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010536the children are freed too.</P
Daniel Veillard35925471999-02-25 08:46:07 +000010537><P
10538></P
10539><DIV
10540CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010541><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010542NAME="AEN6235"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010543></A
Daniel Veillard35925471999-02-25 08:46:07 +000010544><P
10545></P
10546><TABLE
10547BORDER="0"
10548WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010549BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010550CELLSPACING="0"
10551CELLPADDING="4"
10552CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010553><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010554><TR
10555><TD
10556WIDTH="20%"
10557ALIGN="RIGHT"
10558VALIGN="TOP"
10559><TT
10560CLASS="PARAMETER"
10561><I
10562>cur</I
10563></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010564>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010565><TD
10566WIDTH="80%"
10567ALIGN="LEFT"
10568VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010569> the first node in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010570></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010571></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010572></TABLE
10573><P
10574></P
10575></DIV
10576></DIV
10577><HR><DIV
10578CLASS="REFSECT2"
10579><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010580NAME="AEN6244"
Daniel Veillard35925471999-02-25 08:46:07 +000010581></A
10582><H3
10583><A
10584NAME="XMLFREENODE"
10585></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010586>xmlFreeNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010587><TABLE
10588BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010589BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010590WIDTH="100%"
10591CELLPADDING="6"
10592><TR
10593><TD
10594><PRE
10595CLASS="PROGRAMLISTING"
10596>void xmlFreeNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010597HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010598>xmlNodePtr</A
10599> cur);</PRE
10600></TD
10601></TR
10602></TABLE
10603><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010604>Free a node, this is a recursive behaviour, all the children are freed too.
10605This doesn't unlink the child from the list, use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010606HREF="libxml-tree.html#XMLUNLINKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010607>xmlUnlinkNode</A
10608>() first.</P
Daniel Veillard35925471999-02-25 08:46:07 +000010609><P
10610></P
10611><DIV
10612CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010613><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010614NAME="AEN6252"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010615></A
Daniel Veillard35925471999-02-25 08:46:07 +000010616><P
10617></P
10618><TABLE
10619BORDER="0"
10620WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010621BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010622CELLSPACING="0"
10623CELLPADDING="4"
10624CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010625><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010626><TR
10627><TD
10628WIDTH="20%"
10629ALIGN="RIGHT"
10630VALIGN="TOP"
10631><TT
10632CLASS="PARAMETER"
10633><I
10634>cur</I
10635></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010636>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010637><TD
10638WIDTH="80%"
10639ALIGN="LEFT"
10640VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010641> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010642></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010643></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010644></TABLE
10645><P
10646></P
10647></DIV
10648></DIV
10649><HR><DIV
10650CLASS="REFSECT2"
10651><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010652NAME="AEN6261"
Daniel Veillard28929b22000-11-13 18:22:49 +000010653></A
10654><H3
10655><A
10656NAME="XMLSETTREEDOC"
10657></A
10658>xmlSetTreeDoc ()</H3
10659><TABLE
10660BORDER="0"
10661BGCOLOR="#D6E8FF"
10662WIDTH="100%"
10663CELLPADDING="6"
10664><TR
10665><TD
10666><PRE
10667CLASS="PROGRAMLISTING"
10668>void xmlSetTreeDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010669HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +000010670>xmlNodePtr</A
10671> tree,
10672 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010673HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +000010674>xmlDocPtr</A
10675> doc);</PRE
10676></TD
10677></TR
10678></TABLE
10679><P
10680>update all nodes under the tree to point to the right document</P
10681><P
10682></P
10683><DIV
10684CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010685><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010686NAME="AEN6269"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010687></A
Daniel Veillard28929b22000-11-13 18:22:49 +000010688><P
10689></P
10690><TABLE
10691BORDER="0"
10692WIDTH="100%"
10693BGCOLOR="#FFD0D0"
10694CELLSPACING="0"
10695CELLPADDING="4"
10696CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010697><TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +000010698><TR
10699><TD
10700WIDTH="20%"
10701ALIGN="RIGHT"
10702VALIGN="TOP"
10703><TT
10704CLASS="PARAMETER"
10705><I
10706>tree</I
10707></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010708>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000010709><TD
10710WIDTH="80%"
10711ALIGN="LEFT"
10712VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010713> the top element</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000010714></TR
10715><TR
10716><TD
10717WIDTH="20%"
10718ALIGN="RIGHT"
10719VALIGN="TOP"
10720><TT
10721CLASS="PARAMETER"
10722><I
10723>doc</I
10724></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010725>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000010726><TD
10727WIDTH="80%"
10728ALIGN="LEFT"
10729VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010730> the document</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000010731></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010732></TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +000010733></TABLE
10734><P
10735></P
10736></DIV
10737></DIV
10738><HR><DIV
10739CLASS="REFSECT2"
10740><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010741NAME="AEN6282"
Daniel Veillard28929b22000-11-13 18:22:49 +000010742></A
10743><H3
10744><A
10745NAME="XMLSETLISTDOC"
10746></A
10747>xmlSetListDoc ()</H3
10748><TABLE
10749BORDER="0"
10750BGCOLOR="#D6E8FF"
10751WIDTH="100%"
10752CELLPADDING="6"
10753><TR
10754><TD
10755><PRE
10756CLASS="PROGRAMLISTING"
10757>void xmlSetListDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010758HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +000010759>xmlNodePtr</A
10760> list,
10761 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010762HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +000010763>xmlDocPtr</A
10764> doc);</PRE
10765></TD
10766></TR
10767></TABLE
10768><P
10769>update all nodes in the list to point to the right document</P
10770><P
10771></P
10772><DIV
10773CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010774><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010775NAME="AEN6290"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010776></A
Daniel Veillard28929b22000-11-13 18:22:49 +000010777><P
10778></P
10779><TABLE
10780BORDER="0"
10781WIDTH="100%"
10782BGCOLOR="#FFD0D0"
10783CELLSPACING="0"
10784CELLPADDING="4"
10785CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010786><TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +000010787><TR
10788><TD
10789WIDTH="20%"
10790ALIGN="RIGHT"
10791VALIGN="TOP"
10792><TT
10793CLASS="PARAMETER"
10794><I
10795>list</I
10796></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010797>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000010798><TD
10799WIDTH="80%"
10800ALIGN="LEFT"
10801VALIGN="TOP"
10802>&nbsp;</TD
10803></TR
10804><TR
10805><TD
10806WIDTH="20%"
10807ALIGN="RIGHT"
10808VALIGN="TOP"
10809><TT
10810CLASS="PARAMETER"
10811><I
10812>doc</I
10813></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010814>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000010815><TD
10816WIDTH="80%"
10817ALIGN="LEFT"
10818VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010819> the document</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000010820></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010821></TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +000010822></TABLE
10823><P
10824></P
10825></DIV
10826></DIV
10827><HR><DIV
10828CLASS="REFSECT2"
10829><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010830NAME="AEN6303"
Daniel Veillard35925471999-02-25 08:46:07 +000010831></A
10832><H3
10833><A
10834NAME="XMLSEARCHNS"
10835></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010836>xmlSearchNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010837><TABLE
10838BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010839BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010840WIDTH="100%"
10841CELLPADDING="6"
10842><TR
10843><TD
10844><PRE
10845CLASS="PROGRAMLISTING"
10846><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010847HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010848>xmlNsPtr</A
10849> xmlSearchNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010850HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010851>xmlDocPtr</A
10852> doc,
10853 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010854HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010855>xmlNodePtr</A
10856> node,
10857 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010858HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010859>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010860> *nameSpace);</PRE
10861></TD
10862></TR
10863></TABLE
10864><P
10865>Search a Ns registered under a given name space for a document.
10866recurse on the parents until it finds the defined namespace
10867or return NULL otherwise.
10868<TT
10869CLASS="PARAMETER"
10870><I
10871>nameSpace</I
10872></TT
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010873> can be NULL, this is a search for the default namespace.
10874We don't allow to cross entities boundaries. If you don't declare
10875the namespace within those you will be in troubles !!! A warning
10876is generated to cover this case.</P
Daniel Veillard35925471999-02-25 08:46:07 +000010877><P
10878></P
10879><DIV
10880CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010881><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010882NAME="AEN6314"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010883></A
Daniel Veillard35925471999-02-25 08:46:07 +000010884><P
10885></P
10886><TABLE
10887BORDER="0"
10888WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010889BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010890CELLSPACING="0"
10891CELLPADDING="4"
10892CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010893><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010894><TR
10895><TD
10896WIDTH="20%"
10897ALIGN="RIGHT"
10898VALIGN="TOP"
10899><TT
10900CLASS="PARAMETER"
10901><I
10902>doc</I
10903></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010904>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010905><TD
10906WIDTH="80%"
10907ALIGN="LEFT"
10908VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010909> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010910></TR
10911><TR
10912><TD
10913WIDTH="20%"
10914ALIGN="RIGHT"
10915VALIGN="TOP"
10916><TT
10917CLASS="PARAMETER"
10918><I
10919>node</I
10920></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010921>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010922><TD
10923WIDTH="80%"
10924ALIGN="LEFT"
10925VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010926> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010927></TR
10928><TR
10929><TD
10930WIDTH="20%"
10931ALIGN="RIGHT"
10932VALIGN="TOP"
10933><TT
10934CLASS="PARAMETER"
10935><I
10936>nameSpace</I
10937></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010938>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010939><TD
10940WIDTH="80%"
10941ALIGN="LEFT"
10942VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010943> the namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010944></TR
10945><TR
10946><TD
10947WIDTH="20%"
10948ALIGN="RIGHT"
10949VALIGN="TOP"
10950><I
10951CLASS="EMPHASIS"
10952>Returns</I
10953> :</TD
10954><TD
10955WIDTH="80%"
10956ALIGN="LEFT"
10957VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010958>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010959></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010960></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010961></TABLE
10962><P
10963></P
10964></DIV
10965></DIV
10966><HR><DIV
10967CLASS="REFSECT2"
10968><A
Daniel Veillard60087f32001-10-10 09:45:09 +000010969NAME="AEN6335"
Daniel Veillard35925471999-02-25 08:46:07 +000010970></A
10971><H3
10972><A
10973NAME="XMLSEARCHNSBYHREF"
10974></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010975>xmlSearchNsByHref ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010976><TABLE
10977BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010978BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010979WIDTH="100%"
10980CELLPADDING="6"
10981><TR
10982><TD
10983><PRE
10984CLASS="PROGRAMLISTING"
10985><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010986HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010987>xmlNsPtr</A
10988> xmlSearchNsByHref (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010989HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010990>xmlDocPtr</A
10991> doc,
10992 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010993HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010994>xmlNodePtr</A
10995> node,
10996 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010997HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010998>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010999> *href);</PRE
11000></TD
11001></TR
11002></TABLE
11003><P
11004>Search a Ns aliasing a given URI. Recurse on the parents until it finds
11005the defined namespace or return NULL otherwise.</P
11006><P
11007></P
11008><DIV
11009CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011010><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011011NAME="AEN6345"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011012></A
Daniel Veillard35925471999-02-25 08:46:07 +000011013><P
11014></P
11015><TABLE
11016BORDER="0"
11017WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011018BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011019CELLSPACING="0"
11020CELLPADDING="4"
11021CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011022><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011023><TR
11024><TD
11025WIDTH="20%"
11026ALIGN="RIGHT"
11027VALIGN="TOP"
11028><TT
11029CLASS="PARAMETER"
11030><I
11031>doc</I
11032></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011033>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011034><TD
11035WIDTH="80%"
11036ALIGN="LEFT"
11037VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011038> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011039></TR
11040><TR
11041><TD
11042WIDTH="20%"
11043ALIGN="RIGHT"
11044VALIGN="TOP"
11045><TT
11046CLASS="PARAMETER"
11047><I
11048>node</I
11049></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011050>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011051><TD
11052WIDTH="80%"
11053ALIGN="LEFT"
11054VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011055> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011056></TR
11057><TR
11058><TD
11059WIDTH="20%"
11060ALIGN="RIGHT"
11061VALIGN="TOP"
11062><TT
11063CLASS="PARAMETER"
11064><I
11065>href</I
11066></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011067>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011068><TD
11069WIDTH="80%"
11070ALIGN="LEFT"
11071VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011072> the namespace value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011073></TR
11074><TR
11075><TD
11076WIDTH="20%"
11077ALIGN="RIGHT"
11078VALIGN="TOP"
11079><I
11080CLASS="EMPHASIS"
11081>Returns</I
11082> :</TD
11083><TD
11084WIDTH="80%"
11085ALIGN="LEFT"
11086VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011087>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011088></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011089></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011090></TABLE
11091><P
11092></P
11093></DIV
11094></DIV
11095><HR><DIV
11096CLASS="REFSECT2"
11097><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011098NAME="AEN6366"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011099></A
11100><H3
11101><A
11102NAME="XMLGETNSLIST"
11103></A
11104>xmlGetNsList ()</H3
11105><TABLE
11106BORDER="0"
11107BGCOLOR="#D6E8FF"
11108WIDTH="100%"
11109CELLPADDING="6"
11110><TR
11111><TD
11112><PRE
11113CLASS="PROGRAMLISTING"
11114><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011115HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011116>xmlNsPtr</A
11117>* xmlGetNsList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011118HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011119>xmlDocPtr</A
11120> doc,
11121 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011122HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011123>xmlNodePtr</A
11124> node);</PRE
11125></TD
11126></TR
11127></TABLE
11128><P
11129>Search all the namespace applying to a given element.</P
11130><P
11131></P
11132><DIV
11133CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011134><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011135NAME="AEN6375"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011136></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011137><P
11138></P
11139><TABLE
11140BORDER="0"
11141WIDTH="100%"
11142BGCOLOR="#FFD0D0"
11143CELLSPACING="0"
11144CELLPADDING="4"
11145CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011146><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011147><TR
11148><TD
11149WIDTH="20%"
11150ALIGN="RIGHT"
11151VALIGN="TOP"
11152><TT
11153CLASS="PARAMETER"
11154><I
11155>doc</I
11156></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011157>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011158><TD
11159WIDTH="80%"
11160ALIGN="LEFT"
11161VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011162> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011163></TR
11164><TR
11165><TD
11166WIDTH="20%"
11167ALIGN="RIGHT"
11168VALIGN="TOP"
11169><TT
11170CLASS="PARAMETER"
11171><I
11172>node</I
11173></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011174>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011175><TD
11176WIDTH="80%"
11177ALIGN="LEFT"
11178VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011179> the current node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011180></TR
11181><TR
11182><TD
11183WIDTH="20%"
11184ALIGN="RIGHT"
11185VALIGN="TOP"
11186><I
11187CLASS="EMPHASIS"
11188>Returns</I
11189> :</TD
11190><TD
11191WIDTH="80%"
11192ALIGN="LEFT"
11193VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011194>an NULL terminated array of all the xmlNsPtr found
11195that need to be freed by the caller or NULL if no
11196namespace if defined</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011197></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011198></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011199></TABLE
11200><P
11201></P
11202></DIV
11203></DIV
11204><HR><DIV
11205CLASS="REFSECT2"
11206><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011207NAME="AEN6392"
Daniel Veillard35925471999-02-25 08:46:07 +000011208></A
11209><H3
11210><A
11211NAME="XMLSETNS"
11212></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011213>xmlSetNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011214><TABLE
11215BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011216BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011217WIDTH="100%"
11218CELLPADDING="6"
11219><TR
11220><TD
11221><PRE
11222CLASS="PROGRAMLISTING"
11223>void xmlSetNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011224HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011225>xmlNodePtr</A
11226> node,
11227 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011228HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011229>xmlNsPtr</A
11230> ns);</PRE
11231></TD
11232></TR
11233></TABLE
11234><P
11235>Associate a namespace to a node, a posteriori.</P
11236><P
11237></P
11238><DIV
11239CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011240><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011241NAME="AEN6400"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011242></A
Daniel Veillard35925471999-02-25 08:46:07 +000011243><P
11244></P
11245><TABLE
11246BORDER="0"
11247WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011248BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011249CELLSPACING="0"
11250CELLPADDING="4"
11251CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011252><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011253><TR
11254><TD
11255WIDTH="20%"
11256ALIGN="RIGHT"
11257VALIGN="TOP"
11258><TT
11259CLASS="PARAMETER"
11260><I
11261>node</I
11262></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011263>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011264><TD
11265WIDTH="80%"
11266ALIGN="LEFT"
11267VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011268> a node in the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011269></TR
11270><TR
11271><TD
11272WIDTH="20%"
11273ALIGN="RIGHT"
11274VALIGN="TOP"
11275><TT
11276CLASS="PARAMETER"
11277><I
11278>ns</I
11279></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011280>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011281><TD
11282WIDTH="80%"
11283ALIGN="LEFT"
11284VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011285> a namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011286></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011287></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011288></TABLE
11289><P
11290></P
11291></DIV
11292></DIV
11293><HR><DIV
11294CLASS="REFSECT2"
11295><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011296NAME="AEN6413"
Daniel Veillard35925471999-02-25 08:46:07 +000011297></A
11298><H3
11299><A
11300NAME="XMLCOPYNAMESPACE"
11301></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011302>xmlCopyNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011303><TABLE
11304BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011305BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011306WIDTH="100%"
11307CELLPADDING="6"
11308><TR
11309><TD
11310><PRE
11311CLASS="PROGRAMLISTING"
11312><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011313HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011314>xmlNsPtr</A
11315> xmlCopyNamespace (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011316HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011317>xmlNsPtr</A
11318> cur);</PRE
11319></TD
11320></TR
11321></TABLE
11322><P
11323>Do a copy of the namespace.</P
11324><P
11325></P
11326><DIV
11327CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011328><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011329NAME="AEN6421"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011330></A
Daniel Veillard35925471999-02-25 08:46:07 +000011331><P
11332></P
11333><TABLE
11334BORDER="0"
11335WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011336BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011337CELLSPACING="0"
11338CELLPADDING="4"
11339CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011340><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011341><TR
11342><TD
11343WIDTH="20%"
11344ALIGN="RIGHT"
11345VALIGN="TOP"
11346><TT
11347CLASS="PARAMETER"
11348><I
11349>cur</I
11350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011351>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011352><TD
11353WIDTH="80%"
11354ALIGN="LEFT"
11355VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011356> the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011357></TR
11358><TR
11359><TD
11360WIDTH="20%"
11361ALIGN="RIGHT"
11362VALIGN="TOP"
11363><I
11364CLASS="EMPHASIS"
11365>Returns</I
11366> :</TD
11367><TD
11368WIDTH="80%"
11369ALIGN="LEFT"
11370VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011371> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011372></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011373></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011374></TABLE
11375><P
11376></P
11377></DIV
11378></DIV
11379><HR><DIV
11380CLASS="REFSECT2"
11381><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011382NAME="AEN6434"
Daniel Veillard35925471999-02-25 08:46:07 +000011383></A
11384><H3
11385><A
11386NAME="XMLCOPYNAMESPACELIST"
11387></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011388>xmlCopyNamespaceList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011389><TABLE
11390BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011391BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011392WIDTH="100%"
11393CELLPADDING="6"
11394><TR
11395><TD
11396><PRE
11397CLASS="PROGRAMLISTING"
11398><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011399HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011400>xmlNsPtr</A
11401> xmlCopyNamespaceList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011402HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011403>xmlNsPtr</A
11404> cur);</PRE
11405></TD
11406></TR
11407></TABLE
11408><P
11409>Do a copy of an namespace list.</P
11410><P
11411></P
11412><DIV
11413CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011414><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011415NAME="AEN6442"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011416></A
Daniel Veillard35925471999-02-25 08:46:07 +000011417><P
11418></P
11419><TABLE
11420BORDER="0"
11421WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011422BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011423CELLSPACING="0"
11424CELLPADDING="4"
11425CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011426><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011427><TR
11428><TD
11429WIDTH="20%"
11430ALIGN="RIGHT"
11431VALIGN="TOP"
11432><TT
11433CLASS="PARAMETER"
11434><I
11435>cur</I
11436></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011437>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011438><TD
11439WIDTH="80%"
11440ALIGN="LEFT"
11441VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011442> the first namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011443></TR
11444><TR
11445><TD
11446WIDTH="20%"
11447ALIGN="RIGHT"
11448VALIGN="TOP"
11449><I
11450CLASS="EMPHASIS"
11451>Returns</I
11452> :</TD
11453><TD
11454WIDTH="80%"
11455ALIGN="LEFT"
11456VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011457> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011458></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011459></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011460></TABLE
11461><P
11462></P
11463></DIV
11464></DIV
11465><HR><DIV
11466CLASS="REFSECT2"
11467><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011468NAME="AEN6455"
Daniel Veillard35925471999-02-25 08:46:07 +000011469></A
11470><H3
11471><A
11472NAME="XMLSETPROP"
11473></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011474>xmlSetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011475><TABLE
11476BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011477BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011478WIDTH="100%"
11479CELLPADDING="6"
11480><TR
11481><TD
11482><PRE
11483CLASS="PROGRAMLISTING"
11484><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011485HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011486>xmlAttrPtr</A
11487> xmlSetProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011488HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011489>xmlNodePtr</A
11490> node,
11491 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011492HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011493>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011494> *name,
11495 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011496HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011497>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011498> *value);</PRE
11499></TD
11500></TR
11501></TABLE
11502><P
11503>Set (or reset) an attribute carried by a node.</P
11504><P
11505></P
11506><DIV
11507CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011508><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011509NAME="AEN6465"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011510></A
Daniel Veillard35925471999-02-25 08:46:07 +000011511><P
11512></P
11513><TABLE
11514BORDER="0"
11515WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011516BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011517CELLSPACING="0"
11518CELLPADDING="4"
11519CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011520><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011521><TR
11522><TD
11523WIDTH="20%"
11524ALIGN="RIGHT"
11525VALIGN="TOP"
11526><TT
11527CLASS="PARAMETER"
11528><I
11529>node</I
11530></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011531>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011532><TD
11533WIDTH="80%"
11534ALIGN="LEFT"
11535VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011536> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011537></TR
11538><TR
11539><TD
11540WIDTH="20%"
11541ALIGN="RIGHT"
11542VALIGN="TOP"
11543><TT
11544CLASS="PARAMETER"
11545><I
11546>name</I
11547></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011548>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011549><TD
11550WIDTH="80%"
11551ALIGN="LEFT"
11552VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011553> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011554></TR
11555><TR
11556><TD
11557WIDTH="20%"
11558ALIGN="RIGHT"
11559VALIGN="TOP"
11560><TT
11561CLASS="PARAMETER"
11562><I
11563>value</I
11564></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011565>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011566><TD
11567WIDTH="80%"
11568ALIGN="LEFT"
11569VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011570> the attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011571></TR
11572><TR
11573><TD
11574WIDTH="20%"
11575ALIGN="RIGHT"
11576VALIGN="TOP"
11577><I
11578CLASS="EMPHASIS"
11579>Returns</I
11580> :</TD
11581><TD
11582WIDTH="80%"
11583ALIGN="LEFT"
11584VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011585>the attribute pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011586></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011587></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011588></TABLE
11589><P
11590></P
11591></DIV
11592></DIV
11593><HR><DIV
11594CLASS="REFSECT2"
11595><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011596NAME="AEN6486"
Daniel Veillard35925471999-02-25 08:46:07 +000011597></A
11598><H3
11599><A
11600NAME="XMLGETPROP"
11601></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011602>xmlGetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011603><TABLE
11604BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011605BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011606WIDTH="100%"
11607CELLPADDING="6"
11608><TR
11609><TD
11610><PRE
11611CLASS="PROGRAMLISTING"
11612><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011613HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011614>xmlChar</A
11615>* xmlGetProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011616HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011617>xmlNodePtr</A
11618> node,
11619 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011620HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011621>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011622> *name);</PRE
11623></TD
11624></TR
11625></TABLE
11626><P
11627>Search and get the value of an attribute associated to a node
Daniel Veillardf3a73582000-01-05 14:58:39 +000011628This does the entity substitution.
11629This function looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000011630HREF="FIXED-CAPS"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011631>FIXED</GTKDOCLINK
11632> or
11633default declaration values unless DTD use has been turned off.</P
Daniel Veillard35925471999-02-25 08:46:07 +000011634><P
11635></P
11636><DIV
11637CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011638><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011639NAME="AEN6496"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011640></A
Daniel Veillard35925471999-02-25 08:46:07 +000011641><P
11642></P
11643><TABLE
11644BORDER="0"
11645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011646BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011647CELLSPACING="0"
11648CELLPADDING="4"
11649CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011650><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011651><TR
11652><TD
11653WIDTH="20%"
11654ALIGN="RIGHT"
11655VALIGN="TOP"
11656><TT
11657CLASS="PARAMETER"
11658><I
11659>node</I
11660></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011661>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011662><TD
11663WIDTH="80%"
11664ALIGN="LEFT"
11665VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011666> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011667></TR
11668><TR
11669><TD
11670WIDTH="20%"
11671ALIGN="RIGHT"
11672VALIGN="TOP"
11673><TT
11674CLASS="PARAMETER"
11675><I
11676>name</I
11677></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011678>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011679><TD
11680WIDTH="80%"
11681ALIGN="LEFT"
11682VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011683> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011684></TR
11685><TR
11686><TD
11687WIDTH="20%"
11688ALIGN="RIGHT"
11689VALIGN="TOP"
11690><I
11691CLASS="EMPHASIS"
11692>Returns</I
11693> :</TD
11694><TD
11695WIDTH="80%"
11696ALIGN="LEFT"
11697VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011698>the attribute value or NULL if not found.
11699It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011700></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011701></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011702></TABLE
11703><P
11704></P
11705></DIV
11706></DIV
11707><HR><DIV
11708CLASS="REFSECT2"
11709><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011710NAME="AEN6513"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011711></A
11712><H3
11713><A
11714NAME="XMLHASPROP"
11715></A
11716>xmlHasProp ()</H3
11717><TABLE
11718BORDER="0"
11719BGCOLOR="#D6E8FF"
11720WIDTH="100%"
11721CELLPADDING="6"
11722><TR
11723><TD
11724><PRE
11725CLASS="PROGRAMLISTING"
11726><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011727HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011728>xmlAttrPtr</A
11729> xmlHasProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011730HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011731>xmlNodePtr</A
11732> node,
11733 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011734HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011735>xmlChar</A
11736> *name);</PRE
11737></TD
11738></TR
11739></TABLE
11740><P
11741>Search an attribute associated to a node
11742This function also looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000011743HREF="FIXED-CAPS"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011744>FIXED</GTKDOCLINK
11745> or
11746default declaration values unless DTD use has been turned off.</P
11747><P
11748></P
11749><DIV
11750CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011751><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011752NAME="AEN6523"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011753></A
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011754><P
11755></P
11756><TABLE
11757BORDER="0"
11758WIDTH="100%"
11759BGCOLOR="#FFD0D0"
11760CELLSPACING="0"
11761CELLPADDING="4"
11762CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011763><TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011764><TR
11765><TD
11766WIDTH="20%"
11767ALIGN="RIGHT"
11768VALIGN="TOP"
11769><TT
11770CLASS="PARAMETER"
11771><I
11772>node</I
11773></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011774>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011775><TD
11776WIDTH="80%"
11777ALIGN="LEFT"
11778VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011779> the node</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011780></TR
11781><TR
11782><TD
11783WIDTH="20%"
11784ALIGN="RIGHT"
11785VALIGN="TOP"
11786><TT
11787CLASS="PARAMETER"
11788><I
11789>name</I
11790></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011791>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011792><TD
11793WIDTH="80%"
11794ALIGN="LEFT"
11795VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011796> the attribute name</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011797></TR
11798><TR
11799><TD
11800WIDTH="20%"
11801ALIGN="RIGHT"
11802VALIGN="TOP"
11803><I
11804CLASS="EMPHASIS"
11805>Returns</I
11806> :</TD
11807><TD
11808WIDTH="80%"
11809ALIGN="LEFT"
11810VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011811>the attribute or the attribute declaration or NULL if
11812neither was found.</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011813></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011814></TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011815></TABLE
11816><P
11817></P
11818></DIV
11819></DIV
11820><HR><DIV
11821CLASS="REFSECT2"
11822><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011823NAME="AEN6540"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000011824></A
11825><H3
11826><A
11827NAME="XMLHASNSPROP"
11828></A
11829>xmlHasNsProp ()</H3
11830><TABLE
11831BORDER="0"
11832BGCOLOR="#D6E8FF"
11833WIDTH="100%"
11834CELLPADDING="6"
11835><TR
11836><TD
11837><PRE
11838CLASS="PROGRAMLISTING"
11839><A
11840HREF="libxml-tree.html#XMLATTRPTR"
11841>xmlAttrPtr</A
11842> xmlHasNsProp (<A
11843HREF="libxml-tree.html#XMLNODEPTR"
11844>xmlNodePtr</A
11845> node,
11846 const <A
11847HREF="libxml-tree.html#XMLCHAR"
11848>xmlChar</A
11849> *name,
11850 const <A
11851HREF="libxml-tree.html#XMLCHAR"
11852>xmlChar</A
11853> *nameSpace);</PRE
11854></TD
11855></TR
11856></TABLE
11857><P
11858>Search for an attribute associated to a node
11859This attribute has to be anchored in the namespace specified.
11860This does the entity substitution.
11861This function looks in DTD attribute declaration for <GTKDOCLINK
11862HREF="FIXED-CAPS"
11863>FIXED</GTKDOCLINK
11864> or
11865default declaration values unless DTD use has been turned off.</P
11866><P
11867></P
11868><DIV
11869CLASS="INFORMALTABLE"
11870><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011871NAME="AEN6551"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000011872></A
11873><P
11874></P
11875><TABLE
11876BORDER="0"
11877WIDTH="100%"
11878BGCOLOR="#FFD0D0"
11879CELLSPACING="0"
11880CELLPADDING="4"
11881CLASS="CALSTABLE"
11882><TBODY
11883><TR
11884><TD
11885WIDTH="20%"
11886ALIGN="RIGHT"
11887VALIGN="TOP"
11888><TT
11889CLASS="PARAMETER"
11890><I
11891>node</I
11892></TT
11893>&nbsp;:</TD
11894><TD
11895WIDTH="80%"
11896ALIGN="LEFT"
11897VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011898> the node</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000011899></TR
11900><TR
11901><TD
11902WIDTH="20%"
11903ALIGN="RIGHT"
11904VALIGN="TOP"
11905><TT
11906CLASS="PARAMETER"
11907><I
11908>name</I
11909></TT
11910>&nbsp;:</TD
11911><TD
11912WIDTH="80%"
11913ALIGN="LEFT"
11914VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011915> the attribute name</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000011916></TR
11917><TR
11918><TD
11919WIDTH="20%"
11920ALIGN="RIGHT"
11921VALIGN="TOP"
11922><TT
11923CLASS="PARAMETER"
11924><I
11925>nameSpace</I
11926></TT
11927>&nbsp;:</TD
11928><TD
11929WIDTH="80%"
11930ALIGN="LEFT"
11931VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011932> the URI of the namespace</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000011933></TR
11934><TR
11935><TD
11936WIDTH="20%"
11937ALIGN="RIGHT"
11938VALIGN="TOP"
11939><I
11940CLASS="EMPHASIS"
11941>Returns</I
11942> :</TD
11943><TD
11944WIDTH="80%"
11945ALIGN="LEFT"
11946VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011947>the attribute or the attribute declaration or NULL
11948if neither was found.</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000011949></TR
11950></TBODY
11951></TABLE
11952><P
11953></P
11954></DIV
11955></DIV
11956><HR><DIV
11957CLASS="REFSECT2"
11958><A
Daniel Veillard60087f32001-10-10 09:45:09 +000011959NAME="AEN6572"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011960></A
11961><H3
11962><A
11963NAME="XMLSETNSPROP"
11964></A
11965>xmlSetNsProp ()</H3
11966><TABLE
11967BORDER="0"
11968BGCOLOR="#D6E8FF"
11969WIDTH="100%"
11970CELLPADDING="6"
11971><TR
11972><TD
11973><PRE
11974CLASS="PROGRAMLISTING"
11975><A
11976HREF="libxml-tree.html#XMLATTRPTR"
11977>xmlAttrPtr</A
11978> xmlSetNsProp (<A
11979HREF="libxml-tree.html#XMLNODEPTR"
11980>xmlNodePtr</A
11981> node,
11982 <A
11983HREF="libxml-tree.html#XMLNSPTR"
11984>xmlNsPtr</A
11985> ns,
11986 const <A
11987HREF="libxml-tree.html#XMLCHAR"
11988>xmlChar</A
11989> *name,
11990 const <A
11991HREF="libxml-tree.html#XMLCHAR"
11992>xmlChar</A
11993> *value);</PRE
11994></TD
11995></TR
11996></TABLE
11997><P
11998>Set (or reset) an attribute carried by a node.
11999The ns structure must be in scope, this is not checked.</P
12000><P
12001></P
12002><DIV
12003CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012004><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012005NAME="AEN6583"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012006></A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012007><P
12008></P
12009><TABLE
12010BORDER="0"
12011WIDTH="100%"
12012BGCOLOR="#FFD0D0"
12013CELLSPACING="0"
12014CELLPADDING="4"
12015CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012016><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012017><TR
12018><TD
12019WIDTH="20%"
12020ALIGN="RIGHT"
12021VALIGN="TOP"
12022><TT
12023CLASS="PARAMETER"
12024><I
12025>node</I
12026></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012027>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012028><TD
12029WIDTH="80%"
12030ALIGN="LEFT"
12031VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012032> the node</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012033></TR
12034><TR
12035><TD
12036WIDTH="20%"
12037ALIGN="RIGHT"
12038VALIGN="TOP"
12039><TT
12040CLASS="PARAMETER"
12041><I
12042>ns</I
12043></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012044>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012045><TD
12046WIDTH="80%"
12047ALIGN="LEFT"
12048VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012049> the namespace definition</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012050></TR
12051><TR
12052><TD
12053WIDTH="20%"
12054ALIGN="RIGHT"
12055VALIGN="TOP"
12056><TT
12057CLASS="PARAMETER"
12058><I
12059>name</I
12060></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012061>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012062><TD
12063WIDTH="80%"
12064ALIGN="LEFT"
12065VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012066> the attribute name</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012067></TR
12068><TR
12069><TD
12070WIDTH="20%"
12071ALIGN="RIGHT"
12072VALIGN="TOP"
12073><TT
12074CLASS="PARAMETER"
12075><I
12076>value</I
12077></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012078>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012079><TD
12080WIDTH="80%"
12081ALIGN="LEFT"
12082VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012083> the attribute value</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012084></TR
12085><TR
12086><TD
12087WIDTH="20%"
12088ALIGN="RIGHT"
12089VALIGN="TOP"
12090><I
12091CLASS="EMPHASIS"
12092>Returns</I
12093> :</TD
12094><TD
12095WIDTH="80%"
12096ALIGN="LEFT"
12097VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012098>the attribute pointer.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012099></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012100></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012101></TABLE
12102><P
12103></P
12104></DIV
12105></DIV
12106><HR><DIV
12107CLASS="REFSECT2"
12108><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012109NAME="AEN6608"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012110></A
12111><H3
12112><A
12113NAME="XMLGETNSPROP"
12114></A
12115>xmlGetNsProp ()</H3
12116><TABLE
12117BORDER="0"
12118BGCOLOR="#D6E8FF"
12119WIDTH="100%"
12120CELLPADDING="6"
12121><TR
12122><TD
12123><PRE
12124CLASS="PROGRAMLISTING"
12125><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012126HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012127>xmlChar</A
12128>* xmlGetNsProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012129HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012130>xmlNodePtr</A
12131> node,
12132 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012133HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012134>xmlChar</A
12135> *name,
12136 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012137HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012138>xmlChar</A
12139> *nameSpace);</PRE
12140></TD
12141></TR
12142></TABLE
12143><P
12144>Search and get the value of an attribute associated to a node
12145This attribute has to be anchored in the namespace specified.
12146This does the entity substitution.
12147This function looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000012148HREF="FIXED-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012149>FIXED</GTKDOCLINK
12150> or
12151default declaration values unless DTD use has been turned off.</P
12152><P
12153></P
12154><DIV
12155CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012156><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012157NAME="AEN6619"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012158></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012159><P
12160></P
12161><TABLE
12162BORDER="0"
12163WIDTH="100%"
12164BGCOLOR="#FFD0D0"
12165CELLSPACING="0"
12166CELLPADDING="4"
12167CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012168><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012169><TR
12170><TD
12171WIDTH="20%"
12172ALIGN="RIGHT"
12173VALIGN="TOP"
12174><TT
12175CLASS="PARAMETER"
12176><I
12177>node</I
12178></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012179>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012180><TD
12181WIDTH="80%"
12182ALIGN="LEFT"
12183VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012184> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012185></TR
12186><TR
12187><TD
12188WIDTH="20%"
12189ALIGN="RIGHT"
12190VALIGN="TOP"
12191><TT
12192CLASS="PARAMETER"
12193><I
12194>name</I
12195></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012196>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012197><TD
12198WIDTH="80%"
12199ALIGN="LEFT"
12200VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012201> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012202></TR
12203><TR
12204><TD
12205WIDTH="20%"
12206ALIGN="RIGHT"
12207VALIGN="TOP"
12208><TT
12209CLASS="PARAMETER"
12210><I
12211>nameSpace</I
12212></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012213>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012214><TD
12215WIDTH="80%"
12216ALIGN="LEFT"
12217VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012218> the URI of the namespace</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012219></TR
12220><TR
12221><TD
12222WIDTH="20%"
12223ALIGN="RIGHT"
12224VALIGN="TOP"
12225><I
12226CLASS="EMPHASIS"
12227>Returns</I
12228> :</TD
12229><TD
12230WIDTH="80%"
12231ALIGN="LEFT"
12232VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012233>the attribute value or NULL if not found.
12234It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012235></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012236></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012237></TABLE
12238><P
12239></P
12240></DIV
12241></DIV
12242><HR><DIV
12243CLASS="REFSECT2"
12244><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012245NAME="AEN6640"
Daniel Veillard35925471999-02-25 08:46:07 +000012246></A
12247><H3
12248><A
12249NAME="XMLSTRINGGETNODELIST"
12250></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012251>xmlStringGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012252><TABLE
12253BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012254BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012255WIDTH="100%"
12256CELLPADDING="6"
12257><TR
12258><TD
12259><PRE
12260CLASS="PROGRAMLISTING"
12261><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012262HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012263>xmlNodePtr</A
12264> xmlStringGetNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012265HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012266>xmlDocPtr</A
12267> doc,
12268 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012269HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012270>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012271> *value);</PRE
12272></TD
12273></TR
12274></TABLE
12275><P
12276>Parse the value string and build the node list associated. Should
12277produce a flat tree with only TEXTs and ENTITY_REFs.</P
12278><P
12279></P
12280><DIV
12281CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012282><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012283NAME="AEN6649"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012284></A
Daniel Veillard35925471999-02-25 08:46:07 +000012285><P
12286></P
12287><TABLE
12288BORDER="0"
12289WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012290BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012291CELLSPACING="0"
12292CELLPADDING="4"
12293CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012294><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012295><TR
12296><TD
12297WIDTH="20%"
12298ALIGN="RIGHT"
12299VALIGN="TOP"
12300><TT
12301CLASS="PARAMETER"
12302><I
12303>doc</I
12304></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012305>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012306><TD
12307WIDTH="80%"
12308ALIGN="LEFT"
12309VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012310> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012311></TR
12312><TR
12313><TD
12314WIDTH="20%"
12315ALIGN="RIGHT"
12316VALIGN="TOP"
12317><TT
12318CLASS="PARAMETER"
12319><I
12320>value</I
12321></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012322>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012323><TD
12324WIDTH="80%"
12325ALIGN="LEFT"
12326VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012327> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012328></TR
12329><TR
12330><TD
12331WIDTH="20%"
12332ALIGN="RIGHT"
12333VALIGN="TOP"
12334><I
12335CLASS="EMPHASIS"
12336>Returns</I
12337> :</TD
12338><TD
12339WIDTH="80%"
12340ALIGN="LEFT"
12341VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012342>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012343></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012344></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012345></TABLE
12346><P
12347></P
12348></DIV
12349></DIV
12350><HR><DIV
12351CLASS="REFSECT2"
12352><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012353NAME="AEN6666"
Daniel Veillard35925471999-02-25 08:46:07 +000012354></A
12355><H3
12356><A
12357NAME="XMLSTRINGLENGETNODELIST"
12358></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012359>xmlStringLenGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012360><TABLE
12361BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012362BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012363WIDTH="100%"
12364CELLPADDING="6"
12365><TR
12366><TD
12367><PRE
12368CLASS="PROGRAMLISTING"
12369><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012370HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012371>xmlNodePtr</A
12372> xmlStringLenGetNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012373HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012374>xmlDocPtr</A
12375> doc,
12376 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012377HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012378>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012379> *value,
12380 int len);</PRE
12381></TD
12382></TR
12383></TABLE
12384><P
12385>Parse the value string and build the node list associated. Should
12386produce a flat tree with only TEXTs and ENTITY_REFs.</P
12387><P
12388></P
12389><DIV
12390CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012391><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012392NAME="AEN6675"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012393></A
Daniel Veillard35925471999-02-25 08:46:07 +000012394><P
12395></P
12396><TABLE
12397BORDER="0"
12398WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012399BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012400CELLSPACING="0"
12401CELLPADDING="4"
12402CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012403><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012404><TR
12405><TD
12406WIDTH="20%"
12407ALIGN="RIGHT"
12408VALIGN="TOP"
12409><TT
12410CLASS="PARAMETER"
12411><I
12412>doc</I
12413></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012414>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012415><TD
12416WIDTH="80%"
12417ALIGN="LEFT"
12418VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012419> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012420></TR
12421><TR
12422><TD
12423WIDTH="20%"
12424ALIGN="RIGHT"
12425VALIGN="TOP"
12426><TT
12427CLASS="PARAMETER"
12428><I
12429>value</I
12430></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012431>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012432><TD
12433WIDTH="80%"
12434ALIGN="LEFT"
12435VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012436> the value of the text</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012437></TR
12438><TR
12439><TD
12440WIDTH="20%"
12441ALIGN="RIGHT"
12442VALIGN="TOP"
12443><TT
12444CLASS="PARAMETER"
12445><I
12446>len</I
12447></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012448>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012449><TD
12450WIDTH="80%"
12451ALIGN="LEFT"
12452VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012453> the length of the string value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012454></TR
12455><TR
12456><TD
12457WIDTH="20%"
12458ALIGN="RIGHT"
12459VALIGN="TOP"
12460><I
12461CLASS="EMPHASIS"
12462>Returns</I
12463> :</TD
12464><TD
12465WIDTH="80%"
12466ALIGN="LEFT"
12467VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012468>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012469></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012470></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012471></TABLE
12472><P
12473></P
12474></DIV
12475></DIV
12476><HR><DIV
12477CLASS="REFSECT2"
12478><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012479NAME="AEN6696"
Daniel Veillard35925471999-02-25 08:46:07 +000012480></A
12481><H3
12482><A
12483NAME="XMLNODELISTGETSTRING"
12484></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012485>xmlNodeListGetString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012486><TABLE
12487BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012488BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012489WIDTH="100%"
12490CELLPADDING="6"
12491><TR
12492><TD
12493><PRE
12494CLASS="PROGRAMLISTING"
12495><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012496HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012497>xmlChar</A
12498>* xmlNodeListGetString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012499HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012500>xmlDocPtr</A
12501> doc,
12502 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012503HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012504>xmlNodePtr</A
12505> list,
12506 int inLine);</PRE
12507></TD
12508></TR
12509></TABLE
12510><P
12511>Returns the string equivalent to the text contained in the Node list
12512made of TEXTs and ENTITY_REFs</P
12513><P
12514></P
12515><DIV
12516CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012517><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012518NAME="AEN6705"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012519></A
Daniel Veillard35925471999-02-25 08:46:07 +000012520><P
12521></P
12522><TABLE
12523BORDER="0"
12524WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012525BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012526CELLSPACING="0"
12527CELLPADDING="4"
12528CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012529><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012530><TR
12531><TD
12532WIDTH="20%"
12533ALIGN="RIGHT"
12534VALIGN="TOP"
12535><TT
12536CLASS="PARAMETER"
12537><I
12538>doc</I
12539></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012540>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012541><TD
12542WIDTH="80%"
12543ALIGN="LEFT"
12544VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012545> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012546></TR
12547><TR
12548><TD
12549WIDTH="20%"
12550ALIGN="RIGHT"
12551VALIGN="TOP"
12552><TT
12553CLASS="PARAMETER"
12554><I
12555>list</I
12556></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012557>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012558><TD
12559WIDTH="80%"
12560ALIGN="LEFT"
12561VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012562> a Node list</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012563></TR
12564><TR
12565><TD
12566WIDTH="20%"
12567ALIGN="RIGHT"
12568VALIGN="TOP"
12569><TT
12570CLASS="PARAMETER"
12571><I
12572>inLine</I
12573></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012574>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012575><TD
12576WIDTH="80%"
12577ALIGN="LEFT"
12578VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012579> should we replace entity contents or show their external form</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012580></TR
12581><TR
12582><TD
12583WIDTH="20%"
12584ALIGN="RIGHT"
12585VALIGN="TOP"
12586><I
12587CLASS="EMPHASIS"
12588>Returns</I
12589> :</TD
12590><TD
12591WIDTH="80%"
12592ALIGN="LEFT"
12593VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012594>a pointer to the string copy, the calller must free it.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012595></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012596></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012597></TABLE
12598><P
12599></P
12600></DIV
12601></DIV
12602><HR><DIV
12603CLASS="REFSECT2"
12604><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012605NAME="AEN6726"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012606></A
12607><H3
12608><A
12609NAME="XMLNODELISTGETRAWSTRING"
12610></A
12611>xmlNodeListGetRawString ()</H3
12612><TABLE
12613BORDER="0"
12614BGCOLOR="#D6E8FF"
12615WIDTH="100%"
12616CELLPADDING="6"
12617><TR
12618><TD
12619><PRE
12620CLASS="PROGRAMLISTING"
12621><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012622HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012623>xmlChar</A
12624>* xmlNodeListGetRawString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012625HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012626>xmlDocPtr</A
12627> doc,
12628 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012629HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012630>xmlNodePtr</A
12631> list,
12632 int inLine);</PRE
12633></TD
12634></TR
12635></TABLE
12636><P
12637>Returns the string equivalent to the text contained in the Node list
12638made of TEXTs and ENTITY_REFs, contrary to <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012639HREF="libxml-tree.html#XMLNODELISTGETSTRING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012640>xmlNodeListGetString</A
12641>()
12642this function doesn't do any character encoding handling.</P
12643><P
12644></P
12645><DIV
12646CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012647><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012648NAME="AEN6736"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012649></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012650><P
12651></P
12652><TABLE
12653BORDER="0"
12654WIDTH="100%"
12655BGCOLOR="#FFD0D0"
12656CELLSPACING="0"
12657CELLPADDING="4"
12658CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012659><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012660><TR
12661><TD
12662WIDTH="20%"
12663ALIGN="RIGHT"
12664VALIGN="TOP"
12665><TT
12666CLASS="PARAMETER"
12667><I
12668>doc</I
12669></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012670>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012671><TD
12672WIDTH="80%"
12673ALIGN="LEFT"
12674VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012675> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012676></TR
12677><TR
12678><TD
12679WIDTH="20%"
12680ALIGN="RIGHT"
12681VALIGN="TOP"
12682><TT
12683CLASS="PARAMETER"
12684><I
12685>list</I
12686></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012687>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012688><TD
12689WIDTH="80%"
12690ALIGN="LEFT"
12691VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012692> a Node list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012693></TR
12694><TR
12695><TD
12696WIDTH="20%"
12697ALIGN="RIGHT"
12698VALIGN="TOP"
12699><TT
12700CLASS="PARAMETER"
12701><I
12702>inLine</I
12703></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012704>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012705><TD
12706WIDTH="80%"
12707ALIGN="LEFT"
12708VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012709> should we replace entity contents or show their external form</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012710></TR
12711><TR
12712><TD
12713WIDTH="20%"
12714ALIGN="RIGHT"
12715VALIGN="TOP"
12716><I
12717CLASS="EMPHASIS"
12718>Returns</I
12719> :</TD
12720><TD
12721WIDTH="80%"
12722ALIGN="LEFT"
12723VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012724>a pointer to the string copy, the calller must free it.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012725></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012726></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012727></TABLE
12728><P
12729></P
12730></DIV
12731></DIV
12732><HR><DIV
12733CLASS="REFSECT2"
12734><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012735NAME="AEN6757"
Daniel Veillard35925471999-02-25 08:46:07 +000012736></A
12737><H3
12738><A
12739NAME="XMLNODESETCONTENT"
12740></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012741>xmlNodeSetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012742><TABLE
12743BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012744BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012745WIDTH="100%"
12746CELLPADDING="6"
12747><TR
12748><TD
12749><PRE
12750CLASS="PROGRAMLISTING"
12751>void xmlNodeSetContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012752HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012753>xmlNodePtr</A
12754> cur,
12755 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012756HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012757>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012758> *content);</PRE
12759></TD
12760></TR
12761></TABLE
12762><P
12763>Replace the content of a node.</P
12764><P
12765></P
12766><DIV
12767CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012768><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012769NAME="AEN6765"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012770></A
Daniel Veillard35925471999-02-25 08:46:07 +000012771><P
12772></P
12773><TABLE
12774BORDER="0"
12775WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012776BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012777CELLSPACING="0"
12778CELLPADDING="4"
12779CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012780><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012781><TR
12782><TD
12783WIDTH="20%"
12784ALIGN="RIGHT"
12785VALIGN="TOP"
12786><TT
12787CLASS="PARAMETER"
12788><I
12789>cur</I
12790></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012791>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012792><TD
12793WIDTH="80%"
12794ALIGN="LEFT"
12795VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012796> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012797></TR
12798><TR
12799><TD
12800WIDTH="20%"
12801ALIGN="RIGHT"
12802VALIGN="TOP"
12803><TT
12804CLASS="PARAMETER"
12805><I
12806>content</I
12807></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012808>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012809><TD
12810WIDTH="80%"
12811ALIGN="LEFT"
12812VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012813> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012814></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012815></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012816></TABLE
12817><P
12818></P
12819></DIV
12820></DIV
12821><HR><DIV
12822CLASS="REFSECT2"
12823><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012824NAME="AEN6778"
Daniel Veillard35925471999-02-25 08:46:07 +000012825></A
12826><H3
12827><A
12828NAME="XMLNODESETCONTENTLEN"
12829></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012830>xmlNodeSetContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012831><TABLE
12832BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012833BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012834WIDTH="100%"
12835CELLPADDING="6"
12836><TR
12837><TD
12838><PRE
12839CLASS="PROGRAMLISTING"
12840>void xmlNodeSetContentLen (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012841HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012842>xmlNodePtr</A
12843> cur,
12844 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012845HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012846>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012847> *content,
12848 int len);</PRE
12849></TD
12850></TR
12851></TABLE
12852><P
12853>Replace the content of a node.</P
12854><P
12855></P
12856><DIV
12857CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012858><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012859NAME="AEN6786"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012860></A
Daniel Veillard35925471999-02-25 08:46:07 +000012861><P
12862></P
12863><TABLE
12864BORDER="0"
12865WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012866BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012867CELLSPACING="0"
12868CELLPADDING="4"
12869CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012870><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012871><TR
12872><TD
12873WIDTH="20%"
12874ALIGN="RIGHT"
12875VALIGN="TOP"
12876><TT
12877CLASS="PARAMETER"
12878><I
12879>cur</I
12880></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012881>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012882><TD
12883WIDTH="80%"
12884ALIGN="LEFT"
12885VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012886> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012887></TR
12888><TR
12889><TD
12890WIDTH="20%"
12891ALIGN="RIGHT"
12892VALIGN="TOP"
12893><TT
12894CLASS="PARAMETER"
12895><I
12896>content</I
12897></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012898>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012899><TD
12900WIDTH="80%"
12901ALIGN="LEFT"
12902VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012903> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012904></TR
12905><TR
12906><TD
12907WIDTH="20%"
12908ALIGN="RIGHT"
12909VALIGN="TOP"
12910><TT
12911CLASS="PARAMETER"
12912><I
12913>len</I
12914></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012915>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012916><TD
12917WIDTH="80%"
12918ALIGN="LEFT"
12919VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012920> the size of <TT
12921CLASS="PARAMETER"
12922><I
12923>content</I
12924></TT
12925></TD
Daniel Veillard35925471999-02-25 08:46:07 +000012926></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012927></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012928></TABLE
12929><P
12930></P
12931></DIV
12932></DIV
12933><HR><DIV
12934CLASS="REFSECT2"
12935><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012936NAME="AEN6804"
Daniel Veillard35925471999-02-25 08:46:07 +000012937></A
12938><H3
12939><A
12940NAME="XMLNODEADDCONTENT"
12941></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012942>xmlNodeAddContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012943><TABLE
12944BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012945BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012946WIDTH="100%"
12947CELLPADDING="6"
12948><TR
12949><TD
12950><PRE
12951CLASS="PROGRAMLISTING"
12952>void xmlNodeAddContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012953HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012954>xmlNodePtr</A
12955> cur,
12956 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012957HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012958>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012959> *content);</PRE
12960></TD
12961></TR
12962></TABLE
12963><P
12964>Append the extra substring to the node content.</P
12965><P
12966></P
12967><DIV
12968CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012969><A
Daniel Veillard60087f32001-10-10 09:45:09 +000012970NAME="AEN6812"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012971></A
Daniel Veillard35925471999-02-25 08:46:07 +000012972><P
12973></P
12974><TABLE
12975BORDER="0"
12976WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012977BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012978CELLSPACING="0"
12979CELLPADDING="4"
12980CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012981><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012982><TR
12983><TD
12984WIDTH="20%"
12985ALIGN="RIGHT"
12986VALIGN="TOP"
12987><TT
12988CLASS="PARAMETER"
12989><I
12990>cur</I
12991></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012992>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012993><TD
12994WIDTH="80%"
12995ALIGN="LEFT"
12996VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012997> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012998></TR
12999><TR
13000><TD
13001WIDTH="20%"
13002ALIGN="RIGHT"
13003VALIGN="TOP"
13004><TT
13005CLASS="PARAMETER"
13006><I
13007>content</I
13008></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013009>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013010><TD
13011WIDTH="80%"
13012ALIGN="LEFT"
13013VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013014> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013015></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013016></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013017></TABLE
13018><P
13019></P
13020></DIV
13021></DIV
13022><HR><DIV
13023CLASS="REFSECT2"
13024><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013025NAME="AEN6825"
Daniel Veillard35925471999-02-25 08:46:07 +000013026></A
13027><H3
13028><A
13029NAME="XMLNODEADDCONTENTLEN"
13030></A
Daniel Veillard14fff061999-06-22 21:49:07 +000013031>xmlNodeAddContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000013032><TABLE
13033BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000013034BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000013035WIDTH="100%"
13036CELLPADDING="6"
13037><TR
13038><TD
13039><PRE
13040CLASS="PROGRAMLISTING"
13041>void xmlNodeAddContentLen (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013042HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000013043>xmlNodePtr</A
13044> cur,
13045 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013046HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000013047>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000013048> *content,
13049 int len);</PRE
13050></TD
13051></TR
13052></TABLE
13053><P
13054>Append the extra substring to the node content.</P
13055><P
13056></P
13057><DIV
13058CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013059><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013060NAME="AEN6833"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013061></A
Daniel Veillard35925471999-02-25 08:46:07 +000013062><P
13063></P
13064><TABLE
13065BORDER="0"
13066WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000013067BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000013068CELLSPACING="0"
13069CELLPADDING="4"
13070CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013071><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013072><TR
13073><TD
13074WIDTH="20%"
13075ALIGN="RIGHT"
13076VALIGN="TOP"
13077><TT
13078CLASS="PARAMETER"
13079><I
13080>cur</I
13081></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013082>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013083><TD
13084WIDTH="80%"
13085ALIGN="LEFT"
13086VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013087> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013088></TR
13089><TR
13090><TD
13091WIDTH="20%"
13092ALIGN="RIGHT"
13093VALIGN="TOP"
13094><TT
13095CLASS="PARAMETER"
13096><I
13097>content</I
13098></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013099>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013100><TD
13101WIDTH="80%"
13102ALIGN="LEFT"
13103VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013104> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013105></TR
13106><TR
13107><TD
13108WIDTH="20%"
13109ALIGN="RIGHT"
13110VALIGN="TOP"
13111><TT
13112CLASS="PARAMETER"
13113><I
13114>len</I
13115></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013116>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013117><TD
13118WIDTH="80%"
13119ALIGN="LEFT"
13120VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013121> the size of <TT
13122CLASS="PARAMETER"
13123><I
13124>content</I
13125></TT
13126></TD
Daniel Veillard35925471999-02-25 08:46:07 +000013127></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013128></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013129></TABLE
13130><P
13131></P
13132></DIV
13133></DIV
13134><HR><DIV
13135CLASS="REFSECT2"
13136><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013137NAME="AEN6851"
Daniel Veillard35925471999-02-25 08:46:07 +000013138></A
13139><H3
13140><A
13141NAME="XMLNODEGETCONTENT"
13142></A
Daniel Veillard14fff061999-06-22 21:49:07 +000013143>xmlNodeGetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000013144><TABLE
13145BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000013146BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000013147WIDTH="100%"
13148CELLPADDING="6"
13149><TR
13150><TD
13151><PRE
13152CLASS="PROGRAMLISTING"
13153><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013154HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000013155>xmlChar</A
13156>* xmlNodeGetContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013157HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013158>xmlNodePtr</A
13159> cur);</PRE
13160></TD
13161></TR
13162></TABLE
13163><P
13164>Read the value of a node, this can be either the text carried
13165directly by this node if it's a TEXT node or the aggregate string
13166of the values carried by this node child's (TEXT and ENTITY_REF).
13167Entity references are substitued.</P
13168><P
13169></P
13170><DIV
13171CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013172><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013173NAME="AEN6859"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013174></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013175><P
13176></P
13177><TABLE
13178BORDER="0"
13179WIDTH="100%"
13180BGCOLOR="#FFD0D0"
13181CELLSPACING="0"
13182CELLPADDING="4"
13183CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013184><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013185><TR
13186><TD
13187WIDTH="20%"
13188ALIGN="RIGHT"
13189VALIGN="TOP"
13190><TT
13191CLASS="PARAMETER"
13192><I
13193>cur</I
13194></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013195>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013196><TD
13197WIDTH="80%"
13198ALIGN="LEFT"
13199VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013200> the node being read</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013201></TR
13202><TR
13203><TD
13204WIDTH="20%"
13205ALIGN="RIGHT"
13206VALIGN="TOP"
13207><I
13208CLASS="EMPHASIS"
13209>Returns</I
13210> :</TD
13211><TD
13212WIDTH="80%"
13213ALIGN="LEFT"
13214VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013215>a new xmlChar * or NULL if no content is available.
13216It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013217></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013218></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013219></TABLE
13220><P
13221></P
13222></DIV
13223></DIV
13224><HR><DIV
13225CLASS="REFSECT2"
13226><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013227NAME="AEN6872"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013228></A
13229><H3
13230><A
13231NAME="XMLNODEGETLANG"
13232></A
13233>xmlNodeGetLang ()</H3
13234><TABLE
13235BORDER="0"
13236BGCOLOR="#D6E8FF"
13237WIDTH="100%"
13238CELLPADDING="6"
13239><TR
13240><TD
13241><PRE
13242CLASS="PROGRAMLISTING"
13243><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013244HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013245>xmlChar</A
13246>* xmlNodeGetLang (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013247HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013248>xmlNodePtr</A
13249> cur);</PRE
13250></TD
13251></TR
13252></TABLE
13253><P
13254>Searches the language of a node, i.e. the values of the xml:lang
13255attribute or the one carried by the nearest ancestor.</P
13256><P
13257></P
13258><DIV
13259CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013260><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013261NAME="AEN6880"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013262></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013263><P
13264></P
13265><TABLE
13266BORDER="0"
13267WIDTH="100%"
13268BGCOLOR="#FFD0D0"
13269CELLSPACING="0"
13270CELLPADDING="4"
13271CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013272><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013273><TR
13274><TD
13275WIDTH="20%"
13276ALIGN="RIGHT"
13277VALIGN="TOP"
13278><TT
13279CLASS="PARAMETER"
13280><I
13281>cur</I
13282></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013283>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013284><TD
13285WIDTH="80%"
13286ALIGN="LEFT"
13287VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013288> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013289></TR
13290><TR
13291><TD
13292WIDTH="20%"
13293ALIGN="RIGHT"
13294VALIGN="TOP"
13295><I
13296CLASS="EMPHASIS"
13297>Returns</I
13298> :</TD
13299><TD
13300WIDTH="80%"
13301ALIGN="LEFT"
13302VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013303>a pointer to the lang value, or NULL if not found
13304It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013305></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013306></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013307></TABLE
13308><P
13309></P
13310></DIV
13311></DIV
13312><HR><DIV
13313CLASS="REFSECT2"
13314><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013315NAME="AEN6893"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013316></A
13317><H3
13318><A
13319NAME="XMLNODESETLANG"
13320></A
13321>xmlNodeSetLang ()</H3
13322><TABLE
13323BORDER="0"
13324BGCOLOR="#D6E8FF"
13325WIDTH="100%"
13326CELLPADDING="6"
13327><TR
13328><TD
13329><PRE
13330CLASS="PROGRAMLISTING"
13331>void xmlNodeSetLang (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013332HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013333>xmlNodePtr</A
13334> cur,
13335 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013336HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013337>xmlChar</A
13338> *lang);</PRE
13339></TD
13340></TR
13341></TABLE
13342><P
13343>Set the language of a node, i.e. the values of the xml:lang
13344attribute.</P
13345><P
13346></P
13347><DIV
13348CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013349><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013350NAME="AEN6901"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013351></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013352><P
13353></P
13354><TABLE
13355BORDER="0"
13356WIDTH="100%"
13357BGCOLOR="#FFD0D0"
13358CELLSPACING="0"
13359CELLPADDING="4"
13360CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013361><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013362><TR
13363><TD
13364WIDTH="20%"
13365ALIGN="RIGHT"
13366VALIGN="TOP"
13367><TT
13368CLASS="PARAMETER"
13369><I
13370>cur</I
13371></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013372>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013373><TD
13374WIDTH="80%"
13375ALIGN="LEFT"
13376VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013377> the node being changed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013378></TR
13379><TR
13380><TD
13381WIDTH="20%"
13382ALIGN="RIGHT"
13383VALIGN="TOP"
13384><TT
13385CLASS="PARAMETER"
13386><I
13387>lang</I
13388></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013389>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013390><TD
13391WIDTH="80%"
13392ALIGN="LEFT"
13393VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013394> the langage description</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013395></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013396></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013397></TABLE
13398><P
13399></P
13400></DIV
13401></DIV
13402><HR><DIV
13403CLASS="REFSECT2"
13404><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013405NAME="AEN6914"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013406></A
13407><H3
13408><A
13409NAME="XMLNODEGETSPACEPRESERVE"
13410></A
13411>xmlNodeGetSpacePreserve ()</H3
13412><TABLE
13413BORDER="0"
13414BGCOLOR="#D6E8FF"
13415WIDTH="100%"
13416CELLPADDING="6"
13417><TR
13418><TD
13419><PRE
13420CLASS="PROGRAMLISTING"
13421>int xmlNodeGetSpacePreserve (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013422HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013423>xmlNodePtr</A
13424> cur);</PRE
13425></TD
13426></TR
13427></TABLE
13428><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013429>Searches the space preserving behaviour of a node, i.e. the values
13430of the xml:space attribute or the one carried by the nearest
13431ancestor.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013432><P
13433></P
13434><DIV
13435CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013436><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013437NAME="AEN6921"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013438></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013439><P
13440></P
13441><TABLE
13442BORDER="0"
13443WIDTH="100%"
13444BGCOLOR="#FFD0D0"
13445CELLSPACING="0"
13446CELLPADDING="4"
13447CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013448><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013449><TR
13450><TD
13451WIDTH="20%"
13452ALIGN="RIGHT"
13453VALIGN="TOP"
13454><TT
13455CLASS="PARAMETER"
13456><I
13457>cur</I
13458></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013459>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013460><TD
13461WIDTH="80%"
13462ALIGN="LEFT"
13463VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013464> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013465></TR
13466><TR
13467><TD
13468WIDTH="20%"
13469ALIGN="RIGHT"
13470VALIGN="TOP"
13471><I
13472CLASS="EMPHASIS"
13473>Returns</I
13474> :</TD
13475><TD
13476WIDTH="80%"
13477ALIGN="LEFT"
13478VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013479>-1 if xml:space is not inheried, 0 if "default", 1 if "preserve"</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013480></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013481></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013482></TABLE
13483><P
13484></P
13485></DIV
13486></DIV
13487><HR><DIV
13488CLASS="REFSECT2"
13489><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013490NAME="AEN6934"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013491></A
13492><H3
13493><A
13494NAME="XMLNODESETSPACEPRESERVE"
13495></A
13496>xmlNodeSetSpacePreserve ()</H3
13497><TABLE
13498BORDER="0"
13499BGCOLOR="#D6E8FF"
13500WIDTH="100%"
13501CELLPADDING="6"
13502><TR
13503><TD
13504><PRE
13505CLASS="PROGRAMLISTING"
13506>void xmlNodeSetSpacePreserve (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013507HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013508>xmlNodePtr</A
13509> cur,
13510 <GTKDOCLINK
13511HREF="INTVAL"
13512>intval</GTKDOCLINK
13513>);</PRE
13514></TD
13515></TR
13516></TABLE
13517><P
13518>Set (or reset) the space preserving behaviour of a node, i.e. the
13519value of the xml:space attribute.</P
13520><P
13521></P
13522><DIV
13523CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013524><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013525NAME="AEN6942"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013526></A
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013527><P
13528></P
13529><TABLE
13530BORDER="0"
13531WIDTH="100%"
13532BGCOLOR="#FFD0D0"
13533CELLSPACING="0"
13534CELLPADDING="4"
13535CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013536><TBODY
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013537><TR
13538><TD
13539WIDTH="20%"
13540ALIGN="RIGHT"
13541VALIGN="TOP"
13542><TT
13543CLASS="PARAMETER"
13544><I
13545>cur</I
13546></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013547>&nbsp;:</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013548><TD
13549WIDTH="80%"
13550ALIGN="LEFT"
13551VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013552> the node being changed</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013553></TR
13554><TR
13555><TD
13556WIDTH="20%"
13557ALIGN="RIGHT"
13558VALIGN="TOP"
13559><TT
13560CLASS="PARAMETER"
13561><I
13562>Param2</I
13563></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013564>&nbsp;:</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013565><TD
13566WIDTH="80%"
13567ALIGN="LEFT"
13568VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013569>&nbsp;</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013570></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013571></TBODY
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013572></TABLE
13573><P
13574></P
13575></DIV
13576></DIV
13577><HR><DIV
13578CLASS="REFSECT2"
13579><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013580NAME="AEN6955"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013581></A
13582><H3
13583><A
13584NAME="XMLNODEGETBASE"
13585></A
13586>xmlNodeGetBase ()</H3
13587><TABLE
13588BORDER="0"
13589BGCOLOR="#D6E8FF"
13590WIDTH="100%"
13591CELLPADDING="6"
13592><TR
13593><TD
13594><PRE
13595CLASS="PROGRAMLISTING"
13596><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013597HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013598>xmlChar</A
13599>* xmlNodeGetBase (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013600HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013601>xmlDocPtr</A
13602> doc,
13603 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013604HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013605>xmlNodePtr</A
13606> cur);</PRE
13607></TD
13608></TR
13609></TABLE
13610><P
13611>Searches for the BASE URL. The code should work on both XML
Daniel Veillard28929b22000-11-13 18:22:49 +000013612and HTML document even if base mechanisms are completely different.
13613It returns the base as defined in RFC 2396 sections
136145.1.1. Base URI within Document Content
13615and
136165.1.2. Base URI from the Encapsulating Entity
13617However it does not return the document base (5.1.3), use
13618<GTKDOCLINK
13619HREF="XMLDOCUMENTGETBASE"
13620>xmlDocumentGetBase</GTKDOCLINK
13621>() for this</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013622><P
13623></P
13624><DIV
13625CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013626><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013627NAME="AEN6965"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013628></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013629><P
13630></P
13631><TABLE
13632BORDER="0"
13633WIDTH="100%"
13634BGCOLOR="#FFD0D0"
13635CELLSPACING="0"
13636CELLPADDING="4"
13637CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013638><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013639><TR
13640><TD
13641WIDTH="20%"
13642ALIGN="RIGHT"
13643VALIGN="TOP"
13644><TT
13645CLASS="PARAMETER"
13646><I
13647>doc</I
13648></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013649>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013650><TD
13651WIDTH="80%"
13652ALIGN="LEFT"
13653VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013654> the document the node pertains to</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013655></TR
13656><TR
13657><TD
13658WIDTH="20%"
13659ALIGN="RIGHT"
13660VALIGN="TOP"
13661><TT
13662CLASS="PARAMETER"
13663><I
13664>cur</I
13665></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013666>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013667><TD
13668WIDTH="80%"
13669ALIGN="LEFT"
13670VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013671> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013672></TR
13673><TR
13674><TD
13675WIDTH="20%"
13676ALIGN="RIGHT"
13677VALIGN="TOP"
13678><I
13679CLASS="EMPHASIS"
13680>Returns</I
13681> :</TD
13682><TD
13683WIDTH="80%"
13684ALIGN="LEFT"
13685VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013686>a pointer to the base URL, or NULL if not found
13687It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013688></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013689></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013690></TABLE
13691><P
13692></P
13693></DIV
13694></DIV
13695><HR><DIV
13696CLASS="REFSECT2"
13697><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013698NAME="AEN6982"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013699></A
13700><H3
13701><A
13702NAME="XMLNODESETBASE"
13703></A
13704>xmlNodeSetBase ()</H3
13705><TABLE
13706BORDER="0"
13707BGCOLOR="#D6E8FF"
13708WIDTH="100%"
13709CELLPADDING="6"
13710><TR
13711><TD
13712><PRE
13713CLASS="PROGRAMLISTING"
13714>void xmlNodeSetBase (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013715HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013716>xmlNodePtr</A
13717> cur,
13718 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013719HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013720>xmlChar</A
13721> *uri);</PRE
13722></TD
13723></TR
13724></TABLE
13725><P
13726>Set (or reset) the base URI of a node, i.e. the value of the
13727xml:base attribute.</P
13728><P
13729></P
13730><DIV
13731CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013732><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013733NAME="AEN6990"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013734></A
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013735><P
13736></P
13737><TABLE
13738BORDER="0"
13739WIDTH="100%"
13740BGCOLOR="#FFD0D0"
13741CELLSPACING="0"
13742CELLPADDING="4"
13743CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013744><TBODY
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013745><TR
13746><TD
13747WIDTH="20%"
13748ALIGN="RIGHT"
13749VALIGN="TOP"
13750><TT
13751CLASS="PARAMETER"
13752><I
13753>cur</I
13754></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013755>&nbsp;:</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013756><TD
13757WIDTH="80%"
13758ALIGN="LEFT"
13759VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013760> the node being changed</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013761></TR
13762><TR
13763><TD
13764WIDTH="20%"
13765ALIGN="RIGHT"
13766VALIGN="TOP"
13767><TT
13768CLASS="PARAMETER"
13769><I
13770>uri</I
13771></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013772>&nbsp;:</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013773><TD
13774WIDTH="80%"
13775ALIGN="LEFT"
13776VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013777> the new base URI</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013778></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013779></TBODY
Daniel Veillard29a11cc2000-10-25 13:32:39 +000013780></TABLE
13781><P
13782></P
13783></DIV
13784></DIV
13785><HR><DIV
13786CLASS="REFSECT2"
13787><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013788NAME="AEN7003"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013789></A
13790><H3
13791><A
13792NAME="XMLREMOVEPROP"
13793></A
13794>xmlRemoveProp ()</H3
13795><TABLE
13796BORDER="0"
13797BGCOLOR="#D6E8FF"
13798WIDTH="100%"
13799CELLPADDING="6"
13800><TR
13801><TD
13802><PRE
13803CLASS="PROGRAMLISTING"
13804>int xmlRemoveProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013805HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013806>xmlAttrPtr</A
13807> attr);</PRE
13808></TD
13809></TR
13810></TABLE
13811><P
13812>Unlink and free one attribute, all the content is freed too
13813Note this doesn't work for namespace definition attributes</P
13814><P
13815></P
13816><DIV
13817CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013818><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013819NAME="AEN7010"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013820></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013821><P
13822></P
13823><TABLE
13824BORDER="0"
13825WIDTH="100%"
13826BGCOLOR="#FFD0D0"
13827CELLSPACING="0"
13828CELLPADDING="4"
13829CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013830><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013831><TR
13832><TD
13833WIDTH="20%"
13834ALIGN="RIGHT"
13835VALIGN="TOP"
13836><TT
13837CLASS="PARAMETER"
13838><I
13839>attr</I
13840></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013841>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013842><TD
13843WIDTH="80%"
13844ALIGN="LEFT"
13845VALIGN="TOP"
13846>&nbsp;</TD
13847></TR
13848><TR
13849><TD
13850WIDTH="20%"
13851ALIGN="RIGHT"
13852VALIGN="TOP"
13853><I
13854CLASS="EMPHASIS"
13855>Returns</I
13856> :</TD
13857><TD
13858WIDTH="80%"
13859ALIGN="LEFT"
13860VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013861>0 if success and -1 in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013862></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013863></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013864></TABLE
13865><P
13866></P
13867></DIV
13868></DIV
13869><HR><DIV
13870CLASS="REFSECT2"
13871><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013872NAME="AEN7023"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013873></A
13874><H3
13875><A
13876NAME="XMLUNSETPROP"
13877></A
13878>xmlUnsetProp ()</H3
13879><TABLE
13880BORDER="0"
13881BGCOLOR="#D6E8FF"
13882WIDTH="100%"
13883CELLPADDING="6"
13884><TR
13885><TD
13886><PRE
13887CLASS="PROGRAMLISTING"
13888>int xmlUnsetProp (<A
13889HREF="libxml-tree.html#XMLNODEPTR"
13890>xmlNodePtr</A
13891> node,
13892 const <A
13893HREF="libxml-tree.html#XMLCHAR"
13894>xmlChar</A
13895> *name);</PRE
13896></TD
13897></TR
13898></TABLE
13899><P
13900>Remove an attribute carried by a node.</P
13901><P
13902></P
13903><DIV
13904CLASS="INFORMALTABLE"
13905><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013906NAME="AEN7031"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013907></A
13908><P
13909></P
13910><TABLE
13911BORDER="0"
13912WIDTH="100%"
13913BGCOLOR="#FFD0D0"
13914CELLSPACING="0"
13915CELLPADDING="4"
13916CLASS="CALSTABLE"
13917><TBODY
13918><TR
13919><TD
13920WIDTH="20%"
13921ALIGN="RIGHT"
13922VALIGN="TOP"
13923><TT
13924CLASS="PARAMETER"
13925><I
13926>node</I
13927></TT
13928>&nbsp;:</TD
13929><TD
13930WIDTH="80%"
13931ALIGN="LEFT"
13932VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013933> the node</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013934></TR
13935><TR
13936><TD
13937WIDTH="20%"
13938ALIGN="RIGHT"
13939VALIGN="TOP"
13940><TT
13941CLASS="PARAMETER"
13942><I
13943>name</I
13944></TT
13945>&nbsp;:</TD
13946><TD
13947WIDTH="80%"
13948ALIGN="LEFT"
13949VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013950> the attribute name</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013951></TR
13952><TR
13953><TD
13954WIDTH="20%"
13955ALIGN="RIGHT"
13956VALIGN="TOP"
13957><I
13958CLASS="EMPHASIS"
13959>Returns</I
13960> :</TD
13961><TD
13962WIDTH="80%"
13963ALIGN="LEFT"
13964VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013965>0 if successful, -1 if not found</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013966></TR
13967></TBODY
13968></TABLE
13969><P
13970></P
13971></DIV
13972></DIV
13973><HR><DIV
13974CLASS="REFSECT2"
13975><A
Daniel Veillard60087f32001-10-10 09:45:09 +000013976NAME="AEN7048"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013977></A
13978><H3
13979><A
13980NAME="XMLUNSETNSPROP"
13981></A
13982>xmlUnsetNsProp ()</H3
13983><TABLE
13984BORDER="0"
13985BGCOLOR="#D6E8FF"
13986WIDTH="100%"
13987CELLPADDING="6"
13988><TR
13989><TD
13990><PRE
13991CLASS="PROGRAMLISTING"
13992>int xmlUnsetNsProp (<A
13993HREF="libxml-tree.html#XMLNODEPTR"
13994>xmlNodePtr</A
13995> node,
13996 <A
13997HREF="libxml-tree.html#XMLNSPTR"
13998>xmlNsPtr</A
13999> ns,
14000 const <A
14001HREF="libxml-tree.html#XMLCHAR"
14002>xmlChar</A
14003> *name);</PRE
14004></TD
14005></TR
14006></TABLE
14007><P
14008>Remove an attribute carried by a node.</P
14009><P
14010></P
14011><DIV
14012CLASS="INFORMALTABLE"
14013><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014014NAME="AEN7057"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000014015></A
14016><P
14017></P
14018><TABLE
14019BORDER="0"
14020WIDTH="100%"
14021BGCOLOR="#FFD0D0"
14022CELLSPACING="0"
14023CELLPADDING="4"
14024CLASS="CALSTABLE"
14025><TBODY
14026><TR
14027><TD
14028WIDTH="20%"
14029ALIGN="RIGHT"
14030VALIGN="TOP"
14031><TT
14032CLASS="PARAMETER"
14033><I
14034>node</I
14035></TT
14036>&nbsp;:</TD
14037><TD
14038WIDTH="80%"
14039ALIGN="LEFT"
14040VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014041> the node</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000014042></TR
14043><TR
14044><TD
14045WIDTH="20%"
14046ALIGN="RIGHT"
14047VALIGN="TOP"
14048><TT
14049CLASS="PARAMETER"
14050><I
14051>ns</I
14052></TT
14053>&nbsp;:</TD
14054><TD
14055WIDTH="80%"
14056ALIGN="LEFT"
14057VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014058> the namespace definition</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000014059></TR
14060><TR
14061><TD
14062WIDTH="20%"
14063ALIGN="RIGHT"
14064VALIGN="TOP"
14065><TT
14066CLASS="PARAMETER"
14067><I
14068>name</I
14069></TT
14070>&nbsp;:</TD
14071><TD
14072WIDTH="80%"
14073ALIGN="LEFT"
14074VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014075> the attribute name</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000014076></TR
14077><TR
14078><TD
14079WIDTH="20%"
14080ALIGN="RIGHT"
14081VALIGN="TOP"
14082><I
14083CLASS="EMPHASIS"
14084>Returns</I
14085> :</TD
14086><TD
14087WIDTH="80%"
14088ALIGN="LEFT"
14089VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014090>0 if successful, -1 if not found</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000014091></TR
14092></TBODY
14093></TABLE
14094><P
14095></P
14096></DIV
14097></DIV
14098><HR><DIV
14099CLASS="REFSECT2"
14100><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014101NAME="AEN7078"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014102></A
14103><H3
14104><A
14105NAME="XMLBUFFERWRITEXMLCHAR"
14106></A
14107>xmlBufferWriteXmlCHAR ()</H3
14108><TABLE
14109BORDER="0"
14110BGCOLOR="#D6E8FF"
14111WIDTH="100%"
14112CELLPADDING="6"
14113><TR
14114><TD
14115><PRE
14116CLASS="PROGRAMLISTING"
14117>void xmlBufferWriteXmlCHAR (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014118HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014119>xmlBufferPtr</A
14120> buf,
14121 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014122HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014123>xmlChar</A
14124> *string);</PRE
14125></TD
14126></TR
14127></TABLE
14128><P
Daniel Veillardf012a642001-07-23 19:10:52 +000014129>For VMS only.
14130routine which manages and grows an output buffer. This one adds
14131xmlChars at the end of the buffer.</P
14132><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014133></P
14134><DIV
14135CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014136><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014137NAME="AEN7086"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014138></A
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014139><P
14140></P
14141><TABLE
14142BORDER="0"
14143WIDTH="100%"
14144BGCOLOR="#FFD0D0"
14145CELLSPACING="0"
14146CELLPADDING="4"
14147CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014148><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014149><TR
14150><TD
14151WIDTH="20%"
14152ALIGN="RIGHT"
14153VALIGN="TOP"
14154><TT
14155CLASS="PARAMETER"
14156><I
14157>buf</I
14158></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014159>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014160><TD
14161WIDTH="80%"
14162ALIGN="LEFT"
14163VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014164> the XML buffer</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014165></TR
14166><TR
14167><TD
14168WIDTH="20%"
14169ALIGN="RIGHT"
14170VALIGN="TOP"
14171><TT
14172CLASS="PARAMETER"
14173><I
14174>string</I
14175></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014176>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014177><TD
14178WIDTH="80%"
14179ALIGN="LEFT"
14180VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014181> the string to add</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014182></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014183></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014184></TABLE
14185><P
14186></P
14187></DIV
14188></DIV
14189><HR><DIV
14190CLASS="REFSECT2"
14191><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014192NAME="AEN7099"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014193></A
14194><H3
14195><A
14196NAME="XMLBUFFERWRITECHAR"
14197></A
14198>xmlBufferWriteCHAR ()</H3
14199><TABLE
14200BORDER="0"
14201BGCOLOR="#D6E8FF"
14202WIDTH="100%"
14203CELLPADDING="6"
14204><TR
14205><TD
14206><PRE
14207CLASS="PROGRAMLISTING"
14208>void xmlBufferWriteCHAR (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014209HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014210>xmlBufferPtr</A
14211> buf,
14212 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014213HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014214>xmlChar</A
14215> *string);</PRE
14216></TD
14217></TR
14218></TABLE
14219><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014220>routine which manages and grows an output buffer. This one adds
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014221xmlChars at the end of the buffer.</P
14222><P
14223></P
14224><DIV
14225CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014226><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014227NAME="AEN7107"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014228></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014229><P
14230></P
14231><TABLE
14232BORDER="0"
14233WIDTH="100%"
14234BGCOLOR="#FFD0D0"
14235CELLSPACING="0"
14236CELLPADDING="4"
14237CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014238><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014239><TR
14240><TD
14241WIDTH="20%"
14242ALIGN="RIGHT"
14243VALIGN="TOP"
14244><TT
14245CLASS="PARAMETER"
14246><I
14247>buf</I
14248></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014249>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014250><TD
14251WIDTH="80%"
14252ALIGN="LEFT"
14253VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014254> the XML buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014255></TR
14256><TR
14257><TD
14258WIDTH="20%"
14259ALIGN="RIGHT"
14260VALIGN="TOP"
14261><TT
14262CLASS="PARAMETER"
14263><I
14264>string</I
14265></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014266>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014267><TD
14268WIDTH="80%"
14269ALIGN="LEFT"
14270VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014271> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014272></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014273></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014274></TABLE
14275><P
14276></P
14277></DIV
14278></DIV
14279><HR><DIV
14280CLASS="REFSECT2"
14281><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014282NAME="AEN7120"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014283></A
14284><H3
14285><A
14286NAME="XMLBUFFERWRITECHAR"
14287></A
14288>xmlBufferWriteChar ()</H3
14289><TABLE
14290BORDER="0"
14291BGCOLOR="#D6E8FF"
14292WIDTH="100%"
14293CELLPADDING="6"
14294><TR
14295><TD
14296><PRE
14297CLASS="PROGRAMLISTING"
14298>void xmlBufferWriteChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014299HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014300>xmlBufferPtr</A
14301> buf,
14302 const char *string);</PRE
14303></TD
14304></TR
14305></TABLE
14306><P
14307>routine which manage and grows an output buffer. This one add
14308C chars at the end of the array.</P
14309><P
14310></P
14311><DIV
14312CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014313><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014314NAME="AEN7127"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014315></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014316><P
14317></P
14318><TABLE
14319BORDER="0"
14320WIDTH="100%"
14321BGCOLOR="#FFD0D0"
14322CELLSPACING="0"
14323CELLPADDING="4"
14324CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014325><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014326><TR
14327><TD
14328WIDTH="20%"
14329ALIGN="RIGHT"
14330VALIGN="TOP"
14331><TT
14332CLASS="PARAMETER"
14333><I
14334>buf</I
14335></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014336>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014337><TD
14338WIDTH="80%"
14339ALIGN="LEFT"
14340VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014341> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014342></TR
14343><TR
14344><TD
14345WIDTH="20%"
14346ALIGN="RIGHT"
14347VALIGN="TOP"
14348><TT
14349CLASS="PARAMETER"
14350><I
14351>string</I
14352></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014353>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014354><TD
14355WIDTH="80%"
14356ALIGN="LEFT"
14357VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014358> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014359></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014360></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014361></TABLE
14362><P
14363></P
14364></DIV
14365></DIV
14366><HR><DIV
14367CLASS="REFSECT2"
14368><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014369NAME="AEN7140"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014370></A
14371><H3
14372><A
14373NAME="XMLBUFFERWRITEQUOTEDSTRING"
14374></A
14375>xmlBufferWriteQuotedString ()</H3
14376><TABLE
14377BORDER="0"
14378BGCOLOR="#D6E8FF"
14379WIDTH="100%"
14380CELLPADDING="6"
14381><TR
14382><TD
14383><PRE
14384CLASS="PROGRAMLISTING"
14385>void xmlBufferWriteQuotedString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014386HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014387>xmlBufferPtr</A
14388> buf,
14389 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014390HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014391>xmlChar</A
14392> *string);</PRE
14393></TD
14394></TR
14395></TABLE
14396><P
14397>routine which manage and grows an output buffer. This one writes
14398a quoted or double quoted xmlChar string, checking first if it holds
14399quote or double-quotes internally</P
14400><P
14401></P
14402><DIV
14403CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014404><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014405NAME="AEN7148"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014406></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014407><P
14408></P
14409><TABLE
14410BORDER="0"
14411WIDTH="100%"
14412BGCOLOR="#FFD0D0"
14413CELLSPACING="0"
14414CELLPADDING="4"
14415CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014416><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014417><TR
14418><TD
14419WIDTH="20%"
14420ALIGN="RIGHT"
14421VALIGN="TOP"
14422><TT
14423CLASS="PARAMETER"
14424><I
14425>buf</I
14426></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014427>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014428><TD
14429WIDTH="80%"
14430ALIGN="LEFT"
14431VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014432> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014433></TR
14434><TR
14435><TD
14436WIDTH="20%"
14437ALIGN="RIGHT"
14438VALIGN="TOP"
14439><TT
14440CLASS="PARAMETER"
14441><I
14442>string</I
14443></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014444>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014445><TD
14446WIDTH="80%"
14447ALIGN="LEFT"
14448VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014449> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014450></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014451></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014452></TABLE
14453><P
14454></P
14455></DIV
14456></DIV
14457><HR><DIV
14458CLASS="REFSECT2"
14459><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014460NAME="AEN7161"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014461></A
14462><H3
14463><A
14464NAME="XMLRECONCILIATENS"
14465></A
14466>xmlReconciliateNs ()</H3
14467><TABLE
14468BORDER="0"
14469BGCOLOR="#D6E8FF"
14470WIDTH="100%"
14471CELLPADDING="6"
14472><TR
14473><TD
14474><PRE
14475CLASS="PROGRAMLISTING"
14476>int xmlReconciliateNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014477HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014478>xmlDocPtr</A
14479> doc,
14480 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014481HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014482>xmlNodePtr</A
14483> tree);</PRE
14484></TD
14485></TR
14486></TABLE
14487><P
14488>This function checks that all the namespaces declared within the given
14489tree are properly declared. This is needed for example after Copy or Cut
14490and then paste operations. The subtree may still hold pointers to
14491namespace declarations outside the subtree or invalid/masked. As much
14492as possible the function try tu reuse the existing namespaces found in
14493the new environment. If not possible the new namespaces are redeclared
14494on <TT
14495CLASS="PARAMETER"
14496><I
14497>tree</I
14498></TT
14499> at the top of the given subtree.</P
14500><P
14501></P
14502><DIV
14503CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014504><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014505NAME="AEN7170"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014506></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014507><P
14508></P
14509><TABLE
14510BORDER="0"
14511WIDTH="100%"
14512BGCOLOR="#FFD0D0"
14513CELLSPACING="0"
14514CELLPADDING="4"
14515CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014516><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014517><TR
14518><TD
14519WIDTH="20%"
14520ALIGN="RIGHT"
14521VALIGN="TOP"
14522><TT
14523CLASS="PARAMETER"
14524><I
14525>doc</I
14526></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014527>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014528><TD
14529WIDTH="80%"
14530ALIGN="LEFT"
14531VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014532> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014533></TR
14534><TR
14535><TD
14536WIDTH="20%"
14537ALIGN="RIGHT"
14538VALIGN="TOP"
14539><TT
14540CLASS="PARAMETER"
14541><I
14542>tree</I
14543></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014544>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014545><TD
14546WIDTH="80%"
14547ALIGN="LEFT"
14548VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014549> a node defining the subtree to reconciliate</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014550></TR
14551><TR
14552><TD
14553WIDTH="20%"
14554ALIGN="RIGHT"
14555VALIGN="TOP"
14556><I
14557CLASS="EMPHASIS"
14558>Returns</I
14559> :</TD
14560><TD
14561WIDTH="80%"
14562ALIGN="LEFT"
14563VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014564>the number of namespace declarations created or -1 in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014565></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014566></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014567></TABLE
14568><P
14569></P
14570></DIV
14571></DIV
14572><HR><DIV
14573CLASS="REFSECT2"
14574><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014575NAME="AEN7187"
Daniel Veillard503b8932001-01-05 06:36:31 +000014576></A
14577><H3
14578><A
14579NAME="XMLDOCDUMPFORMATMEMORY"
14580></A
14581>xmlDocDumpFormatMemory ()</H3
14582><TABLE
14583BORDER="0"
14584BGCOLOR="#D6E8FF"
14585WIDTH="100%"
14586CELLPADDING="6"
14587><TR
14588><TD
14589><PRE
14590CLASS="PROGRAMLISTING"
14591>void xmlDocDumpFormatMemory (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014592HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +000014593>xmlDocPtr</A
14594> cur,
14595 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014596HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +000014597>xmlChar</A
14598> **mem,
14599 int *size,
14600 int format);</PRE
14601></TD
14602></TR
14603></TABLE
14604><P
14605>Dump an XML document in memory and return the xmlChar * and it's size.
14606It's up to the caller to free the memory.</P
14607><P
14608></P
14609><DIV
14610CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014611><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014612NAME="AEN7195"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014613></A
Daniel Veillard503b8932001-01-05 06:36:31 +000014614><P
14615></P
14616><TABLE
14617BORDER="0"
14618WIDTH="100%"
14619BGCOLOR="#FFD0D0"
14620CELLSPACING="0"
14621CELLPADDING="4"
14622CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014623><TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +000014624><TR
14625><TD
14626WIDTH="20%"
14627ALIGN="RIGHT"
14628VALIGN="TOP"
14629><TT
14630CLASS="PARAMETER"
14631><I
14632>cur</I
14633></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014634>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000014635><TD
14636WIDTH="80%"
14637ALIGN="LEFT"
14638VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014639> the document</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000014640></TR
14641><TR
14642><TD
14643WIDTH="20%"
14644ALIGN="RIGHT"
14645VALIGN="TOP"
14646><TT
14647CLASS="PARAMETER"
14648><I
14649>mem</I
14650></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014651>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000014652><TD
14653WIDTH="80%"
14654ALIGN="LEFT"
14655VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014656> OUT: the memory pointer</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000014657></TR
14658><TR
14659><TD
14660WIDTH="20%"
14661ALIGN="RIGHT"
14662VALIGN="TOP"
14663><TT
14664CLASS="PARAMETER"
14665><I
14666>size</I
14667></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014668>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000014669><TD
14670WIDTH="80%"
14671ALIGN="LEFT"
14672VALIGN="TOP"
Daniel Veillard60087f32001-10-10 09:45:09 +000014673> OUT: the memory length</TD
Daniel Veillard4b8328d2001-07-05 22:48:42 +000014674></TR
14675><TR
14676><TD
14677WIDTH="20%"
14678ALIGN="RIGHT"
14679VALIGN="TOP"
14680><TT
14681CLASS="PARAMETER"
14682><I
14683>format</I
14684></TT
14685>&nbsp;:</TD
14686><TD
14687WIDTH="80%"
14688ALIGN="LEFT"
14689VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014690> should formatting spaces been added</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000014691></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014692></TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +000014693></TABLE
14694><P
14695></P
14696></DIV
14697></DIV
14698><HR><DIV
14699CLASS="REFSECT2"
14700><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014701NAME="AEN7216"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000014702></A
14703><H3
14704><A
14705NAME="XMLDOCDUMPMEMORY"
14706></A
14707>xmlDocDumpMemory ()</H3
14708><TABLE
14709BORDER="0"
14710BGCOLOR="#D6E8FF"
14711WIDTH="100%"
14712CELLPADDING="6"
14713><TR
14714><TD
14715><PRE
14716CLASS="PROGRAMLISTING"
14717>void xmlDocDumpMemory (<A
14718HREF="libxml-tree.html#XMLDOCPTR"
14719>xmlDocPtr</A
14720> cur,
14721 <A
14722HREF="libxml-tree.html#XMLCHAR"
14723>xmlChar</A
14724> **mem,
14725 int *size);</PRE
14726></TD
14727></TR
14728></TABLE
14729><P
14730>Dump an XML document in memory and return the xmlChar * and it's size.
14731It's up to the caller to free the memory.</P
14732><P
14733></P
14734><DIV
14735CLASS="INFORMALTABLE"
14736><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014737NAME="AEN7224"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000014738></A
14739><P
14740></P
14741><TABLE
14742BORDER="0"
14743WIDTH="100%"
14744BGCOLOR="#FFD0D0"
14745CELLSPACING="0"
14746CELLPADDING="4"
14747CLASS="CALSTABLE"
14748><TBODY
14749><TR
14750><TD
14751WIDTH="20%"
14752ALIGN="RIGHT"
14753VALIGN="TOP"
14754><TT
14755CLASS="PARAMETER"
14756><I
14757>cur</I
14758></TT
14759>&nbsp;:</TD
14760><TD
14761WIDTH="80%"
14762ALIGN="LEFT"
14763VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014764> the document</TD
Daniel Veillard4b8328d2001-07-05 22:48:42 +000014765></TR
14766><TR
14767><TD
14768WIDTH="20%"
14769ALIGN="RIGHT"
14770VALIGN="TOP"
14771><TT
14772CLASS="PARAMETER"
14773><I
14774>mem</I
14775></TT
14776>&nbsp;:</TD
14777><TD
14778WIDTH="80%"
14779ALIGN="LEFT"
14780VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014781> OUT: the memory pointer</TD
Daniel Veillard4b8328d2001-07-05 22:48:42 +000014782></TR
14783><TR
14784><TD
14785WIDTH="20%"
14786ALIGN="RIGHT"
14787VALIGN="TOP"
14788><TT
14789CLASS="PARAMETER"
14790><I
14791>size</I
14792></TT
14793>&nbsp;:</TD
14794><TD
14795WIDTH="80%"
14796ALIGN="LEFT"
14797VALIGN="TOP"
Daniel Veillard60087f32001-10-10 09:45:09 +000014798> OUT: the memory length</TD
Daniel Veillard4b8328d2001-07-05 22:48:42 +000014799></TR
14800></TBODY
14801></TABLE
14802><P
14803></P
14804></DIV
14805></DIV
14806><HR><DIV
14807CLASS="REFSECT2"
14808><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014809NAME="AEN7241"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014810></A
14811><H3
14812><A
14813NAME="XMLDOCDUMPMEMORYENC"
14814></A
14815>xmlDocDumpMemoryEnc ()</H3
14816><TABLE
14817BORDER="0"
14818BGCOLOR="#D6E8FF"
14819WIDTH="100%"
14820CELLPADDING="6"
14821><TR
14822><TD
14823><PRE
14824CLASS="PROGRAMLISTING"
14825>void xmlDocDumpMemoryEnc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014826HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014827>xmlDocPtr</A
14828> out_doc,
14829 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014830HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014831>xmlChar</A
14832> **doc_txt_ptr,
14833 int *doc_txt_len,
14834 const char *txt_encoding);</PRE
14835></TD
14836></TR
14837></TABLE
14838><P
14839>Dump the current DOM tree into memory using the character encoding specified
14840by the caller. Note it is up to the caller of this function to free the
14841allocated memory.</P
14842><P
14843></P
14844><DIV
14845CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014846><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014847NAME="AEN7249"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014848></A
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014849><P
14850></P
14851><TABLE
14852BORDER="0"
14853WIDTH="100%"
14854BGCOLOR="#FFD0D0"
14855CELLSPACING="0"
14856CELLPADDING="4"
14857CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014858><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014859><TR
14860><TD
14861WIDTH="20%"
14862ALIGN="RIGHT"
14863VALIGN="TOP"
14864><TT
14865CLASS="PARAMETER"
14866><I
14867>out_doc</I
14868></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014869>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014870><TD
14871WIDTH="80%"
14872ALIGN="LEFT"
14873VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014874> Document to generate XML text from</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014875></TR
14876><TR
14877><TD
14878WIDTH="20%"
14879ALIGN="RIGHT"
14880VALIGN="TOP"
14881><TT
14882CLASS="PARAMETER"
14883><I
14884>doc_txt_ptr</I
14885></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014886>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014887><TD
14888WIDTH="80%"
14889ALIGN="LEFT"
14890VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014891> Memory pointer for allocated XML text</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014892></TR
14893><TR
14894><TD
14895WIDTH="20%"
14896ALIGN="RIGHT"
14897VALIGN="TOP"
14898><TT
14899CLASS="PARAMETER"
14900><I
14901>doc_txt_len</I
14902></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014903>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014904><TD
14905WIDTH="80%"
14906ALIGN="LEFT"
14907VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014908> Length of the generated XML text</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014909></TR
14910><TR
14911><TD
14912WIDTH="20%"
14913ALIGN="RIGHT"
14914VALIGN="TOP"
14915><TT
14916CLASS="PARAMETER"
14917><I
14918>txt_encoding</I
14919></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014920>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014921><TD
14922WIDTH="80%"
14923ALIGN="LEFT"
14924VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014925> Character encoding to use when generating XML text</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014926></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014927></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +000014928></TABLE
14929><P
14930></P
14931></DIV
14932></DIV
14933><HR><DIV
14934CLASS="REFSECT2"
14935><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014936NAME="AEN7270"
Daniel Veillard503b8932001-01-05 06:36:31 +000014937></A
14938><H3
14939><A
14940NAME="XMLDOCDUMPFORMATMEMORYENC"
14941></A
14942>xmlDocDumpFormatMemoryEnc ()</H3
14943><TABLE
14944BORDER="0"
14945BGCOLOR="#D6E8FF"
14946WIDTH="100%"
14947CELLPADDING="6"
14948><TR
14949><TD
14950><PRE
14951CLASS="PROGRAMLISTING"
14952>void xmlDocDumpFormatMemoryEnc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014953HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +000014954>xmlDocPtr</A
14955> out_doc,
14956 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014957HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +000014958>xmlChar</A
14959> **doc_txt_ptr,
14960 int *doc_txt_len,
14961 const char *txt_encoding,
14962 int format);</PRE
14963></TD
14964></TR
14965></TABLE
14966><P
Daniel Veillardf012a642001-07-23 19:10:52 +000014967>Dump the current DOM tree into memory using the character encoding specified
14968by the caller. Note it is up to the caller of this function to free the
14969allocated memory.</P
14970><P
Daniel Veillard503b8932001-01-05 06:36:31 +000014971></P
14972><DIV
14973CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014974><A
Daniel Veillard60087f32001-10-10 09:45:09 +000014975NAME="AEN7278"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014976></A
Daniel Veillard503b8932001-01-05 06:36:31 +000014977><P
14978></P
14979><TABLE
14980BORDER="0"
14981WIDTH="100%"
14982BGCOLOR="#FFD0D0"
14983CELLSPACING="0"
14984CELLPADDING="4"
14985CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014986><TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +000014987><TR
14988><TD
14989WIDTH="20%"
14990ALIGN="RIGHT"
14991VALIGN="TOP"
14992><TT
14993CLASS="PARAMETER"
14994><I
14995>out_doc</I
14996></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014997>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000014998><TD
14999WIDTH="80%"
15000ALIGN="LEFT"
15001VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015002> Document to generate XML text from</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015003></TR
15004><TR
15005><TD
15006WIDTH="20%"
15007ALIGN="RIGHT"
15008VALIGN="TOP"
15009><TT
15010CLASS="PARAMETER"
15011><I
15012>doc_txt_ptr</I
15013></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015014>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015015><TD
15016WIDTH="80%"
15017ALIGN="LEFT"
15018VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015019> Memory pointer for allocated XML text</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015020></TR
15021><TR
15022><TD
15023WIDTH="20%"
15024ALIGN="RIGHT"
15025VALIGN="TOP"
15026><TT
15027CLASS="PARAMETER"
15028><I
15029>doc_txt_len</I
15030></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015031>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015032><TD
15033WIDTH="80%"
15034ALIGN="LEFT"
15035VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015036> Length of the generated XML text</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015037></TR
15038><TR
15039><TD
15040WIDTH="20%"
15041ALIGN="RIGHT"
15042VALIGN="TOP"
15043><TT
15044CLASS="PARAMETER"
15045><I
15046>txt_encoding</I
15047></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015048>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015049><TD
15050WIDTH="80%"
15051ALIGN="LEFT"
15052VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015053> Character encoding to use when generating XML text</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015054></TR
15055><TR
15056><TD
15057WIDTH="20%"
15058ALIGN="RIGHT"
15059VALIGN="TOP"
15060><TT
15061CLASS="PARAMETER"
15062><I
15063>format</I
15064></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015065>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015066><TD
15067WIDTH="80%"
15068ALIGN="LEFT"
15069VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015070> should formatting spaces been added</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000015071></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015072></TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +000015073></TABLE
15074><P
15075></P
15076></DIV
15077></DIV
15078><HR><DIV
15079CLASS="REFSECT2"
15080><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015081NAME="AEN7303"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015082></A
15083><H3
15084><A
15085NAME="XMLDOCDUMP"
15086></A
15087>xmlDocDump ()</H3
15088><TABLE
15089BORDER="0"
15090BGCOLOR="#D6E8FF"
15091WIDTH="100%"
15092CELLPADDING="6"
15093><TR
15094><TD
15095><PRE
15096CLASS="PROGRAMLISTING"
15097>int xmlDocDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000015098HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015099>FILE</GTKDOCLINK
15100> *f,
15101 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015102HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015103>xmlDocPtr</A
15104> cur);</PRE
15105></TD
15106></TR
15107></TABLE
15108><P
15109>Dump an XML document to an open FILE.</P
15110><P
15111></P
15112><DIV
15113CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015114><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015115NAME="AEN7311"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015116></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015117><P
15118></P
15119><TABLE
15120BORDER="0"
15121WIDTH="100%"
15122BGCOLOR="#FFD0D0"
15123CELLSPACING="0"
15124CELLPADDING="4"
15125CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015126><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015127><TR
15128><TD
15129WIDTH="20%"
15130ALIGN="RIGHT"
15131VALIGN="TOP"
15132><TT
15133CLASS="PARAMETER"
15134><I
15135>f</I
15136></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015137>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015138><TD
15139WIDTH="80%"
15140ALIGN="LEFT"
15141VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015142> the FILE*</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015143></TR
15144><TR
15145><TD
15146WIDTH="20%"
15147ALIGN="RIGHT"
15148VALIGN="TOP"
15149><TT
15150CLASS="PARAMETER"
15151><I
15152>cur</I
15153></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015154>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015155><TD
15156WIDTH="80%"
15157ALIGN="LEFT"
15158VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015159> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015160></TR
15161><TR
15162><TD
15163WIDTH="20%"
15164ALIGN="RIGHT"
15165VALIGN="TOP"
15166><I
15167CLASS="EMPHASIS"
15168>Returns</I
15169> :</TD
15170><TD
15171WIDTH="80%"
15172ALIGN="LEFT"
15173VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015174> the number of byte written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015175></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015176></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015177></TABLE
15178><P
15179></P
15180></DIV
15181></DIV
15182><HR><DIV
15183CLASS="REFSECT2"
15184><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015185NAME="AEN7328"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015186></A
15187><H3
15188><A
15189NAME="XMLELEMDUMP"
15190></A
15191>xmlElemDump ()</H3
15192><TABLE
15193BORDER="0"
15194BGCOLOR="#D6E8FF"
15195WIDTH="100%"
15196CELLPADDING="6"
15197><TR
15198><TD
15199><PRE
15200CLASS="PROGRAMLISTING"
15201>void xmlElemDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000015202HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015203>FILE</GTKDOCLINK
15204> *f,
15205 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015206HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015207>xmlDocPtr</A
15208> doc,
15209 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015210HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015211>xmlNodePtr</A
15212> cur);</PRE
15213></TD
15214></TR
15215></TABLE
15216><P
15217>Dump an XML/HTML node, recursive behaviour,children are printed too.</P
15218><P
15219></P
15220><DIV
15221CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015222><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015223NAME="AEN7337"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015224></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015225><P
15226></P
15227><TABLE
15228BORDER="0"
15229WIDTH="100%"
15230BGCOLOR="#FFD0D0"
15231CELLSPACING="0"
15232CELLPADDING="4"
15233CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015234><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015235><TR
15236><TD
15237WIDTH="20%"
15238ALIGN="RIGHT"
15239VALIGN="TOP"
15240><TT
15241CLASS="PARAMETER"
15242><I
15243>f</I
15244></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015245>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015246><TD
15247WIDTH="80%"
15248ALIGN="LEFT"
15249VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015250> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015251></TR
15252><TR
15253><TD
15254WIDTH="20%"
15255ALIGN="RIGHT"
15256VALIGN="TOP"
15257><TT
15258CLASS="PARAMETER"
15259><I
15260>doc</I
15261></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015262>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015263><TD
15264WIDTH="80%"
15265ALIGN="LEFT"
15266VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015267> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015268></TR
15269><TR
15270><TD
15271WIDTH="20%"
15272ALIGN="RIGHT"
15273VALIGN="TOP"
15274><TT
15275CLASS="PARAMETER"
15276><I
15277>cur</I
15278></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015279>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015280><TD
15281WIDTH="80%"
15282ALIGN="LEFT"
15283VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015284> the current node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015285></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015286></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015287></TABLE
15288><P
15289></P
15290></DIV
15291></DIV
15292><HR><DIV
15293CLASS="REFSECT2"
15294><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015295NAME="AEN7354"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015296></A
15297><H3
15298><A
15299NAME="XMLSAVEFILE"
15300></A
15301>xmlSaveFile ()</H3
15302><TABLE
15303BORDER="0"
15304BGCOLOR="#D6E8FF"
15305WIDTH="100%"
15306CELLPADDING="6"
15307><TR
15308><TD
15309><PRE
15310CLASS="PROGRAMLISTING"
15311>int xmlSaveFile (const char *filename,
15312 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015313HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015314>xmlDocPtr</A
15315> cur);</PRE
15316></TD
15317></TR
15318></TABLE
15319><P
15320>Dump an XML document to a file. Will use compression if
15321compiled in and enabled. If <TT
15322CLASS="PARAMETER"
15323><I
15324>filename</I
15325></TT
15326> is "-" the stdout file is
15327used.</P
15328><P
15329></P
15330><DIV
15331CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015332><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015333NAME="AEN7362"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015334></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015335><P
15336></P
15337><TABLE
15338BORDER="0"
15339WIDTH="100%"
15340BGCOLOR="#FFD0D0"
15341CELLSPACING="0"
15342CELLPADDING="4"
15343CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015344><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015345><TR
15346><TD
15347WIDTH="20%"
15348ALIGN="RIGHT"
15349VALIGN="TOP"
15350><TT
15351CLASS="PARAMETER"
15352><I
15353>filename</I
15354></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015355>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015356><TD
15357WIDTH="80%"
15358ALIGN="LEFT"
15359VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015360> the filename (or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015361></TR
15362><TR
15363><TD
15364WIDTH="20%"
15365ALIGN="RIGHT"
15366VALIGN="TOP"
15367><TT
15368CLASS="PARAMETER"
15369><I
15370>cur</I
15371></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015372>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015373><TD
15374WIDTH="80%"
15375ALIGN="LEFT"
15376VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015377> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015378></TR
15379><TR
15380><TD
15381WIDTH="20%"
15382ALIGN="RIGHT"
15383VALIGN="TOP"
15384><I
15385CLASS="EMPHASIS"
15386>Returns</I
15387> :</TD
15388><TD
15389WIDTH="80%"
15390ALIGN="LEFT"
15391VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015392> the number of byte written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015393></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015394></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015395></TABLE
15396><P
15397></P
15398></DIV
15399></DIV
15400><HR><DIV
15401CLASS="REFSECT2"
15402><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015403NAME="AEN7379"
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015404></A
15405><H3
15406><A
15407NAME="XMLSAVEFORMATFILE"
15408></A
15409>xmlSaveFormatFile ()</H3
15410><TABLE
15411BORDER="0"
15412BGCOLOR="#D6E8FF"
15413WIDTH="100%"
15414CELLPADDING="6"
15415><TR
15416><TD
15417><PRE
15418CLASS="PROGRAMLISTING"
15419>int xmlSaveFormatFile (const char *filename,
15420 <A
15421HREF="libxml-tree.html#XMLDOCPTR"
15422>xmlDocPtr</A
15423> cur,
15424 int format);</PRE
15425></TD
15426></TR
15427></TABLE
15428><P
15429>Dump an XML document to a file. Will use compression if
15430compiled in and enabled. If <TT
15431CLASS="PARAMETER"
15432><I
15433>filename</I
15434></TT
15435> is "-" the stdout file is
15436used. If format is set then the document will be indented on output.</P
15437><P
15438></P
15439><DIV
15440CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015441><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015442NAME="AEN7387"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015443></A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015444><P
15445></P
15446><TABLE
15447BORDER="0"
15448WIDTH="100%"
15449BGCOLOR="#FFD0D0"
15450CELLSPACING="0"
15451CELLPADDING="4"
15452CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015453><TBODY
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015454><TR
15455><TD
15456WIDTH="20%"
15457ALIGN="RIGHT"
15458VALIGN="TOP"
15459><TT
15460CLASS="PARAMETER"
15461><I
15462>filename</I
15463></TT
15464>&nbsp;:</TD
15465><TD
15466WIDTH="80%"
15467ALIGN="LEFT"
15468VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015469> the filename (or URL)</TD
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015470></TR
15471><TR
15472><TD
15473WIDTH="20%"
15474ALIGN="RIGHT"
15475VALIGN="TOP"
15476><TT
15477CLASS="PARAMETER"
15478><I
15479>cur</I
15480></TT
15481>&nbsp;:</TD
15482><TD
15483WIDTH="80%"
15484ALIGN="LEFT"
15485VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015486> the document</TD
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015487></TR
15488><TR
15489><TD
15490WIDTH="20%"
15491ALIGN="RIGHT"
15492VALIGN="TOP"
15493><TT
15494CLASS="PARAMETER"
15495><I
15496>format</I
15497></TT
15498>&nbsp;:</TD
15499><TD
15500WIDTH="80%"
15501ALIGN="LEFT"
15502VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015503> should formatting spaces been added</TD
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015504></TR
15505><TR
15506><TD
15507WIDTH="20%"
15508ALIGN="RIGHT"
15509VALIGN="TOP"
15510><I
15511CLASS="EMPHASIS"
15512>Returns</I
15513> :</TD
15514><TD
15515WIDTH="80%"
15516ALIGN="LEFT"
15517VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015518> the number of byte written or -1 in case of failure.</TD
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015519></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015520></TBODY
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015521></TABLE
15522><P
15523></P
15524></DIV
15525></DIV
15526><HR><DIV
15527CLASS="REFSECT2"
15528><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015529NAME="AEN7408"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015530></A
15531><H3
15532><A
15533NAME="XMLNODEDUMP"
15534></A
15535>xmlNodeDump ()</H3
15536><TABLE
15537BORDER="0"
15538BGCOLOR="#D6E8FF"
15539WIDTH="100%"
15540CELLPADDING="6"
15541><TR
15542><TD
15543><PRE
15544CLASS="PROGRAMLISTING"
15545>void xmlNodeDump (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015546HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015547>xmlBufferPtr</A
15548> buf,
15549 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015550HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015551>xmlDocPtr</A
15552> doc,
15553 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015554HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015555>xmlNodePtr</A
15556> cur,
15557 int level,
15558 int format);</PRE
15559></TD
15560></TR
15561></TABLE
15562><P
15563>Dump an XML node, recursive behaviour,children are printed too.</P
15564><P
15565></P
15566><DIV
15567CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015568><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015569NAME="AEN7417"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015570></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015571><P
15572></P
15573><TABLE
15574BORDER="0"
15575WIDTH="100%"
15576BGCOLOR="#FFD0D0"
15577CELLSPACING="0"
15578CELLPADDING="4"
15579CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015580><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015581><TR
15582><TD
15583WIDTH="20%"
15584ALIGN="RIGHT"
15585VALIGN="TOP"
15586><TT
15587CLASS="PARAMETER"
15588><I
15589>buf</I
15590></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015591>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015592><TD
15593WIDTH="80%"
15594ALIGN="LEFT"
15595VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015596> the XML buffer output</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015597></TR
15598><TR
15599><TD
15600WIDTH="20%"
15601ALIGN="RIGHT"
15602VALIGN="TOP"
15603><TT
15604CLASS="PARAMETER"
15605><I
15606>doc</I
15607></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015608>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015609><TD
15610WIDTH="80%"
15611ALIGN="LEFT"
15612VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015613> the document</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015614></TR
15615><TR
15616><TD
15617WIDTH="20%"
15618ALIGN="RIGHT"
15619VALIGN="TOP"
15620><TT
15621CLASS="PARAMETER"
15622><I
15623>cur</I
15624></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015625>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015626><TD
15627WIDTH="80%"
15628ALIGN="LEFT"
15629VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015630> the current node</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015631></TR
15632><TR
15633><TD
15634WIDTH="20%"
15635ALIGN="RIGHT"
15636VALIGN="TOP"
15637><TT
15638CLASS="PARAMETER"
15639><I
15640>level</I
15641></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015642>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015643><TD
15644WIDTH="80%"
15645ALIGN="LEFT"
15646VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015647> the imbrication level for indenting</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015648></TR
15649><TR
15650><TD
15651WIDTH="20%"
15652ALIGN="RIGHT"
15653VALIGN="TOP"
15654><TT
15655CLASS="PARAMETER"
15656><I
15657>format</I
15658></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015659>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015660><TD
15661WIDTH="80%"
15662ALIGN="LEFT"
15663VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015664> is formatting allowed</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015665></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015666></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000015667></TABLE
15668><P
15669></P
15670></DIV
15671></DIV
15672><HR><DIV
15673CLASS="REFSECT2"
15674><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015675NAME="AEN7442"
Daniel Veillardf012a642001-07-23 19:10:52 +000015676></A
15677><H3
15678><A
15679NAME="XMLSAVEFORMATFILEENC"
15680></A
15681>xmlSaveFormatFileEnc ()</H3
15682><TABLE
15683BORDER="0"
15684BGCOLOR="#D6E8FF"
15685WIDTH="100%"
15686CELLPADDING="6"
15687><TR
15688><TD
15689><PRE
15690CLASS="PROGRAMLISTING"
15691>int xmlSaveFormatFileEnc (const char *filename,
15692 <A
15693HREF="libxml-tree.html#XMLDOCPTR"
15694>xmlDocPtr</A
15695> cur,
15696 const char *encoding,
15697 int format);</PRE
15698></TD
15699></TR
15700></TABLE
15701><P
15702></P
15703><P
15704></P
15705><DIV
15706CLASS="INFORMALTABLE"
15707><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015708NAME="AEN7449"
Daniel Veillardf012a642001-07-23 19:10:52 +000015709></A
15710><P
15711></P
15712><TABLE
15713BORDER="0"
15714WIDTH="100%"
15715BGCOLOR="#FFD0D0"
15716CELLSPACING="0"
15717CELLPADDING="4"
15718CLASS="CALSTABLE"
15719><TBODY
15720><TR
15721><TD
15722WIDTH="20%"
15723ALIGN="RIGHT"
15724VALIGN="TOP"
15725><TT
15726CLASS="PARAMETER"
15727><I
15728>filename</I
15729></TT
15730>&nbsp;:</TD
15731><TD
15732WIDTH="80%"
15733ALIGN="LEFT"
15734VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015735> the filename or URL to output</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000015736></TR
15737><TR
15738><TD
15739WIDTH="20%"
15740ALIGN="RIGHT"
15741VALIGN="TOP"
15742><TT
15743CLASS="PARAMETER"
15744><I
15745>cur</I
15746></TT
15747>&nbsp;:</TD
15748><TD
15749WIDTH="80%"
15750ALIGN="LEFT"
15751VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015752> the document being saved</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000015753></TR
15754><TR
15755><TD
15756WIDTH="20%"
15757ALIGN="RIGHT"
15758VALIGN="TOP"
15759><TT
15760CLASS="PARAMETER"
15761><I
15762>encoding</I
15763></TT
15764>&nbsp;:</TD
15765><TD
15766WIDTH="80%"
15767ALIGN="LEFT"
15768VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015769> the name of the encoding to use or NULL.</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000015770></TR
15771><TR
15772><TD
15773WIDTH="20%"
15774ALIGN="RIGHT"
15775VALIGN="TOP"
15776><TT
15777CLASS="PARAMETER"
15778><I
15779>format</I
15780></TT
15781>&nbsp;:</TD
15782><TD
15783WIDTH="80%"
15784ALIGN="LEFT"
15785VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015786> should formatting spaces be added.</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000015787></TR
15788><TR
15789><TD
15790WIDTH="20%"
15791ALIGN="RIGHT"
15792VALIGN="TOP"
15793><I
15794CLASS="EMPHASIS"
15795>Returns</I
15796> :</TD
15797><TD
15798WIDTH="80%"
15799ALIGN="LEFT"
15800VALIGN="TOP"
15801>&nbsp;</TD
15802></TR
15803></TBODY
15804></TABLE
15805><P
15806></P
15807></DIV
15808></DIV
15809><HR><DIV
15810CLASS="REFSECT2"
15811><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015812NAME="AEN7474"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015813></A
15814><H3
15815><A
15816NAME="XMLSAVEFILEENC"
15817></A
15818>xmlSaveFileEnc ()</H3
15819><TABLE
15820BORDER="0"
15821BGCOLOR="#D6E8FF"
15822WIDTH="100%"
15823CELLPADDING="6"
15824><TR
15825><TD
15826><PRE
15827CLASS="PROGRAMLISTING"
15828>int xmlSaveFileEnc (const char *filename,
15829 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015830HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015831>xmlDocPtr</A
15832> cur,
15833 const char *encoding);</PRE
15834></TD
15835></TR
15836></TABLE
15837><P
15838>Dump an XML document, converting it to the given encoding</P
15839><P
15840></P
15841><DIV
15842CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015843><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015844NAME="AEN7481"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015845></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015846><P
15847></P
15848><TABLE
15849BORDER="0"
15850WIDTH="100%"
15851BGCOLOR="#FFD0D0"
15852CELLSPACING="0"
15853CELLPADDING="4"
15854CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015855><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015856><TR
15857><TD
15858WIDTH="20%"
15859ALIGN="RIGHT"
15860VALIGN="TOP"
15861><TT
15862CLASS="PARAMETER"
15863><I
15864>filename</I
15865></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015866>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015867><TD
15868WIDTH="80%"
15869ALIGN="LEFT"
15870VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015871> the filename (or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015872></TR
15873><TR
15874><TD
15875WIDTH="20%"
15876ALIGN="RIGHT"
15877VALIGN="TOP"
15878><TT
15879CLASS="PARAMETER"
15880><I
15881>cur</I
15882></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015883>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015884><TD
15885WIDTH="80%"
15886ALIGN="LEFT"
15887VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015888> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015889></TR
15890><TR
15891><TD
15892WIDTH="20%"
15893ALIGN="RIGHT"
15894VALIGN="TOP"
15895><TT
15896CLASS="PARAMETER"
15897><I
15898>encoding</I
15899></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015900>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015901><TD
15902WIDTH="80%"
15903ALIGN="LEFT"
15904VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015905> the name of an encoding (or NULL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015906></TR
15907><TR
15908><TD
15909WIDTH="20%"
15910ALIGN="RIGHT"
15911VALIGN="TOP"
15912><I
15913CLASS="EMPHASIS"
15914>Returns</I
15915> :</TD
15916><TD
15917WIDTH="80%"
15918ALIGN="LEFT"
15919VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015920> the number of byte written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015921></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015922></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015923></TABLE
15924><P
15925></P
15926></DIV
15927></DIV
15928><HR><DIV
15929CLASS="REFSECT2"
15930><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015931NAME="AEN7502"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015932></A
15933><H3
15934><A
15935NAME="XMLGETDOCCOMPRESSMODE"
15936></A
15937>xmlGetDocCompressMode ()</H3
15938><TABLE
15939BORDER="0"
15940BGCOLOR="#D6E8FF"
15941WIDTH="100%"
15942CELLPADDING="6"
15943><TR
15944><TD
15945><PRE
15946CLASS="PROGRAMLISTING"
15947>int xmlGetDocCompressMode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015948HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015949>xmlDocPtr</A
15950> doc);</PRE
15951></TD
15952></TR
15953></TABLE
15954><P
15955>get the compression ratio for a document, ZLIB based</P
15956><P
15957></P
15958><DIV
15959CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015960><A
Daniel Veillard60087f32001-10-10 09:45:09 +000015961NAME="AEN7509"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015962></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015963><P
15964></P
15965><TABLE
15966BORDER="0"
15967WIDTH="100%"
15968BGCOLOR="#FFD0D0"
15969CELLSPACING="0"
15970CELLPADDING="4"
15971CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015972><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015973><TR
15974><TD
15975WIDTH="20%"
15976ALIGN="RIGHT"
15977VALIGN="TOP"
15978><TT
15979CLASS="PARAMETER"
15980><I
15981>doc</I
15982></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015983>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015984><TD
15985WIDTH="80%"
15986ALIGN="LEFT"
15987VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015988> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015989></TR
15990><TR
15991><TD
15992WIDTH="20%"
15993ALIGN="RIGHT"
15994VALIGN="TOP"
15995><I
15996CLASS="EMPHASIS"
15997>Returns</I
15998> :</TD
15999><TD
16000WIDTH="80%"
16001ALIGN="LEFT"
16002VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016003>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016004></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016005></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016006></TABLE
16007><P
16008></P
16009></DIV
16010></DIV
16011><HR><DIV
16012CLASS="REFSECT2"
16013><A
Daniel Veillard60087f32001-10-10 09:45:09 +000016014NAME="AEN7522"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016015></A
16016><H3
16017><A
16018NAME="XMLSETDOCCOMPRESSMODE"
16019></A
16020>xmlSetDocCompressMode ()</H3
16021><TABLE
16022BORDER="0"
16023BGCOLOR="#D6E8FF"
16024WIDTH="100%"
16025CELLPADDING="6"
16026><TR
16027><TD
16028><PRE
16029CLASS="PROGRAMLISTING"
16030>void xmlSetDocCompressMode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016031HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016032>xmlDocPtr</A
16033> doc,
16034 int mode);</PRE
16035></TD
16036></TR
16037></TABLE
16038><P
16039>set the compression ratio for a document, ZLIB based
16040Correct values: 0 (uncompressed) to 9 (max compression)</P
16041><P
16042></P
16043><DIV
16044CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016045><A
Daniel Veillard60087f32001-10-10 09:45:09 +000016046NAME="AEN7529"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016047></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016048><P
16049></P
16050><TABLE
16051BORDER="0"
16052WIDTH="100%"
16053BGCOLOR="#FFD0D0"
16054CELLSPACING="0"
16055CELLPADDING="4"
16056CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016057><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016058><TR
16059><TD
16060WIDTH="20%"
16061ALIGN="RIGHT"
16062VALIGN="TOP"
16063><TT
16064CLASS="PARAMETER"
16065><I
16066>doc</I
16067></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016068>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016069><TD
16070WIDTH="80%"
16071ALIGN="LEFT"
16072VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016073> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016074></TR
16075><TR
16076><TD
16077WIDTH="20%"
16078ALIGN="RIGHT"
16079VALIGN="TOP"
16080><TT
16081CLASS="PARAMETER"
16082><I
16083>mode</I
16084></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016085>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016086><TD
16087WIDTH="80%"
16088ALIGN="LEFT"
16089VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016090> the compression ratio</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016091></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016092></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016093></TABLE
16094><P
16095></P
16096></DIV
16097></DIV
16098><HR><DIV
16099CLASS="REFSECT2"
16100><A
Daniel Veillard60087f32001-10-10 09:45:09 +000016101NAME="AEN7542"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016102></A
16103><H3
16104><A
16105NAME="XMLGETCOMPRESSMODE"
16106></A
16107>xmlGetCompressMode ()</H3
16108><TABLE
16109BORDER="0"
16110BGCOLOR="#D6E8FF"
16111WIDTH="100%"
16112CELLPADDING="6"
16113><TR
16114><TD
16115><PRE
16116CLASS="PROGRAMLISTING"
16117>int xmlGetCompressMode (void);</PRE
16118></TD
16119></TR
16120></TABLE
16121><P
16122>get the default compression mode used, ZLIB based.</P
16123><P
16124></P
16125><DIV
16126CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016127><A
Daniel Veillard60087f32001-10-10 09:45:09 +000016128NAME="AEN7548"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016129></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016130><P
16131></P
16132><TABLE
16133BORDER="0"
16134WIDTH="100%"
16135BGCOLOR="#FFD0D0"
16136CELLSPACING="0"
16137CELLPADDING="4"
16138CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016139><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016140><TR
16141><TD
16142WIDTH="20%"
16143ALIGN="RIGHT"
16144VALIGN="TOP"
16145><I
16146CLASS="EMPHASIS"
16147>Returns</I
16148> :</TD
16149><TD
16150WIDTH="80%"
16151ALIGN="LEFT"
16152VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016153>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016154></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016155></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016156></TABLE
16157><P
16158></P
16159></DIV
16160></DIV
16161><HR><DIV
16162CLASS="REFSECT2"
16163><A
Daniel Veillard60087f32001-10-10 09:45:09 +000016164NAME="AEN7557"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016165></A
16166><H3
16167><A
16168NAME="XMLSETCOMPRESSMODE"
16169></A
16170>xmlSetCompressMode ()</H3
16171><TABLE
16172BORDER="0"
16173BGCOLOR="#D6E8FF"
16174WIDTH="100%"
16175CELLPADDING="6"
16176><TR
16177><TD
16178><PRE
16179CLASS="PROGRAMLISTING"
16180>void xmlSetCompressMode (int mode);</PRE
16181></TD
16182></TR
16183></TABLE
16184><P
16185>set the default compression mode used, ZLIB based
16186Correct values: 0 (uncompressed) to 9 (max compression)</P
16187><P
16188></P
16189><DIV
16190CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016191><A
Daniel Veillard60087f32001-10-10 09:45:09 +000016192NAME="AEN7563"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016193></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016194><P
16195></P
16196><TABLE
16197BORDER="0"
16198WIDTH="100%"
16199BGCOLOR="#FFD0D0"
16200CELLSPACING="0"
16201CELLPADDING="4"
16202CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016203><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016204><TR
16205><TD
16206WIDTH="20%"
16207ALIGN="RIGHT"
16208VALIGN="TOP"
16209><TT
16210CLASS="PARAMETER"
16211><I
16212>mode</I
16213></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016214>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016215><TD
16216WIDTH="80%"
16217ALIGN="LEFT"
16218VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016219> the compression ratio</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016220></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016221></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016222></TABLE
16223><P
16224></P
16225></DIV
16226></DIV
16227></DIV
16228><DIV
16229CLASS="NAVFOOTER"
16230><BR
16231CLEAR="all"><BR><TABLE
16232WIDTH="100%"
16233BORDER="0"
16234BGCOLOR="#000000"
16235CELLPADDING="1"
16236CELLSPACING="0"
16237><TR
16238><TD
16239WIDTH="25%"
16240BGCOLOR="#C00000"
16241ALIGN="left"
16242><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016243HREF="libxml-sax.html"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016244><FONT
16245COLOR="#FFFFFF"
16246SIZE="3"
16247><B
16248>&#60;&#60;&#60; Previous Page</B
16249></FONT
16250></A
16251></TD
16252><TD
16253WIDTH="25%"
16254BGCOLOR="#0000C0"
16255ALIGN="center"
16256><FONT
16257COLOR="#FFFFFF"
16258SIZE="3"
16259><B
16260><A
16261HREF="book1.html"
16262><FONT
16263COLOR="#FFFFFF"
16264SIZE="3"
16265><B
16266>Home</B
16267></FONT
16268></A
16269></B
16270></FONT
16271></TD
16272><TD
16273WIDTH="25%"
16274BGCOLOR="#00C000"
16275ALIGN="center"
16276><FONT
16277COLOR="#FFFFFF"
16278SIZE="3"
16279><B
16280><A
16281HREF="libxml-lib.html"
16282><FONT
16283COLOR="#FFFFFF"
16284SIZE="3"
16285><B
16286>Up</B
16287></FONT
16288></A
16289></B
16290></FONT
16291></TD
16292><TD
16293WIDTH="25%"
16294BGCOLOR="#C00000"
16295ALIGN="right"
16296><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016297HREF="libxml-entities.html"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016298><FONT
16299COLOR="#FFFFFF"
16300SIZE="3"
16301><B
16302>Next Page &#62;&#62;&#62;</B
16303></FONT
16304></A
16305></TD
16306></TR
16307><TR
16308><TD
16309COLSPAN="2"
16310ALIGN="left"
16311><FONT
16312COLOR="#FFFFFF"
16313SIZE="3"
16314><B
16315>SAX</B
16316></FONT
16317></TD
16318><TD
16319COLSPAN="2"
16320ALIGN="right"
16321><FONT
16322COLOR="#FFFFFF"
16323SIZE="3"
16324><B
16325>entities</B
16326></FONT
16327></TD
16328></TR
16329></TABLE
16330></DIV
16331></BODY
16332></HTML
Daniel Veillard35925471999-02-25 08:46:07 +000016333>