blob: 91f2342b4dd15f5e29f1ec676a7fc21ddee9b04e [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>tree</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard503b8932001-01-05 06:36:31 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
Daniel Veillard294cbca1999-12-03 13:19:09 +000015TITLE="SAX"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016HREF="libxml-sax.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000017REL="NEXT"
18TITLE="entities"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000019HREF="libxml-entities.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000026><DIV
27CLASS="NAVHEADER"
28><TABLE
29WIDTH="100%"
30BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000031BGCOLOR="#000000"
32CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000033CELLSPACING="0"
34><TR
35><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000036COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000037ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000038><FONT
39COLOR="#FFFFFF"
40SIZE="5"
41>Gnome XML Library Reference Manual</FONT
42></TH
Daniel Veillard35925471999-02-25 08:46:07 +000043></TR
44><TR
45><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000046WIDTH="25%"
47BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000048ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000049><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000050HREF="libxml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000051><FONT
52COLOR="#FFFFFF"
53SIZE="3"
54><B
55>&#60;&#60;&#60; Previous Page</B
56></FONT
57></A
Daniel Veillard35925471999-02-25 08:46:07 +000058></TD
59><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000060WIDTH="25%"
61BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000062ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000063><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67><A
68HREF="book1.html"
69><FONT
70COLOR="#FFFFFF"
71SIZE="3"
72><B
73>Home</B
74></FONT
75></A
76></B
77></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000078></TD
79><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000080WIDTH="25%"
81BGCOLOR="#00C000"
82ALIGN="center"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87><A
Daniel Veillard35008381999-10-25 13:15:52 +000088HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000089><FONT
90COLOR="#FFFFFF"
91SIZE="3"
92><B
93>Up</B
94></FONT
95></A
96></B
97></FONT
98></TD
99><TD
100WIDTH="25%"
101BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000102ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000103><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000104HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
Daniel Veillard35925471999-02-25 08:46:07 +0000112></TD
113></TR
114></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000115></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000116><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000117><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000118NAME="LIBXML-TREE"
Daniel Veillard503b8932001-01-05 06:36:31 +0000119>tree</A
120></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillardd194dd22001-02-14 10:37:43 +0000124NAME="AEN3642"
Daniel Veillard35925471999-02-25 08:46:07 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>tree&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillardd194dd22001-02-14 10:37:43 +0000132NAME="AEN3645"
Daniel Veillard35925471999-02-25 08:46:07 +0000133></A
134><H2
135>Synopsis</H2
136><TABLE
137BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000138BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000139WIDTH="100%"
140CELLPADDING="6"
141><TR
142><TD
143><PRE
144CLASS="SYNOPSIS"
145>&#13;
146
Daniel Veillarde356c282001-03-10 12:32:04 +0000147#define <A
148HREF="libxml-tree.html#XML-XML-NAMESPACE-CAPS"
149>XML_XML_NAMESPACE</A
150>
Daniel Veillard35925471999-02-25 08:46:07 +0000151enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000152HREF="libxml-tree.html#XMLELEMENTTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000153>xmlElementType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000154>;
Daniel Veillard35925471999-02-25 08:46:07 +0000155typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000156HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000157>xmlChar</A
158>;
159#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-tree.html#CHAR-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +0000161>CHAR</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000162>
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000163#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000164HREF="libxml-tree.html#BAD-CAST-CAPS"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000165>BAD_CAST</A
166>
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000167struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-tree.html#XMLNOTATION"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000169>xmlNotation</A
170>;
Daniel Veillard35925471999-02-25 08:46:07 +0000171typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000172HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000173>xmlNotationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000174>;
Daniel Veillard35925471999-02-25 08:46:07 +0000175enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000177>xmlAttributeType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000178>;
Daniel Veillard35925471999-02-25 08:46:07 +0000179enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillard35925471999-02-25 08:46:07 +0000181>xmlAttributeDefault</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000182>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000183struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184HREF="libxml-tree.html#XMLENUMERATION"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000185>xmlEnumeration</A
186>;
Daniel Veillard35925471999-02-25 08:46:07 +0000187typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000188HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000189>xmlEnumerationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000190>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000191struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-tree.html#XMLATTRIBUTE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000193>xmlAttribute</A
194>;
Daniel Veillard35925471999-02-25 08:46:07 +0000195typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000196HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000197>xmlAttributePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000198>;
Daniel Veillard35925471999-02-25 08:46:07 +0000199enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000200HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000201>xmlElementContentType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000202>;
Daniel Veillard35925471999-02-25 08:46:07 +0000203enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-tree.html#XMLELEMENTCONTENTOCCUR"
Daniel Veillard35925471999-02-25 08:46:07 +0000205>xmlElementContentOccur</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000206>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000207struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000208HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000209>xmlElementContent</A
210>;
Daniel Veillard35925471999-02-25 08:46:07 +0000211typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000213>xmlElementContentPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000214>;
Daniel Veillard35925471999-02-25 08:46:07 +0000215enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000217>xmlElementTypeVal</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000218>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000219struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-tree.html#XMLELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000221>xmlElement</A
222>;
Daniel Veillard35925471999-02-25 08:46:07 +0000223typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000224HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000225>xmlElementPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000226>;
Daniel Veillarda4964b72000-10-31 18:23:44 +0000227#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-tree.html#XML-LOCAL-NAMESPACE-CAPS"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000229>XML_LOCAL_NAMESPACE</A
230>
231typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-tree.html#XMLNSTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000233>xmlNsType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000234>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000235struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000236HREF="libxml-tree.html#XMLNS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000237>xmlNs</A
238>;
Daniel Veillard35925471999-02-25 08:46:07 +0000239typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000241>xmlNsPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000242>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000243struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-tree.html#XMLDTD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000245>xmlDtd</A
246>;
Daniel Veillard35925471999-02-25 08:46:07 +0000247typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000248HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000249>xmlDtdPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000250>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000251struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000252HREF="libxml-tree.html#XMLATTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000253>xmlAttr</A
254>;
Daniel Veillard35925471999-02-25 08:46:07 +0000255typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000256HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000257>xmlAttrPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000258>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000259struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000260HREF="libxml-tree.html#XMLID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000261>xmlID</A
262>;
Daniel Veillard35925471999-02-25 08:46:07 +0000263typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000264HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000265>xmlIDPtr</A
266>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000267struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000268HREF="libxml-tree.html#XMLREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000269>xmlRef</A
270>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000271typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000272HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000273>xmlRefPtr</A
274>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000275enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000276HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000277>xmlBufferAllocationScheme</A
278>;
279struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000280HREF="libxml-tree.html#XMLBUFFER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000281>xmlBuffer</A
282>;
283typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000284HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000285>xmlBufferPtr</A
286>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000287struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000288HREF="libxml-tree.html#XMLNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000289>xmlNode</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000290>;
Daniel Veillard35925471999-02-25 08:46:07 +0000291typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000292HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000293>xmlNodePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000294>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000295struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000296HREF="libxml-tree.html#XMLDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000297>xmlDoc</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000298>;
Daniel Veillard35925471999-02-25 08:46:07 +0000299typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000300HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000301>xmlDocPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000302>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000303#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000304HREF="libxml-tree.html#XMLCHILDRENNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000305>xmlChildrenNode</A
306>
307#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000308HREF="libxml-tree.html#XMLROOTNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000309>xmlRootNode</A
310>
Daniel Veillard5099ae81999-04-21 20:12:07 +0000311<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000312HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000313>xmlBufferPtr</A
314> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000315HREF="libxml-tree.html#XMLBUFFERCREATE"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000316>xmlBufferCreate</A
317> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000318<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000319HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000320>xmlBufferPtr</A
321> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000322HREF="libxml-tree.html#XMLBUFFERCREATESIZE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000323>xmlBufferCreateSize</A
324> (<GTKDOCLINK
325HREF="SIZE-T"
326>size_t</GTKDOCLINK
327> size);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000328void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-tree.html#XMLBUFFERFREE"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000330>xmlBufferFree</A
331> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000332HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000333>xmlBufferPtr</A
334> buf);
335int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000336HREF="libxml-tree.html#XMLBUFFERDUMP"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000337>xmlBufferDump</A
338> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000339HREF="FILE-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000340>FILE</GTKDOCLINK
341> *file,
342 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000343HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000344>xmlBufferPtr</A
345> buf);
346void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000347HREF="libxml-tree.html#XMLBUFFERADD"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000348>xmlBufferAdd</A
349> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000350HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000351>xmlBufferPtr</A
352> buf,
353 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000354HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000355>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000356> *str,
357 int len);
358void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000359HREF="libxml-tree.html#XMLBUFFERADDHEAD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000360>xmlBufferAddHead</A
361> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000363>xmlBufferPtr</A
364> buf,
365 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000367>xmlChar</A
368> *str,
369 int len);
370void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000371HREF="libxml-tree.html#XMLBUFFERCAT"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000372>xmlBufferCat</A
373> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000374HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000375>xmlBufferPtr</A
376> buf,
377 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000378HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000379>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000380> *str);
381void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000382HREF="libxml-tree.html#XMLBUFFERCCAT"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000383>xmlBufferCCat</A
384> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000385HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000386>xmlBufferPtr</A
387> buf,
388 const char *str);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000389int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000390HREF="libxml-tree.html#XMLBUFFERSHRINK"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000391>xmlBufferShrink</A
392> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000393HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000394>xmlBufferPtr</A
395> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000396 unsigned int len);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000397int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000398HREF="libxml-tree.html#XMLBUFFERGROW"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000399>xmlBufferGrow</A
400> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000401HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000402>xmlBufferPtr</A
403> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000404 unsigned int len);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000405void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000406HREF="libxml-tree.html#XMLBUFFEREMPTY"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000407>xmlBufferEmpty</A
408> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000409HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000410>xmlBufferPtr</A
411> buf);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000412const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000413HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000414>xmlChar</A
415>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000416HREF="libxml-tree.html#XMLBUFFERCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000417>xmlBufferContent</A
418> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000419HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000420>xmlBufferPtr</A
421> buf);
422int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000423HREF="libxml-tree.html#XMLBUFFERUSE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000424>xmlBufferUse</A
425> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000426HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000427>xmlBufferPtr</A
428> buf);
429void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000430HREF="libxml-tree.html#XMLBUFFERSETALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000431>xmlBufferSetAllocationScheme</A
432> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000433HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000434>xmlBufferPtr</A
435> buf,
436 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000437HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000438>xmlBufferAllocationScheme</A
439> scheme);
440int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000441HREF="libxml-tree.html#XMLBUFFERLENGTH"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000442>xmlBufferLength</A
443> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000444HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000445>xmlBufferPtr</A
446> buf);
Daniel Veillard35925471999-02-25 08:46:07 +0000447<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000448HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000449>xmlDtdPtr</A
450> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000451HREF="libxml-tree.html#XMLCREATEINTSUBSET"
Daniel Veillard35925471999-02-25 08:46:07 +0000452>xmlCreateIntSubset</A
453> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000454HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000455>xmlDocPtr</A
456> doc,
457 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000458HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000459>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000460> *name,
461 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000462HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000463>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000464> *ExternalID,
465 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000466HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000467>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000468> *SystemID);
469<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#XMLNEWDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000474>xmlNewDtd</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);
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000491<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000492HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000493>xmlDtdPtr</A
494> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000495HREF="libxml-tree.html#XMLGETINTSUBSET"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000496>xmlGetIntSubset</A
497> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000498HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000499>xmlDocPtr</A
500> doc);
Daniel Veillard35925471999-02-25 08:46:07 +0000501void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-tree.html#XMLFREEDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000503>xmlFreeDtd</A
504> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000505HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000506>xmlDtdPtr</A
507> cur);
508<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000509HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000510>xmlNsPtr</A
511> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000512HREF="libxml-tree.html#XMLNEWGLOBALNS"
Daniel Veillard35925471999-02-25 08:46:07 +0000513>xmlNewGlobalNs</A
514> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000515HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000516>xmlDocPtr</A
517> doc,
518 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000519HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000520>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000521> *href,
522 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000523HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000524>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000525> *prefix);
526<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000527HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000528>xmlNsPtr</A
529> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000530HREF="libxml-tree.html#XMLNEWNS"
Daniel Veillard35925471999-02-25 08:46:07 +0000531>xmlNewNs</A
532> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000533HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000534>xmlNodePtr</A
535> node,
536 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000537HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000538>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000539> *href,
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> *prefix);
544void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000545HREF="libxml-tree.html#XMLFREENS"
Daniel Veillard35925471999-02-25 08:46:07 +0000546>xmlFreeNs</A
547> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000548HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000549>xmlNsPtr</A
550> cur);
551<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000552HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000553>xmlDocPtr</A
554> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000555HREF="libxml-tree.html#XMLNEWDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000556>xmlNewDoc</A
557> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000558HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000559>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000560> *version);
561void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000562HREF="libxml-tree.html#XMLFREEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000563>xmlFreeDoc</A
564> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000565HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000566>xmlDocPtr</A
567> cur);
568<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000569HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000570>xmlAttrPtr</A
571> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000572HREF="libxml-tree.html#XMLNEWDOCPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000573>xmlNewDocProp</A
574> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000576>xmlDocPtr</A
577> doc,
578 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000580>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000581> *name,
582 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000584>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000585> *value);
586<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000588>xmlAttrPtr</A
589> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000590HREF="libxml-tree.html#XMLNEWPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000591>xmlNewProp</A
592> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000593HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000594>xmlNodePtr</A
595> node,
596 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000597HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000598>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000599> *name,
600 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000602>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000603> *value);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000604<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000606>xmlAttrPtr</A
607> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000608HREF="libxml-tree.html#XMLNEWNSPROP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000609>xmlNewNsProp</A
610> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000611HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000612>xmlNodePtr</A
613> node,
614 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000615HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000616>xmlNsPtr</A
617> ns,
618 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000619HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000620>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000621> *name,
622 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000623HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000624>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000625> *value);
Daniel Veillard35925471999-02-25 08:46:07 +0000626void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000627HREF="libxml-tree.html#XMLFREEPROPLIST"
Daniel Veillard35925471999-02-25 08:46:07 +0000628>xmlFreePropList</A
629> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000630HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000631>xmlAttrPtr</A
632> cur);
633void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000634HREF="libxml-tree.html#XMLFREEPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000635>xmlFreeProp</A
636> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000638>xmlAttrPtr</A
639> cur);
640<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000642>xmlAttrPtr</A
643> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000644HREF="libxml-tree.html#XMLCOPYPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000645>xmlCopyProp</A
646> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000647HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000648>xmlNodePtr</A
649> target,
650 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000651HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000652>xmlAttrPtr</A
653> cur);
654<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000655HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000656>xmlAttrPtr</A
657> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000658HREF="libxml-tree.html#XMLCOPYPROPLIST"
Daniel Veillard35925471999-02-25 08:46:07 +0000659>xmlCopyPropList</A
660> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000661HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000662>xmlNodePtr</A
663> target,
664 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000665HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000666>xmlAttrPtr</A
667> cur);
668<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000669HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000670>xmlDtdPtr</A
671> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000672HREF="libxml-tree.html#XMLCOPYDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000673>xmlCopyDtd</A
674> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000675HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000676>xmlDtdPtr</A
677> dtd);
678<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000679HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000680>xmlDocPtr</A
681> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000682HREF="libxml-tree.html#XMLCOPYDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000683>xmlCopyDoc</A
684> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000685HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000686>xmlDocPtr</A
687> doc,
688 int recursive);
689<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000691>xmlNodePtr</A
692> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000693HREF="libxml-tree.html#XMLNEWDOCNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000694>xmlNewDocNode</A
695> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000696HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000697>xmlDocPtr</A
698> doc,
699 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000700HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000701>xmlNsPtr</A
702> ns,
703 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000704HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000705>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000706> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000707 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000708HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000709>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000710> *content);
711<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000713>xmlNodePtr</A
714> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000715HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000716>xmlNewDocRawNode</A
717> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000718HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000719>xmlDocPtr</A
720> doc,
721 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000722HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000723>xmlNsPtr</A
724> ns,
725 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000726HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000727>xmlChar</A
728> *name,
729 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000730HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000731>xmlChar</A
732> *content);
733<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000734HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000735>xmlNodePtr</A
736> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000737HREF="libxml-tree.html#XMLNEWNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000738>xmlNewNode</A
739> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000740HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000741>xmlNsPtr</A
742> ns,
743 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000744HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000745>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000746> *name);
747<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000748HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000749>xmlNodePtr</A
750> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000751HREF="libxml-tree.html#XMLNEWCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +0000752>xmlNewChild</A
753> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000754HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000755>xmlNodePtr</A
756> parent,
757 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000758HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000759>xmlNsPtr</A
760> ns,
761 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000762HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000763>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000764> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000765 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000766HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000767>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000768> *content);
769<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000770HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000771>xmlNodePtr</A
772> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000773HREF="libxml-tree.html#XMLNEWTEXTCHILD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000774>xmlNewTextChild</A
775> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000777>xmlNodePtr</A
778> parent,
779 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000780HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000781>xmlNsPtr</A
782> ns,
783 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000784HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000785>xmlChar</A
786> *name,
787 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000788HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000789>xmlChar</A
790> *content);
791<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000792HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000793>xmlNodePtr</A
794> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000795HREF="libxml-tree.html#XMLNEWDOCTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000796>xmlNewDocText</A
797> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000798HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000799>xmlDocPtr</A
800> doc,
801 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000803>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000804> *content);
805<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000806HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000807>xmlNodePtr</A
808> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-tree.html#XMLNEWTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000810>xmlNewText</A
811> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000812HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000813>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000814> *content);
815<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000816HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000817>xmlNodePtr</A
818> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000819HREF="libxml-tree.html#XMLNEWPI"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000820>xmlNewPI</A
821> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000822HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000823>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000824> *name,
825 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000826HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000827>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000828> *content);
829<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000830HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000831>xmlNodePtr</A
832> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000833HREF="libxml-tree.html#XMLNEWDOCTEXTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000834>xmlNewDocTextLen</A
835> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000837>xmlDocPtr</A
838> doc,
839 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000840HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000841>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000842> *content,
843 int len);
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#XMLNEWTEXTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000849>xmlNewTextLen</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 Veillard35925471999-02-25 08:46:07 +0000853> *content,
854 int len);
855<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000856HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000857>xmlNodePtr</A
858> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000859HREF="libxml-tree.html#XMLNEWDOCCOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000860>xmlNewDocComment</A
861> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000862HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000863>xmlDocPtr</A
864> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000865 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000866HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000867>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000868> *content);
869<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000870HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000871>xmlNodePtr</A
872> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000873HREF="libxml-tree.html#XMLNEWCOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000874>xmlNewComment</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000875> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000876HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000877>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000878> *content);
879<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000880HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000881>xmlNodePtr</A
882> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000883HREF="libxml-tree.html#XMLNEWCDATABLOCK"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000884>xmlNewCDataBlock</A
885> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000886HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000887>xmlDocPtr</A
888> doc,
889 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000890HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000891>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000892> *content,
893 int len);
894<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000895HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000896>xmlNodePtr</A
897> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000898HREF="libxml-tree.html#XMLNEWCHARREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000899>xmlNewCharRef</A
900> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000901HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000902>xmlDocPtr</A
903> doc,
904 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000905HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000906>xmlChar</A
907> *name);
908<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000909HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000910>xmlNodePtr</A
911> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000912HREF="libxml-tree.html#XMLNEWREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +0000913>xmlNewReference</A
914> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000915HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +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 Veillard35925471999-02-25 08:46:07 +0000921> *name);
922<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000923HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000924>xmlNodePtr</A
925> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000926HREF="libxml-tree.html#XMLCOPYNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000927>xmlCopyNode</A
928> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000929HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000930>xmlNodePtr</A
931> node,
932 int recursive);
933<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000934HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000935>xmlNodePtr</A
936> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000937HREF="libxml-tree.html#XMLCOPYNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +0000938>xmlCopyNodeList</A
939> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000940HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000941>xmlNodePtr</A
942> node);
943<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000944HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000945>xmlNodePtr</A
946> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000947HREF="libxml-tree.html#XMLNEWDOCFRAGMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000948>xmlNewDocFragment</A
949> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000950HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000951>xmlDocPtr</A
952> doc);
953<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000954HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000955>xmlNodePtr</A
956> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000957HREF="libxml-tree.html#XMLDOCGETROOTELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000958>xmlDocGetRootElement</A
959> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000960HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000961>xmlDocPtr</A
962> doc);
963<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000964HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000965>xmlNodePtr</A
966> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000967HREF="libxml-tree.html#XMLGETLASTCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +0000968>xmlGetLastChild</A
969> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000970HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000971>xmlNodePtr</A
972> parent);
973int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000974HREF="libxml-tree.html#XMLNODEISTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000975>xmlNodeIsText</A
976> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000977HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000978>xmlNodePtr</A
979> node);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000980int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000981HREF="libxml-tree.html#XMLISBLANKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000982>xmlIsBlankNode</A
983> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000984HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000985>xmlNodePtr</A
986> node);
987<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000988HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000989>xmlNodePtr</A
990> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000991HREF="libxml-tree.html#XMLDOCSETROOTELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000992>xmlDocSetRootElement</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> root);
1001void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001002HREF="libxml-tree.html#XMLNODESETNAME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001003>xmlNodeSetName</A
1004> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001005HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001006>xmlNodePtr</A
1007> cur,
1008 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001009HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001010>xmlChar</A
1011> *name);
Daniel Veillardf3a73582000-01-05 14:58:39 +00001012<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001013HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001014>xmlNodePtr</A
1015> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001016HREF="libxml-tree.html#XMLADDCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +00001017>xmlAddChild</A
1018> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001019HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001020>xmlNodePtr</A
1021> parent,
1022 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001023HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001024>xmlNodePtr</A
1025> cur);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001026<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001027HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001028>xmlNodePtr</A
1029> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001030HREF="libxml-tree.html#XMLADDCHILDLIST"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001031>xmlAddChildList</A
1032> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001033HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001034>xmlNodePtr</A
1035> parent,
1036 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001037HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001038>xmlNodePtr</A
1039> cur);
1040<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001041HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001042>xmlNodePtr</A
1043> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001044HREF="libxml-tree.html#XMLREPLACENODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001045>xmlReplaceNode</A
1046> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001047HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001048>xmlNodePtr</A
1049> old,
1050 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001051HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001052>xmlNodePtr</A
1053> cur);
1054<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001055HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001056>xmlNodePtr</A
1057> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001058HREF="libxml-tree.html#XMLADDSIBLING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001059>xmlAddSibling</A
1060> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001061HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001062>xmlNodePtr</A
1063> cur,
1064 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001065HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001066>xmlNodePtr</A
1067> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001068<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001069HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001070>xmlNodePtr</A
1071> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001072HREF="libxml-tree.html#XMLADDPREVSIBLING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001073>xmlAddPrevSibling</A
1074> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001075HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001076>xmlNodePtr</A
1077> cur,
1078 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001079HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001080>xmlNodePtr</A
1081> elem);
1082<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001083HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001084>xmlNodePtr</A
1085> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001086HREF="libxml-tree.html#XMLADDNEXTSIBLING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001087>xmlAddNextSibling</A
1088> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001089HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001090>xmlNodePtr</A
1091> cur,
1092 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001093HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001094>xmlNodePtr</A
1095> elem);
Daniel Veillard35925471999-02-25 08:46:07 +00001096void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001097HREF="libxml-tree.html#XMLUNLINKNODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001098>xmlUnlinkNode</A
1099> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001100HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001101>xmlNodePtr</A
1102> cur);
1103<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001104HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001105>xmlNodePtr</A
1106> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001107HREF="libxml-tree.html#XMLTEXTMERGE"
Daniel Veillard35925471999-02-25 08:46:07 +00001108>xmlTextMerge</A
1109> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001110HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001111>xmlNodePtr</A
1112> first,
1113 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001114HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001115>xmlNodePtr</A
1116> second);
1117void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001118HREF="libxml-tree.html#XMLTEXTCONCAT"
Daniel Veillard35925471999-02-25 08:46:07 +00001119>xmlTextConcat</A
1120> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001121HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001122>xmlNodePtr</A
1123> node,
1124 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001125HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001126>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001127> *content,
1128 int len);
1129void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001130HREF="libxml-tree.html#XMLFREENODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001131>xmlFreeNodeList</A
1132> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001133HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001134>xmlNodePtr</A
1135> cur);
1136void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001137HREF="libxml-tree.html#XMLFREENODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001138>xmlFreeNode</A
1139> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001140HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001141>xmlNodePtr</A
1142> cur);
Daniel Veillard28929b22000-11-13 18:22:49 +00001143void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001144HREF="libxml-tree.html#XMLSETTREEDOC"
Daniel Veillard28929b22000-11-13 18:22:49 +00001145>xmlSetTreeDoc</A
1146> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001147HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001148>xmlNodePtr</A
1149> tree,
1150 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001151HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001152>xmlDocPtr</A
1153> doc);
1154void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001155HREF="libxml-tree.html#XMLSETLISTDOC"
Daniel Veillard28929b22000-11-13 18:22:49 +00001156>xmlSetListDoc</A
1157> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001158HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001159>xmlNodePtr</A
1160> list,
1161 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001162HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001163>xmlDocPtr</A
1164> doc);
Daniel Veillard35925471999-02-25 08:46:07 +00001165<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001166HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001167>xmlNsPtr</A
1168> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001169HREF="libxml-tree.html#XMLSEARCHNS"
Daniel Veillard35925471999-02-25 08:46:07 +00001170>xmlSearchNs</A
1171> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001172HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001173>xmlDocPtr</A
1174> doc,
1175 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001176HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001177>xmlNodePtr</A
1178> node,
1179 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001180HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001181>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001182> *nameSpace);
1183<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001184HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001185>xmlNsPtr</A
1186> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001187HREF="libxml-tree.html#XMLSEARCHNSBYHREF"
Daniel Veillard35925471999-02-25 08:46:07 +00001188>xmlSearchNsByHref</A
1189> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001190HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001191>xmlDocPtr</A
1192> doc,
1193 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001194HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001195>xmlNodePtr</A
1196> node,
1197 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001198HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001199>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001200> *href);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001201<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001202HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001203>xmlNsPtr</A
1204>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001205HREF="libxml-tree.html#XMLGETNSLIST"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001206>xmlGetNsList</A
1207> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001208HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001209>xmlDocPtr</A
1210> doc,
1211 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001212HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001213>xmlNodePtr</A
1214> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001215void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001216HREF="libxml-tree.html#XMLSETNS"
Daniel Veillard35925471999-02-25 08:46:07 +00001217>xmlSetNs</A
1218> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001219HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001220>xmlNodePtr</A
1221> node,
1222 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001223HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001224>xmlNsPtr</A
1225> ns);
1226<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001227HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001228>xmlNsPtr</A
1229> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001230HREF="libxml-tree.html#XMLCOPYNAMESPACE"
Daniel Veillard35925471999-02-25 08:46:07 +00001231>xmlCopyNamespace</A
1232> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001233HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001234>xmlNsPtr</A
1235> cur);
1236<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001237HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001238>xmlNsPtr</A
1239> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001240HREF="libxml-tree.html#XMLCOPYNAMESPACELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001241>xmlCopyNamespaceList</A
1242> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001243HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001244>xmlNsPtr</A
1245> cur);
1246<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001247HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001248>xmlAttrPtr</A
1249> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001250HREF="libxml-tree.html#XMLSETPROP"
Daniel Veillard35925471999-02-25 08:46:07 +00001251>xmlSetProp</A
1252> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001253HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001254>xmlNodePtr</A
1255> node,
1256 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001257HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001258>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001259> *name,
1260 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001261HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001262>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001263> *value);
1264<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001265HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001266>xmlChar</A
1267>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001268HREF="libxml-tree.html#XMLGETPROP"
Daniel Veillard35925471999-02-25 08:46:07 +00001269>xmlGetProp</A
1270> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001271HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001272>xmlNodePtr</A
1273> node,
1274 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001275HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001276>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001277> *name);
1278<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001279HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001280>xmlAttrPtr</A
1281> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001282HREF="libxml-tree.html#XMLHASPROP"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001283>xmlHasProp</A
1284> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001285HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001286>xmlNodePtr</A
1287> node,
1288 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001289HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001290>xmlChar</A
1291> *name);
1292<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001293HREF="libxml-tree.html#XMLATTRPTR"
1294>xmlAttrPtr</A
1295> <A
1296HREF="libxml-tree.html#XMLSETNSPROP"
1297>xmlSetNsProp</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001298> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001299HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001300>xmlNodePtr</A
1301> node,
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001302 <A
1303HREF="libxml-tree.html#XMLNSPTR"
1304>xmlNsPtr</A
1305> ns,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001306 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001307HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001308>xmlChar</A
1309> *name,
1310 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001311HREF="libxml-tree.html#XMLCHAR"
1312>xmlChar</A
1313> *value);
1314<A
1315HREF="libxml-tree.html#XMLCHAR"
1316>xmlChar</A
1317>* <A
1318HREF="libxml-tree.html#XMLGETNSPROP"
1319>xmlGetNsProp</A
1320> (<A
1321HREF="libxml-tree.html#XMLNODEPTR"
1322>xmlNodePtr</A
1323> node,
1324 const <A
1325HREF="libxml-tree.html#XMLCHAR"
1326>xmlChar</A
1327> *name,
1328 const <A
1329HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001330>xmlChar</A
1331> *nameSpace);
1332<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001333HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001334>xmlNodePtr</A
1335> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001336HREF="libxml-tree.html#XMLSTRINGGETNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001337>xmlStringGetNodeList</A
1338> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001339HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001340>xmlDocPtr</A
1341> doc,
1342 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001343HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001344>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001345> *value);
1346<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001347HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001348>xmlNodePtr</A
1349> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001350HREF="libxml-tree.html#XMLSTRINGLENGETNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001351>xmlStringLenGetNodeList</A
1352> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001353HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001354>xmlDocPtr</A
1355> doc,
1356 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001357HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001358>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001359> *value,
1360 int len);
1361<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001362HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001363>xmlChar</A
1364>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001365HREF="libxml-tree.html#XMLNODELISTGETSTRING"
Daniel Veillard35925471999-02-25 08:46:07 +00001366>xmlNodeListGetString</A
1367> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001368HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001369>xmlDocPtr</A
1370> doc,
1371 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001372HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001373>xmlNodePtr</A
1374> list,
1375 int inLine);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001376<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001377HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001378>xmlChar</A
1379>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001380HREF="libxml-tree.html#XMLNODELISTGETRAWSTRING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001381>xmlNodeListGetRawString</A
1382> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001383HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001384>xmlDocPtr</A
1385> doc,
1386 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001387HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001388>xmlNodePtr</A
1389> list,
1390 int inLine);
Daniel Veillard35925471999-02-25 08:46:07 +00001391void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001392HREF="libxml-tree.html#XMLNODESETCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001393>xmlNodeSetContent</A
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> cur,
1398 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001399HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001400>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001401> *content);
1402void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001403HREF="libxml-tree.html#XMLNODESETCONTENTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +00001404>xmlNodeSetContentLen</A
1405> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001406HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001407>xmlNodePtr</A
1408> cur,
1409 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001410HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001411>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001412> *content,
1413 int len);
1414void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001415HREF="libxml-tree.html#XMLNODEADDCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001416>xmlNodeAddContent</A
1417> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001418HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001419>xmlNodePtr</A
1420> cur,
1421 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001422HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001423>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001424> *content);
1425void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001426HREF="libxml-tree.html#XMLNODEADDCONTENTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +00001427>xmlNodeAddContentLen</A
1428> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001429HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001430>xmlNodePtr</A
1431> cur,
1432 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001435> *content,
1436 int len);
1437<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001438HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001439>xmlChar</A
1440>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001441HREF="libxml-tree.html#XMLNODEGETCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001442>xmlNodeGetContent</A
1443> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001444HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001445>xmlNodePtr</A
1446> cur);
Daniel Veillarda819dac1999-11-24 18:04:22 +00001447<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001448HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001449>xmlChar</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001450>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001451HREF="libxml-tree.html#XMLNODEGETLANG"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001452>xmlNodeGetLang</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001453> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001454HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001455>xmlNodePtr</A
1456> cur);
1457void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001458HREF="libxml-tree.html#XMLNODESETLANG"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001459>xmlNodeSetLang</A
1460> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001461HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001462>xmlNodePtr</A
1463> cur,
1464 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001465HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001466>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001467> *lang);
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001468int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001469HREF="libxml-tree.html#XMLNODEGETSPACEPRESERVE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001470>xmlNodeGetSpacePreserve</A
1471> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001472HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001473>xmlNodePtr</A
1474> cur);
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001475void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001476HREF="libxml-tree.html#XMLNODESETSPACEPRESERVE"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001477>xmlNodeSetSpacePreserve</A
1478> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001479HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001480>xmlNodePtr</A
1481> cur,
1482 <GTKDOCLINK
1483HREF="INTVAL"
1484>intval</GTKDOCLINK
1485>);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001486<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001487HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001488>xmlChar</A
1489>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001490HREF="libxml-tree.html#XMLNODEGETBASE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001491>xmlNodeGetBase</A
1492> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001493HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001494>xmlDocPtr</A
1495> doc,
1496 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001497HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001498>xmlNodePtr</A
1499> cur);
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001500void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001501HREF="libxml-tree.html#XMLNODESETBASE"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001502>xmlNodeSetBase</A
1503> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001504HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001505>xmlNodePtr</A
1506> cur,
1507 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001508HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001509>xmlChar</A
1510> *uri);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001511int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001512HREF="libxml-tree.html#XMLREMOVEPROP"
Daniel Veillard06047432000-04-24 11:33:38 +00001513>xmlRemoveProp</A
1514> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001515HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard06047432000-04-24 11:33:38 +00001516>xmlAttrPtr</A
1517> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001518int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001519HREF="libxml-tree.html#XMLREMOVENODE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001520>xmlRemoveNode</A
1521> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001522HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001523>xmlNodePtr</A
1524> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001525void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001526HREF="libxml-tree.html#XMLBUFFERWRITEXMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001527>xmlBufferWriteXmlCHAR</A
1528> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001529HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001530>xmlBufferPtr</A
1531> buf,
1532 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001533HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001534>xmlChar</A
1535> *string);
1536void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001537HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001538>xmlBufferWriteCHAR</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001539> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001540HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001541>xmlBufferPtr</A
1542> buf,
1543 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001544HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001545>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001546> *string);
1547void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001548HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001549>xmlBufferWriteChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001550> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001551HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001552>xmlBufferPtr</A
1553> buf,
1554 const char *string);
Daniel Veillard35925471999-02-25 08:46:07 +00001555void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001556HREF="libxml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001557>xmlBufferWriteQuotedString</A
1558> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001559HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001560>xmlBufferPtr</A
1561> buf,
1562 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001563HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001564>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001565> *string);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001566int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001567HREF="libxml-tree.html#XMLRECONCILIATENS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001568>xmlReconciliateNs</A
1569> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001570HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001571>xmlDocPtr</A
1572> doc,
1573 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001574HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001575>xmlNodePtr</A
1576> tree);
Daniel Veillard011b63c1999-06-02 17:44:04 +00001577void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001578HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORY"
Daniel Veillard503b8932001-01-05 06:36:31 +00001579>xmlDocDumpFormatMemory</A
1580> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001581HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001582>xmlDocPtr</A
1583> cur,
1584 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001585HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001586>xmlChar</A
1587> **mem,
1588 int *size,
1589 int format);
1590void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001591HREF="libxml-tree.html#XMLDOCDUMPMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +00001592>xmlDocDumpMemory</A
1593> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001594HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001595>xmlDocPtr</A
1596> cur,
1597 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001598HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001599>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001600> **mem,
1601 int *size);
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001602void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001603HREF="libxml-tree.html#XMLDOCDUMPMEMORYENC"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001604>xmlDocDumpMemoryEnc</A
1605> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001606HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001607>xmlDocPtr</A
1608> out_doc,
1609 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001610HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001611>xmlChar</A
1612> **doc_txt_ptr,
1613 int *doc_txt_len,
1614 const char *txt_encoding);
Daniel Veillard503b8932001-01-05 06:36:31 +00001615void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001616HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORYENC"
Daniel Veillard503b8932001-01-05 06:36:31 +00001617>xmlDocDumpFormatMemoryEnc</A
1618> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001619HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001620>xmlDocPtr</A
1621> out_doc,
1622 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001623HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001624>xmlChar</A
1625> **doc_txt_ptr,
1626 int *doc_txt_len,
1627 const char *txt_encoding,
1628 int format);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001629int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001630HREF="libxml-tree.html#XMLDOCDUMP"
Daniel Veillard35925471999-02-25 08:46:07 +00001631>xmlDocDump</A
1632> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001633HREF="FILE-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001634>FILE</GTKDOCLINK
1635> *f,
1636 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001637HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001638>xmlDocPtr</A
1639> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001640void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001641HREF="libxml-tree.html#XMLELEMDUMP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001642>xmlElemDump</A
1643> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001644HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001645>FILE</GTKDOCLINK
1646> *f,
1647 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001648HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001649>xmlDocPtr</A
1650> doc,
1651 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001652HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001653>xmlNodePtr</A
1654> cur);
Daniel Veillard35925471999-02-25 08:46:07 +00001655int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001656HREF="libxml-tree.html#XMLSAVEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +00001657>xmlSaveFile</A
1658> (const char *filename,
1659 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001660HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001661>xmlDocPtr</A
1662> cur);
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001663void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001664HREF="libxml-tree.html#XMLNODEDUMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001665>xmlNodeDump</A
1666> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001667HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001668>xmlBufferPtr</A
1669> buf,
1670 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001671HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001672>xmlDocPtr</A
1673> doc,
1674 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001675HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001676>xmlNodePtr</A
1677> cur,
1678 int level,
1679 int format);
Daniel Veillard35925471999-02-25 08:46:07 +00001680int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001681HREF="libxml-tree.html#XMLSAVEFILEENC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001682>xmlSaveFileEnc</A
1683> (const char *filename,
1684 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001685HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001686>xmlDocPtr</A
1687> cur,
1688 const char *encoding);
1689int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001690HREF="libxml-tree.html#XMLGETDOCCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001691>xmlGetDocCompressMode</A
1692> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001693HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001694>xmlDocPtr</A
1695> doc);
1696void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001697HREF="libxml-tree.html#XMLSETDOCCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001698>xmlSetDocCompressMode</A
1699> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001700HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001701>xmlDocPtr</A
1702> doc,
1703 int mode);
1704int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001705HREF="libxml-tree.html#XMLGETCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001706>xmlGetCompressMode</A
1707> (void);
1708void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001709HREF="libxml-tree.html#XMLSETCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001710>xmlSetCompressMode</A
1711> (int mode);</PRE
1712></TD
1713></TR
1714></TABLE
1715></DIV
1716><DIV
1717CLASS="REFSECT1"
1718><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001719NAME="AEN4075"
Daniel Veillard35925471999-02-25 08:46:07 +00001720></A
1721><H2
1722>Description</H2
1723><P
1724></P
1725></DIV
1726><DIV
1727CLASS="REFSECT1"
1728><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001729NAME="AEN4078"
Daniel Veillard35925471999-02-25 08:46:07 +00001730></A
1731><H2
1732>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001733><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001734CLASS="REFSECT2"
1735><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001736NAME="AEN4080"
1737></A
1738><H3
1739><A
1740NAME="XML-XML-NAMESPACE-CAPS"
1741></A
1742>XML_XML_NAMESPACE</H3
1743><TABLE
1744BORDER="0"
1745BGCOLOR="#D6E8FF"
1746WIDTH="100%"
1747CELLPADDING="6"
1748><TR
1749><TD
1750><PRE
1751CLASS="PROGRAMLISTING"
1752>#define XML_XML_NAMESPACE</PRE
1753></TD
1754></TR
1755></TABLE
1756><P
1757></P
1758></DIV
1759><HR><DIV
1760CLASS="REFSECT2"
1761><A
1762NAME="AEN4085"
Daniel Veillard35925471999-02-25 08:46:07 +00001763></A
1764><H3
1765><A
1766NAME="XMLELEMENTTYPE"
1767></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001768>enum xmlElementType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001769><TABLE
1770BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001771BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001772WIDTH="100%"
1773CELLPADDING="6"
1774><TR
1775><TD
1776><PRE
1777CLASS="PROGRAMLISTING"
1778>typedef enum {
1779 XML_ELEMENT_NODE= 1,
1780 XML_ATTRIBUTE_NODE= 2,
1781 XML_TEXT_NODE= 3,
1782 XML_CDATA_SECTION_NODE= 4,
1783 XML_ENTITY_REF_NODE= 5,
1784 XML_ENTITY_NODE= 6,
1785 XML_PI_NODE= 7,
1786 XML_COMMENT_NODE= 8,
1787 XML_DOCUMENT_NODE= 9,
1788 XML_DOCUMENT_TYPE_NODE= 10,
1789 XML_DOCUMENT_FRAG_NODE= 11,
Daniel Veillard35008381999-10-25 13:15:52 +00001790 XML_NOTATION_NODE= 12,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001791 XML_HTML_DOCUMENT_NODE= 13,
1792 XML_DTD_NODE= 14,
1793 XML_ELEMENT_DECL= 15,
1794 XML_ATTRIBUTE_DECL= 16,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001795 XML_ENTITY_DECL= 17,
Daniel Veillard28929b22000-11-13 18:22:49 +00001796 XML_NAMESPACE_DECL= 18,
1797 XML_XINCLUDE_START= 19,
1798 XML_XINCLUDE_END= 20
Daniel Veillarda4964b72000-10-31 18:23:44 +00001799#ifdef LIBXML_SGML_ENABLED
Daniel Veillard28929b22000-11-13 18:22:49 +00001800 ,XML_SGML_DOCUMENT_NODE= 21
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001801#endif
Daniel Veillard35925471999-02-25 08:46:07 +00001802} xmlElementType;</PRE
1803></TD
1804></TR
1805></TABLE
1806><P
1807></P
1808></DIV
1809><HR><DIV
1810CLASS="REFSECT2"
1811><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001812NAME="AEN4090"
Daniel Veillard35925471999-02-25 08:46:07 +00001813></A
1814><H3
1815><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001816NAME="XMLCHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001817></A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001818>xmlChar</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001819><TABLE
1820BORDER="0"
1821BGCOLOR="#D6E8FF"
1822WIDTH="100%"
1823CELLPADDING="6"
1824><TR
1825><TD
1826><PRE
1827CLASS="PROGRAMLISTING"
1828>typedef unsigned char xmlChar;</PRE
1829></TD
1830></TR
1831></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001832><P
1833></P
1834></DIV
1835><HR><DIV
1836CLASS="REFSECT2"
1837><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001838NAME="AEN4095"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001839></A
1840><H3
1841><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001842NAME="CHAR-CAPS"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001843></A
1844>CHAR</H3
1845><TABLE
1846BORDER="0"
1847BGCOLOR="#D6E8FF"
1848WIDTH="100%"
1849CELLPADDING="6"
1850><TR
1851><TD
1852><PRE
1853CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001854>#define CHAR xmlChar</PRE
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001855></TD
1856></TR
1857></TABLE
1858><P
1859></P
1860></DIV
1861><HR><DIV
1862CLASS="REFSECT2"
1863><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001864NAME="AEN4100"
Daniel Veillard35925471999-02-25 08:46:07 +00001865></A
1866><H3
1867><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001868NAME="BAD-CAST-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001869></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001870>BAD_CAST</H3
1871><TABLE
1872BORDER="0"
1873BGCOLOR="#D6E8FF"
1874WIDTH="100%"
1875CELLPADDING="6"
1876><TR
1877><TD
1878><PRE
1879CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001880>#define BAD_CAST (xmlChar *)</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001881></TD
1882></TR
1883></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001884><P
1885></P
1886></DIV
1887><HR><DIV
1888CLASS="REFSECT2"
1889><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001890NAME="AEN4105"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001891></A
1892><H3
1893><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001894NAME="XMLNOTATION"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001895></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001896>struct xmlNotation</H3
1897><TABLE
1898BORDER="0"
1899BGCOLOR="#D6E8FF"
1900WIDTH="100%"
1901CELLPADDING="6"
1902><TR
1903><TD
1904><PRE
1905CLASS="PROGRAMLISTING"
1906>struct xmlNotation {
1907 const xmlChar *name; /* Notation name */
1908 const xmlChar *PublicID; /* Public identifier, if any */
1909 const xmlChar *SystemID; /* System identifier, if any */
1910};</PRE
1911></TD
1912></TR
1913></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001914><P
1915></P
1916></DIV
1917><HR><DIV
1918CLASS="REFSECT2"
1919><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001920NAME="AEN4110"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001921></A
1922><H3
1923><A
1924NAME="XMLNOTATIONPTR"
1925></A
1926>xmlNotationPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001927><TABLE
1928BORDER="0"
1929BGCOLOR="#D6E8FF"
1930WIDTH="100%"
1931CELLPADDING="6"
1932><TR
1933><TD
1934><PRE
1935CLASS="PROGRAMLISTING"
1936>typedef xmlNotation *xmlNotationPtr;</PRE
1937></TD
1938></TR
1939></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001940><P
1941></P
1942></DIV
1943><HR><DIV
1944CLASS="REFSECT2"
1945><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001946NAME="AEN4115"
Daniel Veillard35925471999-02-25 08:46:07 +00001947></A
1948><H3
1949><A
1950NAME="XMLATTRIBUTETYPE"
1951></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001952>enum xmlAttributeType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001953><TABLE
1954BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001955BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001956WIDTH="100%"
1957CELLPADDING="6"
1958><TR
1959><TD
1960><PRE
1961CLASS="PROGRAMLISTING"
1962>typedef enum {
1963 XML_ATTRIBUTE_CDATA = 1,
1964 XML_ATTRIBUTE_ID,
1965 XML_ATTRIBUTE_IDREF ,
1966 XML_ATTRIBUTE_IDREFS,
1967 XML_ATTRIBUTE_ENTITY,
1968 XML_ATTRIBUTE_ENTITIES,
1969 XML_ATTRIBUTE_NMTOKEN,
1970 XML_ATTRIBUTE_NMTOKENS,
1971 XML_ATTRIBUTE_ENUMERATION,
1972 XML_ATTRIBUTE_NOTATION
1973} xmlAttributeType;</PRE
1974></TD
1975></TR
1976></TABLE
1977><P
1978></P
1979></DIV
1980><HR><DIV
1981CLASS="REFSECT2"
1982><A
Daniel Veillarde356c282001-03-10 12:32:04 +00001983NAME="AEN4120"
Daniel Veillard35925471999-02-25 08:46:07 +00001984></A
1985><H3
1986><A
1987NAME="XMLATTRIBUTEDEFAULT"
1988></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001989>enum xmlAttributeDefault</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001990><TABLE
1991BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001992BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001993WIDTH="100%"
1994CELLPADDING="6"
1995><TR
1996><TD
1997><PRE
1998CLASS="PROGRAMLISTING"
1999>typedef enum {
2000 XML_ATTRIBUTE_NONE = 1,
2001 XML_ATTRIBUTE_REQUIRED,
2002 XML_ATTRIBUTE_IMPLIED,
2003 XML_ATTRIBUTE_FIXED
2004} xmlAttributeDefault;</PRE
2005></TD
2006></TR
2007></TABLE
2008><P
2009></P
2010></DIV
2011><HR><DIV
2012CLASS="REFSECT2"
2013><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002014NAME="AEN4125"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002015></A
2016><H3
2017><A
2018NAME="XMLENUMERATION"
2019></A
2020>struct xmlEnumeration</H3
2021><TABLE
2022BORDER="0"
2023BGCOLOR="#D6E8FF"
2024WIDTH="100%"
2025CELLPADDING="6"
2026><TR
2027><TD
2028><PRE
2029CLASS="PROGRAMLISTING"
2030>struct xmlEnumeration {
2031 struct _xmlEnumeration *next; /* next one */
2032 const xmlChar *name; /* Enumeration name */
2033};</PRE
2034></TD
2035></TR
2036></TABLE
2037><P
2038></P
2039></DIV
2040><HR><DIV
2041CLASS="REFSECT2"
2042><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002043NAME="AEN4130"
Daniel Veillard35925471999-02-25 08:46:07 +00002044></A
2045><H3
2046><A
2047NAME="XMLENUMERATIONPTR"
2048></A
2049>xmlEnumerationPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002050><TABLE
2051BORDER="0"
2052BGCOLOR="#D6E8FF"
2053WIDTH="100%"
2054CELLPADDING="6"
2055><TR
2056><TD
2057><PRE
2058CLASS="PROGRAMLISTING"
2059>typedef xmlEnumeration *xmlEnumerationPtr;</PRE
2060></TD
2061></TR
2062></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002063><P
2064></P
2065></DIV
2066><HR><DIV
2067CLASS="REFSECT2"
2068><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002069NAME="AEN4135"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002070></A
2071><H3
2072><A
2073NAME="XMLATTRIBUTE"
2074></A
2075>struct xmlAttribute</H3
2076><TABLE
2077BORDER="0"
2078BGCOLOR="#D6E8FF"
2079WIDTH="100%"
2080CELLPADDING="6"
2081><TR
2082><TD
2083><PRE
2084CLASS="PROGRAMLISTING"
2085>struct xmlAttribute {
2086#ifndef XML_WITHOUT_CORBA
2087 void *_private; /* for Corba, must be first ! */
2088#endif
2089 xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */
2090 const xmlChar *name; /* Attribute name */
2091 struct _xmlNode *children; /* NULL */
2092 struct _xmlNode *last; /* NULL */
2093 struct _xmlDtd *parent; /* -&gt; DTD */
2094 struct _xmlNode *next; /* next sibling link */
2095 struct _xmlNode *prev; /* previous sibling link */
2096 struct _xmlDoc *doc; /* the containing document */
2097
2098 struct _xmlAttribute *nexth; /* next in hash table */
2099 xmlAttributeType atype; /* The attribute type */
2100 xmlAttributeDefault def; /* the default */
2101 const xmlChar *defaultValue; /* or the default value */
2102 xmlEnumerationPtr tree; /* or the enumeration tree if any */
2103 const xmlChar *prefix; /* the namespace prefix if any */
2104 const xmlChar *elem; /* Element holding the attribute */
2105};</PRE
2106></TD
2107></TR
2108></TABLE
2109><P
2110></P
2111></DIV
2112><HR><DIV
2113CLASS="REFSECT2"
2114><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002115NAME="AEN4140"
Daniel Veillard35925471999-02-25 08:46:07 +00002116></A
2117><H3
2118><A
2119NAME="XMLATTRIBUTEPTR"
2120></A
2121>xmlAttributePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002122><TABLE
2123BORDER="0"
2124BGCOLOR="#D6E8FF"
2125WIDTH="100%"
2126CELLPADDING="6"
2127><TR
2128><TD
2129><PRE
2130CLASS="PROGRAMLISTING"
2131>typedef xmlAttribute *xmlAttributePtr;</PRE
2132></TD
2133></TR
2134></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002135><P
2136></P
2137></DIV
2138><HR><DIV
2139CLASS="REFSECT2"
2140><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002141NAME="AEN4145"
Daniel Veillard35925471999-02-25 08:46:07 +00002142></A
2143><H3
2144><A
2145NAME="XMLELEMENTCONTENTTYPE"
2146></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002147>enum xmlElementContentType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002148><TABLE
2149BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002150BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002151WIDTH="100%"
2152CELLPADDING="6"
2153><TR
2154><TD
2155><PRE
2156CLASS="PROGRAMLISTING"
2157>typedef enum {
2158 XML_ELEMENT_CONTENT_PCDATA = 1,
2159 XML_ELEMENT_CONTENT_ELEMENT,
2160 XML_ELEMENT_CONTENT_SEQ,
2161 XML_ELEMENT_CONTENT_OR
2162} xmlElementContentType;</PRE
2163></TD
2164></TR
2165></TABLE
2166><P
2167></P
2168></DIV
2169><HR><DIV
2170CLASS="REFSECT2"
2171><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002172NAME="AEN4150"
Daniel Veillard35925471999-02-25 08:46:07 +00002173></A
2174><H3
2175><A
2176NAME="XMLELEMENTCONTENTOCCUR"
2177></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002178>enum xmlElementContentOccur</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002179><TABLE
2180BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002181BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002182WIDTH="100%"
2183CELLPADDING="6"
2184><TR
2185><TD
2186><PRE
2187CLASS="PROGRAMLISTING"
2188>typedef enum {
2189 XML_ELEMENT_CONTENT_ONCE = 1,
2190 XML_ELEMENT_CONTENT_OPT,
2191 XML_ELEMENT_CONTENT_MULT,
2192 XML_ELEMENT_CONTENT_PLUS
2193} xmlElementContentOccur;</PRE
2194></TD
2195></TR
2196></TABLE
2197><P
2198></P
2199></DIV
2200><HR><DIV
2201CLASS="REFSECT2"
2202><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002203NAME="AEN4155"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002204></A
2205><H3
2206><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002207NAME="XMLELEMENTCONTENT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002208></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002209>struct xmlElementContent</H3
2210><TABLE
2211BORDER="0"
2212BGCOLOR="#D6E8FF"
2213WIDTH="100%"
2214CELLPADDING="6"
2215><TR
2216><TD
2217><PRE
2218CLASS="PROGRAMLISTING"
2219>struct xmlElementContent {
2220 xmlElementContentType type; /* PCDATA, ELEMENT, SEQ or OR */
2221 xmlElementContentOccur ocur; /* ONCE, OPT, MULT or PLUS */
2222 const xmlChar *name; /* Element name */
2223 struct _xmlElementContent *c1; /* first child */
2224 struct _xmlElementContent *c2; /* second child */
2225};</PRE
2226></TD
2227></TR
2228></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00002229><P
2230></P
2231></DIV
2232><HR><DIV
2233CLASS="REFSECT2"
2234><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002235NAME="AEN4160"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002236></A
2237><H3
2238><A
2239NAME="XMLELEMENTCONTENTPTR"
2240></A
2241>xmlElementContentPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002242><TABLE
2243BORDER="0"
2244BGCOLOR="#D6E8FF"
2245WIDTH="100%"
2246CELLPADDING="6"
2247><TR
2248><TD
2249><PRE
2250CLASS="PROGRAMLISTING"
2251>typedef xmlElementContent *xmlElementContentPtr;</PRE
2252></TD
2253></TR
2254></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002255><P
2256></P
2257></DIV
2258><HR><DIV
2259CLASS="REFSECT2"
2260><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002261NAME="AEN4165"
Daniel Veillard35925471999-02-25 08:46:07 +00002262></A
2263><H3
2264><A
2265NAME="XMLELEMENTTYPEVAL"
2266></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002267>enum xmlElementTypeVal</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002268><TABLE
2269BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002270BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002271WIDTH="100%"
2272CELLPADDING="6"
2273><TR
2274><TD
2275><PRE
2276CLASS="PROGRAMLISTING"
2277>typedef enum {
2278 XML_ELEMENT_TYPE_EMPTY = 1,
2279 XML_ELEMENT_TYPE_ANY,
2280 XML_ELEMENT_TYPE_MIXED,
2281 XML_ELEMENT_TYPE_ELEMENT
2282} xmlElementTypeVal;</PRE
2283></TD
2284></TR
2285></TABLE
2286><P
2287></P
2288></DIV
2289><HR><DIV
2290CLASS="REFSECT2"
2291><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002292NAME="AEN4170"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002293></A
2294><H3
2295><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002296NAME="XMLELEMENT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002297></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002298>struct xmlElement</H3
2299><TABLE
2300BORDER="0"
2301BGCOLOR="#D6E8FF"
2302WIDTH="100%"
2303CELLPADDING="6"
2304><TR
2305><TD
2306><PRE
2307CLASS="PROGRAMLISTING"
2308>struct xmlElement {
2309#ifndef XML_WITHOUT_CORBA
2310 void *_private; /* for Corba, must be first ! */
2311#endif
2312 xmlElementType type; /* XML_ELEMENT_DECL, must be second ! */
2313 const xmlChar *name; /* Element name */
2314 struct _xmlNode *children; /* NULL */
2315 struct _xmlNode *last; /* NULL */
2316 struct _xmlDtd *parent; /* -&gt; DTD */
2317 struct _xmlNode *next; /* next sibling link */
2318 struct _xmlNode *prev; /* previous sibling link */
2319 struct _xmlDoc *doc; /* the containing document */
2320
2321 xmlElementTypeVal etype; /* The type */
2322 xmlElementContentPtr content; /* the allowed element content */
2323 xmlAttributePtr attributes; /* List of the declared attributes */
2324 const xmlChar *prefix; /* the namespace prefix if any */
2325};</PRE
2326></TD
2327></TR
2328></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00002329><P
2330></P
2331></DIV
2332><HR><DIV
2333CLASS="REFSECT2"
2334><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002335NAME="AEN4175"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002336></A
2337><H3
2338><A
2339NAME="XMLELEMENTPTR"
2340></A
2341>xmlElementPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002342><TABLE
2343BORDER="0"
2344BGCOLOR="#D6E8FF"
2345WIDTH="100%"
2346CELLPADDING="6"
2347><TR
2348><TD
2349><PRE
2350CLASS="PROGRAMLISTING"
2351>typedef xmlElement *xmlElementPtr;</PRE
2352></TD
2353></TR
2354></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002355><P
2356></P
2357></DIV
2358><HR><DIV
2359CLASS="REFSECT2"
2360><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002361NAME="AEN4180"
Daniel Veillard35925471999-02-25 08:46:07 +00002362></A
2363><H3
2364><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002365NAME="XML-LOCAL-NAMESPACE-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00002366></A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002367>XML_LOCAL_NAMESPACE</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002368><TABLE
2369BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002370BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002371WIDTH="100%"
2372CELLPADDING="6"
2373><TR
2374><TD
2375><PRE
2376CLASS="PROGRAMLISTING"
Daniel Veillarda4964b72000-10-31 18:23:44 +00002377>#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002378></TD
2379></TR
2380></TABLE
2381><P
2382></P
2383></DIV
2384><HR><DIV
2385CLASS="REFSECT2"
2386><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002387NAME="AEN4185"
Daniel Veillarda4964b72000-10-31 18:23:44 +00002388></A
2389><H3
2390><A
2391NAME="XMLNSTYPE"
2392></A
2393>xmlNsType</H3
2394><TABLE
2395BORDER="0"
2396BGCOLOR="#D6E8FF"
2397WIDTH="100%"
2398CELLPADDING="6"
2399><TR
2400><TD
2401><PRE
2402CLASS="PROGRAMLISTING"
2403>typedef xmlElementType xmlNsType;</PRE
2404></TD
2405></TR
2406></TABLE
2407><P
2408></P
2409></DIV
2410><HR><DIV
2411CLASS="REFSECT2"
2412><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002413NAME="AEN4190"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002414></A
2415><H3
2416><A
2417NAME="XMLNS"
2418></A
2419>struct xmlNs</H3
2420><TABLE
2421BORDER="0"
2422BGCOLOR="#D6E8FF"
2423WIDTH="100%"
2424CELLPADDING="6"
2425><TR
2426><TD
2427><PRE
2428CLASS="PROGRAMLISTING"
2429>struct xmlNs {
2430 struct _xmlNs *next; /* next Ns link for this node */
2431 xmlNsType type; /* global or local */
2432 const xmlChar *href; /* URL for the namespace */
2433 const xmlChar *prefix; /* prefix for the namespace */
2434};</PRE
2435></TD
2436></TR
2437></TABLE
2438><P
2439></P
2440></DIV
2441><HR><DIV
2442CLASS="REFSECT2"
2443><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002444NAME="AEN4195"
Daniel Veillard35925471999-02-25 08:46:07 +00002445></A
2446><H3
2447><A
2448NAME="XMLNSPTR"
2449></A
2450>xmlNsPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002451><TABLE
2452BORDER="0"
2453BGCOLOR="#D6E8FF"
2454WIDTH="100%"
2455CELLPADDING="6"
2456><TR
2457><TD
2458><PRE
2459CLASS="PROGRAMLISTING"
2460>typedef xmlNs *xmlNsPtr;</PRE
2461></TD
2462></TR
2463></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002464><P
2465></P
2466></DIV
2467><HR><DIV
2468CLASS="REFSECT2"
2469><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002470NAME="AEN4200"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002471></A
2472><H3
2473><A
2474NAME="XMLDTD"
2475></A
2476>struct xmlDtd</H3
2477><TABLE
2478BORDER="0"
2479BGCOLOR="#D6E8FF"
2480WIDTH="100%"
2481CELLPADDING="6"
2482><TR
2483><TD
2484><PRE
2485CLASS="PROGRAMLISTING"
2486>struct xmlDtd {
2487#ifndef XML_WITHOUT_CORBA
2488 void *_private; /* for Corba, must be first ! */
2489#endif
2490 xmlElementType type; /* XML_DTD_NODE, must be second ! */
2491 const xmlChar *name; /* Name of the DTD */
2492 struct _xmlNode *children; /* the value of the property link */
2493 struct _xmlNode *last; /* last child link */
2494 struct _xmlDoc *parent; /* child-&gt;parent link */
2495 struct _xmlNode *next; /* next sibling link */
2496 struct _xmlNode *prev; /* previous sibling link */
2497 struct _xmlDoc *doc; /* the containing document */
2498
2499 /* End of common part */
2500 void *notations; /* Hash table for notations if any */
2501 void *elements; /* Hash table for elements if any */
2502 void *attributes; /* Hash table for attributes if any */
2503 void *entities; /* Hash table for entities if any */
2504 const xmlChar *ExternalID; /* External identifier for PUBLIC DTD */
2505 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC DTD */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002506 void *pentities; /* Hash table for param entities if any */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002507};</PRE
2508></TD
2509></TR
2510></TABLE
2511><P
2512></P
2513></DIV
2514><HR><DIV
2515CLASS="REFSECT2"
2516><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002517NAME="AEN4205"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002518></A
2519><H3
2520><A
2521NAME="XMLDTDPTR"
2522></A
2523>xmlDtdPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002524><TABLE
2525BORDER="0"
2526BGCOLOR="#D6E8FF"
2527WIDTH="100%"
2528CELLPADDING="6"
2529><TR
2530><TD
2531><PRE
2532CLASS="PROGRAMLISTING"
2533>typedef xmlDtd *xmlDtdPtr;</PRE
2534></TD
2535></TR
2536></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002537><P
2538></P
2539></DIV
2540><HR><DIV
2541CLASS="REFSECT2"
2542><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002543NAME="AEN4210"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002544></A
2545><H3
2546><A
2547NAME="XMLATTR"
2548></A
2549>struct xmlAttr</H3
2550><TABLE
2551BORDER="0"
2552BGCOLOR="#D6E8FF"
2553WIDTH="100%"
2554CELLPADDING="6"
2555><TR
2556><TD
2557><PRE
2558CLASS="PROGRAMLISTING"
2559>struct xmlAttr {
2560#ifndef XML_WITHOUT_CORBA
2561 void *_private; /* for Corba, must be first ! */
2562#endif
2563 xmlElementType type; /* XML_ATTRIBUTE_NODE, must be second ! */
2564 const xmlChar *name; /* the name of the property */
2565 struct _xmlNode *children; /* the value of the property */
2566 struct _xmlNode *last; /* NULL */
2567 struct _xmlNode *parent; /* child-&gt;parent link */
2568 struct _xmlAttr *next; /* next sibling link */
2569 struct _xmlAttr *prev; /* previous sibling link */
2570 struct _xmlDoc *doc; /* the containing document */
2571 xmlNs *ns; /* pointer to the associated namespace */
2572 xmlAttributeType atype; /* the attribute type if validating */
2573};</PRE
2574></TD
2575></TR
2576></TABLE
2577><P
2578></P
2579></DIV
2580><HR><DIV
2581CLASS="REFSECT2"
2582><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002583NAME="AEN4215"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002584></A
2585><H3
2586><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002587NAME="XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002588></A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002589>xmlAttrPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002590><TABLE
2591BORDER="0"
2592BGCOLOR="#D6E8FF"
2593WIDTH="100%"
2594CELLPADDING="6"
2595><TR
2596><TD
2597><PRE
2598CLASS="PROGRAMLISTING"
2599>typedef xmlAttr *xmlAttrPtr;</PRE
2600></TD
2601></TR
2602></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002603><P
2604></P
2605></DIV
2606><HR><DIV
2607CLASS="REFSECT2"
2608><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002609NAME="AEN4220"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002610></A
2611><H3
2612><A
2613NAME="XMLID"
2614></A
2615>struct xmlID</H3
2616><TABLE
2617BORDER="0"
2618BGCOLOR="#D6E8FF"
2619WIDTH="100%"
2620CELLPADDING="6"
2621><TR
2622><TD
2623><PRE
2624CLASS="PROGRAMLISTING"
2625>struct xmlID {
2626 struct _xmlID *next; /* next ID */
2627 const xmlChar *value; /* The ID name */
2628 xmlAttrPtr attr; /* The attribut holding it */
2629};</PRE
2630></TD
2631></TR
2632></TABLE
2633><P
2634></P
2635></DIV
2636><HR><DIV
2637CLASS="REFSECT2"
2638><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002639NAME="AEN4225"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002640></A
2641><H3
2642><A
2643NAME="XMLIDPTR"
2644></A
2645>xmlIDPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002646><TABLE
2647BORDER="0"
2648BGCOLOR="#D6E8FF"
2649WIDTH="100%"
2650CELLPADDING="6"
2651><TR
2652><TD
2653><PRE
2654CLASS="PROGRAMLISTING"
2655>typedef xmlID *xmlIDPtr;</PRE
2656></TD
2657></TR
2658></TABLE
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002659><P
2660></P
2661></DIV
2662><HR><DIV
2663CLASS="REFSECT2"
2664><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002665NAME="AEN4230"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002666></A
2667><H3
2668><A
2669NAME="XMLREF"
2670></A
2671>struct xmlRef</H3
2672><TABLE
2673BORDER="0"
2674BGCOLOR="#D6E8FF"
2675WIDTH="100%"
2676CELLPADDING="6"
2677><TR
2678><TD
2679><PRE
2680CLASS="PROGRAMLISTING"
2681>struct xmlRef {
2682 struct _xmlRef *next; /* next Ref */
2683 const xmlChar *value; /* The Ref name */
2684 xmlAttrPtr attr; /* The attribut holding it */
2685};</PRE
2686></TD
2687></TR
2688></TABLE
2689><P
2690></P
2691></DIV
2692><HR><DIV
2693CLASS="REFSECT2"
2694><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002695NAME="AEN4235"
Daniel Veillard35925471999-02-25 08:46:07 +00002696></A
2697><H3
2698><A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002699NAME="XMLREFPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002700></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002701>xmlRefPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002702><TABLE
2703BORDER="0"
2704BGCOLOR="#D6E8FF"
2705WIDTH="100%"
2706CELLPADDING="6"
2707><TR
2708><TD
2709><PRE
2710CLASS="PROGRAMLISTING"
2711>typedef xmlRef *xmlRefPtr;</PRE
2712></TD
2713></TR
2714></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002715><P
2716></P
2717></DIV
2718><HR><DIV
2719CLASS="REFSECT2"
2720><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002721NAME="AEN4240"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002722></A
2723><H3
2724><A
2725NAME="XMLBUFFERALLOCATIONSCHEME"
2726></A
2727>enum xmlBufferAllocationScheme</H3
2728><TABLE
2729BORDER="0"
2730BGCOLOR="#D6E8FF"
2731WIDTH="100%"
2732CELLPADDING="6"
2733><TR
2734><TD
2735><PRE
2736CLASS="PROGRAMLISTING"
2737>typedef enum {
2738 XML_BUFFER_ALLOC_DOUBLEIT,
2739 XML_BUFFER_ALLOC_EXACT
2740} xmlBufferAllocationScheme;</PRE
2741></TD
2742></TR
2743></TABLE
2744><P
2745></P
2746></DIV
2747><HR><DIV
2748CLASS="REFSECT2"
2749><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002750NAME="AEN4245"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002751></A
2752><H3
2753><A
2754NAME="XMLBUFFER"
2755></A
2756>struct xmlBuffer</H3
2757><TABLE
2758BORDER="0"
2759BGCOLOR="#D6E8FF"
2760WIDTH="100%"
2761CELLPADDING="6"
2762><TR
2763><TD
2764><PRE
2765CLASS="PROGRAMLISTING"
2766>struct xmlBuffer {
2767 xmlChar *content; /* The buffer content UTF8 */
2768 unsigned int use; /* The buffer size used */
2769 unsigned int size; /* The buffer size */
2770 xmlBufferAllocationScheme alloc; /* The realloc method */
2771};</PRE
2772></TD
2773></TR
2774></TABLE
2775><P
2776></P
2777></DIV
2778><HR><DIV
2779CLASS="REFSECT2"
2780><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002781NAME="AEN4250"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002782></A
2783><H3
2784><A
2785NAME="XMLBUFFERPTR"
2786></A
2787>xmlBufferPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002788><TABLE
2789BORDER="0"
2790BGCOLOR="#D6E8FF"
2791WIDTH="100%"
2792CELLPADDING="6"
2793><TR
2794><TD
2795><PRE
2796CLASS="PROGRAMLISTING"
2797>typedef xmlBuffer *xmlBufferPtr;</PRE
2798></TD
2799></TR
2800></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002801><P
2802></P
2803></DIV
2804><HR><DIV
2805CLASS="REFSECT2"
2806><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002807NAME="AEN4255"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002808></A
2809><H3
2810><A
2811NAME="XMLNODE"
2812></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002813>struct xmlNode</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002814><TABLE
2815BORDER="0"
2816BGCOLOR="#D6E8FF"
2817WIDTH="100%"
2818CELLPADDING="6"
2819><TR
2820><TD
2821><PRE
2822CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002823>struct xmlNode {
2824#ifndef XML_WITHOUT_CORBA
2825 void *_private; /* for Corba, must be first ! */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002826#endif
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002827 xmlElementType type; /* type number, must be second ! */
2828 const xmlChar *name; /* the name of the node, or the entity */
2829 struct _xmlNode *children; /* parent-&gt;childs link */
2830 struct _xmlNode *last; /* last child link */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002831 struct _xmlNode *parent; /* child-&gt;parent link */
2832 struct _xmlNode *next; /* next sibling link */
2833 struct _xmlNode *prev; /* previous sibling link */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002834 struct _xmlDoc *doc; /* the containing document */
2835 xmlNs *ns; /* pointer to the associated namespace */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002836#ifndef XML_USE_BUFFER_CONTENT
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002837 xmlChar *content; /* the content */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002838#else
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002839 xmlBufferPtr content; /* the content in a buffer */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002840#endif
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002841
2842 /* End of common part */
2843 struct _xmlAttr *properties;/* properties list */
2844 xmlNs *nsDef; /* namespace definitions on this node */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002845};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002846></TD
2847></TR
2848></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002849><P
2850></P
2851></DIV
2852><HR><DIV
2853CLASS="REFSECT2"
2854><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002855NAME="AEN4260"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002856></A
2857><H3
2858><A
2859NAME="XMLNODEPTR"
2860></A
2861>xmlNodePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002862><TABLE
2863BORDER="0"
2864BGCOLOR="#D6E8FF"
2865WIDTH="100%"
2866CELLPADDING="6"
2867><TR
2868><TD
2869><PRE
2870CLASS="PROGRAMLISTING"
2871>typedef xmlNode *xmlNodePtr;</PRE
2872></TD
2873></TR
2874></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002875><P
2876></P
2877></DIV
2878><HR><DIV
2879CLASS="REFSECT2"
2880><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002881NAME="AEN4265"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002882></A
2883><H3
2884><A
2885NAME="XMLDOC"
2886></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002887>struct xmlDoc</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002888><TABLE
2889BORDER="0"
2890BGCOLOR="#D6E8FF"
2891WIDTH="100%"
2892CELLPADDING="6"
2893><TR
2894><TD
2895><PRE
2896CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002897>struct xmlDoc {
2898#ifndef XML_WITHOUT_CORBA
2899 void *_private; /* for Corba, must be first ! */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002900#endif
2901 xmlElementType type; /* XML_DOCUMENT_NODE, must be second ! */
2902 char *name; /* name/filename/URI of the document */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002903 struct _xmlNode *children; /* the document tree */
2904 struct _xmlNode *last; /* last child link */
2905 struct _xmlNode *parent; /* child-&gt;parent link */
2906 struct _xmlNode *next; /* next sibling link */
2907 struct _xmlNode *prev; /* previous sibling link */
2908 struct _xmlDoc *doc; /* autoreference to itself */
2909
2910 /* End of common part */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002911 int compression;/* level of zlib compression */
2912 int standalone; /* standalone document (no external refs) */
2913 struct _xmlDtd *intSubset; /* the document internal subset */
2914 struct _xmlDtd *extSubset; /* the document external subset */
2915 struct _xmlNs *oldNs; /* Global namespace, the old way */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002916 const xmlChar *version; /* the XML version string */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002917 const xmlChar *encoding; /* external initial encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002918 void *ids; /* Hash table for ID attributes if any */
2919 void *refs; /* Hash table for IDREFs attributes if any */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002920 const xmlChar *URL; /* The URI for that document */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002921 int charset; /* encoding of the in-memory content
2922 actually an xmlCharEncoding */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002923};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002924></TD
2925></TR
2926></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002927><P
2928></P
2929></DIV
2930><HR><DIV
2931CLASS="REFSECT2"
2932><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002933NAME="AEN4270"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002934></A
2935><H3
2936><A
2937NAME="XMLDOCPTR"
2938></A
2939>xmlDocPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002940><TABLE
2941BORDER="0"
2942BGCOLOR="#D6E8FF"
2943WIDTH="100%"
2944CELLPADDING="6"
2945><TR
2946><TD
2947><PRE
2948CLASS="PROGRAMLISTING"
2949>typedef xmlDoc *xmlDocPtr;</PRE
2950></TD
2951></TR
2952></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002953><P
2954></P
2955></DIV
2956><HR><DIV
2957CLASS="REFSECT2"
2958><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002959NAME="AEN4275"
Daniel Veillard06047432000-04-24 11:33:38 +00002960></A
2961><H3
2962><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002963NAME="XMLCHILDRENNODE"
Daniel Veillard06047432000-04-24 11:33:38 +00002964></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002965>xmlChildrenNode</H3
2966><TABLE
2967BORDER="0"
2968BGCOLOR="#D6E8FF"
2969WIDTH="100%"
2970CELLPADDING="6"
2971><TR
2972><TD
2973><PRE
2974CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002975>#define xmlChildrenNode children</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002976></TD
2977></TR
2978></TABLE
Daniel Veillard06047432000-04-24 11:33:38 +00002979><P
2980></P
2981></DIV
2982><HR><DIV
2983CLASS="REFSECT2"
2984><A
Daniel Veillarde356c282001-03-10 12:32:04 +00002985NAME="AEN4280"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002986></A
2987><H3
2988><A
2989NAME="XMLROOTNODE"
2990></A
2991>xmlRootNode</H3
2992><TABLE
2993BORDER="0"
2994BGCOLOR="#D6E8FF"
2995WIDTH="100%"
2996CELLPADDING="6"
2997><TR
2998><TD
2999><PRE
3000CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003001>#define xmlRootNode children</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003002></TD
3003></TR
3004></TABLE
3005><P
3006></P
3007></DIV
3008><HR><DIV
3009CLASS="REFSECT2"
3010><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003011NAME="AEN4285"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003012></A
3013><H3
3014><A
3015NAME="XMLBUFFERCREATE"
3016></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003017>xmlBufferCreate ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003018><TABLE
3019BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003020BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003021WIDTH="100%"
3022CELLPADDING="6"
3023><TR
3024><TD
3025><PRE
3026CLASS="PROGRAMLISTING"
3027><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003028HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003029>xmlBufferPtr</A
3030> xmlBufferCreate (void);</PRE
3031></TD
3032></TR
3033></TABLE
3034><P
3035>routine to create an XML buffer.</P
3036><P
3037></P
3038><DIV
3039CLASS="INFORMALTABLE"
3040><P
3041></P
3042><TABLE
3043BORDER="0"
3044WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003045BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003046CELLSPACING="0"
3047CELLPADDING="4"
3048CLASS="CALSTABLE"
3049><TR
3050><TD
3051WIDTH="20%"
3052ALIGN="RIGHT"
3053VALIGN="TOP"
3054><I
3055CLASS="EMPHASIS"
3056>Returns</I
3057> :</TD
3058><TD
3059WIDTH="80%"
3060ALIGN="LEFT"
3061VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003062>the new structure.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003063></TR
3064></TABLE
3065><P
3066></P
3067></DIV
3068></DIV
3069><HR><DIV
3070CLASS="REFSECT2"
3071><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003072NAME="AEN4301"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003073></A
3074><H3
3075><A
3076NAME="XMLBUFFERCREATESIZE"
3077></A
3078>xmlBufferCreateSize ()</H3
3079><TABLE
3080BORDER="0"
3081BGCOLOR="#D6E8FF"
3082WIDTH="100%"
3083CELLPADDING="6"
3084><TR
3085><TD
3086><PRE
3087CLASS="PROGRAMLISTING"
3088><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003089HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003090>xmlBufferPtr</A
3091> xmlBufferCreateSize (<GTKDOCLINK
3092HREF="SIZE-T"
3093>size_t</GTKDOCLINK
3094> size);</PRE
3095></TD
3096></TR
3097></TABLE
3098><P
3099>routine to create an XML buffer.</P
3100><P
3101></P
3102><DIV
3103CLASS="INFORMALTABLE"
3104><P
3105></P
3106><TABLE
3107BORDER="0"
3108WIDTH="100%"
3109BGCOLOR="#FFD0D0"
3110CELLSPACING="0"
3111CELLPADDING="4"
3112CLASS="CALSTABLE"
3113><TR
3114><TD
3115WIDTH="20%"
3116ALIGN="RIGHT"
3117VALIGN="TOP"
3118><TT
3119CLASS="PARAMETER"
3120><I
3121>size</I
3122></TT
3123>&nbsp;:</TD
3124><TD
3125WIDTH="80%"
3126ALIGN="LEFT"
3127VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003128> initial size of buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003129></TR
3130><TR
3131><TD
3132WIDTH="20%"
3133ALIGN="RIGHT"
3134VALIGN="TOP"
3135><I
3136CLASS="EMPHASIS"
3137>Returns</I
3138> :</TD
3139><TD
3140WIDTH="80%"
3141ALIGN="LEFT"
3142VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003143>the new structure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003144></TR
3145></TABLE
3146><P
3147></P
3148></DIV
3149></DIV
3150><HR><DIV
3151CLASS="REFSECT2"
3152><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003153NAME="AEN4322"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003154></A
3155><H3
3156><A
3157NAME="XMLBUFFERFREE"
3158></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003159>xmlBufferFree ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003160><TABLE
3161BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003162BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003163WIDTH="100%"
3164CELLPADDING="6"
3165><TR
3166><TD
3167><PRE
3168CLASS="PROGRAMLISTING"
3169>void xmlBufferFree (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003170HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003171>xmlBufferPtr</A
3172> buf);</PRE
3173></TD
3174></TR
3175></TABLE
3176><P
3177>Frees an XML buffer.</P
3178><P
3179></P
3180><DIV
3181CLASS="INFORMALTABLE"
3182><P
3183></P
3184><TABLE
3185BORDER="0"
3186WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003187BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003188CELLSPACING="0"
3189CELLPADDING="4"
3190CLASS="CALSTABLE"
3191><TR
3192><TD
3193WIDTH="20%"
3194ALIGN="RIGHT"
3195VALIGN="TOP"
3196><TT
3197CLASS="PARAMETER"
3198><I
3199>buf</I
3200></TT
3201>&nbsp;:</TD
3202><TD
3203WIDTH="80%"
3204ALIGN="LEFT"
3205VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003206> the buffer to free</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003207></TR
3208></TABLE
3209><P
3210></P
3211></DIV
3212></DIV
3213><HR><DIV
3214CLASS="REFSECT2"
3215><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003216NAME="AEN4338"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003217></A
3218><H3
3219><A
3220NAME="XMLBUFFERDUMP"
3221></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003222>xmlBufferDump ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003223><TABLE
3224BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003225BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003226WIDTH="100%"
3227CELLPADDING="6"
3228><TR
3229><TD
3230><PRE
3231CLASS="PROGRAMLISTING"
3232>int xmlBufferDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00003233HREF="FILE-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003234>FILE</GTKDOCLINK
3235> *file,
3236 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003237HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003238>xmlBufferPtr</A
3239> buf);</PRE
3240></TD
3241></TR
3242></TABLE
3243><P
3244>Dumps an XML buffer to a FILE *.</P
3245><P
3246></P
3247><DIV
3248CLASS="INFORMALTABLE"
3249><P
3250></P
3251><TABLE
3252BORDER="0"
3253WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003254BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003255CELLSPACING="0"
3256CELLPADDING="4"
3257CLASS="CALSTABLE"
3258><TR
3259><TD
3260WIDTH="20%"
3261ALIGN="RIGHT"
3262VALIGN="TOP"
3263><TT
3264CLASS="PARAMETER"
3265><I
3266>file</I
3267></TT
3268>&nbsp;:</TD
3269><TD
3270WIDTH="80%"
3271ALIGN="LEFT"
3272VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003273> the file output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003274></TR
3275><TR
3276><TD
3277WIDTH="20%"
3278ALIGN="RIGHT"
3279VALIGN="TOP"
3280><TT
3281CLASS="PARAMETER"
3282><I
3283>buf</I
3284></TT
3285>&nbsp;:</TD
3286><TD
3287WIDTH="80%"
3288ALIGN="LEFT"
3289VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003290> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003291></TR
3292><TR
3293><TD
3294WIDTH="20%"
3295ALIGN="RIGHT"
3296VALIGN="TOP"
3297><I
3298CLASS="EMPHASIS"
3299>Returns</I
3300> :</TD
3301><TD
3302WIDTH="80%"
3303ALIGN="LEFT"
3304VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003305>the number of xmlChar written</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003306></TR
3307></TABLE
3308><P
3309></P
3310></DIV
3311></DIV
3312><HR><DIV
3313CLASS="REFSECT2"
3314><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003315NAME="AEN4363"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003316></A
3317><H3
3318><A
3319NAME="XMLBUFFERADD"
3320></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003321>xmlBufferAdd ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003322><TABLE
3323BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003324BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003325WIDTH="100%"
3326CELLPADDING="6"
3327><TR
3328><TD
3329><PRE
3330CLASS="PROGRAMLISTING"
3331>void xmlBufferAdd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003332HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003333>xmlBufferPtr</A
3334> buf,
3335 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003336HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003337>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003338> *str,
3339 int len);</PRE
3340></TD
3341></TR
3342></TABLE
3343><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00003344>Add a string range to an XML buffer. if len == -1, the lenght of
3345str is recomputed.</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003346><P
3347></P
3348><DIV
3349CLASS="INFORMALTABLE"
3350><P
3351></P
3352><TABLE
3353BORDER="0"
3354WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003355BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003356CELLSPACING="0"
3357CELLPADDING="4"
3358CLASS="CALSTABLE"
3359><TR
3360><TD
3361WIDTH="20%"
3362ALIGN="RIGHT"
3363VALIGN="TOP"
3364><TT
3365CLASS="PARAMETER"
3366><I
3367>buf</I
3368></TT
3369>&nbsp;:</TD
3370><TD
3371WIDTH="80%"
3372ALIGN="LEFT"
3373VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003374> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003375></TR
3376><TR
3377><TD
3378WIDTH="20%"
3379ALIGN="RIGHT"
3380VALIGN="TOP"
3381><TT
3382CLASS="PARAMETER"
3383><I
3384>str</I
3385></TT
3386>&nbsp;:</TD
3387><TD
3388WIDTH="80%"
3389ALIGN="LEFT"
3390VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003391> the xmlChar string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003392></TR
3393><TR
3394><TD
3395WIDTH="20%"
3396ALIGN="RIGHT"
3397VALIGN="TOP"
3398><TT
3399CLASS="PARAMETER"
3400><I
3401>len</I
3402></TT
3403>&nbsp;:</TD
3404><TD
3405WIDTH="80%"
3406ALIGN="LEFT"
3407VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003408> the number of xmlChar to add</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003409></TR
3410></TABLE
3411><P
3412></P
3413></DIV
3414></DIV
3415><HR><DIV
3416CLASS="REFSECT2"
3417><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003418NAME="AEN4388"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003419></A
3420><H3
3421><A
3422NAME="XMLBUFFERADDHEAD"
3423></A
3424>xmlBufferAddHead ()</H3
3425><TABLE
3426BORDER="0"
3427BGCOLOR="#D6E8FF"
3428WIDTH="100%"
3429CELLPADDING="6"
3430><TR
3431><TD
3432><PRE
3433CLASS="PROGRAMLISTING"
3434>void xmlBufferAddHead (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003435HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003436>xmlBufferPtr</A
3437> buf,
3438 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003439HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003440>xmlChar</A
3441> *str,
3442 int len);</PRE
3443></TD
3444></TR
3445></TABLE
3446><P
3447>Add a string range to the beginning of an XML buffer.
3448if len == -1, the lenght of <TT
3449CLASS="PARAMETER"
3450><I
3451>str</I
3452></TT
3453> is recomputed.</P
3454><P
3455></P
3456><DIV
3457CLASS="INFORMALTABLE"
3458><P
3459></P
3460><TABLE
3461BORDER="0"
3462WIDTH="100%"
3463BGCOLOR="#FFD0D0"
3464CELLSPACING="0"
3465CELLPADDING="4"
3466CLASS="CALSTABLE"
3467><TR
3468><TD
3469WIDTH="20%"
3470ALIGN="RIGHT"
3471VALIGN="TOP"
3472><TT
3473CLASS="PARAMETER"
3474><I
3475>buf</I
3476></TT
3477>&nbsp;:</TD
3478><TD
3479WIDTH="80%"
3480ALIGN="LEFT"
3481VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003482> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003483></TR
3484><TR
3485><TD
3486WIDTH="20%"
3487ALIGN="RIGHT"
3488VALIGN="TOP"
3489><TT
3490CLASS="PARAMETER"
3491><I
3492>str</I
3493></TT
3494>&nbsp;:</TD
3495><TD
3496WIDTH="80%"
3497ALIGN="LEFT"
3498VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003499> the xmlChar string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003500></TR
3501><TR
3502><TD
3503WIDTH="20%"
3504ALIGN="RIGHT"
3505VALIGN="TOP"
3506><TT
3507CLASS="PARAMETER"
3508><I
3509>len</I
3510></TT
3511>&nbsp;:</TD
3512><TD
3513WIDTH="80%"
3514ALIGN="LEFT"
3515VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003516> the number of xmlChar to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003517></TR
3518></TABLE
3519><P
3520></P
3521></DIV
3522></DIV
3523><HR><DIV
3524CLASS="REFSECT2"
3525><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003526NAME="AEN4414"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003527></A
3528><H3
3529><A
3530NAME="XMLBUFFERCAT"
3531></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003532>xmlBufferCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003533><TABLE
3534BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003535BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003536WIDTH="100%"
3537CELLPADDING="6"
3538><TR
3539><TD
3540><PRE
3541CLASS="PROGRAMLISTING"
3542>void xmlBufferCat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003543HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003544>xmlBufferPtr</A
3545> buf,
3546 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003547HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003548>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003549> *str);</PRE
3550></TD
3551></TR
3552></TABLE
3553><P
3554>Append a zero terminated string to an XML buffer.</P
3555><P
3556></P
3557><DIV
3558CLASS="INFORMALTABLE"
3559><P
3560></P
3561><TABLE
3562BORDER="0"
3563WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003564BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003565CELLSPACING="0"
3566CELLPADDING="4"
3567CLASS="CALSTABLE"
3568><TR
3569><TD
3570WIDTH="20%"
3571ALIGN="RIGHT"
3572VALIGN="TOP"
3573><TT
3574CLASS="PARAMETER"
3575><I
3576>buf</I
3577></TT
3578>&nbsp;:</TD
3579><TD
3580WIDTH="80%"
3581ALIGN="LEFT"
3582VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003583> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003584></TR
3585><TR
3586><TD
3587WIDTH="20%"
3588ALIGN="RIGHT"
3589VALIGN="TOP"
3590><TT
3591CLASS="PARAMETER"
3592><I
3593>str</I
3594></TT
3595>&nbsp;:</TD
3596><TD
3597WIDTH="80%"
3598ALIGN="LEFT"
3599VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003600> the xmlChar string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003601></TR
3602></TABLE
3603><P
3604></P
3605></DIV
3606></DIV
3607><HR><DIV
3608CLASS="REFSECT2"
3609><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003610NAME="AEN4435"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003611></A
3612><H3
3613><A
3614NAME="XMLBUFFERCCAT"
3615></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003616>xmlBufferCCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003617><TABLE
3618BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003619BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003620WIDTH="100%"
3621CELLPADDING="6"
3622><TR
3623><TD
3624><PRE
3625CLASS="PROGRAMLISTING"
3626>void xmlBufferCCat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003627HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003628>xmlBufferPtr</A
3629> buf,
3630 const char *str);</PRE
3631></TD
3632></TR
3633></TABLE
3634><P
3635>Append a zero terminated C string to an XML buffer.</P
3636><P
3637></P
3638><DIV
3639CLASS="INFORMALTABLE"
3640><P
3641></P
3642><TABLE
3643BORDER="0"
3644WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003645BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003646CELLSPACING="0"
3647CELLPADDING="4"
3648CLASS="CALSTABLE"
3649><TR
3650><TD
3651WIDTH="20%"
3652ALIGN="RIGHT"
3653VALIGN="TOP"
3654><TT
3655CLASS="PARAMETER"
3656><I
3657>buf</I
3658></TT
3659>&nbsp;:</TD
3660><TD
3661WIDTH="80%"
3662ALIGN="LEFT"
3663VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003664> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003665></TR
3666><TR
3667><TD
3668WIDTH="20%"
3669ALIGN="RIGHT"
3670VALIGN="TOP"
3671><TT
3672CLASS="PARAMETER"
3673><I
3674>str</I
3675></TT
3676>&nbsp;:</TD
3677><TD
3678WIDTH="80%"
3679ALIGN="LEFT"
3680VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003681> the C char string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003682></TR
3683></TABLE
3684><P
3685></P
3686></DIV
3687></DIV
3688><HR><DIV
3689CLASS="REFSECT2"
3690><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003691NAME="AEN4455"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003692></A
3693><H3
3694><A
3695NAME="XMLBUFFERSHRINK"
3696></A
3697>xmlBufferShrink ()</H3
3698><TABLE
3699BORDER="0"
3700BGCOLOR="#D6E8FF"
3701WIDTH="100%"
3702CELLPADDING="6"
3703><TR
3704><TD
3705><PRE
3706CLASS="PROGRAMLISTING"
3707>int xmlBufferShrink (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003708HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003709>xmlBufferPtr</A
3710> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003711 unsigned int len);</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003712></TD
3713></TR
3714></TABLE
3715><P
3716>Remove the beginning of an XML buffer.</P
3717><P
3718></P
3719><DIV
3720CLASS="INFORMALTABLE"
3721><P
3722></P
3723><TABLE
3724BORDER="0"
3725WIDTH="100%"
3726BGCOLOR="#FFD0D0"
3727CELLSPACING="0"
3728CELLPADDING="4"
3729CLASS="CALSTABLE"
3730><TR
3731><TD
3732WIDTH="20%"
3733ALIGN="RIGHT"
3734VALIGN="TOP"
3735><TT
3736CLASS="PARAMETER"
3737><I
3738>buf</I
3739></TT
3740>&nbsp;:</TD
3741><TD
3742WIDTH="80%"
3743ALIGN="LEFT"
3744VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003745> the buffer to dump</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003746></TR
3747><TR
3748><TD
3749WIDTH="20%"
3750ALIGN="RIGHT"
3751VALIGN="TOP"
3752><TT
3753CLASS="PARAMETER"
3754><I
3755>len</I
3756></TT
3757>&nbsp;:</TD
3758><TD
3759WIDTH="80%"
3760ALIGN="LEFT"
3761VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003762> the number of xmlChar to remove</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003763></TR
3764><TR
3765><TD
3766WIDTH="20%"
3767ALIGN="RIGHT"
3768VALIGN="TOP"
3769><I
3770CLASS="EMPHASIS"
3771>Returns</I
3772> :</TD
3773><TD
3774WIDTH="80%"
3775ALIGN="LEFT"
3776VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003777>the number of xmlChar removed, or -1 in case of failure.</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003778></TR
3779></TABLE
3780><P
3781></P
3782></DIV
3783></DIV
3784><HR><DIV
3785CLASS="REFSECT2"
3786><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003787NAME="AEN4479"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003788></A
3789><H3
3790><A
3791NAME="XMLBUFFERGROW"
3792></A
3793>xmlBufferGrow ()</H3
3794><TABLE
3795BORDER="0"
3796BGCOLOR="#D6E8FF"
3797WIDTH="100%"
3798CELLPADDING="6"
3799><TR
3800><TD
3801><PRE
3802CLASS="PROGRAMLISTING"
3803>int xmlBufferGrow (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003804HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003805>xmlBufferPtr</A
3806> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003807 unsigned int len);</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003808></TD
3809></TR
3810></TABLE
3811><P
3812>Grow the available space of an XML buffer.</P
3813><P
3814></P
3815><DIV
3816CLASS="INFORMALTABLE"
3817><P
3818></P
3819><TABLE
3820BORDER="0"
3821WIDTH="100%"
3822BGCOLOR="#FFD0D0"
3823CELLSPACING="0"
3824CELLPADDING="4"
3825CLASS="CALSTABLE"
3826><TR
3827><TD
3828WIDTH="20%"
3829ALIGN="RIGHT"
3830VALIGN="TOP"
3831><TT
3832CLASS="PARAMETER"
3833><I
3834>buf</I
3835></TT
3836>&nbsp;:</TD
3837><TD
3838WIDTH="80%"
3839ALIGN="LEFT"
3840VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003841> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003842></TR
3843><TR
3844><TD
3845WIDTH="20%"
3846ALIGN="RIGHT"
3847VALIGN="TOP"
3848><TT
3849CLASS="PARAMETER"
3850><I
3851>len</I
3852></TT
3853>&nbsp;:</TD
3854><TD
3855WIDTH="80%"
3856ALIGN="LEFT"
3857VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003858> the minimum free size to allocate</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003859></TR
3860><TR
3861><TD
3862WIDTH="20%"
3863ALIGN="RIGHT"
3864VALIGN="TOP"
3865><I
3866CLASS="EMPHASIS"
3867>Returns</I
3868> :</TD
3869><TD
3870WIDTH="80%"
3871ALIGN="LEFT"
3872VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003873>the new available space or -1 in case of error</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003874></TR
3875></TABLE
3876><P
3877></P
3878></DIV
3879></DIV
3880><HR><DIV
3881CLASS="REFSECT2"
3882><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003883NAME="AEN4503"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003884></A
3885><H3
3886><A
3887NAME="XMLBUFFEREMPTY"
3888></A
3889>xmlBufferEmpty ()</H3
3890><TABLE
3891BORDER="0"
3892BGCOLOR="#D6E8FF"
3893WIDTH="100%"
3894CELLPADDING="6"
3895><TR
3896><TD
3897><PRE
3898CLASS="PROGRAMLISTING"
3899>void xmlBufferEmpty (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003900HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003901>xmlBufferPtr</A
3902> buf);</PRE
3903></TD
3904></TR
3905></TABLE
3906><P
3907>empty a buffer.</P
3908><P
3909></P
3910><DIV
3911CLASS="INFORMALTABLE"
3912><P
3913></P
3914><TABLE
3915BORDER="0"
3916WIDTH="100%"
3917BGCOLOR="#FFD0D0"
3918CELLSPACING="0"
3919CELLPADDING="4"
3920CLASS="CALSTABLE"
3921><TR
3922><TD
3923WIDTH="20%"
3924ALIGN="RIGHT"
3925VALIGN="TOP"
3926><TT
3927CLASS="PARAMETER"
3928><I
3929>buf</I
3930></TT
3931>&nbsp;:</TD
3932><TD
3933WIDTH="80%"
3934ALIGN="LEFT"
3935VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003936> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003937></TR
3938></TABLE
3939><P
3940></P
3941></DIV
3942></DIV
3943><HR><DIV
3944CLASS="REFSECT2"
3945><A
Daniel Veillarde356c282001-03-10 12:32:04 +00003946NAME="AEN4519"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003947></A
3948><H3
3949><A
3950NAME="XMLBUFFERCONTENT"
3951></A
3952>xmlBufferContent ()</H3
3953><TABLE
3954BORDER="0"
3955BGCOLOR="#D6E8FF"
3956WIDTH="100%"
3957CELLPADDING="6"
3958><TR
3959><TD
3960><PRE
3961CLASS="PROGRAMLISTING"
3962>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003963HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003964>xmlChar</A
3965>* xmlBufferContent (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003966HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003967>xmlBufferPtr</A
3968> buf);</PRE
3969></TD
3970></TR
3971></TABLE
3972><P
3973></P
3974><P
3975></P
3976><DIV
3977CLASS="INFORMALTABLE"
3978><P
3979></P
3980><TABLE
3981BORDER="0"
3982WIDTH="100%"
3983BGCOLOR="#FFD0D0"
3984CELLSPACING="0"
3985CELLPADDING="4"
3986CLASS="CALSTABLE"
3987><TR
3988><TD
3989WIDTH="20%"
3990ALIGN="RIGHT"
3991VALIGN="TOP"
3992><TT
3993CLASS="PARAMETER"
3994><I
3995>buf</I
3996></TT
3997>&nbsp;:</TD
3998><TD
3999WIDTH="80%"
4000ALIGN="LEFT"
4001VALIGN="TOP"
Daniel Veillarde356c282001-03-10 12:32:04 +00004002> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004003></TR
4004><TR
4005><TD
4006WIDTH="20%"
4007ALIGN="RIGHT"
4008VALIGN="TOP"
4009><I
4010CLASS="EMPHASIS"
4011>Returns</I
4012> :</TD
4013><TD
4014WIDTH="80%"
4015ALIGN="LEFT"
4016VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004017>the internal content</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004018></TR
4019></TABLE
4020><P
4021></P
4022></DIV
4023></DIV
4024><HR><DIV
4025CLASS="REFSECT2"
4026><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004027NAME="AEN4540"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004028></A
4029><H3
4030><A
4031NAME="XMLBUFFERUSE"
4032></A
4033>xmlBufferUse ()</H3
4034><TABLE
4035BORDER="0"
4036BGCOLOR="#D6E8FF"
4037WIDTH="100%"
4038CELLPADDING="6"
4039><TR
4040><TD
4041><PRE
4042CLASS="PROGRAMLISTING"
4043>int xmlBufferUse (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004044HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004045>xmlBufferPtr</A
4046> buf);</PRE
4047></TD
4048></TR
4049></TABLE
4050><P
4051></P
4052><DIV
4053CLASS="INFORMALTABLE"
4054><P
4055></P
4056><TABLE
4057BORDER="0"
4058WIDTH="100%"
4059BGCOLOR="#FFD0D0"
4060CELLSPACING="0"
4061CELLPADDING="4"
4062CLASS="CALSTABLE"
4063><TR
4064><TD
4065WIDTH="20%"
4066ALIGN="RIGHT"
4067VALIGN="TOP"
4068><TT
4069CLASS="PARAMETER"
4070><I
4071>buf</I
4072></TT
4073>&nbsp;:</TD
4074><TD
4075WIDTH="80%"
4076ALIGN="LEFT"
4077VALIGN="TOP"
4078>&nbsp;</TD
4079></TR
4080><TR
4081><TD
4082WIDTH="20%"
4083ALIGN="RIGHT"
4084VALIGN="TOP"
4085><I
4086CLASS="EMPHASIS"
4087>Returns</I
4088> :</TD
4089><TD
4090WIDTH="80%"
4091ALIGN="LEFT"
4092VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004093>&#13;</TD
Daniel Veillard294cbca1999-12-03 13:19:09 +00004094></TR
4095></TABLE
4096><P
4097></P
4098></DIV
4099></DIV
4100><HR><DIV
4101CLASS="REFSECT2"
4102><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004103NAME="AEN4559"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004104></A
4105><H3
4106><A
4107NAME="XMLBUFFERSETALLOCATIONSCHEME"
4108></A
4109>xmlBufferSetAllocationScheme ()</H3
4110><TABLE
4111BORDER="0"
4112BGCOLOR="#D6E8FF"
4113WIDTH="100%"
4114CELLPADDING="6"
4115><TR
4116><TD
4117><PRE
4118CLASS="PROGRAMLISTING"
4119>void xmlBufferSetAllocationScheme (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004120HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004121>xmlBufferPtr</A
4122> buf,
4123 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004124HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004125>xmlBufferAllocationScheme</A
4126> scheme);</PRE
4127></TD
4128></TR
4129></TABLE
4130><P
4131>Sets the allocation scheme for this buffer</P
4132><P
4133></P
4134><DIV
4135CLASS="INFORMALTABLE"
4136><P
4137></P
4138><TABLE
4139BORDER="0"
4140WIDTH="100%"
4141BGCOLOR="#FFD0D0"
4142CELLSPACING="0"
4143CELLPADDING="4"
4144CLASS="CALSTABLE"
4145><TR
4146><TD
4147WIDTH="20%"
4148ALIGN="RIGHT"
4149VALIGN="TOP"
4150><TT
4151CLASS="PARAMETER"
4152><I
4153>buf</I
4154></TT
4155>&nbsp;:</TD
4156><TD
4157WIDTH="80%"
4158ALIGN="LEFT"
4159VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004160> the buffer to free</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004161></TR
4162><TR
4163><TD
4164WIDTH="20%"
4165ALIGN="RIGHT"
4166VALIGN="TOP"
4167><TT
4168CLASS="PARAMETER"
4169><I
4170>scheme</I
4171></TT
4172>&nbsp;:</TD
4173><TD
4174WIDTH="80%"
4175ALIGN="LEFT"
4176VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004177> allocation scheme to use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004178></TR
4179></TABLE
4180><P
4181></P
4182></DIV
4183></DIV
4184><HR><DIV
4185CLASS="REFSECT2"
4186><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004187NAME="AEN4580"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004188></A
4189><H3
4190><A
4191NAME="XMLBUFFERLENGTH"
4192></A
4193>xmlBufferLength ()</H3
4194><TABLE
4195BORDER="0"
4196BGCOLOR="#D6E8FF"
4197WIDTH="100%"
4198CELLPADDING="6"
4199><TR
4200><TD
4201><PRE
4202CLASS="PROGRAMLISTING"
4203>int xmlBufferLength (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004204HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004205>xmlBufferPtr</A
4206> buf);</PRE
4207></TD
4208></TR
4209></TABLE
4210><P
4211></P
4212><P
4213></P
4214><DIV
4215CLASS="INFORMALTABLE"
4216><P
4217></P
4218><TABLE
4219BORDER="0"
4220WIDTH="100%"
4221BGCOLOR="#FFD0D0"
4222CELLSPACING="0"
4223CELLPADDING="4"
4224CLASS="CALSTABLE"
4225><TR
4226><TD
4227WIDTH="20%"
4228ALIGN="RIGHT"
4229VALIGN="TOP"
4230><TT
4231CLASS="PARAMETER"
4232><I
4233>buf</I
4234></TT
4235>&nbsp;:</TD
4236><TD
4237WIDTH="80%"
4238ALIGN="LEFT"
4239VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004240> the buffer </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004241></TR
4242><TR
4243><TD
4244WIDTH="20%"
4245ALIGN="RIGHT"
4246VALIGN="TOP"
4247><I
4248CLASS="EMPHASIS"
4249>Returns</I
4250> :</TD
4251><TD
4252WIDTH="80%"
4253ALIGN="LEFT"
4254VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004255>the length of data in the internal content</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004256></TR
4257></TABLE
4258><P
4259></P
4260></DIV
4261></DIV
4262><HR><DIV
4263CLASS="REFSECT2"
4264><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004265NAME="AEN4600"
Daniel Veillard35925471999-02-25 08:46:07 +00004266></A
4267><H3
4268><A
4269NAME="XMLCREATEINTSUBSET"
4270></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004271>xmlCreateIntSubset ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004272><TABLE
4273BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004274BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004275WIDTH="100%"
4276CELLPADDING="6"
4277><TR
4278><TD
4279><PRE
4280CLASS="PROGRAMLISTING"
4281><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004282HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004283>xmlDtdPtr</A
4284> xmlCreateIntSubset (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004285HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004286>xmlDocPtr</A
4287> doc,
4288 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004289HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004290>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004291> *name,
4292 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004293HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004294>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004295> *ExternalID,
4296 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004297HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004298>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004299> *SystemID);</PRE
4300></TD
4301></TR
4302></TABLE
4303><P
4304>Create the internal subset of a document</P
4305><P
4306></P
4307><DIV
4308CLASS="INFORMALTABLE"
4309><P
4310></P
4311><TABLE
4312BORDER="0"
4313WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004314BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004315CELLSPACING="0"
4316CELLPADDING="4"
4317CLASS="CALSTABLE"
4318><TR
4319><TD
4320WIDTH="20%"
4321ALIGN="RIGHT"
4322VALIGN="TOP"
4323><TT
4324CLASS="PARAMETER"
4325><I
4326>doc</I
4327></TT
4328>&nbsp;:</TD
4329><TD
4330WIDTH="80%"
4331ALIGN="LEFT"
4332VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004333> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004334></TR
4335><TR
4336><TD
4337WIDTH="20%"
4338ALIGN="RIGHT"
4339VALIGN="TOP"
4340><TT
4341CLASS="PARAMETER"
4342><I
4343>name</I
4344></TT
4345>&nbsp;:</TD
4346><TD
4347WIDTH="80%"
4348ALIGN="LEFT"
4349VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004350> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004351></TR
4352><TR
4353><TD
4354WIDTH="20%"
4355ALIGN="RIGHT"
4356VALIGN="TOP"
4357><TT
4358CLASS="PARAMETER"
4359><I
4360>ExternalID</I
4361></TT
4362>&nbsp;:</TD
4363><TD
4364WIDTH="80%"
4365ALIGN="LEFT"
4366VALIGN="TOP"
Daniel Veillarde356c282001-03-10 12:32:04 +00004367> the external (PUBLIC) ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004368></TR
4369><TR
4370><TD
4371WIDTH="20%"
4372ALIGN="RIGHT"
4373VALIGN="TOP"
4374><TT
4375CLASS="PARAMETER"
4376><I
4377>SystemID</I
4378></TT
4379>&nbsp;:</TD
4380><TD
4381WIDTH="80%"
4382ALIGN="LEFT"
4383VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004384> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004385></TR
4386><TR
4387><TD
4388WIDTH="20%"
4389ALIGN="RIGHT"
4390VALIGN="TOP"
4391><I
4392CLASS="EMPHASIS"
4393>Returns</I
4394> :</TD
4395><TD
4396WIDTH="80%"
4397ALIGN="LEFT"
4398VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004399>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004400></TR
4401></TABLE
4402><P
4403></P
4404></DIV
4405></DIV
4406><HR><DIV
4407CLASS="REFSECT2"
4408><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004409NAME="AEN4636"
Daniel Veillard35925471999-02-25 08:46:07 +00004410></A
4411><H3
4412><A
4413NAME="XMLNEWDTD"
4414></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004415>xmlNewDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004416><TABLE
4417BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004418BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004419WIDTH="100%"
4420CELLPADDING="6"
4421><TR
4422><TD
4423><PRE
4424CLASS="PROGRAMLISTING"
4425><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004426HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004427>xmlDtdPtr</A
4428> xmlNewDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004429HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004430>xmlDocPtr</A
4431> doc,
4432 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004435> *name,
4436 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004437HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004438>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004439> *ExternalID,
4440 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004441HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004442>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004443> *SystemID);</PRE
4444></TD
4445></TR
4446></TABLE
4447><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004448>Creation of a new DTD for the external subset. To create an
4449internal subset, use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004450HREF="libxml-tree.html#XMLCREATEINTSUBSET"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004451>xmlCreateIntSubset</A
4452>().</P
Daniel Veillard35925471999-02-25 08:46:07 +00004453><P
4454></P
4455><DIV
4456CLASS="INFORMALTABLE"
4457><P
4458></P
4459><TABLE
4460BORDER="0"
4461WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004462BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004463CELLSPACING="0"
4464CELLPADDING="4"
4465CLASS="CALSTABLE"
4466><TR
4467><TD
4468WIDTH="20%"
4469ALIGN="RIGHT"
4470VALIGN="TOP"
4471><TT
4472CLASS="PARAMETER"
4473><I
4474>doc</I
4475></TT
4476>&nbsp;:</TD
4477><TD
4478WIDTH="80%"
4479ALIGN="LEFT"
4480VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004481> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004482></TR
4483><TR
4484><TD
4485WIDTH="20%"
4486ALIGN="RIGHT"
4487VALIGN="TOP"
4488><TT
4489CLASS="PARAMETER"
4490><I
4491>name</I
4492></TT
4493>&nbsp;:</TD
4494><TD
4495WIDTH="80%"
4496ALIGN="LEFT"
4497VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004498> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004499></TR
4500><TR
4501><TD
4502WIDTH="20%"
4503ALIGN="RIGHT"
4504VALIGN="TOP"
4505><TT
4506CLASS="PARAMETER"
4507><I
4508>ExternalID</I
4509></TT
4510>&nbsp;:</TD
4511><TD
4512WIDTH="80%"
4513ALIGN="LEFT"
4514VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004515> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004516></TR
4517><TR
4518><TD
4519WIDTH="20%"
4520ALIGN="RIGHT"
4521VALIGN="TOP"
4522><TT
4523CLASS="PARAMETER"
4524><I
4525>SystemID</I
4526></TT
4527>&nbsp;:</TD
4528><TD
4529WIDTH="80%"
4530ALIGN="LEFT"
4531VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004532> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004533></TR
4534><TR
4535><TD
4536WIDTH="20%"
4537ALIGN="RIGHT"
4538VALIGN="TOP"
4539><I
4540CLASS="EMPHASIS"
4541>Returns</I
4542> :</TD
4543><TD
4544WIDTH="80%"
4545ALIGN="LEFT"
4546VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004547>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004548></TR
4549></TABLE
4550><P
4551></P
4552></DIV
4553></DIV
4554><HR><DIV
4555CLASS="REFSECT2"
4556><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004557NAME="AEN4673"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004558></A
4559><H3
4560><A
4561NAME="XMLGETINTSUBSET"
4562></A
4563>xmlGetIntSubset ()</H3
4564><TABLE
4565BORDER="0"
4566BGCOLOR="#D6E8FF"
4567WIDTH="100%"
4568CELLPADDING="6"
4569><TR
4570><TD
4571><PRE
4572CLASS="PROGRAMLISTING"
4573><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004574HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004575>xmlDtdPtr</A
4576> xmlGetIntSubset (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004577HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004578>xmlDocPtr</A
4579> doc);</PRE
4580></TD
4581></TR
4582></TABLE
4583><P
4584>Get the internal subset of a document</P
4585><P
4586></P
4587><DIV
4588CLASS="INFORMALTABLE"
4589><P
4590></P
4591><TABLE
4592BORDER="0"
4593WIDTH="100%"
4594BGCOLOR="#FFD0D0"
4595CELLSPACING="0"
4596CELLPADDING="4"
4597CLASS="CALSTABLE"
4598><TR
4599><TD
4600WIDTH="20%"
4601ALIGN="RIGHT"
4602VALIGN="TOP"
4603><TT
4604CLASS="PARAMETER"
4605><I
4606>doc</I
4607></TT
4608>&nbsp;:</TD
4609><TD
4610WIDTH="80%"
4611ALIGN="LEFT"
4612VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004613> the document pointer</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004614></TR
4615><TR
4616><TD
4617WIDTH="20%"
4618ALIGN="RIGHT"
4619VALIGN="TOP"
4620><I
4621CLASS="EMPHASIS"
4622>Returns</I
4623> :</TD
4624><TD
4625WIDTH="80%"
4626ALIGN="LEFT"
4627VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004628>a pointer to the DTD structure or NULL if not found</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004629></TR
4630></TABLE
4631><P
4632></P
4633></DIV
4634></DIV
4635><HR><DIV
4636CLASS="REFSECT2"
4637><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004638NAME="AEN4694"
Daniel Veillard35925471999-02-25 08:46:07 +00004639></A
4640><H3
4641><A
4642NAME="XMLFREEDTD"
4643></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004644>xmlFreeDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004645><TABLE
4646BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004647BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004648WIDTH="100%"
4649CELLPADDING="6"
4650><TR
4651><TD
4652><PRE
4653CLASS="PROGRAMLISTING"
4654>void xmlFreeDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004655HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004656>xmlDtdPtr</A
4657> cur);</PRE
4658></TD
4659></TR
4660></TABLE
4661><P
4662>Free a DTD structure.</P
4663><P
4664></P
4665><DIV
4666CLASS="INFORMALTABLE"
4667><P
4668></P
4669><TABLE
4670BORDER="0"
4671WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004672BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004673CELLSPACING="0"
4674CELLPADDING="4"
4675CLASS="CALSTABLE"
4676><TR
4677><TD
4678WIDTH="20%"
4679ALIGN="RIGHT"
4680VALIGN="TOP"
4681><TT
4682CLASS="PARAMETER"
4683><I
4684>cur</I
4685></TT
4686>&nbsp;:</TD
4687><TD
4688WIDTH="80%"
4689ALIGN="LEFT"
4690VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004691> the DTD structure to free up</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004692></TR
4693></TABLE
4694><P
4695></P
4696></DIV
4697></DIV
4698><HR><DIV
4699CLASS="REFSECT2"
4700><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004701NAME="AEN4710"
Daniel Veillard35925471999-02-25 08:46:07 +00004702></A
4703><H3
4704><A
4705NAME="XMLNEWGLOBALNS"
4706></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004707>xmlNewGlobalNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004708><TABLE
4709BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004710BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004711WIDTH="100%"
4712CELLPADDING="6"
4713><TR
4714><TD
4715><PRE
4716CLASS="PROGRAMLISTING"
4717><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004718HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004719>xmlNsPtr</A
4720> xmlNewGlobalNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004721HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004722>xmlDocPtr</A
4723> doc,
4724 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004725HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004726>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004727> *href,
4728 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004729HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004730>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004731> *prefix);</PRE
4732></TD
4733></TR
4734></TABLE
4735><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00004736>Creation of a Namespace, the old way using PI and without scoping
4737DEPRECATED !!!
Daniel Veillard0142b842000-01-14 14:45:24 +00004738It now create a namespace on the root element of the document if found.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004739><P
4740></P
4741><DIV
4742CLASS="INFORMALTABLE"
4743><P
4744></P
4745><TABLE
4746BORDER="0"
4747WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004748BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004749CELLSPACING="0"
4750CELLPADDING="4"
4751CLASS="CALSTABLE"
4752><TR
4753><TD
4754WIDTH="20%"
4755ALIGN="RIGHT"
4756VALIGN="TOP"
4757><TT
4758CLASS="PARAMETER"
4759><I
4760>doc</I
4761></TT
4762>&nbsp;:</TD
4763><TD
4764WIDTH="80%"
4765ALIGN="LEFT"
4766VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004767> the document carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004768></TR
4769><TR
4770><TD
4771WIDTH="20%"
4772ALIGN="RIGHT"
4773VALIGN="TOP"
4774><TT
4775CLASS="PARAMETER"
4776><I
4777>href</I
4778></TT
4779>&nbsp;:</TD
4780><TD
4781WIDTH="80%"
4782ALIGN="LEFT"
4783VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004784> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004785></TR
4786><TR
4787><TD
4788WIDTH="20%"
4789ALIGN="RIGHT"
4790VALIGN="TOP"
4791><TT
4792CLASS="PARAMETER"
4793><I
4794>prefix</I
4795></TT
4796>&nbsp;:</TD
4797><TD
4798WIDTH="80%"
4799ALIGN="LEFT"
4800VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004801> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004802></TR
4803><TR
4804><TD
4805WIDTH="20%"
4806ALIGN="RIGHT"
4807VALIGN="TOP"
4808><I
4809CLASS="EMPHASIS"
4810>Returns</I
4811> :</TD
4812><TD
4813WIDTH="80%"
4814ALIGN="LEFT"
4815VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004816>NULL this functionnality had been removed</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004817></TR
4818></TABLE
4819><P
4820></P
4821></DIV
4822></DIV
4823><HR><DIV
4824CLASS="REFSECT2"
4825><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004826NAME="AEN4741"
Daniel Veillard35925471999-02-25 08:46:07 +00004827></A
4828><H3
4829><A
4830NAME="XMLNEWNS"
4831></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004832>xmlNewNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004833><TABLE
4834BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004835BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004836WIDTH="100%"
4837CELLPADDING="6"
4838><TR
4839><TD
4840><PRE
4841CLASS="PROGRAMLISTING"
4842><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004843HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004844>xmlNsPtr</A
4845> xmlNewNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004846HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004847>xmlNodePtr</A
4848> node,
4849 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004850HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004851>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004852> *href,
4853 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004854HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004855>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004856> *prefix);</PRE
4857></TD
4858></TR
4859></TABLE
4860><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00004861>Creation of a new Namespace. This function will refuse to create
4862a namespace with a similar prefix than an existing one present on this
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004863node.
4864We use href==NULL in the case of an element creation where the namespace
4865was not defined.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004866><P
4867></P
4868><DIV
4869CLASS="INFORMALTABLE"
4870><P
4871></P
4872><TABLE
4873BORDER="0"
4874WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004875BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004876CELLSPACING="0"
4877CELLPADDING="4"
4878CLASS="CALSTABLE"
4879><TR
4880><TD
4881WIDTH="20%"
4882ALIGN="RIGHT"
4883VALIGN="TOP"
4884><TT
4885CLASS="PARAMETER"
4886><I
4887>node</I
4888></TT
4889>&nbsp;:</TD
4890><TD
4891WIDTH="80%"
4892ALIGN="LEFT"
4893VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004894> the element carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004895></TR
4896><TR
4897><TD
4898WIDTH="20%"
4899ALIGN="RIGHT"
4900VALIGN="TOP"
4901><TT
4902CLASS="PARAMETER"
4903><I
4904>href</I
4905></TT
4906>&nbsp;:</TD
4907><TD
4908WIDTH="80%"
4909ALIGN="LEFT"
4910VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004911> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004912></TR
4913><TR
4914><TD
4915WIDTH="20%"
4916ALIGN="RIGHT"
4917VALIGN="TOP"
4918><TT
4919CLASS="PARAMETER"
4920><I
4921>prefix</I
4922></TT
4923>&nbsp;:</TD
4924><TD
4925WIDTH="80%"
4926ALIGN="LEFT"
4927VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004928> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004929></TR
4930><TR
4931><TD
4932WIDTH="20%"
4933ALIGN="RIGHT"
4934VALIGN="TOP"
4935><I
4936CLASS="EMPHASIS"
4937>Returns</I
4938> :</TD
4939><TD
4940WIDTH="80%"
4941ALIGN="LEFT"
4942VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004943>returns a new namespace pointer or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004944></TR
4945></TABLE
4946><P
4947></P
4948></DIV
4949></DIV
4950><HR><DIV
4951CLASS="REFSECT2"
4952><A
Daniel Veillarde356c282001-03-10 12:32:04 +00004953NAME="AEN4772"
Daniel Veillard35925471999-02-25 08:46:07 +00004954></A
4955><H3
4956><A
4957NAME="XMLFREENS"
4958></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004959>xmlFreeNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004960><TABLE
4961BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004962BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004963WIDTH="100%"
4964CELLPADDING="6"
4965><TR
4966><TD
4967><PRE
4968CLASS="PROGRAMLISTING"
4969>void xmlFreeNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004970HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004971>xmlNsPtr</A
4972> cur);</PRE
4973></TD
4974></TR
4975></TABLE
4976><P
4977>Free up the structures associated to a namespace</P
4978><P
4979></P
4980><DIV
4981CLASS="INFORMALTABLE"
4982><P
4983></P
4984><TABLE
4985BORDER="0"
4986WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004987BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004988CELLSPACING="0"
4989CELLPADDING="4"
4990CLASS="CALSTABLE"
4991><TR
4992><TD
4993WIDTH="20%"
4994ALIGN="RIGHT"
4995VALIGN="TOP"
4996><TT
4997CLASS="PARAMETER"
4998><I
4999>cur</I
5000></TT
5001>&nbsp;:</TD
5002><TD
5003WIDTH="80%"
5004ALIGN="LEFT"
5005VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005006> the namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005007></TR
5008></TABLE
5009><P
5010></P
5011></DIV
5012></DIV
5013><HR><DIV
5014CLASS="REFSECT2"
5015><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005016NAME="AEN4788"
Daniel Veillard35925471999-02-25 08:46:07 +00005017></A
5018><H3
5019><A
5020NAME="XMLNEWDOC"
5021></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005022>xmlNewDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005023><TABLE
5024BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005025BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005026WIDTH="100%"
5027CELLPADDING="6"
5028><TR
5029><TD
5030><PRE
5031CLASS="PROGRAMLISTING"
5032><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005033HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005034>xmlDocPtr</A
5035> xmlNewDoc (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005036HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005037>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005038> *version);</PRE
5039></TD
5040></TR
5041></TABLE
5042><P
5043></P
5044><P
5045></P
5046><DIV
5047CLASS="INFORMALTABLE"
5048><P
5049></P
5050><TABLE
5051BORDER="0"
5052WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005053BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005054CELLSPACING="0"
5055CELLPADDING="4"
5056CLASS="CALSTABLE"
5057><TR
5058><TD
5059WIDTH="20%"
5060ALIGN="RIGHT"
5061VALIGN="TOP"
5062><TT
5063CLASS="PARAMETER"
5064><I
5065>version</I
5066></TT
5067>&nbsp;:</TD
5068><TD
5069WIDTH="80%"
5070ALIGN="LEFT"
5071VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005072> xmlChar string giving the version of XML "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005073></TR
5074><TR
5075><TD
5076WIDTH="20%"
5077ALIGN="RIGHT"
5078VALIGN="TOP"
5079><I
5080CLASS="EMPHASIS"
5081>Returns</I
5082> :</TD
5083><TD
5084WIDTH="80%"
5085ALIGN="LEFT"
5086VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005087>a new document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005088></TR
5089></TABLE
5090><P
5091></P
5092></DIV
5093></DIV
5094><HR><DIV
5095CLASS="REFSECT2"
5096><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005097NAME="AEN4809"
Daniel Veillard35925471999-02-25 08:46:07 +00005098></A
5099><H3
5100><A
5101NAME="XMLFREEDOC"
5102></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005103>xmlFreeDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005104><TABLE
5105BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005106BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005107WIDTH="100%"
5108CELLPADDING="6"
5109><TR
5110><TD
5111><PRE
5112CLASS="PROGRAMLISTING"
5113>void xmlFreeDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005114HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005115>xmlDocPtr</A
5116> cur);</PRE
5117></TD
5118></TR
5119></TABLE
5120><P
5121>Free up all the structures used by a document, tree included.</P
5122><P
5123></P
5124><DIV
5125CLASS="INFORMALTABLE"
5126><P
5127></P
5128><TABLE
5129BORDER="0"
5130WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005131BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005132CELLSPACING="0"
5133CELLPADDING="4"
5134CLASS="CALSTABLE"
5135><TR
5136><TD
5137WIDTH="20%"
5138ALIGN="RIGHT"
5139VALIGN="TOP"
5140><TT
5141CLASS="PARAMETER"
5142><I
5143>cur</I
5144></TT
5145>&nbsp;:</TD
5146><TD
5147WIDTH="80%"
5148ALIGN="LEFT"
5149VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005150> pointer to the document
5151@: </TD
Daniel Veillard35925471999-02-25 08:46:07 +00005152></TR
5153></TABLE
5154><P
5155></P
5156></DIV
5157></DIV
5158><HR><DIV
5159CLASS="REFSECT2"
5160><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005161NAME="AEN4825"
Daniel Veillard35925471999-02-25 08:46:07 +00005162></A
5163><H3
5164><A
5165NAME="XMLNEWDOCPROP"
5166></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005167>xmlNewDocProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005168><TABLE
5169BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005170BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005171WIDTH="100%"
5172CELLPADDING="6"
5173><TR
5174><TD
5175><PRE
5176CLASS="PROGRAMLISTING"
5177><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005178HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005179>xmlAttrPtr</A
5180> xmlNewDocProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005181HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005182>xmlDocPtr</A
5183> doc,
5184 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005185HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005186>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005187> *name,
5188 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005189HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005190>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005191> *value);</PRE
5192></TD
5193></TR
5194></TABLE
5195><P
5196>Create a new property carried by a document.</P
5197><P
5198></P
5199><DIV
5200CLASS="INFORMALTABLE"
5201><P
5202></P
5203><TABLE
5204BORDER="0"
5205WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005206BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005207CELLSPACING="0"
5208CELLPADDING="4"
5209CLASS="CALSTABLE"
5210><TR
5211><TD
5212WIDTH="20%"
5213ALIGN="RIGHT"
5214VALIGN="TOP"
5215><TT
5216CLASS="PARAMETER"
5217><I
5218>doc</I
5219></TT
5220>&nbsp;:</TD
5221><TD
5222WIDTH="80%"
5223ALIGN="LEFT"
5224VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005225> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005226></TR
5227><TR
5228><TD
5229WIDTH="20%"
5230ALIGN="RIGHT"
5231VALIGN="TOP"
5232><TT
5233CLASS="PARAMETER"
5234><I
5235>name</I
5236></TT
5237>&nbsp;:</TD
5238><TD
5239WIDTH="80%"
5240ALIGN="LEFT"
5241VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005242> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005243></TR
5244><TR
5245><TD
5246WIDTH="20%"
5247ALIGN="RIGHT"
5248VALIGN="TOP"
5249><TT
5250CLASS="PARAMETER"
5251><I
5252>value</I
5253></TT
5254>&nbsp;:</TD
5255><TD
5256WIDTH="80%"
5257ALIGN="LEFT"
5258VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005259> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005260></TR
5261><TR
5262><TD
5263WIDTH="20%"
5264ALIGN="RIGHT"
5265VALIGN="TOP"
5266><I
5267CLASS="EMPHASIS"
5268>Returns</I
5269> :</TD
5270><TD
5271WIDTH="80%"
5272ALIGN="LEFT"
5273VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005274>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005275></TR
5276></TABLE
5277><P
5278></P
5279></DIV
5280></DIV
5281><HR><DIV
5282CLASS="REFSECT2"
5283><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005284NAME="AEN4856"
Daniel Veillard35925471999-02-25 08:46:07 +00005285></A
5286><H3
5287><A
5288NAME="XMLNEWPROP"
5289></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005290>xmlNewProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005291><TABLE
5292BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005293BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005294WIDTH="100%"
5295CELLPADDING="6"
5296><TR
5297><TD
5298><PRE
5299CLASS="PROGRAMLISTING"
5300><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005301HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005302>xmlAttrPtr</A
5303> xmlNewProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005304HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005305>xmlNodePtr</A
5306> node,
5307 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005308HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005309>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005310> *name,
5311 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005312HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005313>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005314> *value);</PRE
5315></TD
5316></TR
5317></TABLE
5318><P
5319>Create a new property carried by a node.</P
5320><P
5321></P
5322><DIV
5323CLASS="INFORMALTABLE"
5324><P
5325></P
5326><TABLE
5327BORDER="0"
5328WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005329BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005330CELLSPACING="0"
5331CELLPADDING="4"
5332CLASS="CALSTABLE"
5333><TR
5334><TD
5335WIDTH="20%"
5336ALIGN="RIGHT"
5337VALIGN="TOP"
5338><TT
5339CLASS="PARAMETER"
5340><I
5341>node</I
5342></TT
5343>&nbsp;:</TD
5344><TD
5345WIDTH="80%"
5346ALIGN="LEFT"
5347VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005348> the holding node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005349></TR
5350><TR
5351><TD
5352WIDTH="20%"
5353ALIGN="RIGHT"
5354VALIGN="TOP"
5355><TT
5356CLASS="PARAMETER"
5357><I
5358>name</I
5359></TT
5360>&nbsp;:</TD
5361><TD
5362WIDTH="80%"
5363ALIGN="LEFT"
5364VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005365> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005366></TR
5367><TR
5368><TD
5369WIDTH="20%"
5370ALIGN="RIGHT"
5371VALIGN="TOP"
5372><TT
5373CLASS="PARAMETER"
5374><I
5375>value</I
5376></TT
5377>&nbsp;:</TD
5378><TD
5379WIDTH="80%"
5380ALIGN="LEFT"
5381VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005382> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005383></TR
5384><TR
5385><TD
5386WIDTH="20%"
5387ALIGN="RIGHT"
5388VALIGN="TOP"
5389><I
5390CLASS="EMPHASIS"
5391>Returns</I
5392> :</TD
5393><TD
5394WIDTH="80%"
5395ALIGN="LEFT"
5396VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005397>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005398></TR
5399></TABLE
5400><P
5401></P
5402></DIV
5403></DIV
5404><HR><DIV
5405CLASS="REFSECT2"
5406><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005407NAME="AEN4887"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005408></A
5409><H3
5410><A
5411NAME="XMLNEWNSPROP"
5412></A
5413>xmlNewNsProp ()</H3
5414><TABLE
5415BORDER="0"
5416BGCOLOR="#D6E8FF"
5417WIDTH="100%"
5418CELLPADDING="6"
5419><TR
5420><TD
5421><PRE
5422CLASS="PROGRAMLISTING"
5423><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005424HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005425>xmlAttrPtr</A
5426> xmlNewNsProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005427HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005428>xmlNodePtr</A
5429> node,
5430 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005431HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005432>xmlNsPtr</A
5433> ns,
5434 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005435HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005436>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005437> *name,
5438 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005439HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005440>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005441> *value);</PRE
5442></TD
5443></TR
5444></TABLE
5445><P
5446>Create a new property tagged with a namespace and carried by a node.</P
5447><P
5448></P
5449><DIV
5450CLASS="INFORMALTABLE"
5451><P
5452></P
5453><TABLE
5454BORDER="0"
5455WIDTH="100%"
5456BGCOLOR="#FFD0D0"
5457CELLSPACING="0"
5458CELLPADDING="4"
5459CLASS="CALSTABLE"
5460><TR
5461><TD
5462WIDTH="20%"
5463ALIGN="RIGHT"
5464VALIGN="TOP"
5465><TT
5466CLASS="PARAMETER"
5467><I
5468>node</I
5469></TT
5470>&nbsp;:</TD
5471><TD
5472WIDTH="80%"
5473ALIGN="LEFT"
5474VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005475> the holding node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005476></TR
5477><TR
5478><TD
5479WIDTH="20%"
5480ALIGN="RIGHT"
5481VALIGN="TOP"
5482><TT
5483CLASS="PARAMETER"
5484><I
5485>ns</I
5486></TT
5487>&nbsp;:</TD
5488><TD
5489WIDTH="80%"
5490ALIGN="LEFT"
5491VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005492> the namespace</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005493></TR
5494><TR
5495><TD
5496WIDTH="20%"
5497ALIGN="RIGHT"
5498VALIGN="TOP"
5499><TT
5500CLASS="PARAMETER"
5501><I
5502>name</I
5503></TT
5504>&nbsp;:</TD
5505><TD
5506WIDTH="80%"
5507ALIGN="LEFT"
5508VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005509> the name of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005510></TR
5511><TR
5512><TD
5513WIDTH="20%"
5514ALIGN="RIGHT"
5515VALIGN="TOP"
5516><TT
5517CLASS="PARAMETER"
5518><I
5519>value</I
5520></TT
5521>&nbsp;:</TD
5522><TD
5523WIDTH="80%"
5524ALIGN="LEFT"
5525VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005526> the value of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005527></TR
5528><TR
5529><TD
5530WIDTH="20%"
5531ALIGN="RIGHT"
5532VALIGN="TOP"
5533><I
5534CLASS="EMPHASIS"
5535>Returns</I
5536> :</TD
5537><TD
5538WIDTH="80%"
5539ALIGN="LEFT"
5540VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005541>a pointer to the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005542></TR
5543></TABLE
5544><P
5545></P
5546></DIV
5547></DIV
5548><HR><DIV
5549CLASS="REFSECT2"
5550><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005551NAME="AEN4923"
Daniel Veillard35925471999-02-25 08:46:07 +00005552></A
5553><H3
5554><A
5555NAME="XMLFREEPROPLIST"
5556></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005557>xmlFreePropList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005558><TABLE
5559BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005560BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005561WIDTH="100%"
5562CELLPADDING="6"
5563><TR
5564><TD
5565><PRE
5566CLASS="PROGRAMLISTING"
5567>void xmlFreePropList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005568HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005569>xmlAttrPtr</A
5570> cur);</PRE
5571></TD
5572></TR
5573></TABLE
5574><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005575>Free a property and all its siblings, all the children are freed too.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005576><P
5577></P
5578><DIV
5579CLASS="INFORMALTABLE"
5580><P
5581></P
5582><TABLE
5583BORDER="0"
5584WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005585BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005586CELLSPACING="0"
5587CELLPADDING="4"
5588CLASS="CALSTABLE"
5589><TR
5590><TD
5591WIDTH="20%"
5592ALIGN="RIGHT"
5593VALIGN="TOP"
5594><TT
5595CLASS="PARAMETER"
5596><I
5597>cur</I
5598></TT
5599>&nbsp;:</TD
5600><TD
5601WIDTH="80%"
5602ALIGN="LEFT"
5603VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005604> the first property in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005605></TR
5606></TABLE
5607><P
5608></P
5609></DIV
5610></DIV
5611><HR><DIV
5612CLASS="REFSECT2"
5613><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005614NAME="AEN4939"
Daniel Veillard35925471999-02-25 08:46:07 +00005615></A
5616><H3
5617><A
5618NAME="XMLFREEPROP"
5619></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005620>xmlFreeProp ()</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>void xmlFreeProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005631HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005632>xmlAttrPtr</A
5633> cur);</PRE
5634></TD
5635></TR
5636></TABLE
5637><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00005638>Free one attribute, all the content is freed too</P
Daniel Veillard35925471999-02-25 08:46:07 +00005639><P
5640></P
5641><DIV
5642CLASS="INFORMALTABLE"
5643><P
5644></P
5645><TABLE
5646BORDER="0"
5647WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005648BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005649CELLSPACING="0"
5650CELLPADDING="4"
5651CLASS="CALSTABLE"
5652><TR
5653><TD
5654WIDTH="20%"
5655ALIGN="RIGHT"
5656VALIGN="TOP"
5657><TT
5658CLASS="PARAMETER"
5659><I
5660>cur</I
5661></TT
5662>&nbsp;:</TD
5663><TD
5664WIDTH="80%"
5665ALIGN="LEFT"
5666VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005667> an attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005668></TR
5669></TABLE
5670><P
5671></P
5672></DIV
5673></DIV
5674><HR><DIV
5675CLASS="REFSECT2"
5676><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005677NAME="AEN4955"
Daniel Veillard35925471999-02-25 08:46:07 +00005678></A
5679><H3
5680><A
5681NAME="XMLCOPYPROP"
5682></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005683>xmlCopyProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005684><TABLE
5685BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005686BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005687WIDTH="100%"
5688CELLPADDING="6"
5689><TR
5690><TD
5691><PRE
5692CLASS="PROGRAMLISTING"
5693><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005694HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005695>xmlAttrPtr</A
5696> xmlCopyProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005697HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005698>xmlNodePtr</A
5699> target,
5700 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005701HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005702>xmlAttrPtr</A
5703> cur);</PRE
5704></TD
5705></TR
5706></TABLE
5707><P
5708>Do a copy of the attribute.</P
5709><P
5710></P
5711><DIV
5712CLASS="INFORMALTABLE"
5713><P
5714></P
5715><TABLE
5716BORDER="0"
5717WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005718BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005719CELLSPACING="0"
5720CELLPADDING="4"
5721CLASS="CALSTABLE"
5722><TR
5723><TD
5724WIDTH="20%"
5725ALIGN="RIGHT"
5726VALIGN="TOP"
5727><TT
5728CLASS="PARAMETER"
5729><I
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005730>target</I
Daniel Veillard35925471999-02-25 08:46:07 +00005731></TT
5732>&nbsp;:</TD
5733><TD
5734WIDTH="80%"
5735ALIGN="LEFT"
5736VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005737> the element where the attribute will be grafted</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005738></TR
5739><TR
5740><TD
5741WIDTH="20%"
5742ALIGN="RIGHT"
5743VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00005744><TT
5745CLASS="PARAMETER"
5746><I
5747>cur</I
5748></TT
5749>&nbsp;:</TD
5750><TD
5751WIDTH="80%"
5752ALIGN="LEFT"
5753VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005754> the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005755></TR
5756><TR
5757><TD
5758WIDTH="20%"
5759ALIGN="RIGHT"
5760VALIGN="TOP"
5761><I
5762CLASS="EMPHASIS"
5763>Returns</I
5764> :</TD
5765><TD
5766WIDTH="80%"
5767ALIGN="LEFT"
5768VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005769> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005770></TR
5771></TABLE
5772><P
5773></P
5774></DIV
5775></DIV
5776><HR><DIV
5777CLASS="REFSECT2"
5778><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005779NAME="AEN4981"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005780></A
5781><H3
5782><A
5783NAME="XMLCOPYPROPLIST"
5784></A
5785>xmlCopyPropList ()</H3
5786><TABLE
5787BORDER="0"
5788BGCOLOR="#D6E8FF"
5789WIDTH="100%"
5790CELLPADDING="6"
5791><TR
5792><TD
5793><PRE
5794CLASS="PROGRAMLISTING"
5795><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005796HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005797>xmlAttrPtr</A
5798> xmlCopyPropList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005799HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005800>xmlNodePtr</A
5801> target,
5802 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005803HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005804>xmlAttrPtr</A
5805> cur);</PRE
5806></TD
5807></TR
5808></TABLE
5809><P
5810>Do a copy of an attribute list.</P
5811><P
5812></P
5813><DIV
5814CLASS="INFORMALTABLE"
5815><P
5816></P
5817><TABLE
5818BORDER="0"
5819WIDTH="100%"
5820BGCOLOR="#FFD0D0"
5821CELLSPACING="0"
5822CELLPADDING="4"
5823CLASS="CALSTABLE"
5824><TR
5825><TD
5826WIDTH="20%"
5827ALIGN="RIGHT"
5828VALIGN="TOP"
5829><TT
5830CLASS="PARAMETER"
5831><I
5832>target</I
5833></TT
5834>&nbsp;:</TD
5835><TD
5836WIDTH="80%"
5837ALIGN="LEFT"
5838VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005839> the element where the attributes will be grafted</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005840></TR
5841><TR
5842><TD
5843WIDTH="20%"
5844ALIGN="RIGHT"
5845VALIGN="TOP"
5846><TT
5847CLASS="PARAMETER"
5848><I
5849>cur</I
5850></TT
5851>&nbsp;:</TD
5852><TD
5853WIDTH="80%"
5854ALIGN="LEFT"
5855VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005856> the first attribute</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005857></TR
5858><TR
5859><TD
5860WIDTH="20%"
5861ALIGN="RIGHT"
5862VALIGN="TOP"
5863><I
5864CLASS="EMPHASIS"
5865>Returns</I
5866> :</TD
5867><TD
5868WIDTH="80%"
5869ALIGN="LEFT"
5870VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005871> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005872></TR
5873></TABLE
5874><P
5875></P
5876></DIV
5877></DIV
5878><HR><DIV
5879CLASS="REFSECT2"
5880><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005881NAME="AEN5007"
Daniel Veillard35925471999-02-25 08:46:07 +00005882></A
5883><H3
5884><A
5885NAME="XMLCOPYDTD"
5886></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005887>xmlCopyDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005888><TABLE
5889BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005890BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005891WIDTH="100%"
5892CELLPADDING="6"
5893><TR
5894><TD
5895><PRE
5896CLASS="PROGRAMLISTING"
5897><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005898HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005899>xmlDtdPtr</A
5900> xmlCopyDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005901HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005902>xmlDtdPtr</A
5903> dtd);</PRE
5904></TD
5905></TR
5906></TABLE
5907><P
5908>Do a copy of the dtd.</P
5909><P
5910></P
5911><DIV
5912CLASS="INFORMALTABLE"
5913><P
5914></P
5915><TABLE
5916BORDER="0"
5917WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005918BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005919CELLSPACING="0"
5920CELLPADDING="4"
5921CLASS="CALSTABLE"
5922><TR
5923><TD
5924WIDTH="20%"
5925ALIGN="RIGHT"
5926VALIGN="TOP"
5927><TT
5928CLASS="PARAMETER"
5929><I
5930>dtd</I
5931></TT
5932>&nbsp;:</TD
5933><TD
5934WIDTH="80%"
5935ALIGN="LEFT"
5936VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005937> the dtd</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005938></TR
5939><TR
5940><TD
5941WIDTH="20%"
5942ALIGN="RIGHT"
5943VALIGN="TOP"
5944><I
5945CLASS="EMPHASIS"
5946>Returns</I
5947> :</TD
5948><TD
5949WIDTH="80%"
5950ALIGN="LEFT"
5951VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005952> a new xmlDtdPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005953></TR
5954></TABLE
5955><P
5956></P
5957></DIV
5958></DIV
5959><HR><DIV
5960CLASS="REFSECT2"
5961><A
Daniel Veillarde356c282001-03-10 12:32:04 +00005962NAME="AEN5028"
Daniel Veillard35925471999-02-25 08:46:07 +00005963></A
5964><H3
5965><A
5966NAME="XMLCOPYDOC"
5967></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005968>xmlCopyDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005969><TABLE
5970BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005971BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005972WIDTH="100%"
5973CELLPADDING="6"
5974><TR
5975><TD
5976><PRE
5977CLASS="PROGRAMLISTING"
5978><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005979HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005980>xmlDocPtr</A
5981> xmlCopyDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005982HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005983>xmlDocPtr</A
5984> doc,
5985 int recursive);</PRE
5986></TD
5987></TR
5988></TABLE
5989><P
5990>Do a copy of the document info. If recursive, the content tree will
5991be copied too as well as Dtd, namespaces and entities.</P
5992><P
5993></P
5994><DIV
5995CLASS="INFORMALTABLE"
5996><P
5997></P
5998><TABLE
5999BORDER="0"
6000WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006001BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006002CELLSPACING="0"
6003CELLPADDING="4"
6004CLASS="CALSTABLE"
6005><TR
6006><TD
6007WIDTH="20%"
6008ALIGN="RIGHT"
6009VALIGN="TOP"
6010><TT
6011CLASS="PARAMETER"
6012><I
6013>doc</I
6014></TT
6015>&nbsp;:</TD
6016><TD
6017WIDTH="80%"
6018ALIGN="LEFT"
6019VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006020> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006021></TR
6022><TR
6023><TD
6024WIDTH="20%"
6025ALIGN="RIGHT"
6026VALIGN="TOP"
6027><TT
6028CLASS="PARAMETER"
6029><I
6030>recursive</I
6031></TT
6032>&nbsp;:</TD
6033><TD
6034WIDTH="80%"
6035ALIGN="LEFT"
6036VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006037> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006038></TR
6039><TR
6040><TD
6041WIDTH="20%"
6042ALIGN="RIGHT"
6043VALIGN="TOP"
6044><I
6045CLASS="EMPHASIS"
6046>Returns</I
6047> :</TD
6048><TD
6049WIDTH="80%"
6050ALIGN="LEFT"
6051VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006052> a new xmlDocPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006053></TR
6054></TABLE
6055><P
6056></P
6057></DIV
6058></DIV
6059><HR><DIV
6060CLASS="REFSECT2"
6061><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006062NAME="AEN5053"
Daniel Veillard35925471999-02-25 08:46:07 +00006063></A
6064><H3
6065><A
6066NAME="XMLNEWDOCNODE"
6067></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006068>xmlNewDocNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006069><TABLE
6070BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006071BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006072WIDTH="100%"
6073CELLPADDING="6"
6074><TR
6075><TD
6076><PRE
6077CLASS="PROGRAMLISTING"
6078><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006079HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006080>xmlNodePtr</A
6081> xmlNewDocNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006082HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006083>xmlDocPtr</A
6084> doc,
6085 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006086HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006087>xmlNsPtr</A
6088> ns,
6089 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006090HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006091>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006092> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006093 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006094HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006095>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006096> *content);</PRE
6097></TD
6098></TR
6099></TABLE
6100><P
6101>Creation of a new node element within a document. <TT
6102CLASS="PARAMETER"
6103><I
6104>ns</I
6105></TT
6106> and <TT
6107CLASS="PARAMETER"
6108><I
6109>content</I
6110></TT
6111>
Daniel Veillardf3a73582000-01-05 14:58:39 +00006112are optionnal (NULL).
6113NOTE: <TT
6114CLASS="PARAMETER"
6115><I
6116>content</I
6117></TT
6118> is supposed to be a piece of XML CDATA, so it allow entities
6119references, but XML special chars need to be escaped first by using
6120<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006121HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006122>xmlEncodeEntitiesReentrant</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006123>(). Use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006124HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006125>xmlNewDocRawNode</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006126>() if you don't
6127need entities support.</P
6128><P
6129></P
6130><DIV
6131CLASS="INFORMALTABLE"
6132><P
6133></P
6134><TABLE
6135BORDER="0"
6136WIDTH="100%"
6137BGCOLOR="#FFD0D0"
6138CELLSPACING="0"
6139CELLPADDING="4"
6140CLASS="CALSTABLE"
6141><TR
6142><TD
6143WIDTH="20%"
6144ALIGN="RIGHT"
6145VALIGN="TOP"
6146><TT
6147CLASS="PARAMETER"
6148><I
6149>doc</I
6150></TT
6151>&nbsp;:</TD
6152><TD
6153WIDTH="80%"
6154ALIGN="LEFT"
6155VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006156> the document</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006157></TR
6158><TR
6159><TD
6160WIDTH="20%"
6161ALIGN="RIGHT"
6162VALIGN="TOP"
6163><TT
6164CLASS="PARAMETER"
6165><I
6166>ns</I
6167></TT
6168>&nbsp;:</TD
6169><TD
6170WIDTH="80%"
6171ALIGN="LEFT"
6172VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006173> namespace if any</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006174></TR
6175><TR
6176><TD
6177WIDTH="20%"
6178ALIGN="RIGHT"
6179VALIGN="TOP"
6180><TT
6181CLASS="PARAMETER"
6182><I
6183>name</I
6184></TT
6185>&nbsp;:</TD
6186><TD
6187WIDTH="80%"
6188ALIGN="LEFT"
6189VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006190> the node name</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006191></TR
6192><TR
6193><TD
6194WIDTH="20%"
6195ALIGN="RIGHT"
6196VALIGN="TOP"
6197><TT
6198CLASS="PARAMETER"
6199><I
6200>content</I
6201></TT
6202>&nbsp;:</TD
6203><TD
6204WIDTH="80%"
6205ALIGN="LEFT"
6206VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006207> the XML text content if any</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006208></TR
6209><TR
6210><TD
6211WIDTH="20%"
6212ALIGN="RIGHT"
6213VALIGN="TOP"
6214><I
6215CLASS="EMPHASIS"
6216>Returns</I
6217> :</TD
6218><TD
6219WIDTH="80%"
6220ALIGN="LEFT"
6221VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006222>a pointer to the new node object.</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00006223></TR
6224></TABLE
6225><P
6226></P
6227></DIV
6228></DIV
6229><HR><DIV
6230CLASS="REFSECT2"
6231><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006232NAME="AEN5094"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006233></A
6234><H3
6235><A
6236NAME="XMLNEWDOCRAWNODE"
6237></A
6238>xmlNewDocRawNode ()</H3
6239><TABLE
6240BORDER="0"
6241BGCOLOR="#D6E8FF"
6242WIDTH="100%"
6243CELLPADDING="6"
6244><TR
6245><TD
6246><PRE
6247CLASS="PROGRAMLISTING"
6248><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006249HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006250>xmlNodePtr</A
6251> xmlNewDocRawNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006252HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006253>xmlDocPtr</A
6254> doc,
6255 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006256HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006257>xmlNsPtr</A
6258> ns,
6259 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006260HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006261>xmlChar</A
6262> *name,
6263 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006264HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006265>xmlChar</A
6266> *content);</PRE
6267></TD
6268></TR
6269></TABLE
6270><P
6271>Creation of a new node element within a document. <TT
6272CLASS="PARAMETER"
6273><I
6274>ns</I
6275></TT
6276> and <TT
6277CLASS="PARAMETER"
6278><I
6279>content</I
6280></TT
6281>
6282are optionnal (NULL).</P
6283><P
6284></P
6285><DIV
6286CLASS="INFORMALTABLE"
6287><P
6288></P
6289><TABLE
6290BORDER="0"
6291WIDTH="100%"
6292BGCOLOR="#FFD0D0"
6293CELLSPACING="0"
6294CELLPADDING="4"
6295CLASS="CALSTABLE"
6296><TR
6297><TD
6298WIDTH="20%"
6299ALIGN="RIGHT"
6300VALIGN="TOP"
6301><TT
6302CLASS="PARAMETER"
6303><I
6304>doc</I
6305></TT
6306>&nbsp;:</TD
6307><TD
6308WIDTH="80%"
6309ALIGN="LEFT"
6310VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006311> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006312></TR
6313><TR
6314><TD
6315WIDTH="20%"
6316ALIGN="RIGHT"
6317VALIGN="TOP"
6318><TT
6319CLASS="PARAMETER"
6320><I
6321>ns</I
6322></TT
6323>&nbsp;:</TD
6324><TD
6325WIDTH="80%"
6326ALIGN="LEFT"
6327VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006328> namespace if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006329></TR
6330><TR
6331><TD
6332WIDTH="20%"
6333ALIGN="RIGHT"
6334VALIGN="TOP"
6335><TT
6336CLASS="PARAMETER"
6337><I
6338>name</I
6339></TT
6340>&nbsp;:</TD
6341><TD
6342WIDTH="80%"
6343ALIGN="LEFT"
6344VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006345> the node name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006346></TR
6347><TR
6348><TD
6349WIDTH="20%"
6350ALIGN="RIGHT"
6351VALIGN="TOP"
6352><TT
6353CLASS="PARAMETER"
6354><I
6355>content</I
6356></TT
6357>&nbsp;:</TD
6358><TD
6359WIDTH="80%"
6360ALIGN="LEFT"
6361VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006362> the text content if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006363></TR
6364><TR
6365><TD
6366WIDTH="20%"
6367ALIGN="RIGHT"
6368VALIGN="TOP"
6369><I
6370CLASS="EMPHASIS"
6371>Returns</I
6372> :</TD
6373><TD
6374WIDTH="80%"
6375ALIGN="LEFT"
6376VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006377>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006378></TR
6379></TABLE
6380><P
6381></P
6382></DIV
6383></DIV
6384><HR><DIV
6385CLASS="REFSECT2"
6386><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006387NAME="AEN5132"
Daniel Veillard35925471999-02-25 08:46:07 +00006388></A
6389><H3
6390><A
6391NAME="XMLNEWNODE"
6392></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006393>xmlNewNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006394><TABLE
6395BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006396BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006397WIDTH="100%"
6398CELLPADDING="6"
6399><TR
6400><TD
6401><PRE
6402CLASS="PROGRAMLISTING"
6403><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006404HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006405>xmlNodePtr</A
6406> xmlNewNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006407HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006408>xmlNsPtr</A
6409> ns,
6410 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006411HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006412>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006413> *name);</PRE
6414></TD
6415></TR
6416></TABLE
6417><P
6418>Creation of a new node element. <TT
6419CLASS="PARAMETER"
6420><I
6421>ns</I
6422></TT
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006423> is optionnal (NULL).</P
Daniel Veillard35925471999-02-25 08:46:07 +00006424><P
6425></P
6426><DIV
6427CLASS="INFORMALTABLE"
6428><P
6429></P
6430><TABLE
6431BORDER="0"
6432WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006433BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006434CELLSPACING="0"
6435CELLPADDING="4"
6436CLASS="CALSTABLE"
6437><TR
6438><TD
6439WIDTH="20%"
6440ALIGN="RIGHT"
6441VALIGN="TOP"
6442><TT
6443CLASS="PARAMETER"
6444><I
6445>ns</I
6446></TT
6447>&nbsp;:</TD
6448><TD
6449WIDTH="80%"
6450ALIGN="LEFT"
6451VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006452> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006453></TR
6454><TR
6455><TD
6456WIDTH="20%"
6457ALIGN="RIGHT"
6458VALIGN="TOP"
6459><TT
6460CLASS="PARAMETER"
6461><I
6462>name</I
6463></TT
6464>&nbsp;:</TD
6465><TD
6466WIDTH="80%"
6467ALIGN="LEFT"
6468VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006469> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006470></TR
6471><TR
6472><TD
6473WIDTH="20%"
6474ALIGN="RIGHT"
6475VALIGN="TOP"
6476><I
6477CLASS="EMPHASIS"
6478>Returns</I
6479> :</TD
6480><TD
6481WIDTH="80%"
6482ALIGN="LEFT"
6483VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006484>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006485></TR
6486></TABLE
6487><P
6488></P
6489></DIV
6490></DIV
6491><HR><DIV
6492CLASS="REFSECT2"
6493><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006494NAME="AEN5159"
Daniel Veillard35925471999-02-25 08:46:07 +00006495></A
6496><H3
6497><A
6498NAME="XMLNEWCHILD"
6499></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006500>xmlNewChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006501><TABLE
6502BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006503BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006504WIDTH="100%"
6505CELLPADDING="6"
6506><TR
6507><TD
6508><PRE
6509CLASS="PROGRAMLISTING"
6510><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006511HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006512>xmlNodePtr</A
6513> xmlNewChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006514HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006515>xmlNodePtr</A
6516> parent,
6517 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006518HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006519>xmlNsPtr</A
6520> ns,
6521 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006522HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006523>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006524> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006525 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006526HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006527>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006528> *content);</PRE
6529></TD
6530></TR
6531></TABLE
6532><P
6533>Creation of a new child element, added at the end of <TT
6534CLASS="PARAMETER"
6535><I
6536>parent</I
6537></TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006538> children list.
Daniel Veillard35925471999-02-25 08:46:07 +00006539<TT
6540CLASS="PARAMETER"
6541><I
6542>ns</I
6543></TT
6544> and <TT
6545CLASS="PARAMETER"
6546><I
6547>content</I
6548></TT
6549> parameters are optionnal (NULL). If content is non NULL,
Daniel Veillardf3a73582000-01-05 14:58:39 +00006550a child list containing the TEXTs and ENTITY_REFs node will be created.
6551NOTE: <TT
6552CLASS="PARAMETER"
6553><I
6554>content</I
6555></TT
6556> is supposed to be a piece of XML CDATA, so it allow entities
6557references, but XML special chars need to be escaped first by using
6558<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006559HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006560>xmlEncodeEntitiesReentrant</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006561>(). Use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006562HREF="libxml-tree.html#XMLNEWTEXTCHILD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006563>xmlNewTextChild</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006564>() if entities
6565support is not needed.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006566><P
6567></P
6568><DIV
6569CLASS="INFORMALTABLE"
6570><P
6571></P
6572><TABLE
6573BORDER="0"
6574WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006575BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006576CELLSPACING="0"
6577CELLPADDING="4"
6578CLASS="CALSTABLE"
6579><TR
6580><TD
6581WIDTH="20%"
6582ALIGN="RIGHT"
6583VALIGN="TOP"
6584><TT
6585CLASS="PARAMETER"
6586><I
6587>parent</I
6588></TT
6589>&nbsp;:</TD
6590><TD
6591WIDTH="80%"
6592ALIGN="LEFT"
6593VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006594> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006595></TR
6596><TR
6597><TD
6598WIDTH="20%"
6599ALIGN="RIGHT"
6600VALIGN="TOP"
6601><TT
6602CLASS="PARAMETER"
6603><I
6604>ns</I
6605></TT
6606>&nbsp;:</TD
6607><TD
6608WIDTH="80%"
6609ALIGN="LEFT"
6610VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006611> a namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006612></TR
6613><TR
6614><TD
6615WIDTH="20%"
6616ALIGN="RIGHT"
6617VALIGN="TOP"
6618><TT
6619CLASS="PARAMETER"
6620><I
6621>name</I
6622></TT
6623>&nbsp;:</TD
6624><TD
6625WIDTH="80%"
6626ALIGN="LEFT"
6627VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006628> the name of the child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006629></TR
6630><TR
6631><TD
6632WIDTH="20%"
6633ALIGN="RIGHT"
6634VALIGN="TOP"
6635><TT
6636CLASS="PARAMETER"
6637><I
6638>content</I
6639></TT
6640>&nbsp;:</TD
6641><TD
6642WIDTH="80%"
6643ALIGN="LEFT"
6644VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006645> the XML content of the child if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006646></TR
6647><TR
6648><TD
6649WIDTH="20%"
6650ALIGN="RIGHT"
6651VALIGN="TOP"
6652><I
6653CLASS="EMPHASIS"
6654>Returns</I
6655> :</TD
6656><TD
6657WIDTH="80%"
6658ALIGN="LEFT"
6659VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006660>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006661></TR
6662></TABLE
6663><P
6664></P
6665></DIV
6666></DIV
6667><HR><DIV
6668CLASS="REFSECT2"
6669><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006670NAME="AEN5201"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006671></A
6672><H3
6673><A
6674NAME="XMLNEWTEXTCHILD"
6675></A
6676>xmlNewTextChild ()</H3
6677><TABLE
6678BORDER="0"
6679BGCOLOR="#D6E8FF"
6680WIDTH="100%"
6681CELLPADDING="6"
6682><TR
6683><TD
6684><PRE
6685CLASS="PROGRAMLISTING"
6686><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006687HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006688>xmlNodePtr</A
6689> xmlNewTextChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006690HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006691>xmlNodePtr</A
6692> parent,
6693 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006694HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006695>xmlNsPtr</A
6696> ns,
6697 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006698HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006699>xmlChar</A
6700> *name,
6701 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006702HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006703>xmlChar</A
6704> *content);</PRE
6705></TD
6706></TR
6707></TABLE
6708><P
6709>Creation of a new child element, added at the end of <TT
6710CLASS="PARAMETER"
6711><I
6712>parent</I
6713></TT
6714> children list.
6715<TT
6716CLASS="PARAMETER"
6717><I
6718>ns</I
6719></TT
6720> and <TT
6721CLASS="PARAMETER"
6722><I
6723>content</I
6724></TT
6725> parameters are optionnal (NULL). If content is non NULL,
6726a child TEXT node will be created containing the string content.</P
6727><P
6728></P
6729><DIV
6730CLASS="INFORMALTABLE"
6731><P
6732></P
6733><TABLE
6734BORDER="0"
6735WIDTH="100%"
6736BGCOLOR="#FFD0D0"
6737CELLSPACING="0"
6738CELLPADDING="4"
6739CLASS="CALSTABLE"
6740><TR
6741><TD
6742WIDTH="20%"
6743ALIGN="RIGHT"
6744VALIGN="TOP"
6745><TT
6746CLASS="PARAMETER"
6747><I
6748>parent</I
6749></TT
6750>&nbsp;:</TD
6751><TD
6752WIDTH="80%"
6753ALIGN="LEFT"
6754VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006755> the parent node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006756></TR
6757><TR
6758><TD
6759WIDTH="20%"
6760ALIGN="RIGHT"
6761VALIGN="TOP"
6762><TT
6763CLASS="PARAMETER"
6764><I
6765>ns</I
6766></TT
6767>&nbsp;:</TD
6768><TD
6769WIDTH="80%"
6770ALIGN="LEFT"
6771VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006772> a namespace if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006773></TR
6774><TR
6775><TD
6776WIDTH="20%"
6777ALIGN="RIGHT"
6778VALIGN="TOP"
6779><TT
6780CLASS="PARAMETER"
6781><I
6782>name</I
6783></TT
6784>&nbsp;:</TD
6785><TD
6786WIDTH="80%"
6787ALIGN="LEFT"
6788VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006789> the name of the child</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006790></TR
6791><TR
6792><TD
6793WIDTH="20%"
6794ALIGN="RIGHT"
6795VALIGN="TOP"
6796><TT
6797CLASS="PARAMETER"
6798><I
6799>content</I
6800></TT
6801>&nbsp;:</TD
6802><TD
6803WIDTH="80%"
6804ALIGN="LEFT"
6805VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006806> the text content of the child if any.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006807></TR
6808><TR
6809><TD
6810WIDTH="20%"
6811ALIGN="RIGHT"
6812VALIGN="TOP"
6813><I
6814CLASS="EMPHASIS"
6815>Returns</I
6816> :</TD
6817><TD
6818WIDTH="80%"
6819ALIGN="LEFT"
6820VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006821>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006822></TR
6823></TABLE
6824><P
6825></P
6826></DIV
6827></DIV
6828><HR><DIV
6829CLASS="REFSECT2"
6830><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006831NAME="AEN5240"
Daniel Veillard35925471999-02-25 08:46:07 +00006832></A
6833><H3
6834><A
6835NAME="XMLNEWDOCTEXT"
6836></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006837>xmlNewDocText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006838><TABLE
6839BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006840BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006841WIDTH="100%"
6842CELLPADDING="6"
6843><TR
6844><TD
6845><PRE
6846CLASS="PROGRAMLISTING"
6847><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006848HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006849>xmlNodePtr</A
6850> xmlNewDocText (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006851HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006852>xmlDocPtr</A
6853> doc,
6854 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006855HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006856>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006857> *content);</PRE
6858></TD
6859></TR
6860></TABLE
6861><P
6862>Creation of a new text node within a document.</P
6863><P
6864></P
6865><DIV
6866CLASS="INFORMALTABLE"
6867><P
6868></P
6869><TABLE
6870BORDER="0"
6871WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006872BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006873CELLSPACING="0"
6874CELLPADDING="4"
6875CLASS="CALSTABLE"
6876><TR
6877><TD
6878WIDTH="20%"
6879ALIGN="RIGHT"
6880VALIGN="TOP"
6881><TT
6882CLASS="PARAMETER"
6883><I
6884>doc</I
6885></TT
6886>&nbsp;:</TD
6887><TD
6888WIDTH="80%"
6889ALIGN="LEFT"
6890VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006891> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006892></TR
6893><TR
6894><TD
6895WIDTH="20%"
6896ALIGN="RIGHT"
6897VALIGN="TOP"
6898><TT
6899CLASS="PARAMETER"
6900><I
6901>content</I
6902></TT
6903>&nbsp;:</TD
6904><TD
6905WIDTH="80%"
6906ALIGN="LEFT"
6907VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006908> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006909></TR
6910><TR
6911><TD
6912WIDTH="20%"
6913ALIGN="RIGHT"
6914VALIGN="TOP"
6915><I
6916CLASS="EMPHASIS"
6917>Returns</I
6918> :</TD
6919><TD
6920WIDTH="80%"
6921ALIGN="LEFT"
6922VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006923>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006924></TR
6925></TABLE
6926><P
6927></P
6928></DIV
6929></DIV
6930><HR><DIV
6931CLASS="REFSECT2"
6932><A
Daniel Veillarde356c282001-03-10 12:32:04 +00006933NAME="AEN5266"
Daniel Veillard35925471999-02-25 08:46:07 +00006934></A
6935><H3
6936><A
6937NAME="XMLNEWTEXT"
6938></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006939>xmlNewText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006940><TABLE
6941BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006942BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006943WIDTH="100%"
6944CELLPADDING="6"
6945><TR
6946><TD
6947><PRE
6948CLASS="PROGRAMLISTING"
6949><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006950HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006951>xmlNodePtr</A
6952> xmlNewText (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006953HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006954>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006955> *content);</PRE
6956></TD
6957></TR
6958></TABLE
6959><P
6960>Creation of a new text node.</P
6961><P
6962></P
6963><DIV
6964CLASS="INFORMALTABLE"
6965><P
6966></P
6967><TABLE
6968BORDER="0"
6969WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006970BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006971CELLSPACING="0"
6972CELLPADDING="4"
6973CLASS="CALSTABLE"
6974><TR
6975><TD
6976WIDTH="20%"
6977ALIGN="RIGHT"
6978VALIGN="TOP"
6979><TT
6980CLASS="PARAMETER"
6981><I
6982>content</I
6983></TT
6984>&nbsp;:</TD
6985><TD
6986WIDTH="80%"
6987ALIGN="LEFT"
6988VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006989> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006990></TR
6991><TR
6992><TD
6993WIDTH="20%"
6994ALIGN="RIGHT"
6995VALIGN="TOP"
6996><I
6997CLASS="EMPHASIS"
6998>Returns</I
6999> :</TD
7000><TD
7001WIDTH="80%"
7002ALIGN="LEFT"
7003VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007004>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007005></TR
7006></TABLE
7007><P
7008></P
7009></DIV
7010></DIV
7011><HR><DIV
7012CLASS="REFSECT2"
7013><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007014NAME="AEN5287"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007015></A
7016><H3
7017><A
7018NAME="XMLNEWPI"
7019></A
7020>xmlNewPI ()</H3
7021><TABLE
7022BORDER="0"
7023BGCOLOR="#D6E8FF"
7024WIDTH="100%"
7025CELLPADDING="6"
7026><TR
7027><TD
7028><PRE
7029CLASS="PROGRAMLISTING"
7030><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007031HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007032>xmlNodePtr</A
7033> xmlNewPI (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007034HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007035>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007036> *name,
7037 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007038HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007039>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007040> *content);</PRE
7041></TD
7042></TR
7043></TABLE
7044><P
7045>Creation of a processing instruction element.</P
7046><P
7047></P
7048><DIV
7049CLASS="INFORMALTABLE"
7050><P
7051></P
7052><TABLE
7053BORDER="0"
7054WIDTH="100%"
7055BGCOLOR="#FFD0D0"
7056CELLSPACING="0"
7057CELLPADDING="4"
7058CLASS="CALSTABLE"
7059><TR
7060><TD
7061WIDTH="20%"
7062ALIGN="RIGHT"
7063VALIGN="TOP"
7064><TT
7065CLASS="PARAMETER"
7066><I
7067>name</I
7068></TT
7069>&nbsp;:</TD
7070><TD
7071WIDTH="80%"
7072ALIGN="LEFT"
7073VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007074> the processing instruction name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007075></TR
7076><TR
7077><TD
7078WIDTH="20%"
7079ALIGN="RIGHT"
7080VALIGN="TOP"
7081><TT
7082CLASS="PARAMETER"
7083><I
7084>content</I
7085></TT
7086>&nbsp;:</TD
7087><TD
7088WIDTH="80%"
7089ALIGN="LEFT"
7090VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007091> the PI content</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007092></TR
7093><TR
7094><TD
7095WIDTH="20%"
7096ALIGN="RIGHT"
7097VALIGN="TOP"
7098><I
7099CLASS="EMPHASIS"
7100>Returns</I
7101> :</TD
7102><TD
7103WIDTH="80%"
7104ALIGN="LEFT"
7105VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007106>a pointer to the new node object.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007107></TR
7108></TABLE
7109><P
7110></P
7111></DIV
7112></DIV
7113><HR><DIV
7114CLASS="REFSECT2"
7115><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007116NAME="AEN5313"
Daniel Veillard35925471999-02-25 08:46:07 +00007117></A
7118><H3
7119><A
7120NAME="XMLNEWDOCTEXTLEN"
7121></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007122>xmlNewDocTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007123><TABLE
7124BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007125BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007126WIDTH="100%"
7127CELLPADDING="6"
7128><TR
7129><TD
7130><PRE
7131CLASS="PROGRAMLISTING"
7132><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007133HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007134>xmlNodePtr</A
7135> xmlNewDocTextLen (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007136HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007137>xmlDocPtr</A
7138> doc,
7139 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007140HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007141>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007142> *content,
7143 int len);</PRE
7144></TD
7145></TR
7146></TABLE
7147><P
7148>Creation of a new text node with an extra content lenght parameter. The
7149text node pertain to a given document.</P
7150><P
7151></P
7152><DIV
7153CLASS="INFORMALTABLE"
7154><P
7155></P
7156><TABLE
7157BORDER="0"
7158WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007159BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007160CELLSPACING="0"
7161CELLPADDING="4"
7162CLASS="CALSTABLE"
7163><TR
7164><TD
7165WIDTH="20%"
7166ALIGN="RIGHT"
7167VALIGN="TOP"
7168><TT
7169CLASS="PARAMETER"
7170><I
7171>doc</I
7172></TT
7173>&nbsp;:</TD
7174><TD
7175WIDTH="80%"
7176ALIGN="LEFT"
7177VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007178> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007179></TR
7180><TR
7181><TD
7182WIDTH="20%"
7183ALIGN="RIGHT"
7184VALIGN="TOP"
7185><TT
7186CLASS="PARAMETER"
7187><I
7188>content</I
7189></TT
7190>&nbsp;:</TD
7191><TD
7192WIDTH="80%"
7193ALIGN="LEFT"
7194VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007195> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007196></TR
7197><TR
7198><TD
7199WIDTH="20%"
7200ALIGN="RIGHT"
7201VALIGN="TOP"
7202><TT
7203CLASS="PARAMETER"
7204><I
7205>len</I
7206></TT
7207>&nbsp;:</TD
7208><TD
7209WIDTH="80%"
7210ALIGN="LEFT"
7211VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007212> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007213></TR
7214><TR
7215><TD
7216WIDTH="20%"
7217ALIGN="RIGHT"
7218VALIGN="TOP"
7219><I
7220CLASS="EMPHASIS"
7221>Returns</I
7222> :</TD
7223><TD
7224WIDTH="80%"
7225ALIGN="LEFT"
7226VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007227>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007228></TR
7229></TABLE
7230><P
7231></P
7232></DIV
7233></DIV
7234><HR><DIV
7235CLASS="REFSECT2"
7236><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007237NAME="AEN5343"
Daniel Veillard35925471999-02-25 08:46:07 +00007238></A
7239><H3
7240><A
7241NAME="XMLNEWTEXTLEN"
7242></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007243>xmlNewTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007244><TABLE
7245BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007246BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007247WIDTH="100%"
7248CELLPADDING="6"
7249><TR
7250><TD
7251><PRE
7252CLASS="PROGRAMLISTING"
7253><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007254HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007255>xmlNodePtr</A
7256> xmlNewTextLen (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007257HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007258>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007259> *content,
7260 int len);</PRE
7261></TD
7262></TR
7263></TABLE
7264><P
7265>Creation of a new text node with an extra parameter for the content's lenght</P
7266><P
7267></P
7268><DIV
7269CLASS="INFORMALTABLE"
7270><P
7271></P
7272><TABLE
7273BORDER="0"
7274WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007275BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007276CELLSPACING="0"
7277CELLPADDING="4"
7278CLASS="CALSTABLE"
7279><TR
7280><TD
7281WIDTH="20%"
7282ALIGN="RIGHT"
7283VALIGN="TOP"
7284><TT
7285CLASS="PARAMETER"
7286><I
7287>content</I
7288></TT
7289>&nbsp;:</TD
7290><TD
7291WIDTH="80%"
7292ALIGN="LEFT"
7293VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007294> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007295></TR
7296><TR
7297><TD
7298WIDTH="20%"
7299ALIGN="RIGHT"
7300VALIGN="TOP"
7301><TT
7302CLASS="PARAMETER"
7303><I
7304>len</I
7305></TT
7306>&nbsp;:</TD
7307><TD
7308WIDTH="80%"
7309ALIGN="LEFT"
7310VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007311> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007312></TR
7313><TR
7314><TD
7315WIDTH="20%"
7316ALIGN="RIGHT"
7317VALIGN="TOP"
7318><I
7319CLASS="EMPHASIS"
7320>Returns</I
7321> :</TD
7322><TD
7323WIDTH="80%"
7324ALIGN="LEFT"
7325VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007326>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007327></TR
7328></TABLE
7329><P
7330></P
7331></DIV
7332></DIV
7333><HR><DIV
7334CLASS="REFSECT2"
7335><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007336NAME="AEN5368"
Daniel Veillard35925471999-02-25 08:46:07 +00007337></A
7338><H3
7339><A
7340NAME="XMLNEWDOCCOMMENT"
7341></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007342>xmlNewDocComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007343><TABLE
7344BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007345BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007346WIDTH="100%"
7347CELLPADDING="6"
7348><TR
7349><TD
7350><PRE
7351CLASS="PROGRAMLISTING"
7352><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007353HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007354>xmlNodePtr</A
7355> xmlNewDocComment (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007356HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007357>xmlDocPtr</A
7358> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +00007359 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007360HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007361>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007362> *content);</PRE
7363></TD
7364></TR
7365></TABLE
7366><P
7367>Creation of a new node containing a commentwithin a document.</P
7368><P
7369></P
7370><DIV
7371CLASS="INFORMALTABLE"
7372><P
7373></P
7374><TABLE
7375BORDER="0"
7376WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007377BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007378CELLSPACING="0"
7379CELLPADDING="4"
7380CLASS="CALSTABLE"
7381><TR
7382><TD
7383WIDTH="20%"
7384ALIGN="RIGHT"
7385VALIGN="TOP"
7386><TT
7387CLASS="PARAMETER"
7388><I
7389>doc</I
7390></TT
7391>&nbsp;:</TD
7392><TD
7393WIDTH="80%"
7394ALIGN="LEFT"
7395VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007396> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007397></TR
7398><TR
7399><TD
7400WIDTH="20%"
7401ALIGN="RIGHT"
7402VALIGN="TOP"
7403><TT
7404CLASS="PARAMETER"
7405><I
7406>content</I
7407></TT
7408>&nbsp;:</TD
7409><TD
7410WIDTH="80%"
7411ALIGN="LEFT"
7412VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007413> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007414></TR
7415><TR
7416><TD
7417WIDTH="20%"
7418ALIGN="RIGHT"
7419VALIGN="TOP"
7420><I
7421CLASS="EMPHASIS"
7422>Returns</I
7423> :</TD
7424><TD
7425WIDTH="80%"
7426ALIGN="LEFT"
7427VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007428>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007429></TR
7430></TABLE
7431><P
7432></P
7433></DIV
7434></DIV
7435><HR><DIV
7436CLASS="REFSECT2"
7437><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007438NAME="AEN5394"
Daniel Veillard35925471999-02-25 08:46:07 +00007439></A
7440><H3
7441><A
7442NAME="XMLNEWCOMMENT"
7443></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007444>xmlNewComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007445><TABLE
7446BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007447BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007448WIDTH="100%"
7449CELLPADDING="6"
7450><TR
7451><TD
7452><PRE
7453CLASS="PROGRAMLISTING"
7454><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007455HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007456>xmlNodePtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007457> xmlNewComment (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007458HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007459>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007460> *content);</PRE
7461></TD
7462></TR
7463></TABLE
7464><P
7465>Creation of a new node containing a comment.</P
7466><P
7467></P
7468><DIV
7469CLASS="INFORMALTABLE"
7470><P
7471></P
7472><TABLE
7473BORDER="0"
7474WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007475BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007476CELLSPACING="0"
7477CELLPADDING="4"
7478CLASS="CALSTABLE"
7479><TR
7480><TD
7481WIDTH="20%"
7482ALIGN="RIGHT"
7483VALIGN="TOP"
7484><TT
7485CLASS="PARAMETER"
7486><I
7487>content</I
7488></TT
7489>&nbsp;:</TD
7490><TD
7491WIDTH="80%"
7492ALIGN="LEFT"
7493VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007494> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007495></TR
7496><TR
7497><TD
7498WIDTH="20%"
7499ALIGN="RIGHT"
7500VALIGN="TOP"
7501><I
7502CLASS="EMPHASIS"
7503>Returns</I
7504> :</TD
7505><TD
7506WIDTH="80%"
7507ALIGN="LEFT"
7508VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007509>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007510></TR
7511></TABLE
7512><P
7513></P
7514></DIV
7515></DIV
7516><HR><DIV
7517CLASS="REFSECT2"
7518><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007519NAME="AEN5415"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007520></A
7521><H3
7522><A
7523NAME="XMLNEWCDATABLOCK"
7524></A
7525>xmlNewCDataBlock ()</H3
7526><TABLE
7527BORDER="0"
7528BGCOLOR="#D6E8FF"
7529WIDTH="100%"
7530CELLPADDING="6"
7531><TR
7532><TD
7533><PRE
7534CLASS="PROGRAMLISTING"
7535><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007536HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007537>xmlNodePtr</A
7538> xmlNewCDataBlock (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007539HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007540>xmlDocPtr</A
7541> doc,
7542 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007543HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007544>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007545> *content,
7546 int len);</PRE
7547></TD
7548></TR
7549></TABLE
7550><P
7551>Creation of a new node containing a CData block.</P
7552><P
7553></P
7554><DIV
7555CLASS="INFORMALTABLE"
7556><P
7557></P
7558><TABLE
7559BORDER="0"
7560WIDTH="100%"
7561BGCOLOR="#FFD0D0"
7562CELLSPACING="0"
7563CELLPADDING="4"
7564CLASS="CALSTABLE"
7565><TR
7566><TD
7567WIDTH="20%"
7568ALIGN="RIGHT"
7569VALIGN="TOP"
7570><TT
7571CLASS="PARAMETER"
7572><I
7573>doc</I
7574></TT
7575>&nbsp;:</TD
7576><TD
7577WIDTH="80%"
7578ALIGN="LEFT"
7579VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007580> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007581></TR
7582><TR
7583><TD
7584WIDTH="20%"
7585ALIGN="RIGHT"
7586VALIGN="TOP"
7587><TT
7588CLASS="PARAMETER"
7589><I
7590>content</I
7591></TT
7592>&nbsp;:</TD
7593><TD
7594WIDTH="80%"
7595ALIGN="LEFT"
7596VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007597> the CData block content content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007598></TR
7599><TR
7600><TD
7601WIDTH="20%"
7602ALIGN="RIGHT"
7603VALIGN="TOP"
7604><TT
7605CLASS="PARAMETER"
7606><I
7607>len</I
7608></TT
7609>&nbsp;:</TD
7610><TD
7611WIDTH="80%"
7612ALIGN="LEFT"
7613VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007614> the length of the block</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007615></TR
7616><TR
7617><TD
7618WIDTH="20%"
7619ALIGN="RIGHT"
7620VALIGN="TOP"
7621><I
7622CLASS="EMPHASIS"
7623>Returns</I
7624> :</TD
7625><TD
7626WIDTH="80%"
7627ALIGN="LEFT"
7628VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007629>a pointer to the new node object.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007630></TR
7631></TABLE
7632><P
7633></P
7634></DIV
7635></DIV
7636><HR><DIV
7637CLASS="REFSECT2"
7638><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007639NAME="AEN5445"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007640></A
7641><H3
7642><A
7643NAME="XMLNEWCHARREF"
7644></A
7645>xmlNewCharRef ()</H3
7646><TABLE
7647BORDER="0"
7648BGCOLOR="#D6E8FF"
7649WIDTH="100%"
7650CELLPADDING="6"
7651><TR
7652><TD
7653><PRE
7654CLASS="PROGRAMLISTING"
7655><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007656HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007657>xmlNodePtr</A
7658> xmlNewCharRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007659HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007660>xmlDocPtr</A
7661> doc,
7662 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007663HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007664>xmlChar</A
7665> *name);</PRE
7666></TD
7667></TR
7668></TABLE
7669><P
7670>Creation of a new character reference node.</P
7671><P
7672></P
7673><DIV
7674CLASS="INFORMALTABLE"
7675><P
7676></P
7677><TABLE
7678BORDER="0"
7679WIDTH="100%"
7680BGCOLOR="#FFD0D0"
7681CELLSPACING="0"
7682CELLPADDING="4"
7683CLASS="CALSTABLE"
7684><TR
7685><TD
7686WIDTH="20%"
7687ALIGN="RIGHT"
7688VALIGN="TOP"
7689><TT
7690CLASS="PARAMETER"
7691><I
7692>doc</I
7693></TT
7694>&nbsp;:</TD
7695><TD
7696WIDTH="80%"
7697ALIGN="LEFT"
7698VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007699> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007700></TR
7701><TR
7702><TD
7703WIDTH="20%"
7704ALIGN="RIGHT"
7705VALIGN="TOP"
7706><TT
7707CLASS="PARAMETER"
7708><I
7709>name</I
7710></TT
7711>&nbsp;:</TD
7712><TD
7713WIDTH="80%"
7714ALIGN="LEFT"
7715VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007716> the char ref string, starting with # or "&amp;# ... ;"</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007717></TR
7718><TR
7719><TD
7720WIDTH="20%"
7721ALIGN="RIGHT"
7722VALIGN="TOP"
7723><I
7724CLASS="EMPHASIS"
7725>Returns</I
7726> :</TD
7727><TD
7728WIDTH="80%"
7729ALIGN="LEFT"
7730VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007731>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007732></TR
7733></TABLE
7734><P
7735></P
7736></DIV
7737></DIV
7738><HR><DIV
7739CLASS="REFSECT2"
7740><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007741NAME="AEN5471"
Daniel Veillard35925471999-02-25 08:46:07 +00007742></A
7743><H3
7744><A
7745NAME="XMLNEWREFERENCE"
7746></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007747>xmlNewReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007748><TABLE
7749BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007750BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007751WIDTH="100%"
7752CELLPADDING="6"
7753><TR
7754><TD
7755><PRE
7756CLASS="PROGRAMLISTING"
7757><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007758HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007759>xmlNodePtr</A
7760> xmlNewReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007761HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007762>xmlDocPtr</A
7763> doc,
7764 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007765HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007766>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007767> *name);</PRE
7768></TD
7769></TR
7770></TABLE
7771><P
7772>Creation of a new reference node.</P
7773><P
7774></P
7775><DIV
7776CLASS="INFORMALTABLE"
7777><P
7778></P
7779><TABLE
7780BORDER="0"
7781WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007782BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007783CELLSPACING="0"
7784CELLPADDING="4"
7785CLASS="CALSTABLE"
7786><TR
7787><TD
7788WIDTH="20%"
7789ALIGN="RIGHT"
7790VALIGN="TOP"
7791><TT
7792CLASS="PARAMETER"
7793><I
7794>doc</I
7795></TT
7796>&nbsp;:</TD
7797><TD
7798WIDTH="80%"
7799ALIGN="LEFT"
7800VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007801> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007802></TR
7803><TR
7804><TD
7805WIDTH="20%"
7806ALIGN="RIGHT"
7807VALIGN="TOP"
7808><TT
7809CLASS="PARAMETER"
7810><I
7811>name</I
7812></TT
7813>&nbsp;:</TD
7814><TD
7815WIDTH="80%"
7816ALIGN="LEFT"
7817VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007818> the reference name, or the reference string with &amp; and ;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007819></TR
7820><TR
7821><TD
7822WIDTH="20%"
7823ALIGN="RIGHT"
7824VALIGN="TOP"
7825><I
7826CLASS="EMPHASIS"
7827>Returns</I
7828> :</TD
7829><TD
7830WIDTH="80%"
7831ALIGN="LEFT"
7832VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007833>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007834></TR
7835></TABLE
7836><P
7837></P
7838></DIV
7839></DIV
7840><HR><DIV
7841CLASS="REFSECT2"
7842><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007843NAME="AEN5497"
Daniel Veillard35925471999-02-25 08:46:07 +00007844></A
7845><H3
7846><A
7847NAME="XMLCOPYNODE"
7848></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007849>xmlCopyNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007850><TABLE
7851BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007852BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007853WIDTH="100%"
7854CELLPADDING="6"
7855><TR
7856><TD
7857><PRE
7858CLASS="PROGRAMLISTING"
7859><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007860HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007861>xmlNodePtr</A
7862> xmlCopyNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007863HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007864>xmlNodePtr</A
7865> node,
7866 int recursive);</PRE
7867></TD
7868></TR
7869></TABLE
7870><P
7871>Do a copy of the node.</P
7872><P
7873></P
7874><DIV
7875CLASS="INFORMALTABLE"
7876><P
7877></P
7878><TABLE
7879BORDER="0"
7880WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007881BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007882CELLSPACING="0"
7883CELLPADDING="4"
7884CLASS="CALSTABLE"
7885><TR
7886><TD
7887WIDTH="20%"
7888ALIGN="RIGHT"
7889VALIGN="TOP"
7890><TT
7891CLASS="PARAMETER"
7892><I
7893>node</I
7894></TT
7895>&nbsp;:</TD
7896><TD
7897WIDTH="80%"
7898ALIGN="LEFT"
7899VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007900> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007901></TR
7902><TR
7903><TD
7904WIDTH="20%"
7905ALIGN="RIGHT"
7906VALIGN="TOP"
7907><TT
7908CLASS="PARAMETER"
7909><I
7910>recursive</I
7911></TT
7912>&nbsp;:</TD
7913><TD
7914WIDTH="80%"
7915ALIGN="LEFT"
7916VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007917> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007918></TR
7919><TR
7920><TD
7921WIDTH="20%"
7922ALIGN="RIGHT"
7923VALIGN="TOP"
7924><I
7925CLASS="EMPHASIS"
7926>Returns</I
7927> :</TD
7928><TD
7929WIDTH="80%"
7930ALIGN="LEFT"
7931VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007932> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007933></TR
7934></TABLE
7935><P
7936></P
7937></DIV
7938></DIV
7939><HR><DIV
7940CLASS="REFSECT2"
7941><A
Daniel Veillarde356c282001-03-10 12:32:04 +00007942NAME="AEN5522"
Daniel Veillard35925471999-02-25 08:46:07 +00007943></A
7944><H3
7945><A
7946NAME="XMLCOPYNODELIST"
7947></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007948>xmlCopyNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007949><TABLE
7950BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007951BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007952WIDTH="100%"
7953CELLPADDING="6"
7954><TR
7955><TD
7956><PRE
7957CLASS="PROGRAMLISTING"
7958><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007959HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007960>xmlNodePtr</A
7961> xmlCopyNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007962HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007963>xmlNodePtr</A
7964> node);</PRE
7965></TD
7966></TR
7967></TABLE
7968><P
7969>Do a recursive copy of the node list.</P
7970><P
7971></P
7972><DIV
7973CLASS="INFORMALTABLE"
7974><P
7975></P
7976><TABLE
7977BORDER="0"
7978WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007979BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007980CELLSPACING="0"
7981CELLPADDING="4"
7982CLASS="CALSTABLE"
7983><TR
7984><TD
7985WIDTH="20%"
7986ALIGN="RIGHT"
7987VALIGN="TOP"
7988><TT
7989CLASS="PARAMETER"
7990><I
7991>node</I
7992></TT
7993>&nbsp;:</TD
7994><TD
7995WIDTH="80%"
7996ALIGN="LEFT"
7997VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007998> the first node in the list.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007999></TR
8000><TR
8001><TD
8002WIDTH="20%"
8003ALIGN="RIGHT"
8004VALIGN="TOP"
8005><I
8006CLASS="EMPHASIS"
8007>Returns</I
8008> :</TD
8009><TD
8010WIDTH="80%"
8011ALIGN="LEFT"
8012VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008013> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008014></TR
8015></TABLE
8016><P
8017></P
8018></DIV
8019></DIV
8020><HR><DIV
8021CLASS="REFSECT2"
8022><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008023NAME="AEN5543"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008024></A
8025><H3
8026><A
8027NAME="XMLNEWDOCFRAGMENT"
8028></A
8029>xmlNewDocFragment ()</H3
8030><TABLE
8031BORDER="0"
8032BGCOLOR="#D6E8FF"
8033WIDTH="100%"
8034CELLPADDING="6"
8035><TR
8036><TD
8037><PRE
8038CLASS="PROGRAMLISTING"
8039><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008040HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008041>xmlNodePtr</A
8042> xmlNewDocFragment (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008043HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008044>xmlDocPtr</A
8045> doc);</PRE
8046></TD
8047></TR
8048></TABLE
8049><P
8050>Creation of a new Fragment node.</P
8051><P
8052></P
8053><DIV
8054CLASS="INFORMALTABLE"
8055><P
8056></P
8057><TABLE
8058BORDER="0"
8059WIDTH="100%"
8060BGCOLOR="#FFD0D0"
8061CELLSPACING="0"
8062CELLPADDING="4"
8063CLASS="CALSTABLE"
8064><TR
8065><TD
8066WIDTH="20%"
8067ALIGN="RIGHT"
8068VALIGN="TOP"
8069><TT
8070CLASS="PARAMETER"
8071><I
8072>doc</I
8073></TT
8074>&nbsp;:</TD
8075><TD
8076WIDTH="80%"
8077ALIGN="LEFT"
8078VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008079> the document owning the fragment</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008080></TR
8081><TR
8082><TD
8083WIDTH="20%"
8084ALIGN="RIGHT"
8085VALIGN="TOP"
8086><I
8087CLASS="EMPHASIS"
8088>Returns</I
8089> :</TD
8090><TD
8091WIDTH="80%"
8092ALIGN="LEFT"
8093VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008094>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008095></TR
8096></TABLE
8097><P
8098></P
8099></DIV
8100></DIV
8101><HR><DIV
8102CLASS="REFSECT2"
8103><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008104NAME="AEN5564"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008105></A
8106><H3
8107><A
8108NAME="XMLDOCGETROOTELEMENT"
8109></A
8110>xmlDocGetRootElement ()</H3
8111><TABLE
8112BORDER="0"
8113BGCOLOR="#D6E8FF"
8114WIDTH="100%"
8115CELLPADDING="6"
8116><TR
8117><TD
8118><PRE
8119CLASS="PROGRAMLISTING"
8120><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008121HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008122>xmlNodePtr</A
8123> xmlDocGetRootElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008124HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008125>xmlDocPtr</A
8126> doc);</PRE
8127></TD
8128></TR
8129></TABLE
8130><P
8131>Get the root element of the document (doc-&gt;children is a list
8132containing possibly comments, PIs, etc ...).</P
8133><P
8134></P
8135><DIV
8136CLASS="INFORMALTABLE"
8137><P
8138></P
8139><TABLE
8140BORDER="0"
8141WIDTH="100%"
8142BGCOLOR="#FFD0D0"
8143CELLSPACING="0"
8144CELLPADDING="4"
8145CLASS="CALSTABLE"
8146><TR
8147><TD
8148WIDTH="20%"
8149ALIGN="RIGHT"
8150VALIGN="TOP"
8151><TT
8152CLASS="PARAMETER"
8153><I
8154>doc</I
8155></TT
8156>&nbsp;:</TD
8157><TD
8158WIDTH="80%"
8159ALIGN="LEFT"
8160VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008161> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008162></TR
8163><TR
8164><TD
8165WIDTH="20%"
8166ALIGN="RIGHT"
8167VALIGN="TOP"
8168><I
8169CLASS="EMPHASIS"
8170>Returns</I
8171> :</TD
8172><TD
8173WIDTH="80%"
8174ALIGN="LEFT"
8175VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008176>the xmlNodePtr for the root or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008177></TR
8178></TABLE
8179><P
8180></P
8181></DIV
8182></DIV
8183><HR><DIV
8184CLASS="REFSECT2"
8185><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008186NAME="AEN5585"
Daniel Veillard35925471999-02-25 08:46:07 +00008187></A
8188><H3
8189><A
8190NAME="XMLGETLASTCHILD"
8191></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008192>xmlGetLastChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008193><TABLE
8194BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008195BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008196WIDTH="100%"
8197CELLPADDING="6"
8198><TR
8199><TD
8200><PRE
8201CLASS="PROGRAMLISTING"
8202><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008203HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008204>xmlNodePtr</A
8205> xmlGetLastChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008206HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008207>xmlNodePtr</A
8208> parent);</PRE
8209></TD
8210></TR
8211></TABLE
8212><P
8213>Search the last child of a node.</P
8214><P
8215></P
8216><DIV
8217CLASS="INFORMALTABLE"
8218><P
8219></P
8220><TABLE
8221BORDER="0"
8222WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008223BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008224CELLSPACING="0"
8225CELLPADDING="4"
8226CLASS="CALSTABLE"
8227><TR
8228><TD
8229WIDTH="20%"
8230ALIGN="RIGHT"
8231VALIGN="TOP"
8232><TT
8233CLASS="PARAMETER"
8234><I
8235>parent</I
8236></TT
8237>&nbsp;:</TD
8238><TD
8239WIDTH="80%"
8240ALIGN="LEFT"
8241VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008242> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008243></TR
8244><TR
8245><TD
8246WIDTH="20%"
8247ALIGN="RIGHT"
8248VALIGN="TOP"
8249><I
8250CLASS="EMPHASIS"
8251>Returns</I
8252> :</TD
8253><TD
8254WIDTH="80%"
8255ALIGN="LEFT"
8256VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008257>the last child or NULL if none.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008258></TR
8259></TABLE
8260><P
8261></P
8262></DIV
8263></DIV
8264><HR><DIV
8265CLASS="REFSECT2"
8266><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008267NAME="AEN5606"
Daniel Veillard35925471999-02-25 08:46:07 +00008268></A
8269><H3
8270><A
8271NAME="XMLNODEISTEXT"
8272></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008273>xmlNodeIsText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008274><TABLE
8275BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008276BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008277WIDTH="100%"
8278CELLPADDING="6"
8279><TR
8280><TD
8281><PRE
8282CLASS="PROGRAMLISTING"
8283>int xmlNodeIsText (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008284HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008285>xmlNodePtr</A
8286> node);</PRE
8287></TD
8288></TR
8289></TABLE
8290><P
8291>Is this node a Text node ?</P
8292><P
8293></P
8294><DIV
8295CLASS="INFORMALTABLE"
8296><P
8297></P
8298><TABLE
8299BORDER="0"
8300WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008301BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008302CELLSPACING="0"
8303CELLPADDING="4"
8304CLASS="CALSTABLE"
8305><TR
8306><TD
8307WIDTH="20%"
8308ALIGN="RIGHT"
8309VALIGN="TOP"
8310><TT
8311CLASS="PARAMETER"
8312><I
8313>node</I
8314></TT
8315>&nbsp;:</TD
8316><TD
8317WIDTH="80%"
8318ALIGN="LEFT"
8319VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008320> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008321></TR
8322><TR
8323><TD
8324WIDTH="20%"
8325ALIGN="RIGHT"
8326VALIGN="TOP"
8327><I
8328CLASS="EMPHASIS"
8329>Returns</I
8330> :</TD
8331><TD
8332WIDTH="80%"
8333ALIGN="LEFT"
8334VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008335>1 yes, 0 no</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008336></TR
8337></TABLE
8338><P
8339></P
8340></DIV
8341></DIV
8342><HR><DIV
8343CLASS="REFSECT2"
8344><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008345NAME="AEN5626"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008346></A
8347><H3
8348><A
8349NAME="XMLISBLANKNODE"
8350></A
8351>xmlIsBlankNode ()</H3
8352><TABLE
8353BORDER="0"
8354BGCOLOR="#D6E8FF"
8355WIDTH="100%"
8356CELLPADDING="6"
8357><TR
8358><TD
8359><PRE
8360CLASS="PROGRAMLISTING"
8361>int xmlIsBlankNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008362HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008363>xmlNodePtr</A
8364> node);</PRE
8365></TD
8366></TR
8367></TABLE
8368><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00008369>Checks whether this node is an empty or whitespace only
8370(and possibly ignorable) text-node.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008371><P
8372></P
8373><DIV
8374CLASS="INFORMALTABLE"
8375><P
8376></P
8377><TABLE
8378BORDER="0"
8379WIDTH="100%"
8380BGCOLOR="#FFD0D0"
8381CELLSPACING="0"
8382CELLPADDING="4"
8383CLASS="CALSTABLE"
8384><TR
8385><TD
8386WIDTH="20%"
8387ALIGN="RIGHT"
8388VALIGN="TOP"
8389><TT
8390CLASS="PARAMETER"
8391><I
8392>node</I
8393></TT
8394>&nbsp;:</TD
8395><TD
8396WIDTH="80%"
8397ALIGN="LEFT"
8398VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008399> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008400></TR
8401><TR
8402><TD
8403WIDTH="20%"
8404ALIGN="RIGHT"
8405VALIGN="TOP"
8406><I
8407CLASS="EMPHASIS"
8408>Returns</I
8409> :</TD
8410><TD
8411WIDTH="80%"
8412ALIGN="LEFT"
8413VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008414>1 yes, 0 no</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008415></TR
8416></TABLE
8417><P
8418></P
8419></DIV
8420></DIV
8421><HR><DIV
8422CLASS="REFSECT2"
8423><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008424NAME="AEN5646"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008425></A
8426><H3
8427><A
8428NAME="XMLDOCSETROOTELEMENT"
8429></A
8430>xmlDocSetRootElement ()</H3
8431><TABLE
8432BORDER="0"
8433BGCOLOR="#D6E8FF"
8434WIDTH="100%"
8435CELLPADDING="6"
8436><TR
8437><TD
8438><PRE
8439CLASS="PROGRAMLISTING"
8440><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008441HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008442>xmlNodePtr</A
8443> xmlDocSetRootElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008444HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008445>xmlDocPtr</A
8446> doc,
8447 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008448HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008449>xmlNodePtr</A
8450> root);</PRE
8451></TD
8452></TR
8453></TABLE
8454><P
8455>Set the root element of the document (doc-&gt;children is a list
8456containing possibly comments, PIs, etc ...).</P
8457><P
8458></P
8459><DIV
8460CLASS="INFORMALTABLE"
8461><P
8462></P
8463><TABLE
8464BORDER="0"
8465WIDTH="100%"
8466BGCOLOR="#FFD0D0"
8467CELLSPACING="0"
8468CELLPADDING="4"
8469CLASS="CALSTABLE"
8470><TR
8471><TD
8472WIDTH="20%"
8473ALIGN="RIGHT"
8474VALIGN="TOP"
8475><TT
8476CLASS="PARAMETER"
8477><I
8478>doc</I
8479></TT
8480>&nbsp;:</TD
8481><TD
8482WIDTH="80%"
8483ALIGN="LEFT"
8484VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008485> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008486></TR
8487><TR
8488><TD
8489WIDTH="20%"
8490ALIGN="RIGHT"
8491VALIGN="TOP"
8492><TT
8493CLASS="PARAMETER"
8494><I
8495>root</I
8496></TT
8497>&nbsp;:</TD
8498><TD
8499WIDTH="80%"
8500ALIGN="LEFT"
8501VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008502> the new document root element</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008503></TR
8504><TR
8505><TD
8506WIDTH="20%"
8507ALIGN="RIGHT"
8508VALIGN="TOP"
8509><I
8510CLASS="EMPHASIS"
8511>Returns</I
8512> :</TD
8513><TD
8514WIDTH="80%"
8515ALIGN="LEFT"
8516VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008517>the old root element if any was found</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008518></TR
8519></TABLE
8520><P
8521></P
8522></DIV
8523></DIV
8524><HR><DIV
8525CLASS="REFSECT2"
8526><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008527NAME="AEN5672"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008528></A
8529><H3
8530><A
8531NAME="XMLNODESETNAME"
8532></A
8533>xmlNodeSetName ()</H3
8534><TABLE
8535BORDER="0"
8536BGCOLOR="#D6E8FF"
8537WIDTH="100%"
8538CELLPADDING="6"
8539><TR
8540><TD
8541><PRE
8542CLASS="PROGRAMLISTING"
8543>void xmlNodeSetName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008544HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008545>xmlNodePtr</A
8546> cur,
8547 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008548HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008549>xmlChar</A
8550> *name);</PRE
8551></TD
8552></TR
8553></TABLE
8554><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +00008555>Set (or reset) the name of a node.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008556><P
8557></P
8558><DIV
8559CLASS="INFORMALTABLE"
8560><P
8561></P
8562><TABLE
8563BORDER="0"
8564WIDTH="100%"
8565BGCOLOR="#FFD0D0"
8566CELLSPACING="0"
8567CELLPADDING="4"
8568CLASS="CALSTABLE"
8569><TR
8570><TD
8571WIDTH="20%"
8572ALIGN="RIGHT"
8573VALIGN="TOP"
8574><TT
8575CLASS="PARAMETER"
8576><I
8577>cur</I
8578></TT
8579>&nbsp;:</TD
8580><TD
8581WIDTH="80%"
8582ALIGN="LEFT"
8583VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008584> the node being changed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008585></TR
8586><TR
8587><TD
8588WIDTH="20%"
8589ALIGN="RIGHT"
8590VALIGN="TOP"
8591><TT
8592CLASS="PARAMETER"
8593><I
8594>name</I
8595></TT
8596>&nbsp;:</TD
8597><TD
8598WIDTH="80%"
8599ALIGN="LEFT"
8600VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008601> the new tag name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008602></TR
8603></TABLE
8604><P
8605></P
8606></DIV
8607></DIV
8608><HR><DIV
8609CLASS="REFSECT2"
8610><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008611NAME="AEN5693"
Daniel Veillard35925471999-02-25 08:46:07 +00008612></A
8613><H3
8614><A
8615NAME="XMLADDCHILD"
8616></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008617>xmlAddChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008618><TABLE
8619BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008620BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008621WIDTH="100%"
8622CELLPADDING="6"
8623><TR
8624><TD
8625><PRE
8626CLASS="PROGRAMLISTING"
8627><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008628HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008629>xmlNodePtr</A
8630> xmlAddChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008631HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008632>xmlNodePtr</A
8633> parent,
8634 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008635HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008636>xmlNodePtr</A
8637> cur);</PRE
8638></TD
8639></TR
8640></TABLE
8641><P
8642>Add a new child element, to <TT
8643CLASS="PARAMETER"
8644><I
8645>parent</I
8646></TT
Daniel Veillard29a11cc2000-10-25 13:32:39 +00008647>, at the end of the child list
8648merging adjacent TEXT nodes (in which case <TT
8649CLASS="PARAMETER"
8650><I
8651>cur</I
8652></TT
8653> is freed)</P
Daniel Veillard35925471999-02-25 08:46:07 +00008654><P
8655></P
8656><DIV
8657CLASS="INFORMALTABLE"
8658><P
8659></P
8660><TABLE
8661BORDER="0"
8662WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008663BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008664CELLSPACING="0"
8665CELLPADDING="4"
8666CLASS="CALSTABLE"
8667><TR
8668><TD
8669WIDTH="20%"
8670ALIGN="RIGHT"
8671VALIGN="TOP"
8672><TT
8673CLASS="PARAMETER"
8674><I
8675>parent</I
8676></TT
8677>&nbsp;:</TD
8678><TD
8679WIDTH="80%"
8680ALIGN="LEFT"
8681VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008682> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008683></TR
8684><TR
8685><TD
8686WIDTH="20%"
8687ALIGN="RIGHT"
8688VALIGN="TOP"
8689><TT
8690CLASS="PARAMETER"
8691><I
8692>cur</I
8693></TT
8694>&nbsp;:</TD
8695><TD
8696WIDTH="80%"
8697ALIGN="LEFT"
8698VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008699> the child node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008700></TR
8701><TR
8702><TD
8703WIDTH="20%"
8704ALIGN="RIGHT"
8705VALIGN="TOP"
8706><I
8707CLASS="EMPHASIS"
8708>Returns</I
8709> :</TD
8710><TD
8711WIDTH="80%"
8712ALIGN="LEFT"
8713VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008714>the child or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008715></TR
8716></TABLE
8717><P
8718></P
8719></DIV
8720></DIV
8721><HR><DIV
8722CLASS="REFSECT2"
8723><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008724NAME="AEN5721"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008725></A
8726><H3
8727><A
8728NAME="XMLADDCHILDLIST"
8729></A
8730>xmlAddChildList ()</H3
8731><TABLE
8732BORDER="0"
8733BGCOLOR="#D6E8FF"
8734WIDTH="100%"
8735CELLPADDING="6"
8736><TR
8737><TD
8738><PRE
8739CLASS="PROGRAMLISTING"
8740><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008741HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008742>xmlNodePtr</A
8743> xmlAddChildList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008744HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008745>xmlNodePtr</A
8746> parent,
8747 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008748HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008749>xmlNodePtr</A
8750> cur);</PRE
8751></TD
8752></TR
8753></TABLE
8754><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +00008755>Add a list of node at the end of the child list of the parent
8756merging adjacent TEXT nodes (<TT
8757CLASS="PARAMETER"
8758><I
8759>cur</I
8760></TT
8761> may be freed)</P
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008762><P
8763></P
8764><DIV
8765CLASS="INFORMALTABLE"
8766><P
8767></P
8768><TABLE
8769BORDER="0"
8770WIDTH="100%"
8771BGCOLOR="#FFD0D0"
8772CELLSPACING="0"
8773CELLPADDING="4"
8774CLASS="CALSTABLE"
8775><TR
8776><TD
8777WIDTH="20%"
8778ALIGN="RIGHT"
8779VALIGN="TOP"
8780><TT
8781CLASS="PARAMETER"
8782><I
8783>parent</I
8784></TT
8785>&nbsp;:</TD
8786><TD
8787WIDTH="80%"
8788ALIGN="LEFT"
8789VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008790> the parent node</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008791></TR
8792><TR
8793><TD
8794WIDTH="20%"
8795ALIGN="RIGHT"
8796VALIGN="TOP"
8797><TT
8798CLASS="PARAMETER"
8799><I
8800>cur</I
8801></TT
8802>&nbsp;:</TD
8803><TD
8804WIDTH="80%"
8805ALIGN="LEFT"
8806VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008807> the first node in the list</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008808></TR
8809><TR
8810><TD
8811WIDTH="20%"
8812ALIGN="RIGHT"
8813VALIGN="TOP"
8814><I
8815CLASS="EMPHASIS"
8816>Returns</I
8817> :</TD
8818><TD
8819WIDTH="80%"
8820ALIGN="LEFT"
8821VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008822>the last child or NULL in case of error.</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008823></TR
8824></TABLE
8825><P
8826></P
8827></DIV
8828></DIV
8829><HR><DIV
8830CLASS="REFSECT2"
8831><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008832NAME="AEN5748"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008833></A
8834><H3
8835><A
8836NAME="XMLREPLACENODE"
8837></A
8838>xmlReplaceNode ()</H3
8839><TABLE
8840BORDER="0"
8841BGCOLOR="#D6E8FF"
8842WIDTH="100%"
8843CELLPADDING="6"
8844><TR
8845><TD
8846><PRE
8847CLASS="PROGRAMLISTING"
8848><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008849HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008850>xmlNodePtr</A
8851> xmlReplaceNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008852HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008853>xmlNodePtr</A
8854> old,
8855 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008856HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008857>xmlNodePtr</A
8858> cur);</PRE
8859></TD
8860></TR
8861></TABLE
8862><P
8863>Unlink the old node from it's current context, prune the new one
8864at the same place. If cur was already inserted in a document it is
8865first unlinked from its existing context.</P
8866><P
8867></P
8868><DIV
8869CLASS="INFORMALTABLE"
8870><P
8871></P
8872><TABLE
8873BORDER="0"
8874WIDTH="100%"
8875BGCOLOR="#FFD0D0"
8876CELLSPACING="0"
8877CELLPADDING="4"
8878CLASS="CALSTABLE"
8879><TR
8880><TD
8881WIDTH="20%"
8882ALIGN="RIGHT"
8883VALIGN="TOP"
8884><TT
8885CLASS="PARAMETER"
8886><I
8887>old</I
8888></TT
8889>&nbsp;:</TD
8890><TD
8891WIDTH="80%"
8892ALIGN="LEFT"
8893VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008894> the old node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008895></TR
8896><TR
8897><TD
8898WIDTH="20%"
8899ALIGN="RIGHT"
8900VALIGN="TOP"
8901><TT
8902CLASS="PARAMETER"
8903><I
8904>cur</I
8905></TT
8906>&nbsp;:</TD
8907><TD
8908WIDTH="80%"
8909ALIGN="LEFT"
8910VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008911> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008912></TR
8913><TR
8914><TD
8915WIDTH="20%"
8916ALIGN="RIGHT"
8917VALIGN="TOP"
8918><I
8919CLASS="EMPHASIS"
8920>Returns</I
8921> :</TD
8922><TD
8923WIDTH="80%"
8924ALIGN="LEFT"
8925VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008926>the old node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008927></TR
8928></TABLE
8929><P
8930></P
8931></DIV
8932></DIV
8933><HR><DIV
8934CLASS="REFSECT2"
8935><A
Daniel Veillarde356c282001-03-10 12:32:04 +00008936NAME="AEN5774"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008937></A
8938><H3
8939><A
8940NAME="XMLADDSIBLING"
8941></A
8942>xmlAddSibling ()</H3
8943><TABLE
8944BORDER="0"
8945BGCOLOR="#D6E8FF"
8946WIDTH="100%"
8947CELLPADDING="6"
8948><TR
8949><TD
8950><PRE
8951CLASS="PROGRAMLISTING"
8952><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008953HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008954>xmlNodePtr</A
8955> xmlAddSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008956HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008957>xmlNodePtr</A
8958> cur,
8959 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008960HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008961>xmlNodePtr</A
8962> elem);</PRE
8963></TD
8964></TR
8965></TABLE
8966><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00008967>Add a new element <TT
8968CLASS="PARAMETER"
8969><I
8970>elem</I
8971></TT
8972> to the list of siblings of <TT
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008973CLASS="PARAMETER"
8974><I
8975>cur</I
8976></TT
Daniel Veillardf3a73582000-01-05 14:58:39 +00008977>
Daniel Veillard29a11cc2000-10-25 13:32:39 +00008978merging adjacent TEXT nodes (<TT
8979CLASS="PARAMETER"
8980><I
8981>elem</I
8982></TT
8983> may be freed)
Daniel Veillardf3a73582000-01-05 14:58:39 +00008984If the new element was already inserted in a document it is
8985first unlinked from its existing context.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008986><P
8987></P
8988><DIV
8989CLASS="INFORMALTABLE"
8990><P
8991></P
8992><TABLE
8993BORDER="0"
8994WIDTH="100%"
8995BGCOLOR="#FFD0D0"
8996CELLSPACING="0"
8997CELLPADDING="4"
8998CLASS="CALSTABLE"
8999><TR
9000><TD
9001WIDTH="20%"
9002ALIGN="RIGHT"
9003VALIGN="TOP"
9004><TT
9005CLASS="PARAMETER"
9006><I
9007>cur</I
9008></TT
9009>&nbsp;:</TD
9010><TD
9011WIDTH="80%"
9012ALIGN="LEFT"
9013VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009014> the child node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009015></TR
9016><TR
9017><TD
9018WIDTH="20%"
9019ALIGN="RIGHT"
9020VALIGN="TOP"
9021><TT
9022CLASS="PARAMETER"
9023><I
9024>elem</I
9025></TT
9026>&nbsp;:</TD
9027><TD
9028WIDTH="80%"
9029ALIGN="LEFT"
9030VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009031> the new node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009032></TR
9033><TR
9034><TD
9035WIDTH="20%"
9036ALIGN="RIGHT"
9037VALIGN="TOP"
9038><I
9039CLASS="EMPHASIS"
9040>Returns</I
9041> :</TD
9042><TD
9043WIDTH="80%"
9044ALIGN="LEFT"
9045VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009046>the new element or NULL in case of error.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009047></TR
9048></TABLE
9049><P
9050></P
9051></DIV
9052></DIV
9053><HR><DIV
9054CLASS="REFSECT2"
9055><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009056NAME="AEN5803"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009057></A
9058><H3
9059><A
9060NAME="XMLADDPREVSIBLING"
9061></A
9062>xmlAddPrevSibling ()</H3
9063><TABLE
9064BORDER="0"
9065BGCOLOR="#D6E8FF"
9066WIDTH="100%"
9067CELLPADDING="6"
9068><TR
9069><TD
9070><PRE
9071CLASS="PROGRAMLISTING"
9072><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009073HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009074>xmlNodePtr</A
9075> xmlAddPrevSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009076HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009077>xmlNodePtr</A
9078> cur,
9079 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009080HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009081>xmlNodePtr</A
9082> elem);</PRE
9083></TD
9084></TR
9085></TABLE
9086><P
9087>Add a new element <TT
9088CLASS="PARAMETER"
9089><I
9090>elem</I
9091></TT
9092> as the previous siblings of <TT
9093CLASS="PARAMETER"
9094><I
9095>cur</I
9096></TT
9097>
Daniel Veillard29a11cc2000-10-25 13:32:39 +00009098merging adjacent TEXT nodes (<TT
9099CLASS="PARAMETER"
9100><I
9101>elem</I
9102></TT
9103> may be freed)
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009104If the new element was already inserted in a document it is
9105first unlinked from its existing context.</P
9106><P
9107></P
9108><DIV
9109CLASS="INFORMALTABLE"
9110><P
9111></P
9112><TABLE
9113BORDER="0"
9114WIDTH="100%"
9115BGCOLOR="#FFD0D0"
9116CELLSPACING="0"
9117CELLPADDING="4"
9118CLASS="CALSTABLE"
9119><TR
9120><TD
9121WIDTH="20%"
9122ALIGN="RIGHT"
9123VALIGN="TOP"
9124><TT
9125CLASS="PARAMETER"
9126><I
9127>cur</I
9128></TT
9129>&nbsp;:</TD
9130><TD
9131WIDTH="80%"
9132ALIGN="LEFT"
9133VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009134> the child node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009135></TR
9136><TR
9137><TD
9138WIDTH="20%"
9139ALIGN="RIGHT"
9140VALIGN="TOP"
9141><TT
9142CLASS="PARAMETER"
9143><I
9144>elem</I
9145></TT
9146>&nbsp;:</TD
9147><TD
9148WIDTH="80%"
9149ALIGN="LEFT"
9150VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009151> the new node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009152></TR
9153><TR
9154><TD
9155WIDTH="20%"
9156ALIGN="RIGHT"
9157VALIGN="TOP"
9158><I
9159CLASS="EMPHASIS"
9160>Returns</I
9161> :</TD
9162><TD
9163WIDTH="80%"
9164ALIGN="LEFT"
9165VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009166>the new element or NULL in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009167></TR
9168></TABLE
9169><P
9170></P
9171></DIV
9172></DIV
9173><HR><DIV
9174CLASS="REFSECT2"
9175><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009176NAME="AEN5832"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009177></A
9178><H3
9179><A
9180NAME="XMLADDNEXTSIBLING"
9181></A
9182>xmlAddNextSibling ()</H3
9183><TABLE
9184BORDER="0"
9185BGCOLOR="#D6E8FF"
9186WIDTH="100%"
9187CELLPADDING="6"
9188><TR
9189><TD
9190><PRE
9191CLASS="PROGRAMLISTING"
9192><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009193HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009194>xmlNodePtr</A
9195> xmlAddNextSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009196HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009197>xmlNodePtr</A
9198> cur,
9199 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009200HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009201>xmlNodePtr</A
9202> elem);</PRE
9203></TD
9204></TR
9205></TABLE
9206><P
9207>Add a new element <TT
9208CLASS="PARAMETER"
9209><I
9210>elem</I
9211></TT
9212> as the next siblings of <TT
9213CLASS="PARAMETER"
9214><I
9215>cur</I
9216></TT
9217>
9218If the new element was already inserted in a document it is
Daniel Veillard29a11cc2000-10-25 13:32:39 +00009219first unlinked from its existing context.
9220As a result of text merging <TT
9221CLASS="PARAMETER"
9222><I
9223>elem</I
9224></TT
9225> may be freed.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009226><P
9227></P
9228><DIV
9229CLASS="INFORMALTABLE"
9230><P
9231></P
9232><TABLE
9233BORDER="0"
9234WIDTH="100%"
9235BGCOLOR="#FFD0D0"
9236CELLSPACING="0"
9237CELLPADDING="4"
9238CLASS="CALSTABLE"
9239><TR
9240><TD
9241WIDTH="20%"
9242ALIGN="RIGHT"
9243VALIGN="TOP"
9244><TT
9245CLASS="PARAMETER"
9246><I
9247>cur</I
9248></TT
9249>&nbsp;:</TD
9250><TD
9251WIDTH="80%"
9252ALIGN="LEFT"
9253VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009254> the child node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009255></TR
9256><TR
9257><TD
9258WIDTH="20%"
9259ALIGN="RIGHT"
9260VALIGN="TOP"
9261><TT
9262CLASS="PARAMETER"
9263><I
9264>elem</I
9265></TT
9266>&nbsp;:</TD
9267><TD
9268WIDTH="80%"
9269ALIGN="LEFT"
9270VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009271> the new node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009272></TR
9273><TR
9274><TD
9275WIDTH="20%"
9276ALIGN="RIGHT"
9277VALIGN="TOP"
9278><I
9279CLASS="EMPHASIS"
9280>Returns</I
9281> :</TD
9282><TD
9283WIDTH="80%"
9284ALIGN="LEFT"
9285VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009286>the new element or NULL in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009287></TR
9288></TABLE
9289><P
9290></P
9291></DIV
9292></DIV
9293><HR><DIV
9294CLASS="REFSECT2"
9295><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009296NAME="AEN5861"
Daniel Veillard35925471999-02-25 08:46:07 +00009297></A
9298><H3
9299><A
9300NAME="XMLUNLINKNODE"
9301></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009302>xmlUnlinkNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009303><TABLE
9304BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009305BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009306WIDTH="100%"
9307CELLPADDING="6"
9308><TR
9309><TD
9310><PRE
9311CLASS="PROGRAMLISTING"
9312>void xmlUnlinkNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009313HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009314>xmlNodePtr</A
9315> cur);</PRE
9316></TD
9317></TR
9318></TABLE
9319><P
9320>Unlink a node from it's current context, the node is not freed</P
9321><P
9322></P
9323><DIV
9324CLASS="INFORMALTABLE"
9325><P
9326></P
9327><TABLE
9328BORDER="0"
9329WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009330BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009331CELLSPACING="0"
9332CELLPADDING="4"
9333CLASS="CALSTABLE"
9334><TR
9335><TD
9336WIDTH="20%"
9337ALIGN="RIGHT"
9338VALIGN="TOP"
9339><TT
9340CLASS="PARAMETER"
9341><I
9342>cur</I
9343></TT
9344>&nbsp;:</TD
9345><TD
9346WIDTH="80%"
9347ALIGN="LEFT"
9348VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009349> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009350></TR
9351></TABLE
9352><P
9353></P
9354></DIV
9355></DIV
9356><HR><DIV
9357CLASS="REFSECT2"
9358><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009359NAME="AEN5877"
Daniel Veillard35925471999-02-25 08:46:07 +00009360></A
9361><H3
9362><A
9363NAME="XMLTEXTMERGE"
9364></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009365>xmlTextMerge ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009366><TABLE
9367BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009368BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009369WIDTH="100%"
9370CELLPADDING="6"
9371><TR
9372><TD
9373><PRE
9374CLASS="PROGRAMLISTING"
9375><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009376HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009377>xmlNodePtr</A
9378> xmlTextMerge (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009379HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009380>xmlNodePtr</A
9381> first,
9382 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009383HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009384>xmlNodePtr</A
9385> second);</PRE
9386></TD
9387></TR
9388></TABLE
9389><P
9390>Merge two text nodes into one</P
9391><P
9392></P
9393><DIV
9394CLASS="INFORMALTABLE"
9395><P
9396></P
9397><TABLE
9398BORDER="0"
9399WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009400BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009401CELLSPACING="0"
9402CELLPADDING="4"
9403CLASS="CALSTABLE"
9404><TR
9405><TD
9406WIDTH="20%"
9407ALIGN="RIGHT"
9408VALIGN="TOP"
9409><TT
9410CLASS="PARAMETER"
9411><I
9412>first</I
9413></TT
9414>&nbsp;:</TD
9415><TD
9416WIDTH="80%"
9417ALIGN="LEFT"
9418VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009419> the first text node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009420></TR
9421><TR
9422><TD
9423WIDTH="20%"
9424ALIGN="RIGHT"
9425VALIGN="TOP"
9426><TT
9427CLASS="PARAMETER"
9428><I
9429>second</I
9430></TT
9431>&nbsp;:</TD
9432><TD
9433WIDTH="80%"
9434ALIGN="LEFT"
9435VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009436> the second text node being merged</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009437></TR
9438><TR
9439><TD
9440WIDTH="20%"
9441ALIGN="RIGHT"
9442VALIGN="TOP"
9443><I
9444CLASS="EMPHASIS"
9445>Returns</I
9446> :</TD
9447><TD
9448WIDTH="80%"
9449ALIGN="LEFT"
9450VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009451>the first text node augmented</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009452></TR
9453></TABLE
9454><P
9455></P
9456></DIV
9457></DIV
9458><HR><DIV
9459CLASS="REFSECT2"
9460><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009461NAME="AEN5903"
Daniel Veillard35925471999-02-25 08:46:07 +00009462></A
9463><H3
9464><A
9465NAME="XMLTEXTCONCAT"
9466></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009467>xmlTextConcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009468><TABLE
9469BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009470BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009471WIDTH="100%"
9472CELLPADDING="6"
9473><TR
9474><TD
9475><PRE
9476CLASS="PROGRAMLISTING"
9477>void xmlTextConcat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009478HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009479>xmlNodePtr</A
9480> node,
9481 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009482HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009483>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009484> *content,
9485 int len);</PRE
9486></TD
9487></TR
9488></TABLE
9489><P
9490>Concat the given string at the end of the existing node content</P
9491><P
9492></P
9493><DIV
9494CLASS="INFORMALTABLE"
9495><P
9496></P
9497><TABLE
9498BORDER="0"
9499WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009500BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009501CELLSPACING="0"
9502CELLPADDING="4"
9503CLASS="CALSTABLE"
9504><TR
9505><TD
9506WIDTH="20%"
9507ALIGN="RIGHT"
9508VALIGN="TOP"
9509><TT
9510CLASS="PARAMETER"
9511><I
9512>node</I
9513></TT
9514>&nbsp;:</TD
9515><TD
9516WIDTH="80%"
9517ALIGN="LEFT"
9518VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009519> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009520></TR
9521><TR
9522><TD
9523WIDTH="20%"
9524ALIGN="RIGHT"
9525VALIGN="TOP"
9526><TT
9527CLASS="PARAMETER"
9528><I
9529>content</I
9530></TT
9531>&nbsp;:</TD
9532><TD
9533WIDTH="80%"
9534ALIGN="LEFT"
9535VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009536> the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009537></TR
9538><TR
9539><TD
9540WIDTH="20%"
9541ALIGN="RIGHT"
9542VALIGN="TOP"
9543><TT
9544CLASS="PARAMETER"
9545><I
9546>len</I
9547></TT
9548>&nbsp;:</TD
9549><TD
9550WIDTH="80%"
9551ALIGN="LEFT"
9552VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009553> <TT
9554CLASS="PARAMETER"
9555><I
9556>content</I
9557></TT
9558> lenght</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009559></TR
9560></TABLE
9561><P
9562></P
9563></DIV
9564></DIV
9565><HR><DIV
9566CLASS="REFSECT2"
9567><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009568NAME="AEN5929"
Daniel Veillard35925471999-02-25 08:46:07 +00009569></A
9570><H3
9571><A
9572NAME="XMLFREENODELIST"
9573></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009574>xmlFreeNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009575><TABLE
9576BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009577BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009578WIDTH="100%"
9579CELLPADDING="6"
9580><TR
9581><TD
9582><PRE
9583CLASS="PROGRAMLISTING"
9584>void xmlFreeNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009585HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009586>xmlNodePtr</A
9587> cur);</PRE
9588></TD
9589></TR
9590></TABLE
9591><P
9592>Free a node and all its siblings, this is a recursive behaviour, all
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009593the children are freed too.</P
Daniel Veillard35925471999-02-25 08:46:07 +00009594><P
9595></P
9596><DIV
9597CLASS="INFORMALTABLE"
9598><P
9599></P
9600><TABLE
9601BORDER="0"
9602WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009603BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009604CELLSPACING="0"
9605CELLPADDING="4"
9606CLASS="CALSTABLE"
9607><TR
9608><TD
9609WIDTH="20%"
9610ALIGN="RIGHT"
9611VALIGN="TOP"
9612><TT
9613CLASS="PARAMETER"
9614><I
9615>cur</I
9616></TT
9617>&nbsp;:</TD
9618><TD
9619WIDTH="80%"
9620ALIGN="LEFT"
9621VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009622> the first node in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009623></TR
9624></TABLE
9625><P
9626></P
9627></DIV
9628></DIV
9629><HR><DIV
9630CLASS="REFSECT2"
9631><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009632NAME="AEN5945"
Daniel Veillard35925471999-02-25 08:46:07 +00009633></A
9634><H3
9635><A
9636NAME="XMLFREENODE"
9637></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009638>xmlFreeNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009639><TABLE
9640BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009641BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009642WIDTH="100%"
9643CELLPADDING="6"
9644><TR
9645><TD
9646><PRE
9647CLASS="PROGRAMLISTING"
9648>void xmlFreeNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009649HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009650>xmlNodePtr</A
9651> cur);</PRE
9652></TD
9653></TR
9654></TABLE
9655><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009656>Free a node, this is a recursive behaviour, all the children are freed too.
9657This doesn't unlink the child from the list, use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009658HREF="libxml-tree.html#XMLUNLINKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009659>xmlUnlinkNode</A
9660>() first.</P
Daniel Veillard35925471999-02-25 08:46:07 +00009661><P
9662></P
9663><DIV
9664CLASS="INFORMALTABLE"
9665><P
9666></P
9667><TABLE
9668BORDER="0"
9669WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009670BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009671CELLSPACING="0"
9672CELLPADDING="4"
9673CLASS="CALSTABLE"
9674><TR
9675><TD
9676WIDTH="20%"
9677ALIGN="RIGHT"
9678VALIGN="TOP"
9679><TT
9680CLASS="PARAMETER"
9681><I
9682>cur</I
9683></TT
9684>&nbsp;:</TD
9685><TD
9686WIDTH="80%"
9687ALIGN="LEFT"
9688VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009689> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009690></TR
9691></TABLE
9692><P
9693></P
9694></DIV
9695></DIV
9696><HR><DIV
9697CLASS="REFSECT2"
9698><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009699NAME="AEN5962"
Daniel Veillard28929b22000-11-13 18:22:49 +00009700></A
9701><H3
9702><A
9703NAME="XMLSETTREEDOC"
9704></A
9705>xmlSetTreeDoc ()</H3
9706><TABLE
9707BORDER="0"
9708BGCOLOR="#D6E8FF"
9709WIDTH="100%"
9710CELLPADDING="6"
9711><TR
9712><TD
9713><PRE
9714CLASS="PROGRAMLISTING"
9715>void xmlSetTreeDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009716HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00009717>xmlNodePtr</A
9718> tree,
9719 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009720HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00009721>xmlDocPtr</A
9722> doc);</PRE
9723></TD
9724></TR
9725></TABLE
9726><P
9727>update all nodes under the tree to point to the right document</P
9728><P
9729></P
9730><DIV
9731CLASS="INFORMALTABLE"
9732><P
9733></P
9734><TABLE
9735BORDER="0"
9736WIDTH="100%"
9737BGCOLOR="#FFD0D0"
9738CELLSPACING="0"
9739CELLPADDING="4"
9740CLASS="CALSTABLE"
9741><TR
9742><TD
9743WIDTH="20%"
9744ALIGN="RIGHT"
9745VALIGN="TOP"
9746><TT
9747CLASS="PARAMETER"
9748><I
9749>tree</I
9750></TT
9751>&nbsp;:</TD
9752><TD
9753WIDTH="80%"
9754ALIGN="LEFT"
9755VALIGN="TOP"
9756> the top element</TD
9757></TR
9758><TR
9759><TD
9760WIDTH="20%"
9761ALIGN="RIGHT"
9762VALIGN="TOP"
9763><TT
9764CLASS="PARAMETER"
9765><I
9766>doc</I
9767></TT
9768>&nbsp;:</TD
9769><TD
9770WIDTH="80%"
9771ALIGN="LEFT"
9772VALIGN="TOP"
9773> the document</TD
9774></TR
9775></TABLE
9776><P
9777></P
9778></DIV
9779></DIV
9780><HR><DIV
9781CLASS="REFSECT2"
9782><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009783NAME="AEN5983"
Daniel Veillard28929b22000-11-13 18:22:49 +00009784></A
9785><H3
9786><A
9787NAME="XMLSETLISTDOC"
9788></A
9789>xmlSetListDoc ()</H3
9790><TABLE
9791BORDER="0"
9792BGCOLOR="#D6E8FF"
9793WIDTH="100%"
9794CELLPADDING="6"
9795><TR
9796><TD
9797><PRE
9798CLASS="PROGRAMLISTING"
9799>void xmlSetListDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009800HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00009801>xmlNodePtr</A
9802> list,
9803 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009804HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00009805>xmlDocPtr</A
9806> doc);</PRE
9807></TD
9808></TR
9809></TABLE
9810><P
9811>update all nodes in the list to point to the right document</P
9812><P
9813></P
9814><DIV
9815CLASS="INFORMALTABLE"
9816><P
9817></P
9818><TABLE
9819BORDER="0"
9820WIDTH="100%"
9821BGCOLOR="#FFD0D0"
9822CELLSPACING="0"
9823CELLPADDING="4"
9824CLASS="CALSTABLE"
9825><TR
9826><TD
9827WIDTH="20%"
9828ALIGN="RIGHT"
9829VALIGN="TOP"
9830><TT
9831CLASS="PARAMETER"
9832><I
9833>list</I
9834></TT
9835>&nbsp;:</TD
9836><TD
9837WIDTH="80%"
9838ALIGN="LEFT"
9839VALIGN="TOP"
9840>&nbsp;</TD
9841></TR
9842><TR
9843><TD
9844WIDTH="20%"
9845ALIGN="RIGHT"
9846VALIGN="TOP"
9847><TT
9848CLASS="PARAMETER"
9849><I
9850>doc</I
9851></TT
9852>&nbsp;:</TD
9853><TD
9854WIDTH="80%"
9855ALIGN="LEFT"
9856VALIGN="TOP"
9857> the document</TD
9858></TR
9859></TABLE
9860><P
9861></P
9862></DIV
9863></DIV
9864><HR><DIV
9865CLASS="REFSECT2"
9866><A
Daniel Veillarde356c282001-03-10 12:32:04 +00009867NAME="AEN6004"
Daniel Veillard35925471999-02-25 08:46:07 +00009868></A
9869><H3
9870><A
9871NAME="XMLSEARCHNS"
9872></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009873>xmlSearchNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009874><TABLE
9875BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009876BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009877WIDTH="100%"
9878CELLPADDING="6"
9879><TR
9880><TD
9881><PRE
9882CLASS="PROGRAMLISTING"
9883><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009884HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009885>xmlNsPtr</A
9886> xmlSearchNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009887HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009888>xmlDocPtr</A
9889> doc,
9890 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009891HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009892>xmlNodePtr</A
9893> node,
9894 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009895HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009896>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009897> *nameSpace);</PRE
9898></TD
9899></TR
9900></TABLE
9901><P
9902>Search a Ns registered under a given name space for a document.
9903recurse on the parents until it finds the defined namespace
9904or return NULL otherwise.
9905<TT
9906CLASS="PARAMETER"
9907><I
9908>nameSpace</I
9909></TT
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009910> can be NULL, this is a search for the default namespace.
9911We don't allow to cross entities boundaries. If you don't declare
9912the namespace within those you will be in troubles !!! A warning
9913is generated to cover this case.</P
Daniel Veillard35925471999-02-25 08:46:07 +00009914><P
9915></P
9916><DIV
9917CLASS="INFORMALTABLE"
9918><P
9919></P
9920><TABLE
9921BORDER="0"
9922WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009923BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009924CELLSPACING="0"
9925CELLPADDING="4"
9926CLASS="CALSTABLE"
9927><TR
9928><TD
9929WIDTH="20%"
9930ALIGN="RIGHT"
9931VALIGN="TOP"
9932><TT
9933CLASS="PARAMETER"
9934><I
9935>doc</I
9936></TT
9937>&nbsp;:</TD
9938><TD
9939WIDTH="80%"
9940ALIGN="LEFT"
9941VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009942> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009943></TR
9944><TR
9945><TD
9946WIDTH="20%"
9947ALIGN="RIGHT"
9948VALIGN="TOP"
9949><TT
9950CLASS="PARAMETER"
9951><I
9952>node</I
9953></TT
9954>&nbsp;:</TD
9955><TD
9956WIDTH="80%"
9957ALIGN="LEFT"
9958VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009959> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009960></TR
9961><TR
9962><TD
9963WIDTH="20%"
9964ALIGN="RIGHT"
9965VALIGN="TOP"
9966><TT
9967CLASS="PARAMETER"
9968><I
9969>nameSpace</I
9970></TT
9971>&nbsp;:</TD
9972><TD
9973WIDTH="80%"
9974ALIGN="LEFT"
9975VALIGN="TOP"
Daniel Veillarde356c282001-03-10 12:32:04 +00009976> the namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009977></TR
9978><TR
9979><TD
9980WIDTH="20%"
9981ALIGN="RIGHT"
9982VALIGN="TOP"
9983><I
9984CLASS="EMPHASIS"
9985>Returns</I
9986> :</TD
9987><TD
9988WIDTH="80%"
9989ALIGN="LEFT"
9990VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009991>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009992></TR
9993></TABLE
9994><P
9995></P
9996></DIV
9997></DIV
9998><HR><DIV
9999CLASS="REFSECT2"
10000><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010001NAME="AEN6036"
Daniel Veillard35925471999-02-25 08:46:07 +000010002></A
10003><H3
10004><A
10005NAME="XMLSEARCHNSBYHREF"
10006></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010007>xmlSearchNsByHref ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010008><TABLE
10009BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010010BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010011WIDTH="100%"
10012CELLPADDING="6"
10013><TR
10014><TD
10015><PRE
10016CLASS="PROGRAMLISTING"
10017><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010018HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010019>xmlNsPtr</A
10020> xmlSearchNsByHref (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010021HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010022>xmlDocPtr</A
10023> doc,
10024 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010025HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010026>xmlNodePtr</A
10027> node,
10028 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010029HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010030>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010031> *href);</PRE
10032></TD
10033></TR
10034></TABLE
10035><P
10036>Search a Ns aliasing a given URI. Recurse on the parents until it finds
10037the defined namespace or return NULL otherwise.</P
10038><P
10039></P
10040><DIV
10041CLASS="INFORMALTABLE"
10042><P
10043></P
10044><TABLE
10045BORDER="0"
10046WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010047BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010048CELLSPACING="0"
10049CELLPADDING="4"
10050CLASS="CALSTABLE"
10051><TR
10052><TD
10053WIDTH="20%"
10054ALIGN="RIGHT"
10055VALIGN="TOP"
10056><TT
10057CLASS="PARAMETER"
10058><I
10059>doc</I
10060></TT
10061>&nbsp;:</TD
10062><TD
10063WIDTH="80%"
10064ALIGN="LEFT"
10065VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010066> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010067></TR
10068><TR
10069><TD
10070WIDTH="20%"
10071ALIGN="RIGHT"
10072VALIGN="TOP"
10073><TT
10074CLASS="PARAMETER"
10075><I
10076>node</I
10077></TT
10078>&nbsp;:</TD
10079><TD
10080WIDTH="80%"
10081ALIGN="LEFT"
10082VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010083> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010084></TR
10085><TR
10086><TD
10087WIDTH="20%"
10088ALIGN="RIGHT"
10089VALIGN="TOP"
10090><TT
10091CLASS="PARAMETER"
10092><I
10093>href</I
10094></TT
10095>&nbsp;:</TD
10096><TD
10097WIDTH="80%"
10098ALIGN="LEFT"
10099VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010100> the namespace value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010101></TR
10102><TR
10103><TD
10104WIDTH="20%"
10105ALIGN="RIGHT"
10106VALIGN="TOP"
10107><I
10108CLASS="EMPHASIS"
10109>Returns</I
10110> :</TD
10111><TD
10112WIDTH="80%"
10113ALIGN="LEFT"
10114VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010115>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010116></TR
10117></TABLE
10118><P
10119></P
10120></DIV
10121></DIV
10122><HR><DIV
10123CLASS="REFSECT2"
10124><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010125NAME="AEN6067"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010126></A
10127><H3
10128><A
10129NAME="XMLGETNSLIST"
10130></A
10131>xmlGetNsList ()</H3
10132><TABLE
10133BORDER="0"
10134BGCOLOR="#D6E8FF"
10135WIDTH="100%"
10136CELLPADDING="6"
10137><TR
10138><TD
10139><PRE
10140CLASS="PROGRAMLISTING"
10141><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010142HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010143>xmlNsPtr</A
10144>* xmlGetNsList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010145HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010146>xmlDocPtr</A
10147> doc,
10148 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010149HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010150>xmlNodePtr</A
10151> node);</PRE
10152></TD
10153></TR
10154></TABLE
10155><P
10156>Search all the namespace applying to a given element.</P
10157><P
10158></P
10159><DIV
10160CLASS="INFORMALTABLE"
10161><P
10162></P
10163><TABLE
10164BORDER="0"
10165WIDTH="100%"
10166BGCOLOR="#FFD0D0"
10167CELLSPACING="0"
10168CELLPADDING="4"
10169CLASS="CALSTABLE"
10170><TR
10171><TD
10172WIDTH="20%"
10173ALIGN="RIGHT"
10174VALIGN="TOP"
10175><TT
10176CLASS="PARAMETER"
10177><I
10178>doc</I
10179></TT
10180>&nbsp;:</TD
10181><TD
10182WIDTH="80%"
10183ALIGN="LEFT"
10184VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010185> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010186></TR
10187><TR
10188><TD
10189WIDTH="20%"
10190ALIGN="RIGHT"
10191VALIGN="TOP"
10192><TT
10193CLASS="PARAMETER"
10194><I
10195>node</I
10196></TT
10197>&nbsp;:</TD
10198><TD
10199WIDTH="80%"
10200ALIGN="LEFT"
10201VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010202> the current node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010203></TR
10204><TR
10205><TD
10206WIDTH="20%"
10207ALIGN="RIGHT"
10208VALIGN="TOP"
10209><I
10210CLASS="EMPHASIS"
10211>Returns</I
10212> :</TD
10213><TD
10214WIDTH="80%"
10215ALIGN="LEFT"
10216VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010217>an NULL terminated array of all the xmlNsPtr found
10218that need to be freed by the caller or NULL if no
10219namespace if defined</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010220></TR
10221></TABLE
10222><P
10223></P
10224></DIV
10225></DIV
10226><HR><DIV
10227CLASS="REFSECT2"
10228><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010229NAME="AEN6093"
Daniel Veillard35925471999-02-25 08:46:07 +000010230></A
10231><H3
10232><A
10233NAME="XMLSETNS"
10234></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010235>xmlSetNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010236><TABLE
10237BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010238BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010239WIDTH="100%"
10240CELLPADDING="6"
10241><TR
10242><TD
10243><PRE
10244CLASS="PROGRAMLISTING"
10245>void xmlSetNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010246HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010247>xmlNodePtr</A
10248> node,
10249 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010250HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010251>xmlNsPtr</A
10252> ns);</PRE
10253></TD
10254></TR
10255></TABLE
10256><P
10257>Associate a namespace to a node, a posteriori.</P
10258><P
10259></P
10260><DIV
10261CLASS="INFORMALTABLE"
10262><P
10263></P
10264><TABLE
10265BORDER="0"
10266WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010267BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010268CELLSPACING="0"
10269CELLPADDING="4"
10270CLASS="CALSTABLE"
10271><TR
10272><TD
10273WIDTH="20%"
10274ALIGN="RIGHT"
10275VALIGN="TOP"
10276><TT
10277CLASS="PARAMETER"
10278><I
10279>node</I
10280></TT
10281>&nbsp;:</TD
10282><TD
10283WIDTH="80%"
10284ALIGN="LEFT"
10285VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010286> a node in the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010287></TR
10288><TR
10289><TD
10290WIDTH="20%"
10291ALIGN="RIGHT"
10292VALIGN="TOP"
10293><TT
10294CLASS="PARAMETER"
10295><I
10296>ns</I
10297></TT
10298>&nbsp;:</TD
10299><TD
10300WIDTH="80%"
10301ALIGN="LEFT"
10302VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010303> a namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010304></TR
10305></TABLE
10306><P
10307></P
10308></DIV
10309></DIV
10310><HR><DIV
10311CLASS="REFSECT2"
10312><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010313NAME="AEN6114"
Daniel Veillard35925471999-02-25 08:46:07 +000010314></A
10315><H3
10316><A
10317NAME="XMLCOPYNAMESPACE"
10318></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010319>xmlCopyNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010320><TABLE
10321BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010322BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010323WIDTH="100%"
10324CELLPADDING="6"
10325><TR
10326><TD
10327><PRE
10328CLASS="PROGRAMLISTING"
10329><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010330HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010331>xmlNsPtr</A
10332> xmlCopyNamespace (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010333HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010334>xmlNsPtr</A
10335> cur);</PRE
10336></TD
10337></TR
10338></TABLE
10339><P
10340>Do a copy of the namespace.</P
10341><P
10342></P
10343><DIV
10344CLASS="INFORMALTABLE"
10345><P
10346></P
10347><TABLE
10348BORDER="0"
10349WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010350BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010351CELLSPACING="0"
10352CELLPADDING="4"
10353CLASS="CALSTABLE"
10354><TR
10355><TD
10356WIDTH="20%"
10357ALIGN="RIGHT"
10358VALIGN="TOP"
10359><TT
10360CLASS="PARAMETER"
10361><I
10362>cur</I
10363></TT
10364>&nbsp;:</TD
10365><TD
10366WIDTH="80%"
10367ALIGN="LEFT"
10368VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010369> the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010370></TR
10371><TR
10372><TD
10373WIDTH="20%"
10374ALIGN="RIGHT"
10375VALIGN="TOP"
10376><I
10377CLASS="EMPHASIS"
10378>Returns</I
10379> :</TD
10380><TD
10381WIDTH="80%"
10382ALIGN="LEFT"
10383VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010384> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010385></TR
10386></TABLE
10387><P
10388></P
10389></DIV
10390></DIV
10391><HR><DIV
10392CLASS="REFSECT2"
10393><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010394NAME="AEN6135"
Daniel Veillard35925471999-02-25 08:46:07 +000010395></A
10396><H3
10397><A
10398NAME="XMLCOPYNAMESPACELIST"
10399></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010400>xmlCopyNamespaceList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010401><TABLE
10402BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010403BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010404WIDTH="100%"
10405CELLPADDING="6"
10406><TR
10407><TD
10408><PRE
10409CLASS="PROGRAMLISTING"
10410><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010411HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010412>xmlNsPtr</A
10413> xmlCopyNamespaceList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010414HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010415>xmlNsPtr</A
10416> cur);</PRE
10417></TD
10418></TR
10419></TABLE
10420><P
10421>Do a copy of an namespace list.</P
10422><P
10423></P
10424><DIV
10425CLASS="INFORMALTABLE"
10426><P
10427></P
10428><TABLE
10429BORDER="0"
10430WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010431BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010432CELLSPACING="0"
10433CELLPADDING="4"
10434CLASS="CALSTABLE"
10435><TR
10436><TD
10437WIDTH="20%"
10438ALIGN="RIGHT"
10439VALIGN="TOP"
10440><TT
10441CLASS="PARAMETER"
10442><I
10443>cur</I
10444></TT
10445>&nbsp;:</TD
10446><TD
10447WIDTH="80%"
10448ALIGN="LEFT"
10449VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010450> the first namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010451></TR
10452><TR
10453><TD
10454WIDTH="20%"
10455ALIGN="RIGHT"
10456VALIGN="TOP"
10457><I
10458CLASS="EMPHASIS"
10459>Returns</I
10460> :</TD
10461><TD
10462WIDTH="80%"
10463ALIGN="LEFT"
10464VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010465> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010466></TR
10467></TABLE
10468><P
10469></P
10470></DIV
10471></DIV
10472><HR><DIV
10473CLASS="REFSECT2"
10474><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010475NAME="AEN6156"
Daniel Veillard35925471999-02-25 08:46:07 +000010476></A
10477><H3
10478><A
10479NAME="XMLSETPROP"
10480></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010481>xmlSetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010482><TABLE
10483BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010484BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010485WIDTH="100%"
10486CELLPADDING="6"
10487><TR
10488><TD
10489><PRE
10490CLASS="PROGRAMLISTING"
10491><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010492HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010493>xmlAttrPtr</A
10494> xmlSetProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010495HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010496>xmlNodePtr</A
10497> node,
10498 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010499HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010500>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010501> *name,
10502 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010503HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010504>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010505> *value);</PRE
10506></TD
10507></TR
10508></TABLE
10509><P
10510>Set (or reset) an attribute carried by a node.</P
10511><P
10512></P
10513><DIV
10514CLASS="INFORMALTABLE"
10515><P
10516></P
10517><TABLE
10518BORDER="0"
10519WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010520BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010521CELLSPACING="0"
10522CELLPADDING="4"
10523CLASS="CALSTABLE"
10524><TR
10525><TD
10526WIDTH="20%"
10527ALIGN="RIGHT"
10528VALIGN="TOP"
10529><TT
10530CLASS="PARAMETER"
10531><I
10532>node</I
10533></TT
10534>&nbsp;:</TD
10535><TD
10536WIDTH="80%"
10537ALIGN="LEFT"
10538VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010539> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010540></TR
10541><TR
10542><TD
10543WIDTH="20%"
10544ALIGN="RIGHT"
10545VALIGN="TOP"
10546><TT
10547CLASS="PARAMETER"
10548><I
10549>name</I
10550></TT
10551>&nbsp;:</TD
10552><TD
10553WIDTH="80%"
10554ALIGN="LEFT"
10555VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010556> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010557></TR
10558><TR
10559><TD
10560WIDTH="20%"
10561ALIGN="RIGHT"
10562VALIGN="TOP"
10563><TT
10564CLASS="PARAMETER"
10565><I
10566>value</I
10567></TT
10568>&nbsp;:</TD
10569><TD
10570WIDTH="80%"
10571ALIGN="LEFT"
10572VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010573> the attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010574></TR
10575><TR
10576><TD
10577WIDTH="20%"
10578ALIGN="RIGHT"
10579VALIGN="TOP"
10580><I
10581CLASS="EMPHASIS"
10582>Returns</I
10583> :</TD
10584><TD
10585WIDTH="80%"
10586ALIGN="LEFT"
10587VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010588>the attribute pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010589></TR
10590></TABLE
10591><P
10592></P
10593></DIV
10594></DIV
10595><HR><DIV
10596CLASS="REFSECT2"
10597><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010598NAME="AEN6187"
Daniel Veillard35925471999-02-25 08:46:07 +000010599></A
10600><H3
10601><A
10602NAME="XMLGETPROP"
10603></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010604>xmlGetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010605><TABLE
10606BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010607BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010608WIDTH="100%"
10609CELLPADDING="6"
10610><TR
10611><TD
10612><PRE
10613CLASS="PROGRAMLISTING"
10614><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010615HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010616>xmlChar</A
10617>* xmlGetProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010618HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010619>xmlNodePtr</A
10620> node,
10621 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010622HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010623>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010624> *name);</PRE
10625></TD
10626></TR
10627></TABLE
10628><P
10629>Search and get the value of an attribute associated to a node
Daniel Veillardf3a73582000-01-05 14:58:39 +000010630This does the entity substitution.
10631This function looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000010632HREF="FIXED-CAPS"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010633>FIXED</GTKDOCLINK
10634> or
10635default declaration values unless DTD use has been turned off.</P
Daniel Veillard35925471999-02-25 08:46:07 +000010636><P
10637></P
10638><DIV
10639CLASS="INFORMALTABLE"
10640><P
10641></P
10642><TABLE
10643BORDER="0"
10644WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010645BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010646CELLSPACING="0"
10647CELLPADDING="4"
10648CLASS="CALSTABLE"
10649><TR
10650><TD
10651WIDTH="20%"
10652ALIGN="RIGHT"
10653VALIGN="TOP"
10654><TT
10655CLASS="PARAMETER"
10656><I
10657>node</I
10658></TT
10659>&nbsp;:</TD
10660><TD
10661WIDTH="80%"
10662ALIGN="LEFT"
10663VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010664> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010665></TR
10666><TR
10667><TD
10668WIDTH="20%"
10669ALIGN="RIGHT"
10670VALIGN="TOP"
10671><TT
10672CLASS="PARAMETER"
10673><I
10674>name</I
10675></TT
10676>&nbsp;:</TD
10677><TD
10678WIDTH="80%"
10679ALIGN="LEFT"
10680VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010681> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010682></TR
10683><TR
10684><TD
10685WIDTH="20%"
10686ALIGN="RIGHT"
10687VALIGN="TOP"
10688><I
10689CLASS="EMPHASIS"
10690>Returns</I
10691> :</TD
10692><TD
10693WIDTH="80%"
10694ALIGN="LEFT"
10695VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010696>the attribute value or NULL if not found.
10697It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010698></TR
10699></TABLE
10700><P
10701></P
10702></DIV
10703></DIV
10704><HR><DIV
10705CLASS="REFSECT2"
10706><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010707NAME="AEN6214"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010708></A
10709><H3
10710><A
10711NAME="XMLHASPROP"
10712></A
10713>xmlHasProp ()</H3
10714><TABLE
10715BORDER="0"
10716BGCOLOR="#D6E8FF"
10717WIDTH="100%"
10718CELLPADDING="6"
10719><TR
10720><TD
10721><PRE
10722CLASS="PROGRAMLISTING"
10723><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010724HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010725>xmlAttrPtr</A
10726> xmlHasProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010727HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010728>xmlNodePtr</A
10729> node,
10730 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010731HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010732>xmlChar</A
10733> *name);</PRE
10734></TD
10735></TR
10736></TABLE
10737><P
10738>Search an attribute associated to a node
10739This function also looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000010740HREF="FIXED-CAPS"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010741>FIXED</GTKDOCLINK
10742> or
10743default declaration values unless DTD use has been turned off.</P
10744><P
10745></P
10746><DIV
10747CLASS="INFORMALTABLE"
10748><P
10749></P
10750><TABLE
10751BORDER="0"
10752WIDTH="100%"
10753BGCOLOR="#FFD0D0"
10754CELLSPACING="0"
10755CELLPADDING="4"
10756CLASS="CALSTABLE"
10757><TR
10758><TD
10759WIDTH="20%"
10760ALIGN="RIGHT"
10761VALIGN="TOP"
10762><TT
10763CLASS="PARAMETER"
10764><I
10765>node</I
10766></TT
10767>&nbsp;:</TD
10768><TD
10769WIDTH="80%"
10770ALIGN="LEFT"
10771VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010772> the node</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010773></TR
10774><TR
10775><TD
10776WIDTH="20%"
10777ALIGN="RIGHT"
10778VALIGN="TOP"
10779><TT
10780CLASS="PARAMETER"
10781><I
10782>name</I
10783></TT
10784>&nbsp;:</TD
10785><TD
10786WIDTH="80%"
10787ALIGN="LEFT"
10788VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010789> the attribute name</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010790></TR
10791><TR
10792><TD
10793WIDTH="20%"
10794ALIGN="RIGHT"
10795VALIGN="TOP"
10796><I
10797CLASS="EMPHASIS"
10798>Returns</I
10799> :</TD
10800><TD
10801WIDTH="80%"
10802ALIGN="LEFT"
10803VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010804>the attribute or the attribute declaration or NULL if
10805neither was found.</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010806></TR
10807></TABLE
10808><P
10809></P
10810></DIV
10811></DIV
10812><HR><DIV
10813CLASS="REFSECT2"
10814><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010815NAME="AEN6241"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010816></A
10817><H3
10818><A
10819NAME="XMLSETNSPROP"
10820></A
10821>xmlSetNsProp ()</H3
10822><TABLE
10823BORDER="0"
10824BGCOLOR="#D6E8FF"
10825WIDTH="100%"
10826CELLPADDING="6"
10827><TR
10828><TD
10829><PRE
10830CLASS="PROGRAMLISTING"
10831><A
10832HREF="libxml-tree.html#XMLATTRPTR"
10833>xmlAttrPtr</A
10834> xmlSetNsProp (<A
10835HREF="libxml-tree.html#XMLNODEPTR"
10836>xmlNodePtr</A
10837> node,
10838 <A
10839HREF="libxml-tree.html#XMLNSPTR"
10840>xmlNsPtr</A
10841> ns,
10842 const <A
10843HREF="libxml-tree.html#XMLCHAR"
10844>xmlChar</A
10845> *name,
10846 const <A
10847HREF="libxml-tree.html#XMLCHAR"
10848>xmlChar</A
10849> *value);</PRE
10850></TD
10851></TR
10852></TABLE
10853><P
10854>Set (or reset) an attribute carried by a node.
10855The ns structure must be in scope, this is not checked.</P
10856><P
10857></P
10858><DIV
10859CLASS="INFORMALTABLE"
10860><P
10861></P
10862><TABLE
10863BORDER="0"
10864WIDTH="100%"
10865BGCOLOR="#FFD0D0"
10866CELLSPACING="0"
10867CELLPADDING="4"
10868CLASS="CALSTABLE"
10869><TR
10870><TD
10871WIDTH="20%"
10872ALIGN="RIGHT"
10873VALIGN="TOP"
10874><TT
10875CLASS="PARAMETER"
10876><I
10877>node</I
10878></TT
10879>&nbsp;:</TD
10880><TD
10881WIDTH="80%"
10882ALIGN="LEFT"
10883VALIGN="TOP"
10884> the node</TD
10885></TR
10886><TR
10887><TD
10888WIDTH="20%"
10889ALIGN="RIGHT"
10890VALIGN="TOP"
10891><TT
10892CLASS="PARAMETER"
10893><I
10894>ns</I
10895></TT
10896>&nbsp;:</TD
10897><TD
10898WIDTH="80%"
10899ALIGN="LEFT"
10900VALIGN="TOP"
10901> the namespace definition</TD
10902></TR
10903><TR
10904><TD
10905WIDTH="20%"
10906ALIGN="RIGHT"
10907VALIGN="TOP"
10908><TT
10909CLASS="PARAMETER"
10910><I
10911>name</I
10912></TT
10913>&nbsp;:</TD
10914><TD
10915WIDTH="80%"
10916ALIGN="LEFT"
10917VALIGN="TOP"
10918> the attribute name</TD
10919></TR
10920><TR
10921><TD
10922WIDTH="20%"
10923ALIGN="RIGHT"
10924VALIGN="TOP"
10925><TT
10926CLASS="PARAMETER"
10927><I
10928>value</I
10929></TT
10930>&nbsp;:</TD
10931><TD
10932WIDTH="80%"
10933ALIGN="LEFT"
10934VALIGN="TOP"
10935> the attribute value</TD
10936></TR
10937><TR
10938><TD
10939WIDTH="20%"
10940ALIGN="RIGHT"
10941VALIGN="TOP"
10942><I
10943CLASS="EMPHASIS"
10944>Returns</I
10945> :</TD
10946><TD
10947WIDTH="80%"
10948ALIGN="LEFT"
10949VALIGN="TOP"
10950>the attribute pointer.</TD
10951></TR
10952></TABLE
10953><P
10954></P
10955></DIV
10956></DIV
10957><HR><DIV
10958CLASS="REFSECT2"
10959><A
Daniel Veillarde356c282001-03-10 12:32:04 +000010960NAME="AEN6277"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010961></A
10962><H3
10963><A
10964NAME="XMLGETNSPROP"
10965></A
10966>xmlGetNsProp ()</H3
10967><TABLE
10968BORDER="0"
10969BGCOLOR="#D6E8FF"
10970WIDTH="100%"
10971CELLPADDING="6"
10972><TR
10973><TD
10974><PRE
10975CLASS="PROGRAMLISTING"
10976><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010977HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010978>xmlChar</A
10979>* xmlGetNsProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010980HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010981>xmlNodePtr</A
10982> node,
10983 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010984HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010985>xmlChar</A
10986> *name,
10987 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010988HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010989>xmlChar</A
10990> *nameSpace);</PRE
10991></TD
10992></TR
10993></TABLE
10994><P
10995>Search and get the value of an attribute associated to a node
10996This attribute has to be anchored in the namespace specified.
10997This does the entity substitution.
10998This function looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000010999HREF="FIXED-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011000>FIXED</GTKDOCLINK
11001> or
11002default declaration values unless DTD use has been turned off.</P
11003><P
11004></P
11005><DIV
11006CLASS="INFORMALTABLE"
11007><P
11008></P
11009><TABLE
11010BORDER="0"
11011WIDTH="100%"
11012BGCOLOR="#FFD0D0"
11013CELLSPACING="0"
11014CELLPADDING="4"
11015CLASS="CALSTABLE"
11016><TR
11017><TD
11018WIDTH="20%"
11019ALIGN="RIGHT"
11020VALIGN="TOP"
11021><TT
11022CLASS="PARAMETER"
11023><I
11024>node</I
11025></TT
11026>&nbsp;:</TD
11027><TD
11028WIDTH="80%"
11029ALIGN="LEFT"
11030VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011031> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011032></TR
11033><TR
11034><TD
11035WIDTH="20%"
11036ALIGN="RIGHT"
11037VALIGN="TOP"
11038><TT
11039CLASS="PARAMETER"
11040><I
11041>name</I
11042></TT
11043>&nbsp;:</TD
11044><TD
11045WIDTH="80%"
11046ALIGN="LEFT"
11047VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011048> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011049></TR
11050><TR
11051><TD
11052WIDTH="20%"
11053ALIGN="RIGHT"
11054VALIGN="TOP"
11055><TT
11056CLASS="PARAMETER"
11057><I
11058>nameSpace</I
11059></TT
11060>&nbsp;:</TD
11061><TD
11062WIDTH="80%"
11063ALIGN="LEFT"
11064VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011065> the URI of the namespace</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011066></TR
11067><TR
11068><TD
11069WIDTH="20%"
11070ALIGN="RIGHT"
11071VALIGN="TOP"
11072><I
11073CLASS="EMPHASIS"
11074>Returns</I
11075> :</TD
11076><TD
11077WIDTH="80%"
11078ALIGN="LEFT"
11079VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011080>the attribute value or NULL if not found.
11081It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011082></TR
11083></TABLE
11084><P
11085></P
11086></DIV
11087></DIV
11088><HR><DIV
11089CLASS="REFSECT2"
11090><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011091NAME="AEN6309"
Daniel Veillard35925471999-02-25 08:46:07 +000011092></A
11093><H3
11094><A
11095NAME="XMLSTRINGGETNODELIST"
11096></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011097>xmlStringGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011098><TABLE
11099BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011100BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011101WIDTH="100%"
11102CELLPADDING="6"
11103><TR
11104><TD
11105><PRE
11106CLASS="PROGRAMLISTING"
11107><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011108HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011109>xmlNodePtr</A
11110> xmlStringGetNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011111HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011112>xmlDocPtr</A
11113> doc,
11114 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011115HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011116>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011117> *value);</PRE
11118></TD
11119></TR
11120></TABLE
11121><P
11122>Parse the value string and build the node list associated. Should
11123produce a flat tree with only TEXTs and ENTITY_REFs.</P
11124><P
11125></P
11126><DIV
11127CLASS="INFORMALTABLE"
11128><P
11129></P
11130><TABLE
11131BORDER="0"
11132WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011133BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011134CELLSPACING="0"
11135CELLPADDING="4"
11136CLASS="CALSTABLE"
11137><TR
11138><TD
11139WIDTH="20%"
11140ALIGN="RIGHT"
11141VALIGN="TOP"
11142><TT
11143CLASS="PARAMETER"
11144><I
11145>doc</I
11146></TT
11147>&nbsp;:</TD
11148><TD
11149WIDTH="80%"
11150ALIGN="LEFT"
11151VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011152> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011153></TR
11154><TR
11155><TD
11156WIDTH="20%"
11157ALIGN="RIGHT"
11158VALIGN="TOP"
11159><TT
11160CLASS="PARAMETER"
11161><I
11162>value</I
11163></TT
11164>&nbsp;:</TD
11165><TD
11166WIDTH="80%"
11167ALIGN="LEFT"
11168VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011169> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011170></TR
11171><TR
11172><TD
11173WIDTH="20%"
11174ALIGN="RIGHT"
11175VALIGN="TOP"
11176><I
11177CLASS="EMPHASIS"
11178>Returns</I
11179> :</TD
11180><TD
11181WIDTH="80%"
11182ALIGN="LEFT"
11183VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011184>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011185></TR
11186></TABLE
11187><P
11188></P
11189></DIV
11190></DIV
11191><HR><DIV
11192CLASS="REFSECT2"
11193><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011194NAME="AEN6335"
Daniel Veillard35925471999-02-25 08:46:07 +000011195></A
11196><H3
11197><A
11198NAME="XMLSTRINGLENGETNODELIST"
11199></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011200>xmlStringLenGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011201><TABLE
11202BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011203BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011204WIDTH="100%"
11205CELLPADDING="6"
11206><TR
11207><TD
11208><PRE
11209CLASS="PROGRAMLISTING"
11210><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011211HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011212>xmlNodePtr</A
11213> xmlStringLenGetNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011214HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011215>xmlDocPtr</A
11216> doc,
11217 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011218HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011219>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011220> *value,
11221 int len);</PRE
11222></TD
11223></TR
11224></TABLE
11225><P
11226>Parse the value string and build the node list associated. Should
11227produce a flat tree with only TEXTs and ENTITY_REFs.</P
11228><P
11229></P
11230><DIV
11231CLASS="INFORMALTABLE"
11232><P
11233></P
11234><TABLE
11235BORDER="0"
11236WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011237BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011238CELLSPACING="0"
11239CELLPADDING="4"
11240CLASS="CALSTABLE"
11241><TR
11242><TD
11243WIDTH="20%"
11244ALIGN="RIGHT"
11245VALIGN="TOP"
11246><TT
11247CLASS="PARAMETER"
11248><I
11249>doc</I
11250></TT
11251>&nbsp;:</TD
11252><TD
11253WIDTH="80%"
11254ALIGN="LEFT"
11255VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011256> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011257></TR
11258><TR
11259><TD
11260WIDTH="20%"
11261ALIGN="RIGHT"
11262VALIGN="TOP"
11263><TT
11264CLASS="PARAMETER"
11265><I
11266>value</I
11267></TT
11268>&nbsp;:</TD
11269><TD
11270WIDTH="80%"
11271ALIGN="LEFT"
11272VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011273> the value of the text</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011274></TR
11275><TR
11276><TD
11277WIDTH="20%"
11278ALIGN="RIGHT"
11279VALIGN="TOP"
11280><TT
11281CLASS="PARAMETER"
11282><I
11283>len</I
11284></TT
11285>&nbsp;:</TD
11286><TD
11287WIDTH="80%"
11288ALIGN="LEFT"
11289VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011290> the length of the string value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011291></TR
11292><TR
11293><TD
11294WIDTH="20%"
11295ALIGN="RIGHT"
11296VALIGN="TOP"
11297><I
11298CLASS="EMPHASIS"
11299>Returns</I
11300> :</TD
11301><TD
11302WIDTH="80%"
11303ALIGN="LEFT"
11304VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011305>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011306></TR
11307></TABLE
11308><P
11309></P
11310></DIV
11311></DIV
11312><HR><DIV
11313CLASS="REFSECT2"
11314><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011315NAME="AEN6365"
Daniel Veillard35925471999-02-25 08:46:07 +000011316></A
11317><H3
11318><A
11319NAME="XMLNODELISTGETSTRING"
11320></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011321>xmlNodeListGetString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011322><TABLE
11323BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011324BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011325WIDTH="100%"
11326CELLPADDING="6"
11327><TR
11328><TD
11329><PRE
11330CLASS="PROGRAMLISTING"
11331><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011332HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011333>xmlChar</A
11334>* xmlNodeListGetString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011335HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011336>xmlDocPtr</A
11337> doc,
11338 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011339HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011340>xmlNodePtr</A
11341> list,
11342 int inLine);</PRE
11343></TD
11344></TR
11345></TABLE
11346><P
11347>Returns the string equivalent to the text contained in the Node list
11348made of TEXTs and ENTITY_REFs</P
11349><P
11350></P
11351><DIV
11352CLASS="INFORMALTABLE"
11353><P
11354></P
11355><TABLE
11356BORDER="0"
11357WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011358BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011359CELLSPACING="0"
11360CELLPADDING="4"
11361CLASS="CALSTABLE"
11362><TR
11363><TD
11364WIDTH="20%"
11365ALIGN="RIGHT"
11366VALIGN="TOP"
11367><TT
11368CLASS="PARAMETER"
11369><I
11370>doc</I
11371></TT
11372>&nbsp;:</TD
11373><TD
11374WIDTH="80%"
11375ALIGN="LEFT"
11376VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011377> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011378></TR
11379><TR
11380><TD
11381WIDTH="20%"
11382ALIGN="RIGHT"
11383VALIGN="TOP"
11384><TT
11385CLASS="PARAMETER"
11386><I
11387>list</I
11388></TT
11389>&nbsp;:</TD
11390><TD
11391WIDTH="80%"
11392ALIGN="LEFT"
11393VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011394> a Node list</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011395></TR
11396><TR
11397><TD
11398WIDTH="20%"
11399ALIGN="RIGHT"
11400VALIGN="TOP"
11401><TT
11402CLASS="PARAMETER"
11403><I
11404>inLine</I
11405></TT
11406>&nbsp;:</TD
11407><TD
11408WIDTH="80%"
11409ALIGN="LEFT"
11410VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011411> should we replace entity contents or show their external form</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011412></TR
11413><TR
11414><TD
11415WIDTH="20%"
11416ALIGN="RIGHT"
11417VALIGN="TOP"
11418><I
11419CLASS="EMPHASIS"
11420>Returns</I
11421> :</TD
11422><TD
11423WIDTH="80%"
11424ALIGN="LEFT"
11425VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011426>a pointer to the string copy, the calller must free it.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011427></TR
11428></TABLE
11429><P
11430></P
11431></DIV
11432></DIV
11433><HR><DIV
11434CLASS="REFSECT2"
11435><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011436NAME="AEN6395"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011437></A
11438><H3
11439><A
11440NAME="XMLNODELISTGETRAWSTRING"
11441></A
11442>xmlNodeListGetRawString ()</H3
11443><TABLE
11444BORDER="0"
11445BGCOLOR="#D6E8FF"
11446WIDTH="100%"
11447CELLPADDING="6"
11448><TR
11449><TD
11450><PRE
11451CLASS="PROGRAMLISTING"
11452><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011453HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011454>xmlChar</A
11455>* xmlNodeListGetRawString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011456HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011457>xmlDocPtr</A
11458> doc,
11459 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011460HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011461>xmlNodePtr</A
11462> list,
11463 int inLine);</PRE
11464></TD
11465></TR
11466></TABLE
11467><P
11468>Returns the string equivalent to the text contained in the Node list
11469made of TEXTs and ENTITY_REFs, contrary to <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011470HREF="libxml-tree.html#XMLNODELISTGETSTRING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011471>xmlNodeListGetString</A
11472>()
11473this function doesn't do any character encoding handling.</P
11474><P
11475></P
11476><DIV
11477CLASS="INFORMALTABLE"
11478><P
11479></P
11480><TABLE
11481BORDER="0"
11482WIDTH="100%"
11483BGCOLOR="#FFD0D0"
11484CELLSPACING="0"
11485CELLPADDING="4"
11486CLASS="CALSTABLE"
11487><TR
11488><TD
11489WIDTH="20%"
11490ALIGN="RIGHT"
11491VALIGN="TOP"
11492><TT
11493CLASS="PARAMETER"
11494><I
11495>doc</I
11496></TT
11497>&nbsp;:</TD
11498><TD
11499WIDTH="80%"
11500ALIGN="LEFT"
11501VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011502> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011503></TR
11504><TR
11505><TD
11506WIDTH="20%"
11507ALIGN="RIGHT"
11508VALIGN="TOP"
11509><TT
11510CLASS="PARAMETER"
11511><I
11512>list</I
11513></TT
11514>&nbsp;:</TD
11515><TD
11516WIDTH="80%"
11517ALIGN="LEFT"
11518VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011519> a Node list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011520></TR
11521><TR
11522><TD
11523WIDTH="20%"
11524ALIGN="RIGHT"
11525VALIGN="TOP"
11526><TT
11527CLASS="PARAMETER"
11528><I
11529>inLine</I
11530></TT
11531>&nbsp;:</TD
11532><TD
11533WIDTH="80%"
11534ALIGN="LEFT"
11535VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011536> should we replace entity contents or show their external form</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011537></TR
11538><TR
11539><TD
11540WIDTH="20%"
11541ALIGN="RIGHT"
11542VALIGN="TOP"
11543><I
11544CLASS="EMPHASIS"
11545>Returns</I
11546> :</TD
11547><TD
11548WIDTH="80%"
11549ALIGN="LEFT"
11550VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011551>a pointer to the string copy, the calller must free it.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011552></TR
11553></TABLE
11554><P
11555></P
11556></DIV
11557></DIV
11558><HR><DIV
11559CLASS="REFSECT2"
11560><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011561NAME="AEN6426"
Daniel Veillard35925471999-02-25 08:46:07 +000011562></A
11563><H3
11564><A
11565NAME="XMLNODESETCONTENT"
11566></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011567>xmlNodeSetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011568><TABLE
11569BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011570BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011571WIDTH="100%"
11572CELLPADDING="6"
11573><TR
11574><TD
11575><PRE
11576CLASS="PROGRAMLISTING"
11577>void xmlNodeSetContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011578HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011579>xmlNodePtr</A
11580> cur,
11581 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011582HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011583>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011584> *content);</PRE
11585></TD
11586></TR
11587></TABLE
11588><P
11589>Replace the content of a node.</P
11590><P
11591></P
11592><DIV
11593CLASS="INFORMALTABLE"
11594><P
11595></P
11596><TABLE
11597BORDER="0"
11598WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011599BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011600CELLSPACING="0"
11601CELLPADDING="4"
11602CLASS="CALSTABLE"
11603><TR
11604><TD
11605WIDTH="20%"
11606ALIGN="RIGHT"
11607VALIGN="TOP"
11608><TT
11609CLASS="PARAMETER"
11610><I
11611>cur</I
11612></TT
11613>&nbsp;:</TD
11614><TD
11615WIDTH="80%"
11616ALIGN="LEFT"
11617VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011618> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011619></TR
11620><TR
11621><TD
11622WIDTH="20%"
11623ALIGN="RIGHT"
11624VALIGN="TOP"
11625><TT
11626CLASS="PARAMETER"
11627><I
11628>content</I
11629></TT
11630>&nbsp;:</TD
11631><TD
11632WIDTH="80%"
11633ALIGN="LEFT"
11634VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011635> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011636></TR
11637></TABLE
11638><P
11639></P
11640></DIV
11641></DIV
11642><HR><DIV
11643CLASS="REFSECT2"
11644><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011645NAME="AEN6447"
Daniel Veillard35925471999-02-25 08:46:07 +000011646></A
11647><H3
11648><A
11649NAME="XMLNODESETCONTENTLEN"
11650></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011651>xmlNodeSetContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011652><TABLE
11653BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011654BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011655WIDTH="100%"
11656CELLPADDING="6"
11657><TR
11658><TD
11659><PRE
11660CLASS="PROGRAMLISTING"
11661>void xmlNodeSetContentLen (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011662HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011663>xmlNodePtr</A
11664> cur,
11665 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011666HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011667>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011668> *content,
11669 int len);</PRE
11670></TD
11671></TR
11672></TABLE
11673><P
11674>Replace the content of a node.</P
11675><P
11676></P
11677><DIV
11678CLASS="INFORMALTABLE"
11679><P
11680></P
11681><TABLE
11682BORDER="0"
11683WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011684BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011685CELLSPACING="0"
11686CELLPADDING="4"
11687CLASS="CALSTABLE"
11688><TR
11689><TD
11690WIDTH="20%"
11691ALIGN="RIGHT"
11692VALIGN="TOP"
11693><TT
11694CLASS="PARAMETER"
11695><I
11696>cur</I
11697></TT
11698>&nbsp;:</TD
11699><TD
11700WIDTH="80%"
11701ALIGN="LEFT"
11702VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011703> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011704></TR
11705><TR
11706><TD
11707WIDTH="20%"
11708ALIGN="RIGHT"
11709VALIGN="TOP"
11710><TT
11711CLASS="PARAMETER"
11712><I
11713>content</I
11714></TT
11715>&nbsp;:</TD
11716><TD
11717WIDTH="80%"
11718ALIGN="LEFT"
11719VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011720> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011721></TR
11722><TR
11723><TD
11724WIDTH="20%"
11725ALIGN="RIGHT"
11726VALIGN="TOP"
11727><TT
11728CLASS="PARAMETER"
11729><I
11730>len</I
11731></TT
11732>&nbsp;:</TD
11733><TD
11734WIDTH="80%"
11735ALIGN="LEFT"
11736VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011737> the size of <TT
11738CLASS="PARAMETER"
11739><I
11740>content</I
11741></TT
11742></TD
Daniel Veillard35925471999-02-25 08:46:07 +000011743></TR
11744></TABLE
11745><P
11746></P
11747></DIV
11748></DIV
11749><HR><DIV
11750CLASS="REFSECT2"
11751><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011752NAME="AEN6473"
Daniel Veillard35925471999-02-25 08:46:07 +000011753></A
11754><H3
11755><A
11756NAME="XMLNODEADDCONTENT"
11757></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011758>xmlNodeAddContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011759><TABLE
11760BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011761BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011762WIDTH="100%"
11763CELLPADDING="6"
11764><TR
11765><TD
11766><PRE
11767CLASS="PROGRAMLISTING"
11768>void xmlNodeAddContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011769HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011770>xmlNodePtr</A
11771> cur,
11772 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011773HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011774>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011775> *content);</PRE
11776></TD
11777></TR
11778></TABLE
11779><P
11780>Append the extra substring to the node content.</P
11781><P
11782></P
11783><DIV
11784CLASS="INFORMALTABLE"
11785><P
11786></P
11787><TABLE
11788BORDER="0"
11789WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011790BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011791CELLSPACING="0"
11792CELLPADDING="4"
11793CLASS="CALSTABLE"
11794><TR
11795><TD
11796WIDTH="20%"
11797ALIGN="RIGHT"
11798VALIGN="TOP"
11799><TT
11800CLASS="PARAMETER"
11801><I
11802>cur</I
11803></TT
11804>&nbsp;:</TD
11805><TD
11806WIDTH="80%"
11807ALIGN="LEFT"
11808VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011809> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011810></TR
11811><TR
11812><TD
11813WIDTH="20%"
11814ALIGN="RIGHT"
11815VALIGN="TOP"
11816><TT
11817CLASS="PARAMETER"
11818><I
11819>content</I
11820></TT
11821>&nbsp;:</TD
11822><TD
11823WIDTH="80%"
11824ALIGN="LEFT"
11825VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011826> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011827></TR
11828></TABLE
11829><P
11830></P
11831></DIV
11832></DIV
11833><HR><DIV
11834CLASS="REFSECT2"
11835><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011836NAME="AEN6494"
Daniel Veillard35925471999-02-25 08:46:07 +000011837></A
11838><H3
11839><A
11840NAME="XMLNODEADDCONTENTLEN"
11841></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011842>xmlNodeAddContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011843><TABLE
11844BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011845BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011846WIDTH="100%"
11847CELLPADDING="6"
11848><TR
11849><TD
11850><PRE
11851CLASS="PROGRAMLISTING"
11852>void xmlNodeAddContentLen (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011853HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011854>xmlNodePtr</A
11855> cur,
11856 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011857HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011858>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011859> *content,
11860 int len);</PRE
11861></TD
11862></TR
11863></TABLE
11864><P
11865>Append the extra substring to the node content.</P
11866><P
11867></P
11868><DIV
11869CLASS="INFORMALTABLE"
11870><P
11871></P
11872><TABLE
11873BORDER="0"
11874WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011875BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011876CELLSPACING="0"
11877CELLPADDING="4"
11878CLASS="CALSTABLE"
11879><TR
11880><TD
11881WIDTH="20%"
11882ALIGN="RIGHT"
11883VALIGN="TOP"
11884><TT
11885CLASS="PARAMETER"
11886><I
11887>cur</I
11888></TT
11889>&nbsp;:</TD
11890><TD
11891WIDTH="80%"
11892ALIGN="LEFT"
11893VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011894> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011895></TR
11896><TR
11897><TD
11898WIDTH="20%"
11899ALIGN="RIGHT"
11900VALIGN="TOP"
11901><TT
11902CLASS="PARAMETER"
11903><I
11904>content</I
11905></TT
11906>&nbsp;:</TD
11907><TD
11908WIDTH="80%"
11909ALIGN="LEFT"
11910VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011911> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011912></TR
11913><TR
11914><TD
11915WIDTH="20%"
11916ALIGN="RIGHT"
11917VALIGN="TOP"
11918><TT
11919CLASS="PARAMETER"
11920><I
11921>len</I
11922></TT
11923>&nbsp;:</TD
11924><TD
11925WIDTH="80%"
11926ALIGN="LEFT"
11927VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011928> the size of <TT
11929CLASS="PARAMETER"
11930><I
11931>content</I
11932></TT
11933></TD
Daniel Veillard35925471999-02-25 08:46:07 +000011934></TR
11935></TABLE
11936><P
11937></P
11938></DIV
11939></DIV
11940><HR><DIV
11941CLASS="REFSECT2"
11942><A
Daniel Veillarde356c282001-03-10 12:32:04 +000011943NAME="AEN6520"
Daniel Veillard35925471999-02-25 08:46:07 +000011944></A
11945><H3
11946><A
11947NAME="XMLNODEGETCONTENT"
11948></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011949>xmlNodeGetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011950><TABLE
11951BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011952BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011953WIDTH="100%"
11954CELLPADDING="6"
11955><TR
11956><TD
11957><PRE
11958CLASS="PROGRAMLISTING"
11959><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011960HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011961>xmlChar</A
11962>* xmlNodeGetContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011963HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011964>xmlNodePtr</A
11965> cur);</PRE
11966></TD
11967></TR
11968></TABLE
11969><P
11970>Read the value of a node, this can be either the text carried
11971directly by this node if it's a TEXT node or the aggregate string
11972of the values carried by this node child's (TEXT and ENTITY_REF).
11973Entity references are substitued.</P
11974><P
11975></P
11976><DIV
11977CLASS="INFORMALTABLE"
11978><P
11979></P
11980><TABLE
11981BORDER="0"
11982WIDTH="100%"
11983BGCOLOR="#FFD0D0"
11984CELLSPACING="0"
11985CELLPADDING="4"
11986CLASS="CALSTABLE"
11987><TR
11988><TD
11989WIDTH="20%"
11990ALIGN="RIGHT"
11991VALIGN="TOP"
11992><TT
11993CLASS="PARAMETER"
11994><I
11995>cur</I
11996></TT
11997>&nbsp;:</TD
11998><TD
11999WIDTH="80%"
12000ALIGN="LEFT"
12001VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012002> the node being read</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012003></TR
12004><TR
12005><TD
12006WIDTH="20%"
12007ALIGN="RIGHT"
12008VALIGN="TOP"
12009><I
12010CLASS="EMPHASIS"
12011>Returns</I
12012> :</TD
12013><TD
12014WIDTH="80%"
12015ALIGN="LEFT"
12016VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012017>a new xmlChar * or NULL if no content is available.
12018It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012019></TR
12020></TABLE
12021><P
12022></P
12023></DIV
12024></DIV
12025><HR><DIV
12026CLASS="REFSECT2"
12027><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012028NAME="AEN6541"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012029></A
12030><H3
12031><A
12032NAME="XMLNODEGETLANG"
12033></A
12034>xmlNodeGetLang ()</H3
12035><TABLE
12036BORDER="0"
12037BGCOLOR="#D6E8FF"
12038WIDTH="100%"
12039CELLPADDING="6"
12040><TR
12041><TD
12042><PRE
12043CLASS="PROGRAMLISTING"
12044><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012045HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012046>xmlChar</A
12047>* xmlNodeGetLang (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012048HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012049>xmlNodePtr</A
12050> cur);</PRE
12051></TD
12052></TR
12053></TABLE
12054><P
12055>Searches the language of a node, i.e. the values of the xml:lang
12056attribute or the one carried by the nearest ancestor.</P
12057><P
12058></P
12059><DIV
12060CLASS="INFORMALTABLE"
12061><P
12062></P
12063><TABLE
12064BORDER="0"
12065WIDTH="100%"
12066BGCOLOR="#FFD0D0"
12067CELLSPACING="0"
12068CELLPADDING="4"
12069CLASS="CALSTABLE"
12070><TR
12071><TD
12072WIDTH="20%"
12073ALIGN="RIGHT"
12074VALIGN="TOP"
12075><TT
12076CLASS="PARAMETER"
12077><I
12078>cur</I
12079></TT
12080>&nbsp;:</TD
12081><TD
12082WIDTH="80%"
12083ALIGN="LEFT"
12084VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012085> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012086></TR
12087><TR
12088><TD
12089WIDTH="20%"
12090ALIGN="RIGHT"
12091VALIGN="TOP"
12092><I
12093CLASS="EMPHASIS"
12094>Returns</I
12095> :</TD
12096><TD
12097WIDTH="80%"
12098ALIGN="LEFT"
12099VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012100>a pointer to the lang value, or NULL if not found
12101It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012102></TR
12103></TABLE
12104><P
12105></P
12106></DIV
12107></DIV
12108><HR><DIV
12109CLASS="REFSECT2"
12110><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012111NAME="AEN6562"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012112></A
12113><H3
12114><A
12115NAME="XMLNODESETLANG"
12116></A
12117>xmlNodeSetLang ()</H3
12118><TABLE
12119BORDER="0"
12120BGCOLOR="#D6E8FF"
12121WIDTH="100%"
12122CELLPADDING="6"
12123><TR
12124><TD
12125><PRE
12126CLASS="PROGRAMLISTING"
12127>void xmlNodeSetLang (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012128HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012129>xmlNodePtr</A
12130> cur,
12131 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012132HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012133>xmlChar</A
12134> *lang);</PRE
12135></TD
12136></TR
12137></TABLE
12138><P
12139>Set the language of a node, i.e. the values of the xml:lang
12140attribute.</P
12141><P
12142></P
12143><DIV
12144CLASS="INFORMALTABLE"
12145><P
12146></P
12147><TABLE
12148BORDER="0"
12149WIDTH="100%"
12150BGCOLOR="#FFD0D0"
12151CELLSPACING="0"
12152CELLPADDING="4"
12153CLASS="CALSTABLE"
12154><TR
12155><TD
12156WIDTH="20%"
12157ALIGN="RIGHT"
12158VALIGN="TOP"
12159><TT
12160CLASS="PARAMETER"
12161><I
12162>cur</I
12163></TT
12164>&nbsp;:</TD
12165><TD
12166WIDTH="80%"
12167ALIGN="LEFT"
12168VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012169> the node being changed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012170></TR
12171><TR
12172><TD
12173WIDTH="20%"
12174ALIGN="RIGHT"
12175VALIGN="TOP"
12176><TT
12177CLASS="PARAMETER"
12178><I
12179>lang</I
12180></TT
12181>&nbsp;:</TD
12182><TD
12183WIDTH="80%"
12184ALIGN="LEFT"
12185VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012186> the langage description</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012187></TR
12188></TABLE
12189><P
12190></P
12191></DIV
12192></DIV
12193><HR><DIV
12194CLASS="REFSECT2"
12195><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012196NAME="AEN6583"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012197></A
12198><H3
12199><A
12200NAME="XMLNODEGETSPACEPRESERVE"
12201></A
12202>xmlNodeGetSpacePreserve ()</H3
12203><TABLE
12204BORDER="0"
12205BGCOLOR="#D6E8FF"
12206WIDTH="100%"
12207CELLPADDING="6"
12208><TR
12209><TD
12210><PRE
12211CLASS="PROGRAMLISTING"
12212>int xmlNodeGetSpacePreserve (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012213HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012214>xmlNodePtr</A
12215> cur);</PRE
12216></TD
12217></TR
12218></TABLE
12219><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +000012220>Searches the space preserving behaviour of a node, i.e. the values
12221of the xml:space attribute or the one carried by the nearest
12222ancestor.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012223><P
12224></P
12225><DIV
12226CLASS="INFORMALTABLE"
12227><P
12228></P
12229><TABLE
12230BORDER="0"
12231WIDTH="100%"
12232BGCOLOR="#FFD0D0"
12233CELLSPACING="0"
12234CELLPADDING="4"
12235CLASS="CALSTABLE"
12236><TR
12237><TD
12238WIDTH="20%"
12239ALIGN="RIGHT"
12240VALIGN="TOP"
12241><TT
12242CLASS="PARAMETER"
12243><I
12244>cur</I
12245></TT
12246>&nbsp;:</TD
12247><TD
12248WIDTH="80%"
12249ALIGN="LEFT"
12250VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012251> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012252></TR
12253><TR
12254><TD
12255WIDTH="20%"
12256ALIGN="RIGHT"
12257VALIGN="TOP"
12258><I
12259CLASS="EMPHASIS"
12260>Returns</I
12261> :</TD
12262><TD
12263WIDTH="80%"
12264ALIGN="LEFT"
12265VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012266>-1 if xml:space is not inheried, 0 if "default", 1 if "preserve"</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012267></TR
12268></TABLE
12269><P
12270></P
12271></DIV
12272></DIV
12273><HR><DIV
12274CLASS="REFSECT2"
12275><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012276NAME="AEN6603"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000012277></A
12278><H3
12279><A
12280NAME="XMLNODESETSPACEPRESERVE"
12281></A
12282>xmlNodeSetSpacePreserve ()</H3
12283><TABLE
12284BORDER="0"
12285BGCOLOR="#D6E8FF"
12286WIDTH="100%"
12287CELLPADDING="6"
12288><TR
12289><TD
12290><PRE
12291CLASS="PROGRAMLISTING"
12292>void xmlNodeSetSpacePreserve (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012293HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000012294>xmlNodePtr</A
12295> cur,
12296 <GTKDOCLINK
12297HREF="INTVAL"
12298>intval</GTKDOCLINK
12299>);</PRE
12300></TD
12301></TR
12302></TABLE
12303><P
12304>Set (or reset) the space preserving behaviour of a node, i.e. the
12305value of the xml:space attribute.</P
12306><P
12307></P
12308><DIV
12309CLASS="INFORMALTABLE"
12310><P
12311></P
12312><TABLE
12313BORDER="0"
12314WIDTH="100%"
12315BGCOLOR="#FFD0D0"
12316CELLSPACING="0"
12317CELLPADDING="4"
12318CLASS="CALSTABLE"
12319><TR
12320><TD
12321WIDTH="20%"
12322ALIGN="RIGHT"
12323VALIGN="TOP"
12324><TT
12325CLASS="PARAMETER"
12326><I
12327>cur</I
12328></TT
12329>&nbsp;:</TD
12330><TD
12331WIDTH="80%"
12332ALIGN="LEFT"
12333VALIGN="TOP"
12334> the node being changed</TD
12335></TR
12336><TR
12337><TD
12338WIDTH="20%"
12339ALIGN="RIGHT"
12340VALIGN="TOP"
12341><TT
12342CLASS="PARAMETER"
12343><I
12344>Param2</I
12345></TT
12346>&nbsp;:</TD
12347><TD
12348WIDTH="80%"
12349ALIGN="LEFT"
12350VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +000012351>&#13;</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000012352></TR
12353></TABLE
12354><P
12355></P
12356></DIV
12357></DIV
12358><HR><DIV
12359CLASS="REFSECT2"
12360><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012361NAME="AEN6624"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012362></A
12363><H3
12364><A
12365NAME="XMLNODEGETBASE"
12366></A
12367>xmlNodeGetBase ()</H3
12368><TABLE
12369BORDER="0"
12370BGCOLOR="#D6E8FF"
12371WIDTH="100%"
12372CELLPADDING="6"
12373><TR
12374><TD
12375><PRE
12376CLASS="PROGRAMLISTING"
12377><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012378HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012379>xmlChar</A
12380>* xmlNodeGetBase (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012381HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012382>xmlDocPtr</A
12383> doc,
12384 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012385HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012386>xmlNodePtr</A
12387> cur);</PRE
12388></TD
12389></TR
12390></TABLE
12391><P
12392>Searches for the BASE URL. The code should work on both XML
Daniel Veillard28929b22000-11-13 18:22:49 +000012393and HTML document even if base mechanisms are completely different.
12394It returns the base as defined in RFC 2396 sections
123955.1.1. Base URI within Document Content
12396and
123975.1.2. Base URI from the Encapsulating Entity
12398However it does not return the document base (5.1.3), use
12399<GTKDOCLINK
12400HREF="XMLDOCUMENTGETBASE"
12401>xmlDocumentGetBase</GTKDOCLINK
12402>() for this</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012403><P
12404></P
12405><DIV
12406CLASS="INFORMALTABLE"
12407><P
12408></P
12409><TABLE
12410BORDER="0"
12411WIDTH="100%"
12412BGCOLOR="#FFD0D0"
12413CELLSPACING="0"
12414CELLPADDING="4"
12415CLASS="CALSTABLE"
12416><TR
12417><TD
12418WIDTH="20%"
12419ALIGN="RIGHT"
12420VALIGN="TOP"
12421><TT
12422CLASS="PARAMETER"
12423><I
12424>doc</I
12425></TT
12426>&nbsp;:</TD
12427><TD
12428WIDTH="80%"
12429ALIGN="LEFT"
12430VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012431> the document the node pertains to</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012432></TR
12433><TR
12434><TD
12435WIDTH="20%"
12436ALIGN="RIGHT"
12437VALIGN="TOP"
12438><TT
12439CLASS="PARAMETER"
12440><I
12441>cur</I
12442></TT
12443>&nbsp;:</TD
12444><TD
12445WIDTH="80%"
12446ALIGN="LEFT"
12447VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012448> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012449></TR
12450><TR
12451><TD
12452WIDTH="20%"
12453ALIGN="RIGHT"
12454VALIGN="TOP"
12455><I
12456CLASS="EMPHASIS"
12457>Returns</I
12458> :</TD
12459><TD
12460WIDTH="80%"
12461ALIGN="LEFT"
12462VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012463>a pointer to the base URL, or NULL if not found
12464It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012465></TR
12466></TABLE
12467><P
12468></P
12469></DIV
12470></DIV
12471><HR><DIV
12472CLASS="REFSECT2"
12473><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012474NAME="AEN6651"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000012475></A
12476><H3
12477><A
12478NAME="XMLNODESETBASE"
12479></A
12480>xmlNodeSetBase ()</H3
12481><TABLE
12482BORDER="0"
12483BGCOLOR="#D6E8FF"
12484WIDTH="100%"
12485CELLPADDING="6"
12486><TR
12487><TD
12488><PRE
12489CLASS="PROGRAMLISTING"
12490>void xmlNodeSetBase (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012491HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000012492>xmlNodePtr</A
12493> cur,
12494 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012495HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000012496>xmlChar</A
12497> *uri);</PRE
12498></TD
12499></TR
12500></TABLE
12501><P
12502>Set (or reset) the base URI of a node, i.e. the value of the
12503xml:base attribute.</P
12504><P
12505></P
12506><DIV
12507CLASS="INFORMALTABLE"
12508><P
12509></P
12510><TABLE
12511BORDER="0"
12512WIDTH="100%"
12513BGCOLOR="#FFD0D0"
12514CELLSPACING="0"
12515CELLPADDING="4"
12516CLASS="CALSTABLE"
12517><TR
12518><TD
12519WIDTH="20%"
12520ALIGN="RIGHT"
12521VALIGN="TOP"
12522><TT
12523CLASS="PARAMETER"
12524><I
12525>cur</I
12526></TT
12527>&nbsp;:</TD
12528><TD
12529WIDTH="80%"
12530ALIGN="LEFT"
12531VALIGN="TOP"
12532> the node being changed</TD
12533></TR
12534><TR
12535><TD
12536WIDTH="20%"
12537ALIGN="RIGHT"
12538VALIGN="TOP"
12539><TT
12540CLASS="PARAMETER"
12541><I
12542>uri</I
12543></TT
12544>&nbsp;:</TD
12545><TD
12546WIDTH="80%"
12547ALIGN="LEFT"
12548VALIGN="TOP"
12549> the new base URI</TD
12550></TR
12551></TABLE
12552><P
12553></P
12554></DIV
12555></DIV
12556><HR><DIV
12557CLASS="REFSECT2"
12558><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012559NAME="AEN6672"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012560></A
12561><H3
12562><A
12563NAME="XMLREMOVEPROP"
12564></A
12565>xmlRemoveProp ()</H3
12566><TABLE
12567BORDER="0"
12568BGCOLOR="#D6E8FF"
12569WIDTH="100%"
12570CELLPADDING="6"
12571><TR
12572><TD
12573><PRE
12574CLASS="PROGRAMLISTING"
12575>int xmlRemoveProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012576HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012577>xmlAttrPtr</A
12578> attr);</PRE
12579></TD
12580></TR
12581></TABLE
12582><P
12583>Unlink and free one attribute, all the content is freed too
12584Note this doesn't work for namespace definition attributes</P
12585><P
12586></P
12587><DIV
12588CLASS="INFORMALTABLE"
12589><P
12590></P
12591><TABLE
12592BORDER="0"
12593WIDTH="100%"
12594BGCOLOR="#FFD0D0"
12595CELLSPACING="0"
12596CELLPADDING="4"
12597CLASS="CALSTABLE"
12598><TR
12599><TD
12600WIDTH="20%"
12601ALIGN="RIGHT"
12602VALIGN="TOP"
12603><TT
12604CLASS="PARAMETER"
12605><I
12606>attr</I
12607></TT
12608>&nbsp;:</TD
12609><TD
12610WIDTH="80%"
12611ALIGN="LEFT"
12612VALIGN="TOP"
12613>&nbsp;</TD
12614></TR
12615><TR
12616><TD
12617WIDTH="20%"
12618ALIGN="RIGHT"
12619VALIGN="TOP"
12620><I
12621CLASS="EMPHASIS"
12622>Returns</I
12623> :</TD
12624><TD
12625WIDTH="80%"
12626ALIGN="LEFT"
12627VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012628>0 if success and -1 in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012629></TR
12630></TABLE
12631><P
12632></P
12633></DIV
12634></DIV
12635><HR><DIV
12636CLASS="REFSECT2"
12637><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012638NAME="AEN6692"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012639></A
12640><H3
12641><A
12642NAME="XMLREMOVENODE"
12643></A
12644>xmlRemoveNode ()</H3
12645><TABLE
12646BORDER="0"
12647BGCOLOR="#D6E8FF"
12648WIDTH="100%"
12649CELLPADDING="6"
12650><TR
12651><TD
12652><PRE
12653CLASS="PROGRAMLISTING"
12654>int xmlRemoveNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012655HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012656>xmlNodePtr</A
12657> node);</PRE
12658></TD
12659></TR
12660></TABLE
12661><P
12662></P
12663><DIV
12664CLASS="INFORMALTABLE"
12665><P
12666></P
12667><TABLE
12668BORDER="0"
12669WIDTH="100%"
12670BGCOLOR="#FFD0D0"
12671CELLSPACING="0"
12672CELLPADDING="4"
12673CLASS="CALSTABLE"
12674><TR
12675><TD
12676WIDTH="20%"
12677ALIGN="RIGHT"
12678VALIGN="TOP"
12679><TT
12680CLASS="PARAMETER"
12681><I
12682>node</I
12683></TT
12684>&nbsp;:</TD
12685><TD
12686WIDTH="80%"
12687ALIGN="LEFT"
12688VALIGN="TOP"
12689>&nbsp;</TD
12690></TR
12691><TR
12692><TD
12693WIDTH="20%"
12694ALIGN="RIGHT"
12695VALIGN="TOP"
12696><I
12697CLASS="EMPHASIS"
12698>Returns</I
12699> :</TD
12700><TD
12701WIDTH="80%"
12702ALIGN="LEFT"
12703VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +000012704>&#13;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012705></TR
12706></TABLE
12707><P
12708></P
12709></DIV
12710></DIV
12711><HR><DIV
12712CLASS="REFSECT2"
12713><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012714NAME="AEN6711"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000012715></A
12716><H3
12717><A
12718NAME="XMLBUFFERWRITEXMLCHAR"
12719></A
12720>xmlBufferWriteXmlCHAR ()</H3
12721><TABLE
12722BORDER="0"
12723BGCOLOR="#D6E8FF"
12724WIDTH="100%"
12725CELLPADDING="6"
12726><TR
12727><TD
12728><PRE
12729CLASS="PROGRAMLISTING"
12730>void xmlBufferWriteXmlCHAR (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012731HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000012732>xmlBufferPtr</A
12733> buf,
12734 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012735HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000012736>xmlChar</A
12737> *string);</PRE
12738></TD
12739></TR
12740></TABLE
12741><P
12742></P
12743><DIV
12744CLASS="INFORMALTABLE"
12745><P
12746></P
12747><TABLE
12748BORDER="0"
12749WIDTH="100%"
12750BGCOLOR="#FFD0D0"
12751CELLSPACING="0"
12752CELLPADDING="4"
12753CLASS="CALSTABLE"
12754><TR
12755><TD
12756WIDTH="20%"
12757ALIGN="RIGHT"
12758VALIGN="TOP"
12759><TT
12760CLASS="PARAMETER"
12761><I
12762>buf</I
12763></TT
12764>&nbsp;:</TD
12765><TD
12766WIDTH="80%"
12767ALIGN="LEFT"
12768VALIGN="TOP"
12769>&nbsp;</TD
12770></TR
12771><TR
12772><TD
12773WIDTH="20%"
12774ALIGN="RIGHT"
12775VALIGN="TOP"
12776><TT
12777CLASS="PARAMETER"
12778><I
12779>string</I
12780></TT
12781>&nbsp;:</TD
12782><TD
12783WIDTH="80%"
12784ALIGN="LEFT"
12785VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +000012786>&#13;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000012787></TR
12788></TABLE
12789><P
12790></P
12791></DIV
12792></DIV
12793><HR><DIV
12794CLASS="REFSECT2"
12795><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012796NAME="AEN6731"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012797></A
12798><H3
12799><A
12800NAME="XMLBUFFERWRITECHAR"
12801></A
12802>xmlBufferWriteCHAR ()</H3
12803><TABLE
12804BORDER="0"
12805BGCOLOR="#D6E8FF"
12806WIDTH="100%"
12807CELLPADDING="6"
12808><TR
12809><TD
12810><PRE
12811CLASS="PROGRAMLISTING"
12812>void xmlBufferWriteCHAR (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012813HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012814>xmlBufferPtr</A
12815> buf,
12816 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012817HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012818>xmlChar</A
12819> *string);</PRE
12820></TD
12821></TR
12822></TABLE
12823><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +000012824>routine which manages and grows an output buffer. This one adds
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012825xmlChars at the end of the buffer.</P
12826><P
12827></P
12828><DIV
12829CLASS="INFORMALTABLE"
12830><P
12831></P
12832><TABLE
12833BORDER="0"
12834WIDTH="100%"
12835BGCOLOR="#FFD0D0"
12836CELLSPACING="0"
12837CELLPADDING="4"
12838CLASS="CALSTABLE"
12839><TR
12840><TD
12841WIDTH="20%"
12842ALIGN="RIGHT"
12843VALIGN="TOP"
12844><TT
12845CLASS="PARAMETER"
12846><I
12847>buf</I
12848></TT
12849>&nbsp;:</TD
12850><TD
12851WIDTH="80%"
12852ALIGN="LEFT"
12853VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012854> the XML buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012855></TR
12856><TR
12857><TD
12858WIDTH="20%"
12859ALIGN="RIGHT"
12860VALIGN="TOP"
12861><TT
12862CLASS="PARAMETER"
12863><I
12864>string</I
12865></TT
12866>&nbsp;:</TD
12867><TD
12868WIDTH="80%"
12869ALIGN="LEFT"
12870VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012871> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012872></TR
12873></TABLE
12874><P
12875></P
12876></DIV
12877></DIV
12878><HR><DIV
12879CLASS="REFSECT2"
12880><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012881NAME="AEN6752"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012882></A
12883><H3
12884><A
12885NAME="XMLBUFFERWRITECHAR"
12886></A
12887>xmlBufferWriteChar ()</H3
12888><TABLE
12889BORDER="0"
12890BGCOLOR="#D6E8FF"
12891WIDTH="100%"
12892CELLPADDING="6"
12893><TR
12894><TD
12895><PRE
12896CLASS="PROGRAMLISTING"
12897>void xmlBufferWriteChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012898HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012899>xmlBufferPtr</A
12900> buf,
12901 const char *string);</PRE
12902></TD
12903></TR
12904></TABLE
12905><P
12906>routine which manage and grows an output buffer. This one add
12907C chars at the end of the array.</P
12908><P
12909></P
12910><DIV
12911CLASS="INFORMALTABLE"
12912><P
12913></P
12914><TABLE
12915BORDER="0"
12916WIDTH="100%"
12917BGCOLOR="#FFD0D0"
12918CELLSPACING="0"
12919CELLPADDING="4"
12920CLASS="CALSTABLE"
12921><TR
12922><TD
12923WIDTH="20%"
12924ALIGN="RIGHT"
12925VALIGN="TOP"
12926><TT
12927CLASS="PARAMETER"
12928><I
12929>buf</I
12930></TT
12931>&nbsp;:</TD
12932><TD
12933WIDTH="80%"
12934ALIGN="LEFT"
12935VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012936> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012937></TR
12938><TR
12939><TD
12940WIDTH="20%"
12941ALIGN="RIGHT"
12942VALIGN="TOP"
12943><TT
12944CLASS="PARAMETER"
12945><I
12946>string</I
12947></TT
12948>&nbsp;:</TD
12949><TD
12950WIDTH="80%"
12951ALIGN="LEFT"
12952VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000012953> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012954></TR
12955></TABLE
12956><P
12957></P
12958></DIV
12959></DIV
12960><HR><DIV
12961CLASS="REFSECT2"
12962><A
Daniel Veillarde356c282001-03-10 12:32:04 +000012963NAME="AEN6772"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012964></A
12965><H3
12966><A
12967NAME="XMLBUFFERWRITEQUOTEDSTRING"
12968></A
12969>xmlBufferWriteQuotedString ()</H3
12970><TABLE
12971BORDER="0"
12972BGCOLOR="#D6E8FF"
12973WIDTH="100%"
12974CELLPADDING="6"
12975><TR
12976><TD
12977><PRE
12978CLASS="PROGRAMLISTING"
12979>void xmlBufferWriteQuotedString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012980HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012981>xmlBufferPtr</A
12982> buf,
12983 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012984HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012985>xmlChar</A
12986> *string);</PRE
12987></TD
12988></TR
12989></TABLE
12990><P
12991>routine which manage and grows an output buffer. This one writes
12992a quoted or double quoted xmlChar string, checking first if it holds
12993quote or double-quotes internally</P
12994><P
12995></P
12996><DIV
12997CLASS="INFORMALTABLE"
12998><P
12999></P
13000><TABLE
13001BORDER="0"
13002WIDTH="100%"
13003BGCOLOR="#FFD0D0"
13004CELLSPACING="0"
13005CELLPADDING="4"
13006CLASS="CALSTABLE"
13007><TR
13008><TD
13009WIDTH="20%"
13010ALIGN="RIGHT"
13011VALIGN="TOP"
13012><TT
13013CLASS="PARAMETER"
13014><I
13015>buf</I
13016></TT
13017>&nbsp;:</TD
13018><TD
13019WIDTH="80%"
13020ALIGN="LEFT"
13021VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013022> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013023></TR
13024><TR
13025><TD
13026WIDTH="20%"
13027ALIGN="RIGHT"
13028VALIGN="TOP"
13029><TT
13030CLASS="PARAMETER"
13031><I
13032>string</I
13033></TT
13034>&nbsp;:</TD
13035><TD
13036WIDTH="80%"
13037ALIGN="LEFT"
13038VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013039> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013040></TR
13041></TABLE
13042><P
13043></P
13044></DIV
13045></DIV
13046><HR><DIV
13047CLASS="REFSECT2"
13048><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013049NAME="AEN6793"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013050></A
13051><H3
13052><A
13053NAME="XMLRECONCILIATENS"
13054></A
13055>xmlReconciliateNs ()</H3
13056><TABLE
13057BORDER="0"
13058BGCOLOR="#D6E8FF"
13059WIDTH="100%"
13060CELLPADDING="6"
13061><TR
13062><TD
13063><PRE
13064CLASS="PROGRAMLISTING"
13065>int xmlReconciliateNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013066HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013067>xmlDocPtr</A
13068> doc,
13069 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013070HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013071>xmlNodePtr</A
13072> tree);</PRE
13073></TD
13074></TR
13075></TABLE
13076><P
13077>This function checks that all the namespaces declared within the given
13078tree are properly declared. This is needed for example after Copy or Cut
13079and then paste operations. The subtree may still hold pointers to
13080namespace declarations outside the subtree or invalid/masked. As much
13081as possible the function try tu reuse the existing namespaces found in
13082the new environment. If not possible the new namespaces are redeclared
13083on <TT
13084CLASS="PARAMETER"
13085><I
13086>tree</I
13087></TT
13088> at the top of the given subtree.</P
13089><P
13090></P
13091><DIV
13092CLASS="INFORMALTABLE"
13093><P
13094></P
13095><TABLE
13096BORDER="0"
13097WIDTH="100%"
13098BGCOLOR="#FFD0D0"
13099CELLSPACING="0"
13100CELLPADDING="4"
13101CLASS="CALSTABLE"
13102><TR
13103><TD
13104WIDTH="20%"
13105ALIGN="RIGHT"
13106VALIGN="TOP"
13107><TT
13108CLASS="PARAMETER"
13109><I
13110>doc</I
13111></TT
13112>&nbsp;:</TD
13113><TD
13114WIDTH="80%"
13115ALIGN="LEFT"
13116VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013117> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013118></TR
13119><TR
13120><TD
13121WIDTH="20%"
13122ALIGN="RIGHT"
13123VALIGN="TOP"
13124><TT
13125CLASS="PARAMETER"
13126><I
13127>tree</I
13128></TT
13129>&nbsp;:</TD
13130><TD
13131WIDTH="80%"
13132ALIGN="LEFT"
13133VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013134> a node defining the subtree to reconciliate</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013135></TR
13136><TR
13137><TD
13138WIDTH="20%"
13139ALIGN="RIGHT"
13140VALIGN="TOP"
13141><I
13142CLASS="EMPHASIS"
13143>Returns</I
13144> :</TD
13145><TD
13146WIDTH="80%"
13147ALIGN="LEFT"
13148VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013149>the number of namespace declarations created or -1 in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013150></TR
13151></TABLE
13152><P
13153></P
13154></DIV
13155></DIV
13156><HR><DIV
13157CLASS="REFSECT2"
13158><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013159NAME="AEN6819"
Daniel Veillard503b8932001-01-05 06:36:31 +000013160></A
13161><H3
13162><A
13163NAME="XMLDOCDUMPFORMATMEMORY"
13164></A
13165>xmlDocDumpFormatMemory ()</H3
13166><TABLE
13167BORDER="0"
13168BGCOLOR="#D6E8FF"
13169WIDTH="100%"
13170CELLPADDING="6"
13171><TR
13172><TD
13173><PRE
13174CLASS="PROGRAMLISTING"
13175>void xmlDocDumpFormatMemory (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013176HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +000013177>xmlDocPtr</A
13178> cur,
13179 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013180HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +000013181>xmlChar</A
13182> **mem,
13183 int *size,
13184 int format);</PRE
13185></TD
13186></TR
13187></TABLE
13188><P
13189>Dump an XML document in memory and return the xmlChar * and it's size.
13190It's up to the caller to free the memory.</P
13191><P
13192></P
13193><DIV
13194CLASS="INFORMALTABLE"
13195><P
13196></P
13197><TABLE
13198BORDER="0"
13199WIDTH="100%"
13200BGCOLOR="#FFD0D0"
13201CELLSPACING="0"
13202CELLPADDING="4"
13203CLASS="CALSTABLE"
13204><TR
13205><TD
13206WIDTH="20%"
13207ALIGN="RIGHT"
13208VALIGN="TOP"
13209><TT
13210CLASS="PARAMETER"
13211><I
13212>cur</I
13213></TT
13214>&nbsp;:</TD
13215><TD
13216WIDTH="80%"
13217ALIGN="LEFT"
13218VALIGN="TOP"
13219> the document</TD
13220></TR
13221><TR
13222><TD
13223WIDTH="20%"
13224ALIGN="RIGHT"
13225VALIGN="TOP"
13226><TT
13227CLASS="PARAMETER"
13228><I
13229>mem</I
13230></TT
13231>&nbsp;:</TD
13232><TD
13233WIDTH="80%"
13234ALIGN="LEFT"
13235VALIGN="TOP"
13236> OUT: the memory pointer</TD
13237></TR
13238><TR
13239><TD
13240WIDTH="20%"
13241ALIGN="RIGHT"
13242VALIGN="TOP"
13243><TT
13244CLASS="PARAMETER"
13245><I
13246>size</I
13247></TT
13248>&nbsp;:</TD
13249><TD
13250WIDTH="80%"
13251ALIGN="LEFT"
13252VALIGN="TOP"
13253> OUT: the memory lenght</TD
13254></TR
13255><TR
13256><TD
13257WIDTH="20%"
13258ALIGN="RIGHT"
13259VALIGN="TOP"
13260><TT
13261CLASS="PARAMETER"
13262><I
13263>format</I
13264></TT
13265>&nbsp;:</TD
13266><TD
13267WIDTH="80%"
13268ALIGN="LEFT"
13269VALIGN="TOP"
13270> should formatting spaces been added</TD
13271></TR
13272></TABLE
13273><P
13274></P
13275></DIV
13276></DIV
13277><HR><DIV
13278CLASS="REFSECT2"
13279><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013280NAME="AEN6848"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013281></A
13282><H3
13283><A
13284NAME="XMLDOCDUMPMEMORY"
13285></A
13286>xmlDocDumpMemory ()</H3
13287><TABLE
13288BORDER="0"
13289BGCOLOR="#D6E8FF"
13290WIDTH="100%"
13291CELLPADDING="6"
13292><TR
13293><TD
13294><PRE
13295CLASS="PROGRAMLISTING"
13296>void xmlDocDumpMemory (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013297HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013298>xmlDocPtr</A
13299> cur,
13300 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013301HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013302>xmlChar</A
13303> **mem,
13304 int *size);</PRE
13305></TD
13306></TR
13307></TABLE
13308><P
13309>Dump an XML document in memory and return the xmlChar * and it's size.
13310It's up to the caller to free the memory.</P
13311><P
13312></P
13313><DIV
13314CLASS="INFORMALTABLE"
13315><P
13316></P
13317><TABLE
13318BORDER="0"
13319WIDTH="100%"
13320BGCOLOR="#FFD0D0"
13321CELLSPACING="0"
13322CELLPADDING="4"
13323CLASS="CALSTABLE"
13324><TR
13325><TD
13326WIDTH="20%"
13327ALIGN="RIGHT"
13328VALIGN="TOP"
13329><TT
13330CLASS="PARAMETER"
13331><I
13332>cur</I
13333></TT
13334>&nbsp;:</TD
13335><TD
13336WIDTH="80%"
13337ALIGN="LEFT"
13338VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013339> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013340></TR
13341><TR
13342><TD
13343WIDTH="20%"
13344ALIGN="RIGHT"
13345VALIGN="TOP"
13346><TT
13347CLASS="PARAMETER"
13348><I
13349>mem</I
13350></TT
13351>&nbsp;:</TD
13352><TD
13353WIDTH="80%"
13354ALIGN="LEFT"
13355VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013356> OUT: the memory pointer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013357></TR
13358><TR
13359><TD
13360WIDTH="20%"
13361ALIGN="RIGHT"
13362VALIGN="TOP"
13363><TT
13364CLASS="PARAMETER"
13365><I
13366>size</I
13367></TT
13368>&nbsp;:</TD
13369><TD
13370WIDTH="80%"
13371ALIGN="LEFT"
13372VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013373> OUT: the memory lenght</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013374></TR
13375></TABLE
13376><P
13377></P
13378></DIV
13379></DIV
13380><HR><DIV
13381CLASS="REFSECT2"
13382><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013383NAME="AEN6873"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000013384></A
13385><H3
13386><A
13387NAME="XMLDOCDUMPMEMORYENC"
13388></A
13389>xmlDocDumpMemoryEnc ()</H3
13390><TABLE
13391BORDER="0"
13392BGCOLOR="#D6E8FF"
13393WIDTH="100%"
13394CELLPADDING="6"
13395><TR
13396><TD
13397><PRE
13398CLASS="PROGRAMLISTING"
13399>void xmlDocDumpMemoryEnc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013400HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000013401>xmlDocPtr</A
13402> out_doc,
13403 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013404HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000013405>xmlChar</A
13406> **doc_txt_ptr,
13407 int *doc_txt_len,
13408 const char *txt_encoding);</PRE
13409></TD
13410></TR
13411></TABLE
13412><P
13413>Dump the current DOM tree into memory using the character encoding specified
13414by the caller. Note it is up to the caller of this function to free the
13415allocated memory.</P
13416><P
13417></P
13418><DIV
13419CLASS="INFORMALTABLE"
13420><P
13421></P
13422><TABLE
13423BORDER="0"
13424WIDTH="100%"
13425BGCOLOR="#FFD0D0"
13426CELLSPACING="0"
13427CELLPADDING="4"
13428CLASS="CALSTABLE"
13429><TR
13430><TD
13431WIDTH="20%"
13432ALIGN="RIGHT"
13433VALIGN="TOP"
13434><TT
13435CLASS="PARAMETER"
13436><I
13437>out_doc</I
13438></TT
13439>&nbsp;:</TD
13440><TD
13441WIDTH="80%"
13442ALIGN="LEFT"
13443VALIGN="TOP"
13444> Document to generate XML text from</TD
13445></TR
13446><TR
13447><TD
13448WIDTH="20%"
13449ALIGN="RIGHT"
13450VALIGN="TOP"
13451><TT
13452CLASS="PARAMETER"
13453><I
13454>doc_txt_ptr</I
13455></TT
13456>&nbsp;:</TD
13457><TD
13458WIDTH="80%"
13459ALIGN="LEFT"
13460VALIGN="TOP"
13461> Memory pointer for allocated XML text</TD
13462></TR
13463><TR
13464><TD
13465WIDTH="20%"
13466ALIGN="RIGHT"
13467VALIGN="TOP"
13468><TT
13469CLASS="PARAMETER"
13470><I
13471>doc_txt_len</I
13472></TT
13473>&nbsp;:</TD
13474><TD
13475WIDTH="80%"
13476ALIGN="LEFT"
13477VALIGN="TOP"
13478> Length of the generated XML text</TD
13479></TR
13480><TR
13481><TD
13482WIDTH="20%"
13483ALIGN="RIGHT"
13484VALIGN="TOP"
13485><TT
13486CLASS="PARAMETER"
13487><I
13488>txt_encoding</I
13489></TT
13490>&nbsp;:</TD
13491><TD
13492WIDTH="80%"
13493ALIGN="LEFT"
13494VALIGN="TOP"
13495> Character encoding to use when generating XML text</TD
13496></TR
13497></TABLE
13498><P
13499></P
13500></DIV
13501></DIV
13502><HR><DIV
13503CLASS="REFSECT2"
13504><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013505NAME="AEN6902"
Daniel Veillard503b8932001-01-05 06:36:31 +000013506></A
13507><H3
13508><A
13509NAME="XMLDOCDUMPFORMATMEMORYENC"
13510></A
13511>xmlDocDumpFormatMemoryEnc ()</H3
13512><TABLE
13513BORDER="0"
13514BGCOLOR="#D6E8FF"
13515WIDTH="100%"
13516CELLPADDING="6"
13517><TR
13518><TD
13519><PRE
13520CLASS="PROGRAMLISTING"
13521>void xmlDocDumpFormatMemoryEnc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013522HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +000013523>xmlDocPtr</A
13524> out_doc,
13525 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013526HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +000013527>xmlChar</A
13528> **doc_txt_ptr,
13529 int *doc_txt_len,
13530 const char *txt_encoding,
13531 int format);</PRE
13532></TD
13533></TR
13534></TABLE
13535><P
13536></P
13537><DIV
13538CLASS="INFORMALTABLE"
13539><P
13540></P
13541><TABLE
13542BORDER="0"
13543WIDTH="100%"
13544BGCOLOR="#FFD0D0"
13545CELLSPACING="0"
13546CELLPADDING="4"
13547CLASS="CALSTABLE"
13548><TR
13549><TD
13550WIDTH="20%"
13551ALIGN="RIGHT"
13552VALIGN="TOP"
13553><TT
13554CLASS="PARAMETER"
13555><I
13556>out_doc</I
13557></TT
13558>&nbsp;:</TD
13559><TD
13560WIDTH="80%"
13561ALIGN="LEFT"
13562VALIGN="TOP"
13563>&nbsp;</TD
13564></TR
13565><TR
13566><TD
13567WIDTH="20%"
13568ALIGN="RIGHT"
13569VALIGN="TOP"
13570><TT
13571CLASS="PARAMETER"
13572><I
13573>doc_txt_ptr</I
13574></TT
13575>&nbsp;:</TD
13576><TD
13577WIDTH="80%"
13578ALIGN="LEFT"
13579VALIGN="TOP"
13580>&nbsp;</TD
13581></TR
13582><TR
13583><TD
13584WIDTH="20%"
13585ALIGN="RIGHT"
13586VALIGN="TOP"
13587><TT
13588CLASS="PARAMETER"
13589><I
13590>doc_txt_len</I
13591></TT
13592>&nbsp;:</TD
13593><TD
13594WIDTH="80%"
13595ALIGN="LEFT"
13596VALIGN="TOP"
13597>&nbsp;</TD
13598></TR
13599><TR
13600><TD
13601WIDTH="20%"
13602ALIGN="RIGHT"
13603VALIGN="TOP"
13604><TT
13605CLASS="PARAMETER"
13606><I
13607>txt_encoding</I
13608></TT
13609>&nbsp;:</TD
13610><TD
13611WIDTH="80%"
13612ALIGN="LEFT"
13613VALIGN="TOP"
13614>&nbsp;</TD
13615></TR
13616><TR
13617><TD
13618WIDTH="20%"
13619ALIGN="RIGHT"
13620VALIGN="TOP"
13621><TT
13622CLASS="PARAMETER"
13623><I
13624>format</I
13625></TT
13626>&nbsp;:</TD
13627><TD
13628WIDTH="80%"
13629ALIGN="LEFT"
13630VALIGN="TOP"
13631>&#13;</TD
13632></TR
13633></TABLE
13634><P
13635></P
13636></DIV
13637></DIV
13638><HR><DIV
13639CLASS="REFSECT2"
13640><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013641NAME="AEN6934"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013642></A
13643><H3
13644><A
13645NAME="XMLDOCDUMP"
13646></A
13647>xmlDocDump ()</H3
13648><TABLE
13649BORDER="0"
13650BGCOLOR="#D6E8FF"
13651WIDTH="100%"
13652CELLPADDING="6"
13653><TR
13654><TD
13655><PRE
13656CLASS="PROGRAMLISTING"
13657>int xmlDocDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000013658HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013659>FILE</GTKDOCLINK
13660> *f,
13661 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013662HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013663>xmlDocPtr</A
13664> cur);</PRE
13665></TD
13666></TR
13667></TABLE
13668><P
13669>Dump an XML document to an open FILE.</P
13670><P
13671></P
13672><DIV
13673CLASS="INFORMALTABLE"
13674><P
13675></P
13676><TABLE
13677BORDER="0"
13678WIDTH="100%"
13679BGCOLOR="#FFD0D0"
13680CELLSPACING="0"
13681CELLPADDING="4"
13682CLASS="CALSTABLE"
13683><TR
13684><TD
13685WIDTH="20%"
13686ALIGN="RIGHT"
13687VALIGN="TOP"
13688><TT
13689CLASS="PARAMETER"
13690><I
13691>f</I
13692></TT
13693>&nbsp;:</TD
13694><TD
13695WIDTH="80%"
13696ALIGN="LEFT"
13697VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013698> the FILE*</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013699></TR
13700><TR
13701><TD
13702WIDTH="20%"
13703ALIGN="RIGHT"
13704VALIGN="TOP"
13705><TT
13706CLASS="PARAMETER"
13707><I
13708>cur</I
13709></TT
13710>&nbsp;:</TD
13711><TD
13712WIDTH="80%"
13713ALIGN="LEFT"
13714VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013715> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013716></TR
13717><TR
13718><TD
13719WIDTH="20%"
13720ALIGN="RIGHT"
13721VALIGN="TOP"
13722><I
13723CLASS="EMPHASIS"
13724>Returns</I
13725> :</TD
13726><TD
13727WIDTH="80%"
13728ALIGN="LEFT"
13729VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013730> the number of byte written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013731></TR
13732></TABLE
13733><P
13734></P
13735></DIV
13736></DIV
13737><HR><DIV
13738CLASS="REFSECT2"
13739><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013740NAME="AEN6959"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013741></A
13742><H3
13743><A
13744NAME="XMLELEMDUMP"
13745></A
13746>xmlElemDump ()</H3
13747><TABLE
13748BORDER="0"
13749BGCOLOR="#D6E8FF"
13750WIDTH="100%"
13751CELLPADDING="6"
13752><TR
13753><TD
13754><PRE
13755CLASS="PROGRAMLISTING"
13756>void xmlElemDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000013757HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013758>FILE</GTKDOCLINK
13759> *f,
13760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013761HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013762>xmlDocPtr</A
13763> doc,
13764 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013765HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013766>xmlNodePtr</A
13767> cur);</PRE
13768></TD
13769></TR
13770></TABLE
13771><P
13772>Dump an XML/HTML node, recursive behaviour,children are printed too.</P
13773><P
13774></P
13775><DIV
13776CLASS="INFORMALTABLE"
13777><P
13778></P
13779><TABLE
13780BORDER="0"
13781WIDTH="100%"
13782BGCOLOR="#FFD0D0"
13783CELLSPACING="0"
13784CELLPADDING="4"
13785CLASS="CALSTABLE"
13786><TR
13787><TD
13788WIDTH="20%"
13789ALIGN="RIGHT"
13790VALIGN="TOP"
13791><TT
13792CLASS="PARAMETER"
13793><I
13794>f</I
13795></TT
13796>&nbsp;:</TD
13797><TD
13798WIDTH="80%"
13799ALIGN="LEFT"
13800VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013801> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013802></TR
13803><TR
13804><TD
13805WIDTH="20%"
13806ALIGN="RIGHT"
13807VALIGN="TOP"
13808><TT
13809CLASS="PARAMETER"
13810><I
13811>doc</I
13812></TT
13813>&nbsp;:</TD
13814><TD
13815WIDTH="80%"
13816ALIGN="LEFT"
13817VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013818> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013819></TR
13820><TR
13821><TD
13822WIDTH="20%"
13823ALIGN="RIGHT"
13824VALIGN="TOP"
13825><TT
13826CLASS="PARAMETER"
13827><I
13828>cur</I
13829></TT
13830>&nbsp;:</TD
13831><TD
13832WIDTH="80%"
13833ALIGN="LEFT"
13834VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013835> the current node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013836></TR
13837></TABLE
13838><P
13839></P
13840></DIV
13841></DIV
13842><HR><DIV
13843CLASS="REFSECT2"
13844><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013845NAME="AEN6985"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013846></A
13847><H3
13848><A
13849NAME="XMLSAVEFILE"
13850></A
13851>xmlSaveFile ()</H3
13852><TABLE
13853BORDER="0"
13854BGCOLOR="#D6E8FF"
13855WIDTH="100%"
13856CELLPADDING="6"
13857><TR
13858><TD
13859><PRE
13860CLASS="PROGRAMLISTING"
13861>int xmlSaveFile (const char *filename,
13862 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013863HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013864>xmlDocPtr</A
13865> cur);</PRE
13866></TD
13867></TR
13868></TABLE
13869><P
13870>Dump an XML document to a file. Will use compression if
13871compiled in and enabled. If <TT
13872CLASS="PARAMETER"
13873><I
13874>filename</I
13875></TT
13876> is "-" the stdout file is
13877used.</P
13878><P
13879></P
13880><DIV
13881CLASS="INFORMALTABLE"
13882><P
13883></P
13884><TABLE
13885BORDER="0"
13886WIDTH="100%"
13887BGCOLOR="#FFD0D0"
13888CELLSPACING="0"
13889CELLPADDING="4"
13890CLASS="CALSTABLE"
13891><TR
13892><TD
13893WIDTH="20%"
13894ALIGN="RIGHT"
13895VALIGN="TOP"
13896><TT
13897CLASS="PARAMETER"
13898><I
13899>filename</I
13900></TT
13901>&nbsp;:</TD
13902><TD
13903WIDTH="80%"
13904ALIGN="LEFT"
13905VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013906> the filename (or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013907></TR
13908><TR
13909><TD
13910WIDTH="20%"
13911ALIGN="RIGHT"
13912VALIGN="TOP"
13913><TT
13914CLASS="PARAMETER"
13915><I
13916>cur</I
13917></TT
13918>&nbsp;:</TD
13919><TD
13920WIDTH="80%"
13921ALIGN="LEFT"
13922VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013923> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013924></TR
13925><TR
13926><TD
13927WIDTH="20%"
13928ALIGN="RIGHT"
13929VALIGN="TOP"
13930><I
13931CLASS="EMPHASIS"
13932>Returns</I
13933> :</TD
13934><TD
13935WIDTH="80%"
13936ALIGN="LEFT"
13937VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000013938> the number of byte written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013939></TR
13940></TABLE
13941><P
13942></P
13943></DIV
13944></DIV
13945><HR><DIV
13946CLASS="REFSECT2"
13947><A
Daniel Veillarde356c282001-03-10 12:32:04 +000013948NAME="AEN7010"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000013949></A
13950><H3
13951><A
13952NAME="XMLNODEDUMP"
13953></A
13954>xmlNodeDump ()</H3
13955><TABLE
13956BORDER="0"
13957BGCOLOR="#D6E8FF"
13958WIDTH="100%"
13959CELLPADDING="6"
13960><TR
13961><TD
13962><PRE
13963CLASS="PROGRAMLISTING"
13964>void xmlNodeDump (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013965HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000013966>xmlBufferPtr</A
13967> buf,
13968 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013969HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000013970>xmlDocPtr</A
13971> doc,
13972 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013973HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000013974>xmlNodePtr</A
13975> cur,
13976 int level,
13977 int format);</PRE
13978></TD
13979></TR
13980></TABLE
13981><P
13982>Dump an XML node, recursive behaviour,children are printed too.</P
13983><P
13984></P
13985><DIV
13986CLASS="INFORMALTABLE"
13987><P
13988></P
13989><TABLE
13990BORDER="0"
13991WIDTH="100%"
13992BGCOLOR="#FFD0D0"
13993CELLSPACING="0"
13994CELLPADDING="4"
13995CLASS="CALSTABLE"
13996><TR
13997><TD
13998WIDTH="20%"
13999ALIGN="RIGHT"
14000VALIGN="TOP"
14001><TT
14002CLASS="PARAMETER"
14003><I
14004>buf</I
14005></TT
14006>&nbsp;:</TD
14007><TD
14008WIDTH="80%"
14009ALIGN="LEFT"
14010VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014011> the XML buffer output</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000014012></TR
14013><TR
14014><TD
14015WIDTH="20%"
14016ALIGN="RIGHT"
14017VALIGN="TOP"
14018><TT
14019CLASS="PARAMETER"
14020><I
14021>doc</I
14022></TT
14023>&nbsp;:</TD
14024><TD
14025WIDTH="80%"
14026ALIGN="LEFT"
14027VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014028> the document</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000014029></TR
14030><TR
14031><TD
14032WIDTH="20%"
14033ALIGN="RIGHT"
14034VALIGN="TOP"
14035><TT
14036CLASS="PARAMETER"
14037><I
14038>cur</I
14039></TT
14040>&nbsp;:</TD
14041><TD
14042WIDTH="80%"
14043ALIGN="LEFT"
14044VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014045> the current node</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000014046></TR
14047><TR
14048><TD
14049WIDTH="20%"
14050ALIGN="RIGHT"
14051VALIGN="TOP"
14052><TT
14053CLASS="PARAMETER"
14054><I
14055>level</I
14056></TT
14057>&nbsp;:</TD
14058><TD
14059WIDTH="80%"
14060ALIGN="LEFT"
14061VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014062> the imbrication level for indenting</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000014063></TR
14064><TR
14065><TD
14066WIDTH="20%"
14067ALIGN="RIGHT"
14068VALIGN="TOP"
14069><TT
14070CLASS="PARAMETER"
14071><I
14072>format</I
14073></TT
14074>&nbsp;:</TD
14075><TD
14076WIDTH="80%"
14077ALIGN="LEFT"
14078VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014079> is formatting allowed</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000014080></TR
14081></TABLE
14082><P
14083></P
14084></DIV
14085></DIV
14086><HR><DIV
14087CLASS="REFSECT2"
14088><A
Daniel Veillarde356c282001-03-10 12:32:04 +000014089NAME="AEN7044"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014090></A
14091><H3
14092><A
14093NAME="XMLSAVEFILEENC"
14094></A
14095>xmlSaveFileEnc ()</H3
14096><TABLE
14097BORDER="0"
14098BGCOLOR="#D6E8FF"
14099WIDTH="100%"
14100CELLPADDING="6"
14101><TR
14102><TD
14103><PRE
14104CLASS="PROGRAMLISTING"
14105>int xmlSaveFileEnc (const char *filename,
14106 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014107HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014108>xmlDocPtr</A
14109> cur,
14110 const char *encoding);</PRE
14111></TD
14112></TR
14113></TABLE
14114><P
14115>Dump an XML document, converting it to the given encoding</P
14116><P
14117></P
14118><DIV
14119CLASS="INFORMALTABLE"
14120><P
14121></P
14122><TABLE
14123BORDER="0"
14124WIDTH="100%"
14125BGCOLOR="#FFD0D0"
14126CELLSPACING="0"
14127CELLPADDING="4"
14128CLASS="CALSTABLE"
14129><TR
14130><TD
14131WIDTH="20%"
14132ALIGN="RIGHT"
14133VALIGN="TOP"
14134><TT
14135CLASS="PARAMETER"
14136><I
14137>filename</I
14138></TT
14139>&nbsp;:</TD
14140><TD
14141WIDTH="80%"
14142ALIGN="LEFT"
14143VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014144> the filename (or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014145></TR
14146><TR
14147><TD
14148WIDTH="20%"
14149ALIGN="RIGHT"
14150VALIGN="TOP"
14151><TT
14152CLASS="PARAMETER"
14153><I
14154>cur</I
14155></TT
14156>&nbsp;:</TD
14157><TD
14158WIDTH="80%"
14159ALIGN="LEFT"
14160VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014161> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014162></TR
14163><TR
14164><TD
14165WIDTH="20%"
14166ALIGN="RIGHT"
14167VALIGN="TOP"
14168><TT
14169CLASS="PARAMETER"
14170><I
14171>encoding</I
14172></TT
14173>&nbsp;:</TD
14174><TD
14175WIDTH="80%"
14176ALIGN="LEFT"
14177VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014178> the name of an encoding (or NULL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014179></TR
14180><TR
14181><TD
14182WIDTH="20%"
14183ALIGN="RIGHT"
14184VALIGN="TOP"
14185><I
14186CLASS="EMPHASIS"
14187>Returns</I
14188> :</TD
14189><TD
14190WIDTH="80%"
14191ALIGN="LEFT"
14192VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014193> the number of byte written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014194></TR
14195></TABLE
14196><P
14197></P
14198></DIV
14199></DIV
14200><HR><DIV
14201CLASS="REFSECT2"
14202><A
Daniel Veillarde356c282001-03-10 12:32:04 +000014203NAME="AEN7072"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014204></A
14205><H3
14206><A
14207NAME="XMLGETDOCCOMPRESSMODE"
14208></A
14209>xmlGetDocCompressMode ()</H3
14210><TABLE
14211BORDER="0"
14212BGCOLOR="#D6E8FF"
14213WIDTH="100%"
14214CELLPADDING="6"
14215><TR
14216><TD
14217><PRE
14218CLASS="PROGRAMLISTING"
14219>int xmlGetDocCompressMode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014220HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014221>xmlDocPtr</A
14222> doc);</PRE
14223></TD
14224></TR
14225></TABLE
14226><P
14227>get the compression ratio for a document, ZLIB based</P
14228><P
14229></P
14230><DIV
14231CLASS="INFORMALTABLE"
14232><P
14233></P
14234><TABLE
14235BORDER="0"
14236WIDTH="100%"
14237BGCOLOR="#FFD0D0"
14238CELLSPACING="0"
14239CELLPADDING="4"
14240CLASS="CALSTABLE"
14241><TR
14242><TD
14243WIDTH="20%"
14244ALIGN="RIGHT"
14245VALIGN="TOP"
14246><TT
14247CLASS="PARAMETER"
14248><I
14249>doc</I
14250></TT
14251>&nbsp;:</TD
14252><TD
14253WIDTH="80%"
14254ALIGN="LEFT"
14255VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014256> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014257></TR
14258><TR
14259><TD
14260WIDTH="20%"
14261ALIGN="RIGHT"
14262VALIGN="TOP"
14263><I
14264CLASS="EMPHASIS"
14265>Returns</I
14266> :</TD
14267><TD
14268WIDTH="80%"
14269ALIGN="LEFT"
14270VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014271>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014272></TR
14273></TABLE
14274><P
14275></P
14276></DIV
14277></DIV
14278><HR><DIV
14279CLASS="REFSECT2"
14280><A
Daniel Veillarde356c282001-03-10 12:32:04 +000014281NAME="AEN7092"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014282></A
14283><H3
14284><A
14285NAME="XMLSETDOCCOMPRESSMODE"
14286></A
14287>xmlSetDocCompressMode ()</H3
14288><TABLE
14289BORDER="0"
14290BGCOLOR="#D6E8FF"
14291WIDTH="100%"
14292CELLPADDING="6"
14293><TR
14294><TD
14295><PRE
14296CLASS="PROGRAMLISTING"
14297>void xmlSetDocCompressMode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014298HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014299>xmlDocPtr</A
14300> doc,
14301 int mode);</PRE
14302></TD
14303></TR
14304></TABLE
14305><P
14306>set the compression ratio for a document, ZLIB based
14307Correct values: 0 (uncompressed) to 9 (max compression)</P
14308><P
14309></P
14310><DIV
14311CLASS="INFORMALTABLE"
14312><P
14313></P
14314><TABLE
14315BORDER="0"
14316WIDTH="100%"
14317BGCOLOR="#FFD0D0"
14318CELLSPACING="0"
14319CELLPADDING="4"
14320CLASS="CALSTABLE"
14321><TR
14322><TD
14323WIDTH="20%"
14324ALIGN="RIGHT"
14325VALIGN="TOP"
14326><TT
14327CLASS="PARAMETER"
14328><I
14329>doc</I
14330></TT
14331>&nbsp;:</TD
14332><TD
14333WIDTH="80%"
14334ALIGN="LEFT"
14335VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014336> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014337></TR
14338><TR
14339><TD
14340WIDTH="20%"
14341ALIGN="RIGHT"
14342VALIGN="TOP"
14343><TT
14344CLASS="PARAMETER"
14345><I
14346>mode</I
14347></TT
14348>&nbsp;:</TD
14349><TD
14350WIDTH="80%"
14351ALIGN="LEFT"
14352VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014353> the compression ratio</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014354></TR
14355></TABLE
14356><P
14357></P
14358></DIV
14359></DIV
14360><HR><DIV
14361CLASS="REFSECT2"
14362><A
Daniel Veillarde356c282001-03-10 12:32:04 +000014363NAME="AEN7112"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014364></A
14365><H3
14366><A
14367NAME="XMLGETCOMPRESSMODE"
14368></A
14369>xmlGetCompressMode ()</H3
14370><TABLE
14371BORDER="0"
14372BGCOLOR="#D6E8FF"
14373WIDTH="100%"
14374CELLPADDING="6"
14375><TR
14376><TD
14377><PRE
14378CLASS="PROGRAMLISTING"
14379>int xmlGetCompressMode (void);</PRE
14380></TD
14381></TR
14382></TABLE
14383><P
14384>get the default compression mode used, ZLIB based.</P
14385><P
14386></P
14387><DIV
14388CLASS="INFORMALTABLE"
14389><P
14390></P
14391><TABLE
14392BORDER="0"
14393WIDTH="100%"
14394BGCOLOR="#FFD0D0"
14395CELLSPACING="0"
14396CELLPADDING="4"
14397CLASS="CALSTABLE"
14398><TR
14399><TD
14400WIDTH="20%"
14401ALIGN="RIGHT"
14402VALIGN="TOP"
14403><I
14404CLASS="EMPHASIS"
14405>Returns</I
14406> :</TD
14407><TD
14408WIDTH="80%"
14409ALIGN="LEFT"
14410VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014411>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014412></TR
14413></TABLE
14414><P
14415></P
14416></DIV
14417></DIV
14418><HR><DIV
14419CLASS="REFSECT2"
14420><A
Daniel Veillarde356c282001-03-10 12:32:04 +000014421NAME="AEN7127"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014422></A
14423><H3
14424><A
14425NAME="XMLSETCOMPRESSMODE"
14426></A
14427>xmlSetCompressMode ()</H3
14428><TABLE
14429BORDER="0"
14430BGCOLOR="#D6E8FF"
14431WIDTH="100%"
14432CELLPADDING="6"
14433><TR
14434><TD
14435><PRE
14436CLASS="PROGRAMLISTING"
14437>void xmlSetCompressMode (int mode);</PRE
14438></TD
14439></TR
14440></TABLE
14441><P
14442>set the default compression mode used, ZLIB based
14443Correct values: 0 (uncompressed) to 9 (max compression)</P
14444><P
14445></P
14446><DIV
14447CLASS="INFORMALTABLE"
14448><P
14449></P
14450><TABLE
14451BORDER="0"
14452WIDTH="100%"
14453BGCOLOR="#FFD0D0"
14454CELLSPACING="0"
14455CELLPADDING="4"
14456CLASS="CALSTABLE"
14457><TR
14458><TD
14459WIDTH="20%"
14460ALIGN="RIGHT"
14461VALIGN="TOP"
14462><TT
14463CLASS="PARAMETER"
14464><I
14465>mode</I
14466></TT
14467>&nbsp;:</TD
14468><TD
14469WIDTH="80%"
14470ALIGN="LEFT"
14471VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000014472> the compression ratio</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014473></TR
14474></TABLE
14475><P
14476></P
14477></DIV
14478></DIV
14479></DIV
14480><DIV
14481CLASS="NAVFOOTER"
14482><BR
14483CLEAR="all"><BR><TABLE
14484WIDTH="100%"
14485BORDER="0"
14486BGCOLOR="#000000"
14487CELLPADDING="1"
14488CELLSPACING="0"
14489><TR
14490><TD
14491WIDTH="25%"
14492BGCOLOR="#C00000"
14493ALIGN="left"
14494><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014495HREF="libxml-sax.html"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014496><FONT
14497COLOR="#FFFFFF"
14498SIZE="3"
14499><B
14500>&#60;&#60;&#60; Previous Page</B
14501></FONT
14502></A
14503></TD
14504><TD
14505WIDTH="25%"
14506BGCOLOR="#0000C0"
14507ALIGN="center"
14508><FONT
14509COLOR="#FFFFFF"
14510SIZE="3"
14511><B
14512><A
14513HREF="book1.html"
14514><FONT
14515COLOR="#FFFFFF"
14516SIZE="3"
14517><B
14518>Home</B
14519></FONT
14520></A
14521></B
14522></FONT
14523></TD
14524><TD
14525WIDTH="25%"
14526BGCOLOR="#00C000"
14527ALIGN="center"
14528><FONT
14529COLOR="#FFFFFF"
14530SIZE="3"
14531><B
14532><A
14533HREF="libxml-lib.html"
14534><FONT
14535COLOR="#FFFFFF"
14536SIZE="3"
14537><B
14538>Up</B
14539></FONT
14540></A
14541></B
14542></FONT
14543></TD
14544><TD
14545WIDTH="25%"
14546BGCOLOR="#C00000"
14547ALIGN="right"
14548><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014549HREF="libxml-entities.html"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014550><FONT
14551COLOR="#FFFFFF"
14552SIZE="3"
14553><B
14554>Next Page &#62;&#62;&#62;</B
14555></FONT
14556></A
14557></TD
14558></TR
14559><TR
14560><TD
14561COLSPAN="2"
14562ALIGN="left"
14563><FONT
14564COLOR="#FFFFFF"
14565SIZE="3"
14566><B
14567>SAX</B
14568></FONT
14569></TD
14570><TD
14571COLSPAN="2"
14572ALIGN="right"
14573><FONT
14574COLOR="#FFFFFF"
14575SIZE="3"
14576><B
14577>entities</B
14578></FONT
14579></TD
14580></TR
14581></TABLE
14582></DIV
14583></BODY
14584></HTML
Daniel Veillard35925471999-02-25 08:46:07 +000014585>