blob: c016261652f131def54692c8bd44fd343ed79cfa [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>tree</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
8REL="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"
16HREF="gnome-xml-sax.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000017REL="NEXT"
18TITLE="entities"
19HREF="gnome-xml-entities.html"></HEAD
20><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000047HREF="gnome-xml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000100><A
101HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
Daniel Veillard35925471999-02-25 08:46:07 +0000109></TD
110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
114>tree</H1
115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillardf600e251999-12-18 15:32:46 +0000118NAME="AEN2841"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000122>tree &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillardf600e251999-12-18 15:32:46 +0000126NAME="AEN2844"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
141enum <A
142HREF="gnome-xml-tree.html#XMLELEMENTTYPE"
143>xmlElementType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000144>;
Daniel Veillard35925471999-02-25 08:46:07 +0000145typedef <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000146HREF="gnome-xml-tree.html#XMLCHAR"
147>xmlChar</A
148>;
149#define <A
Daniel Veillard35925471999-02-25 08:46:07 +0000150HREF="gnome-xml-tree.html#CHAR"
151>CHAR</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000152>
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000153#define <A
154HREF="gnome-xml-tree.html#BAD-CAST"
155>BAD_CAST</A
156>
Daniel Veillard35925471999-02-25 08:46:07 +0000157typedef <A
158HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
159>xmlNotationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000160>;
Daniel Veillard35925471999-02-25 08:46:07 +0000161enum <A
162HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
163>xmlAttributeType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000164>;
Daniel Veillard35925471999-02-25 08:46:07 +0000165enum <A
166HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
167>xmlAttributeDefault</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169typedef <A
170HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
171>xmlEnumerationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000172>;
Daniel Veillard35925471999-02-25 08:46:07 +0000173typedef <A
174HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
175>xmlAttributePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177enum <A
178HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
179>xmlElementContentType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000180>;
Daniel Veillard35925471999-02-25 08:46:07 +0000181enum <A
182HREF="gnome-xml-tree.html#XMLELEMENTCONTENTOCCUR"
183>xmlElementContentOccur</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000184>;
Daniel Veillard35925471999-02-25 08:46:07 +0000185typedef <A
186HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
187>xmlElementContentPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000188>;
Daniel Veillard35925471999-02-25 08:46:07 +0000189enum <A
190HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
191>xmlElementTypeVal</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193typedef <A
194HREF="gnome-xml-tree.html#XMLELEMENTPTR"
195>xmlElementPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000196>;
Daniel Veillard35925471999-02-25 08:46:07 +0000197enum <A
198HREF="gnome-xml-tree.html#XMLNSTYPE"
199>xmlNsType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000200>;
Daniel Veillard35925471999-02-25 08:46:07 +0000201typedef <A
202HREF="gnome-xml-tree.html#XMLNSPTR"
203>xmlNsPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000204>;
Daniel Veillard35925471999-02-25 08:46:07 +0000205typedef <A
206HREF="gnome-xml-tree.html#XMLDTDPTR"
207>xmlDtdPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000208>;
Daniel Veillard35925471999-02-25 08:46:07 +0000209typedef <A
210HREF="gnome-xml-tree.html#XMLATTRPTR"
211>xmlAttrPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000212>;
Daniel Veillard35925471999-02-25 08:46:07 +0000213typedef <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000214HREF="gnome-xml-tree.html#XMLIDPTR"
215>xmlIDPtr</A
216>;
217typedef <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000218HREF="gnome-xml-tree.html#XMLREFPTR"
219>xmlRefPtr</A
220>;
Daniel Veillard294cbca1999-12-03 13:19:09 +0000221enum <A
222HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME"
223>xmlBufferAllocationScheme</A
224>;
225typedef <A
226HREF="gnome-xml-tree.html#XMLBUFFER"
227>xmlBuffer</A
228>;
229typedef <A
230HREF="gnome-xml-tree.html#XMLBUFFERPTR"
231>xmlBufferPtr</A
232>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000233typedef <A
Daniel Veillard35925471999-02-25 08:46:07 +0000234HREF="gnome-xml-tree.html#XMLNODE"
235>xmlNode</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000236>;
Daniel Veillard35925471999-02-25 08:46:07 +0000237typedef <A
238HREF="gnome-xml-tree.html#XMLNODEPTR"
239>xmlNodePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000240>;
Daniel Veillard35925471999-02-25 08:46:07 +0000241typedef <A
242HREF="gnome-xml-tree.html#XMLDOC"
243>xmlDoc</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000244>;
Daniel Veillard35925471999-02-25 08:46:07 +0000245typedef <A
246HREF="gnome-xml-tree.html#XMLDOCPTR"
247>xmlDocPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000248>;
Daniel Veillard14fff061999-06-22 21:49:07 +0000249extern xmlNsPtr <A
250HREF="gnome-xml-tree.html#BASEDTD"
251>baseDTD</A
252>;
253extern int <A
254HREF="gnome-xml-tree.html#OLDXMLWDCOMPATIBILITY"
255>oldXMLWDcompatibility</A
256>;
257extern int <A
258HREF="gnome-xml-tree.html#XMLINDENTTREEOUTPUT"
259>xmlIndentTreeOutput</A
260>;
Daniel Veillard294cbca1999-12-03 13:19:09 +0000261extern xmlBufferAllocationScheme <A
262HREF="gnome-xml-tree.html#XMLBUFFERALLOCSCHEME"
263>xmlBufferAllocScheme</A
264>;
Daniel Veillard5099ae81999-04-21 20:12:07 +0000265<A
266HREF="gnome-xml-tree.html#XMLBUFFERPTR"
267>xmlBufferPtr</A
268> <A
269HREF="gnome-xml-tree.html#XMLBUFFERCREATE"
270>xmlBufferCreate</A
271> (void);
Daniel Veillard294cbca1999-12-03 13:19:09 +0000272<A
273HREF="gnome-xml-tree.html#XMLBUFFERPTR"
274>xmlBufferPtr</A
275> <A
276HREF="gnome-xml-tree.html#XMLBUFFERCREATESIZE"
277>xmlBufferCreateSize</A
278> (<GTKDOCLINK
279HREF="SIZE-T"
280>size_t</GTKDOCLINK
281> size);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000282void <A
283HREF="gnome-xml-tree.html#XMLBUFFERFREE"
284>xmlBufferFree</A
285> (<A
286HREF="gnome-xml-tree.html#XMLBUFFERPTR"
287>xmlBufferPtr</A
288> buf);
289int <A
290HREF="gnome-xml-tree.html#XMLBUFFERDUMP"
291>xmlBufferDump</A
292> (<GTKDOCLINK
293HREF="FILE"
294>FILE</GTKDOCLINK
295> *file,
296 <A
297HREF="gnome-xml-tree.html#XMLBUFFERPTR"
298>xmlBufferPtr</A
299> buf);
300void <A
301HREF="gnome-xml-tree.html#XMLBUFFERADD"
302>xmlBufferAdd</A
303> (<A
304HREF="gnome-xml-tree.html#XMLBUFFERPTR"
305>xmlBufferPtr</A
306> buf,
307 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000308HREF="gnome-xml-tree.html#XMLCHAR"
309>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000310> *str,
311 int len);
312void <A
313HREF="gnome-xml-tree.html#XMLBUFFERCAT"
314>xmlBufferCat</A
315> (<A
316HREF="gnome-xml-tree.html#XMLBUFFERPTR"
317>xmlBufferPtr</A
318> buf,
319 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000320HREF="gnome-xml-tree.html#XMLCHAR"
321>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000322> *str);
323void <A
324HREF="gnome-xml-tree.html#XMLBUFFERCCAT"
325>xmlBufferCCat</A
326> (<A
327HREF="gnome-xml-tree.html#XMLBUFFERPTR"
328>xmlBufferPtr</A
329> buf,
330 const char *str);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000331int <A
332HREF="gnome-xml-tree.html#XMLBUFFERSHRINK"
333>xmlBufferShrink</A
334> (<A
335HREF="gnome-xml-tree.html#XMLBUFFERPTR"
336>xmlBufferPtr</A
337> buf,
338 int len);
339void <A
340HREF="gnome-xml-tree.html#XMLBUFFEREMPTY"
341>xmlBufferEmpty</A
342> (<A
343HREF="gnome-xml-tree.html#XMLBUFFERPTR"
344>xmlBufferPtr</A
345> buf);
Daniel Veillard294cbca1999-12-03 13:19:09 +0000346const <A
347HREF="gnome-xml-tree.html#XMLCHAR"
348>xmlChar</A
349>* <A
350HREF="gnome-xml-tree.html#XMLBUFFERCONTENT"
351>xmlBufferContent</A
352> (const <A
353HREF="gnome-xml-tree.html#XMLBUFFERPTR"
354>xmlBufferPtr</A
355> buf);
356int <A
357HREF="gnome-xml-tree.html#XMLBUFFERUSE"
358>xmlBufferUse</A
359> (const <A
360HREF="gnome-xml-tree.html#XMLBUFFERPTR"
361>xmlBufferPtr</A
362> buf);
363void <A
364HREF="gnome-xml-tree.html#XMLBUFFERSETALLOCATIONSCHEME"
365>xmlBufferSetAllocationScheme</A
366> (<A
367HREF="gnome-xml-tree.html#XMLBUFFERPTR"
368>xmlBufferPtr</A
369> buf,
370 <A
371HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME"
372>xmlBufferAllocationScheme</A
373> scheme);
374int <A
375HREF="gnome-xml-tree.html#XMLBUFFERLENGTH"
376>xmlBufferLength</A
377> (const <A
378HREF="gnome-xml-tree.html#XMLBUFFERPTR"
379>xmlBufferPtr</A
380> buf);
Daniel Veillard35925471999-02-25 08:46:07 +0000381<A
382HREF="gnome-xml-tree.html#XMLDTDPTR"
383>xmlDtdPtr</A
384> <A
385HREF="gnome-xml-tree.html#XMLCREATEINTSUBSET"
386>xmlCreateIntSubset</A
387> (<A
388HREF="gnome-xml-tree.html#XMLDOCPTR"
389>xmlDocPtr</A
390> doc,
391 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000392HREF="gnome-xml-tree.html#XMLCHAR"
393>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000394> *name,
395 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000396HREF="gnome-xml-tree.html#XMLCHAR"
397>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000398> *ExternalID,
399 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000400HREF="gnome-xml-tree.html#XMLCHAR"
401>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000402> *SystemID);
403<A
404HREF="gnome-xml-tree.html#XMLDTDPTR"
405>xmlDtdPtr</A
406> <A
407HREF="gnome-xml-tree.html#XMLNEWDTD"
408>xmlNewDtd</A
409> (<A
410HREF="gnome-xml-tree.html#XMLDOCPTR"
411>xmlDocPtr</A
412> doc,
413 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000414HREF="gnome-xml-tree.html#XMLCHAR"
415>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000416> *name,
417 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000418HREF="gnome-xml-tree.html#XMLCHAR"
419>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000420> *ExternalID,
421 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000422HREF="gnome-xml-tree.html#XMLCHAR"
423>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000424> *SystemID);
425void <A
426HREF="gnome-xml-tree.html#XMLFREEDTD"
427>xmlFreeDtd</A
428> (<A
429HREF="gnome-xml-tree.html#XMLDTDPTR"
430>xmlDtdPtr</A
431> cur);
432<A
433HREF="gnome-xml-tree.html#XMLNSPTR"
434>xmlNsPtr</A
435> <A
436HREF="gnome-xml-tree.html#XMLNEWGLOBALNS"
437>xmlNewGlobalNs</A
438> (<A
439HREF="gnome-xml-tree.html#XMLDOCPTR"
440>xmlDocPtr</A
441> doc,
442 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000443HREF="gnome-xml-tree.html#XMLCHAR"
444>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000445> *href,
446 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000447HREF="gnome-xml-tree.html#XMLCHAR"
448>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000449> *prefix);
450<A
451HREF="gnome-xml-tree.html#XMLNSPTR"
452>xmlNsPtr</A
453> <A
454HREF="gnome-xml-tree.html#XMLNEWNS"
455>xmlNewNs</A
456> (<A
457HREF="gnome-xml-tree.html#XMLNODEPTR"
458>xmlNodePtr</A
459> node,
460 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000461HREF="gnome-xml-tree.html#XMLCHAR"
462>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000463> *href,
464 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000465HREF="gnome-xml-tree.html#XMLCHAR"
466>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000467> *prefix);
468void <A
469HREF="gnome-xml-tree.html#XMLFREENS"
470>xmlFreeNs</A
471> (<A
472HREF="gnome-xml-tree.html#XMLNSPTR"
473>xmlNsPtr</A
474> cur);
475<A
476HREF="gnome-xml-tree.html#XMLDOCPTR"
477>xmlDocPtr</A
478> <A
479HREF="gnome-xml-tree.html#XMLNEWDOC"
480>xmlNewDoc</A
481> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000482HREF="gnome-xml-tree.html#XMLCHAR"
483>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000484> *version);
485void <A
486HREF="gnome-xml-tree.html#XMLFREEDOC"
487>xmlFreeDoc</A
488> (<A
489HREF="gnome-xml-tree.html#XMLDOCPTR"
490>xmlDocPtr</A
491> cur);
492<A
493HREF="gnome-xml-tree.html#XMLATTRPTR"
494>xmlAttrPtr</A
495> <A
496HREF="gnome-xml-tree.html#XMLNEWDOCPROP"
497>xmlNewDocProp</A
498> (<A
499HREF="gnome-xml-tree.html#XMLDOCPTR"
500>xmlDocPtr</A
501> doc,
502 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000503HREF="gnome-xml-tree.html#XMLCHAR"
504>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000505> *name,
506 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000507HREF="gnome-xml-tree.html#XMLCHAR"
508>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000509> *value);
510<A
511HREF="gnome-xml-tree.html#XMLATTRPTR"
512>xmlAttrPtr</A
513> <A
514HREF="gnome-xml-tree.html#XMLNEWPROP"
515>xmlNewProp</A
516> (<A
517HREF="gnome-xml-tree.html#XMLNODEPTR"
518>xmlNodePtr</A
519> node,
520 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000521HREF="gnome-xml-tree.html#XMLCHAR"
522>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000523> *name,
524 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000525HREF="gnome-xml-tree.html#XMLCHAR"
526>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000527> *value);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000528<A
529HREF="gnome-xml-tree.html#XMLATTRPTR"
530>xmlAttrPtr</A
531> <A
532HREF="gnome-xml-tree.html#XMLNEWNSPROP"
533>xmlNewNsProp</A
534> (<A
535HREF="gnome-xml-tree.html#XMLNODEPTR"
536>xmlNodePtr</A
537> node,
538 <A
539HREF="gnome-xml-tree.html#XMLNSPTR"
540>xmlNsPtr</A
541> ns,
542 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000543HREF="gnome-xml-tree.html#XMLCHAR"
544>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000545> *name,
546 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000547HREF="gnome-xml-tree.html#XMLCHAR"
548>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000549> *value);
Daniel Veillard35925471999-02-25 08:46:07 +0000550void <A
551HREF="gnome-xml-tree.html#XMLFREEPROPLIST"
552>xmlFreePropList</A
553> (<A
554HREF="gnome-xml-tree.html#XMLATTRPTR"
555>xmlAttrPtr</A
556> cur);
557void <A
558HREF="gnome-xml-tree.html#XMLFREEPROP"
559>xmlFreeProp</A
560> (<A
561HREF="gnome-xml-tree.html#XMLATTRPTR"
562>xmlAttrPtr</A
563> cur);
564<A
565HREF="gnome-xml-tree.html#XMLATTRPTR"
566>xmlAttrPtr</A
567> <A
568HREF="gnome-xml-tree.html#XMLCOPYPROP"
569>xmlCopyProp</A
570> (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000571HREF="gnome-xml-tree.html#XMLNODEPTR"
572>xmlNodePtr</A
573> target,
574 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000575HREF="gnome-xml-tree.html#XMLATTRPTR"
576>xmlAttrPtr</A
577> cur);
578<A
579HREF="gnome-xml-tree.html#XMLATTRPTR"
580>xmlAttrPtr</A
581> <A
582HREF="gnome-xml-tree.html#XMLCOPYPROPLIST"
583>xmlCopyPropList</A
584> (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000585HREF="gnome-xml-tree.html#XMLNODEPTR"
586>xmlNodePtr</A
587> target,
588 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000589HREF="gnome-xml-tree.html#XMLATTRPTR"
590>xmlAttrPtr</A
591> cur);
592<A
593HREF="gnome-xml-tree.html#XMLDTDPTR"
594>xmlDtdPtr</A
595> <A
596HREF="gnome-xml-tree.html#XMLCOPYDTD"
597>xmlCopyDtd</A
598> (<A
599HREF="gnome-xml-tree.html#XMLDTDPTR"
600>xmlDtdPtr</A
601> dtd);
602<A
603HREF="gnome-xml-tree.html#XMLDOCPTR"
604>xmlDocPtr</A
605> <A
606HREF="gnome-xml-tree.html#XMLCOPYDOC"
607>xmlCopyDoc</A
608> (<A
609HREF="gnome-xml-tree.html#XMLDOCPTR"
610>xmlDocPtr</A
611> doc,
612 int recursive);
613<A
614HREF="gnome-xml-tree.html#XMLNODEPTR"
615>xmlNodePtr</A
616> <A
617HREF="gnome-xml-tree.html#XMLNEWDOCNODE"
618>xmlNewDocNode</A
619> (<A
620HREF="gnome-xml-tree.html#XMLDOCPTR"
621>xmlDocPtr</A
622> doc,
623 <A
624HREF="gnome-xml-tree.html#XMLNSPTR"
625>xmlNsPtr</A
626> ns,
627 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000628HREF="gnome-xml-tree.html#XMLCHAR"
629>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000630> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000631 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000632HREF="gnome-xml-tree.html#XMLCHAR"
633>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000634> *content);
635<A
636HREF="gnome-xml-tree.html#XMLNODEPTR"
637>xmlNodePtr</A
638> <A
Daniel Veillard11a48ec1999-11-23 10:40:46 +0000639HREF="gnome-xml-tree.html#XMLNEWDOCRAWNODE"
640>xmlNewDocRawNode</A
641> (<A
642HREF="gnome-xml-tree.html#XMLDOCPTR"
643>xmlDocPtr</A
644> doc,
645 <A
646HREF="gnome-xml-tree.html#XMLNSPTR"
647>xmlNsPtr</A
648> ns,
649 const <A
650HREF="gnome-xml-tree.html#XMLCHAR"
651>xmlChar</A
652> *name,
653 const <A
654HREF="gnome-xml-tree.html#XMLCHAR"
655>xmlChar</A
656> *content);
657<A
658HREF="gnome-xml-tree.html#XMLNODEPTR"
659>xmlNodePtr</A
660> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000661HREF="gnome-xml-tree.html#XMLNEWNODE"
662>xmlNewNode</A
663> (<A
664HREF="gnome-xml-tree.html#XMLNSPTR"
665>xmlNsPtr</A
666> ns,
667 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000668HREF="gnome-xml-tree.html#XMLCHAR"
669>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000670> *name);
671<A
672HREF="gnome-xml-tree.html#XMLNODEPTR"
673>xmlNodePtr</A
674> <A
675HREF="gnome-xml-tree.html#XMLNEWCHILD"
676>xmlNewChild</A
677> (<A
678HREF="gnome-xml-tree.html#XMLNODEPTR"
679>xmlNodePtr</A
680> parent,
681 <A
682HREF="gnome-xml-tree.html#XMLNSPTR"
683>xmlNsPtr</A
684> ns,
685 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000686HREF="gnome-xml-tree.html#XMLCHAR"
687>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000688> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000689 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000690HREF="gnome-xml-tree.html#XMLCHAR"
691>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000692> *content);
693<A
694HREF="gnome-xml-tree.html#XMLNODEPTR"
695>xmlNodePtr</A
696> <A
Daniel Veillard11a48ec1999-11-23 10:40:46 +0000697HREF="gnome-xml-tree.html#XMLNEWTEXTCHILD"
698>xmlNewTextChild</A
699> (<A
700HREF="gnome-xml-tree.html#XMLNODEPTR"
701>xmlNodePtr</A
702> parent,
703 <A
704HREF="gnome-xml-tree.html#XMLNSPTR"
705>xmlNsPtr</A
706> ns,
707 const <A
708HREF="gnome-xml-tree.html#XMLCHAR"
709>xmlChar</A
710> *name,
711 const <A
712HREF="gnome-xml-tree.html#XMLCHAR"
713>xmlChar</A
714> *content);
715<A
716HREF="gnome-xml-tree.html#XMLNODEPTR"
717>xmlNodePtr</A
718> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000719HREF="gnome-xml-tree.html#XMLNEWDOCTEXT"
720>xmlNewDocText</A
721> (<A
722HREF="gnome-xml-tree.html#XMLDOCPTR"
723>xmlDocPtr</A
724> doc,
725 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000726HREF="gnome-xml-tree.html#XMLCHAR"
727>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000728> *content);
729<A
730HREF="gnome-xml-tree.html#XMLNODEPTR"
731>xmlNodePtr</A
732> <A
733HREF="gnome-xml-tree.html#XMLNEWTEXT"
734>xmlNewText</A
735> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000736HREF="gnome-xml-tree.html#XMLCHAR"
737>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000738> *content);
739<A
740HREF="gnome-xml-tree.html#XMLNODEPTR"
741>xmlNodePtr</A
742> <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000743HREF="gnome-xml-tree.html#XMLNEWPI"
744>xmlNewPI</A
745> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000746HREF="gnome-xml-tree.html#XMLCHAR"
747>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000748> *name,
749 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000750HREF="gnome-xml-tree.html#XMLCHAR"
751>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000752> *content);
753<A
754HREF="gnome-xml-tree.html#XMLNODEPTR"
755>xmlNodePtr</A
756> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000757HREF="gnome-xml-tree.html#XMLNEWDOCTEXTLEN"
758>xmlNewDocTextLen</A
759> (<A
760HREF="gnome-xml-tree.html#XMLDOCPTR"
761>xmlDocPtr</A
762> doc,
763 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000764HREF="gnome-xml-tree.html#XMLCHAR"
765>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000766> *content,
767 int len);
768<A
769HREF="gnome-xml-tree.html#XMLNODEPTR"
770>xmlNodePtr</A
771> <A
772HREF="gnome-xml-tree.html#XMLNEWTEXTLEN"
773>xmlNewTextLen</A
774> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000775HREF="gnome-xml-tree.html#XMLCHAR"
776>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000777> *content,
778 int len);
779<A
780HREF="gnome-xml-tree.html#XMLNODEPTR"
781>xmlNodePtr</A
782> <A
783HREF="gnome-xml-tree.html#XMLNEWDOCCOMMENT"
784>xmlNewDocComment</A
785> (<A
786HREF="gnome-xml-tree.html#XMLDOCPTR"
787>xmlDocPtr</A
788> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000789 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000790HREF="gnome-xml-tree.html#XMLCHAR"
791>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000792> *content);
793<A
794HREF="gnome-xml-tree.html#XMLNODEPTR"
795>xmlNodePtr</A
796> <A
797HREF="gnome-xml-tree.html#XMLNEWCOMMENT"
798>xmlNewComment</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000799> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000800HREF="gnome-xml-tree.html#XMLCHAR"
801>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000802> *content);
803<A
804HREF="gnome-xml-tree.html#XMLNODEPTR"
805>xmlNodePtr</A
806> <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000807HREF="gnome-xml-tree.html#XMLNEWCDATABLOCK"
808>xmlNewCDataBlock</A
809> (<A
810HREF="gnome-xml-tree.html#XMLDOCPTR"
811>xmlDocPtr</A
812> doc,
813 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000814HREF="gnome-xml-tree.html#XMLCHAR"
815>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000816> *content,
817 int len);
818<A
819HREF="gnome-xml-tree.html#XMLNODEPTR"
820>xmlNodePtr</A
821> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000822HREF="gnome-xml-tree.html#XMLNEWREFERENCE"
823>xmlNewReference</A
824> (<A
825HREF="gnome-xml-tree.html#XMLDOCPTR"
826>xmlDocPtr</A
827> doc,
828 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000829HREF="gnome-xml-tree.html#XMLCHAR"
830>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000831> *name);
832<A
833HREF="gnome-xml-tree.html#XMLNODEPTR"
834>xmlNodePtr</A
835> <A
836HREF="gnome-xml-tree.html#XMLCOPYNODE"
837>xmlCopyNode</A
838> (<A
839HREF="gnome-xml-tree.html#XMLNODEPTR"
840>xmlNodePtr</A
841> node,
842 int recursive);
843<A
844HREF="gnome-xml-tree.html#XMLNODEPTR"
845>xmlNodePtr</A
846> <A
847HREF="gnome-xml-tree.html#XMLCOPYNODELIST"
848>xmlCopyNodeList</A
849> (<A
850HREF="gnome-xml-tree.html#XMLNODEPTR"
851>xmlNodePtr</A
852> node);
853<A
854HREF="gnome-xml-tree.html#XMLNODEPTR"
855>xmlNodePtr</A
856> <A
Daniel Veillard944b5ff1999-12-15 19:08:24 +0000857HREF="gnome-xml-tree.html#XMLDOCGETROOTELEMENT"
858>xmlDocGetRootElement</A
859> (<A
860HREF="gnome-xml-tree.html#XMLDOCPTR"
861>xmlDocPtr</A
862> doc);
863<A
864HREF="gnome-xml-tree.html#XMLNODEPTR"
865>xmlNodePtr</A
866> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000867HREF="gnome-xml-tree.html#XMLGETLASTCHILD"
868>xmlGetLastChild</A
869> (<A
870HREF="gnome-xml-tree.html#XMLNODEPTR"
871>xmlNodePtr</A
872> parent);
873int <A
874HREF="gnome-xml-tree.html#XMLNODEISTEXT"
875>xmlNodeIsText</A
876> (<A
877HREF="gnome-xml-tree.html#XMLNODEPTR"
878>xmlNodePtr</A
879> node);
880<A
881HREF="gnome-xml-tree.html#XMLNODEPTR"
882>xmlNodePtr</A
883> <A
884HREF="gnome-xml-tree.html#XMLADDCHILD"
885>xmlAddChild</A
886> (<A
887HREF="gnome-xml-tree.html#XMLNODEPTR"
888>xmlNodePtr</A
889> parent,
890 <A
891HREF="gnome-xml-tree.html#XMLNODEPTR"
892>xmlNodePtr</A
893> cur);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000894<A
895HREF="gnome-xml-tree.html#XMLNODEPTR"
896>xmlNodePtr</A
897> <A
898HREF="gnome-xml-tree.html#XMLADDSIBLING"
899>xmlAddSibling</A
900> (<A
901HREF="gnome-xml-tree.html#XMLNODEPTR"
902>xmlNodePtr</A
903> cur,
904 <A
905HREF="gnome-xml-tree.html#XMLNODEPTR"
906>xmlNodePtr</A
907> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000908void <A
909HREF="gnome-xml-tree.html#XMLUNLINKNODE"
910>xmlUnlinkNode</A
911> (<A
912HREF="gnome-xml-tree.html#XMLNODEPTR"
913>xmlNodePtr</A
914> cur);
915<A
916HREF="gnome-xml-tree.html#XMLNODEPTR"
917>xmlNodePtr</A
918> <A
919HREF="gnome-xml-tree.html#XMLTEXTMERGE"
920>xmlTextMerge</A
921> (<A
922HREF="gnome-xml-tree.html#XMLNODEPTR"
923>xmlNodePtr</A
924> first,
925 <A
926HREF="gnome-xml-tree.html#XMLNODEPTR"
927>xmlNodePtr</A
928> second);
929void <A
930HREF="gnome-xml-tree.html#XMLTEXTCONCAT"
931>xmlTextConcat</A
932> (<A
933HREF="gnome-xml-tree.html#XMLNODEPTR"
934>xmlNodePtr</A
935> node,
936 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000937HREF="gnome-xml-tree.html#XMLCHAR"
938>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000939> *content,
940 int len);
941void <A
942HREF="gnome-xml-tree.html#XMLFREENODELIST"
943>xmlFreeNodeList</A
944> (<A
945HREF="gnome-xml-tree.html#XMLNODEPTR"
946>xmlNodePtr</A
947> cur);
948void <A
949HREF="gnome-xml-tree.html#XMLFREENODE"
950>xmlFreeNode</A
951> (<A
952HREF="gnome-xml-tree.html#XMLNODEPTR"
953>xmlNodePtr</A
954> cur);
955<A
956HREF="gnome-xml-tree.html#XMLNSPTR"
957>xmlNsPtr</A
958> <A
959HREF="gnome-xml-tree.html#XMLSEARCHNS"
960>xmlSearchNs</A
961> (<A
962HREF="gnome-xml-tree.html#XMLDOCPTR"
963>xmlDocPtr</A
964> doc,
965 <A
966HREF="gnome-xml-tree.html#XMLNODEPTR"
967>xmlNodePtr</A
968> node,
969 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000970HREF="gnome-xml-tree.html#XMLCHAR"
971>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000972> *nameSpace);
973<A
974HREF="gnome-xml-tree.html#XMLNSPTR"
975>xmlNsPtr</A
976> <A
977HREF="gnome-xml-tree.html#XMLSEARCHNSBYHREF"
978>xmlSearchNsByHref</A
979> (<A
980HREF="gnome-xml-tree.html#XMLDOCPTR"
981>xmlDocPtr</A
982> doc,
983 <A
984HREF="gnome-xml-tree.html#XMLNODEPTR"
985>xmlNodePtr</A
986> node,
987 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000988HREF="gnome-xml-tree.html#XMLCHAR"
989>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000990> *href);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000991<A
992HREF="gnome-xml-tree.html#XMLNSPTR"
993>xmlNsPtr</A
994>* <A
995HREF="gnome-xml-tree.html#XMLGETNSLIST"
996>xmlGetNsList</A
997> (<A
998HREF="gnome-xml-tree.html#XMLDOCPTR"
999>xmlDocPtr</A
1000> doc,
1001 <A
1002HREF="gnome-xml-tree.html#XMLNODEPTR"
1003>xmlNodePtr</A
1004> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001005void <A
1006HREF="gnome-xml-tree.html#XMLSETNS"
1007>xmlSetNs</A
1008> (<A
1009HREF="gnome-xml-tree.html#XMLNODEPTR"
1010>xmlNodePtr</A
1011> node,
1012 <A
1013HREF="gnome-xml-tree.html#XMLNSPTR"
1014>xmlNsPtr</A
1015> ns);
1016<A
1017HREF="gnome-xml-tree.html#XMLNSPTR"
1018>xmlNsPtr</A
1019> <A
1020HREF="gnome-xml-tree.html#XMLCOPYNAMESPACE"
1021>xmlCopyNamespace</A
1022> (<A
1023HREF="gnome-xml-tree.html#XMLNSPTR"
1024>xmlNsPtr</A
1025> cur);
1026<A
1027HREF="gnome-xml-tree.html#XMLNSPTR"
1028>xmlNsPtr</A
1029> <A
1030HREF="gnome-xml-tree.html#XMLCOPYNAMESPACELIST"
1031>xmlCopyNamespaceList</A
1032> (<A
1033HREF="gnome-xml-tree.html#XMLNSPTR"
1034>xmlNsPtr</A
1035> cur);
1036<A
1037HREF="gnome-xml-tree.html#XMLATTRPTR"
1038>xmlAttrPtr</A
1039> <A
1040HREF="gnome-xml-tree.html#XMLSETPROP"
1041>xmlSetProp</A
1042> (<A
1043HREF="gnome-xml-tree.html#XMLNODEPTR"
1044>xmlNodePtr</A
1045> node,
1046 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001047HREF="gnome-xml-tree.html#XMLCHAR"
1048>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001049> *name,
1050 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001051HREF="gnome-xml-tree.html#XMLCHAR"
1052>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001053> *value);
1054<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001055HREF="gnome-xml-tree.html#XMLCHAR"
1056>xmlChar</A
1057>* <A
Daniel Veillard35925471999-02-25 08:46:07 +00001058HREF="gnome-xml-tree.html#XMLGETPROP"
1059>xmlGetProp</A
1060> (<A
1061HREF="gnome-xml-tree.html#XMLNODEPTR"
1062>xmlNodePtr</A
1063> node,
1064 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001065HREF="gnome-xml-tree.html#XMLCHAR"
1066>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001067> *name);
1068<A
Daniel Veillard10a2c651999-12-12 13:03:50 +00001069HREF="gnome-xml-tree.html#XMLCHAR"
1070>xmlChar</A
1071>* <A
1072HREF="gnome-xml-tree.html#XMLGETNSPROP"
1073>xmlGetNsProp</A
1074> (<A
1075HREF="gnome-xml-tree.html#XMLNODEPTR"
1076>xmlNodePtr</A
1077> node,
1078 const <A
1079HREF="gnome-xml-tree.html#XMLCHAR"
1080>xmlChar</A
1081> *name,
1082 const <A
1083HREF="gnome-xml-tree.html#XMLCHAR"
1084>xmlChar</A
Daniel Veillard944b5ff1999-12-15 19:08:24 +00001085> *nameSpace);
Daniel Veillard10a2c651999-12-12 13:03:50 +00001086<A
Daniel Veillard35925471999-02-25 08:46:07 +00001087HREF="gnome-xml-tree.html#XMLNODEPTR"
1088>xmlNodePtr</A
1089> <A
1090HREF="gnome-xml-tree.html#XMLSTRINGGETNODELIST"
1091>xmlStringGetNodeList</A
1092> (<A
1093HREF="gnome-xml-tree.html#XMLDOCPTR"
1094>xmlDocPtr</A
1095> doc,
1096 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001097HREF="gnome-xml-tree.html#XMLCHAR"
1098>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001099> *value);
1100<A
1101HREF="gnome-xml-tree.html#XMLNODEPTR"
1102>xmlNodePtr</A
1103> <A
1104HREF="gnome-xml-tree.html#XMLSTRINGLENGETNODELIST"
1105>xmlStringLenGetNodeList</A
1106> (<A
1107HREF="gnome-xml-tree.html#XMLDOCPTR"
1108>xmlDocPtr</A
1109> doc,
1110 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001111HREF="gnome-xml-tree.html#XMLCHAR"
1112>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001113> *value,
1114 int len);
1115<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001116HREF="gnome-xml-tree.html#XMLCHAR"
1117>xmlChar</A
1118>* <A
Daniel Veillard35925471999-02-25 08:46:07 +00001119HREF="gnome-xml-tree.html#XMLNODELISTGETSTRING"
1120>xmlNodeListGetString</A
1121> (<A
1122HREF="gnome-xml-tree.html#XMLDOCPTR"
1123>xmlDocPtr</A
1124> doc,
1125 <A
1126HREF="gnome-xml-tree.html#XMLNODEPTR"
1127>xmlNodePtr</A
1128> list,
1129 int inLine);
1130void <A
1131HREF="gnome-xml-tree.html#XMLNODESETCONTENT"
1132>xmlNodeSetContent</A
1133> (<A
1134HREF="gnome-xml-tree.html#XMLNODEPTR"
1135>xmlNodePtr</A
1136> cur,
1137 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001138HREF="gnome-xml-tree.html#XMLCHAR"
1139>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001140> *content);
1141void <A
1142HREF="gnome-xml-tree.html#XMLNODESETCONTENTLEN"
1143>xmlNodeSetContentLen</A
1144> (<A
1145HREF="gnome-xml-tree.html#XMLNODEPTR"
1146>xmlNodePtr</A
1147> cur,
1148 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001149HREF="gnome-xml-tree.html#XMLCHAR"
1150>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001151> *content,
1152 int len);
1153void <A
1154HREF="gnome-xml-tree.html#XMLNODEADDCONTENT"
1155>xmlNodeAddContent</A
1156> (<A
1157HREF="gnome-xml-tree.html#XMLNODEPTR"
1158>xmlNodePtr</A
1159> cur,
1160 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001161HREF="gnome-xml-tree.html#XMLCHAR"
1162>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001163> *content);
1164void <A
1165HREF="gnome-xml-tree.html#XMLNODEADDCONTENTLEN"
1166>xmlNodeAddContentLen</A
1167> (<A
1168HREF="gnome-xml-tree.html#XMLNODEPTR"
1169>xmlNodePtr</A
1170> cur,
1171 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001172HREF="gnome-xml-tree.html#XMLCHAR"
1173>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001174> *content,
1175 int len);
1176<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001177HREF="gnome-xml-tree.html#XMLCHAR"
1178>xmlChar</A
1179>* <A
Daniel Veillard35925471999-02-25 08:46:07 +00001180HREF="gnome-xml-tree.html#XMLNODEGETCONTENT"
1181>xmlNodeGetContent</A
1182> (<A
1183HREF="gnome-xml-tree.html#XMLNODEPTR"
1184>xmlNodePtr</A
1185> cur);
Daniel Veillarda819dac1999-11-24 18:04:22 +00001186<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001187HREF="gnome-xml-tree.html#XMLCHAR"
1188>xmlChar</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001189>* <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001190HREF="gnome-xml-tree.html#XMLNODEGETLANG"
1191>xmlNodeGetLang</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001192> (<A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001193HREF="gnome-xml-tree.html#XMLNODEPTR"
1194>xmlNodePtr</A
1195> cur);
1196void <A
1197HREF="gnome-xml-tree.html#XMLNODESETLANG"
1198>xmlNodeSetLang</A
1199> (<A
1200HREF="gnome-xml-tree.html#XMLNODEPTR"
1201>xmlNodePtr</A
1202> cur,
1203 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001204HREF="gnome-xml-tree.html#XMLCHAR"
1205>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001206> *lang);
Daniel Veillard10a2c651999-12-12 13:03:50 +00001207<A
1208HREF="gnome-xml-tree.html#XMLCHAR"
1209>xmlChar</A
1210>* <A
1211HREF="gnome-xml-tree.html#XMLNODEGETBASE"
1212>xmlNodeGetBase</A
1213> (<A
1214HREF="gnome-xml-tree.html#XMLDOCPTR"
1215>xmlDocPtr</A
1216> doc,
1217 <A
1218HREF="gnome-xml-tree.html#XMLNODEPTR"
1219>xmlNodePtr</A
1220> cur);
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001221int <A
1222HREF="gnome-xml-tree.html#XMLREMOVEPROP"
1223>xmlRemoveProp</A
1224> (<A
1225HREF="gnome-xml-tree.html#XMLATTRPTR"
1226>xmlAttrPtr</A
1227> attr);
1228int <A
1229HREF="gnome-xml-tree.html#XMLREMOVENODE"
1230>xmlRemoveNode</A
1231> (<A
1232HREF="gnome-xml-tree.html#XMLNODEPTR"
1233>xmlNodePtr</A
1234> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001235void <A
1236HREF="gnome-xml-tree.html#XMLBUFFERWRITECHAR"
1237>xmlBufferWriteCHAR</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001238> (<A
1239HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1240>xmlBufferPtr</A
1241> buf,
1242 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001243HREF="gnome-xml-tree.html#XMLCHAR"
1244>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001245> *string);
1246void <A
1247HREF="gnome-xml-tree.html#XMLBUFFERWRITECHAR"
1248>xmlBufferWriteChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001249> (<A
1250HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1251>xmlBufferPtr</A
1252> buf,
1253 const char *string);
Daniel Veillard35925471999-02-25 08:46:07 +00001254void <A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001255HREF="gnome-xml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"
1256>xmlBufferWriteQuotedString</A
1257> (<A
1258HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1259>xmlBufferPtr</A
1260> buf,
1261 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001262HREF="gnome-xml-tree.html#XMLCHAR"
1263>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001264> *string);
1265void <A
Daniel Veillard35925471999-02-25 08:46:07 +00001266HREF="gnome-xml-tree.html#XMLDOCDUMPMEMORY"
1267>xmlDocDumpMemory</A
1268> (<A
1269HREF="gnome-xml-tree.html#XMLDOCPTR"
1270>xmlDocPtr</A
1271> cur,
1272 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001273HREF="gnome-xml-tree.html#XMLCHAR"
1274>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001275> **mem,
1276 int *size);
1277void <A
1278HREF="gnome-xml-tree.html#XMLDOCDUMP"
1279>xmlDocDump</A
1280> (<GTKDOCLINK
1281HREF="FILE"
1282>FILE</GTKDOCLINK
1283> *f,
1284 <A
1285HREF="gnome-xml-tree.html#XMLDOCPTR"
1286>xmlDocPtr</A
1287> cur);
1288int <A
1289HREF="gnome-xml-tree.html#XMLSAVEFILE"
1290>xmlSaveFile</A
1291> (const char *filename,
1292 <A
1293HREF="gnome-xml-tree.html#XMLDOCPTR"
1294>xmlDocPtr</A
1295> cur);
1296int <A
1297HREF="gnome-xml-tree.html#XMLGETDOCCOMPRESSMODE"
1298>xmlGetDocCompressMode</A
1299> (<A
1300HREF="gnome-xml-tree.html#XMLDOCPTR"
1301>xmlDocPtr</A
1302> doc);
1303void <A
1304HREF="gnome-xml-tree.html#XMLSETDOCCOMPRESSMODE"
1305>xmlSetDocCompressMode</A
1306> (<A
1307HREF="gnome-xml-tree.html#XMLDOCPTR"
1308>xmlDocPtr</A
1309> doc,
1310 int mode);
1311int <A
1312HREF="gnome-xml-tree.html#XMLGETCOMPRESSMODE"
1313>xmlGetCompressMode</A
1314> (void);
1315void <A
1316HREF="gnome-xml-tree.html#XMLSETCOMPRESSMODE"
1317>xmlSetCompressMode</A
1318> (int mode);</PRE
1319></TD
1320></TR
1321></TABLE
1322></DIV
1323><DIV
1324CLASS="REFSECT1"
1325><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001326NAME="AEN3171"
Daniel Veillard35925471999-02-25 08:46:07 +00001327></A
1328><H2
1329>Description</H2
1330><P
1331></P
1332></DIV
1333><DIV
1334CLASS="REFSECT1"
1335><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001336NAME="AEN3174"
Daniel Veillard35925471999-02-25 08:46:07 +00001337></A
1338><H2
1339>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001340><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001341CLASS="REFSECT2"
1342><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001343NAME="AEN3176"
Daniel Veillard35925471999-02-25 08:46:07 +00001344></A
1345><H3
1346><A
1347NAME="XMLELEMENTTYPE"
1348></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001349>enum xmlElementType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001350><TABLE
1351BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001352BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001353WIDTH="100%"
1354CELLPADDING="6"
1355><TR
1356><TD
1357><PRE
1358CLASS="PROGRAMLISTING"
1359>typedef enum {
1360 XML_ELEMENT_NODE= 1,
1361 XML_ATTRIBUTE_NODE= 2,
1362 XML_TEXT_NODE= 3,
1363 XML_CDATA_SECTION_NODE= 4,
1364 XML_ENTITY_REF_NODE= 5,
1365 XML_ENTITY_NODE= 6,
1366 XML_PI_NODE= 7,
1367 XML_COMMENT_NODE= 8,
1368 XML_DOCUMENT_NODE= 9,
1369 XML_DOCUMENT_TYPE_NODE= 10,
1370 XML_DOCUMENT_FRAG_NODE= 11,
Daniel Veillard35008381999-10-25 13:15:52 +00001371 XML_NOTATION_NODE= 12,
1372 XML_HTML_DOCUMENT_NODE= 13
Daniel Veillard35925471999-02-25 08:46:07 +00001373} xmlElementType;</PRE
1374></TD
1375></TR
1376></TABLE
1377><P
1378></P
1379></DIV
1380><HR><DIV
1381CLASS="REFSECT2"
1382><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001383NAME="AEN3181"
Daniel Veillard35925471999-02-25 08:46:07 +00001384></A
1385><H3
1386><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001387NAME="XMLCHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001388></A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001389>xmlChar</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001390><P
1391></P
1392></DIV
1393><HR><DIV
1394CLASS="REFSECT2"
1395><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001396NAME="AEN3185"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001397></A
1398><H3
1399><A
1400NAME="CHAR"
1401></A
1402>CHAR</H3
1403><TABLE
1404BORDER="0"
1405BGCOLOR="#D6E8FF"
1406WIDTH="100%"
1407CELLPADDING="6"
1408><TR
1409><TD
1410><PRE
1411CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00001412>#define CHAR xmlChar</PRE
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001413></TD
1414></TR
1415></TABLE
1416><P
1417></P
1418></DIV
1419><HR><DIV
1420CLASS="REFSECT2"
1421><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001422NAME="AEN3190"
Daniel Veillard35925471999-02-25 08:46:07 +00001423></A
1424><H3
1425><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001426NAME="BAD-CAST"
Daniel Veillard35925471999-02-25 08:46:07 +00001427></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001428>BAD_CAST</H3
1429><TABLE
1430BORDER="0"
1431BGCOLOR="#D6E8FF"
1432WIDTH="100%"
1433CELLPADDING="6"
1434><TR
1435><TD
1436><PRE
1437CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00001438>#define BAD_CAST (xmlChar *)</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001439></TD
1440></TR
1441></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001442><P
1443></P
1444></DIV
1445><HR><DIV
1446CLASS="REFSECT2"
1447><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001448NAME="AEN3195"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001449></A
1450><H3
1451><A
1452NAME="XMLNOTATIONPTR"
1453></A
1454>xmlNotationPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001455><TABLE
1456BORDER="0"
1457BGCOLOR="#D6E8FF"
1458WIDTH="100%"
1459CELLPADDING="6"
1460><TR
1461><TD
1462><PRE
1463CLASS="PROGRAMLISTING"
1464>typedef xmlNotation *xmlNotationPtr;</PRE
1465></TD
1466></TR
1467></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001468><P
1469></P
1470></DIV
1471><HR><DIV
1472CLASS="REFSECT2"
1473><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001474NAME="AEN3200"
Daniel Veillard35925471999-02-25 08:46:07 +00001475></A
1476><H3
1477><A
1478NAME="XMLATTRIBUTETYPE"
1479></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001480>enum xmlAttributeType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001481><TABLE
1482BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001483BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001484WIDTH="100%"
1485CELLPADDING="6"
1486><TR
1487><TD
1488><PRE
1489CLASS="PROGRAMLISTING"
1490>typedef enum {
1491 XML_ATTRIBUTE_CDATA = 1,
1492 XML_ATTRIBUTE_ID,
1493 XML_ATTRIBUTE_IDREF ,
1494 XML_ATTRIBUTE_IDREFS,
1495 XML_ATTRIBUTE_ENTITY,
1496 XML_ATTRIBUTE_ENTITIES,
1497 XML_ATTRIBUTE_NMTOKEN,
1498 XML_ATTRIBUTE_NMTOKENS,
1499 XML_ATTRIBUTE_ENUMERATION,
1500 XML_ATTRIBUTE_NOTATION
1501} xmlAttributeType;</PRE
1502></TD
1503></TR
1504></TABLE
1505><P
1506></P
1507></DIV
1508><HR><DIV
1509CLASS="REFSECT2"
1510><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001511NAME="AEN3205"
Daniel Veillard35925471999-02-25 08:46:07 +00001512></A
1513><H3
1514><A
1515NAME="XMLATTRIBUTEDEFAULT"
1516></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001517>enum xmlAttributeDefault</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001518><TABLE
1519BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001520BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001521WIDTH="100%"
1522CELLPADDING="6"
1523><TR
1524><TD
1525><PRE
1526CLASS="PROGRAMLISTING"
1527>typedef enum {
1528 XML_ATTRIBUTE_NONE = 1,
1529 XML_ATTRIBUTE_REQUIRED,
1530 XML_ATTRIBUTE_IMPLIED,
1531 XML_ATTRIBUTE_FIXED
1532} xmlAttributeDefault;</PRE
1533></TD
1534></TR
1535></TABLE
1536><P
1537></P
1538></DIV
1539><HR><DIV
1540CLASS="REFSECT2"
1541><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001542NAME="AEN3210"
Daniel Veillard35925471999-02-25 08:46:07 +00001543></A
1544><H3
1545><A
1546NAME="XMLENUMERATIONPTR"
1547></A
1548>xmlEnumerationPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001549><TABLE
1550BORDER="0"
1551BGCOLOR="#D6E8FF"
1552WIDTH="100%"
1553CELLPADDING="6"
1554><TR
1555><TD
1556><PRE
1557CLASS="PROGRAMLISTING"
1558>typedef xmlEnumeration *xmlEnumerationPtr;</PRE
1559></TD
1560></TR
1561></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001562><P
1563></P
1564></DIV
1565><HR><DIV
1566CLASS="REFSECT2"
1567><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001568NAME="AEN3215"
Daniel Veillard35925471999-02-25 08:46:07 +00001569></A
1570><H3
1571><A
1572NAME="XMLATTRIBUTEPTR"
1573></A
1574>xmlAttributePtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001575><TABLE
1576BORDER="0"
1577BGCOLOR="#D6E8FF"
1578WIDTH="100%"
1579CELLPADDING="6"
1580><TR
1581><TD
1582><PRE
1583CLASS="PROGRAMLISTING"
1584>typedef xmlAttribute *xmlAttributePtr;</PRE
1585></TD
1586></TR
1587></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001588><P
1589></P
1590></DIV
1591><HR><DIV
1592CLASS="REFSECT2"
1593><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001594NAME="AEN3220"
Daniel Veillard35925471999-02-25 08:46:07 +00001595></A
1596><H3
1597><A
1598NAME="XMLELEMENTCONTENTTYPE"
1599></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001600>enum xmlElementContentType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001601><TABLE
1602BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001603BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001604WIDTH="100%"
1605CELLPADDING="6"
1606><TR
1607><TD
1608><PRE
1609CLASS="PROGRAMLISTING"
1610>typedef enum {
1611 XML_ELEMENT_CONTENT_PCDATA = 1,
1612 XML_ELEMENT_CONTENT_ELEMENT,
1613 XML_ELEMENT_CONTENT_SEQ,
1614 XML_ELEMENT_CONTENT_OR
1615} xmlElementContentType;</PRE
1616></TD
1617></TR
1618></TABLE
1619><P
1620></P
1621></DIV
1622><HR><DIV
1623CLASS="REFSECT2"
1624><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001625NAME="AEN3225"
Daniel Veillard35925471999-02-25 08:46:07 +00001626></A
1627><H3
1628><A
1629NAME="XMLELEMENTCONTENTOCCUR"
1630></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001631>enum xmlElementContentOccur</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001632><TABLE
1633BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001634BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001635WIDTH="100%"
1636CELLPADDING="6"
1637><TR
1638><TD
1639><PRE
1640CLASS="PROGRAMLISTING"
1641>typedef enum {
1642 XML_ELEMENT_CONTENT_ONCE = 1,
1643 XML_ELEMENT_CONTENT_OPT,
1644 XML_ELEMENT_CONTENT_MULT,
1645 XML_ELEMENT_CONTENT_PLUS
1646} xmlElementContentOccur;</PRE
1647></TD
1648></TR
1649></TABLE
1650><P
1651></P
1652></DIV
1653><HR><DIV
1654CLASS="REFSECT2"
1655><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001656NAME="AEN3230"
Daniel Veillard35925471999-02-25 08:46:07 +00001657></A
1658><H3
1659><A
1660NAME="XMLELEMENTCONTENTPTR"
1661></A
1662>xmlElementContentPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001663><TABLE
1664BORDER="0"
1665BGCOLOR="#D6E8FF"
1666WIDTH="100%"
1667CELLPADDING="6"
1668><TR
1669><TD
1670><PRE
1671CLASS="PROGRAMLISTING"
1672>typedef xmlElementContent *xmlElementContentPtr;</PRE
1673></TD
1674></TR
1675></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001676><P
1677></P
1678></DIV
1679><HR><DIV
1680CLASS="REFSECT2"
1681><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001682NAME="AEN3235"
Daniel Veillard35925471999-02-25 08:46:07 +00001683></A
1684><H3
1685><A
1686NAME="XMLELEMENTTYPEVAL"
1687></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001688>enum xmlElementTypeVal</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001689><TABLE
1690BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001691BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001692WIDTH="100%"
1693CELLPADDING="6"
1694><TR
1695><TD
1696><PRE
1697CLASS="PROGRAMLISTING"
1698>typedef enum {
1699 XML_ELEMENT_TYPE_EMPTY = 1,
1700 XML_ELEMENT_TYPE_ANY,
1701 XML_ELEMENT_TYPE_MIXED,
1702 XML_ELEMENT_TYPE_ELEMENT
1703} xmlElementTypeVal;</PRE
1704></TD
1705></TR
1706></TABLE
1707><P
1708></P
1709></DIV
1710><HR><DIV
1711CLASS="REFSECT2"
1712><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001713NAME="AEN3240"
Daniel Veillard35925471999-02-25 08:46:07 +00001714></A
1715><H3
1716><A
1717NAME="XMLELEMENTPTR"
1718></A
1719>xmlElementPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001720><TABLE
1721BORDER="0"
1722BGCOLOR="#D6E8FF"
1723WIDTH="100%"
1724CELLPADDING="6"
1725><TR
1726><TD
1727><PRE
1728CLASS="PROGRAMLISTING"
1729>typedef xmlElement *xmlElementPtr;</PRE
1730></TD
1731></TR
1732></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001733><P
1734></P
1735></DIV
1736><HR><DIV
1737CLASS="REFSECT2"
1738><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001739NAME="AEN3245"
Daniel Veillard35925471999-02-25 08:46:07 +00001740></A
1741><H3
1742><A
1743NAME="XMLNSTYPE"
1744></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001745>enum xmlNsType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001746><TABLE
1747BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001748BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001749WIDTH="100%"
1750CELLPADDING="6"
1751><TR
1752><TD
1753><PRE
1754CLASS="PROGRAMLISTING"
1755>typedef enum {
1756 XML_GLOBAL_NAMESPACE = 1, /* old style global namespace */
1757 XML_LOCAL_NAMESPACE /* new style local scoping */
1758} xmlNsType;</PRE
1759></TD
1760></TR
1761></TABLE
1762><P
1763></P
1764></DIV
1765><HR><DIV
1766CLASS="REFSECT2"
1767><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001768NAME="AEN3250"
Daniel Veillard35925471999-02-25 08:46:07 +00001769></A
1770><H3
1771><A
1772NAME="XMLNSPTR"
1773></A
1774>xmlNsPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001775><TABLE
1776BORDER="0"
1777BGCOLOR="#D6E8FF"
1778WIDTH="100%"
1779CELLPADDING="6"
1780><TR
1781><TD
1782><PRE
1783CLASS="PROGRAMLISTING"
1784>typedef xmlNs *xmlNsPtr;</PRE
1785></TD
1786></TR
1787></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001788><P
1789></P
1790></DIV
1791><HR><DIV
1792CLASS="REFSECT2"
1793><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001794NAME="AEN3255"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001795></A
1796><H3
1797><A
1798NAME="XMLDTDPTR"
1799></A
1800>xmlDtdPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001801><TABLE
1802BORDER="0"
1803BGCOLOR="#D6E8FF"
1804WIDTH="100%"
1805CELLPADDING="6"
1806><TR
1807><TD
1808><PRE
1809CLASS="PROGRAMLISTING"
1810>typedef xmlDtd *xmlDtdPtr;</PRE
1811></TD
1812></TR
1813></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001814><P
1815></P
1816></DIV
1817><HR><DIV
1818CLASS="REFSECT2"
1819><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001820NAME="AEN3260"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001821></A
1822><H3
1823><A
1824NAME="XMLATTRPTR"
1825></A
1826>xmlAttrPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001827><TABLE
1828BORDER="0"
1829BGCOLOR="#D6E8FF"
1830WIDTH="100%"
1831CELLPADDING="6"
1832><TR
1833><TD
1834><PRE
1835CLASS="PROGRAMLISTING"
1836>typedef xmlAttr *xmlAttrPtr;</PRE
1837></TD
1838></TR
1839></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001840><P
1841></P
1842></DIV
1843><HR><DIV
1844CLASS="REFSECT2"
1845><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001846NAME="AEN3265"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001847></A
1848><H3
1849><A
1850NAME="XMLIDPTR"
1851></A
1852>xmlIDPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001853><TABLE
1854BORDER="0"
1855BGCOLOR="#D6E8FF"
1856WIDTH="100%"
1857CELLPADDING="6"
1858><TR
1859><TD
1860><PRE
1861CLASS="PROGRAMLISTING"
1862>typedef xmlID *xmlIDPtr;</PRE
1863></TD
1864></TR
1865></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001866><P
1867></P
1868></DIV
1869><HR><DIV
1870CLASS="REFSECT2"
1871><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001872NAME="AEN3270"
Daniel Veillard35925471999-02-25 08:46:07 +00001873></A
1874><H3
1875><A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001876NAME="XMLREFPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001877></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001878>xmlRefPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001879><TABLE
1880BORDER="0"
1881BGCOLOR="#D6E8FF"
1882WIDTH="100%"
1883CELLPADDING="6"
1884><TR
1885><TD
1886><PRE
1887CLASS="PROGRAMLISTING"
1888>typedef xmlRef *xmlRefPtr;</PRE
1889></TD
1890></TR
1891></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001892><P
1893></P
1894></DIV
1895><HR><DIV
1896CLASS="REFSECT2"
1897><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001898NAME="AEN3275"
Daniel Veillard35925471999-02-25 08:46:07 +00001899></A
1900><H3
1901><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00001902NAME="XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard35925471999-02-25 08:46:07 +00001903></A
Daniel Veillard294cbca1999-12-03 13:19:09 +00001904>enum xmlBufferAllocationScheme</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001905><TABLE
1906BORDER="0"
1907BGCOLOR="#D6E8FF"
1908WIDTH="100%"
1909CELLPADDING="6"
1910><TR
1911><TD
1912><PRE
1913CLASS="PROGRAMLISTING"
Daniel Veillard294cbca1999-12-03 13:19:09 +00001914>typedef enum {
1915 XML_BUFFER_ALLOC_DOUBLEIT,
1916 XML_BUFFER_ALLOC_EXACT
1917} xmlBufferAllocationScheme;</PRE
Daniel Veillard35008381999-10-25 13:15:52 +00001918></TD
1919></TR
1920></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001921><P
Daniel Veillard294cbca1999-12-03 13:19:09 +00001922>Sets the allocation scheme for this buffer</P
1923><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001924></P
1925></DIV
1926><HR><DIV
1927CLASS="REFSECT2"
1928><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001929NAME="AEN3281"
Daniel Veillard35925471999-02-25 08:46:07 +00001930></A
1931><H3
1932><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001933NAME="XMLBUFFER"
1934></A
1935>xmlBuffer</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001936><TABLE
1937BORDER="0"
1938BGCOLOR="#D6E8FF"
1939WIDTH="100%"
1940CELLPADDING="6"
1941><TR
1942><TD
1943><PRE
1944CLASS="PROGRAMLISTING"
1945>typedef _xmlBuffer xmlBuffer;</PRE
1946></TD
1947></TR
1948></TABLE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001949><P
1950></P
1951></DIV
1952><HR><DIV
1953CLASS="REFSECT2"
1954><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001955NAME="AEN3286"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001956></A
1957><H3
1958><A
1959NAME="XMLBUFFERPTR"
1960></A
1961>xmlBufferPtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001962><TABLE
1963BORDER="0"
1964BGCOLOR="#D6E8FF"
1965WIDTH="100%"
1966CELLPADDING="6"
1967><TR
1968><TD
1969><PRE
1970CLASS="PROGRAMLISTING"
1971>typedef xmlBuffer *xmlBufferPtr;</PRE
1972></TD
1973></TR
1974></TABLE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001975><P
1976></P
1977></DIV
1978><HR><DIV
1979CLASS="REFSECT2"
1980><A
Daniel Veillardf600e251999-12-18 15:32:46 +00001981NAME="AEN3291"
Daniel Veillard294cbca1999-12-03 13:19:09 +00001982></A
1983><H3
1984><A
1985NAME="XMLNODE"
1986></A
1987>xmlNode</H3
1988><TABLE
1989BORDER="0"
1990BGCOLOR="#D6E8FF"
1991WIDTH="100%"
1992CELLPADDING="6"
1993><TR
1994><TD
1995><PRE
1996CLASS="PROGRAMLISTING"
1997>typedef _xmlNode xmlNode;</PRE
1998></TD
1999></TR
2000></TABLE
2001><P
2002></P
2003></DIV
2004><HR><DIV
2005CLASS="REFSECT2"
2006><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002007NAME="AEN3296"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002008></A
2009><H3
2010><A
2011NAME="XMLNODEPTR"
2012></A
2013>xmlNodePtr</H3
2014><TABLE
2015BORDER="0"
2016BGCOLOR="#D6E8FF"
2017WIDTH="100%"
2018CELLPADDING="6"
2019><TR
2020><TD
2021><PRE
2022CLASS="PROGRAMLISTING"
2023>typedef _xmlNode *xmlNodePtr;</PRE
2024></TD
2025></TR
2026></TABLE
2027><P
2028></P
2029></DIV
2030><HR><DIV
2031CLASS="REFSECT2"
2032><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002033NAME="AEN3301"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002034></A
2035><H3
2036><A
2037NAME="XMLDOC"
2038></A
2039>xmlDoc</H3
2040><TABLE
2041BORDER="0"
2042BGCOLOR="#D6E8FF"
2043WIDTH="100%"
2044CELLPADDING="6"
2045><TR
2046><TD
2047><PRE
2048CLASS="PROGRAMLISTING"
2049>typedef _xmlDoc xmlDoc;</PRE
2050></TD
2051></TR
2052></TABLE
2053><P
2054></P
2055></DIV
2056><HR><DIV
2057CLASS="REFSECT2"
2058><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002059NAME="AEN3306"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002060></A
2061><H3
2062><A
2063NAME="XMLDOCPTR"
2064></A
2065>xmlDocPtr</H3
2066><TABLE
2067BORDER="0"
2068BGCOLOR="#D6E8FF"
2069WIDTH="100%"
2070CELLPADDING="6"
2071><TR
2072><TD
2073><PRE
2074CLASS="PROGRAMLISTING"
2075>typedef xmlDoc *xmlDocPtr;</PRE
2076></TD
2077></TR
2078></TABLE
2079><P
2080></P
2081></DIV
2082><HR><DIV
2083CLASS="REFSECT2"
2084><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002085NAME="AEN3311"
Daniel Veillard14fff061999-06-22 21:49:07 +00002086></A
2087><H3
2088><A
2089NAME="BASEDTD"
2090></A
2091>baseDTD</H3
2092><TABLE
2093BORDER="0"
2094BGCOLOR="#D6E8FF"
2095WIDTH="100%"
2096CELLPADDING="6"
2097><TR
2098><TD
2099><PRE
2100CLASS="PROGRAMLISTING"
2101>extern xmlNsPtr baseDTD;</PRE
2102></TD
2103></TR
2104></TABLE
2105><P
2106></P
2107></DIV
2108><HR><DIV
2109CLASS="REFSECT2"
2110><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002111NAME="AEN3316"
Daniel Veillard14fff061999-06-22 21:49:07 +00002112></A
2113><H3
2114><A
2115NAME="OLDXMLWDCOMPATIBILITY"
2116></A
2117>oldXMLWDcompatibility</H3
2118><TABLE
2119BORDER="0"
2120BGCOLOR="#D6E8FF"
2121WIDTH="100%"
2122CELLPADDING="6"
2123><TR
2124><TD
2125><PRE
2126CLASS="PROGRAMLISTING"
2127>extern int oldXMLWDcompatibility;/* maintain compatibility with old WD */</PRE
2128></TD
2129></TR
2130></TABLE
2131><P
2132></P
2133></DIV
2134><HR><DIV
2135CLASS="REFSECT2"
2136><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002137NAME="AEN3321"
Daniel Veillard14fff061999-06-22 21:49:07 +00002138></A
2139><H3
2140><A
2141NAME="XMLINDENTTREEOUTPUT"
2142></A
2143>xmlIndentTreeOutput</H3
2144><TABLE
2145BORDER="0"
2146BGCOLOR="#D6E8FF"
2147WIDTH="100%"
2148CELLPADDING="6"
2149><TR
2150><TD
2151><PRE
2152CLASS="PROGRAMLISTING"
2153>extern int xmlIndentTreeOutput; /* try to indent the tree dumps */</PRE
2154></TD
2155></TR
2156></TABLE
2157><P
2158></P
2159></DIV
2160><HR><DIV
2161CLASS="REFSECT2"
2162><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002163NAME="AEN3326"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002164></A
2165><H3
2166><A
2167NAME="XMLBUFFERALLOCSCHEME"
2168></A
2169>xmlBufferAllocScheme</H3
2170><TABLE
2171BORDER="0"
2172BGCOLOR="#D6E8FF"
2173WIDTH="100%"
2174CELLPADDING="6"
2175><TR
2176><TD
2177><PRE
2178CLASS="PROGRAMLISTING"
2179>extern xmlBufferAllocationScheme xmlBufferAllocScheme; /* alloc scheme to use */</PRE
2180></TD
2181></TR
2182></TABLE
2183><P
2184></P
2185></DIV
2186><HR><DIV
2187CLASS="REFSECT2"
2188><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002189NAME="AEN3331"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002190></A
2191><H3
2192><A
2193NAME="XMLBUFFERCREATE"
2194></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002195>xmlBufferCreate ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002196><TABLE
2197BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002198BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002199WIDTH="100%"
2200CELLPADDING="6"
2201><TR
2202><TD
2203><PRE
2204CLASS="PROGRAMLISTING"
2205><A
2206HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2207>xmlBufferPtr</A
2208> xmlBufferCreate (void);</PRE
2209></TD
2210></TR
2211></TABLE
2212><P
2213>routine to create an XML buffer.</P
2214><P
2215></P
2216><DIV
2217CLASS="INFORMALTABLE"
2218><P
2219></P
2220><TABLE
2221BORDER="0"
2222WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002223BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002224CELLSPACING="0"
2225CELLPADDING="4"
2226CLASS="CALSTABLE"
2227><TR
2228><TD
2229WIDTH="20%"
2230ALIGN="RIGHT"
2231VALIGN="TOP"
2232><I
2233CLASS="EMPHASIS"
2234>Returns</I
2235> :</TD
2236><TD
2237WIDTH="80%"
2238ALIGN="LEFT"
2239VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002240>the new structure.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002241></TR
2242></TABLE
2243><P
2244></P
2245></DIV
2246></DIV
2247><HR><DIV
2248CLASS="REFSECT2"
2249><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002250NAME="AEN3347"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002251></A
2252><H3
2253><A
2254NAME="XMLBUFFERCREATESIZE"
2255></A
2256>xmlBufferCreateSize ()</H3
2257><TABLE
2258BORDER="0"
2259BGCOLOR="#D6E8FF"
2260WIDTH="100%"
2261CELLPADDING="6"
2262><TR
2263><TD
2264><PRE
2265CLASS="PROGRAMLISTING"
2266><A
2267HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2268>xmlBufferPtr</A
2269> xmlBufferCreateSize (<GTKDOCLINK
2270HREF="SIZE-T"
2271>size_t</GTKDOCLINK
2272> size);</PRE
2273></TD
2274></TR
2275></TABLE
2276><P
2277>routine to create an XML buffer.</P
2278><P
2279></P
2280><DIV
2281CLASS="INFORMALTABLE"
2282><P
2283></P
2284><TABLE
2285BORDER="0"
2286WIDTH="100%"
2287BGCOLOR="#FFD0D0"
2288CELLSPACING="0"
2289CELLPADDING="4"
2290CLASS="CALSTABLE"
2291><TR
2292><TD
2293WIDTH="20%"
2294ALIGN="RIGHT"
2295VALIGN="TOP"
2296><TT
2297CLASS="PARAMETER"
2298><I
2299>size</I
2300></TT
2301>&nbsp;:</TD
2302><TD
2303WIDTH="80%"
2304ALIGN="LEFT"
2305VALIGN="TOP"
2306> initial size of buffer</TD
2307></TR
2308><TR
2309><TD
2310WIDTH="20%"
2311ALIGN="RIGHT"
2312VALIGN="TOP"
2313><I
2314CLASS="EMPHASIS"
2315>Returns</I
2316> :</TD
2317><TD
2318WIDTH="80%"
2319ALIGN="LEFT"
2320VALIGN="TOP"
2321>the new structure.</TD
2322></TR
2323></TABLE
2324><P
2325></P
2326></DIV
2327></DIV
2328><HR><DIV
2329CLASS="REFSECT2"
2330><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002331NAME="AEN3368"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002332></A
2333><H3
2334><A
2335NAME="XMLBUFFERFREE"
2336></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002337>xmlBufferFree ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002338><TABLE
2339BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002340BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002341WIDTH="100%"
2342CELLPADDING="6"
2343><TR
2344><TD
2345><PRE
2346CLASS="PROGRAMLISTING"
2347>void xmlBufferFree (<A
2348HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2349>xmlBufferPtr</A
2350> buf);</PRE
2351></TD
2352></TR
2353></TABLE
2354><P
2355>Frees an XML buffer.</P
2356><P
2357></P
2358><DIV
2359CLASS="INFORMALTABLE"
2360><P
2361></P
2362><TABLE
2363BORDER="0"
2364WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002365BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002366CELLSPACING="0"
2367CELLPADDING="4"
2368CLASS="CALSTABLE"
2369><TR
2370><TD
2371WIDTH="20%"
2372ALIGN="RIGHT"
2373VALIGN="TOP"
2374><TT
2375CLASS="PARAMETER"
2376><I
2377>buf</I
2378></TT
2379>&nbsp;:</TD
2380><TD
2381WIDTH="80%"
2382ALIGN="LEFT"
2383VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002384> the buffer to free</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002385></TR
2386></TABLE
2387><P
2388></P
2389></DIV
2390></DIV
2391><HR><DIV
2392CLASS="REFSECT2"
2393><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002394NAME="AEN3384"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002395></A
2396><H3
2397><A
2398NAME="XMLBUFFERDUMP"
2399></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002400>xmlBufferDump ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002401><TABLE
2402BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002403BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002404WIDTH="100%"
2405CELLPADDING="6"
2406><TR
2407><TD
2408><PRE
2409CLASS="PROGRAMLISTING"
2410>int xmlBufferDump (<GTKDOCLINK
2411HREF="FILE"
2412>FILE</GTKDOCLINK
2413> *file,
2414 <A
2415HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2416>xmlBufferPtr</A
2417> buf);</PRE
2418></TD
2419></TR
2420></TABLE
2421><P
2422>Dumps an XML buffer to a FILE *.</P
2423><P
2424></P
2425><DIV
2426CLASS="INFORMALTABLE"
2427><P
2428></P
2429><TABLE
2430BORDER="0"
2431WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002432BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002433CELLSPACING="0"
2434CELLPADDING="4"
2435CLASS="CALSTABLE"
2436><TR
2437><TD
2438WIDTH="20%"
2439ALIGN="RIGHT"
2440VALIGN="TOP"
2441><TT
2442CLASS="PARAMETER"
2443><I
2444>file</I
2445></TT
2446>&nbsp;:</TD
2447><TD
2448WIDTH="80%"
2449ALIGN="LEFT"
2450VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002451> the file output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002452></TR
2453><TR
2454><TD
2455WIDTH="20%"
2456ALIGN="RIGHT"
2457VALIGN="TOP"
2458><TT
2459CLASS="PARAMETER"
2460><I
2461>buf</I
2462></TT
2463>&nbsp;:</TD
2464><TD
2465WIDTH="80%"
2466ALIGN="LEFT"
2467VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002468> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002469></TR
2470><TR
2471><TD
2472WIDTH="20%"
2473ALIGN="RIGHT"
2474VALIGN="TOP"
2475><I
2476CLASS="EMPHASIS"
2477>Returns</I
2478> :</TD
2479><TD
2480WIDTH="80%"
2481ALIGN="LEFT"
2482VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002483>the number of xmlChar written</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002484></TR
2485></TABLE
2486><P
2487></P
2488></DIV
2489></DIV
2490><HR><DIV
2491CLASS="REFSECT2"
2492><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002493NAME="AEN3409"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002494></A
2495><H3
2496><A
2497NAME="XMLBUFFERADD"
2498></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002499>xmlBufferAdd ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002500><TABLE
2501BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002502BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002503WIDTH="100%"
2504CELLPADDING="6"
2505><TR
2506><TD
2507><PRE
2508CLASS="PROGRAMLISTING"
2509>void xmlBufferAdd (<A
2510HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2511>xmlBufferPtr</A
2512> buf,
2513 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002514HREF="gnome-xml-tree.html#XMLCHAR"
2515>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002516> *str,
2517 int len);</PRE
2518></TD
2519></TR
2520></TABLE
2521><P
Daniel Veillard10a2c651999-12-12 13:03:50 +00002522>Add a string range to an XML buffer. if len == -1, the lenght of
2523str is recomputed.</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002524><P
2525></P
2526><DIV
2527CLASS="INFORMALTABLE"
2528><P
2529></P
2530><TABLE
2531BORDER="0"
2532WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002533BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002534CELLSPACING="0"
2535CELLPADDING="4"
2536CLASS="CALSTABLE"
2537><TR
2538><TD
2539WIDTH="20%"
2540ALIGN="RIGHT"
2541VALIGN="TOP"
2542><TT
2543CLASS="PARAMETER"
2544><I
2545>buf</I
2546></TT
2547>&nbsp;:</TD
2548><TD
2549WIDTH="80%"
2550ALIGN="LEFT"
2551VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002552> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002553></TR
2554><TR
2555><TD
2556WIDTH="20%"
2557ALIGN="RIGHT"
2558VALIGN="TOP"
2559><TT
2560CLASS="PARAMETER"
2561><I
2562>str</I
2563></TT
2564>&nbsp;:</TD
2565><TD
2566WIDTH="80%"
2567ALIGN="LEFT"
2568VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002569> the xmlChar string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002570></TR
2571><TR
2572><TD
2573WIDTH="20%"
2574ALIGN="RIGHT"
2575VALIGN="TOP"
2576><TT
2577CLASS="PARAMETER"
2578><I
2579>len</I
2580></TT
2581>&nbsp;:</TD
2582><TD
2583WIDTH="80%"
2584ALIGN="LEFT"
2585VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002586> the number of xmlChar to add</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002587></TR
2588></TABLE
2589><P
2590></P
2591></DIV
2592></DIV
2593><HR><DIV
2594CLASS="REFSECT2"
2595><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002596NAME="AEN3434"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002597></A
2598><H3
2599><A
2600NAME="XMLBUFFERCAT"
2601></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002602>xmlBufferCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002603><TABLE
2604BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002605BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002606WIDTH="100%"
2607CELLPADDING="6"
2608><TR
2609><TD
2610><PRE
2611CLASS="PROGRAMLISTING"
2612>void xmlBufferCat (<A
2613HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2614>xmlBufferPtr</A
2615> buf,
2616 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002617HREF="gnome-xml-tree.html#XMLCHAR"
2618>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002619> *str);</PRE
2620></TD
2621></TR
2622></TABLE
2623><P
2624>Append a zero terminated string to an XML buffer.</P
2625><P
2626></P
2627><DIV
2628CLASS="INFORMALTABLE"
2629><P
2630></P
2631><TABLE
2632BORDER="0"
2633WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002634BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002635CELLSPACING="0"
2636CELLPADDING="4"
2637CLASS="CALSTABLE"
2638><TR
2639><TD
2640WIDTH="20%"
2641ALIGN="RIGHT"
2642VALIGN="TOP"
2643><TT
2644CLASS="PARAMETER"
2645><I
2646>buf</I
2647></TT
2648>&nbsp;:</TD
2649><TD
2650WIDTH="80%"
2651ALIGN="LEFT"
2652VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002653> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002654></TR
2655><TR
2656><TD
2657WIDTH="20%"
2658ALIGN="RIGHT"
2659VALIGN="TOP"
2660><TT
2661CLASS="PARAMETER"
2662><I
2663>str</I
2664></TT
2665>&nbsp;:</TD
2666><TD
2667WIDTH="80%"
2668ALIGN="LEFT"
2669VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002670> the xmlChar string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002671></TR
2672></TABLE
2673><P
2674></P
2675></DIV
2676></DIV
2677><HR><DIV
2678CLASS="REFSECT2"
2679><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002680NAME="AEN3455"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002681></A
2682><H3
2683><A
2684NAME="XMLBUFFERCCAT"
2685></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002686>xmlBufferCCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002687><TABLE
2688BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002689BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002690WIDTH="100%"
2691CELLPADDING="6"
2692><TR
2693><TD
2694><PRE
2695CLASS="PROGRAMLISTING"
2696>void xmlBufferCCat (<A
2697HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2698>xmlBufferPtr</A
2699> buf,
2700 const char *str);</PRE
2701></TD
2702></TR
2703></TABLE
2704><P
2705>Append a zero terminated C string to an XML buffer.</P
2706><P
2707></P
2708><DIV
2709CLASS="INFORMALTABLE"
2710><P
2711></P
2712><TABLE
2713BORDER="0"
2714WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002715BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002716CELLSPACING="0"
2717CELLPADDING="4"
2718CLASS="CALSTABLE"
2719><TR
2720><TD
2721WIDTH="20%"
2722ALIGN="RIGHT"
2723VALIGN="TOP"
2724><TT
2725CLASS="PARAMETER"
2726><I
2727>buf</I
2728></TT
2729>&nbsp;:</TD
2730><TD
2731WIDTH="80%"
2732ALIGN="LEFT"
2733VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002734> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002735></TR
2736><TR
2737><TD
2738WIDTH="20%"
2739ALIGN="RIGHT"
2740VALIGN="TOP"
2741><TT
2742CLASS="PARAMETER"
2743><I
2744>str</I
2745></TT
2746>&nbsp;:</TD
2747><TD
2748WIDTH="80%"
2749ALIGN="LEFT"
2750VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002751> the C char string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002752></TR
2753></TABLE
2754><P
2755></P
2756></DIV
2757></DIV
2758><HR><DIV
2759CLASS="REFSECT2"
2760><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002761NAME="AEN3475"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002762></A
2763><H3
2764><A
2765NAME="XMLBUFFERSHRINK"
2766></A
2767>xmlBufferShrink ()</H3
2768><TABLE
2769BORDER="0"
2770BGCOLOR="#D6E8FF"
2771WIDTH="100%"
2772CELLPADDING="6"
2773><TR
2774><TD
2775><PRE
2776CLASS="PROGRAMLISTING"
2777>int xmlBufferShrink (<A
2778HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2779>xmlBufferPtr</A
2780> buf,
2781 int len);</PRE
2782></TD
2783></TR
2784></TABLE
2785><P
2786>Remove the beginning of an XML buffer.</P
2787><P
2788></P
2789><DIV
2790CLASS="INFORMALTABLE"
2791><P
2792></P
2793><TABLE
2794BORDER="0"
2795WIDTH="100%"
2796BGCOLOR="#FFD0D0"
2797CELLSPACING="0"
2798CELLPADDING="4"
2799CLASS="CALSTABLE"
2800><TR
2801><TD
2802WIDTH="20%"
2803ALIGN="RIGHT"
2804VALIGN="TOP"
2805><TT
2806CLASS="PARAMETER"
2807><I
2808>buf</I
2809></TT
2810>&nbsp;:</TD
2811><TD
2812WIDTH="80%"
2813ALIGN="LEFT"
2814VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002815> the buffer to dump</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002816></TR
2817><TR
2818><TD
2819WIDTH="20%"
2820ALIGN="RIGHT"
2821VALIGN="TOP"
2822><TT
2823CLASS="PARAMETER"
2824><I
2825>len</I
2826></TT
2827>&nbsp;:</TD
2828><TD
2829WIDTH="80%"
2830ALIGN="LEFT"
2831VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002832> the number of xmlChar to remove</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002833></TR
2834><TR
2835><TD
2836WIDTH="20%"
2837ALIGN="RIGHT"
2838VALIGN="TOP"
2839><I
2840CLASS="EMPHASIS"
2841>Returns</I
2842> :</TD
2843><TD
2844WIDTH="80%"
2845ALIGN="LEFT"
2846VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002847>the number of xmlChar removed, or -1 in case of failure.</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002848></TR
2849></TABLE
2850><P
2851></P
2852></DIV
2853></DIV
2854><HR><DIV
2855CLASS="REFSECT2"
2856><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002857NAME="AEN3499"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002858></A
2859><H3
2860><A
2861NAME="XMLBUFFEREMPTY"
2862></A
2863>xmlBufferEmpty ()</H3
2864><TABLE
2865BORDER="0"
2866BGCOLOR="#D6E8FF"
2867WIDTH="100%"
2868CELLPADDING="6"
2869><TR
2870><TD
2871><PRE
2872CLASS="PROGRAMLISTING"
2873>void xmlBufferEmpty (<A
2874HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2875>xmlBufferPtr</A
2876> buf);</PRE
2877></TD
2878></TR
2879></TABLE
2880><P
2881>empty a buffer.</P
2882><P
2883></P
2884><DIV
2885CLASS="INFORMALTABLE"
2886><P
2887></P
2888><TABLE
2889BORDER="0"
2890WIDTH="100%"
2891BGCOLOR="#FFD0D0"
2892CELLSPACING="0"
2893CELLPADDING="4"
2894CLASS="CALSTABLE"
2895><TR
2896><TD
2897WIDTH="20%"
2898ALIGN="RIGHT"
2899VALIGN="TOP"
2900><TT
2901CLASS="PARAMETER"
2902><I
2903>buf</I
2904></TT
2905>&nbsp;:</TD
2906><TD
2907WIDTH="80%"
2908ALIGN="LEFT"
2909VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002910> the buffer</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002911></TR
2912></TABLE
2913><P
2914></P
2915></DIV
2916></DIV
2917><HR><DIV
2918CLASS="REFSECT2"
2919><A
Daniel Veillardf600e251999-12-18 15:32:46 +00002920NAME="AEN3515"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002921></A
2922><H3
2923><A
2924NAME="XMLBUFFERCONTENT"
2925></A
2926>xmlBufferContent ()</H3
2927><TABLE
2928BORDER="0"
2929BGCOLOR="#D6E8FF"
2930WIDTH="100%"
2931CELLPADDING="6"
2932><TR
2933><TD
2934><PRE
2935CLASS="PROGRAMLISTING"
2936>const <A
2937HREF="gnome-xml-tree.html#XMLCHAR"
2938>xmlChar</A
2939>* xmlBufferContent (const <A
2940HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2941>xmlBufferPtr</A
2942> buf);</PRE
2943></TD
2944></TR
2945></TABLE
2946><P
2947></P
2948><P
2949></P
2950><DIV
2951CLASS="INFORMALTABLE"
2952><P
2953></P
2954><TABLE
2955BORDER="0"
2956WIDTH="100%"
2957BGCOLOR="#FFD0D0"
2958CELLSPACING="0"
2959CELLPADDING="4"
2960CLASS="CALSTABLE"
2961><TR
2962><TD
2963WIDTH="20%"
2964ALIGN="RIGHT"
2965VALIGN="TOP"
2966><TT
2967CLASS="PARAMETER"
2968><I
2969>buf</I
2970></TT
2971>&nbsp;:</TD
2972><TD
2973WIDTH="80%"
2974ALIGN="LEFT"
2975VALIGN="TOP"
2976> the buffer to resize</TD
2977></TR
2978><TR
2979><TD
2980WIDTH="20%"
2981ALIGN="RIGHT"
2982VALIGN="TOP"
2983><I
2984CLASS="EMPHASIS"
2985>Returns</I
2986> :</TD
2987><TD
2988WIDTH="80%"
2989ALIGN="LEFT"
2990VALIGN="TOP"
2991>the internal content</TD
2992></TR
2993></TABLE
2994><P
2995></P
2996></DIV
2997></DIV
2998><HR><DIV
2999CLASS="REFSECT2"
3000><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003001NAME="AEN3536"
Daniel Veillard294cbca1999-12-03 13:19:09 +00003002></A
3003><H3
3004><A
3005NAME="XMLBUFFERUSE"
3006></A
3007>xmlBufferUse ()</H3
3008><TABLE
3009BORDER="0"
3010BGCOLOR="#D6E8FF"
3011WIDTH="100%"
3012CELLPADDING="6"
3013><TR
3014><TD
3015><PRE
3016CLASS="PROGRAMLISTING"
3017>int xmlBufferUse (const <A
3018HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3019>xmlBufferPtr</A
3020> buf);</PRE
3021></TD
3022></TR
3023></TABLE
3024><P
3025></P
3026><DIV
3027CLASS="INFORMALTABLE"
3028><P
3029></P
3030><TABLE
3031BORDER="0"
3032WIDTH="100%"
3033BGCOLOR="#FFD0D0"
3034CELLSPACING="0"
3035CELLPADDING="4"
3036CLASS="CALSTABLE"
3037><TR
3038><TD
3039WIDTH="20%"
3040ALIGN="RIGHT"
3041VALIGN="TOP"
3042><TT
3043CLASS="PARAMETER"
3044><I
3045>buf</I
3046></TT
3047>&nbsp;:</TD
3048><TD
3049WIDTH="80%"
3050ALIGN="LEFT"
3051VALIGN="TOP"
3052>&nbsp;</TD
3053></TR
3054><TR
3055><TD
3056WIDTH="20%"
3057ALIGN="RIGHT"
3058VALIGN="TOP"
3059><I
3060CLASS="EMPHASIS"
3061>Returns</I
3062> :</TD
3063><TD
3064WIDTH="80%"
3065ALIGN="LEFT"
3066VALIGN="TOP"
3067>&nbsp;</TD
3068></TR
3069></TABLE
3070><P
3071></P
3072></DIV
3073></DIV
3074><HR><DIV
3075CLASS="REFSECT2"
3076><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003077NAME="AEN3555"
Daniel Veillard294cbca1999-12-03 13:19:09 +00003078></A
3079><H3
3080><A
3081NAME="XMLBUFFERSETALLOCATIONSCHEME"
3082></A
3083>xmlBufferSetAllocationScheme ()</H3
3084><TABLE
3085BORDER="0"
3086BGCOLOR="#D6E8FF"
3087WIDTH="100%"
3088CELLPADDING="6"
3089><TR
3090><TD
3091><PRE
3092CLASS="PROGRAMLISTING"
3093>void xmlBufferSetAllocationScheme (<A
3094HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3095>xmlBufferPtr</A
3096> buf,
3097 <A
3098HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME"
3099>xmlBufferAllocationScheme</A
3100> scheme);</PRE
3101></TD
3102></TR
3103></TABLE
3104><P
3105></P
3106><DIV
3107CLASS="INFORMALTABLE"
3108><P
3109></P
3110><TABLE
3111BORDER="0"
3112WIDTH="100%"
3113BGCOLOR="#FFD0D0"
3114CELLSPACING="0"
3115CELLPADDING="4"
3116CLASS="CALSTABLE"
3117><TR
3118><TD
3119WIDTH="20%"
3120ALIGN="RIGHT"
3121VALIGN="TOP"
3122><TT
3123CLASS="PARAMETER"
3124><I
3125>buf</I
3126></TT
3127>&nbsp;:</TD
3128><TD
3129WIDTH="80%"
3130ALIGN="LEFT"
3131VALIGN="TOP"
3132>&nbsp;</TD
3133></TR
3134><TR
3135><TD
3136WIDTH="20%"
3137ALIGN="RIGHT"
3138VALIGN="TOP"
3139><TT
3140CLASS="PARAMETER"
3141><I
3142>scheme</I
3143></TT
3144>&nbsp;:</TD
3145><TD
3146WIDTH="80%"
3147ALIGN="LEFT"
3148VALIGN="TOP"
3149>&nbsp;</TD
3150></TR
3151></TABLE
3152><P
3153></P
3154></DIV
3155></DIV
3156><HR><DIV
3157CLASS="REFSECT2"
3158><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003159NAME="AEN3575"
Daniel Veillard294cbca1999-12-03 13:19:09 +00003160></A
3161><H3
3162><A
3163NAME="XMLBUFFERLENGTH"
3164></A
3165>xmlBufferLength ()</H3
3166><TABLE
3167BORDER="0"
3168BGCOLOR="#D6E8FF"
3169WIDTH="100%"
3170CELLPADDING="6"
3171><TR
3172><TD
3173><PRE
3174CLASS="PROGRAMLISTING"
3175>int xmlBufferLength (const <A
3176HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3177>xmlBufferPtr</A
3178> buf);</PRE
3179></TD
3180></TR
3181></TABLE
3182><P
3183></P
3184><P
3185></P
3186><DIV
3187CLASS="INFORMALTABLE"
3188><P
3189></P
3190><TABLE
3191BORDER="0"
3192WIDTH="100%"
3193BGCOLOR="#FFD0D0"
3194CELLSPACING="0"
3195CELLPADDING="4"
3196CLASS="CALSTABLE"
3197><TR
3198><TD
3199WIDTH="20%"
3200ALIGN="RIGHT"
3201VALIGN="TOP"
3202><TT
3203CLASS="PARAMETER"
3204><I
3205>buf</I
3206></TT
3207>&nbsp;:</TD
3208><TD
3209WIDTH="80%"
3210ALIGN="LEFT"
3211VALIGN="TOP"
3212> the buffer </TD
3213></TR
3214><TR
3215><TD
3216WIDTH="20%"
3217ALIGN="RIGHT"
3218VALIGN="TOP"
3219><I
3220CLASS="EMPHASIS"
3221>Returns</I
3222> :</TD
3223><TD
3224WIDTH="80%"
3225ALIGN="LEFT"
3226VALIGN="TOP"
3227>the length of data in the internal content</TD
3228></TR
3229></TABLE
3230><P
3231></P
3232></DIV
3233></DIV
3234><HR><DIV
3235CLASS="REFSECT2"
3236><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003237NAME="AEN3595"
Daniel Veillard35925471999-02-25 08:46:07 +00003238></A
3239><H3
3240><A
3241NAME="XMLCREATEINTSUBSET"
3242></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003243>xmlCreateIntSubset ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003244><TABLE
3245BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003246BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003247WIDTH="100%"
3248CELLPADDING="6"
3249><TR
3250><TD
3251><PRE
3252CLASS="PROGRAMLISTING"
3253><A
3254HREF="gnome-xml-tree.html#XMLDTDPTR"
3255>xmlDtdPtr</A
3256> xmlCreateIntSubset (<A
3257HREF="gnome-xml-tree.html#XMLDOCPTR"
3258>xmlDocPtr</A
3259> doc,
3260 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003261HREF="gnome-xml-tree.html#XMLCHAR"
3262>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003263> *name,
3264 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003265HREF="gnome-xml-tree.html#XMLCHAR"
3266>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003267> *ExternalID,
3268 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003269HREF="gnome-xml-tree.html#XMLCHAR"
3270>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003271> *SystemID);</PRE
3272></TD
3273></TR
3274></TABLE
3275><P
3276>Create the internal subset of a document</P
3277><P
3278></P
3279><DIV
3280CLASS="INFORMALTABLE"
3281><P
3282></P
3283><TABLE
3284BORDER="0"
3285WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003286BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003287CELLSPACING="0"
3288CELLPADDING="4"
3289CLASS="CALSTABLE"
3290><TR
3291><TD
3292WIDTH="20%"
3293ALIGN="RIGHT"
3294VALIGN="TOP"
3295><TT
3296CLASS="PARAMETER"
3297><I
3298>doc</I
3299></TT
3300>&nbsp;:</TD
3301><TD
3302WIDTH="80%"
3303ALIGN="LEFT"
3304VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003305> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003306></TR
3307><TR
3308><TD
3309WIDTH="20%"
3310ALIGN="RIGHT"
3311VALIGN="TOP"
3312><TT
3313CLASS="PARAMETER"
3314><I
3315>name</I
3316></TT
3317>&nbsp;:</TD
3318><TD
3319WIDTH="80%"
3320ALIGN="LEFT"
3321VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003322> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003323></TR
3324><TR
3325><TD
3326WIDTH="20%"
3327ALIGN="RIGHT"
3328VALIGN="TOP"
3329><TT
3330CLASS="PARAMETER"
3331><I
3332>ExternalID</I
3333></TT
3334>&nbsp;:</TD
3335><TD
3336WIDTH="80%"
3337ALIGN="LEFT"
3338VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003339> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003340></TR
3341><TR
3342><TD
3343WIDTH="20%"
3344ALIGN="RIGHT"
3345VALIGN="TOP"
3346><TT
3347CLASS="PARAMETER"
3348><I
3349>SystemID</I
3350></TT
3351>&nbsp;:</TD
3352><TD
3353WIDTH="80%"
3354ALIGN="LEFT"
3355VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003356> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003357></TR
3358><TR
3359><TD
3360WIDTH="20%"
3361ALIGN="RIGHT"
3362VALIGN="TOP"
3363><I
3364CLASS="EMPHASIS"
3365>Returns</I
3366> :</TD
3367><TD
3368WIDTH="80%"
3369ALIGN="LEFT"
3370VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003371>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003372></TR
3373></TABLE
3374><P
3375></P
3376></DIV
3377></DIV
3378><HR><DIV
3379CLASS="REFSECT2"
3380><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003381NAME="AEN3631"
Daniel Veillard35925471999-02-25 08:46:07 +00003382></A
3383><H3
3384><A
3385NAME="XMLNEWDTD"
3386></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003387>xmlNewDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003388><TABLE
3389BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003390BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003391WIDTH="100%"
3392CELLPADDING="6"
3393><TR
3394><TD
3395><PRE
3396CLASS="PROGRAMLISTING"
3397><A
3398HREF="gnome-xml-tree.html#XMLDTDPTR"
3399>xmlDtdPtr</A
3400> xmlNewDtd (<A
3401HREF="gnome-xml-tree.html#XMLDOCPTR"
3402>xmlDocPtr</A
3403> doc,
3404 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003405HREF="gnome-xml-tree.html#XMLCHAR"
3406>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003407> *name,
3408 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003409HREF="gnome-xml-tree.html#XMLCHAR"
3410>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003411> *ExternalID,
3412 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003413HREF="gnome-xml-tree.html#XMLCHAR"
3414>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003415> *SystemID);</PRE
3416></TD
3417></TR
3418></TABLE
3419><P
3420>Creation of a new DTD.</P
3421><P
3422></P
3423><DIV
3424CLASS="INFORMALTABLE"
3425><P
3426></P
3427><TABLE
3428BORDER="0"
3429WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003430BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003431CELLSPACING="0"
3432CELLPADDING="4"
3433CLASS="CALSTABLE"
3434><TR
3435><TD
3436WIDTH="20%"
3437ALIGN="RIGHT"
3438VALIGN="TOP"
3439><TT
3440CLASS="PARAMETER"
3441><I
3442>doc</I
3443></TT
3444>&nbsp;:</TD
3445><TD
3446WIDTH="80%"
3447ALIGN="LEFT"
3448VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003449> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003450></TR
3451><TR
3452><TD
3453WIDTH="20%"
3454ALIGN="RIGHT"
3455VALIGN="TOP"
3456><TT
3457CLASS="PARAMETER"
3458><I
3459>name</I
3460></TT
3461>&nbsp;:</TD
3462><TD
3463WIDTH="80%"
3464ALIGN="LEFT"
3465VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003466> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003467></TR
3468><TR
3469><TD
3470WIDTH="20%"
3471ALIGN="RIGHT"
3472VALIGN="TOP"
3473><TT
3474CLASS="PARAMETER"
3475><I
3476>ExternalID</I
3477></TT
3478>&nbsp;:</TD
3479><TD
3480WIDTH="80%"
3481ALIGN="LEFT"
3482VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003483> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003484></TR
3485><TR
3486><TD
3487WIDTH="20%"
3488ALIGN="RIGHT"
3489VALIGN="TOP"
3490><TT
3491CLASS="PARAMETER"
3492><I
3493>SystemID</I
3494></TT
3495>&nbsp;:</TD
3496><TD
3497WIDTH="80%"
3498ALIGN="LEFT"
3499VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003500> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003501></TR
3502><TR
3503><TD
3504WIDTH="20%"
3505ALIGN="RIGHT"
3506VALIGN="TOP"
3507><I
3508CLASS="EMPHASIS"
3509>Returns</I
3510> :</TD
3511><TD
3512WIDTH="80%"
3513ALIGN="LEFT"
3514VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003515>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003516></TR
3517></TABLE
3518><P
3519></P
3520></DIV
3521></DIV
3522><HR><DIV
3523CLASS="REFSECT2"
3524><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003525NAME="AEN3667"
Daniel Veillard35925471999-02-25 08:46:07 +00003526></A
3527><H3
3528><A
3529NAME="XMLFREEDTD"
3530></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003531>xmlFreeDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003532><TABLE
3533BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003534BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003535WIDTH="100%"
3536CELLPADDING="6"
3537><TR
3538><TD
3539><PRE
3540CLASS="PROGRAMLISTING"
3541>void xmlFreeDtd (<A
3542HREF="gnome-xml-tree.html#XMLDTDPTR"
3543>xmlDtdPtr</A
3544> cur);</PRE
3545></TD
3546></TR
3547></TABLE
3548><P
3549>Free a DTD structure.</P
3550><P
3551></P
3552><DIV
3553CLASS="INFORMALTABLE"
3554><P
3555></P
3556><TABLE
3557BORDER="0"
3558WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003559BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003560CELLSPACING="0"
3561CELLPADDING="4"
3562CLASS="CALSTABLE"
3563><TR
3564><TD
3565WIDTH="20%"
3566ALIGN="RIGHT"
3567VALIGN="TOP"
3568><TT
3569CLASS="PARAMETER"
3570><I
3571>cur</I
3572></TT
3573>&nbsp;:</TD
3574><TD
3575WIDTH="80%"
3576ALIGN="LEFT"
3577VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003578> the DTD structure to free up</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003579></TR
3580></TABLE
3581><P
3582></P
3583></DIV
3584></DIV
3585><HR><DIV
3586CLASS="REFSECT2"
3587><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003588NAME="AEN3683"
Daniel Veillard35925471999-02-25 08:46:07 +00003589></A
3590><H3
3591><A
3592NAME="XMLNEWGLOBALNS"
3593></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003594>xmlNewGlobalNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003595><TABLE
3596BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003597BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003598WIDTH="100%"
3599CELLPADDING="6"
3600><TR
3601><TD
3602><PRE
3603CLASS="PROGRAMLISTING"
3604><A
3605HREF="gnome-xml-tree.html#XMLNSPTR"
3606>xmlNsPtr</A
3607> xmlNewGlobalNs (<A
3608HREF="gnome-xml-tree.html#XMLDOCPTR"
3609>xmlDocPtr</A
3610> doc,
3611 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003612HREF="gnome-xml-tree.html#XMLCHAR"
3613>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003614> *href,
3615 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003616HREF="gnome-xml-tree.html#XMLCHAR"
3617>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003618> *prefix);</PRE
3619></TD
3620></TR
3621></TABLE
3622><P
3623>Creation of a Namespace, the old way using PI and without scoping, to AVOID.</P
3624><P
3625></P
3626><DIV
3627CLASS="INFORMALTABLE"
3628><P
3629></P
3630><TABLE
3631BORDER="0"
3632WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003633BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003634CELLSPACING="0"
3635CELLPADDING="4"
3636CLASS="CALSTABLE"
3637><TR
3638><TD
3639WIDTH="20%"
3640ALIGN="RIGHT"
3641VALIGN="TOP"
3642><TT
3643CLASS="PARAMETER"
3644><I
3645>doc</I
3646></TT
3647>&nbsp;:</TD
3648><TD
3649WIDTH="80%"
3650ALIGN="LEFT"
3651VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003652> the document carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003653></TR
3654><TR
3655><TD
3656WIDTH="20%"
3657ALIGN="RIGHT"
3658VALIGN="TOP"
3659><TT
3660CLASS="PARAMETER"
3661><I
3662>href</I
3663></TT
3664>&nbsp;:</TD
3665><TD
3666WIDTH="80%"
3667ALIGN="LEFT"
3668VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003669> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003670></TR
3671><TR
3672><TD
3673WIDTH="20%"
3674ALIGN="RIGHT"
3675VALIGN="TOP"
3676><TT
3677CLASS="PARAMETER"
3678><I
3679>prefix</I
3680></TT
3681>&nbsp;:</TD
3682><TD
3683WIDTH="80%"
3684ALIGN="LEFT"
3685VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003686> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003687></TR
3688><TR
3689><TD
3690WIDTH="20%"
3691ALIGN="RIGHT"
3692VALIGN="TOP"
3693><I
3694CLASS="EMPHASIS"
3695>Returns</I
3696> :</TD
3697><TD
3698WIDTH="80%"
3699ALIGN="LEFT"
3700VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003701>returns a new namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003702></TR
3703></TABLE
3704><P
3705></P
3706></DIV
3707></DIV
3708><HR><DIV
3709CLASS="REFSECT2"
3710><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003711NAME="AEN3714"
Daniel Veillard35925471999-02-25 08:46:07 +00003712></A
3713><H3
3714><A
3715NAME="XMLNEWNS"
3716></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003717>xmlNewNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003718><TABLE
3719BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003720BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003721WIDTH="100%"
3722CELLPADDING="6"
3723><TR
3724><TD
3725><PRE
3726CLASS="PROGRAMLISTING"
3727><A
3728HREF="gnome-xml-tree.html#XMLNSPTR"
3729>xmlNsPtr</A
3730> xmlNewNs (<A
3731HREF="gnome-xml-tree.html#XMLNODEPTR"
3732>xmlNodePtr</A
3733> node,
3734 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003735HREF="gnome-xml-tree.html#XMLCHAR"
3736>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003737> *href,
3738 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003739HREF="gnome-xml-tree.html#XMLCHAR"
3740>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003741> *prefix);</PRE
3742></TD
3743></TR
3744></TABLE
3745><P
3746>Creation of a new Namespace.</P
3747><P
3748></P
3749><DIV
3750CLASS="INFORMALTABLE"
3751><P
3752></P
3753><TABLE
3754BORDER="0"
3755WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003756BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003757CELLSPACING="0"
3758CELLPADDING="4"
3759CLASS="CALSTABLE"
3760><TR
3761><TD
3762WIDTH="20%"
3763ALIGN="RIGHT"
3764VALIGN="TOP"
3765><TT
3766CLASS="PARAMETER"
3767><I
3768>node</I
3769></TT
3770>&nbsp;:</TD
3771><TD
3772WIDTH="80%"
3773ALIGN="LEFT"
3774VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003775> the element carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003776></TR
3777><TR
3778><TD
3779WIDTH="20%"
3780ALIGN="RIGHT"
3781VALIGN="TOP"
3782><TT
3783CLASS="PARAMETER"
3784><I
3785>href</I
3786></TT
3787>&nbsp;:</TD
3788><TD
3789WIDTH="80%"
3790ALIGN="LEFT"
3791VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003792> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003793></TR
3794><TR
3795><TD
3796WIDTH="20%"
3797ALIGN="RIGHT"
3798VALIGN="TOP"
3799><TT
3800CLASS="PARAMETER"
3801><I
3802>prefix</I
3803></TT
3804>&nbsp;:</TD
3805><TD
3806WIDTH="80%"
3807ALIGN="LEFT"
3808VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003809> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003810></TR
3811><TR
3812><TD
3813WIDTH="20%"
3814ALIGN="RIGHT"
3815VALIGN="TOP"
3816><I
3817CLASS="EMPHASIS"
3818>Returns</I
3819> :</TD
3820><TD
3821WIDTH="80%"
3822ALIGN="LEFT"
3823VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003824>returns a new namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003825></TR
3826></TABLE
3827><P
3828></P
3829></DIV
3830></DIV
3831><HR><DIV
3832CLASS="REFSECT2"
3833><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003834NAME="AEN3745"
Daniel Veillard35925471999-02-25 08:46:07 +00003835></A
3836><H3
3837><A
3838NAME="XMLFREENS"
3839></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003840>xmlFreeNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003841><TABLE
3842BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003843BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003844WIDTH="100%"
3845CELLPADDING="6"
3846><TR
3847><TD
3848><PRE
3849CLASS="PROGRAMLISTING"
3850>void xmlFreeNs (<A
3851HREF="gnome-xml-tree.html#XMLNSPTR"
3852>xmlNsPtr</A
3853> cur);</PRE
3854></TD
3855></TR
3856></TABLE
3857><P
3858>Free up the structures associated to a namespace</P
3859><P
3860></P
3861><DIV
3862CLASS="INFORMALTABLE"
3863><P
3864></P
3865><TABLE
3866BORDER="0"
3867WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003868BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003869CELLSPACING="0"
3870CELLPADDING="4"
3871CLASS="CALSTABLE"
3872><TR
3873><TD
3874WIDTH="20%"
3875ALIGN="RIGHT"
3876VALIGN="TOP"
3877><TT
3878CLASS="PARAMETER"
3879><I
3880>cur</I
3881></TT
3882>&nbsp;:</TD
3883><TD
3884WIDTH="80%"
3885ALIGN="LEFT"
3886VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003887> the namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003888></TR
3889></TABLE
3890><P
3891></P
3892></DIV
3893></DIV
3894><HR><DIV
3895CLASS="REFSECT2"
3896><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003897NAME="AEN3761"
Daniel Veillard35925471999-02-25 08:46:07 +00003898></A
3899><H3
3900><A
3901NAME="XMLNEWDOC"
3902></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003903>xmlNewDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003904><TABLE
3905BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003906BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003907WIDTH="100%"
3908CELLPADDING="6"
3909><TR
3910><TD
3911><PRE
3912CLASS="PROGRAMLISTING"
3913><A
3914HREF="gnome-xml-tree.html#XMLDOCPTR"
3915>xmlDocPtr</A
3916> xmlNewDoc (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003917HREF="gnome-xml-tree.html#XMLCHAR"
3918>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003919> *version);</PRE
3920></TD
3921></TR
3922></TABLE
3923><P
3924></P
3925><P
3926></P
3927><DIV
3928CLASS="INFORMALTABLE"
3929><P
3930></P
3931><TABLE
3932BORDER="0"
3933WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003934BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003935CELLSPACING="0"
3936CELLPADDING="4"
3937CLASS="CALSTABLE"
3938><TR
3939><TD
3940WIDTH="20%"
3941ALIGN="RIGHT"
3942VALIGN="TOP"
3943><TT
3944CLASS="PARAMETER"
3945><I
3946>version</I
3947></TT
3948>&nbsp;:</TD
3949><TD
3950WIDTH="80%"
3951ALIGN="LEFT"
3952VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003953> xmlChar string giving the version of XML "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003954></TR
3955><TR
3956><TD
3957WIDTH="20%"
3958ALIGN="RIGHT"
3959VALIGN="TOP"
3960><I
3961CLASS="EMPHASIS"
3962>Returns</I
3963> :</TD
3964><TD
3965WIDTH="80%"
3966ALIGN="LEFT"
3967VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003968>a new document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003969></TR
3970></TABLE
3971><P
3972></P
3973></DIV
3974></DIV
3975><HR><DIV
3976CLASS="REFSECT2"
3977><A
Daniel Veillardf600e251999-12-18 15:32:46 +00003978NAME="AEN3782"
Daniel Veillard35925471999-02-25 08:46:07 +00003979></A
3980><H3
3981><A
3982NAME="XMLFREEDOC"
3983></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003984>xmlFreeDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003985><TABLE
3986BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003987BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003988WIDTH="100%"
3989CELLPADDING="6"
3990><TR
3991><TD
3992><PRE
3993CLASS="PROGRAMLISTING"
3994>void xmlFreeDoc (<A
3995HREF="gnome-xml-tree.html#XMLDOCPTR"
3996>xmlDocPtr</A
3997> cur);</PRE
3998></TD
3999></TR
4000></TABLE
4001><P
4002>Free up all the structures used by a document, tree included.</P
4003><P
4004></P
4005><DIV
4006CLASS="INFORMALTABLE"
4007><P
4008></P
4009><TABLE
4010BORDER="0"
4011WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004012BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004013CELLSPACING="0"
4014CELLPADDING="4"
4015CLASS="CALSTABLE"
4016><TR
4017><TD
4018WIDTH="20%"
4019ALIGN="RIGHT"
4020VALIGN="TOP"
4021><TT
4022CLASS="PARAMETER"
4023><I
4024>cur</I
4025></TT
4026>&nbsp;:</TD
4027><TD
4028WIDTH="80%"
4029ALIGN="LEFT"
4030VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004031> pointer to the document
4032@: </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004033></TR
4034></TABLE
4035><P
4036></P
4037></DIV
4038></DIV
4039><HR><DIV
4040CLASS="REFSECT2"
4041><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004042NAME="AEN3798"
Daniel Veillard35925471999-02-25 08:46:07 +00004043></A
4044><H3
4045><A
4046NAME="XMLNEWDOCPROP"
4047></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004048>xmlNewDocProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004049><TABLE
4050BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004051BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004052WIDTH="100%"
4053CELLPADDING="6"
4054><TR
4055><TD
4056><PRE
4057CLASS="PROGRAMLISTING"
4058><A
4059HREF="gnome-xml-tree.html#XMLATTRPTR"
4060>xmlAttrPtr</A
4061> xmlNewDocProp (<A
4062HREF="gnome-xml-tree.html#XMLDOCPTR"
4063>xmlDocPtr</A
4064> doc,
4065 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004066HREF="gnome-xml-tree.html#XMLCHAR"
4067>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004068> *name,
4069 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004070HREF="gnome-xml-tree.html#XMLCHAR"
4071>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004072> *value);</PRE
4073></TD
4074></TR
4075></TABLE
4076><P
4077>Create a new property carried by a document.</P
4078><P
4079></P
4080><DIV
4081CLASS="INFORMALTABLE"
4082><P
4083></P
4084><TABLE
4085BORDER="0"
4086WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004087BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004088CELLSPACING="0"
4089CELLPADDING="4"
4090CLASS="CALSTABLE"
4091><TR
4092><TD
4093WIDTH="20%"
4094ALIGN="RIGHT"
4095VALIGN="TOP"
4096><TT
4097CLASS="PARAMETER"
4098><I
4099>doc</I
4100></TT
4101>&nbsp;:</TD
4102><TD
4103WIDTH="80%"
4104ALIGN="LEFT"
4105VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004106> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004107></TR
4108><TR
4109><TD
4110WIDTH="20%"
4111ALIGN="RIGHT"
4112VALIGN="TOP"
4113><TT
4114CLASS="PARAMETER"
4115><I
4116>name</I
4117></TT
4118>&nbsp;:</TD
4119><TD
4120WIDTH="80%"
4121ALIGN="LEFT"
4122VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004123> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004124></TR
4125><TR
4126><TD
4127WIDTH="20%"
4128ALIGN="RIGHT"
4129VALIGN="TOP"
4130><TT
4131CLASS="PARAMETER"
4132><I
4133>value</I
4134></TT
4135>&nbsp;:</TD
4136><TD
4137WIDTH="80%"
4138ALIGN="LEFT"
4139VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004140> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004141></TR
4142><TR
4143><TD
4144WIDTH="20%"
4145ALIGN="RIGHT"
4146VALIGN="TOP"
4147><I
4148CLASS="EMPHASIS"
4149>Returns</I
4150> :</TD
4151><TD
4152WIDTH="80%"
4153ALIGN="LEFT"
4154VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004155>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004156></TR
4157></TABLE
4158><P
4159></P
4160></DIV
4161></DIV
4162><HR><DIV
4163CLASS="REFSECT2"
4164><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004165NAME="AEN3829"
Daniel Veillard35925471999-02-25 08:46:07 +00004166></A
4167><H3
4168><A
4169NAME="XMLNEWPROP"
4170></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004171>xmlNewProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004172><TABLE
4173BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004174BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004175WIDTH="100%"
4176CELLPADDING="6"
4177><TR
4178><TD
4179><PRE
4180CLASS="PROGRAMLISTING"
4181><A
4182HREF="gnome-xml-tree.html#XMLATTRPTR"
4183>xmlAttrPtr</A
4184> xmlNewProp (<A
4185HREF="gnome-xml-tree.html#XMLNODEPTR"
4186>xmlNodePtr</A
4187> node,
4188 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004189HREF="gnome-xml-tree.html#XMLCHAR"
4190>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004191> *name,
4192 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004193HREF="gnome-xml-tree.html#XMLCHAR"
4194>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004195> *value);</PRE
4196></TD
4197></TR
4198></TABLE
4199><P
4200>Create a new property carried by a node.</P
4201><P
4202></P
4203><DIV
4204CLASS="INFORMALTABLE"
4205><P
4206></P
4207><TABLE
4208BORDER="0"
4209WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004210BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004211CELLSPACING="0"
4212CELLPADDING="4"
4213CLASS="CALSTABLE"
4214><TR
4215><TD
4216WIDTH="20%"
4217ALIGN="RIGHT"
4218VALIGN="TOP"
4219><TT
4220CLASS="PARAMETER"
4221><I
4222>node</I
4223></TT
4224>&nbsp;:</TD
4225><TD
4226WIDTH="80%"
4227ALIGN="LEFT"
4228VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004229> the holding node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004230></TR
4231><TR
4232><TD
4233WIDTH="20%"
4234ALIGN="RIGHT"
4235VALIGN="TOP"
4236><TT
4237CLASS="PARAMETER"
4238><I
4239>name</I
4240></TT
4241>&nbsp;:</TD
4242><TD
4243WIDTH="80%"
4244ALIGN="LEFT"
4245VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004246> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004247></TR
4248><TR
4249><TD
4250WIDTH="20%"
4251ALIGN="RIGHT"
4252VALIGN="TOP"
4253><TT
4254CLASS="PARAMETER"
4255><I
4256>value</I
4257></TT
4258>&nbsp;:</TD
4259><TD
4260WIDTH="80%"
4261ALIGN="LEFT"
4262VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004263> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004264></TR
4265><TR
4266><TD
4267WIDTH="20%"
4268ALIGN="RIGHT"
4269VALIGN="TOP"
4270><I
4271CLASS="EMPHASIS"
4272>Returns</I
4273> :</TD
4274><TD
4275WIDTH="80%"
4276ALIGN="LEFT"
4277VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004278>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004279></TR
4280></TABLE
4281><P
4282></P
4283></DIV
4284></DIV
4285><HR><DIV
4286CLASS="REFSECT2"
4287><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004288NAME="AEN3860"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004289></A
4290><H3
4291><A
4292NAME="XMLNEWNSPROP"
4293></A
4294>xmlNewNsProp ()</H3
4295><TABLE
4296BORDER="0"
4297BGCOLOR="#D6E8FF"
4298WIDTH="100%"
4299CELLPADDING="6"
4300><TR
4301><TD
4302><PRE
4303CLASS="PROGRAMLISTING"
4304><A
4305HREF="gnome-xml-tree.html#XMLATTRPTR"
4306>xmlAttrPtr</A
4307> xmlNewNsProp (<A
4308HREF="gnome-xml-tree.html#XMLNODEPTR"
4309>xmlNodePtr</A
4310> node,
4311 <A
4312HREF="gnome-xml-tree.html#XMLNSPTR"
4313>xmlNsPtr</A
4314> ns,
4315 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004316HREF="gnome-xml-tree.html#XMLCHAR"
4317>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004318> *name,
4319 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004320HREF="gnome-xml-tree.html#XMLCHAR"
4321>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004322> *value);</PRE
4323></TD
4324></TR
4325></TABLE
4326><P
4327>Create a new property tagged with a namespace and carried by a node.</P
4328><P
4329></P
4330><DIV
4331CLASS="INFORMALTABLE"
4332><P
4333></P
4334><TABLE
4335BORDER="0"
4336WIDTH="100%"
4337BGCOLOR="#FFD0D0"
4338CELLSPACING="0"
4339CELLPADDING="4"
4340CLASS="CALSTABLE"
4341><TR
4342><TD
4343WIDTH="20%"
4344ALIGN="RIGHT"
4345VALIGN="TOP"
4346><TT
4347CLASS="PARAMETER"
4348><I
4349>node</I
4350></TT
4351>&nbsp;:</TD
4352><TD
4353WIDTH="80%"
4354ALIGN="LEFT"
4355VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004356> the holding node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004357></TR
4358><TR
4359><TD
4360WIDTH="20%"
4361ALIGN="RIGHT"
4362VALIGN="TOP"
4363><TT
4364CLASS="PARAMETER"
4365><I
4366>ns</I
4367></TT
4368>&nbsp;:</TD
4369><TD
4370WIDTH="80%"
4371ALIGN="LEFT"
4372VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004373> the namespace</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004374></TR
4375><TR
4376><TD
4377WIDTH="20%"
4378ALIGN="RIGHT"
4379VALIGN="TOP"
4380><TT
4381CLASS="PARAMETER"
4382><I
4383>name</I
4384></TT
4385>&nbsp;:</TD
4386><TD
4387WIDTH="80%"
4388ALIGN="LEFT"
4389VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004390> the name of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004391></TR
4392><TR
4393><TD
4394WIDTH="20%"
4395ALIGN="RIGHT"
4396VALIGN="TOP"
4397><TT
4398CLASS="PARAMETER"
4399><I
4400>value</I
4401></TT
4402>&nbsp;:</TD
4403><TD
4404WIDTH="80%"
4405ALIGN="LEFT"
4406VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004407> the value of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004408></TR
4409><TR
4410><TD
4411WIDTH="20%"
4412ALIGN="RIGHT"
4413VALIGN="TOP"
4414><I
4415CLASS="EMPHASIS"
4416>Returns</I
4417> :</TD
4418><TD
4419WIDTH="80%"
4420ALIGN="LEFT"
4421VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004422>a pointer to the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004423></TR
4424></TABLE
4425><P
4426></P
4427></DIV
4428></DIV
4429><HR><DIV
4430CLASS="REFSECT2"
4431><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004432NAME="AEN3896"
Daniel Veillard35925471999-02-25 08:46:07 +00004433></A
4434><H3
4435><A
4436NAME="XMLFREEPROPLIST"
4437></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004438>xmlFreePropList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004439><TABLE
4440BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004441BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004442WIDTH="100%"
4443CELLPADDING="6"
4444><TR
4445><TD
4446><PRE
4447CLASS="PROGRAMLISTING"
4448>void xmlFreePropList (<A
4449HREF="gnome-xml-tree.html#XMLATTRPTR"
4450>xmlAttrPtr</A
4451> cur);</PRE
4452></TD
4453></TR
4454></TABLE
4455><P
4456>Free a property and all its siblings, all the childs are freed too.</P
4457><P
4458></P
4459><DIV
4460CLASS="INFORMALTABLE"
4461><P
4462></P
4463><TABLE
4464BORDER="0"
4465WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004466BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004467CELLSPACING="0"
4468CELLPADDING="4"
4469CLASS="CALSTABLE"
4470><TR
4471><TD
4472WIDTH="20%"
4473ALIGN="RIGHT"
4474VALIGN="TOP"
4475><TT
4476CLASS="PARAMETER"
4477><I
4478>cur</I
4479></TT
4480>&nbsp;:</TD
4481><TD
4482WIDTH="80%"
4483ALIGN="LEFT"
4484VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004485> the first property in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004486></TR
4487></TABLE
4488><P
4489></P
4490></DIV
4491></DIV
4492><HR><DIV
4493CLASS="REFSECT2"
4494><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004495NAME="AEN3912"
Daniel Veillard35925471999-02-25 08:46:07 +00004496></A
4497><H3
4498><A
4499NAME="XMLFREEPROP"
4500></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004501>xmlFreeProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004502><TABLE
4503BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004504BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004505WIDTH="100%"
4506CELLPADDING="6"
4507><TR
4508><TD
4509><PRE
4510CLASS="PROGRAMLISTING"
4511>void xmlFreeProp (<A
4512HREF="gnome-xml-tree.html#XMLATTRPTR"
4513>xmlAttrPtr</A
4514> cur);</PRE
4515></TD
4516></TR
4517></TABLE
4518><P
4519>Free one property, all the childs are freed too.</P
4520><P
4521></P
4522><DIV
4523CLASS="INFORMALTABLE"
4524><P
4525></P
4526><TABLE
4527BORDER="0"
4528WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004529BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004530CELLSPACING="0"
4531CELLPADDING="4"
4532CLASS="CALSTABLE"
4533><TR
4534><TD
4535WIDTH="20%"
4536ALIGN="RIGHT"
4537VALIGN="TOP"
4538><TT
4539CLASS="PARAMETER"
4540><I
4541>cur</I
4542></TT
4543>&nbsp;:</TD
4544><TD
4545WIDTH="80%"
4546ALIGN="LEFT"
4547VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004548> the first property in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004549></TR
4550></TABLE
4551><P
4552></P
4553></DIV
4554></DIV
4555><HR><DIV
4556CLASS="REFSECT2"
4557><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004558NAME="AEN3928"
Daniel Veillard35925471999-02-25 08:46:07 +00004559></A
4560><H3
4561><A
4562NAME="XMLCOPYPROP"
4563></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004564>xmlCopyProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004565><TABLE
4566BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004567BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004568WIDTH="100%"
4569CELLPADDING="6"
4570><TR
4571><TD
4572><PRE
4573CLASS="PROGRAMLISTING"
4574><A
4575HREF="gnome-xml-tree.html#XMLATTRPTR"
4576>xmlAttrPtr</A
4577> xmlCopyProp (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004578HREF="gnome-xml-tree.html#XMLNODEPTR"
4579>xmlNodePtr</A
4580> target,
4581 <A
Daniel Veillard35925471999-02-25 08:46:07 +00004582HREF="gnome-xml-tree.html#XMLATTRPTR"
4583>xmlAttrPtr</A
4584> cur);</PRE
4585></TD
4586></TR
4587></TABLE
4588><P
4589>Do a copy of the attribute.</P
4590><P
4591></P
4592><DIV
4593CLASS="INFORMALTABLE"
4594><P
4595></P
4596><TABLE
4597BORDER="0"
4598WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004599BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004600CELLSPACING="0"
4601CELLPADDING="4"
4602CLASS="CALSTABLE"
4603><TR
4604><TD
4605WIDTH="20%"
4606ALIGN="RIGHT"
4607VALIGN="TOP"
4608><TT
4609CLASS="PARAMETER"
4610><I
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004611>target</I
Daniel Veillard35925471999-02-25 08:46:07 +00004612></TT
4613>&nbsp;:</TD
4614><TD
4615WIDTH="80%"
4616ALIGN="LEFT"
4617VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004618> the element where the attribute will be grafted</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004619></TR
4620><TR
4621><TD
4622WIDTH="20%"
4623ALIGN="RIGHT"
4624VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00004625><TT
4626CLASS="PARAMETER"
4627><I
4628>cur</I
4629></TT
4630>&nbsp;:</TD
4631><TD
4632WIDTH="80%"
4633ALIGN="LEFT"
4634VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004635> the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004636></TR
4637><TR
4638><TD
4639WIDTH="20%"
4640ALIGN="RIGHT"
4641VALIGN="TOP"
4642><I
4643CLASS="EMPHASIS"
4644>Returns</I
4645> :</TD
4646><TD
4647WIDTH="80%"
4648ALIGN="LEFT"
4649VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004650> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004651></TR
4652></TABLE
4653><P
4654></P
4655></DIV
4656></DIV
4657><HR><DIV
4658CLASS="REFSECT2"
4659><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004660NAME="AEN3954"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004661></A
4662><H3
4663><A
4664NAME="XMLCOPYPROPLIST"
4665></A
4666>xmlCopyPropList ()</H3
4667><TABLE
4668BORDER="0"
4669BGCOLOR="#D6E8FF"
4670WIDTH="100%"
4671CELLPADDING="6"
4672><TR
4673><TD
4674><PRE
4675CLASS="PROGRAMLISTING"
4676><A
4677HREF="gnome-xml-tree.html#XMLATTRPTR"
4678>xmlAttrPtr</A
4679> xmlCopyPropList (<A
4680HREF="gnome-xml-tree.html#XMLNODEPTR"
4681>xmlNodePtr</A
4682> target,
4683 <A
4684HREF="gnome-xml-tree.html#XMLATTRPTR"
4685>xmlAttrPtr</A
4686> cur);</PRE
4687></TD
4688></TR
4689></TABLE
4690><P
4691>Do a copy of an attribute list.</P
4692><P
4693></P
4694><DIV
4695CLASS="INFORMALTABLE"
4696><P
4697></P
4698><TABLE
4699BORDER="0"
4700WIDTH="100%"
4701BGCOLOR="#FFD0D0"
4702CELLSPACING="0"
4703CELLPADDING="4"
4704CLASS="CALSTABLE"
4705><TR
4706><TD
4707WIDTH="20%"
4708ALIGN="RIGHT"
4709VALIGN="TOP"
4710><TT
4711CLASS="PARAMETER"
4712><I
4713>target</I
4714></TT
4715>&nbsp;:</TD
4716><TD
4717WIDTH="80%"
4718ALIGN="LEFT"
4719VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004720> the element where the attributes will be grafted</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004721></TR
4722><TR
4723><TD
4724WIDTH="20%"
4725ALIGN="RIGHT"
4726VALIGN="TOP"
4727><TT
4728CLASS="PARAMETER"
4729><I
4730>cur</I
4731></TT
4732>&nbsp;:</TD
4733><TD
4734WIDTH="80%"
4735ALIGN="LEFT"
4736VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004737> the first attribute</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004738></TR
4739><TR
4740><TD
4741WIDTH="20%"
4742ALIGN="RIGHT"
4743VALIGN="TOP"
4744><I
4745CLASS="EMPHASIS"
4746>Returns</I
4747> :</TD
4748><TD
4749WIDTH="80%"
4750ALIGN="LEFT"
4751VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004752> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004753></TR
4754></TABLE
4755><P
4756></P
4757></DIV
4758></DIV
4759><HR><DIV
4760CLASS="REFSECT2"
4761><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004762NAME="AEN3980"
Daniel Veillard35925471999-02-25 08:46:07 +00004763></A
4764><H3
4765><A
4766NAME="XMLCOPYDTD"
4767></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004768>xmlCopyDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004769><TABLE
4770BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004771BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004772WIDTH="100%"
4773CELLPADDING="6"
4774><TR
4775><TD
4776><PRE
4777CLASS="PROGRAMLISTING"
4778><A
4779HREF="gnome-xml-tree.html#XMLDTDPTR"
4780>xmlDtdPtr</A
4781> xmlCopyDtd (<A
4782HREF="gnome-xml-tree.html#XMLDTDPTR"
4783>xmlDtdPtr</A
4784> dtd);</PRE
4785></TD
4786></TR
4787></TABLE
4788><P
4789>Do a copy of the dtd.</P
4790><P
4791></P
4792><DIV
4793CLASS="INFORMALTABLE"
4794><P
4795></P
4796><TABLE
4797BORDER="0"
4798WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004799BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004800CELLSPACING="0"
4801CELLPADDING="4"
4802CLASS="CALSTABLE"
4803><TR
4804><TD
4805WIDTH="20%"
4806ALIGN="RIGHT"
4807VALIGN="TOP"
4808><TT
4809CLASS="PARAMETER"
4810><I
4811>dtd</I
4812></TT
4813>&nbsp;:</TD
4814><TD
4815WIDTH="80%"
4816ALIGN="LEFT"
4817VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004818> the dtd</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004819></TR
4820><TR
4821><TD
4822WIDTH="20%"
4823ALIGN="RIGHT"
4824VALIGN="TOP"
4825><I
4826CLASS="EMPHASIS"
4827>Returns</I
4828> :</TD
4829><TD
4830WIDTH="80%"
4831ALIGN="LEFT"
4832VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004833> a new xmlDtdPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004834></TR
4835></TABLE
4836><P
4837></P
4838></DIV
4839></DIV
4840><HR><DIV
4841CLASS="REFSECT2"
4842><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004843NAME="AEN4001"
Daniel Veillard35925471999-02-25 08:46:07 +00004844></A
4845><H3
4846><A
4847NAME="XMLCOPYDOC"
4848></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004849>xmlCopyDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004850><TABLE
4851BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004852BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004853WIDTH="100%"
4854CELLPADDING="6"
4855><TR
4856><TD
4857><PRE
4858CLASS="PROGRAMLISTING"
4859><A
4860HREF="gnome-xml-tree.html#XMLDOCPTR"
4861>xmlDocPtr</A
4862> xmlCopyDoc (<A
4863HREF="gnome-xml-tree.html#XMLDOCPTR"
4864>xmlDocPtr</A
4865> doc,
4866 int recursive);</PRE
4867></TD
4868></TR
4869></TABLE
4870><P
4871>Do a copy of the document info. If recursive, the content tree will
4872be copied too as well as Dtd, namespaces and entities.</P
4873><P
4874></P
4875><DIV
4876CLASS="INFORMALTABLE"
4877><P
4878></P
4879><TABLE
4880BORDER="0"
4881WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004882BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004883CELLSPACING="0"
4884CELLPADDING="4"
4885CLASS="CALSTABLE"
4886><TR
4887><TD
4888WIDTH="20%"
4889ALIGN="RIGHT"
4890VALIGN="TOP"
4891><TT
4892CLASS="PARAMETER"
4893><I
4894>doc</I
4895></TT
4896>&nbsp;:</TD
4897><TD
4898WIDTH="80%"
4899ALIGN="LEFT"
4900VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004901> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004902></TR
4903><TR
4904><TD
4905WIDTH="20%"
4906ALIGN="RIGHT"
4907VALIGN="TOP"
4908><TT
4909CLASS="PARAMETER"
4910><I
4911>recursive</I
4912></TT
4913>&nbsp;:</TD
4914><TD
4915WIDTH="80%"
4916ALIGN="LEFT"
4917VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004918> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004919></TR
4920><TR
4921><TD
4922WIDTH="20%"
4923ALIGN="RIGHT"
4924VALIGN="TOP"
4925><I
4926CLASS="EMPHASIS"
4927>Returns</I
4928> :</TD
4929><TD
4930WIDTH="80%"
4931ALIGN="LEFT"
4932VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004933> a new xmlDocPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004934></TR
4935></TABLE
4936><P
4937></P
4938></DIV
4939></DIV
4940><HR><DIV
4941CLASS="REFSECT2"
4942><A
Daniel Veillardf600e251999-12-18 15:32:46 +00004943NAME="AEN4026"
Daniel Veillard35925471999-02-25 08:46:07 +00004944></A
4945><H3
4946><A
4947NAME="XMLNEWDOCNODE"
4948></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004949>xmlNewDocNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004950><TABLE
4951BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004952BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004953WIDTH="100%"
4954CELLPADDING="6"
4955><TR
4956><TD
4957><PRE
4958CLASS="PROGRAMLISTING"
4959><A
4960HREF="gnome-xml-tree.html#XMLNODEPTR"
4961>xmlNodePtr</A
4962> xmlNewDocNode (<A
4963HREF="gnome-xml-tree.html#XMLDOCPTR"
4964>xmlDocPtr</A
4965> doc,
4966 <A
4967HREF="gnome-xml-tree.html#XMLNSPTR"
4968>xmlNsPtr</A
4969> ns,
4970 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004971HREF="gnome-xml-tree.html#XMLCHAR"
4972>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004973> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004974 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004975HREF="gnome-xml-tree.html#XMLCHAR"
4976>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004977> *content);</PRE
4978></TD
4979></TR
4980></TABLE
4981><P
4982>Creation of a new node element within a document. <TT
4983CLASS="PARAMETER"
4984><I
4985>ns</I
4986></TT
4987> and <TT
4988CLASS="PARAMETER"
4989><I
4990>content</I
4991></TT
4992>
Daniel Veillard11a48ec1999-11-23 10:40:46 +00004993are optionnal (NULL).
4994NOTE: <TT
4995CLASS="PARAMETER"
4996><I
4997>content</I
4998></TT
4999> is supposed to be a piece of XML CDATA, so it allow entities
5000references, but XML special chars need to be escaped first by using
5001<A
5002HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT"
5003>xmlEncodeEntitiesReentrant</A
5004>(). Use <A
5005HREF="gnome-xml-tree.html#XMLNEWDOCRAWNODE"
5006>xmlNewDocRawNode</A
5007>() if you don't
5008need entities support.</P
5009><P
5010></P
5011><DIV
5012CLASS="INFORMALTABLE"
5013><P
5014></P
5015><TABLE
5016BORDER="0"
5017WIDTH="100%"
5018BGCOLOR="#FFD0D0"
5019CELLSPACING="0"
5020CELLPADDING="4"
5021CLASS="CALSTABLE"
5022><TR
5023><TD
5024WIDTH="20%"
5025ALIGN="RIGHT"
5026VALIGN="TOP"
5027><TT
5028CLASS="PARAMETER"
5029><I
5030>doc</I
5031></TT
5032>&nbsp;:</TD
5033><TD
5034WIDTH="80%"
5035ALIGN="LEFT"
5036VALIGN="TOP"
5037> the document</TD
5038></TR
5039><TR
5040><TD
5041WIDTH="20%"
5042ALIGN="RIGHT"
5043VALIGN="TOP"
5044><TT
5045CLASS="PARAMETER"
5046><I
5047>ns</I
5048></TT
5049>&nbsp;:</TD
5050><TD
5051WIDTH="80%"
5052ALIGN="LEFT"
5053VALIGN="TOP"
5054> namespace if any</TD
5055></TR
5056><TR
5057><TD
5058WIDTH="20%"
5059ALIGN="RIGHT"
5060VALIGN="TOP"
5061><TT
5062CLASS="PARAMETER"
5063><I
5064>name</I
5065></TT
5066>&nbsp;:</TD
5067><TD
5068WIDTH="80%"
5069ALIGN="LEFT"
5070VALIGN="TOP"
5071> the node name</TD
5072></TR
5073><TR
5074><TD
5075WIDTH="20%"
5076ALIGN="RIGHT"
5077VALIGN="TOP"
5078><TT
5079CLASS="PARAMETER"
5080><I
5081>content</I
5082></TT
5083>&nbsp;:</TD
5084><TD
5085WIDTH="80%"
5086ALIGN="LEFT"
5087VALIGN="TOP"
5088> the XML text content if any</TD
5089></TR
5090><TR
5091><TD
5092WIDTH="20%"
5093ALIGN="RIGHT"
5094VALIGN="TOP"
5095><I
5096CLASS="EMPHASIS"
5097>Returns</I
5098> :</TD
5099><TD
5100WIDTH="80%"
5101ALIGN="LEFT"
5102VALIGN="TOP"
5103>a pointer to the new node object.</TD
5104></TR
5105></TABLE
5106><P
5107></P
5108></DIV
5109></DIV
5110><HR><DIV
5111CLASS="REFSECT2"
5112><A
Daniel Veillardf600e251999-12-18 15:32:46 +00005113NAME="AEN4067"
Daniel Veillard11a48ec1999-11-23 10:40:46 +00005114></A
5115><H3
5116><A
5117NAME="XMLNEWDOCRAWNODE"
5118></A
5119>xmlNewDocRawNode ()</H3
5120><TABLE
5121BORDER="0"
5122BGCOLOR="#D6E8FF"
5123WIDTH="100%"
5124CELLPADDING="6"
5125><TR
5126><TD
5127><PRE
5128CLASS="PROGRAMLISTING"
5129><A
5130HREF="gnome-xml-tree.html#XMLNODEPTR"
5131>xmlNodePtr</A
5132> xmlNewDocRawNode (<A
5133HREF="gnome-xml-tree.html#XMLDOCPTR"
5134>xmlDocPtr</A
5135> doc,
5136 <A
5137HREF="gnome-xml-tree.html#XMLNSPTR"
5138>xmlNsPtr</A
5139> ns,
5140 const <A
5141HREF="gnome-xml-tree.html#XMLCHAR"
5142>xmlChar</A
5143> *name,
5144 const <A
5145HREF="gnome-xml-tree.html#XMLCHAR"
5146>xmlChar</A
5147> *content);</PRE
5148></TD
5149></TR
5150></TABLE
5151><P
5152>Creation of a new node element within a document. <TT
5153CLASS="PARAMETER"
5154><I
5155>ns</I
5156></TT
5157> and <TT
5158CLASS="PARAMETER"
5159><I
5160>content</I
5161></TT
5162>
Daniel Veillard35925471999-02-25 08:46:07 +00005163are optionnal (NULL).</P
5164><P
5165></P
5166><DIV
5167CLASS="INFORMALTABLE"
5168><P
5169></P
5170><TABLE
5171BORDER="0"
5172WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005173BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005174CELLSPACING="0"
5175CELLPADDING="4"
5176CLASS="CALSTABLE"
5177><TR
5178><TD
5179WIDTH="20%"
5180ALIGN="RIGHT"
5181VALIGN="TOP"
5182><TT
5183CLASS="PARAMETER"
5184><I
5185>doc</I
5186></TT
5187>&nbsp;:</TD
5188><TD
5189WIDTH="80%"
5190ALIGN="LEFT"
5191VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005192> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005193></TR
5194><TR
5195><TD
5196WIDTH="20%"
5197ALIGN="RIGHT"
5198VALIGN="TOP"
5199><TT
5200CLASS="PARAMETER"
5201><I
5202>ns</I
5203></TT
5204>&nbsp;:</TD
5205><TD
5206WIDTH="80%"
5207ALIGN="LEFT"
5208VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005209> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005210></TR
5211><TR
5212><TD
5213WIDTH="20%"
5214ALIGN="RIGHT"
5215VALIGN="TOP"
5216><TT
5217CLASS="PARAMETER"
5218><I
5219>name</I
5220></TT
5221>&nbsp;:</TD
5222><TD
5223WIDTH="80%"
5224ALIGN="LEFT"
5225VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005226> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005227></TR
5228><TR
5229><TD
5230WIDTH="20%"
5231ALIGN="RIGHT"
5232VALIGN="TOP"
5233><TT
5234CLASS="PARAMETER"
5235><I
5236>content</I
5237></TT
5238>&nbsp;:</TD
5239><TD
5240WIDTH="80%"
5241ALIGN="LEFT"
5242VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005243> the text content if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005244></TR
5245><TR
5246><TD
5247WIDTH="20%"
5248ALIGN="RIGHT"
5249VALIGN="TOP"
5250><I
5251CLASS="EMPHASIS"
5252>Returns</I
5253> :</TD
5254><TD
5255WIDTH="80%"
5256ALIGN="LEFT"
5257VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005258>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005259></TR
5260></TABLE
5261><P
5262></P
5263></DIV
5264></DIV
5265><HR><DIV
5266CLASS="REFSECT2"
5267><A
Daniel Veillardf600e251999-12-18 15:32:46 +00005268NAME="AEN4105"
Daniel Veillard35925471999-02-25 08:46:07 +00005269></A
5270><H3
5271><A
5272NAME="XMLNEWNODE"
5273></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005274>xmlNewNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005275><TABLE
5276BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005277BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005278WIDTH="100%"
5279CELLPADDING="6"
5280><TR
5281><TD
5282><PRE
5283CLASS="PROGRAMLISTING"
5284><A
5285HREF="gnome-xml-tree.html#XMLNODEPTR"
5286>xmlNodePtr</A
5287> xmlNewNode (<A
5288HREF="gnome-xml-tree.html#XMLNSPTR"
5289>xmlNsPtr</A
5290> ns,
5291 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005292HREF="gnome-xml-tree.html#XMLCHAR"
5293>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005294> *name);</PRE
5295></TD
5296></TR
5297></TABLE
5298><P
5299>Creation of a new node element. <TT
5300CLASS="PARAMETER"
5301><I
5302>ns</I
5303></TT
5304> and <TT
5305CLASS="PARAMETER"
5306><I
5307>content</I
5308></TT
5309> are optionnal (NULL).
5310If content is non NULL, a child list containing the TEXTs and
5311ENTITY_REFs node will be created.</P
5312><P
5313></P
5314><DIV
5315CLASS="INFORMALTABLE"
5316><P
5317></P
5318><TABLE
5319BORDER="0"
5320WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005321BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005322CELLSPACING="0"
5323CELLPADDING="4"
5324CLASS="CALSTABLE"
5325><TR
5326><TD
5327WIDTH="20%"
5328ALIGN="RIGHT"
5329VALIGN="TOP"
5330><TT
5331CLASS="PARAMETER"
5332><I
5333>ns</I
5334></TT
5335>&nbsp;:</TD
5336><TD
5337WIDTH="80%"
5338ALIGN="LEFT"
5339VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005340> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005341></TR
5342><TR
5343><TD
5344WIDTH="20%"
5345ALIGN="RIGHT"
5346VALIGN="TOP"
5347><TT
5348CLASS="PARAMETER"
5349><I
5350>name</I
5351></TT
5352>&nbsp;:</TD
5353><TD
5354WIDTH="80%"
5355ALIGN="LEFT"
5356VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005357> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005358></TR
5359><TR
5360><TD
5361WIDTH="20%"
5362ALIGN="RIGHT"
5363VALIGN="TOP"
5364><I
5365CLASS="EMPHASIS"
5366>Returns</I
5367> :</TD
5368><TD
5369WIDTH="80%"
5370ALIGN="LEFT"
5371VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005372>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005373></TR
5374></TABLE
5375><P
5376></P
5377></DIV
5378></DIV
5379><HR><DIV
5380CLASS="REFSECT2"
5381><A
Daniel Veillardf600e251999-12-18 15:32:46 +00005382NAME="AEN4133"
Daniel Veillard35925471999-02-25 08:46:07 +00005383></A
5384><H3
5385><A
5386NAME="XMLNEWCHILD"
5387></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005388>xmlNewChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005389><TABLE
5390BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005391BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005392WIDTH="100%"
5393CELLPADDING="6"
5394><TR
5395><TD
5396><PRE
5397CLASS="PROGRAMLISTING"
5398><A
5399HREF="gnome-xml-tree.html#XMLNODEPTR"
5400>xmlNodePtr</A
5401> xmlNewChild (<A
5402HREF="gnome-xml-tree.html#XMLNODEPTR"
5403>xmlNodePtr</A
5404> parent,
5405 <A
5406HREF="gnome-xml-tree.html#XMLNSPTR"
5407>xmlNsPtr</A
5408> ns,
5409 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005410HREF="gnome-xml-tree.html#XMLCHAR"
5411>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005412> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005413 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005414HREF="gnome-xml-tree.html#XMLCHAR"
5415>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005416> *content);</PRE
5417></TD
5418></TR
5419></TABLE
5420><P
5421>Creation of a new child element, added at the end of <TT
5422CLASS="PARAMETER"
5423><I
5424>parent</I
5425></TT
5426> childs list.
5427<TT
5428CLASS="PARAMETER"
5429><I
5430>ns</I
5431></TT
5432> and <TT
5433CLASS="PARAMETER"
5434><I
5435>content</I
5436></TT
5437> parameters are optionnal (NULL). If content is non NULL,
Daniel Veillard11a48ec1999-11-23 10:40:46 +00005438a child list containing the TEXTs and ENTITY_REFs node will be created.
5439NOTE: <TT
5440CLASS="PARAMETER"
5441><I
5442>content</I
5443></TT
5444> is supposed to be a piece of XML CDATA, so it allow entities
5445references, but XML special chars need to be escaped first by using
5446<A
5447HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT"
5448>xmlEncodeEntitiesReentrant</A
5449>(). Use <A
5450HREF="gnome-xml-tree.html#XMLNEWTEXTCHILD"
5451>xmlNewTextChild</A
5452>() if entities
5453support is not needed.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005454><P
5455></P
5456><DIV
5457CLASS="INFORMALTABLE"
5458><P
5459></P
5460><TABLE
5461BORDER="0"
5462WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005463BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005464CELLSPACING="0"
5465CELLPADDING="4"
5466CLASS="CALSTABLE"
5467><TR
5468><TD
5469WIDTH="20%"
5470ALIGN="RIGHT"
5471VALIGN="TOP"
5472><TT
5473CLASS="PARAMETER"
5474><I
5475>parent</I
5476></TT
5477>&nbsp;:</TD
5478><TD
5479WIDTH="80%"
5480ALIGN="LEFT"
5481VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005482> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005483></TR
5484><TR
5485><TD
5486WIDTH="20%"
5487ALIGN="RIGHT"
5488VALIGN="TOP"
5489><TT
5490CLASS="PARAMETER"
5491><I
5492>ns</I
5493></TT
5494>&nbsp;:</TD
5495><TD
5496WIDTH="80%"
5497ALIGN="LEFT"
5498VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005499> a namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005500></TR
5501><TR
5502><TD
5503WIDTH="20%"
5504ALIGN="RIGHT"
5505VALIGN="TOP"
5506><TT
5507CLASS="PARAMETER"
5508><I
5509>name</I
5510></TT
5511>&nbsp;:</TD
5512><TD
5513WIDTH="80%"
5514ALIGN="LEFT"
5515VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005516> the name of the child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005517></TR
5518><TR
5519><TD
5520WIDTH="20%"
5521ALIGN="RIGHT"
5522VALIGN="TOP"
5523><TT
5524CLASS="PARAMETER"
5525><I
5526>content</I
5527></TT
5528>&nbsp;:</TD
5529><TD
5530WIDTH="80%"
5531ALIGN="LEFT"
5532VALIGN="TOP"
Daniel Veillard11a48ec1999-11-23 10:40:46 +00005533> the XML content of the child if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005534></TR
5535><TR
5536><TD
5537WIDTH="20%"
5538ALIGN="RIGHT"
5539VALIGN="TOP"
5540><I
5541CLASS="EMPHASIS"
5542>Returns</I
5543> :</TD
5544><TD
5545WIDTH="80%"
5546ALIGN="LEFT"
5547VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005548>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005549></TR
5550></TABLE
5551><P
5552></P
5553></DIV
5554></DIV
5555><HR><DIV
5556CLASS="REFSECT2"
5557><A
Daniel Veillardf600e251999-12-18 15:32:46 +00005558NAME="AEN4175"
Daniel Veillard11a48ec1999-11-23 10:40:46 +00005559></A
5560><H3
5561><A
5562NAME="XMLNEWTEXTCHILD"
5563></A
5564>xmlNewTextChild ()</H3
5565><TABLE
5566BORDER="0"
5567BGCOLOR="#D6E8FF"
5568WIDTH="100%"
5569CELLPADDING="6"
5570><TR
5571><TD
5572><PRE
5573CLASS="PROGRAMLISTING"
5574><A
5575HREF="gnome-xml-tree.html#XMLNODEPTR"
5576>xmlNodePtr</A
5577> xmlNewTextChild (<A
5578HREF="gnome-xml-tree.html#XMLNODEPTR"
5579>xmlNodePtr</A
5580> parent,
5581 <A
5582HREF="gnome-xml-tree.html#XMLNSPTR"
5583>xmlNsPtr</A
5584> ns,
5585 const <A
5586HREF="gnome-xml-tree.html#XMLCHAR"
5587>xmlChar</A
5588> *name,
5589 const <A
5590HREF="gnome-xml-tree.html#XMLCHAR"
5591>xmlChar</A
5592> *content);</PRE
5593></TD
5594></TR
5595></TABLE
5596><P
5597>Creation of a new child element, added at the end of <TT
5598CLASS="PARAMETER"
5599><I
5600>parent</I
5601></TT
5602> childs list.
5603<TT
5604CLASS="PARAMETER"
5605><I
5606>ns</I
5607></TT
5608> and <TT
5609CLASS="PARAMETER"
5610><I
5611>content</I
5612></TT
5613> parameters are optionnal (NULL). If content is non NULL,
5614a child TEXT node will be created containing the string content.</P
5615><P
5616></P
5617><DIV
5618CLASS="INFORMALTABLE"
5619><P
5620></P
5621><TABLE
5622BORDER="0"
5623WIDTH="100%"
5624BGCOLOR="#FFD0D0"
5625CELLSPACING="0"
5626CELLPADDING="4"
5627CLASS="CALSTABLE"
5628><TR
5629><TD
5630WIDTH="20%"
5631ALIGN="RIGHT"
5632VALIGN="TOP"
5633><TT
5634CLASS="PARAMETER"
5635><I
5636>parent</I
5637></TT
5638>&nbsp;:</TD
5639><TD
5640WIDTH="80%"
5641ALIGN="LEFT"
5642VALIGN="TOP"
5643> the parent node</TD
5644></TR
5645><TR
5646><TD
5647WIDTH="20%"
5648ALIGN="RIGHT"
5649VALIGN="TOP"
5650><TT
5651CLASS="PARAMETER"
5652><I
5653>ns</I
5654></TT
5655>&nbsp;:</TD
5656><TD
5657WIDTH="80%"
5658ALIGN="LEFT"
5659VALIGN="TOP"
5660> a namespace if any</TD
5661></TR
5662><TR
5663><TD
5664WIDTH="20%"
5665ALIGN="RIGHT"
5666VALIGN="TOP"
5667><TT
5668CLASS="PARAMETER"
5669><I
5670>name</I
5671></TT
5672>&nbsp;:</TD
5673><TD
5674WIDTH="80%"
5675ALIGN="LEFT"
5676VALIGN="TOP"
5677> the name of the child</TD
5678></TR
5679><TR
5680><TD
5681WIDTH="20%"
5682ALIGN="RIGHT"
5683VALIGN="TOP"
5684><TT
5685CLASS="PARAMETER"
5686><I
5687>content</I
5688></TT
5689>&nbsp;:</TD
5690><TD
5691WIDTH="80%"
5692ALIGN="LEFT"
5693VALIGN="TOP"
5694> the text content of the child if any.</TD
5695></TR
5696><TR
5697><TD
5698WIDTH="20%"
5699ALIGN="RIGHT"
5700VALIGN="TOP"
5701><I
5702CLASS="EMPHASIS"
5703>Returns</I
5704> :</TD
5705><TD
5706WIDTH="80%"
5707ALIGN="LEFT"
5708VALIGN="TOP"
5709>a pointer to the new node object.</TD
5710></TR
5711></TABLE
5712><P
5713></P
5714></DIV
5715></DIV
5716><HR><DIV
5717CLASS="REFSECT2"
5718><A
Daniel Veillardf600e251999-12-18 15:32:46 +00005719NAME="AEN4214"
Daniel Veillard35925471999-02-25 08:46:07 +00005720></A
5721><H3
5722><A
5723NAME="XMLNEWDOCTEXT"
5724></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005725>xmlNewDocText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005726><TABLE
5727BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005728BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005729WIDTH="100%"
5730CELLPADDING="6"
5731><TR
5732><TD
5733><PRE
5734CLASS="PROGRAMLISTING"
5735><A
5736HREF="gnome-xml-tree.html#XMLNODEPTR"
5737>xmlNodePtr</A
5738> xmlNewDocText (<A
5739HREF="gnome-xml-tree.html#XMLDOCPTR"
5740>xmlDocPtr</A
5741> doc,
5742 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005743HREF="gnome-xml-tree.html#XMLCHAR"
5744>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005745> *content);</PRE
5746></TD
5747></TR
5748></TABLE
5749><P
5750>Creation of a new text node within a document.</P
5751><P
5752></P
5753><DIV
5754CLASS="INFORMALTABLE"
5755><P
5756></P
5757><TABLE
5758BORDER="0"
5759WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005760BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005761CELLSPACING="0"
5762CELLPADDING="4"
5763CLASS="CALSTABLE"
5764><TR
5765><TD
5766WIDTH="20%"
5767ALIGN="RIGHT"
5768VALIGN="TOP"
5769><TT
5770CLASS="PARAMETER"
5771><I
5772>doc</I
5773></TT
5774>&nbsp;:</TD
5775><TD
5776WIDTH="80%"
5777ALIGN="LEFT"
5778VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005779> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005780></TR
5781><TR
5782><TD
5783WIDTH="20%"
5784ALIGN="RIGHT"
5785VALIGN="TOP"
5786><TT
5787CLASS="PARAMETER"
5788><I
5789>content</I
5790></TT
5791>&nbsp;:</TD
5792><TD
5793WIDTH="80%"
5794ALIGN="LEFT"
5795VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005796> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005797></TR
5798><TR
5799><TD
5800WIDTH="20%"
5801ALIGN="RIGHT"
5802VALIGN="TOP"
5803><I
5804CLASS="EMPHASIS"
5805>Returns</I
5806> :</TD
5807><TD
5808WIDTH="80%"
5809ALIGN="LEFT"
5810VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005811>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005812></TR
5813></TABLE
5814><P
5815></P
5816></DIV
5817></DIV
5818><HR><DIV
5819CLASS="REFSECT2"
5820><A
Daniel Veillardf600e251999-12-18 15:32:46 +00005821NAME="AEN4240"
Daniel Veillard35925471999-02-25 08:46:07 +00005822></A
5823><H3
5824><A
5825NAME="XMLNEWTEXT"
5826></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005827>xmlNewText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005828><TABLE
5829BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005830BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005831WIDTH="100%"
5832CELLPADDING="6"
5833><TR
5834><TD
5835><PRE
5836CLASS="PROGRAMLISTING"
5837><A
5838HREF="gnome-xml-tree.html#XMLNODEPTR"
5839>xmlNodePtr</A
5840> xmlNewText (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005841HREF="gnome-xml-tree.html#XMLCHAR"
5842>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005843> *content);</PRE
5844></TD
5845></TR
5846></TABLE
5847><P
5848>Creation of a new text node.</P
5849><P
5850></P
5851><DIV
5852CLASS="INFORMALTABLE"
5853><P
5854></P
5855><TABLE
5856BORDER="0"
5857WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005858BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005859CELLSPACING="0"
5860CELLPADDING="4"
5861CLASS="CALSTABLE"
5862><TR
5863><TD
5864WIDTH="20%"
5865ALIGN="RIGHT"
5866VALIGN="TOP"
5867><TT
5868CLASS="PARAMETER"
5869><I
5870>content</I
5871></TT
5872>&nbsp;:</TD
5873><TD
5874WIDTH="80%"
5875ALIGN="LEFT"
5876VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005877> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005878></TR
5879><TR
5880><TD
5881WIDTH="20%"
5882ALIGN="RIGHT"
5883VALIGN="TOP"
5884><I
5885CLASS="EMPHASIS"
5886>Returns</I
5887> :</TD
5888><TD
5889WIDTH="80%"
5890ALIGN="LEFT"
5891VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005892>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005893></TR
5894></TABLE
5895><P
5896></P
5897></DIV
5898></DIV
5899><HR><DIV
5900CLASS="REFSECT2"
5901><A
Daniel Veillardf600e251999-12-18 15:32:46 +00005902NAME="AEN4261"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005903></A
5904><H3
5905><A
5906NAME="XMLNEWPI"
5907></A
5908>xmlNewPI ()</H3
5909><TABLE
5910BORDER="0"
5911BGCOLOR="#D6E8FF"
5912WIDTH="100%"
5913CELLPADDING="6"
5914><TR
5915><TD
5916><PRE
5917CLASS="PROGRAMLISTING"
5918><A
5919HREF="gnome-xml-tree.html#XMLNODEPTR"
5920>xmlNodePtr</A
5921> xmlNewPI (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005922HREF="gnome-xml-tree.html#XMLCHAR"
5923>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005924> *name,
5925 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005926HREF="gnome-xml-tree.html#XMLCHAR"
5927>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005928> *content);</PRE
5929></TD
5930></TR
5931></TABLE
5932><P
5933>Creation of a processing instruction element.</P
5934><P
5935></P
5936><DIV
5937CLASS="INFORMALTABLE"
5938><P
5939></P
5940><TABLE
5941BORDER="0"
5942WIDTH="100%"
5943BGCOLOR="#FFD0D0"
5944CELLSPACING="0"
5945CELLPADDING="4"
5946CLASS="CALSTABLE"
5947><TR
5948><TD
5949WIDTH="20%"
5950ALIGN="RIGHT"
5951VALIGN="TOP"
5952><TT
5953CLASS="PARAMETER"
5954><I
5955>name</I
5956></TT
5957>&nbsp;:</TD
5958><TD
5959WIDTH="80%"
5960ALIGN="LEFT"
5961VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005962> the processing instruction name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005963></TR
5964><TR
5965><TD
5966WIDTH="20%"
5967ALIGN="RIGHT"
5968VALIGN="TOP"
5969><TT
5970CLASS="PARAMETER"
5971><I
5972>content</I
5973></TT
5974>&nbsp;:</TD
5975><TD
5976WIDTH="80%"
5977ALIGN="LEFT"
5978VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005979> the PI content</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005980></TR
5981><TR
5982><TD
5983WIDTH="20%"
5984ALIGN="RIGHT"
5985VALIGN="TOP"
5986><I
5987CLASS="EMPHASIS"
5988>Returns</I
5989> :</TD
5990><TD
5991WIDTH="80%"
5992ALIGN="LEFT"
5993VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005994>a pointer to the new node object.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005995></TR
5996></TABLE
5997><P
5998></P
5999></DIV
6000></DIV
6001><HR><DIV
6002CLASS="REFSECT2"
6003><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006004NAME="AEN4287"
Daniel Veillard35925471999-02-25 08:46:07 +00006005></A
6006><H3
6007><A
6008NAME="XMLNEWDOCTEXTLEN"
6009></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006010>xmlNewDocTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006011><TABLE
6012BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006013BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006014WIDTH="100%"
6015CELLPADDING="6"
6016><TR
6017><TD
6018><PRE
6019CLASS="PROGRAMLISTING"
6020><A
6021HREF="gnome-xml-tree.html#XMLNODEPTR"
6022>xmlNodePtr</A
6023> xmlNewDocTextLen (<A
6024HREF="gnome-xml-tree.html#XMLDOCPTR"
6025>xmlDocPtr</A
6026> doc,
6027 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006028HREF="gnome-xml-tree.html#XMLCHAR"
6029>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006030> *content,
6031 int len);</PRE
6032></TD
6033></TR
6034></TABLE
6035><P
6036>Creation of a new text node with an extra content lenght parameter. The
6037text node pertain to a given document.</P
6038><P
6039></P
6040><DIV
6041CLASS="INFORMALTABLE"
6042><P
6043></P
6044><TABLE
6045BORDER="0"
6046WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006047BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006048CELLSPACING="0"
6049CELLPADDING="4"
6050CLASS="CALSTABLE"
6051><TR
6052><TD
6053WIDTH="20%"
6054ALIGN="RIGHT"
6055VALIGN="TOP"
6056><TT
6057CLASS="PARAMETER"
6058><I
6059>doc</I
6060></TT
6061>&nbsp;:</TD
6062><TD
6063WIDTH="80%"
6064ALIGN="LEFT"
6065VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006066> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006067></TR
6068><TR
6069><TD
6070WIDTH="20%"
6071ALIGN="RIGHT"
6072VALIGN="TOP"
6073><TT
6074CLASS="PARAMETER"
6075><I
6076>content</I
6077></TT
6078>&nbsp;:</TD
6079><TD
6080WIDTH="80%"
6081ALIGN="LEFT"
6082VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006083> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006084></TR
6085><TR
6086><TD
6087WIDTH="20%"
6088ALIGN="RIGHT"
6089VALIGN="TOP"
6090><TT
6091CLASS="PARAMETER"
6092><I
6093>len</I
6094></TT
6095>&nbsp;:</TD
6096><TD
6097WIDTH="80%"
6098ALIGN="LEFT"
6099VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006100> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006101></TR
6102><TR
6103><TD
6104WIDTH="20%"
6105ALIGN="RIGHT"
6106VALIGN="TOP"
6107><I
6108CLASS="EMPHASIS"
6109>Returns</I
6110> :</TD
6111><TD
6112WIDTH="80%"
6113ALIGN="LEFT"
6114VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006115>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006116></TR
6117></TABLE
6118><P
6119></P
6120></DIV
6121></DIV
6122><HR><DIV
6123CLASS="REFSECT2"
6124><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006125NAME="AEN4317"
Daniel Veillard35925471999-02-25 08:46:07 +00006126></A
6127><H3
6128><A
6129NAME="XMLNEWTEXTLEN"
6130></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006131>xmlNewTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006132><TABLE
6133BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006134BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006135WIDTH="100%"
6136CELLPADDING="6"
6137><TR
6138><TD
6139><PRE
6140CLASS="PROGRAMLISTING"
6141><A
6142HREF="gnome-xml-tree.html#XMLNODEPTR"
6143>xmlNodePtr</A
6144> xmlNewTextLen (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006145HREF="gnome-xml-tree.html#XMLCHAR"
6146>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006147> *content,
6148 int len);</PRE
6149></TD
6150></TR
6151></TABLE
6152><P
6153>Creation of a new text node with an extra parameter for the content's lenght</P
6154><P
6155></P
6156><DIV
6157CLASS="INFORMALTABLE"
6158><P
6159></P
6160><TABLE
6161BORDER="0"
6162WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006163BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006164CELLSPACING="0"
6165CELLPADDING="4"
6166CLASS="CALSTABLE"
6167><TR
6168><TD
6169WIDTH="20%"
6170ALIGN="RIGHT"
6171VALIGN="TOP"
6172><TT
6173CLASS="PARAMETER"
6174><I
6175>content</I
6176></TT
6177>&nbsp;:</TD
6178><TD
6179WIDTH="80%"
6180ALIGN="LEFT"
6181VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006182> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006183></TR
6184><TR
6185><TD
6186WIDTH="20%"
6187ALIGN="RIGHT"
6188VALIGN="TOP"
6189><TT
6190CLASS="PARAMETER"
6191><I
6192>len</I
6193></TT
6194>&nbsp;:</TD
6195><TD
6196WIDTH="80%"
6197ALIGN="LEFT"
6198VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006199> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006200></TR
6201><TR
6202><TD
6203WIDTH="20%"
6204ALIGN="RIGHT"
6205VALIGN="TOP"
6206><I
6207CLASS="EMPHASIS"
6208>Returns</I
6209> :</TD
6210><TD
6211WIDTH="80%"
6212ALIGN="LEFT"
6213VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006214>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006215></TR
6216></TABLE
6217><P
6218></P
6219></DIV
6220></DIV
6221><HR><DIV
6222CLASS="REFSECT2"
6223><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006224NAME="AEN4342"
Daniel Veillard35925471999-02-25 08:46:07 +00006225></A
6226><H3
6227><A
6228NAME="XMLNEWDOCCOMMENT"
6229></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006230>xmlNewDocComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006231><TABLE
6232BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006233BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006234WIDTH="100%"
6235CELLPADDING="6"
6236><TR
6237><TD
6238><PRE
6239CLASS="PROGRAMLISTING"
6240><A
6241HREF="gnome-xml-tree.html#XMLNODEPTR"
6242>xmlNodePtr</A
6243> xmlNewDocComment (<A
6244HREF="gnome-xml-tree.html#XMLDOCPTR"
6245>xmlDocPtr</A
6246> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +00006247 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006248HREF="gnome-xml-tree.html#XMLCHAR"
6249>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006250> *content);</PRE
6251></TD
6252></TR
6253></TABLE
6254><P
6255>Creation of a new node containing a commentwithin a document.</P
6256><P
6257></P
6258><DIV
6259CLASS="INFORMALTABLE"
6260><P
6261></P
6262><TABLE
6263BORDER="0"
6264WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006265BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006266CELLSPACING="0"
6267CELLPADDING="4"
6268CLASS="CALSTABLE"
6269><TR
6270><TD
6271WIDTH="20%"
6272ALIGN="RIGHT"
6273VALIGN="TOP"
6274><TT
6275CLASS="PARAMETER"
6276><I
6277>doc</I
6278></TT
6279>&nbsp;:</TD
6280><TD
6281WIDTH="80%"
6282ALIGN="LEFT"
6283VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006284> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006285></TR
6286><TR
6287><TD
6288WIDTH="20%"
6289ALIGN="RIGHT"
6290VALIGN="TOP"
6291><TT
6292CLASS="PARAMETER"
6293><I
6294>content</I
6295></TT
6296>&nbsp;:</TD
6297><TD
6298WIDTH="80%"
6299ALIGN="LEFT"
6300VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006301> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006302></TR
6303><TR
6304><TD
6305WIDTH="20%"
6306ALIGN="RIGHT"
6307VALIGN="TOP"
6308><I
6309CLASS="EMPHASIS"
6310>Returns</I
6311> :</TD
6312><TD
6313WIDTH="80%"
6314ALIGN="LEFT"
6315VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006316>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006317></TR
6318></TABLE
6319><P
6320></P
6321></DIV
6322></DIV
6323><HR><DIV
6324CLASS="REFSECT2"
6325><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006326NAME="AEN4368"
Daniel Veillard35925471999-02-25 08:46:07 +00006327></A
6328><H3
6329><A
6330NAME="XMLNEWCOMMENT"
6331></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006332>xmlNewComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006333><TABLE
6334BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006335BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006336WIDTH="100%"
6337CELLPADDING="6"
6338><TR
6339><TD
6340><PRE
6341CLASS="PROGRAMLISTING"
6342><A
6343HREF="gnome-xml-tree.html#XMLNODEPTR"
6344>xmlNodePtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006345> xmlNewComment (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006346HREF="gnome-xml-tree.html#XMLCHAR"
6347>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006348> *content);</PRE
6349></TD
6350></TR
6351></TABLE
6352><P
6353>Creation of a new node containing a comment.</P
6354><P
6355></P
6356><DIV
6357CLASS="INFORMALTABLE"
6358><P
6359></P
6360><TABLE
6361BORDER="0"
6362WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006363BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006364CELLSPACING="0"
6365CELLPADDING="4"
6366CLASS="CALSTABLE"
6367><TR
6368><TD
6369WIDTH="20%"
6370ALIGN="RIGHT"
6371VALIGN="TOP"
6372><TT
6373CLASS="PARAMETER"
6374><I
6375>content</I
6376></TT
6377>&nbsp;:</TD
6378><TD
6379WIDTH="80%"
6380ALIGN="LEFT"
6381VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006382> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006383></TR
6384><TR
6385><TD
6386WIDTH="20%"
6387ALIGN="RIGHT"
6388VALIGN="TOP"
6389><I
6390CLASS="EMPHASIS"
6391>Returns</I
6392> :</TD
6393><TD
6394WIDTH="80%"
6395ALIGN="LEFT"
6396VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006397>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006398></TR
6399></TABLE
6400><P
6401></P
6402></DIV
6403></DIV
6404><HR><DIV
6405CLASS="REFSECT2"
6406><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006407NAME="AEN4389"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006408></A
6409><H3
6410><A
6411NAME="XMLNEWCDATABLOCK"
6412></A
6413>xmlNewCDataBlock ()</H3
6414><TABLE
6415BORDER="0"
6416BGCOLOR="#D6E8FF"
6417WIDTH="100%"
6418CELLPADDING="6"
6419><TR
6420><TD
6421><PRE
6422CLASS="PROGRAMLISTING"
6423><A
6424HREF="gnome-xml-tree.html#XMLNODEPTR"
6425>xmlNodePtr</A
6426> xmlNewCDataBlock (<A
6427HREF="gnome-xml-tree.html#XMLDOCPTR"
6428>xmlDocPtr</A
6429> doc,
6430 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006431HREF="gnome-xml-tree.html#XMLCHAR"
6432>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006433> *content,
6434 int len);</PRE
6435></TD
6436></TR
6437></TABLE
6438><P
6439>Creation of a new node containing a CData block.</P
6440><P
6441></P
6442><DIV
6443CLASS="INFORMALTABLE"
6444><P
6445></P
6446><TABLE
6447BORDER="0"
6448WIDTH="100%"
6449BGCOLOR="#FFD0D0"
6450CELLSPACING="0"
6451CELLPADDING="4"
6452CLASS="CALSTABLE"
6453><TR
6454><TD
6455WIDTH="20%"
6456ALIGN="RIGHT"
6457VALIGN="TOP"
6458><TT
6459CLASS="PARAMETER"
6460><I
6461>doc</I
6462></TT
6463>&nbsp;:</TD
6464><TD
6465WIDTH="80%"
6466ALIGN="LEFT"
6467VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006468> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006469></TR
6470><TR
6471><TD
6472WIDTH="20%"
6473ALIGN="RIGHT"
6474VALIGN="TOP"
6475><TT
6476CLASS="PARAMETER"
6477><I
6478>content</I
6479></TT
6480>&nbsp;:</TD
6481><TD
6482WIDTH="80%"
6483ALIGN="LEFT"
6484VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006485> the CData block content content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006486></TR
6487><TR
6488><TD
6489WIDTH="20%"
6490ALIGN="RIGHT"
6491VALIGN="TOP"
6492><TT
6493CLASS="PARAMETER"
6494><I
6495>len</I
6496></TT
6497>&nbsp;:</TD
6498><TD
6499WIDTH="80%"
6500ALIGN="LEFT"
6501VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006502> the length of the block</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006503></TR
6504><TR
6505><TD
6506WIDTH="20%"
6507ALIGN="RIGHT"
6508VALIGN="TOP"
6509><I
6510CLASS="EMPHASIS"
6511>Returns</I
6512> :</TD
6513><TD
6514WIDTH="80%"
6515ALIGN="LEFT"
6516VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006517>a pointer to the new node object.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006518></TR
6519></TABLE
6520><P
6521></P
6522></DIV
6523></DIV
6524><HR><DIV
6525CLASS="REFSECT2"
6526><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006527NAME="AEN4419"
Daniel Veillard35925471999-02-25 08:46:07 +00006528></A
6529><H3
6530><A
6531NAME="XMLNEWREFERENCE"
6532></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006533>xmlNewReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006534><TABLE
6535BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006536BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006537WIDTH="100%"
6538CELLPADDING="6"
6539><TR
6540><TD
6541><PRE
6542CLASS="PROGRAMLISTING"
6543><A
6544HREF="gnome-xml-tree.html#XMLNODEPTR"
6545>xmlNodePtr</A
6546> xmlNewReference (<A
6547HREF="gnome-xml-tree.html#XMLDOCPTR"
6548>xmlDocPtr</A
6549> doc,
6550 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006551HREF="gnome-xml-tree.html#XMLCHAR"
6552>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006553> *name);</PRE
6554></TD
6555></TR
6556></TABLE
6557><P
6558>Creation of a new reference node.</P
6559><P
6560></P
6561><DIV
6562CLASS="INFORMALTABLE"
6563><P
6564></P
6565><TABLE
6566BORDER="0"
6567WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006568BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006569CELLSPACING="0"
6570CELLPADDING="4"
6571CLASS="CALSTABLE"
6572><TR
6573><TD
6574WIDTH="20%"
6575ALIGN="RIGHT"
6576VALIGN="TOP"
6577><TT
6578CLASS="PARAMETER"
6579><I
6580>doc</I
6581></TT
6582>&nbsp;:</TD
6583><TD
6584WIDTH="80%"
6585ALIGN="LEFT"
6586VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006587> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006588></TR
6589><TR
6590><TD
6591WIDTH="20%"
6592ALIGN="RIGHT"
6593VALIGN="TOP"
6594><TT
6595CLASS="PARAMETER"
6596><I
6597>name</I
6598></TT
6599>&nbsp;:</TD
6600><TD
6601WIDTH="80%"
6602ALIGN="LEFT"
6603VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006604> the reference name, or the reference string with &amp; and ;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006605></TR
6606><TR
6607><TD
6608WIDTH="20%"
6609ALIGN="RIGHT"
6610VALIGN="TOP"
6611><I
6612CLASS="EMPHASIS"
6613>Returns</I
6614> :</TD
6615><TD
6616WIDTH="80%"
6617ALIGN="LEFT"
6618VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006619>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006620></TR
6621></TABLE
6622><P
6623></P
6624></DIV
6625></DIV
6626><HR><DIV
6627CLASS="REFSECT2"
6628><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006629NAME="AEN4445"
Daniel Veillard35925471999-02-25 08:46:07 +00006630></A
6631><H3
6632><A
6633NAME="XMLCOPYNODE"
6634></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006635>xmlCopyNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006636><TABLE
6637BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006638BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006639WIDTH="100%"
6640CELLPADDING="6"
6641><TR
6642><TD
6643><PRE
6644CLASS="PROGRAMLISTING"
6645><A
6646HREF="gnome-xml-tree.html#XMLNODEPTR"
6647>xmlNodePtr</A
6648> xmlCopyNode (<A
6649HREF="gnome-xml-tree.html#XMLNODEPTR"
6650>xmlNodePtr</A
6651> node,
6652 int recursive);</PRE
6653></TD
6654></TR
6655></TABLE
6656><P
6657>Do a copy of the node.</P
6658><P
6659></P
6660><DIV
6661CLASS="INFORMALTABLE"
6662><P
6663></P
6664><TABLE
6665BORDER="0"
6666WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006667BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006668CELLSPACING="0"
6669CELLPADDING="4"
6670CLASS="CALSTABLE"
6671><TR
6672><TD
6673WIDTH="20%"
6674ALIGN="RIGHT"
6675VALIGN="TOP"
6676><TT
6677CLASS="PARAMETER"
6678><I
6679>node</I
6680></TT
6681>&nbsp;:</TD
6682><TD
6683WIDTH="80%"
6684ALIGN="LEFT"
6685VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006686> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006687></TR
6688><TR
6689><TD
6690WIDTH="20%"
6691ALIGN="RIGHT"
6692VALIGN="TOP"
6693><TT
6694CLASS="PARAMETER"
6695><I
6696>recursive</I
6697></TT
6698>&nbsp;:</TD
6699><TD
6700WIDTH="80%"
6701ALIGN="LEFT"
6702VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006703> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006704></TR
6705><TR
6706><TD
6707WIDTH="20%"
6708ALIGN="RIGHT"
6709VALIGN="TOP"
6710><I
6711CLASS="EMPHASIS"
6712>Returns</I
6713> :</TD
6714><TD
6715WIDTH="80%"
6716ALIGN="LEFT"
6717VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006718> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006719></TR
6720></TABLE
6721><P
6722></P
6723></DIV
6724></DIV
6725><HR><DIV
6726CLASS="REFSECT2"
6727><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006728NAME="AEN4470"
Daniel Veillard35925471999-02-25 08:46:07 +00006729></A
6730><H3
6731><A
6732NAME="XMLCOPYNODELIST"
6733></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006734>xmlCopyNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006735><TABLE
6736BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006737BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006738WIDTH="100%"
6739CELLPADDING="6"
6740><TR
6741><TD
6742><PRE
6743CLASS="PROGRAMLISTING"
6744><A
6745HREF="gnome-xml-tree.html#XMLNODEPTR"
6746>xmlNodePtr</A
6747> xmlCopyNodeList (<A
6748HREF="gnome-xml-tree.html#XMLNODEPTR"
6749>xmlNodePtr</A
6750> node);</PRE
6751></TD
6752></TR
6753></TABLE
6754><P
6755>Do a recursive copy of the node list.</P
6756><P
6757></P
6758><DIV
6759CLASS="INFORMALTABLE"
6760><P
6761></P
6762><TABLE
6763BORDER="0"
6764WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006765BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006766CELLSPACING="0"
6767CELLPADDING="4"
6768CLASS="CALSTABLE"
6769><TR
6770><TD
6771WIDTH="20%"
6772ALIGN="RIGHT"
6773VALIGN="TOP"
6774><TT
6775CLASS="PARAMETER"
6776><I
6777>node</I
6778></TT
6779>&nbsp;:</TD
6780><TD
6781WIDTH="80%"
6782ALIGN="LEFT"
6783VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006784> the first node in the list.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006785></TR
6786><TR
6787><TD
6788WIDTH="20%"
6789ALIGN="RIGHT"
6790VALIGN="TOP"
6791><I
6792CLASS="EMPHASIS"
6793>Returns</I
6794> :</TD
6795><TD
6796WIDTH="80%"
6797ALIGN="LEFT"
6798VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006799> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006800></TR
6801></TABLE
6802><P
6803></P
6804></DIV
6805></DIV
6806><HR><DIV
6807CLASS="REFSECT2"
6808><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006809NAME="AEN4491"
Daniel Veillard944b5ff1999-12-15 19:08:24 +00006810></A
6811><H3
6812><A
6813NAME="XMLDOCGETROOTELEMENT"
6814></A
6815>xmlDocGetRootElement ()</H3
6816><TABLE
6817BORDER="0"
6818BGCOLOR="#D6E8FF"
6819WIDTH="100%"
6820CELLPADDING="6"
6821><TR
6822><TD
6823><PRE
6824CLASS="PROGRAMLISTING"
6825><A
6826HREF="gnome-xml-tree.html#XMLNODEPTR"
6827>xmlNodePtr</A
6828> xmlDocGetRootElement (<A
6829HREF="gnome-xml-tree.html#XMLDOCPTR"
6830>xmlDocPtr</A
6831> doc);</PRE
6832></TD
6833></TR
6834></TABLE
6835><P
6836>Get the root element of the document (doc-&gt;root is a list
6837containing possibly comments, PIs, etc ...).</P
6838><P
6839></P
6840><DIV
6841CLASS="INFORMALTABLE"
6842><P
6843></P
6844><TABLE
6845BORDER="0"
6846WIDTH="100%"
6847BGCOLOR="#FFD0D0"
6848CELLSPACING="0"
6849CELLPADDING="4"
6850CLASS="CALSTABLE"
6851><TR
6852><TD
6853WIDTH="20%"
6854ALIGN="RIGHT"
6855VALIGN="TOP"
6856><TT
6857CLASS="PARAMETER"
6858><I
6859>doc</I
6860></TT
6861>&nbsp;:</TD
6862><TD
6863WIDTH="80%"
6864ALIGN="LEFT"
6865VALIGN="TOP"
6866> the document</TD
6867></TR
6868><TR
6869><TD
6870WIDTH="20%"
6871ALIGN="RIGHT"
6872VALIGN="TOP"
6873><I
6874CLASS="EMPHASIS"
6875>Returns</I
6876> :</TD
6877><TD
6878WIDTH="80%"
6879ALIGN="LEFT"
6880VALIGN="TOP"
6881>the xmlNodePtr for the root or NULL</TD
6882></TR
6883></TABLE
6884><P
6885></P
6886></DIV
6887></DIV
6888><HR><DIV
6889CLASS="REFSECT2"
6890><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006891NAME="AEN4512"
Daniel Veillard35925471999-02-25 08:46:07 +00006892></A
6893><H3
6894><A
6895NAME="XMLGETLASTCHILD"
6896></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006897>xmlGetLastChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006898><TABLE
6899BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006900BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006901WIDTH="100%"
6902CELLPADDING="6"
6903><TR
6904><TD
6905><PRE
6906CLASS="PROGRAMLISTING"
6907><A
6908HREF="gnome-xml-tree.html#XMLNODEPTR"
6909>xmlNodePtr</A
6910> xmlGetLastChild (<A
6911HREF="gnome-xml-tree.html#XMLNODEPTR"
6912>xmlNodePtr</A
6913> parent);</PRE
6914></TD
6915></TR
6916></TABLE
6917><P
6918>Search the last child of a node.</P
6919><P
6920></P
6921><DIV
6922CLASS="INFORMALTABLE"
6923><P
6924></P
6925><TABLE
6926BORDER="0"
6927WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006928BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006929CELLSPACING="0"
6930CELLPADDING="4"
6931CLASS="CALSTABLE"
6932><TR
6933><TD
6934WIDTH="20%"
6935ALIGN="RIGHT"
6936VALIGN="TOP"
6937><TT
6938CLASS="PARAMETER"
6939><I
6940>parent</I
6941></TT
6942>&nbsp;:</TD
6943><TD
6944WIDTH="80%"
6945ALIGN="LEFT"
6946VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006947> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006948></TR
6949><TR
6950><TD
6951WIDTH="20%"
6952ALIGN="RIGHT"
6953VALIGN="TOP"
6954><I
6955CLASS="EMPHASIS"
6956>Returns</I
6957> :</TD
6958><TD
6959WIDTH="80%"
6960ALIGN="LEFT"
6961VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006962>the last child or NULL if none.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006963></TR
6964></TABLE
6965><P
6966></P
6967></DIV
6968></DIV
6969><HR><DIV
6970CLASS="REFSECT2"
6971><A
Daniel Veillardf600e251999-12-18 15:32:46 +00006972NAME="AEN4533"
Daniel Veillard35925471999-02-25 08:46:07 +00006973></A
6974><H3
6975><A
6976NAME="XMLNODEISTEXT"
6977></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006978>xmlNodeIsText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006979><TABLE
6980BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006981BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006982WIDTH="100%"
6983CELLPADDING="6"
6984><TR
6985><TD
6986><PRE
6987CLASS="PROGRAMLISTING"
6988>int xmlNodeIsText (<A
6989HREF="gnome-xml-tree.html#XMLNODEPTR"
6990>xmlNodePtr</A
6991> node);</PRE
6992></TD
6993></TR
6994></TABLE
6995><P
6996>Is this node a Text node ?</P
6997><P
6998></P
6999><DIV
7000CLASS="INFORMALTABLE"
7001><P
7002></P
7003><TABLE
7004BORDER="0"
7005WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007006BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007007CELLSPACING="0"
7008CELLPADDING="4"
7009CLASS="CALSTABLE"
7010><TR
7011><TD
7012WIDTH="20%"
7013ALIGN="RIGHT"
7014VALIGN="TOP"
7015><TT
7016CLASS="PARAMETER"
7017><I
7018>node</I
7019></TT
7020>&nbsp;:</TD
7021><TD
7022WIDTH="80%"
7023ALIGN="LEFT"
7024VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007025> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007026></TR
7027><TR
7028><TD
7029WIDTH="20%"
7030ALIGN="RIGHT"
7031VALIGN="TOP"
7032><I
7033CLASS="EMPHASIS"
7034>Returns</I
7035> :</TD
7036><TD
7037WIDTH="80%"
7038ALIGN="LEFT"
7039VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007040>1 yes, 0 no</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007041></TR
7042></TABLE
7043><P
7044></P
7045></DIV
7046></DIV
7047><HR><DIV
7048CLASS="REFSECT2"
7049><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007050NAME="AEN4553"
Daniel Veillard35925471999-02-25 08:46:07 +00007051></A
7052><H3
7053><A
7054NAME="XMLADDCHILD"
7055></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007056>xmlAddChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007057><TABLE
7058BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007059BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007060WIDTH="100%"
7061CELLPADDING="6"
7062><TR
7063><TD
7064><PRE
7065CLASS="PROGRAMLISTING"
7066><A
7067HREF="gnome-xml-tree.html#XMLNODEPTR"
7068>xmlNodePtr</A
7069> xmlAddChild (<A
7070HREF="gnome-xml-tree.html#XMLNODEPTR"
7071>xmlNodePtr</A
7072> parent,
7073 <A
7074HREF="gnome-xml-tree.html#XMLNODEPTR"
7075>xmlNodePtr</A
7076> cur);</PRE
7077></TD
7078></TR
7079></TABLE
7080><P
7081>Add a new child element, to <TT
7082CLASS="PARAMETER"
7083><I
7084>parent</I
7085></TT
7086>, at the end of the child list.</P
7087><P
7088></P
7089><DIV
7090CLASS="INFORMALTABLE"
7091><P
7092></P
7093><TABLE
7094BORDER="0"
7095WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007096BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007097CELLSPACING="0"
7098CELLPADDING="4"
7099CLASS="CALSTABLE"
7100><TR
7101><TD
7102WIDTH="20%"
7103ALIGN="RIGHT"
7104VALIGN="TOP"
7105><TT
7106CLASS="PARAMETER"
7107><I
7108>parent</I
7109></TT
7110>&nbsp;:</TD
7111><TD
7112WIDTH="80%"
7113ALIGN="LEFT"
7114VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007115> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007116></TR
7117><TR
7118><TD
7119WIDTH="20%"
7120ALIGN="RIGHT"
7121VALIGN="TOP"
7122><TT
7123CLASS="PARAMETER"
7124><I
7125>cur</I
7126></TT
7127>&nbsp;:</TD
7128><TD
7129WIDTH="80%"
7130ALIGN="LEFT"
7131VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007132> the child node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007133></TR
7134><TR
7135><TD
7136WIDTH="20%"
7137ALIGN="RIGHT"
7138VALIGN="TOP"
7139><I
7140CLASS="EMPHASIS"
7141>Returns</I
7142> :</TD
7143><TD
7144WIDTH="80%"
7145ALIGN="LEFT"
7146VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007147>the child or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007148></TR
7149></TABLE
7150><P
7151></P
7152></DIV
7153></DIV
7154><HR><DIV
7155CLASS="REFSECT2"
7156><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007157NAME="AEN4580"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007158></A
7159><H3
7160><A
7161NAME="XMLADDSIBLING"
7162></A
7163>xmlAddSibling ()</H3
7164><TABLE
7165BORDER="0"
7166BGCOLOR="#D6E8FF"
7167WIDTH="100%"
7168CELLPADDING="6"
7169><TR
7170><TD
7171><PRE
7172CLASS="PROGRAMLISTING"
7173><A
7174HREF="gnome-xml-tree.html#XMLNODEPTR"
7175>xmlNodePtr</A
7176> xmlAddSibling (<A
7177HREF="gnome-xml-tree.html#XMLNODEPTR"
7178>xmlNodePtr</A
7179> cur,
7180 <A
7181HREF="gnome-xml-tree.html#XMLNODEPTR"
7182>xmlNodePtr</A
7183> elem);</PRE
7184></TD
7185></TR
7186></TABLE
7187><P
7188>Add a new element to the list of siblings of <TT
7189CLASS="PARAMETER"
7190><I
7191>cur</I
7192></TT
7193></P
7194><P
7195></P
7196><DIV
7197CLASS="INFORMALTABLE"
7198><P
7199></P
7200><TABLE
7201BORDER="0"
7202WIDTH="100%"
7203BGCOLOR="#FFD0D0"
7204CELLSPACING="0"
7205CELLPADDING="4"
7206CLASS="CALSTABLE"
7207><TR
7208><TD
7209WIDTH="20%"
7210ALIGN="RIGHT"
7211VALIGN="TOP"
7212><TT
7213CLASS="PARAMETER"
7214><I
7215>cur</I
7216></TT
7217>&nbsp;:</TD
7218><TD
7219WIDTH="80%"
7220ALIGN="LEFT"
7221VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007222> the child node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007223></TR
7224><TR
7225><TD
7226WIDTH="20%"
7227ALIGN="RIGHT"
7228VALIGN="TOP"
7229><TT
7230CLASS="PARAMETER"
7231><I
7232>elem</I
7233></TT
7234>&nbsp;:</TD
7235><TD
7236WIDTH="80%"
7237ALIGN="LEFT"
7238VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007239> the new node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007240></TR
7241><TR
7242><TD
7243WIDTH="20%"
7244ALIGN="RIGHT"
7245VALIGN="TOP"
7246><I
7247CLASS="EMPHASIS"
7248>Returns</I
7249> :</TD
7250><TD
7251WIDTH="80%"
7252ALIGN="LEFT"
7253VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007254>the element or NULL in case of error.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007255></TR
7256></TABLE
7257><P
7258></P
7259></DIV
7260></DIV
7261><HR><DIV
7262CLASS="REFSECT2"
7263><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007264NAME="AEN4607"
Daniel Veillard35925471999-02-25 08:46:07 +00007265></A
7266><H3
7267><A
7268NAME="XMLUNLINKNODE"
7269></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007270>xmlUnlinkNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007271><TABLE
7272BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007273BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007274WIDTH="100%"
7275CELLPADDING="6"
7276><TR
7277><TD
7278><PRE
7279CLASS="PROGRAMLISTING"
7280>void xmlUnlinkNode (<A
7281HREF="gnome-xml-tree.html#XMLNODEPTR"
7282>xmlNodePtr</A
7283> cur);</PRE
7284></TD
7285></TR
7286></TABLE
7287><P
7288>Unlink a node from it's current context, the node is not freed</P
7289><P
7290></P
7291><DIV
7292CLASS="INFORMALTABLE"
7293><P
7294></P
7295><TABLE
7296BORDER="0"
7297WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007298BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007299CELLSPACING="0"
7300CELLPADDING="4"
7301CLASS="CALSTABLE"
7302><TR
7303><TD
7304WIDTH="20%"
7305ALIGN="RIGHT"
7306VALIGN="TOP"
7307><TT
7308CLASS="PARAMETER"
7309><I
7310>cur</I
7311></TT
7312>&nbsp;:</TD
7313><TD
7314WIDTH="80%"
7315ALIGN="LEFT"
7316VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007317> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007318></TR
7319></TABLE
7320><P
7321></P
7322></DIV
7323></DIV
7324><HR><DIV
7325CLASS="REFSECT2"
7326><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007327NAME="AEN4623"
Daniel Veillard35925471999-02-25 08:46:07 +00007328></A
7329><H3
7330><A
7331NAME="XMLTEXTMERGE"
7332></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007333>xmlTextMerge ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007334><TABLE
7335BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007336BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007337WIDTH="100%"
7338CELLPADDING="6"
7339><TR
7340><TD
7341><PRE
7342CLASS="PROGRAMLISTING"
7343><A
7344HREF="gnome-xml-tree.html#XMLNODEPTR"
7345>xmlNodePtr</A
7346> xmlTextMerge (<A
7347HREF="gnome-xml-tree.html#XMLNODEPTR"
7348>xmlNodePtr</A
7349> first,
7350 <A
7351HREF="gnome-xml-tree.html#XMLNODEPTR"
7352>xmlNodePtr</A
7353> second);</PRE
7354></TD
7355></TR
7356></TABLE
7357><P
7358>Merge two text nodes into one</P
7359><P
7360></P
7361><DIV
7362CLASS="INFORMALTABLE"
7363><P
7364></P
7365><TABLE
7366BORDER="0"
7367WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007368BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007369CELLSPACING="0"
7370CELLPADDING="4"
7371CLASS="CALSTABLE"
7372><TR
7373><TD
7374WIDTH="20%"
7375ALIGN="RIGHT"
7376VALIGN="TOP"
7377><TT
7378CLASS="PARAMETER"
7379><I
7380>first</I
7381></TT
7382>&nbsp;:</TD
7383><TD
7384WIDTH="80%"
7385ALIGN="LEFT"
7386VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007387> the first text node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007388></TR
7389><TR
7390><TD
7391WIDTH="20%"
7392ALIGN="RIGHT"
7393VALIGN="TOP"
7394><TT
7395CLASS="PARAMETER"
7396><I
7397>second</I
7398></TT
7399>&nbsp;:</TD
7400><TD
7401WIDTH="80%"
7402ALIGN="LEFT"
7403VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007404> the second text node being merged</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007405></TR
7406><TR
7407><TD
7408WIDTH="20%"
7409ALIGN="RIGHT"
7410VALIGN="TOP"
7411><I
7412CLASS="EMPHASIS"
7413>Returns</I
7414> :</TD
7415><TD
7416WIDTH="80%"
7417ALIGN="LEFT"
7418VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007419>the first text node augmented</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007420></TR
7421></TABLE
7422><P
7423></P
7424></DIV
7425></DIV
7426><HR><DIV
7427CLASS="REFSECT2"
7428><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007429NAME="AEN4649"
Daniel Veillard35925471999-02-25 08:46:07 +00007430></A
7431><H3
7432><A
7433NAME="XMLTEXTCONCAT"
7434></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007435>xmlTextConcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007436><TABLE
7437BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007438BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007439WIDTH="100%"
7440CELLPADDING="6"
7441><TR
7442><TD
7443><PRE
7444CLASS="PROGRAMLISTING"
7445>void xmlTextConcat (<A
7446HREF="gnome-xml-tree.html#XMLNODEPTR"
7447>xmlNodePtr</A
7448> node,
7449 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007450HREF="gnome-xml-tree.html#XMLCHAR"
7451>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007452> *content,
7453 int len);</PRE
7454></TD
7455></TR
7456></TABLE
7457><P
7458>Concat the given string at the end of the existing node content</P
7459><P
7460></P
7461><DIV
7462CLASS="INFORMALTABLE"
7463><P
7464></P
7465><TABLE
7466BORDER="0"
7467WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007468BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007469CELLSPACING="0"
7470CELLPADDING="4"
7471CLASS="CALSTABLE"
7472><TR
7473><TD
7474WIDTH="20%"
7475ALIGN="RIGHT"
7476VALIGN="TOP"
7477><TT
7478CLASS="PARAMETER"
7479><I
7480>node</I
7481></TT
7482>&nbsp;:</TD
7483><TD
7484WIDTH="80%"
7485ALIGN="LEFT"
7486VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007487> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007488></TR
7489><TR
7490><TD
7491WIDTH="20%"
7492ALIGN="RIGHT"
7493VALIGN="TOP"
7494><TT
7495CLASS="PARAMETER"
7496><I
7497>content</I
7498></TT
7499>&nbsp;:</TD
7500><TD
7501WIDTH="80%"
7502ALIGN="LEFT"
7503VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007504> the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007505></TR
7506><TR
7507><TD
7508WIDTH="20%"
7509ALIGN="RIGHT"
7510VALIGN="TOP"
7511><TT
7512CLASS="PARAMETER"
7513><I
7514>len</I
7515></TT
7516>&nbsp;:</TD
7517><TD
7518WIDTH="80%"
7519ALIGN="LEFT"
7520VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007521> <TT
7522CLASS="PARAMETER"
7523><I
7524>content</I
7525></TT
7526> lenght</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007527></TR
7528></TABLE
7529><P
7530></P
7531></DIV
7532></DIV
7533><HR><DIV
7534CLASS="REFSECT2"
7535><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007536NAME="AEN4675"
Daniel Veillard35925471999-02-25 08:46:07 +00007537></A
7538><H3
7539><A
7540NAME="XMLFREENODELIST"
7541></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007542>xmlFreeNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007543><TABLE
7544BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007545BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007546WIDTH="100%"
7547CELLPADDING="6"
7548><TR
7549><TD
7550><PRE
7551CLASS="PROGRAMLISTING"
7552>void xmlFreeNodeList (<A
7553HREF="gnome-xml-tree.html#XMLNODEPTR"
7554>xmlNodePtr</A
7555> cur);</PRE
7556></TD
7557></TR
7558></TABLE
7559><P
7560>Free a node and all its siblings, this is a recursive behaviour, all
7561the childs are freed too.</P
7562><P
7563></P
7564><DIV
7565CLASS="INFORMALTABLE"
7566><P
7567></P
7568><TABLE
7569BORDER="0"
7570WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007571BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007572CELLSPACING="0"
7573CELLPADDING="4"
7574CLASS="CALSTABLE"
7575><TR
7576><TD
7577WIDTH="20%"
7578ALIGN="RIGHT"
7579VALIGN="TOP"
7580><TT
7581CLASS="PARAMETER"
7582><I
7583>cur</I
7584></TT
7585>&nbsp;:</TD
7586><TD
7587WIDTH="80%"
7588ALIGN="LEFT"
7589VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007590> the first node in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007591></TR
7592></TABLE
7593><P
7594></P
7595></DIV
7596></DIV
7597><HR><DIV
7598CLASS="REFSECT2"
7599><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007600NAME="AEN4691"
Daniel Veillard35925471999-02-25 08:46:07 +00007601></A
7602><H3
7603><A
7604NAME="XMLFREENODE"
7605></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007606>xmlFreeNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007607><TABLE
7608BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007609BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007610WIDTH="100%"
7611CELLPADDING="6"
7612><TR
7613><TD
7614><PRE
7615CLASS="PROGRAMLISTING"
7616>void xmlFreeNode (<A
7617HREF="gnome-xml-tree.html#XMLNODEPTR"
7618>xmlNodePtr</A
7619> cur);</PRE
7620></TD
7621></TR
7622></TABLE
7623><P
7624>Free a node, this is a recursive behaviour, all the childs are freed too.</P
7625><P
7626></P
7627><DIV
7628CLASS="INFORMALTABLE"
7629><P
7630></P
7631><TABLE
7632BORDER="0"
7633WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007634BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007635CELLSPACING="0"
7636CELLPADDING="4"
7637CLASS="CALSTABLE"
7638><TR
7639><TD
7640WIDTH="20%"
7641ALIGN="RIGHT"
7642VALIGN="TOP"
7643><TT
7644CLASS="PARAMETER"
7645><I
7646>cur</I
7647></TT
7648>&nbsp;:</TD
7649><TD
7650WIDTH="80%"
7651ALIGN="LEFT"
7652VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007653> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007654></TR
7655></TABLE
7656><P
7657></P
7658></DIV
7659></DIV
7660><HR><DIV
7661CLASS="REFSECT2"
7662><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007663NAME="AEN4707"
Daniel Veillard35925471999-02-25 08:46:07 +00007664></A
7665><H3
7666><A
7667NAME="XMLSEARCHNS"
7668></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007669>xmlSearchNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007670><TABLE
7671BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007672BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007673WIDTH="100%"
7674CELLPADDING="6"
7675><TR
7676><TD
7677><PRE
7678CLASS="PROGRAMLISTING"
7679><A
7680HREF="gnome-xml-tree.html#XMLNSPTR"
7681>xmlNsPtr</A
7682> xmlSearchNs (<A
7683HREF="gnome-xml-tree.html#XMLDOCPTR"
7684>xmlDocPtr</A
7685> doc,
7686 <A
7687HREF="gnome-xml-tree.html#XMLNODEPTR"
7688>xmlNodePtr</A
7689> node,
7690 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007691HREF="gnome-xml-tree.html#XMLCHAR"
7692>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007693> *nameSpace);</PRE
7694></TD
7695></TR
7696></TABLE
7697><P
7698>Search a Ns registered under a given name space for a document.
7699recurse on the parents until it finds the defined namespace
7700or return NULL otherwise.
7701<TT
7702CLASS="PARAMETER"
7703><I
7704>nameSpace</I
7705></TT
7706> can be NULL, this is a search for the default namespace.</P
7707><P
7708></P
7709><DIV
7710CLASS="INFORMALTABLE"
7711><P
7712></P
7713><TABLE
7714BORDER="0"
7715WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007716BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007717CELLSPACING="0"
7718CELLPADDING="4"
7719CLASS="CALSTABLE"
7720><TR
7721><TD
7722WIDTH="20%"
7723ALIGN="RIGHT"
7724VALIGN="TOP"
7725><TT
7726CLASS="PARAMETER"
7727><I
7728>doc</I
7729></TT
7730>&nbsp;:</TD
7731><TD
7732WIDTH="80%"
7733ALIGN="LEFT"
7734VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007735> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007736></TR
7737><TR
7738><TD
7739WIDTH="20%"
7740ALIGN="RIGHT"
7741VALIGN="TOP"
7742><TT
7743CLASS="PARAMETER"
7744><I
7745>node</I
7746></TT
7747>&nbsp;:</TD
7748><TD
7749WIDTH="80%"
7750ALIGN="LEFT"
7751VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007752> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007753></TR
7754><TR
7755><TD
7756WIDTH="20%"
7757ALIGN="RIGHT"
7758VALIGN="TOP"
7759><TT
7760CLASS="PARAMETER"
7761><I
7762>nameSpace</I
7763></TT
7764>&nbsp;:</TD
7765><TD
7766WIDTH="80%"
7767ALIGN="LEFT"
7768VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007769> the namespace string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007770></TR
7771><TR
7772><TD
7773WIDTH="20%"
7774ALIGN="RIGHT"
7775VALIGN="TOP"
7776><I
7777CLASS="EMPHASIS"
7778>Returns</I
7779> :</TD
7780><TD
7781WIDTH="80%"
7782ALIGN="LEFT"
7783VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007784>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007785></TR
7786></TABLE
7787><P
7788></P
7789></DIV
7790></DIV
7791><HR><DIV
7792CLASS="REFSECT2"
7793><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007794NAME="AEN4739"
Daniel Veillard35925471999-02-25 08:46:07 +00007795></A
7796><H3
7797><A
7798NAME="XMLSEARCHNSBYHREF"
7799></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007800>xmlSearchNsByHref ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007801><TABLE
7802BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007803BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007804WIDTH="100%"
7805CELLPADDING="6"
7806><TR
7807><TD
7808><PRE
7809CLASS="PROGRAMLISTING"
7810><A
7811HREF="gnome-xml-tree.html#XMLNSPTR"
7812>xmlNsPtr</A
7813> xmlSearchNsByHref (<A
7814HREF="gnome-xml-tree.html#XMLDOCPTR"
7815>xmlDocPtr</A
7816> doc,
7817 <A
7818HREF="gnome-xml-tree.html#XMLNODEPTR"
7819>xmlNodePtr</A
7820> node,
7821 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007822HREF="gnome-xml-tree.html#XMLCHAR"
7823>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007824> *href);</PRE
7825></TD
7826></TR
7827></TABLE
7828><P
7829>Search a Ns aliasing a given URI. Recurse on the parents until it finds
7830the defined namespace or return NULL otherwise.</P
7831><P
7832></P
7833><DIV
7834CLASS="INFORMALTABLE"
7835><P
7836></P
7837><TABLE
7838BORDER="0"
7839WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007840BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007841CELLSPACING="0"
7842CELLPADDING="4"
7843CLASS="CALSTABLE"
7844><TR
7845><TD
7846WIDTH="20%"
7847ALIGN="RIGHT"
7848VALIGN="TOP"
7849><TT
7850CLASS="PARAMETER"
7851><I
7852>doc</I
7853></TT
7854>&nbsp;:</TD
7855><TD
7856WIDTH="80%"
7857ALIGN="LEFT"
7858VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007859> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007860></TR
7861><TR
7862><TD
7863WIDTH="20%"
7864ALIGN="RIGHT"
7865VALIGN="TOP"
7866><TT
7867CLASS="PARAMETER"
7868><I
7869>node</I
7870></TT
7871>&nbsp;:</TD
7872><TD
7873WIDTH="80%"
7874ALIGN="LEFT"
7875VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007876> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007877></TR
7878><TR
7879><TD
7880WIDTH="20%"
7881ALIGN="RIGHT"
7882VALIGN="TOP"
7883><TT
7884CLASS="PARAMETER"
7885><I
7886>href</I
7887></TT
7888>&nbsp;:</TD
7889><TD
7890WIDTH="80%"
7891ALIGN="LEFT"
7892VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007893> the namespace value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007894></TR
7895><TR
7896><TD
7897WIDTH="20%"
7898ALIGN="RIGHT"
7899VALIGN="TOP"
7900><I
7901CLASS="EMPHASIS"
7902>Returns</I
7903> :</TD
7904><TD
7905WIDTH="80%"
7906ALIGN="LEFT"
7907VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007908>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007909></TR
7910></TABLE
7911><P
7912></P
7913></DIV
7914></DIV
7915><HR><DIV
7916CLASS="REFSECT2"
7917><A
Daniel Veillardf600e251999-12-18 15:32:46 +00007918NAME="AEN4770"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007919></A
7920><H3
7921><A
7922NAME="XMLGETNSLIST"
7923></A
7924>xmlGetNsList ()</H3
7925><TABLE
7926BORDER="0"
7927BGCOLOR="#D6E8FF"
7928WIDTH="100%"
7929CELLPADDING="6"
7930><TR
7931><TD
7932><PRE
7933CLASS="PROGRAMLISTING"
7934><A
7935HREF="gnome-xml-tree.html#XMLNSPTR"
7936>xmlNsPtr</A
7937>* xmlGetNsList (<A
7938HREF="gnome-xml-tree.html#XMLDOCPTR"
7939>xmlDocPtr</A
7940> doc,
7941 <A
7942HREF="gnome-xml-tree.html#XMLNODEPTR"
7943>xmlNodePtr</A
7944> node);</PRE
7945></TD
7946></TR
7947></TABLE
7948><P
7949>Search all the namespace applying to a given element.</P
7950><P
7951></P
7952><DIV
7953CLASS="INFORMALTABLE"
7954><P
7955></P
7956><TABLE
7957BORDER="0"
7958WIDTH="100%"
7959BGCOLOR="#FFD0D0"
7960CELLSPACING="0"
7961CELLPADDING="4"
7962CLASS="CALSTABLE"
7963><TR
7964><TD
7965WIDTH="20%"
7966ALIGN="RIGHT"
7967VALIGN="TOP"
7968><TT
7969CLASS="PARAMETER"
7970><I
7971>doc</I
7972></TT
7973>&nbsp;:</TD
7974><TD
7975WIDTH="80%"
7976ALIGN="LEFT"
7977VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007978> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007979></TR
7980><TR
7981><TD
7982WIDTH="20%"
7983ALIGN="RIGHT"
7984VALIGN="TOP"
7985><TT
7986CLASS="PARAMETER"
7987><I
7988>node</I
7989></TT
7990>&nbsp;:</TD
7991><TD
7992WIDTH="80%"
7993ALIGN="LEFT"
7994VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007995> the current node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007996></TR
7997><TR
7998><TD
7999WIDTH="20%"
8000ALIGN="RIGHT"
8001VALIGN="TOP"
8002><I
8003CLASS="EMPHASIS"
8004>Returns</I
8005> :</TD
8006><TD
8007WIDTH="80%"
8008ALIGN="LEFT"
8009VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008010>an NULL terminated array of all the xmlNsPtr found
8011that need to be freed by the caller or NULL if no
8012namespace if defined</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008013></TR
8014></TABLE
8015><P
8016></P
8017></DIV
8018></DIV
8019><HR><DIV
8020CLASS="REFSECT2"
8021><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008022NAME="AEN4796"
Daniel Veillard35925471999-02-25 08:46:07 +00008023></A
8024><H3
8025><A
8026NAME="XMLSETNS"
8027></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008028>xmlSetNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008029><TABLE
8030BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008031BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008032WIDTH="100%"
8033CELLPADDING="6"
8034><TR
8035><TD
8036><PRE
8037CLASS="PROGRAMLISTING"
8038>void xmlSetNs (<A
8039HREF="gnome-xml-tree.html#XMLNODEPTR"
8040>xmlNodePtr</A
8041> node,
8042 <A
8043HREF="gnome-xml-tree.html#XMLNSPTR"
8044>xmlNsPtr</A
8045> ns);</PRE
8046></TD
8047></TR
8048></TABLE
8049><P
8050>Associate a namespace to a node, a posteriori.</P
8051><P
8052></P
8053><DIV
8054CLASS="INFORMALTABLE"
8055><P
8056></P
8057><TABLE
8058BORDER="0"
8059WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008060BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008061CELLSPACING="0"
8062CELLPADDING="4"
8063CLASS="CALSTABLE"
8064><TR
8065><TD
8066WIDTH="20%"
8067ALIGN="RIGHT"
8068VALIGN="TOP"
8069><TT
8070CLASS="PARAMETER"
8071><I
8072>node</I
8073></TT
8074>&nbsp;:</TD
8075><TD
8076WIDTH="80%"
8077ALIGN="LEFT"
8078VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008079> a node in the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008080></TR
8081><TR
8082><TD
8083WIDTH="20%"
8084ALIGN="RIGHT"
8085VALIGN="TOP"
8086><TT
8087CLASS="PARAMETER"
8088><I
8089>ns</I
8090></TT
8091>&nbsp;:</TD
8092><TD
8093WIDTH="80%"
8094ALIGN="LEFT"
8095VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008096> a namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008097></TR
8098></TABLE
8099><P
8100></P
8101></DIV
8102></DIV
8103><HR><DIV
8104CLASS="REFSECT2"
8105><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008106NAME="AEN4817"
Daniel Veillard35925471999-02-25 08:46:07 +00008107></A
8108><H3
8109><A
8110NAME="XMLCOPYNAMESPACE"
8111></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008112>xmlCopyNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008113><TABLE
8114BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008115BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008116WIDTH="100%"
8117CELLPADDING="6"
8118><TR
8119><TD
8120><PRE
8121CLASS="PROGRAMLISTING"
8122><A
8123HREF="gnome-xml-tree.html#XMLNSPTR"
8124>xmlNsPtr</A
8125> xmlCopyNamespace (<A
8126HREF="gnome-xml-tree.html#XMLNSPTR"
8127>xmlNsPtr</A
8128> cur);</PRE
8129></TD
8130></TR
8131></TABLE
8132><P
8133>Do a copy of the namespace.</P
8134><P
8135></P
8136><DIV
8137CLASS="INFORMALTABLE"
8138><P
8139></P
8140><TABLE
8141BORDER="0"
8142WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008143BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008144CELLSPACING="0"
8145CELLPADDING="4"
8146CLASS="CALSTABLE"
8147><TR
8148><TD
8149WIDTH="20%"
8150ALIGN="RIGHT"
8151VALIGN="TOP"
8152><TT
8153CLASS="PARAMETER"
8154><I
8155>cur</I
8156></TT
8157>&nbsp;:</TD
8158><TD
8159WIDTH="80%"
8160ALIGN="LEFT"
8161VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008162> the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008163></TR
8164><TR
8165><TD
8166WIDTH="20%"
8167ALIGN="RIGHT"
8168VALIGN="TOP"
8169><I
8170CLASS="EMPHASIS"
8171>Returns</I
8172> :</TD
8173><TD
8174WIDTH="80%"
8175ALIGN="LEFT"
8176VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008177> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008178></TR
8179></TABLE
8180><P
8181></P
8182></DIV
8183></DIV
8184><HR><DIV
8185CLASS="REFSECT2"
8186><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008187NAME="AEN4838"
Daniel Veillard35925471999-02-25 08:46:07 +00008188></A
8189><H3
8190><A
8191NAME="XMLCOPYNAMESPACELIST"
8192></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008193>xmlCopyNamespaceList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008194><TABLE
8195BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008196BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008197WIDTH="100%"
8198CELLPADDING="6"
8199><TR
8200><TD
8201><PRE
8202CLASS="PROGRAMLISTING"
8203><A
8204HREF="gnome-xml-tree.html#XMLNSPTR"
8205>xmlNsPtr</A
8206> xmlCopyNamespaceList (<A
8207HREF="gnome-xml-tree.html#XMLNSPTR"
8208>xmlNsPtr</A
8209> cur);</PRE
8210></TD
8211></TR
8212></TABLE
8213><P
8214>Do a copy of an namespace list.</P
8215><P
8216></P
8217><DIV
8218CLASS="INFORMALTABLE"
8219><P
8220></P
8221><TABLE
8222BORDER="0"
8223WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008224BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008225CELLSPACING="0"
8226CELLPADDING="4"
8227CLASS="CALSTABLE"
8228><TR
8229><TD
8230WIDTH="20%"
8231ALIGN="RIGHT"
8232VALIGN="TOP"
8233><TT
8234CLASS="PARAMETER"
8235><I
8236>cur</I
8237></TT
8238>&nbsp;:</TD
8239><TD
8240WIDTH="80%"
8241ALIGN="LEFT"
8242VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008243> the first namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008244></TR
8245><TR
8246><TD
8247WIDTH="20%"
8248ALIGN="RIGHT"
8249VALIGN="TOP"
8250><I
8251CLASS="EMPHASIS"
8252>Returns</I
8253> :</TD
8254><TD
8255WIDTH="80%"
8256ALIGN="LEFT"
8257VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008258> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008259></TR
8260></TABLE
8261><P
8262></P
8263></DIV
8264></DIV
8265><HR><DIV
8266CLASS="REFSECT2"
8267><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008268NAME="AEN4859"
Daniel Veillard35925471999-02-25 08:46:07 +00008269></A
8270><H3
8271><A
8272NAME="XMLSETPROP"
8273></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008274>xmlSetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008275><TABLE
8276BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008277BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008278WIDTH="100%"
8279CELLPADDING="6"
8280><TR
8281><TD
8282><PRE
8283CLASS="PROGRAMLISTING"
8284><A
8285HREF="gnome-xml-tree.html#XMLATTRPTR"
8286>xmlAttrPtr</A
8287> xmlSetProp (<A
8288HREF="gnome-xml-tree.html#XMLNODEPTR"
8289>xmlNodePtr</A
8290> node,
8291 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008292HREF="gnome-xml-tree.html#XMLCHAR"
8293>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008294> *name,
8295 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008296HREF="gnome-xml-tree.html#XMLCHAR"
8297>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008298> *value);</PRE
8299></TD
8300></TR
8301></TABLE
8302><P
8303>Set (or reset) an attribute carried by a node.</P
8304><P
8305></P
8306><DIV
8307CLASS="INFORMALTABLE"
8308><P
8309></P
8310><TABLE
8311BORDER="0"
8312WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008313BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008314CELLSPACING="0"
8315CELLPADDING="4"
8316CLASS="CALSTABLE"
8317><TR
8318><TD
8319WIDTH="20%"
8320ALIGN="RIGHT"
8321VALIGN="TOP"
8322><TT
8323CLASS="PARAMETER"
8324><I
8325>node</I
8326></TT
8327>&nbsp;:</TD
8328><TD
8329WIDTH="80%"
8330ALIGN="LEFT"
8331VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008332> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008333></TR
8334><TR
8335><TD
8336WIDTH="20%"
8337ALIGN="RIGHT"
8338VALIGN="TOP"
8339><TT
8340CLASS="PARAMETER"
8341><I
8342>name</I
8343></TT
8344>&nbsp;:</TD
8345><TD
8346WIDTH="80%"
8347ALIGN="LEFT"
8348VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008349> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008350></TR
8351><TR
8352><TD
8353WIDTH="20%"
8354ALIGN="RIGHT"
8355VALIGN="TOP"
8356><TT
8357CLASS="PARAMETER"
8358><I
8359>value</I
8360></TT
8361>&nbsp;:</TD
8362><TD
8363WIDTH="80%"
8364ALIGN="LEFT"
8365VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008366> the attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008367></TR
8368><TR
8369><TD
8370WIDTH="20%"
8371ALIGN="RIGHT"
8372VALIGN="TOP"
8373><I
8374CLASS="EMPHASIS"
8375>Returns</I
8376> :</TD
8377><TD
8378WIDTH="80%"
8379ALIGN="LEFT"
8380VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008381>the attribute pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008382></TR
8383></TABLE
8384><P
8385></P
8386></DIV
8387></DIV
8388><HR><DIV
8389CLASS="REFSECT2"
8390><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008391NAME="AEN4890"
Daniel Veillard35925471999-02-25 08:46:07 +00008392></A
8393><H3
8394><A
8395NAME="XMLGETPROP"
8396></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008397>xmlGetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008398><TABLE
8399BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008400BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008401WIDTH="100%"
8402CELLPADDING="6"
8403><TR
8404><TD
8405><PRE
8406CLASS="PROGRAMLISTING"
8407><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008408HREF="gnome-xml-tree.html#XMLCHAR"
8409>xmlChar</A
8410>* xmlGetProp (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008411HREF="gnome-xml-tree.html#XMLNODEPTR"
8412>xmlNodePtr</A
8413> node,
8414 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008415HREF="gnome-xml-tree.html#XMLCHAR"
8416>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008417> *name);</PRE
8418></TD
8419></TR
8420></TABLE
8421><P
8422>Search and get the value of an attribute associated to a node
Daniel Veillard10a2c651999-12-12 13:03:50 +00008423This does the entity substitution.
8424This function looks in DTD attribute declaration for <GTKDOCLINK
8425HREF="FIXED"
8426>FIXED</GTKDOCLINK
8427> or
8428default declaration values unless DTD use has been turned off.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008429><P
8430></P
8431><DIV
8432CLASS="INFORMALTABLE"
8433><P
8434></P
8435><TABLE
8436BORDER="0"
8437WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008438BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008439CELLSPACING="0"
8440CELLPADDING="4"
8441CLASS="CALSTABLE"
8442><TR
8443><TD
8444WIDTH="20%"
8445ALIGN="RIGHT"
8446VALIGN="TOP"
8447><TT
8448CLASS="PARAMETER"
8449><I
8450>node</I
8451></TT
8452>&nbsp;:</TD
8453><TD
8454WIDTH="80%"
8455ALIGN="LEFT"
8456VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008457> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008458></TR
8459><TR
8460><TD
8461WIDTH="20%"
8462ALIGN="RIGHT"
8463VALIGN="TOP"
8464><TT
8465CLASS="PARAMETER"
8466><I
8467>name</I
8468></TT
8469>&nbsp;:</TD
8470><TD
8471WIDTH="80%"
8472ALIGN="LEFT"
8473VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008474> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008475></TR
8476><TR
8477><TD
8478WIDTH="20%"
8479ALIGN="RIGHT"
8480VALIGN="TOP"
8481><I
8482CLASS="EMPHASIS"
8483>Returns</I
8484> :</TD
8485><TD
8486WIDTH="80%"
8487ALIGN="LEFT"
8488VALIGN="TOP"
Daniel Veillarda819dac1999-11-24 18:04:22 +00008489>the attribute value or NULL if not found.
8490It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008491></TR
8492></TABLE
8493><P
8494></P
8495></DIV
8496></DIV
8497><HR><DIV
8498CLASS="REFSECT2"
8499><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008500NAME="AEN4917"
Daniel Veillard10a2c651999-12-12 13:03:50 +00008501></A
8502><H3
8503><A
8504NAME="XMLGETNSPROP"
8505></A
8506>xmlGetNsProp ()</H3
8507><TABLE
8508BORDER="0"
8509BGCOLOR="#D6E8FF"
8510WIDTH="100%"
8511CELLPADDING="6"
8512><TR
8513><TD
8514><PRE
8515CLASS="PROGRAMLISTING"
8516><A
8517HREF="gnome-xml-tree.html#XMLCHAR"
8518>xmlChar</A
8519>* xmlGetNsProp (<A
8520HREF="gnome-xml-tree.html#XMLNODEPTR"
8521>xmlNodePtr</A
8522> node,
8523 const <A
8524HREF="gnome-xml-tree.html#XMLCHAR"
8525>xmlChar</A
8526> *name,
8527 const <A
8528HREF="gnome-xml-tree.html#XMLCHAR"
8529>xmlChar</A
Daniel Veillard944b5ff1999-12-15 19:08:24 +00008530> *nameSpace);</PRE
Daniel Veillard10a2c651999-12-12 13:03:50 +00008531></TD
8532></TR
8533></TABLE
8534><P
8535>Search and get the value of an attribute associated to a node
8536This attribute has to be anchored in the namespace specified.
8537This does the entity substitution.
8538This function looks in DTD attribute declaration for <GTKDOCLINK
8539HREF="FIXED"
8540>FIXED</GTKDOCLINK
8541> or
8542default declaration values unless DTD use has been turned off.</P
8543><P
8544></P
8545><DIV
8546CLASS="INFORMALTABLE"
8547><P
8548></P
8549><TABLE
8550BORDER="0"
8551WIDTH="100%"
8552BGCOLOR="#FFD0D0"
8553CELLSPACING="0"
8554CELLPADDING="4"
8555CLASS="CALSTABLE"
8556><TR
8557><TD
8558WIDTH="20%"
8559ALIGN="RIGHT"
8560VALIGN="TOP"
8561><TT
8562CLASS="PARAMETER"
8563><I
8564>node</I
8565></TT
8566>&nbsp;:</TD
8567><TD
8568WIDTH="80%"
8569ALIGN="LEFT"
8570VALIGN="TOP"
8571> the node</TD
8572></TR
8573><TR
8574><TD
8575WIDTH="20%"
8576ALIGN="RIGHT"
8577VALIGN="TOP"
8578><TT
8579CLASS="PARAMETER"
8580><I
8581>name</I
8582></TT
8583>&nbsp;:</TD
8584><TD
8585WIDTH="80%"
8586ALIGN="LEFT"
8587VALIGN="TOP"
8588> the attribute name</TD
8589></TR
8590><TR
8591><TD
8592WIDTH="20%"
8593ALIGN="RIGHT"
8594VALIGN="TOP"
8595><TT
8596CLASS="PARAMETER"
8597><I
Daniel Veillard944b5ff1999-12-15 19:08:24 +00008598>nameSpace</I
Daniel Veillard10a2c651999-12-12 13:03:50 +00008599></TT
8600>&nbsp;:</TD
8601><TD
8602WIDTH="80%"
8603ALIGN="LEFT"
8604VALIGN="TOP"
8605> the URI of the namespace</TD
8606></TR
8607><TR
8608><TD
8609WIDTH="20%"
8610ALIGN="RIGHT"
8611VALIGN="TOP"
8612><I
8613CLASS="EMPHASIS"
8614>Returns</I
8615> :</TD
8616><TD
8617WIDTH="80%"
8618ALIGN="LEFT"
8619VALIGN="TOP"
8620>the attribute value or NULL if not found.
8621It's up to the caller to free the memory.</TD
8622></TR
8623></TABLE
8624><P
8625></P
8626></DIV
8627></DIV
8628><HR><DIV
8629CLASS="REFSECT2"
8630><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008631NAME="AEN4949"
Daniel Veillard35925471999-02-25 08:46:07 +00008632></A
8633><H3
8634><A
8635NAME="XMLSTRINGGETNODELIST"
8636></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008637>xmlStringGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008638><TABLE
8639BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008640BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008641WIDTH="100%"
8642CELLPADDING="6"
8643><TR
8644><TD
8645><PRE
8646CLASS="PROGRAMLISTING"
8647><A
8648HREF="gnome-xml-tree.html#XMLNODEPTR"
8649>xmlNodePtr</A
8650> xmlStringGetNodeList (<A
8651HREF="gnome-xml-tree.html#XMLDOCPTR"
8652>xmlDocPtr</A
8653> doc,
8654 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008655HREF="gnome-xml-tree.html#XMLCHAR"
8656>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008657> *value);</PRE
8658></TD
8659></TR
8660></TABLE
8661><P
8662>Parse the value string and build the node list associated. Should
8663produce a flat tree with only TEXTs and ENTITY_REFs.</P
8664><P
8665></P
8666><DIV
8667CLASS="INFORMALTABLE"
8668><P
8669></P
8670><TABLE
8671BORDER="0"
8672WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008673BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008674CELLSPACING="0"
8675CELLPADDING="4"
8676CLASS="CALSTABLE"
8677><TR
8678><TD
8679WIDTH="20%"
8680ALIGN="RIGHT"
8681VALIGN="TOP"
8682><TT
8683CLASS="PARAMETER"
8684><I
8685>doc</I
8686></TT
8687>&nbsp;:</TD
8688><TD
8689WIDTH="80%"
8690ALIGN="LEFT"
8691VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008692> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008693></TR
8694><TR
8695><TD
8696WIDTH="20%"
8697ALIGN="RIGHT"
8698VALIGN="TOP"
8699><TT
8700CLASS="PARAMETER"
8701><I
8702>value</I
8703></TT
8704>&nbsp;:</TD
8705><TD
8706WIDTH="80%"
8707ALIGN="LEFT"
8708VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008709> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008710></TR
8711><TR
8712><TD
8713WIDTH="20%"
8714ALIGN="RIGHT"
8715VALIGN="TOP"
8716><I
8717CLASS="EMPHASIS"
8718>Returns</I
8719> :</TD
8720><TD
8721WIDTH="80%"
8722ALIGN="LEFT"
8723VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008724>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008725></TR
8726></TABLE
8727><P
8728></P
8729></DIV
8730></DIV
8731><HR><DIV
8732CLASS="REFSECT2"
8733><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008734NAME="AEN4975"
Daniel Veillard35925471999-02-25 08:46:07 +00008735></A
8736><H3
8737><A
8738NAME="XMLSTRINGLENGETNODELIST"
8739></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008740>xmlStringLenGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008741><TABLE
8742BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008743BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008744WIDTH="100%"
8745CELLPADDING="6"
8746><TR
8747><TD
8748><PRE
8749CLASS="PROGRAMLISTING"
8750><A
8751HREF="gnome-xml-tree.html#XMLNODEPTR"
8752>xmlNodePtr</A
8753> xmlStringLenGetNodeList (<A
8754HREF="gnome-xml-tree.html#XMLDOCPTR"
8755>xmlDocPtr</A
8756> doc,
8757 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008758HREF="gnome-xml-tree.html#XMLCHAR"
8759>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008760> *value,
8761 int len);</PRE
8762></TD
8763></TR
8764></TABLE
8765><P
8766>Parse the value string and build the node list associated. Should
8767produce a flat tree with only TEXTs and ENTITY_REFs.</P
8768><P
8769></P
8770><DIV
8771CLASS="INFORMALTABLE"
8772><P
8773></P
8774><TABLE
8775BORDER="0"
8776WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008777BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008778CELLSPACING="0"
8779CELLPADDING="4"
8780CLASS="CALSTABLE"
8781><TR
8782><TD
8783WIDTH="20%"
8784ALIGN="RIGHT"
8785VALIGN="TOP"
8786><TT
8787CLASS="PARAMETER"
8788><I
8789>doc</I
8790></TT
8791>&nbsp;:</TD
8792><TD
8793WIDTH="80%"
8794ALIGN="LEFT"
8795VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008796> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008797></TR
8798><TR
8799><TD
8800WIDTH="20%"
8801ALIGN="RIGHT"
8802VALIGN="TOP"
8803><TT
8804CLASS="PARAMETER"
8805><I
8806>value</I
8807></TT
8808>&nbsp;:</TD
8809><TD
8810WIDTH="80%"
8811ALIGN="LEFT"
8812VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008813> the value of the text</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008814></TR
8815><TR
8816><TD
8817WIDTH="20%"
8818ALIGN="RIGHT"
8819VALIGN="TOP"
8820><TT
8821CLASS="PARAMETER"
8822><I
8823>len</I
8824></TT
8825>&nbsp;:</TD
8826><TD
8827WIDTH="80%"
8828ALIGN="LEFT"
8829VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008830> the length of the string value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008831></TR
8832><TR
8833><TD
8834WIDTH="20%"
8835ALIGN="RIGHT"
8836VALIGN="TOP"
8837><I
8838CLASS="EMPHASIS"
8839>Returns</I
8840> :</TD
8841><TD
8842WIDTH="80%"
8843ALIGN="LEFT"
8844VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008845>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008846></TR
8847></TABLE
8848><P
8849></P
8850></DIV
8851></DIV
8852><HR><DIV
8853CLASS="REFSECT2"
8854><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008855NAME="AEN5005"
Daniel Veillard35925471999-02-25 08:46:07 +00008856></A
8857><H3
8858><A
8859NAME="XMLNODELISTGETSTRING"
8860></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008861>xmlNodeListGetString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008862><TABLE
8863BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008864BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008865WIDTH="100%"
8866CELLPADDING="6"
8867><TR
8868><TD
8869><PRE
8870CLASS="PROGRAMLISTING"
8871><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008872HREF="gnome-xml-tree.html#XMLCHAR"
8873>xmlChar</A
8874>* xmlNodeListGetString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008875HREF="gnome-xml-tree.html#XMLDOCPTR"
8876>xmlDocPtr</A
8877> doc,
8878 <A
8879HREF="gnome-xml-tree.html#XMLNODEPTR"
8880>xmlNodePtr</A
8881> list,
8882 int inLine);</PRE
8883></TD
8884></TR
8885></TABLE
8886><P
8887>Returns the string equivalent to the text contained in the Node list
8888made of TEXTs and ENTITY_REFs</P
8889><P
8890></P
8891><DIV
8892CLASS="INFORMALTABLE"
8893><P
8894></P
8895><TABLE
8896BORDER="0"
8897WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008898BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008899CELLSPACING="0"
8900CELLPADDING="4"
8901CLASS="CALSTABLE"
8902><TR
8903><TD
8904WIDTH="20%"
8905ALIGN="RIGHT"
8906VALIGN="TOP"
8907><TT
8908CLASS="PARAMETER"
8909><I
8910>doc</I
8911></TT
8912>&nbsp;:</TD
8913><TD
8914WIDTH="80%"
8915ALIGN="LEFT"
8916VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008917> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008918></TR
8919><TR
8920><TD
8921WIDTH="20%"
8922ALIGN="RIGHT"
8923VALIGN="TOP"
8924><TT
8925CLASS="PARAMETER"
8926><I
8927>list</I
8928></TT
8929>&nbsp;:</TD
8930><TD
8931WIDTH="80%"
8932ALIGN="LEFT"
8933VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008934> a Node list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008935></TR
8936><TR
8937><TD
8938WIDTH="20%"
8939ALIGN="RIGHT"
8940VALIGN="TOP"
8941><TT
8942CLASS="PARAMETER"
8943><I
8944>inLine</I
8945></TT
8946>&nbsp;:</TD
8947><TD
8948WIDTH="80%"
8949ALIGN="LEFT"
8950VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008951> should we replace entity contents or show their external form</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008952></TR
8953><TR
8954><TD
8955WIDTH="20%"
8956ALIGN="RIGHT"
8957VALIGN="TOP"
8958><I
8959CLASS="EMPHASIS"
8960>Returns</I
8961> :</TD
8962><TD
8963WIDTH="80%"
8964ALIGN="LEFT"
8965VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00008966>a pointer to the string copy, the calller must free it.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008967></TR
8968></TABLE
8969><P
8970></P
8971></DIV
8972></DIV
8973><HR><DIV
8974CLASS="REFSECT2"
8975><A
Daniel Veillardf600e251999-12-18 15:32:46 +00008976NAME="AEN5035"
Daniel Veillard35925471999-02-25 08:46:07 +00008977></A
8978><H3
8979><A
8980NAME="XMLNODESETCONTENT"
8981></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008982>xmlNodeSetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008983><TABLE
8984BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008985BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008986WIDTH="100%"
8987CELLPADDING="6"
8988><TR
8989><TD
8990><PRE
8991CLASS="PROGRAMLISTING"
8992>void xmlNodeSetContent (<A
8993HREF="gnome-xml-tree.html#XMLNODEPTR"
8994>xmlNodePtr</A
8995> cur,
8996 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008997HREF="gnome-xml-tree.html#XMLCHAR"
8998>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008999> *content);</PRE
9000></TD
9001></TR
9002></TABLE
9003><P
9004>Replace the content of a node.</P
9005><P
9006></P
9007><DIV
9008CLASS="INFORMALTABLE"
9009><P
9010></P
9011><TABLE
9012BORDER="0"
9013WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009014BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009015CELLSPACING="0"
9016CELLPADDING="4"
9017CLASS="CALSTABLE"
9018><TR
9019><TD
9020WIDTH="20%"
9021ALIGN="RIGHT"
9022VALIGN="TOP"
9023><TT
9024CLASS="PARAMETER"
9025><I
9026>cur</I
9027></TT
9028>&nbsp;:</TD
9029><TD
9030WIDTH="80%"
9031ALIGN="LEFT"
9032VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009033> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009034></TR
9035><TR
9036><TD
9037WIDTH="20%"
9038ALIGN="RIGHT"
9039VALIGN="TOP"
9040><TT
9041CLASS="PARAMETER"
9042><I
9043>content</I
9044></TT
9045>&nbsp;:</TD
9046><TD
9047WIDTH="80%"
9048ALIGN="LEFT"
9049VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009050> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009051></TR
9052></TABLE
9053><P
9054></P
9055></DIV
9056></DIV
9057><HR><DIV
9058CLASS="REFSECT2"
9059><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009060NAME="AEN5056"
Daniel Veillard35925471999-02-25 08:46:07 +00009061></A
9062><H3
9063><A
9064NAME="XMLNODESETCONTENTLEN"
9065></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009066>xmlNodeSetContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009067><TABLE
9068BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009069BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009070WIDTH="100%"
9071CELLPADDING="6"
9072><TR
9073><TD
9074><PRE
9075CLASS="PROGRAMLISTING"
9076>void xmlNodeSetContentLen (<A
9077HREF="gnome-xml-tree.html#XMLNODEPTR"
9078>xmlNodePtr</A
9079> cur,
9080 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009081HREF="gnome-xml-tree.html#XMLCHAR"
9082>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009083> *content,
9084 int len);</PRE
9085></TD
9086></TR
9087></TABLE
9088><P
9089>Replace the content of a node.</P
9090><P
9091></P
9092><DIV
9093CLASS="INFORMALTABLE"
9094><P
9095></P
9096><TABLE
9097BORDER="0"
9098WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009099BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009100CELLSPACING="0"
9101CELLPADDING="4"
9102CLASS="CALSTABLE"
9103><TR
9104><TD
9105WIDTH="20%"
9106ALIGN="RIGHT"
9107VALIGN="TOP"
9108><TT
9109CLASS="PARAMETER"
9110><I
9111>cur</I
9112></TT
9113>&nbsp;:</TD
9114><TD
9115WIDTH="80%"
9116ALIGN="LEFT"
9117VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009118> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009119></TR
9120><TR
9121><TD
9122WIDTH="20%"
9123ALIGN="RIGHT"
9124VALIGN="TOP"
9125><TT
9126CLASS="PARAMETER"
9127><I
9128>content</I
9129></TT
9130>&nbsp;:</TD
9131><TD
9132WIDTH="80%"
9133ALIGN="LEFT"
9134VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009135> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009136></TR
9137><TR
9138><TD
9139WIDTH="20%"
9140ALIGN="RIGHT"
9141VALIGN="TOP"
9142><TT
9143CLASS="PARAMETER"
9144><I
9145>len</I
9146></TT
9147>&nbsp;:</TD
9148><TD
9149WIDTH="80%"
9150ALIGN="LEFT"
9151VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009152> the size of <TT
9153CLASS="PARAMETER"
9154><I
9155>content</I
9156></TT
9157></TD
Daniel Veillard35925471999-02-25 08:46:07 +00009158></TR
9159></TABLE
9160><P
9161></P
9162></DIV
9163></DIV
9164><HR><DIV
9165CLASS="REFSECT2"
9166><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009167NAME="AEN5082"
Daniel Veillard35925471999-02-25 08:46:07 +00009168></A
9169><H3
9170><A
9171NAME="XMLNODEADDCONTENT"
9172></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009173>xmlNodeAddContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009174><TABLE
9175BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009176BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009177WIDTH="100%"
9178CELLPADDING="6"
9179><TR
9180><TD
9181><PRE
9182CLASS="PROGRAMLISTING"
9183>void xmlNodeAddContent (<A
9184HREF="gnome-xml-tree.html#XMLNODEPTR"
9185>xmlNodePtr</A
9186> cur,
9187 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009188HREF="gnome-xml-tree.html#XMLCHAR"
9189>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009190> *content);</PRE
9191></TD
9192></TR
9193></TABLE
9194><P
9195>Append the extra substring to the node content.</P
9196><P
9197></P
9198><DIV
9199CLASS="INFORMALTABLE"
9200><P
9201></P
9202><TABLE
9203BORDER="0"
9204WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009205BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009206CELLSPACING="0"
9207CELLPADDING="4"
9208CLASS="CALSTABLE"
9209><TR
9210><TD
9211WIDTH="20%"
9212ALIGN="RIGHT"
9213VALIGN="TOP"
9214><TT
9215CLASS="PARAMETER"
9216><I
9217>cur</I
9218></TT
9219>&nbsp;:</TD
9220><TD
9221WIDTH="80%"
9222ALIGN="LEFT"
9223VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009224> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009225></TR
9226><TR
9227><TD
9228WIDTH="20%"
9229ALIGN="RIGHT"
9230VALIGN="TOP"
9231><TT
9232CLASS="PARAMETER"
9233><I
9234>content</I
9235></TT
9236>&nbsp;:</TD
9237><TD
9238WIDTH="80%"
9239ALIGN="LEFT"
9240VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009241> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009242></TR
9243></TABLE
9244><P
9245></P
9246></DIV
9247></DIV
9248><HR><DIV
9249CLASS="REFSECT2"
9250><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009251NAME="AEN5103"
Daniel Veillard35925471999-02-25 08:46:07 +00009252></A
9253><H3
9254><A
9255NAME="XMLNODEADDCONTENTLEN"
9256></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009257>xmlNodeAddContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009258><TABLE
9259BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009260BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009261WIDTH="100%"
9262CELLPADDING="6"
9263><TR
9264><TD
9265><PRE
9266CLASS="PROGRAMLISTING"
9267>void xmlNodeAddContentLen (<A
9268HREF="gnome-xml-tree.html#XMLNODEPTR"
9269>xmlNodePtr</A
9270> cur,
9271 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009272HREF="gnome-xml-tree.html#XMLCHAR"
9273>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009274> *content,
9275 int len);</PRE
9276></TD
9277></TR
9278></TABLE
9279><P
9280>Append the extra substring to the node content.</P
9281><P
9282></P
9283><DIV
9284CLASS="INFORMALTABLE"
9285><P
9286></P
9287><TABLE
9288BORDER="0"
9289WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009290BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009291CELLSPACING="0"
9292CELLPADDING="4"
9293CLASS="CALSTABLE"
9294><TR
9295><TD
9296WIDTH="20%"
9297ALIGN="RIGHT"
9298VALIGN="TOP"
9299><TT
9300CLASS="PARAMETER"
9301><I
9302>cur</I
9303></TT
9304>&nbsp;:</TD
9305><TD
9306WIDTH="80%"
9307ALIGN="LEFT"
9308VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009309> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009310></TR
9311><TR
9312><TD
9313WIDTH="20%"
9314ALIGN="RIGHT"
9315VALIGN="TOP"
9316><TT
9317CLASS="PARAMETER"
9318><I
9319>content</I
9320></TT
9321>&nbsp;:</TD
9322><TD
9323WIDTH="80%"
9324ALIGN="LEFT"
9325VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009326> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009327></TR
9328><TR
9329><TD
9330WIDTH="20%"
9331ALIGN="RIGHT"
9332VALIGN="TOP"
9333><TT
9334CLASS="PARAMETER"
9335><I
9336>len</I
9337></TT
9338>&nbsp;:</TD
9339><TD
9340WIDTH="80%"
9341ALIGN="LEFT"
9342VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009343> the size of <TT
9344CLASS="PARAMETER"
9345><I
9346>content</I
9347></TT
9348></TD
Daniel Veillard35925471999-02-25 08:46:07 +00009349></TR
9350></TABLE
9351><P
9352></P
9353></DIV
9354></DIV
9355><HR><DIV
9356CLASS="REFSECT2"
9357><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009358NAME="AEN5129"
Daniel Veillard35925471999-02-25 08:46:07 +00009359></A
9360><H3
9361><A
9362NAME="XMLNODEGETCONTENT"
9363></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009364>xmlNodeGetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009365><TABLE
9366BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009367BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009368WIDTH="100%"
9369CELLPADDING="6"
9370><TR
9371><TD
9372><PRE
9373CLASS="PROGRAMLISTING"
9374><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009375HREF="gnome-xml-tree.html#XMLCHAR"
9376>xmlChar</A
9377>* xmlNodeGetContent (<A
Daniel Veillard35925471999-02-25 08:46:07 +00009378HREF="gnome-xml-tree.html#XMLNODEPTR"
9379>xmlNodePtr</A
9380> cur);</PRE
9381></TD
9382></TR
9383></TABLE
9384><P
9385>Read the value of a node, this can be either the text carried
9386directly by this node if it's a TEXT node or the aggregate string
9387of the values carried by this node child's (TEXT and ENTITY_REF).
9388Entity references are substitued.</P
9389><P
9390></P
9391><DIV
9392CLASS="INFORMALTABLE"
9393><P
9394></P
9395><TABLE
9396BORDER="0"
9397WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009398BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009399CELLSPACING="0"
9400CELLPADDING="4"
9401CLASS="CALSTABLE"
9402><TR
9403><TD
9404WIDTH="20%"
9405ALIGN="RIGHT"
9406VALIGN="TOP"
9407><TT
9408CLASS="PARAMETER"
9409><I
9410>cur</I
9411></TT
9412>&nbsp;:</TD
9413><TD
9414WIDTH="80%"
9415ALIGN="LEFT"
9416VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009417> the node being read</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009418></TR
9419><TR
9420><TD
9421WIDTH="20%"
9422ALIGN="RIGHT"
9423VALIGN="TOP"
9424><I
9425CLASS="EMPHASIS"
9426>Returns</I
9427> :</TD
9428><TD
9429WIDTH="80%"
9430ALIGN="LEFT"
9431VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009432>a new xmlChar * or NULL if no content is available.
9433It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009434></TR
9435></TABLE
9436><P
9437></P
9438></DIV
9439></DIV
9440><HR><DIV
9441CLASS="REFSECT2"
9442><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009443NAME="AEN5150"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009444></A
9445><H3
9446><A
9447NAME="XMLNODEGETLANG"
9448></A
9449>xmlNodeGetLang ()</H3
9450><TABLE
9451BORDER="0"
9452BGCOLOR="#D6E8FF"
9453WIDTH="100%"
9454CELLPADDING="6"
9455><TR
9456><TD
9457><PRE
9458CLASS="PROGRAMLISTING"
Daniel Veillarda819dac1999-11-24 18:04:22 +00009459><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009460HREF="gnome-xml-tree.html#XMLCHAR"
9461>xmlChar</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00009462>* xmlNodeGetLang (<A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009463HREF="gnome-xml-tree.html#XMLNODEPTR"
9464>xmlNodePtr</A
9465> cur);</PRE
9466></TD
9467></TR
9468></TABLE
9469><P
9470>Searches the language of a node, i.e. the values of the xml:lang
9471attribute or the one carried by the nearest ancestor.</P
9472><P
9473></P
9474><DIV
9475CLASS="INFORMALTABLE"
9476><P
9477></P
9478><TABLE
9479BORDER="0"
9480WIDTH="100%"
9481BGCOLOR="#FFD0D0"
9482CELLSPACING="0"
9483CELLPADDING="4"
9484CLASS="CALSTABLE"
9485><TR
9486><TD
9487WIDTH="20%"
9488ALIGN="RIGHT"
9489VALIGN="TOP"
9490><TT
9491CLASS="PARAMETER"
9492><I
9493>cur</I
9494></TT
9495>&nbsp;:</TD
9496><TD
9497WIDTH="80%"
9498ALIGN="LEFT"
9499VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009500> the node being checked</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009501></TR
9502><TR
9503><TD
9504WIDTH="20%"
9505ALIGN="RIGHT"
9506VALIGN="TOP"
9507><I
9508CLASS="EMPHASIS"
9509>Returns</I
9510> :</TD
9511><TD
9512WIDTH="80%"
9513ALIGN="LEFT"
9514VALIGN="TOP"
Daniel Veillarda819dac1999-11-24 18:04:22 +00009515>a pointer to the lang value, or NULL if not found
9516It's up to the caller to free the memory.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009517></TR
9518></TABLE
9519><P
9520></P
9521></DIV
9522></DIV
9523><HR><DIV
9524CLASS="REFSECT2"
9525><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009526NAME="AEN5171"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009527></A
9528><H3
9529><A
9530NAME="XMLNODESETLANG"
9531></A
9532>xmlNodeSetLang ()</H3
9533><TABLE
9534BORDER="0"
9535BGCOLOR="#D6E8FF"
9536WIDTH="100%"
9537CELLPADDING="6"
9538><TR
9539><TD
9540><PRE
9541CLASS="PROGRAMLISTING"
9542>void xmlNodeSetLang (<A
9543HREF="gnome-xml-tree.html#XMLNODEPTR"
9544>xmlNodePtr</A
9545> cur,
9546 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009547HREF="gnome-xml-tree.html#XMLCHAR"
9548>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009549> *lang);</PRE
9550></TD
9551></TR
9552></TABLE
9553><P
9554>Searches the language of a node, i.e. the values of the xml:lang
9555attribute or the one carried by the nearest ancestor.</P
9556><P
9557></P
9558><DIV
9559CLASS="INFORMALTABLE"
9560><P
9561></P
9562><TABLE
9563BORDER="0"
9564WIDTH="100%"
9565BGCOLOR="#FFD0D0"
9566CELLSPACING="0"
9567CELLPADDING="4"
9568CLASS="CALSTABLE"
9569><TR
9570><TD
9571WIDTH="20%"
9572ALIGN="RIGHT"
9573VALIGN="TOP"
9574><TT
9575CLASS="PARAMETER"
9576><I
9577>cur</I
9578></TT
9579>&nbsp;:</TD
9580><TD
9581WIDTH="80%"
9582ALIGN="LEFT"
9583VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009584> the node being changed</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009585></TR
9586><TR
9587><TD
9588WIDTH="20%"
9589ALIGN="RIGHT"
9590VALIGN="TOP"
9591><TT
9592CLASS="PARAMETER"
9593><I
9594>lang</I
9595></TT
9596>&nbsp;:</TD
9597><TD
9598WIDTH="80%"
9599ALIGN="LEFT"
9600VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009601> the langage description</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009602></TR
9603></TABLE
9604><P
9605></P
9606></DIV
9607></DIV
9608><HR><DIV
9609CLASS="REFSECT2"
9610><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009611NAME="AEN5192"
Daniel Veillard10a2c651999-12-12 13:03:50 +00009612></A
9613><H3
9614><A
9615NAME="XMLNODEGETBASE"
9616></A
9617>xmlNodeGetBase ()</H3
9618><TABLE
9619BORDER="0"
9620BGCOLOR="#D6E8FF"
9621WIDTH="100%"
9622CELLPADDING="6"
9623><TR
9624><TD
9625><PRE
9626CLASS="PROGRAMLISTING"
9627><A
9628HREF="gnome-xml-tree.html#XMLCHAR"
9629>xmlChar</A
9630>* xmlNodeGetBase (<A
9631HREF="gnome-xml-tree.html#XMLDOCPTR"
9632>xmlDocPtr</A
9633> doc,
9634 <A
9635HREF="gnome-xml-tree.html#XMLNODEPTR"
9636>xmlNodePtr</A
9637> cur);</PRE
9638></TD
9639></TR
9640></TABLE
9641><P
9642>Searches for the BASE URL. The code should work on both XML
9643and HTML document even if base mechanisms are completely different.</P
9644><P
9645></P
9646><DIV
9647CLASS="INFORMALTABLE"
9648><P
9649></P
9650><TABLE
9651BORDER="0"
9652WIDTH="100%"
9653BGCOLOR="#FFD0D0"
9654CELLSPACING="0"
9655CELLPADDING="4"
9656CLASS="CALSTABLE"
9657><TR
9658><TD
9659WIDTH="20%"
9660ALIGN="RIGHT"
9661VALIGN="TOP"
9662><TT
9663CLASS="PARAMETER"
9664><I
9665>doc</I
9666></TT
9667>&nbsp;:</TD
9668><TD
9669WIDTH="80%"
9670ALIGN="LEFT"
9671VALIGN="TOP"
9672> the document the node pertains to</TD
9673></TR
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"
9689> the node being checked</TD
9690></TR
9691><TR
9692><TD
9693WIDTH="20%"
9694ALIGN="RIGHT"
9695VALIGN="TOP"
9696><I
9697CLASS="EMPHASIS"
9698>Returns</I
9699> :</TD
9700><TD
9701WIDTH="80%"
9702ALIGN="LEFT"
9703VALIGN="TOP"
9704>a pointer to the base URL, or NULL if not found
9705It's up to the caller to free the memory.</TD
9706></TR
9707></TABLE
9708><P
9709></P
9710></DIV
9711></DIV
9712><HR><DIV
9713CLASS="REFSECT2"
9714><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009715NAME="AEN5218"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00009716></A
9717><H3
9718><A
9719NAME="XMLREMOVEPROP"
9720></A
9721>xmlRemoveProp ()</H3
9722><TABLE
9723BORDER="0"
9724BGCOLOR="#D6E8FF"
9725WIDTH="100%"
9726CELLPADDING="6"
9727><TR
9728><TD
9729><PRE
9730CLASS="PROGRAMLISTING"
9731>int xmlRemoveProp (<A
9732HREF="gnome-xml-tree.html#XMLATTRPTR"
9733>xmlAttrPtr</A
9734> attr);</PRE
9735></TD
9736></TR
9737></TABLE
9738><P
9739></P
9740><DIV
9741CLASS="INFORMALTABLE"
9742><P
9743></P
9744><TABLE
9745BORDER="0"
9746WIDTH="100%"
9747BGCOLOR="#FFD0D0"
9748CELLSPACING="0"
9749CELLPADDING="4"
9750CLASS="CALSTABLE"
9751><TR
9752><TD
9753WIDTH="20%"
9754ALIGN="RIGHT"
9755VALIGN="TOP"
9756><TT
9757CLASS="PARAMETER"
9758><I
9759>attr</I
9760></TT
9761>&nbsp;:</TD
9762><TD
9763WIDTH="80%"
9764ALIGN="LEFT"
9765VALIGN="TOP"
9766>&nbsp;</TD
9767></TR
9768><TR
9769><TD
9770WIDTH="20%"
9771ALIGN="RIGHT"
9772VALIGN="TOP"
9773><I
9774CLASS="EMPHASIS"
9775>Returns</I
9776> :</TD
9777><TD
9778WIDTH="80%"
9779ALIGN="LEFT"
9780VALIGN="TOP"
9781>&nbsp;</TD
9782></TR
9783></TABLE
9784><P
9785></P
9786></DIV
9787></DIV
9788><HR><DIV
9789CLASS="REFSECT2"
9790><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009791NAME="AEN5237"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00009792></A
9793><H3
9794><A
9795NAME="XMLREMOVENODE"
9796></A
9797>xmlRemoveNode ()</H3
9798><TABLE
9799BORDER="0"
9800BGCOLOR="#D6E8FF"
9801WIDTH="100%"
9802CELLPADDING="6"
9803><TR
9804><TD
9805><PRE
9806CLASS="PROGRAMLISTING"
9807>int xmlRemoveNode (<A
9808HREF="gnome-xml-tree.html#XMLNODEPTR"
9809>xmlNodePtr</A
9810> node);</PRE
9811></TD
9812></TR
9813></TABLE
9814><P
9815></P
9816><DIV
9817CLASS="INFORMALTABLE"
9818><P
9819></P
9820><TABLE
9821BORDER="0"
9822WIDTH="100%"
9823BGCOLOR="#FFD0D0"
9824CELLSPACING="0"
9825CELLPADDING="4"
9826CLASS="CALSTABLE"
9827><TR
9828><TD
9829WIDTH="20%"
9830ALIGN="RIGHT"
9831VALIGN="TOP"
9832><TT
9833CLASS="PARAMETER"
9834><I
9835>node</I
9836></TT
9837>&nbsp;:</TD
9838><TD
9839WIDTH="80%"
9840ALIGN="LEFT"
9841VALIGN="TOP"
9842>&nbsp;</TD
9843></TR
9844><TR
9845><TD
9846WIDTH="20%"
9847ALIGN="RIGHT"
9848VALIGN="TOP"
9849><I
9850CLASS="EMPHASIS"
9851>Returns</I
9852> :</TD
9853><TD
9854WIDTH="80%"
9855ALIGN="LEFT"
9856VALIGN="TOP"
9857>&nbsp;</TD
9858></TR
9859></TABLE
9860><P
9861></P
9862></DIV
9863></DIV
9864><HR><DIV
9865CLASS="REFSECT2"
9866><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009867NAME="AEN5256"
Daniel Veillard35925471999-02-25 08:46:07 +00009868></A
9869><H3
9870><A
9871NAME="XMLBUFFERWRITECHAR"
9872></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009873>xmlBufferWriteCHAR ()</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"
Daniel Veillard5099ae81999-04-21 20:12:07 +00009883>void xmlBufferWriteCHAR (<A
9884HREF="gnome-xml-tree.html#XMLBUFFERPTR"
9885>xmlBufferPtr</A
9886> buf,
9887 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009888HREF="gnome-xml-tree.html#XMLCHAR"
9889>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009890> *string);</PRE
9891></TD
9892></TR
9893></TABLE
9894><P
9895>routine which manage and grows an output buffer. This one add
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009896xmlChars at the end of the buffer.</P
Daniel Veillard35925471999-02-25 08:46:07 +00009897><P
9898></P
9899><DIV
9900CLASS="INFORMALTABLE"
9901><P
9902></P
9903><TABLE
9904BORDER="0"
9905WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009906BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009907CELLSPACING="0"
9908CELLPADDING="4"
9909CLASS="CALSTABLE"
9910><TR
9911><TD
9912WIDTH="20%"
9913ALIGN="RIGHT"
9914VALIGN="TOP"
9915><TT
9916CLASS="PARAMETER"
9917><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00009918>buf</I
9919></TT
9920>&nbsp;:</TD
9921><TD
9922WIDTH="80%"
9923ALIGN="LEFT"
9924VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009925> the XML buffer</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00009926></TR
9927><TR
9928><TD
9929WIDTH="20%"
9930ALIGN="RIGHT"
9931VALIGN="TOP"
9932><TT
9933CLASS="PARAMETER"
9934><I
Daniel Veillard35925471999-02-25 08:46:07 +00009935>string</I
9936></TT
9937>&nbsp;:</TD
9938><TD
9939WIDTH="80%"
9940ALIGN="LEFT"
9941VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00009942> the string to add</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009943></TR
9944></TABLE
9945><P
9946></P
9947></DIV
9948></DIV
9949><HR><DIV
9950CLASS="REFSECT2"
9951><A
Daniel Veillardf600e251999-12-18 15:32:46 +00009952NAME="AEN5277"
Daniel Veillard35925471999-02-25 08:46:07 +00009953></A
9954><H3
9955><A
9956NAME="XMLBUFFERWRITECHAR"
9957></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009958>xmlBufferWriteChar ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009959><TABLE
9960BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009961BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009962WIDTH="100%"
9963CELLPADDING="6"
9964><TR
9965><TD
9966><PRE
9967CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00009968>void xmlBufferWriteChar (<A
9969HREF="gnome-xml-tree.html#XMLBUFFERPTR"
9970>xmlBufferPtr</A
9971> buf,
9972 const char *string);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00009973></TD
9974></TR
9975></TABLE
9976><P
9977>routine which manage and grows an output buffer. This one add
9978C chars at the end of the array.</P
9979><P
9980></P
9981><DIV
9982CLASS="INFORMALTABLE"
9983><P
9984></P
9985><TABLE
9986BORDER="0"
9987WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009988BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009989CELLSPACING="0"
9990CELLPADDING="4"
9991CLASS="CALSTABLE"
9992><TR
9993><TD
9994WIDTH="20%"
9995ALIGN="RIGHT"
9996VALIGN="TOP"
9997><TT
9998CLASS="PARAMETER"
9999><I
Daniel Veillard5099ae81999-04-21 20:12:07 +000010000>buf</I
10001></TT
10002>&nbsp;:</TD
10003><TD
10004WIDTH="80%"
10005ALIGN="LEFT"
10006VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010007> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +000010008></TR
10009><TR
10010><TD
10011WIDTH="20%"
10012ALIGN="RIGHT"
10013VALIGN="TOP"
10014><TT
10015CLASS="PARAMETER"
10016><I
Daniel Veillard35925471999-02-25 08:46:07 +000010017>string</I
10018></TT
10019>&nbsp;:</TD
10020><TD
10021WIDTH="80%"
10022ALIGN="LEFT"
10023VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010024> the string to add</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010025></TR
10026></TABLE
10027><P
10028></P
10029></DIV
10030></DIV
10031><HR><DIV
10032CLASS="REFSECT2"
10033><A
Daniel Veillardf600e251999-12-18 15:32:46 +000010034NAME="AEN5297"
Daniel Veillard011b63c1999-06-02 17:44:04 +000010035></A
10036><H3
10037><A
10038NAME="XMLBUFFERWRITEQUOTEDSTRING"
10039></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010040>xmlBufferWriteQuotedString ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +000010041><TABLE
10042BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010043BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +000010044WIDTH="100%"
10045CELLPADDING="6"
10046><TR
10047><TD
10048><PRE
10049CLASS="PROGRAMLISTING"
10050>void xmlBufferWriteQuotedString (<A
10051HREF="gnome-xml-tree.html#XMLBUFFERPTR"
10052>xmlBufferPtr</A
10053> buf,
10054 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010055HREF="gnome-xml-tree.html#XMLCHAR"
10056>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +000010057> *string);</PRE
10058></TD
10059></TR
10060></TABLE
10061><P
10062>routine which manage and grows an output buffer. This one writes
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010063a quoted or double quoted xmlChar string, checking first if it holds
Daniel Veillard011b63c1999-06-02 17:44:04 +000010064quote or double-quotes internally</P
10065><P
10066></P
10067><DIV
10068CLASS="INFORMALTABLE"
10069><P
10070></P
10071><TABLE
10072BORDER="0"
10073WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010074BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +000010075CELLSPACING="0"
10076CELLPADDING="4"
10077CLASS="CALSTABLE"
10078><TR
10079><TD
10080WIDTH="20%"
10081ALIGN="RIGHT"
10082VALIGN="TOP"
10083><TT
10084CLASS="PARAMETER"
10085><I
10086>buf</I
10087></TT
10088>&nbsp;:</TD
10089><TD
10090WIDTH="80%"
10091ALIGN="LEFT"
10092VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010093> the XML buffer output</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +000010094></TR
10095><TR
10096><TD
10097WIDTH="20%"
10098ALIGN="RIGHT"
10099VALIGN="TOP"
10100><TT
10101CLASS="PARAMETER"
10102><I
10103>string</I
10104></TT
10105>&nbsp;:</TD
10106><TD
10107WIDTH="80%"
10108ALIGN="LEFT"
10109VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010110> the string to add</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +000010111></TR
10112></TABLE
10113><P
10114></P
10115></DIV
10116></DIV
10117><HR><DIV
10118CLASS="REFSECT2"
10119><A
Daniel Veillardf600e251999-12-18 15:32:46 +000010120NAME="AEN5318"
Daniel Veillard35925471999-02-25 08:46:07 +000010121></A
10122><H3
10123><A
10124NAME="XMLDOCDUMPMEMORY"
10125></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010126>xmlDocDumpMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010127><TABLE
10128BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010129BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010130WIDTH="100%"
10131CELLPADDING="6"
10132><TR
10133><TD
10134><PRE
10135CLASS="PROGRAMLISTING"
10136>void xmlDocDumpMemory (<A
10137HREF="gnome-xml-tree.html#XMLDOCPTR"
10138>xmlDocPtr</A
10139> cur,
10140 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010141HREF="gnome-xml-tree.html#XMLCHAR"
10142>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010143> **mem,
10144 int *size);</PRE
10145></TD
10146></TR
10147></TABLE
10148><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010149>Dump an XML document in memory and return the xmlChar * and it's size.
Daniel Veillard35925471999-02-25 08:46:07 +000010150It's up to the caller to free the memory.</P
10151><P
10152></P
10153><DIV
10154CLASS="INFORMALTABLE"
10155><P
10156></P
10157><TABLE
10158BORDER="0"
10159WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010160BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010161CELLSPACING="0"
10162CELLPADDING="4"
10163CLASS="CALSTABLE"
10164><TR
10165><TD
10166WIDTH="20%"
10167ALIGN="RIGHT"
10168VALIGN="TOP"
10169><TT
10170CLASS="PARAMETER"
10171><I
10172>cur</I
10173></TT
10174>&nbsp;:</TD
10175><TD
10176WIDTH="80%"
10177ALIGN="LEFT"
10178VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010179> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010180></TR
10181><TR
10182><TD
10183WIDTH="20%"
10184ALIGN="RIGHT"
10185VALIGN="TOP"
10186><TT
10187CLASS="PARAMETER"
10188><I
10189>mem</I
10190></TT
10191>&nbsp;:</TD
10192><TD
10193WIDTH="80%"
10194ALIGN="LEFT"
10195VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010196> OUT: the memory pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010197></TR
10198><TR
10199><TD
10200WIDTH="20%"
10201ALIGN="RIGHT"
10202VALIGN="TOP"
10203><TT
10204CLASS="PARAMETER"
10205><I
10206>size</I
10207></TT
10208>&nbsp;:</TD
10209><TD
10210WIDTH="80%"
10211ALIGN="LEFT"
10212VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010213> OUT: the memory lenght</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010214></TR
10215></TABLE
10216><P
10217></P
10218></DIV
10219></DIV
10220><HR><DIV
10221CLASS="REFSECT2"
10222><A
Daniel Veillardf600e251999-12-18 15:32:46 +000010223NAME="AEN5343"
Daniel Veillard35925471999-02-25 08:46:07 +000010224></A
10225><H3
10226><A
10227NAME="XMLDOCDUMP"
10228></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010229>xmlDocDump ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010230><TABLE
10231BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010232BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010233WIDTH="100%"
10234CELLPADDING="6"
10235><TR
10236><TD
10237><PRE
10238CLASS="PROGRAMLISTING"
10239>void xmlDocDump (<GTKDOCLINK
10240HREF="FILE"
10241>FILE</GTKDOCLINK
10242> *f,
10243 <A
10244HREF="gnome-xml-tree.html#XMLDOCPTR"
10245>xmlDocPtr</A
10246> cur);</PRE
10247></TD
10248></TR
10249></TABLE
10250><P
10251>Dump an XML document to an open FILE.</P
10252><P
10253></P
10254><DIV
10255CLASS="INFORMALTABLE"
10256><P
10257></P
10258><TABLE
10259BORDER="0"
10260WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010261BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010262CELLSPACING="0"
10263CELLPADDING="4"
10264CLASS="CALSTABLE"
10265><TR
10266><TD
10267WIDTH="20%"
10268ALIGN="RIGHT"
10269VALIGN="TOP"
10270><TT
10271CLASS="PARAMETER"
10272><I
10273>f</I
10274></TT
10275>&nbsp;:</TD
10276><TD
10277WIDTH="80%"
10278ALIGN="LEFT"
10279VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010280> the FILE*</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010281></TR
10282><TR
10283><TD
10284WIDTH="20%"
10285ALIGN="RIGHT"
10286VALIGN="TOP"
10287><TT
10288CLASS="PARAMETER"
10289><I
10290>cur</I
10291></TT
10292>&nbsp;:</TD
10293><TD
10294WIDTH="80%"
10295ALIGN="LEFT"
10296VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010297> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010298></TR
10299></TABLE
10300><P
10301></P
10302></DIV
10303></DIV
10304><HR><DIV
10305CLASS="REFSECT2"
10306><A
Daniel Veillardf600e251999-12-18 15:32:46 +000010307NAME="AEN5364"
Daniel Veillard35925471999-02-25 08:46:07 +000010308></A
10309><H3
10310><A
10311NAME="XMLSAVEFILE"
10312></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010313>xmlSaveFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010314><TABLE
10315BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010316BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010317WIDTH="100%"
10318CELLPADDING="6"
10319><TR
10320><TD
10321><PRE
10322CLASS="PROGRAMLISTING"
10323>int xmlSaveFile (const char *filename,
10324 <A
10325HREF="gnome-xml-tree.html#XMLDOCPTR"
10326>xmlDocPtr</A
10327> cur);</PRE
10328></TD
10329></TR
10330></TABLE
10331><P
10332>Dump an XML document to a file. Will use compression if
Daniel Veillard11a48ec1999-11-23 10:40:46 +000010333compiled in and enabled. If <TT
10334CLASS="PARAMETER"
10335><I
10336>filename</I
10337></TT
10338> is "-" the stdout file is
10339used.</P
Daniel Veillard35925471999-02-25 08:46:07 +000010340><P
10341></P
10342><DIV
10343CLASS="INFORMALTABLE"
10344><P
10345></P
10346><TABLE
10347BORDER="0"
10348WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010349BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010350CELLSPACING="0"
10351CELLPADDING="4"
10352CLASS="CALSTABLE"
10353><TR
10354><TD
10355WIDTH="20%"
10356ALIGN="RIGHT"
10357VALIGN="TOP"
10358><TT
10359CLASS="PARAMETER"
10360><I
10361>filename</I
10362></TT
10363>&nbsp;:</TD
10364><TD
10365WIDTH="80%"
10366ALIGN="LEFT"
10367VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010368> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010369></TR
10370><TR
10371><TD
10372WIDTH="20%"
10373ALIGN="RIGHT"
10374VALIGN="TOP"
10375><TT
10376CLASS="PARAMETER"
10377><I
10378>cur</I
10379></TT
10380>&nbsp;:</TD
10381><TD
10382WIDTH="80%"
10383ALIGN="LEFT"
10384VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010385> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010386></TR
10387><TR
10388><TD
10389WIDTH="20%"
10390ALIGN="RIGHT"
10391VALIGN="TOP"
10392><I
10393CLASS="EMPHASIS"
10394>Returns</I
10395> :</TD
10396><TD
10397WIDTH="80%"
10398ALIGN="LEFT"
10399VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010400> the number of file written or -1 in case of failure.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010401></TR
10402></TABLE
10403><P
10404></P
10405></DIV
10406></DIV
10407><HR><DIV
10408CLASS="REFSECT2"
10409><A
Daniel Veillardf600e251999-12-18 15:32:46 +000010410NAME="AEN5389"
Daniel Veillard35925471999-02-25 08:46:07 +000010411></A
10412><H3
10413><A
10414NAME="XMLGETDOCCOMPRESSMODE"
10415></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010416>xmlGetDocCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010417><TABLE
10418BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010419BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010420WIDTH="100%"
10421CELLPADDING="6"
10422><TR
10423><TD
10424><PRE
10425CLASS="PROGRAMLISTING"
10426>int xmlGetDocCompressMode (<A
10427HREF="gnome-xml-tree.html#XMLDOCPTR"
10428>xmlDocPtr</A
10429> doc);</PRE
10430></TD
10431></TR
10432></TABLE
10433><P
10434>get the compression ratio for a document, ZLIB based</P
10435><P
10436></P
10437><DIV
10438CLASS="INFORMALTABLE"
10439><P
10440></P
10441><TABLE
10442BORDER="0"
10443WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010444BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010445CELLSPACING="0"
10446CELLPADDING="4"
10447CLASS="CALSTABLE"
10448><TR
10449><TD
10450WIDTH="20%"
10451ALIGN="RIGHT"
10452VALIGN="TOP"
10453><TT
10454CLASS="PARAMETER"
10455><I
10456>doc</I
10457></TT
10458>&nbsp;:</TD
10459><TD
10460WIDTH="80%"
10461ALIGN="LEFT"
10462VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010463> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010464></TR
10465><TR
10466><TD
10467WIDTH="20%"
10468ALIGN="RIGHT"
10469VALIGN="TOP"
10470><I
10471CLASS="EMPHASIS"
10472>Returns</I
10473> :</TD
10474><TD
10475WIDTH="80%"
10476ALIGN="LEFT"
10477VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010478>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010479></TR
10480></TABLE
10481><P
10482></P
10483></DIV
10484></DIV
10485><HR><DIV
10486CLASS="REFSECT2"
10487><A
Daniel Veillardf600e251999-12-18 15:32:46 +000010488NAME="AEN5409"
Daniel Veillard35925471999-02-25 08:46:07 +000010489></A
10490><H3
10491><A
10492NAME="XMLSETDOCCOMPRESSMODE"
10493></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010494>xmlSetDocCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010495><TABLE
10496BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010497BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010498WIDTH="100%"
10499CELLPADDING="6"
10500><TR
10501><TD
10502><PRE
10503CLASS="PROGRAMLISTING"
10504>void xmlSetDocCompressMode (<A
10505HREF="gnome-xml-tree.html#XMLDOCPTR"
10506>xmlDocPtr</A
10507> doc,
10508 int mode);</PRE
10509></TD
10510></TR
10511></TABLE
10512><P
10513>set the compression ratio for a document, ZLIB based
10514Correct values: 0 (uncompressed) to 9 (max compression)</P
10515><P
10516></P
10517><DIV
10518CLASS="INFORMALTABLE"
10519><P
10520></P
10521><TABLE
10522BORDER="0"
10523WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010524BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010525CELLSPACING="0"
10526CELLPADDING="4"
10527CLASS="CALSTABLE"
10528><TR
10529><TD
10530WIDTH="20%"
10531ALIGN="RIGHT"
10532VALIGN="TOP"
10533><TT
10534CLASS="PARAMETER"
10535><I
10536>doc</I
10537></TT
10538>&nbsp;:</TD
10539><TD
10540WIDTH="80%"
10541ALIGN="LEFT"
10542VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010543> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010544></TR
10545><TR
10546><TD
10547WIDTH="20%"
10548ALIGN="RIGHT"
10549VALIGN="TOP"
10550><TT
10551CLASS="PARAMETER"
10552><I
10553>mode</I
10554></TT
10555>&nbsp;:</TD
10556><TD
10557WIDTH="80%"
10558ALIGN="LEFT"
10559VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010560> the compression ratio</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010561></TR
10562></TABLE
10563><P
10564></P
10565></DIV
10566></DIV
10567><HR><DIV
10568CLASS="REFSECT2"
10569><A
Daniel Veillardf600e251999-12-18 15:32:46 +000010570NAME="AEN5429"
Daniel Veillard35925471999-02-25 08:46:07 +000010571></A
10572><H3
10573><A
10574NAME="XMLGETCOMPRESSMODE"
10575></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010576>xmlGetCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010577><TABLE
10578BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010579BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010580WIDTH="100%"
10581CELLPADDING="6"
10582><TR
10583><TD
10584><PRE
10585CLASS="PROGRAMLISTING"
10586>int xmlGetCompressMode (void);</PRE
10587></TD
10588></TR
10589></TABLE
10590><P
10591>get the default compression mode used, ZLIB based.</P
10592><P
10593></P
10594><DIV
10595CLASS="INFORMALTABLE"
10596><P
10597></P
10598><TABLE
10599BORDER="0"
10600WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010601BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010602CELLSPACING="0"
10603CELLPADDING="4"
10604CLASS="CALSTABLE"
10605><TR
10606><TD
10607WIDTH="20%"
10608ALIGN="RIGHT"
10609VALIGN="TOP"
10610><I
10611CLASS="EMPHASIS"
10612>Returns</I
10613> :</TD
10614><TD
10615WIDTH="80%"
10616ALIGN="LEFT"
10617VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010618>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010619></TR
10620></TABLE
10621><P
10622></P
10623></DIV
10624></DIV
10625><HR><DIV
10626CLASS="REFSECT2"
10627><A
Daniel Veillardf600e251999-12-18 15:32:46 +000010628NAME="AEN5444"
Daniel Veillard35925471999-02-25 08:46:07 +000010629></A
10630><H3
10631><A
10632NAME="XMLSETCOMPRESSMODE"
10633></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010634>xmlSetCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010635><TABLE
10636BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010637BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010638WIDTH="100%"
10639CELLPADDING="6"
10640><TR
10641><TD
10642><PRE
10643CLASS="PROGRAMLISTING"
10644>void xmlSetCompressMode (int mode);</PRE
10645></TD
10646></TR
10647></TABLE
10648><P
10649>set the default compression mode used, ZLIB based
10650Correct values: 0 (uncompressed) to 9 (max compression)</P
10651><P
10652></P
10653><DIV
10654CLASS="INFORMALTABLE"
10655><P
10656></P
10657><TABLE
10658BORDER="0"
10659WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010660BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010661CELLSPACING="0"
10662CELLPADDING="4"
10663CLASS="CALSTABLE"
10664><TR
10665><TD
10666WIDTH="20%"
10667ALIGN="RIGHT"
10668VALIGN="TOP"
10669><TT
10670CLASS="PARAMETER"
10671><I
10672>mode</I
10673></TT
10674>&nbsp;:</TD
10675><TD
10676WIDTH="80%"
10677ALIGN="LEFT"
10678VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +000010679> the compression ratio</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010680></TR
10681></TABLE
10682><P
10683></P
10684></DIV
10685></DIV
10686></DIV
10687><DIV
10688CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000010689><BR
10690CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +000010691WIDTH="100%"
10692BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010693BGCOLOR="#000000"
10694CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000010695CELLSPACING="0"
10696><TR
10697><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010698WIDTH="25%"
10699BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000010700ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000010701><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000010702HREF="gnome-xml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010703><FONT
10704COLOR="#FFFFFF"
10705SIZE="3"
10706><B
10707>&#60;&#60;&#60; Previous Page</B
10708></FONT
10709></A
Daniel Veillard35925471999-02-25 08:46:07 +000010710></TD
10711><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010712WIDTH="25%"
10713BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000010714ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000010715><FONT
10716COLOR="#FFFFFF"
10717SIZE="3"
10718><B
Daniel Veillard35925471999-02-25 08:46:07 +000010719><A
10720HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010721><FONT
10722COLOR="#FFFFFF"
10723SIZE="3"
10724><B
10725>Home</B
10726></FONT
10727></A
10728></B
10729></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000010730></TD
10731><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010732WIDTH="25%"
10733BGCOLOR="#00C000"
10734ALIGN="center"
10735><FONT
10736COLOR="#FFFFFF"
10737SIZE="3"
10738><B
10739><A
Daniel Veillard35008381999-10-25 13:15:52 +000010740HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010741><FONT
10742COLOR="#FFFFFF"
10743SIZE="3"
10744><B
10745>Up</B
10746></FONT
10747></A
10748></B
10749></FONT
10750></TD
10751><TD
10752WIDTH="25%"
10753BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000010754ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +000010755><A
10756HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010757><FONT
10758COLOR="#FFFFFF"
10759SIZE="3"
10760><B
10761>Next Page &#62;&#62;&#62;</B
10762></FONT
10763></A
Daniel Veillard35925471999-02-25 08:46:07 +000010764></TD
10765></TR
10766><TR
10767><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010768COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +000010769ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +000010770><FONT
10771COLOR="#FFFFFF"
10772SIZE="3"
10773><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010774>SAX</B
Daniel Veillard14fff061999-06-22 21:49:07 +000010775></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000010776></TD
10777><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010778COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +000010779ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +000010780><FONT
10781COLOR="#FFFFFF"
10782SIZE="3"
10783><B
10784>entities</B
10785></FONT
10786></TD
Daniel Veillard35925471999-02-25 08:46:07 +000010787></TR
10788></TABLE
10789></DIV
10790></BODY
10791></HTML
10792>