blob: e95648c84b8ba24a5218984cce6fde4e5e06bf13 [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"
12TITLE="Gnome XML Library"
13HREF="libxml.html"><LINK
14REL="PREVIOUS"
15TITLE="parser"
16HREF="gnome-xml-parser.html"><LINK
17REL="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
47HREF="gnome-xml-parser.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
85HREF="libxml.html"
86><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 Veillard6bd26dc1999-09-03 14:28:40 +0000118NAME="AEN1844"
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 Veillard6bd26dc1999-09-03 14:28:40 +0000126NAME="AEN1847"
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
146HREF="gnome-xml-tree.html#CHAR"
147>CHAR</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000148>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000149#define <A
150HREF="gnome-xml-tree.html#BAD-CAST"
151>BAD_CAST</A
152>
Daniel Veillard35925471999-02-25 08:46:07 +0000153typedef <A
154HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
155>xmlNotationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000156>;
Daniel Veillard35925471999-02-25 08:46:07 +0000157enum <A
158HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
159>xmlAttributeType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000160>;
Daniel Veillard35925471999-02-25 08:46:07 +0000161enum <A
162HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
163>xmlAttributeDefault</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000164>;
Daniel Veillard35925471999-02-25 08:46:07 +0000165typedef <A
166HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
167>xmlEnumerationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169typedef <A
170HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
171>xmlAttributePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000172>;
Daniel Veillard35925471999-02-25 08:46:07 +0000173enum <A
174HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
175>xmlElementContentType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177enum <A
178HREF="gnome-xml-tree.html#XMLELEMENTCONTENTOCCUR"
179>xmlElementContentOccur</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000180>;
Daniel Veillard35925471999-02-25 08:46:07 +0000181typedef <A
182HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
183>xmlElementContentPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000184>;
Daniel Veillard35925471999-02-25 08:46:07 +0000185enum <A
186HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
187>xmlElementTypeVal</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000188>;
Daniel Veillard35925471999-02-25 08:46:07 +0000189typedef <A
190HREF="gnome-xml-tree.html#XMLELEMENTPTR"
191>xmlElementPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193enum <A
194HREF="gnome-xml-tree.html#XMLNSTYPE"
195>xmlNsType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000196>;
Daniel Veillard35925471999-02-25 08:46:07 +0000197typedef <A
198HREF="gnome-xml-tree.html#XMLNSPTR"
199>xmlNsPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000200>;
Daniel Veillard35925471999-02-25 08:46:07 +0000201typedef <A
202HREF="gnome-xml-tree.html#XMLDTDPTR"
203>xmlDtdPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000204>;
Daniel Veillard35925471999-02-25 08:46:07 +0000205typedef <A
206HREF="gnome-xml-tree.html#XMLATTRPTR"
207>xmlAttrPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000208>;
Daniel Veillard35925471999-02-25 08:46:07 +0000209typedef <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000210HREF="gnome-xml-tree.html#XMLIDPTR"
211>xmlIDPtr</A
212>;
213typedef <A
Daniel Veillard35925471999-02-25 08:46:07 +0000214HREF="gnome-xml-tree.html#XMLNODE"
215>xmlNode</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000216>;
Daniel Veillard35925471999-02-25 08:46:07 +0000217typedef <A
218HREF="gnome-xml-tree.html#XMLNODEPTR"
219>xmlNodePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000220>;
Daniel Veillard35925471999-02-25 08:46:07 +0000221typedef <A
222HREF="gnome-xml-tree.html#XMLDOC"
223>xmlDoc</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000224>;
Daniel Veillard35925471999-02-25 08:46:07 +0000225typedef <A
226HREF="gnome-xml-tree.html#XMLDOCPTR"
227>xmlDocPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000228>;
Daniel Veillard5099ae81999-04-21 20:12:07 +0000229typedef <A
230HREF="gnome-xml-tree.html#XMLBUFFER"
231>xmlBuffer</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000232>;
Daniel Veillard5099ae81999-04-21 20:12:07 +0000233typedef <A
234HREF="gnome-xml-tree.html#XMLBUFFERPTR"
235>xmlBufferPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000236>;
237extern xmlNsPtr <A
238HREF="gnome-xml-tree.html#BASEDTD"
239>baseDTD</A
240>;
241extern int <A
242HREF="gnome-xml-tree.html#OLDXMLWDCOMPATIBILITY"
243>oldXMLWDcompatibility</A
244>;
245extern int <A
246HREF="gnome-xml-tree.html#XMLINDENTTREEOUTPUT"
247>xmlIndentTreeOutput</A
248>;
Daniel Veillard5099ae81999-04-21 20:12:07 +0000249<A
250HREF="gnome-xml-tree.html#XMLBUFFERPTR"
251>xmlBufferPtr</A
252> <A
253HREF="gnome-xml-tree.html#XMLBUFFERCREATE"
254>xmlBufferCreate</A
255> (void);
256void <A
257HREF="gnome-xml-tree.html#XMLBUFFERFREE"
258>xmlBufferFree</A
259> (<A
260HREF="gnome-xml-tree.html#XMLBUFFERPTR"
261>xmlBufferPtr</A
262> buf);
263int <A
264HREF="gnome-xml-tree.html#XMLBUFFERDUMP"
265>xmlBufferDump</A
266> (<GTKDOCLINK
267HREF="FILE"
268>FILE</GTKDOCLINK
269> *file,
270 <A
271HREF="gnome-xml-tree.html#XMLBUFFERPTR"
272>xmlBufferPtr</A
273> buf);
274void <A
275HREF="gnome-xml-tree.html#XMLBUFFERADD"
276>xmlBufferAdd</A
277> (<A
278HREF="gnome-xml-tree.html#XMLBUFFERPTR"
279>xmlBufferPtr</A
280> buf,
281 const <A
282HREF="gnome-xml-tree.html#CHAR"
283>CHAR</A
284> *str,
285 int len);
286void <A
287HREF="gnome-xml-tree.html#XMLBUFFERCAT"
288>xmlBufferCat</A
289> (<A
290HREF="gnome-xml-tree.html#XMLBUFFERPTR"
291>xmlBufferPtr</A
292> buf,
293 const <A
294HREF="gnome-xml-tree.html#CHAR"
295>CHAR</A
296> *str);
297void <A
298HREF="gnome-xml-tree.html#XMLBUFFERCCAT"
299>xmlBufferCCat</A
300> (<A
301HREF="gnome-xml-tree.html#XMLBUFFERPTR"
302>xmlBufferPtr</A
303> buf,
304 const char *str);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000305int <A
306HREF="gnome-xml-tree.html#XMLBUFFERSHRINK"
307>xmlBufferShrink</A
308> (<A
309HREF="gnome-xml-tree.html#XMLBUFFERPTR"
310>xmlBufferPtr</A
311> buf,
312 int len);
313void <A
314HREF="gnome-xml-tree.html#XMLBUFFEREMPTY"
315>xmlBufferEmpty</A
316> (<A
317HREF="gnome-xml-tree.html#XMLBUFFERPTR"
318>xmlBufferPtr</A
319> buf);
Daniel Veillard35925471999-02-25 08:46:07 +0000320<A
321HREF="gnome-xml-tree.html#XMLDTDPTR"
322>xmlDtdPtr</A
323> <A
324HREF="gnome-xml-tree.html#XMLCREATEINTSUBSET"
325>xmlCreateIntSubset</A
326> (<A
327HREF="gnome-xml-tree.html#XMLDOCPTR"
328>xmlDocPtr</A
329> doc,
330 const <A
331HREF="gnome-xml-tree.html#CHAR"
332>CHAR</A
333> *name,
334 const <A
335HREF="gnome-xml-tree.html#CHAR"
336>CHAR</A
337> *ExternalID,
338 const <A
339HREF="gnome-xml-tree.html#CHAR"
340>CHAR</A
341> *SystemID);
342<A
343HREF="gnome-xml-tree.html#XMLDTDPTR"
344>xmlDtdPtr</A
345> <A
346HREF="gnome-xml-tree.html#XMLNEWDTD"
347>xmlNewDtd</A
348> (<A
349HREF="gnome-xml-tree.html#XMLDOCPTR"
350>xmlDocPtr</A
351> doc,
352 const <A
353HREF="gnome-xml-tree.html#CHAR"
354>CHAR</A
355> *name,
356 const <A
357HREF="gnome-xml-tree.html#CHAR"
358>CHAR</A
359> *ExternalID,
360 const <A
361HREF="gnome-xml-tree.html#CHAR"
362>CHAR</A
363> *SystemID);
364void <A
365HREF="gnome-xml-tree.html#XMLFREEDTD"
366>xmlFreeDtd</A
367> (<A
368HREF="gnome-xml-tree.html#XMLDTDPTR"
369>xmlDtdPtr</A
370> cur);
371<A
372HREF="gnome-xml-tree.html#XMLNSPTR"
373>xmlNsPtr</A
374> <A
375HREF="gnome-xml-tree.html#XMLNEWGLOBALNS"
376>xmlNewGlobalNs</A
377> (<A
378HREF="gnome-xml-tree.html#XMLDOCPTR"
379>xmlDocPtr</A
380> doc,
381 const <A
382HREF="gnome-xml-tree.html#CHAR"
383>CHAR</A
384> *href,
385 const <A
386HREF="gnome-xml-tree.html#CHAR"
387>CHAR</A
388> *prefix);
389<A
390HREF="gnome-xml-tree.html#XMLNSPTR"
391>xmlNsPtr</A
392> <A
393HREF="gnome-xml-tree.html#XMLNEWNS"
394>xmlNewNs</A
395> (<A
396HREF="gnome-xml-tree.html#XMLNODEPTR"
397>xmlNodePtr</A
398> node,
399 const <A
400HREF="gnome-xml-tree.html#CHAR"
401>CHAR</A
402> *href,
403 const <A
404HREF="gnome-xml-tree.html#CHAR"
405>CHAR</A
406> *prefix);
407void <A
408HREF="gnome-xml-tree.html#XMLFREENS"
409>xmlFreeNs</A
410> (<A
411HREF="gnome-xml-tree.html#XMLNSPTR"
412>xmlNsPtr</A
413> cur);
414<A
415HREF="gnome-xml-tree.html#XMLDOCPTR"
416>xmlDocPtr</A
417> <A
418HREF="gnome-xml-tree.html#XMLNEWDOC"
419>xmlNewDoc</A
420> (const <A
421HREF="gnome-xml-tree.html#CHAR"
422>CHAR</A
423> *version);
424void <A
425HREF="gnome-xml-tree.html#XMLFREEDOC"
426>xmlFreeDoc</A
427> (<A
428HREF="gnome-xml-tree.html#XMLDOCPTR"
429>xmlDocPtr</A
430> cur);
431<A
432HREF="gnome-xml-tree.html#XMLATTRPTR"
433>xmlAttrPtr</A
434> <A
435HREF="gnome-xml-tree.html#XMLNEWDOCPROP"
436>xmlNewDocProp</A
437> (<A
438HREF="gnome-xml-tree.html#XMLDOCPTR"
439>xmlDocPtr</A
440> doc,
441 const <A
442HREF="gnome-xml-tree.html#CHAR"
443>CHAR</A
444> *name,
445 const <A
446HREF="gnome-xml-tree.html#CHAR"
447>CHAR</A
448> *value);
449<A
450HREF="gnome-xml-tree.html#XMLATTRPTR"
451>xmlAttrPtr</A
452> <A
453HREF="gnome-xml-tree.html#XMLNEWPROP"
454>xmlNewProp</A
455> (<A
456HREF="gnome-xml-tree.html#XMLNODEPTR"
457>xmlNodePtr</A
458> node,
459 const <A
460HREF="gnome-xml-tree.html#CHAR"
461>CHAR</A
462> *name,
463 const <A
464HREF="gnome-xml-tree.html#CHAR"
465>CHAR</A
466> *value);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000467<A
468HREF="gnome-xml-tree.html#XMLATTRPTR"
469>xmlAttrPtr</A
470> <A
471HREF="gnome-xml-tree.html#XMLNEWNSPROP"
472>xmlNewNsProp</A
473> (<A
474HREF="gnome-xml-tree.html#XMLNODEPTR"
475>xmlNodePtr</A
476> node,
477 <A
478HREF="gnome-xml-tree.html#XMLNSPTR"
479>xmlNsPtr</A
480> ns,
481 const <A
482HREF="gnome-xml-tree.html#CHAR"
483>CHAR</A
484> *name,
485 const <A
486HREF="gnome-xml-tree.html#CHAR"
487>CHAR</A
488> *value);
Daniel Veillard35925471999-02-25 08:46:07 +0000489void <A
490HREF="gnome-xml-tree.html#XMLFREEPROPLIST"
491>xmlFreePropList</A
492> (<A
493HREF="gnome-xml-tree.html#XMLATTRPTR"
494>xmlAttrPtr</A
495> cur);
496void <A
497HREF="gnome-xml-tree.html#XMLFREEPROP"
498>xmlFreeProp</A
499> (<A
500HREF="gnome-xml-tree.html#XMLATTRPTR"
501>xmlAttrPtr</A
502> cur);
503<A
504HREF="gnome-xml-tree.html#XMLATTRPTR"
505>xmlAttrPtr</A
506> <A
507HREF="gnome-xml-tree.html#XMLCOPYPROP"
508>xmlCopyProp</A
509> (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000510HREF="gnome-xml-tree.html#XMLNODEPTR"
511>xmlNodePtr</A
512> target,
513 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000514HREF="gnome-xml-tree.html#XMLATTRPTR"
515>xmlAttrPtr</A
516> cur);
517<A
518HREF="gnome-xml-tree.html#XMLATTRPTR"
519>xmlAttrPtr</A
520> <A
521HREF="gnome-xml-tree.html#XMLCOPYPROPLIST"
522>xmlCopyPropList</A
523> (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000524HREF="gnome-xml-tree.html#XMLNODEPTR"
525>xmlNodePtr</A
526> target,
527 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000528HREF="gnome-xml-tree.html#XMLATTRPTR"
529>xmlAttrPtr</A
530> cur);
531<A
532HREF="gnome-xml-tree.html#XMLDTDPTR"
533>xmlDtdPtr</A
534> <A
535HREF="gnome-xml-tree.html#XMLCOPYDTD"
536>xmlCopyDtd</A
537> (<A
538HREF="gnome-xml-tree.html#XMLDTDPTR"
539>xmlDtdPtr</A
540> dtd);
541<A
542HREF="gnome-xml-tree.html#XMLDOCPTR"
543>xmlDocPtr</A
544> <A
545HREF="gnome-xml-tree.html#XMLCOPYDOC"
546>xmlCopyDoc</A
547> (<A
548HREF="gnome-xml-tree.html#XMLDOCPTR"
549>xmlDocPtr</A
550> doc,
551 int recursive);
552<A
553HREF="gnome-xml-tree.html#XMLNODEPTR"
554>xmlNodePtr</A
555> <A
556HREF="gnome-xml-tree.html#XMLNEWDOCNODE"
557>xmlNewDocNode</A
558> (<A
559HREF="gnome-xml-tree.html#XMLDOCPTR"
560>xmlDocPtr</A
561> doc,
562 <A
563HREF="gnome-xml-tree.html#XMLNSPTR"
564>xmlNsPtr</A
565> ns,
566 const <A
567HREF="gnome-xml-tree.html#CHAR"
568>CHAR</A
569> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000570 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000571HREF="gnome-xml-tree.html#CHAR"
572>CHAR</A
573> *content);
574<A
575HREF="gnome-xml-tree.html#XMLNODEPTR"
576>xmlNodePtr</A
577> <A
578HREF="gnome-xml-tree.html#XMLNEWNODE"
579>xmlNewNode</A
580> (<A
581HREF="gnome-xml-tree.html#XMLNSPTR"
582>xmlNsPtr</A
583> ns,
584 const <A
585HREF="gnome-xml-tree.html#CHAR"
586>CHAR</A
587> *name);
588<A
589HREF="gnome-xml-tree.html#XMLNODEPTR"
590>xmlNodePtr</A
591> <A
592HREF="gnome-xml-tree.html#XMLNEWCHILD"
593>xmlNewChild</A
594> (<A
595HREF="gnome-xml-tree.html#XMLNODEPTR"
596>xmlNodePtr</A
597> parent,
598 <A
599HREF="gnome-xml-tree.html#XMLNSPTR"
600>xmlNsPtr</A
601> ns,
602 const <A
603HREF="gnome-xml-tree.html#CHAR"
604>CHAR</A
605> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000606 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000607HREF="gnome-xml-tree.html#CHAR"
608>CHAR</A
609> *content);
610<A
611HREF="gnome-xml-tree.html#XMLNODEPTR"
612>xmlNodePtr</A
613> <A
614HREF="gnome-xml-tree.html#XMLNEWDOCTEXT"
615>xmlNewDocText</A
616> (<A
617HREF="gnome-xml-tree.html#XMLDOCPTR"
618>xmlDocPtr</A
619> doc,
620 const <A
621HREF="gnome-xml-tree.html#CHAR"
622>CHAR</A
623> *content);
624<A
625HREF="gnome-xml-tree.html#XMLNODEPTR"
626>xmlNodePtr</A
627> <A
628HREF="gnome-xml-tree.html#XMLNEWTEXT"
629>xmlNewText</A
630> (const <A
631HREF="gnome-xml-tree.html#CHAR"
632>CHAR</A
633> *content);
634<A
635HREF="gnome-xml-tree.html#XMLNODEPTR"
636>xmlNodePtr</A
637> <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000638HREF="gnome-xml-tree.html#XMLNEWPI"
639>xmlNewPI</A
640> (const <A
641HREF="gnome-xml-tree.html#CHAR"
642>CHAR</A
643> *name,
644 const <A
645HREF="gnome-xml-tree.html#CHAR"
646>CHAR</A
647> *content);
648<A
649HREF="gnome-xml-tree.html#XMLNODEPTR"
650>xmlNodePtr</A
651> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000652HREF="gnome-xml-tree.html#XMLNEWDOCTEXTLEN"
653>xmlNewDocTextLen</A
654> (<A
655HREF="gnome-xml-tree.html#XMLDOCPTR"
656>xmlDocPtr</A
657> doc,
658 const <A
659HREF="gnome-xml-tree.html#CHAR"
660>CHAR</A
661> *content,
662 int len);
663<A
664HREF="gnome-xml-tree.html#XMLNODEPTR"
665>xmlNodePtr</A
666> <A
667HREF="gnome-xml-tree.html#XMLNEWTEXTLEN"
668>xmlNewTextLen</A
669> (const <A
670HREF="gnome-xml-tree.html#CHAR"
671>CHAR</A
672> *content,
673 int len);
674<A
675HREF="gnome-xml-tree.html#XMLNODEPTR"
676>xmlNodePtr</A
677> <A
678HREF="gnome-xml-tree.html#XMLNEWDOCCOMMENT"
679>xmlNewDocComment</A
680> (<A
681HREF="gnome-xml-tree.html#XMLDOCPTR"
682>xmlDocPtr</A
683> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000684 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000685HREF="gnome-xml-tree.html#CHAR"
686>CHAR</A
687> *content);
688<A
689HREF="gnome-xml-tree.html#XMLNODEPTR"
690>xmlNodePtr</A
691> <A
692HREF="gnome-xml-tree.html#XMLNEWCOMMENT"
693>xmlNewComment</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000694> (const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000695HREF="gnome-xml-tree.html#CHAR"
696>CHAR</A
697> *content);
698<A
699HREF="gnome-xml-tree.html#XMLNODEPTR"
700>xmlNodePtr</A
701> <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000702HREF="gnome-xml-tree.html#XMLNEWCDATABLOCK"
703>xmlNewCDataBlock</A
704> (<A
705HREF="gnome-xml-tree.html#XMLDOCPTR"
706>xmlDocPtr</A
707> doc,
708 const <A
709HREF="gnome-xml-tree.html#CHAR"
710>CHAR</A
711> *content,
712 int len);
713<A
714HREF="gnome-xml-tree.html#XMLNODEPTR"
715>xmlNodePtr</A
716> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000717HREF="gnome-xml-tree.html#XMLNEWREFERENCE"
718>xmlNewReference</A
719> (<A
720HREF="gnome-xml-tree.html#XMLDOCPTR"
721>xmlDocPtr</A
722> doc,
723 const <A
724HREF="gnome-xml-tree.html#CHAR"
725>CHAR</A
726> *name);
727<A
728HREF="gnome-xml-tree.html#XMLNODEPTR"
729>xmlNodePtr</A
730> <A
731HREF="gnome-xml-tree.html#XMLCOPYNODE"
732>xmlCopyNode</A
733> (<A
734HREF="gnome-xml-tree.html#XMLNODEPTR"
735>xmlNodePtr</A
736> node,
737 int recursive);
738<A
739HREF="gnome-xml-tree.html#XMLNODEPTR"
740>xmlNodePtr</A
741> <A
742HREF="gnome-xml-tree.html#XMLCOPYNODELIST"
743>xmlCopyNodeList</A
744> (<A
745HREF="gnome-xml-tree.html#XMLNODEPTR"
746>xmlNodePtr</A
747> node);
748<A
749HREF="gnome-xml-tree.html#XMLNODEPTR"
750>xmlNodePtr</A
751> <A
752HREF="gnome-xml-tree.html#XMLGETLASTCHILD"
753>xmlGetLastChild</A
754> (<A
755HREF="gnome-xml-tree.html#XMLNODEPTR"
756>xmlNodePtr</A
757> parent);
758int <A
759HREF="gnome-xml-tree.html#XMLNODEISTEXT"
760>xmlNodeIsText</A
761> (<A
762HREF="gnome-xml-tree.html#XMLNODEPTR"
763>xmlNodePtr</A
764> node);
765<A
766HREF="gnome-xml-tree.html#XMLNODEPTR"
767>xmlNodePtr</A
768> <A
769HREF="gnome-xml-tree.html#XMLADDCHILD"
770>xmlAddChild</A
771> (<A
772HREF="gnome-xml-tree.html#XMLNODEPTR"
773>xmlNodePtr</A
774> parent,
775 <A
776HREF="gnome-xml-tree.html#XMLNODEPTR"
777>xmlNodePtr</A
778> cur);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000779<A
780HREF="gnome-xml-tree.html#XMLNODEPTR"
781>xmlNodePtr</A
782> <A
783HREF="gnome-xml-tree.html#XMLADDSIBLING"
784>xmlAddSibling</A
785> (<A
786HREF="gnome-xml-tree.html#XMLNODEPTR"
787>xmlNodePtr</A
788> cur,
789 <A
790HREF="gnome-xml-tree.html#XMLNODEPTR"
791>xmlNodePtr</A
792> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000793void <A
794HREF="gnome-xml-tree.html#XMLUNLINKNODE"
795>xmlUnlinkNode</A
796> (<A
797HREF="gnome-xml-tree.html#XMLNODEPTR"
798>xmlNodePtr</A
799> cur);
800<A
801HREF="gnome-xml-tree.html#XMLNODEPTR"
802>xmlNodePtr</A
803> <A
804HREF="gnome-xml-tree.html#XMLTEXTMERGE"
805>xmlTextMerge</A
806> (<A
807HREF="gnome-xml-tree.html#XMLNODEPTR"
808>xmlNodePtr</A
809> first,
810 <A
811HREF="gnome-xml-tree.html#XMLNODEPTR"
812>xmlNodePtr</A
813> second);
814void <A
815HREF="gnome-xml-tree.html#XMLTEXTCONCAT"
816>xmlTextConcat</A
817> (<A
818HREF="gnome-xml-tree.html#XMLNODEPTR"
819>xmlNodePtr</A
820> node,
821 const <A
822HREF="gnome-xml-tree.html#CHAR"
823>CHAR</A
824> *content,
825 int len);
826void <A
827HREF="gnome-xml-tree.html#XMLFREENODELIST"
828>xmlFreeNodeList</A
829> (<A
830HREF="gnome-xml-tree.html#XMLNODEPTR"
831>xmlNodePtr</A
832> cur);
833void <A
834HREF="gnome-xml-tree.html#XMLFREENODE"
835>xmlFreeNode</A
836> (<A
837HREF="gnome-xml-tree.html#XMLNODEPTR"
838>xmlNodePtr</A
839> cur);
840<A
841HREF="gnome-xml-tree.html#XMLNSPTR"
842>xmlNsPtr</A
843> <A
844HREF="gnome-xml-tree.html#XMLSEARCHNS"
845>xmlSearchNs</A
846> (<A
847HREF="gnome-xml-tree.html#XMLDOCPTR"
848>xmlDocPtr</A
849> doc,
850 <A
851HREF="gnome-xml-tree.html#XMLNODEPTR"
852>xmlNodePtr</A
853> node,
854 const <A
855HREF="gnome-xml-tree.html#CHAR"
856>CHAR</A
857> *nameSpace);
858<A
859HREF="gnome-xml-tree.html#XMLNSPTR"
860>xmlNsPtr</A
861> <A
862HREF="gnome-xml-tree.html#XMLSEARCHNSBYHREF"
863>xmlSearchNsByHref</A
864> (<A
865HREF="gnome-xml-tree.html#XMLDOCPTR"
866>xmlDocPtr</A
867> doc,
868 <A
869HREF="gnome-xml-tree.html#XMLNODEPTR"
870>xmlNodePtr</A
871> node,
872 const <A
873HREF="gnome-xml-tree.html#CHAR"
874>CHAR</A
875> *href);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000876<A
877HREF="gnome-xml-tree.html#XMLNSPTR"
878>xmlNsPtr</A
879>* <A
880HREF="gnome-xml-tree.html#XMLGETNSLIST"
881>xmlGetNsList</A
882> (<A
883HREF="gnome-xml-tree.html#XMLDOCPTR"
884>xmlDocPtr</A
885> doc,
886 <A
887HREF="gnome-xml-tree.html#XMLNODEPTR"
888>xmlNodePtr</A
889> node);
Daniel Veillard35925471999-02-25 08:46:07 +0000890void <A
891HREF="gnome-xml-tree.html#XMLSETNS"
892>xmlSetNs</A
893> (<A
894HREF="gnome-xml-tree.html#XMLNODEPTR"
895>xmlNodePtr</A
896> node,
897 <A
898HREF="gnome-xml-tree.html#XMLNSPTR"
899>xmlNsPtr</A
900> ns);
901<A
902HREF="gnome-xml-tree.html#XMLNSPTR"
903>xmlNsPtr</A
904> <A
905HREF="gnome-xml-tree.html#XMLCOPYNAMESPACE"
906>xmlCopyNamespace</A
907> (<A
908HREF="gnome-xml-tree.html#XMLNSPTR"
909>xmlNsPtr</A
910> cur);
911<A
912HREF="gnome-xml-tree.html#XMLNSPTR"
913>xmlNsPtr</A
914> <A
915HREF="gnome-xml-tree.html#XMLCOPYNAMESPACELIST"
916>xmlCopyNamespaceList</A
917> (<A
918HREF="gnome-xml-tree.html#XMLNSPTR"
919>xmlNsPtr</A
920> cur);
921<A
922HREF="gnome-xml-tree.html#XMLATTRPTR"
923>xmlAttrPtr</A
924> <A
925HREF="gnome-xml-tree.html#XMLSETPROP"
926>xmlSetProp</A
927> (<A
928HREF="gnome-xml-tree.html#XMLNODEPTR"
929>xmlNodePtr</A
930> node,
931 const <A
932HREF="gnome-xml-tree.html#CHAR"
933>CHAR</A
934> *name,
935 const <A
936HREF="gnome-xml-tree.html#CHAR"
937>CHAR</A
938> *value);
939<A
940HREF="gnome-xml-tree.html#CHAR"
941>CHAR</A
942>* <A
943HREF="gnome-xml-tree.html#XMLGETPROP"
944>xmlGetProp</A
945> (<A
946HREF="gnome-xml-tree.html#XMLNODEPTR"
947>xmlNodePtr</A
948> node,
949 const <A
950HREF="gnome-xml-tree.html#CHAR"
951>CHAR</A
952> *name);
953<A
954HREF="gnome-xml-tree.html#XMLNODEPTR"
955>xmlNodePtr</A
956> <A
957HREF="gnome-xml-tree.html#XMLSTRINGGETNODELIST"
958>xmlStringGetNodeList</A
959> (<A
960HREF="gnome-xml-tree.html#XMLDOCPTR"
961>xmlDocPtr</A
962> doc,
963 const <A
964HREF="gnome-xml-tree.html#CHAR"
965>CHAR</A
966> *value);
967<A
968HREF="gnome-xml-tree.html#XMLNODEPTR"
969>xmlNodePtr</A
970> <A
971HREF="gnome-xml-tree.html#XMLSTRINGLENGETNODELIST"
972>xmlStringLenGetNodeList</A
973> (<A
974HREF="gnome-xml-tree.html#XMLDOCPTR"
975>xmlDocPtr</A
976> doc,
977 const <A
978HREF="gnome-xml-tree.html#CHAR"
979>CHAR</A
980> *value,
981 int len);
982<A
983HREF="gnome-xml-tree.html#CHAR"
984>CHAR</A
985>* <A
986HREF="gnome-xml-tree.html#XMLNODELISTGETSTRING"
987>xmlNodeListGetString</A
988> (<A
989HREF="gnome-xml-tree.html#XMLDOCPTR"
990>xmlDocPtr</A
991> doc,
992 <A
993HREF="gnome-xml-tree.html#XMLNODEPTR"
994>xmlNodePtr</A
995> list,
996 int inLine);
997void <A
998HREF="gnome-xml-tree.html#XMLNODESETCONTENT"
999>xmlNodeSetContent</A
1000> (<A
1001HREF="gnome-xml-tree.html#XMLNODEPTR"
1002>xmlNodePtr</A
1003> cur,
1004 const <A
1005HREF="gnome-xml-tree.html#CHAR"
1006>CHAR</A
1007> *content);
1008void <A
1009HREF="gnome-xml-tree.html#XMLNODESETCONTENTLEN"
1010>xmlNodeSetContentLen</A
1011> (<A
1012HREF="gnome-xml-tree.html#XMLNODEPTR"
1013>xmlNodePtr</A
1014> cur,
1015 const <A
1016HREF="gnome-xml-tree.html#CHAR"
1017>CHAR</A
1018> *content,
1019 int len);
1020void <A
1021HREF="gnome-xml-tree.html#XMLNODEADDCONTENT"
1022>xmlNodeAddContent</A
1023> (<A
1024HREF="gnome-xml-tree.html#XMLNODEPTR"
1025>xmlNodePtr</A
1026> cur,
1027 const <A
1028HREF="gnome-xml-tree.html#CHAR"
1029>CHAR</A
1030> *content);
1031void <A
1032HREF="gnome-xml-tree.html#XMLNODEADDCONTENTLEN"
1033>xmlNodeAddContentLen</A
1034> (<A
1035HREF="gnome-xml-tree.html#XMLNODEPTR"
1036>xmlNodePtr</A
1037> cur,
1038 const <A
1039HREF="gnome-xml-tree.html#CHAR"
1040>CHAR</A
1041> *content,
1042 int len);
1043<A
1044HREF="gnome-xml-tree.html#CHAR"
1045>CHAR</A
1046>* <A
1047HREF="gnome-xml-tree.html#XMLNODEGETCONTENT"
1048>xmlNodeGetContent</A
1049> (<A
1050HREF="gnome-xml-tree.html#XMLNODEPTR"
1051>xmlNodePtr</A
1052> cur);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001053const <A
1054HREF="gnome-xml-tree.html#CHAR"
1055>CHAR</A
1056>* <A
1057HREF="gnome-xml-tree.html#XMLNODEGETLANG"
1058>xmlNodeGetLang</A
1059> (<A
1060HREF="gnome-xml-tree.html#XMLNODEPTR"
1061>xmlNodePtr</A
1062> cur);
1063void <A
1064HREF="gnome-xml-tree.html#XMLNODESETLANG"
1065>xmlNodeSetLang</A
1066> (<A
1067HREF="gnome-xml-tree.html#XMLNODEPTR"
1068>xmlNodePtr</A
1069> cur,
1070 const <A
1071HREF="gnome-xml-tree.html#CHAR"
1072>CHAR</A
1073> *lang);
Daniel Veillard35925471999-02-25 08:46:07 +00001074void <A
1075HREF="gnome-xml-tree.html#XMLBUFFERWRITECHAR"
1076>xmlBufferWriteCHAR</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001077> (<A
1078HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1079>xmlBufferPtr</A
1080> buf,
1081 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001082HREF="gnome-xml-tree.html#CHAR"
1083>CHAR</A
1084> *string);
1085void <A
1086HREF="gnome-xml-tree.html#XMLBUFFERWRITECHAR"
1087>xmlBufferWriteChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001088> (<A
1089HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1090>xmlBufferPtr</A
1091> buf,
1092 const char *string);
Daniel Veillard35925471999-02-25 08:46:07 +00001093void <A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001094HREF="gnome-xml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"
1095>xmlBufferWriteQuotedString</A
1096> (<A
1097HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1098>xmlBufferPtr</A
1099> buf,
1100 const <A
1101HREF="gnome-xml-tree.html#CHAR"
1102>CHAR</A
1103> *string);
1104void <A
Daniel Veillard35925471999-02-25 08:46:07 +00001105HREF="gnome-xml-tree.html#XMLDOCDUMPMEMORY"
1106>xmlDocDumpMemory</A
1107> (<A
1108HREF="gnome-xml-tree.html#XMLDOCPTR"
1109>xmlDocPtr</A
1110> cur,
1111 <A
1112HREF="gnome-xml-tree.html#CHAR"
1113>CHAR</A
1114> **mem,
1115 int *size);
1116void <A
1117HREF="gnome-xml-tree.html#XMLDOCDUMP"
1118>xmlDocDump</A
1119> (<GTKDOCLINK
1120HREF="FILE"
1121>FILE</GTKDOCLINK
1122> *f,
1123 <A
1124HREF="gnome-xml-tree.html#XMLDOCPTR"
1125>xmlDocPtr</A
1126> cur);
1127int <A
1128HREF="gnome-xml-tree.html#XMLSAVEFILE"
1129>xmlSaveFile</A
1130> (const char *filename,
1131 <A
1132HREF="gnome-xml-tree.html#XMLDOCPTR"
1133>xmlDocPtr</A
1134> cur);
1135int <A
1136HREF="gnome-xml-tree.html#XMLGETDOCCOMPRESSMODE"
1137>xmlGetDocCompressMode</A
1138> (<A
1139HREF="gnome-xml-tree.html#XMLDOCPTR"
1140>xmlDocPtr</A
1141> doc);
1142void <A
1143HREF="gnome-xml-tree.html#XMLSETDOCCOMPRESSMODE"
1144>xmlSetDocCompressMode</A
1145> (<A
1146HREF="gnome-xml-tree.html#XMLDOCPTR"
1147>xmlDocPtr</A
1148> doc,
1149 int mode);
1150int <A
1151HREF="gnome-xml-tree.html#XMLGETCOMPRESSMODE"
1152>xmlGetCompressMode</A
1153> (void);
1154void <A
1155HREF="gnome-xml-tree.html#XMLSETCOMPRESSMODE"
1156>xmlSetCompressMode</A
1157> (int mode);</PRE
1158></TD
1159></TR
1160></TABLE
1161></DIV
1162><DIV
1163CLASS="REFSECT1"
1164><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001165NAME="AEN2129"
Daniel Veillard35925471999-02-25 08:46:07 +00001166></A
1167><H2
1168>Description</H2
1169><P
1170></P
1171></DIV
1172><DIV
1173CLASS="REFSECT1"
1174><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001175NAME="AEN2132"
Daniel Veillard35925471999-02-25 08:46:07 +00001176></A
1177><H2
1178>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001179><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001180CLASS="REFSECT2"
1181><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001182NAME="AEN2134"
Daniel Veillard35925471999-02-25 08:46:07 +00001183></A
1184><H3
1185><A
1186NAME="XMLELEMENTTYPE"
1187></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001188>enum xmlElementType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001189><TABLE
1190BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001191BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001192WIDTH="100%"
1193CELLPADDING="6"
1194><TR
1195><TD
1196><PRE
1197CLASS="PROGRAMLISTING"
1198>typedef enum {
1199 XML_ELEMENT_NODE= 1,
1200 XML_ATTRIBUTE_NODE= 2,
1201 XML_TEXT_NODE= 3,
1202 XML_CDATA_SECTION_NODE= 4,
1203 XML_ENTITY_REF_NODE= 5,
1204 XML_ENTITY_NODE= 6,
1205 XML_PI_NODE= 7,
1206 XML_COMMENT_NODE= 8,
1207 XML_DOCUMENT_NODE= 9,
1208 XML_DOCUMENT_TYPE_NODE= 10,
1209 XML_DOCUMENT_FRAG_NODE= 11,
1210 XML_NOTATION_NODE= 12
1211} xmlElementType;</PRE
1212></TD
1213></TR
1214></TABLE
1215><P
1216></P
1217></DIV
1218><HR><DIV
1219CLASS="REFSECT2"
1220><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001221NAME="AEN2139"
Daniel Veillard35925471999-02-25 08:46:07 +00001222></A
1223><H3
1224><A
1225NAME="CHAR"
1226></A
1227>CHAR</H3
1228><P
1229></P
1230></DIV
1231><HR><DIV
1232CLASS="REFSECT2"
1233><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001234NAME="AEN2143"
Daniel Veillard35925471999-02-25 08:46:07 +00001235></A
1236><H3
1237><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001238NAME="BAD-CAST"
Daniel Veillard35925471999-02-25 08:46:07 +00001239></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001240>BAD_CAST</H3
1241><TABLE
1242BORDER="0"
1243BGCOLOR="#D6E8FF"
1244WIDTH="100%"
1245CELLPADDING="6"
1246><TR
1247><TD
1248><PRE
1249CLASS="PROGRAMLISTING"
1250>#define BAD_CAST (CHAR *)</PRE
1251></TD
1252></TR
1253></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001254><P
1255></P
1256></DIV
1257><HR><DIV
1258CLASS="REFSECT2"
1259><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001260NAME="AEN2148"
1261></A
1262><H3
1263><A
1264NAME="XMLNOTATIONPTR"
1265></A
1266>xmlNotationPtr</H3
1267><TABLE
1268BORDER="0"
1269BGCOLOR="#D6E8FF"
1270WIDTH="100%"
1271CELLPADDING="6"
1272><TR
1273><TD
1274><PRE
1275CLASS="PROGRAMLISTING"
1276>typedef xmlNotation *xmlNotationPtr;</PRE
1277></TD
1278></TR
1279></TABLE
1280><P
1281></P
1282></DIV
1283><HR><DIV
1284CLASS="REFSECT2"
1285><A
1286NAME="AEN2153"
Daniel Veillard35925471999-02-25 08:46:07 +00001287></A
1288><H3
1289><A
1290NAME="XMLATTRIBUTETYPE"
1291></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001292>enum xmlAttributeType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001293><TABLE
1294BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001295BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001296WIDTH="100%"
1297CELLPADDING="6"
1298><TR
1299><TD
1300><PRE
1301CLASS="PROGRAMLISTING"
1302>typedef enum {
1303 XML_ATTRIBUTE_CDATA = 1,
1304 XML_ATTRIBUTE_ID,
1305 XML_ATTRIBUTE_IDREF ,
1306 XML_ATTRIBUTE_IDREFS,
1307 XML_ATTRIBUTE_ENTITY,
1308 XML_ATTRIBUTE_ENTITIES,
1309 XML_ATTRIBUTE_NMTOKEN,
1310 XML_ATTRIBUTE_NMTOKENS,
1311 XML_ATTRIBUTE_ENUMERATION,
1312 XML_ATTRIBUTE_NOTATION
1313} xmlAttributeType;</PRE
1314></TD
1315></TR
1316></TABLE
1317><P
1318></P
1319></DIV
1320><HR><DIV
1321CLASS="REFSECT2"
1322><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001323NAME="AEN2158"
Daniel Veillard35925471999-02-25 08:46:07 +00001324></A
1325><H3
1326><A
1327NAME="XMLATTRIBUTEDEFAULT"
1328></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001329>enum xmlAttributeDefault</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001330><TABLE
1331BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001332BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001333WIDTH="100%"
1334CELLPADDING="6"
1335><TR
1336><TD
1337><PRE
1338CLASS="PROGRAMLISTING"
1339>typedef enum {
1340 XML_ATTRIBUTE_NONE = 1,
1341 XML_ATTRIBUTE_REQUIRED,
1342 XML_ATTRIBUTE_IMPLIED,
1343 XML_ATTRIBUTE_FIXED
1344} xmlAttributeDefault;</PRE
1345></TD
1346></TR
1347></TABLE
1348><P
1349></P
1350></DIV
1351><HR><DIV
1352CLASS="REFSECT2"
1353><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001354NAME="AEN2163"
Daniel Veillard35925471999-02-25 08:46:07 +00001355></A
1356><H3
1357><A
1358NAME="XMLENUMERATIONPTR"
1359></A
1360>xmlEnumerationPtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001361><TABLE
1362BORDER="0"
1363BGCOLOR="#D6E8FF"
1364WIDTH="100%"
1365CELLPADDING="6"
1366><TR
1367><TD
1368><PRE
1369CLASS="PROGRAMLISTING"
1370>typedef xmlEnumeration *xmlEnumerationPtr;</PRE
1371></TD
1372></TR
1373></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001374><P
1375></P
1376></DIV
1377><HR><DIV
1378CLASS="REFSECT2"
1379><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001380NAME="AEN2168"
Daniel Veillard35925471999-02-25 08:46:07 +00001381></A
1382><H3
1383><A
1384NAME="XMLATTRIBUTEPTR"
1385></A
1386>xmlAttributePtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001387><TABLE
1388BORDER="0"
1389BGCOLOR="#D6E8FF"
1390WIDTH="100%"
1391CELLPADDING="6"
1392><TR
1393><TD
1394><PRE
1395CLASS="PROGRAMLISTING"
1396>typedef xmlAttribute *xmlAttributePtr;</PRE
1397></TD
1398></TR
1399></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001400><P
1401></P
1402></DIV
1403><HR><DIV
1404CLASS="REFSECT2"
1405><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001406NAME="AEN2173"
Daniel Veillard35925471999-02-25 08:46:07 +00001407></A
1408><H3
1409><A
1410NAME="XMLELEMENTCONTENTTYPE"
1411></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001412>enum xmlElementContentType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001413><TABLE
1414BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001415BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001416WIDTH="100%"
1417CELLPADDING="6"
1418><TR
1419><TD
1420><PRE
1421CLASS="PROGRAMLISTING"
1422>typedef enum {
1423 XML_ELEMENT_CONTENT_PCDATA = 1,
1424 XML_ELEMENT_CONTENT_ELEMENT,
1425 XML_ELEMENT_CONTENT_SEQ,
1426 XML_ELEMENT_CONTENT_OR
1427} xmlElementContentType;</PRE
1428></TD
1429></TR
1430></TABLE
1431><P
1432></P
1433></DIV
1434><HR><DIV
1435CLASS="REFSECT2"
1436><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001437NAME="AEN2178"
Daniel Veillard35925471999-02-25 08:46:07 +00001438></A
1439><H3
1440><A
1441NAME="XMLELEMENTCONTENTOCCUR"
1442></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001443>enum xmlElementContentOccur</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001444><TABLE
1445BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001446BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001447WIDTH="100%"
1448CELLPADDING="6"
1449><TR
1450><TD
1451><PRE
1452CLASS="PROGRAMLISTING"
1453>typedef enum {
1454 XML_ELEMENT_CONTENT_ONCE = 1,
1455 XML_ELEMENT_CONTENT_OPT,
1456 XML_ELEMENT_CONTENT_MULT,
1457 XML_ELEMENT_CONTENT_PLUS
1458} xmlElementContentOccur;</PRE
1459></TD
1460></TR
1461></TABLE
1462><P
1463></P
1464></DIV
1465><HR><DIV
1466CLASS="REFSECT2"
1467><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001468NAME="AEN2183"
Daniel Veillard35925471999-02-25 08:46:07 +00001469></A
1470><H3
1471><A
1472NAME="XMLELEMENTCONTENTPTR"
1473></A
1474>xmlElementContentPtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001475><TABLE
1476BORDER="0"
1477BGCOLOR="#D6E8FF"
1478WIDTH="100%"
1479CELLPADDING="6"
1480><TR
1481><TD
1482><PRE
1483CLASS="PROGRAMLISTING"
1484>typedef xmlElementContent *xmlElementContentPtr;</PRE
1485></TD
1486></TR
1487></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001488><P
1489></P
1490></DIV
1491><HR><DIV
1492CLASS="REFSECT2"
1493><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001494NAME="AEN2188"
Daniel Veillard35925471999-02-25 08:46:07 +00001495></A
1496><H3
1497><A
1498NAME="XMLELEMENTTYPEVAL"
1499></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001500>enum xmlElementTypeVal</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001501><TABLE
1502BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001503BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001504WIDTH="100%"
1505CELLPADDING="6"
1506><TR
1507><TD
1508><PRE
1509CLASS="PROGRAMLISTING"
1510>typedef enum {
1511 XML_ELEMENT_TYPE_EMPTY = 1,
1512 XML_ELEMENT_TYPE_ANY,
1513 XML_ELEMENT_TYPE_MIXED,
1514 XML_ELEMENT_TYPE_ELEMENT
1515} xmlElementTypeVal;</PRE
1516></TD
1517></TR
1518></TABLE
1519><P
1520></P
1521></DIV
1522><HR><DIV
1523CLASS="REFSECT2"
1524><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001525NAME="AEN2193"
Daniel Veillard35925471999-02-25 08:46:07 +00001526></A
1527><H3
1528><A
1529NAME="XMLELEMENTPTR"
1530></A
1531>xmlElementPtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001532><TABLE
1533BORDER="0"
1534BGCOLOR="#D6E8FF"
1535WIDTH="100%"
1536CELLPADDING="6"
1537><TR
1538><TD
1539><PRE
1540CLASS="PROGRAMLISTING"
1541>typedef xmlElement *xmlElementPtr;</PRE
1542></TD
1543></TR
1544></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001545><P
1546></P
1547></DIV
1548><HR><DIV
1549CLASS="REFSECT2"
1550><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001551NAME="AEN2198"
Daniel Veillard35925471999-02-25 08:46:07 +00001552></A
1553><H3
1554><A
1555NAME="XMLNSTYPE"
1556></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001557>enum xmlNsType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001558><TABLE
1559BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001560BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001561WIDTH="100%"
1562CELLPADDING="6"
1563><TR
1564><TD
1565><PRE
1566CLASS="PROGRAMLISTING"
1567>typedef enum {
1568 XML_GLOBAL_NAMESPACE = 1, /* old style global namespace */
1569 XML_LOCAL_NAMESPACE /* new style local scoping */
1570} xmlNsType;</PRE
1571></TD
1572></TR
1573></TABLE
1574><P
1575></P
1576></DIV
1577><HR><DIV
1578CLASS="REFSECT2"
1579><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001580NAME="AEN2203"
Daniel Veillard35925471999-02-25 08:46:07 +00001581></A
1582><H3
1583><A
1584NAME="XMLNSPTR"
1585></A
1586>xmlNsPtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001587><TABLE
1588BORDER="0"
1589BGCOLOR="#D6E8FF"
1590WIDTH="100%"
1591CELLPADDING="6"
1592><TR
1593><TD
1594><PRE
1595CLASS="PROGRAMLISTING"
1596>typedef xmlNs *xmlNsPtr;</PRE
1597></TD
1598></TR
1599></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001600><P
1601></P
1602></DIV
1603><HR><DIV
1604CLASS="REFSECT2"
1605><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001606NAME="AEN2208"
Daniel Veillard35925471999-02-25 08:46:07 +00001607></A
1608><H3
1609><A
1610NAME="XMLDTDPTR"
1611></A
1612>xmlDtdPtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001613><TABLE
1614BORDER="0"
1615BGCOLOR="#D6E8FF"
1616WIDTH="100%"
1617CELLPADDING="6"
1618><TR
1619><TD
1620><PRE
1621CLASS="PROGRAMLISTING"
1622>typedef xmlDtd *xmlDtdPtr;</PRE
1623></TD
1624></TR
1625></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001626><P
1627></P
1628></DIV
1629><HR><DIV
1630CLASS="REFSECT2"
1631><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001632NAME="AEN2213"
Daniel Veillard35925471999-02-25 08:46:07 +00001633></A
1634><H3
1635><A
1636NAME="XMLATTRPTR"
1637></A
1638>xmlAttrPtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001639><TABLE
1640BORDER="0"
1641BGCOLOR="#D6E8FF"
1642WIDTH="100%"
1643CELLPADDING="6"
1644><TR
1645><TD
1646><PRE
1647CLASS="PROGRAMLISTING"
1648>typedef xmlAttr *xmlAttrPtr;</PRE
1649></TD
1650></TR
1651></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001652><P
1653></P
1654></DIV
1655><HR><DIV
1656CLASS="REFSECT2"
1657><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001658NAME="AEN2218"
1659></A
1660><H3
1661><A
1662NAME="XMLIDPTR"
1663></A
1664>xmlIDPtr</H3
1665><TABLE
1666BORDER="0"
1667BGCOLOR="#D6E8FF"
1668WIDTH="100%"
1669CELLPADDING="6"
1670><TR
1671><TD
1672><PRE
1673CLASS="PROGRAMLISTING"
1674>typedef xmlID *xmlIDPtr;</PRE
1675></TD
1676></TR
1677></TABLE
1678><P
1679></P
1680></DIV
1681><HR><DIV
1682CLASS="REFSECT2"
1683><A
1684NAME="AEN2223"
Daniel Veillard35925471999-02-25 08:46:07 +00001685></A
1686><H3
1687><A
1688NAME="XMLNODE"
1689></A
1690>xmlNode</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001691><TABLE
1692BORDER="0"
1693BGCOLOR="#D6E8FF"
1694WIDTH="100%"
1695CELLPADDING="6"
1696><TR
1697><TD
1698><PRE
1699CLASS="PROGRAMLISTING"
1700>typedef _xmlNode xmlNode;</PRE
1701></TD
1702></TR
1703></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001704><P
1705></P
1706></DIV
1707><HR><DIV
1708CLASS="REFSECT2"
1709><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001710NAME="AEN2228"
Daniel Veillard35925471999-02-25 08:46:07 +00001711></A
1712><H3
1713><A
1714NAME="XMLNODEPTR"
1715></A
1716>xmlNodePtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001717><TABLE
1718BORDER="0"
1719BGCOLOR="#D6E8FF"
1720WIDTH="100%"
1721CELLPADDING="6"
1722><TR
1723><TD
1724><PRE
1725CLASS="PROGRAMLISTING"
1726>typedef _xmlNode *xmlNodePtr;</PRE
1727></TD
1728></TR
1729></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001730><P
1731></P
1732></DIV
1733><HR><DIV
1734CLASS="REFSECT2"
1735><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001736NAME="AEN2233"
Daniel Veillard35925471999-02-25 08:46:07 +00001737></A
1738><H3
1739><A
1740NAME="XMLDOC"
1741></A
1742>xmlDoc</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001743><TABLE
1744BORDER="0"
1745BGCOLOR="#D6E8FF"
1746WIDTH="100%"
1747CELLPADDING="6"
1748><TR
1749><TD
1750><PRE
1751CLASS="PROGRAMLISTING"
1752>typedef _xmlDoc xmlDoc;</PRE
1753></TD
1754></TR
1755></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001756><P
1757></P
1758></DIV
1759><HR><DIV
1760CLASS="REFSECT2"
1761><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001762NAME="AEN2238"
Daniel Veillard35925471999-02-25 08:46:07 +00001763></A
1764><H3
1765><A
1766NAME="XMLDOCPTR"
1767></A
1768>xmlDocPtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001769><TABLE
1770BORDER="0"
1771BGCOLOR="#D6E8FF"
1772WIDTH="100%"
1773CELLPADDING="6"
1774><TR
1775><TD
1776><PRE
1777CLASS="PROGRAMLISTING"
1778>typedef xmlDoc *xmlDocPtr;</PRE
1779></TD
1780></TR
1781></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001782><P
1783></P
1784></DIV
1785><HR><DIV
1786CLASS="REFSECT2"
1787><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001788NAME="AEN2243"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001789></A
1790><H3
1791><A
1792NAME="XMLBUFFER"
1793></A
1794>xmlBuffer</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001795><TABLE
1796BORDER="0"
1797BGCOLOR="#D6E8FF"
1798WIDTH="100%"
1799CELLPADDING="6"
1800><TR
1801><TD
1802><PRE
1803CLASS="PROGRAMLISTING"
1804>typedef _xmlBuffer xmlBuffer;</PRE
1805></TD
1806></TR
1807></TABLE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001808><P
1809></P
1810></DIV
1811><HR><DIV
1812CLASS="REFSECT2"
1813><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001814NAME="AEN2248"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001815></A
1816><H3
1817><A
1818NAME="XMLBUFFERPTR"
1819></A
1820>xmlBufferPtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001821><TABLE
1822BORDER="0"
1823BGCOLOR="#D6E8FF"
1824WIDTH="100%"
1825CELLPADDING="6"
1826><TR
1827><TD
1828><PRE
1829CLASS="PROGRAMLISTING"
1830>typedef xmlBuffer *xmlBufferPtr;</PRE
1831></TD
1832></TR
1833></TABLE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001834><P
1835></P
1836></DIV
1837><HR><DIV
1838CLASS="REFSECT2"
1839><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001840NAME="AEN2253"
Daniel Veillard14fff061999-06-22 21:49:07 +00001841></A
1842><H3
1843><A
1844NAME="BASEDTD"
1845></A
1846>baseDTD</H3
1847><TABLE
1848BORDER="0"
1849BGCOLOR="#D6E8FF"
1850WIDTH="100%"
1851CELLPADDING="6"
1852><TR
1853><TD
1854><PRE
1855CLASS="PROGRAMLISTING"
1856>extern xmlNsPtr baseDTD;</PRE
1857></TD
1858></TR
1859></TABLE
1860><P
1861></P
1862></DIV
1863><HR><DIV
1864CLASS="REFSECT2"
1865><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001866NAME="AEN2258"
Daniel Veillard14fff061999-06-22 21:49:07 +00001867></A
1868><H3
1869><A
1870NAME="OLDXMLWDCOMPATIBILITY"
1871></A
1872>oldXMLWDcompatibility</H3
1873><TABLE
1874BORDER="0"
1875BGCOLOR="#D6E8FF"
1876WIDTH="100%"
1877CELLPADDING="6"
1878><TR
1879><TD
1880><PRE
1881CLASS="PROGRAMLISTING"
1882>extern int oldXMLWDcompatibility;/* maintain compatibility with old WD */</PRE
1883></TD
1884></TR
1885></TABLE
1886><P
1887></P
1888></DIV
1889><HR><DIV
1890CLASS="REFSECT2"
1891><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001892NAME="AEN2263"
Daniel Veillard14fff061999-06-22 21:49:07 +00001893></A
1894><H3
1895><A
1896NAME="XMLINDENTTREEOUTPUT"
1897></A
1898>xmlIndentTreeOutput</H3
1899><TABLE
1900BORDER="0"
1901BGCOLOR="#D6E8FF"
1902WIDTH="100%"
1903CELLPADDING="6"
1904><TR
1905><TD
1906><PRE
1907CLASS="PROGRAMLISTING"
1908>extern int xmlIndentTreeOutput; /* try to indent the tree dumps */</PRE
1909></TD
1910></TR
1911></TABLE
1912><P
1913></P
1914></DIV
1915><HR><DIV
1916CLASS="REFSECT2"
1917><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001918NAME="AEN2268"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001919></A
1920><H3
1921><A
1922NAME="XMLBUFFERCREATE"
1923></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001924>xmlBufferCreate ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001925><TABLE
1926BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001927BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001928WIDTH="100%"
1929CELLPADDING="6"
1930><TR
1931><TD
1932><PRE
1933CLASS="PROGRAMLISTING"
1934><A
1935HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1936>xmlBufferPtr</A
1937> xmlBufferCreate (void);</PRE
1938></TD
1939></TR
1940></TABLE
1941><P
1942>routine to create an XML buffer.</P
1943><P
1944></P
1945><DIV
1946CLASS="INFORMALTABLE"
1947><P
1948></P
1949><TABLE
1950BORDER="0"
1951WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001952BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001953CELLSPACING="0"
1954CELLPADDING="4"
1955CLASS="CALSTABLE"
1956><TR
1957><TD
1958WIDTH="20%"
1959ALIGN="RIGHT"
1960VALIGN="TOP"
1961><I
1962CLASS="EMPHASIS"
1963>Returns</I
1964> :</TD
1965><TD
1966WIDTH="80%"
1967ALIGN="LEFT"
1968VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001969>the new structure.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001970></TR
1971></TABLE
1972><P
1973></P
1974></DIV
1975></DIV
1976><HR><DIV
1977CLASS="REFSECT2"
1978><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001979NAME="AEN2284"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001980></A
1981><H3
1982><A
1983NAME="XMLBUFFERFREE"
1984></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001985>xmlBufferFree ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001986><TABLE
1987BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001988BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001989WIDTH="100%"
1990CELLPADDING="6"
1991><TR
1992><TD
1993><PRE
1994CLASS="PROGRAMLISTING"
1995>void xmlBufferFree (<A
1996HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1997>xmlBufferPtr</A
1998> buf);</PRE
1999></TD
2000></TR
2001></TABLE
2002><P
2003>Frees an XML buffer.</P
2004><P
2005></P
2006><DIV
2007CLASS="INFORMALTABLE"
2008><P
2009></P
2010><TABLE
2011BORDER="0"
2012WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002013BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002014CELLSPACING="0"
2015CELLPADDING="4"
2016CLASS="CALSTABLE"
2017><TR
2018><TD
2019WIDTH="20%"
2020ALIGN="RIGHT"
2021VALIGN="TOP"
2022><TT
2023CLASS="PARAMETER"
2024><I
2025>buf</I
2026></TT
2027>&nbsp;:</TD
2028><TD
2029WIDTH="80%"
2030ALIGN="LEFT"
2031VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002032> the buffer to free</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002033></TR
2034></TABLE
2035><P
2036></P
2037></DIV
2038></DIV
2039><HR><DIV
2040CLASS="REFSECT2"
2041><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002042NAME="AEN2300"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002043></A
2044><H3
2045><A
2046NAME="XMLBUFFERDUMP"
2047></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002048>xmlBufferDump ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002049><TABLE
2050BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002051BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002052WIDTH="100%"
2053CELLPADDING="6"
2054><TR
2055><TD
2056><PRE
2057CLASS="PROGRAMLISTING"
2058>int xmlBufferDump (<GTKDOCLINK
2059HREF="FILE"
2060>FILE</GTKDOCLINK
2061> *file,
2062 <A
2063HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2064>xmlBufferPtr</A
2065> buf);</PRE
2066></TD
2067></TR
2068></TABLE
2069><P
2070>Dumps an XML buffer to a FILE *.</P
2071><P
2072></P
2073><DIV
2074CLASS="INFORMALTABLE"
2075><P
2076></P
2077><TABLE
2078BORDER="0"
2079WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002080BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002081CELLSPACING="0"
2082CELLPADDING="4"
2083CLASS="CALSTABLE"
2084><TR
2085><TD
2086WIDTH="20%"
2087ALIGN="RIGHT"
2088VALIGN="TOP"
2089><TT
2090CLASS="PARAMETER"
2091><I
2092>file</I
2093></TT
2094>&nbsp;:</TD
2095><TD
2096WIDTH="80%"
2097ALIGN="LEFT"
2098VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002099> the file output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002100></TR
2101><TR
2102><TD
2103WIDTH="20%"
2104ALIGN="RIGHT"
2105VALIGN="TOP"
2106><TT
2107CLASS="PARAMETER"
2108><I
2109>buf</I
2110></TT
2111>&nbsp;:</TD
2112><TD
2113WIDTH="80%"
2114ALIGN="LEFT"
2115VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002116> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002117></TR
2118><TR
2119><TD
2120WIDTH="20%"
2121ALIGN="RIGHT"
2122VALIGN="TOP"
2123><I
2124CLASS="EMPHASIS"
2125>Returns</I
2126> :</TD
2127><TD
2128WIDTH="80%"
2129ALIGN="LEFT"
2130VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002131>the number of CHAR written</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002132></TR
2133></TABLE
2134><P
2135></P
2136></DIV
2137></DIV
2138><HR><DIV
2139CLASS="REFSECT2"
2140><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002141NAME="AEN2325"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002142></A
2143><H3
2144><A
2145NAME="XMLBUFFERADD"
2146></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002147>xmlBufferAdd ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002148><TABLE
2149BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002150BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002151WIDTH="100%"
2152CELLPADDING="6"
2153><TR
2154><TD
2155><PRE
2156CLASS="PROGRAMLISTING"
2157>void xmlBufferAdd (<A
2158HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2159>xmlBufferPtr</A
2160> buf,
2161 const <A
2162HREF="gnome-xml-tree.html#CHAR"
2163>CHAR</A
2164> *str,
2165 int len);</PRE
2166></TD
2167></TR
2168></TABLE
2169><P
2170>Add a string range to an XML buffer.</P
2171><P
2172></P
2173><DIV
2174CLASS="INFORMALTABLE"
2175><P
2176></P
2177><TABLE
2178BORDER="0"
2179WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002180BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002181CELLSPACING="0"
2182CELLPADDING="4"
2183CLASS="CALSTABLE"
2184><TR
2185><TD
2186WIDTH="20%"
2187ALIGN="RIGHT"
2188VALIGN="TOP"
2189><TT
2190CLASS="PARAMETER"
2191><I
2192>buf</I
2193></TT
2194>&nbsp;:</TD
2195><TD
2196WIDTH="80%"
2197ALIGN="LEFT"
2198VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002199> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002200></TR
2201><TR
2202><TD
2203WIDTH="20%"
2204ALIGN="RIGHT"
2205VALIGN="TOP"
2206><TT
2207CLASS="PARAMETER"
2208><I
2209>str</I
2210></TT
2211>&nbsp;:</TD
2212><TD
2213WIDTH="80%"
2214ALIGN="LEFT"
2215VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002216> the CHAR string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002217></TR
2218><TR
2219><TD
2220WIDTH="20%"
2221ALIGN="RIGHT"
2222VALIGN="TOP"
2223><TT
2224CLASS="PARAMETER"
2225><I
2226>len</I
2227></TT
2228>&nbsp;:</TD
2229><TD
2230WIDTH="80%"
2231ALIGN="LEFT"
2232VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002233> the number of CHAR to add</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002234></TR
2235></TABLE
2236><P
2237></P
2238></DIV
2239></DIV
2240><HR><DIV
2241CLASS="REFSECT2"
2242><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002243NAME="AEN2350"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002244></A
2245><H3
2246><A
2247NAME="XMLBUFFERCAT"
2248></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002249>xmlBufferCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002250><TABLE
2251BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002252BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002253WIDTH="100%"
2254CELLPADDING="6"
2255><TR
2256><TD
2257><PRE
2258CLASS="PROGRAMLISTING"
2259>void xmlBufferCat (<A
2260HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2261>xmlBufferPtr</A
2262> buf,
2263 const <A
2264HREF="gnome-xml-tree.html#CHAR"
2265>CHAR</A
2266> *str);</PRE
2267></TD
2268></TR
2269></TABLE
2270><P
2271>Append a zero terminated string to an XML buffer.</P
2272><P
2273></P
2274><DIV
2275CLASS="INFORMALTABLE"
2276><P
2277></P
2278><TABLE
2279BORDER="0"
2280WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002281BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002282CELLSPACING="0"
2283CELLPADDING="4"
2284CLASS="CALSTABLE"
2285><TR
2286><TD
2287WIDTH="20%"
2288ALIGN="RIGHT"
2289VALIGN="TOP"
2290><TT
2291CLASS="PARAMETER"
2292><I
2293>buf</I
2294></TT
2295>&nbsp;:</TD
2296><TD
2297WIDTH="80%"
2298ALIGN="LEFT"
2299VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002300> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002301></TR
2302><TR
2303><TD
2304WIDTH="20%"
2305ALIGN="RIGHT"
2306VALIGN="TOP"
2307><TT
2308CLASS="PARAMETER"
2309><I
2310>str</I
2311></TT
2312>&nbsp;:</TD
2313><TD
2314WIDTH="80%"
2315ALIGN="LEFT"
2316VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002317> the CHAR string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002318></TR
2319></TABLE
2320><P
2321></P
2322></DIV
2323></DIV
2324><HR><DIV
2325CLASS="REFSECT2"
2326><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002327NAME="AEN2371"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002328></A
2329><H3
2330><A
2331NAME="XMLBUFFERCCAT"
2332></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002333>xmlBufferCCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002334><TABLE
2335BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002336BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002337WIDTH="100%"
2338CELLPADDING="6"
2339><TR
2340><TD
2341><PRE
2342CLASS="PROGRAMLISTING"
2343>void xmlBufferCCat (<A
2344HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2345>xmlBufferPtr</A
2346> buf,
2347 const char *str);</PRE
2348></TD
2349></TR
2350></TABLE
2351><P
2352>Append a zero terminated C string to an XML buffer.</P
2353><P
2354></P
2355><DIV
2356CLASS="INFORMALTABLE"
2357><P
2358></P
2359><TABLE
2360BORDER="0"
2361WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002362BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002363CELLSPACING="0"
2364CELLPADDING="4"
2365CLASS="CALSTABLE"
2366><TR
2367><TD
2368WIDTH="20%"
2369ALIGN="RIGHT"
2370VALIGN="TOP"
2371><TT
2372CLASS="PARAMETER"
2373><I
2374>buf</I
2375></TT
2376>&nbsp;:</TD
2377><TD
2378WIDTH="80%"
2379ALIGN="LEFT"
2380VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002381> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002382></TR
2383><TR
2384><TD
2385WIDTH="20%"
2386ALIGN="RIGHT"
2387VALIGN="TOP"
2388><TT
2389CLASS="PARAMETER"
2390><I
2391>str</I
2392></TT
2393>&nbsp;:</TD
2394><TD
2395WIDTH="80%"
2396ALIGN="LEFT"
2397VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002398> the C char string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002399></TR
2400></TABLE
2401><P
2402></P
2403></DIV
2404></DIV
2405><HR><DIV
2406CLASS="REFSECT2"
2407><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002408NAME="AEN2391"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002409></A
2410><H3
2411><A
2412NAME="XMLBUFFERSHRINK"
2413></A
2414>xmlBufferShrink ()</H3
2415><TABLE
2416BORDER="0"
2417BGCOLOR="#D6E8FF"
2418WIDTH="100%"
2419CELLPADDING="6"
2420><TR
2421><TD
2422><PRE
2423CLASS="PROGRAMLISTING"
2424>int xmlBufferShrink (<A
2425HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2426>xmlBufferPtr</A
2427> buf,
2428 int len);</PRE
2429></TD
2430></TR
2431></TABLE
2432><P
2433>Remove the beginning of an XML buffer.</P
2434><P
2435></P
2436><DIV
2437CLASS="INFORMALTABLE"
2438><P
2439></P
2440><TABLE
2441BORDER="0"
2442WIDTH="100%"
2443BGCOLOR="#FFD0D0"
2444CELLSPACING="0"
2445CELLPADDING="4"
2446CLASS="CALSTABLE"
2447><TR
2448><TD
2449WIDTH="20%"
2450ALIGN="RIGHT"
2451VALIGN="TOP"
2452><TT
2453CLASS="PARAMETER"
2454><I
2455>buf</I
2456></TT
2457>&nbsp;:</TD
2458><TD
2459WIDTH="80%"
2460ALIGN="LEFT"
2461VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002462> the buffer to dump</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002463></TR
2464><TR
2465><TD
2466WIDTH="20%"
2467ALIGN="RIGHT"
2468VALIGN="TOP"
2469><TT
2470CLASS="PARAMETER"
2471><I
2472>len</I
2473></TT
2474>&nbsp;:</TD
2475><TD
2476WIDTH="80%"
2477ALIGN="LEFT"
2478VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002479> the number of CHAR to remove</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002480></TR
2481><TR
2482><TD
2483WIDTH="20%"
2484ALIGN="RIGHT"
2485VALIGN="TOP"
2486><I
2487CLASS="EMPHASIS"
2488>Returns</I
2489> :</TD
2490><TD
2491WIDTH="80%"
2492ALIGN="LEFT"
2493VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002494>the number of CHAR removed, or -1 in case of failure.</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002495></TR
2496></TABLE
2497><P
2498></P
2499></DIV
2500></DIV
2501><HR><DIV
2502CLASS="REFSECT2"
2503><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002504NAME="AEN2415"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002505></A
2506><H3
2507><A
2508NAME="XMLBUFFEREMPTY"
2509></A
2510>xmlBufferEmpty ()</H3
2511><TABLE
2512BORDER="0"
2513BGCOLOR="#D6E8FF"
2514WIDTH="100%"
2515CELLPADDING="6"
2516><TR
2517><TD
2518><PRE
2519CLASS="PROGRAMLISTING"
2520>void xmlBufferEmpty (<A
2521HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2522>xmlBufferPtr</A
2523> buf);</PRE
2524></TD
2525></TR
2526></TABLE
2527><P
2528>empty a buffer.</P
2529><P
2530></P
2531><DIV
2532CLASS="INFORMALTABLE"
2533><P
2534></P
2535><TABLE
2536BORDER="0"
2537WIDTH="100%"
2538BGCOLOR="#FFD0D0"
2539CELLSPACING="0"
2540CELLPADDING="4"
2541CLASS="CALSTABLE"
2542><TR
2543><TD
2544WIDTH="20%"
2545ALIGN="RIGHT"
2546VALIGN="TOP"
2547><TT
2548CLASS="PARAMETER"
2549><I
2550>buf</I
2551></TT
2552>&nbsp;:</TD
2553><TD
2554WIDTH="80%"
2555ALIGN="LEFT"
2556VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002557> the buffer</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002558></TR
2559></TABLE
2560><P
2561></P
2562></DIV
2563></DIV
2564><HR><DIV
2565CLASS="REFSECT2"
2566><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002567NAME="AEN2431"
Daniel Veillard35925471999-02-25 08:46:07 +00002568></A
2569><H3
2570><A
2571NAME="XMLCREATEINTSUBSET"
2572></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002573>xmlCreateIntSubset ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002574><TABLE
2575BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002576BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002577WIDTH="100%"
2578CELLPADDING="6"
2579><TR
2580><TD
2581><PRE
2582CLASS="PROGRAMLISTING"
2583><A
2584HREF="gnome-xml-tree.html#XMLDTDPTR"
2585>xmlDtdPtr</A
2586> xmlCreateIntSubset (<A
2587HREF="gnome-xml-tree.html#XMLDOCPTR"
2588>xmlDocPtr</A
2589> doc,
2590 const <A
2591HREF="gnome-xml-tree.html#CHAR"
2592>CHAR</A
2593> *name,
2594 const <A
2595HREF="gnome-xml-tree.html#CHAR"
2596>CHAR</A
2597> *ExternalID,
2598 const <A
2599HREF="gnome-xml-tree.html#CHAR"
2600>CHAR</A
2601> *SystemID);</PRE
2602></TD
2603></TR
2604></TABLE
2605><P
2606>Create the internal subset of a document</P
2607><P
2608></P
2609><DIV
2610CLASS="INFORMALTABLE"
2611><P
2612></P
2613><TABLE
2614BORDER="0"
2615WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002616BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002617CELLSPACING="0"
2618CELLPADDING="4"
2619CLASS="CALSTABLE"
2620><TR
2621><TD
2622WIDTH="20%"
2623ALIGN="RIGHT"
2624VALIGN="TOP"
2625><TT
2626CLASS="PARAMETER"
2627><I
2628>doc</I
2629></TT
2630>&nbsp;:</TD
2631><TD
2632WIDTH="80%"
2633ALIGN="LEFT"
2634VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002635> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002636></TR
2637><TR
2638><TD
2639WIDTH="20%"
2640ALIGN="RIGHT"
2641VALIGN="TOP"
2642><TT
2643CLASS="PARAMETER"
2644><I
2645>name</I
2646></TT
2647>&nbsp;:</TD
2648><TD
2649WIDTH="80%"
2650ALIGN="LEFT"
2651VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002652> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002653></TR
2654><TR
2655><TD
2656WIDTH="20%"
2657ALIGN="RIGHT"
2658VALIGN="TOP"
2659><TT
2660CLASS="PARAMETER"
2661><I
2662>ExternalID</I
2663></TT
2664>&nbsp;:</TD
2665><TD
2666WIDTH="80%"
2667ALIGN="LEFT"
2668VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002669> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002670></TR
2671><TR
2672><TD
2673WIDTH="20%"
2674ALIGN="RIGHT"
2675VALIGN="TOP"
2676><TT
2677CLASS="PARAMETER"
2678><I
2679>SystemID</I
2680></TT
2681>&nbsp;:</TD
2682><TD
2683WIDTH="80%"
2684ALIGN="LEFT"
2685VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002686> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002687></TR
2688><TR
2689><TD
2690WIDTH="20%"
2691ALIGN="RIGHT"
2692VALIGN="TOP"
2693><I
2694CLASS="EMPHASIS"
2695>Returns</I
2696> :</TD
2697><TD
2698WIDTH="80%"
2699ALIGN="LEFT"
2700VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002701>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002702></TR
2703></TABLE
2704><P
2705></P
2706></DIV
2707></DIV
2708><HR><DIV
2709CLASS="REFSECT2"
2710><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002711NAME="AEN2467"
Daniel Veillard35925471999-02-25 08:46:07 +00002712></A
2713><H3
2714><A
2715NAME="XMLNEWDTD"
2716></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002717>xmlNewDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002718><TABLE
2719BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002720BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002721WIDTH="100%"
2722CELLPADDING="6"
2723><TR
2724><TD
2725><PRE
2726CLASS="PROGRAMLISTING"
2727><A
2728HREF="gnome-xml-tree.html#XMLDTDPTR"
2729>xmlDtdPtr</A
2730> xmlNewDtd (<A
2731HREF="gnome-xml-tree.html#XMLDOCPTR"
2732>xmlDocPtr</A
2733> doc,
2734 const <A
2735HREF="gnome-xml-tree.html#CHAR"
2736>CHAR</A
2737> *name,
2738 const <A
2739HREF="gnome-xml-tree.html#CHAR"
2740>CHAR</A
2741> *ExternalID,
2742 const <A
2743HREF="gnome-xml-tree.html#CHAR"
2744>CHAR</A
2745> *SystemID);</PRE
2746></TD
2747></TR
2748></TABLE
2749><P
2750>Creation of a new DTD.</P
2751><P
2752></P
2753><DIV
2754CLASS="INFORMALTABLE"
2755><P
2756></P
2757><TABLE
2758BORDER="0"
2759WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002760BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002761CELLSPACING="0"
2762CELLPADDING="4"
2763CLASS="CALSTABLE"
2764><TR
2765><TD
2766WIDTH="20%"
2767ALIGN="RIGHT"
2768VALIGN="TOP"
2769><TT
2770CLASS="PARAMETER"
2771><I
2772>doc</I
2773></TT
2774>&nbsp;:</TD
2775><TD
2776WIDTH="80%"
2777ALIGN="LEFT"
2778VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002779> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002780></TR
2781><TR
2782><TD
2783WIDTH="20%"
2784ALIGN="RIGHT"
2785VALIGN="TOP"
2786><TT
2787CLASS="PARAMETER"
2788><I
2789>name</I
2790></TT
2791>&nbsp;:</TD
2792><TD
2793WIDTH="80%"
2794ALIGN="LEFT"
2795VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002796> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002797></TR
2798><TR
2799><TD
2800WIDTH="20%"
2801ALIGN="RIGHT"
2802VALIGN="TOP"
2803><TT
2804CLASS="PARAMETER"
2805><I
2806>ExternalID</I
2807></TT
2808>&nbsp;:</TD
2809><TD
2810WIDTH="80%"
2811ALIGN="LEFT"
2812VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002813> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002814></TR
2815><TR
2816><TD
2817WIDTH="20%"
2818ALIGN="RIGHT"
2819VALIGN="TOP"
2820><TT
2821CLASS="PARAMETER"
2822><I
2823>SystemID</I
2824></TT
2825>&nbsp;:</TD
2826><TD
2827WIDTH="80%"
2828ALIGN="LEFT"
2829VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002830> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002831></TR
2832><TR
2833><TD
2834WIDTH="20%"
2835ALIGN="RIGHT"
2836VALIGN="TOP"
2837><I
2838CLASS="EMPHASIS"
2839>Returns</I
2840> :</TD
2841><TD
2842WIDTH="80%"
2843ALIGN="LEFT"
2844VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002845>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002846></TR
2847></TABLE
2848><P
2849></P
2850></DIV
2851></DIV
2852><HR><DIV
2853CLASS="REFSECT2"
2854><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002855NAME="AEN2503"
Daniel Veillard35925471999-02-25 08:46:07 +00002856></A
2857><H3
2858><A
2859NAME="XMLFREEDTD"
2860></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002861>xmlFreeDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002862><TABLE
2863BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002864BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002865WIDTH="100%"
2866CELLPADDING="6"
2867><TR
2868><TD
2869><PRE
2870CLASS="PROGRAMLISTING"
2871>void xmlFreeDtd (<A
2872HREF="gnome-xml-tree.html#XMLDTDPTR"
2873>xmlDtdPtr</A
2874> cur);</PRE
2875></TD
2876></TR
2877></TABLE
2878><P
2879>Free a DTD structure.</P
2880><P
2881></P
2882><DIV
2883CLASS="INFORMALTABLE"
2884><P
2885></P
2886><TABLE
2887BORDER="0"
2888WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002889BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002890CELLSPACING="0"
2891CELLPADDING="4"
2892CLASS="CALSTABLE"
2893><TR
2894><TD
2895WIDTH="20%"
2896ALIGN="RIGHT"
2897VALIGN="TOP"
2898><TT
2899CLASS="PARAMETER"
2900><I
2901>cur</I
2902></TT
2903>&nbsp;:</TD
2904><TD
2905WIDTH="80%"
2906ALIGN="LEFT"
2907VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002908> the DTD structure to free up</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002909></TR
2910></TABLE
2911><P
2912></P
2913></DIV
2914></DIV
2915><HR><DIV
2916CLASS="REFSECT2"
2917><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002918NAME="AEN2519"
Daniel Veillard35925471999-02-25 08:46:07 +00002919></A
2920><H3
2921><A
2922NAME="XMLNEWGLOBALNS"
2923></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002924>xmlNewGlobalNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002925><TABLE
2926BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002927BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002928WIDTH="100%"
2929CELLPADDING="6"
2930><TR
2931><TD
2932><PRE
2933CLASS="PROGRAMLISTING"
2934><A
2935HREF="gnome-xml-tree.html#XMLNSPTR"
2936>xmlNsPtr</A
2937> xmlNewGlobalNs (<A
2938HREF="gnome-xml-tree.html#XMLDOCPTR"
2939>xmlDocPtr</A
2940> doc,
2941 const <A
2942HREF="gnome-xml-tree.html#CHAR"
2943>CHAR</A
2944> *href,
2945 const <A
2946HREF="gnome-xml-tree.html#CHAR"
2947>CHAR</A
2948> *prefix);</PRE
2949></TD
2950></TR
2951></TABLE
2952><P
2953>Creation of a Namespace, the old way using PI and without scoping, to AVOID.</P
2954><P
2955></P
2956><DIV
2957CLASS="INFORMALTABLE"
2958><P
2959></P
2960><TABLE
2961BORDER="0"
2962WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002963BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002964CELLSPACING="0"
2965CELLPADDING="4"
2966CLASS="CALSTABLE"
2967><TR
2968><TD
2969WIDTH="20%"
2970ALIGN="RIGHT"
2971VALIGN="TOP"
2972><TT
2973CLASS="PARAMETER"
2974><I
2975>doc</I
2976></TT
2977>&nbsp;:</TD
2978><TD
2979WIDTH="80%"
2980ALIGN="LEFT"
2981VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002982> the document carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002983></TR
2984><TR
2985><TD
2986WIDTH="20%"
2987ALIGN="RIGHT"
2988VALIGN="TOP"
2989><TT
2990CLASS="PARAMETER"
2991><I
2992>href</I
2993></TT
2994>&nbsp;:</TD
2995><TD
2996WIDTH="80%"
2997ALIGN="LEFT"
2998VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002999> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003000></TR
3001><TR
3002><TD
3003WIDTH="20%"
3004ALIGN="RIGHT"
3005VALIGN="TOP"
3006><TT
3007CLASS="PARAMETER"
3008><I
3009>prefix</I
3010></TT
3011>&nbsp;:</TD
3012><TD
3013WIDTH="80%"
3014ALIGN="LEFT"
3015VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003016> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003017></TR
3018><TR
3019><TD
3020WIDTH="20%"
3021ALIGN="RIGHT"
3022VALIGN="TOP"
3023><I
3024CLASS="EMPHASIS"
3025>Returns</I
3026> :</TD
3027><TD
3028WIDTH="80%"
3029ALIGN="LEFT"
3030VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003031>returns a new namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003032></TR
3033></TABLE
3034><P
3035></P
3036></DIV
3037></DIV
3038><HR><DIV
3039CLASS="REFSECT2"
3040><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003041NAME="AEN2550"
Daniel Veillard35925471999-02-25 08:46:07 +00003042></A
3043><H3
3044><A
3045NAME="XMLNEWNS"
3046></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003047>xmlNewNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003048><TABLE
3049BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003050BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003051WIDTH="100%"
3052CELLPADDING="6"
3053><TR
3054><TD
3055><PRE
3056CLASS="PROGRAMLISTING"
3057><A
3058HREF="gnome-xml-tree.html#XMLNSPTR"
3059>xmlNsPtr</A
3060> xmlNewNs (<A
3061HREF="gnome-xml-tree.html#XMLNODEPTR"
3062>xmlNodePtr</A
3063> node,
3064 const <A
3065HREF="gnome-xml-tree.html#CHAR"
3066>CHAR</A
3067> *href,
3068 const <A
3069HREF="gnome-xml-tree.html#CHAR"
3070>CHAR</A
3071> *prefix);</PRE
3072></TD
3073></TR
3074></TABLE
3075><P
3076>Creation of a new Namespace.</P
3077><P
3078></P
3079><DIV
3080CLASS="INFORMALTABLE"
3081><P
3082></P
3083><TABLE
3084BORDER="0"
3085WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003086BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003087CELLSPACING="0"
3088CELLPADDING="4"
3089CLASS="CALSTABLE"
3090><TR
3091><TD
3092WIDTH="20%"
3093ALIGN="RIGHT"
3094VALIGN="TOP"
3095><TT
3096CLASS="PARAMETER"
3097><I
3098>node</I
3099></TT
3100>&nbsp;:</TD
3101><TD
3102WIDTH="80%"
3103ALIGN="LEFT"
3104VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003105> the element carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003106></TR
3107><TR
3108><TD
3109WIDTH="20%"
3110ALIGN="RIGHT"
3111VALIGN="TOP"
3112><TT
3113CLASS="PARAMETER"
3114><I
3115>href</I
3116></TT
3117>&nbsp;:</TD
3118><TD
3119WIDTH="80%"
3120ALIGN="LEFT"
3121VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003122> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003123></TR
3124><TR
3125><TD
3126WIDTH="20%"
3127ALIGN="RIGHT"
3128VALIGN="TOP"
3129><TT
3130CLASS="PARAMETER"
3131><I
3132>prefix</I
3133></TT
3134>&nbsp;:</TD
3135><TD
3136WIDTH="80%"
3137ALIGN="LEFT"
3138VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003139> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003140></TR
3141><TR
3142><TD
3143WIDTH="20%"
3144ALIGN="RIGHT"
3145VALIGN="TOP"
3146><I
3147CLASS="EMPHASIS"
3148>Returns</I
3149> :</TD
3150><TD
3151WIDTH="80%"
3152ALIGN="LEFT"
3153VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003154>returns a new namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003155></TR
3156></TABLE
3157><P
3158></P
3159></DIV
3160></DIV
3161><HR><DIV
3162CLASS="REFSECT2"
3163><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003164NAME="AEN2581"
Daniel Veillard35925471999-02-25 08:46:07 +00003165></A
3166><H3
3167><A
3168NAME="XMLFREENS"
3169></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003170>xmlFreeNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003171><TABLE
3172BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003173BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003174WIDTH="100%"
3175CELLPADDING="6"
3176><TR
3177><TD
3178><PRE
3179CLASS="PROGRAMLISTING"
3180>void xmlFreeNs (<A
3181HREF="gnome-xml-tree.html#XMLNSPTR"
3182>xmlNsPtr</A
3183> cur);</PRE
3184></TD
3185></TR
3186></TABLE
3187><P
3188>Free up the structures associated to a namespace</P
3189><P
3190></P
3191><DIV
3192CLASS="INFORMALTABLE"
3193><P
3194></P
3195><TABLE
3196BORDER="0"
3197WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003198BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003199CELLSPACING="0"
3200CELLPADDING="4"
3201CLASS="CALSTABLE"
3202><TR
3203><TD
3204WIDTH="20%"
3205ALIGN="RIGHT"
3206VALIGN="TOP"
3207><TT
3208CLASS="PARAMETER"
3209><I
3210>cur</I
3211></TT
3212>&nbsp;:</TD
3213><TD
3214WIDTH="80%"
3215ALIGN="LEFT"
3216VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003217> the namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003218></TR
3219></TABLE
3220><P
3221></P
3222></DIV
3223></DIV
3224><HR><DIV
3225CLASS="REFSECT2"
3226><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003227NAME="AEN2597"
Daniel Veillard35925471999-02-25 08:46:07 +00003228></A
3229><H3
3230><A
3231NAME="XMLNEWDOC"
3232></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003233>xmlNewDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003234><TABLE
3235BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003236BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003237WIDTH="100%"
3238CELLPADDING="6"
3239><TR
3240><TD
3241><PRE
3242CLASS="PROGRAMLISTING"
3243><A
3244HREF="gnome-xml-tree.html#XMLDOCPTR"
3245>xmlDocPtr</A
3246> xmlNewDoc (const <A
3247HREF="gnome-xml-tree.html#CHAR"
3248>CHAR</A
3249> *version);</PRE
3250></TD
3251></TR
3252></TABLE
3253><P
3254></P
3255><P
3256></P
3257><DIV
3258CLASS="INFORMALTABLE"
3259><P
3260></P
3261><TABLE
3262BORDER="0"
3263WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003264BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003265CELLSPACING="0"
3266CELLPADDING="4"
3267CLASS="CALSTABLE"
3268><TR
3269><TD
3270WIDTH="20%"
3271ALIGN="RIGHT"
3272VALIGN="TOP"
3273><TT
3274CLASS="PARAMETER"
3275><I
3276>version</I
3277></TT
3278>&nbsp;:</TD
3279><TD
3280WIDTH="80%"
3281ALIGN="LEFT"
3282VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003283> CHAR string giving the version of XML "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003284></TR
3285><TR
3286><TD
3287WIDTH="20%"
3288ALIGN="RIGHT"
3289VALIGN="TOP"
3290><I
3291CLASS="EMPHASIS"
3292>Returns</I
3293> :</TD
3294><TD
3295WIDTH="80%"
3296ALIGN="LEFT"
3297VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003298>a new document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003299></TR
3300></TABLE
3301><P
3302></P
3303></DIV
3304></DIV
3305><HR><DIV
3306CLASS="REFSECT2"
3307><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003308NAME="AEN2618"
Daniel Veillard35925471999-02-25 08:46:07 +00003309></A
3310><H3
3311><A
3312NAME="XMLFREEDOC"
3313></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003314>xmlFreeDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003315><TABLE
3316BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003317BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003318WIDTH="100%"
3319CELLPADDING="6"
3320><TR
3321><TD
3322><PRE
3323CLASS="PROGRAMLISTING"
3324>void xmlFreeDoc (<A
3325HREF="gnome-xml-tree.html#XMLDOCPTR"
3326>xmlDocPtr</A
3327> cur);</PRE
3328></TD
3329></TR
3330></TABLE
3331><P
3332>Free up all the structures used by a document, tree included.</P
3333><P
3334></P
3335><DIV
3336CLASS="INFORMALTABLE"
3337><P
3338></P
3339><TABLE
3340BORDER="0"
3341WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003342BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003343CELLSPACING="0"
3344CELLPADDING="4"
3345CLASS="CALSTABLE"
3346><TR
3347><TD
3348WIDTH="20%"
3349ALIGN="RIGHT"
3350VALIGN="TOP"
3351><TT
3352CLASS="PARAMETER"
3353><I
3354>cur</I
3355></TT
3356>&nbsp;:</TD
3357><TD
3358WIDTH="80%"
3359ALIGN="LEFT"
3360VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003361> pointer to the document
3362@: </TD
Daniel Veillard35925471999-02-25 08:46:07 +00003363></TR
3364></TABLE
3365><P
3366></P
3367></DIV
3368></DIV
3369><HR><DIV
3370CLASS="REFSECT2"
3371><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003372NAME="AEN2634"
Daniel Veillard35925471999-02-25 08:46:07 +00003373></A
3374><H3
3375><A
3376NAME="XMLNEWDOCPROP"
3377></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003378>xmlNewDocProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003379><TABLE
3380BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003381BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003382WIDTH="100%"
3383CELLPADDING="6"
3384><TR
3385><TD
3386><PRE
3387CLASS="PROGRAMLISTING"
3388><A
3389HREF="gnome-xml-tree.html#XMLATTRPTR"
3390>xmlAttrPtr</A
3391> xmlNewDocProp (<A
3392HREF="gnome-xml-tree.html#XMLDOCPTR"
3393>xmlDocPtr</A
3394> doc,
3395 const <A
3396HREF="gnome-xml-tree.html#CHAR"
3397>CHAR</A
3398> *name,
3399 const <A
3400HREF="gnome-xml-tree.html#CHAR"
3401>CHAR</A
3402> *value);</PRE
3403></TD
3404></TR
3405></TABLE
3406><P
3407>Create a new property carried by a document.</P
3408><P
3409></P
3410><DIV
3411CLASS="INFORMALTABLE"
3412><P
3413></P
3414><TABLE
3415BORDER="0"
3416WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003417BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003418CELLSPACING="0"
3419CELLPADDING="4"
3420CLASS="CALSTABLE"
3421><TR
3422><TD
3423WIDTH="20%"
3424ALIGN="RIGHT"
3425VALIGN="TOP"
3426><TT
3427CLASS="PARAMETER"
3428><I
3429>doc</I
3430></TT
3431>&nbsp;:</TD
3432><TD
3433WIDTH="80%"
3434ALIGN="LEFT"
3435VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003436> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003437></TR
3438><TR
3439><TD
3440WIDTH="20%"
3441ALIGN="RIGHT"
3442VALIGN="TOP"
3443><TT
3444CLASS="PARAMETER"
3445><I
3446>name</I
3447></TT
3448>&nbsp;:</TD
3449><TD
3450WIDTH="80%"
3451ALIGN="LEFT"
3452VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003453> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003454></TR
3455><TR
3456><TD
3457WIDTH="20%"
3458ALIGN="RIGHT"
3459VALIGN="TOP"
3460><TT
3461CLASS="PARAMETER"
3462><I
3463>value</I
3464></TT
3465>&nbsp;:</TD
3466><TD
3467WIDTH="80%"
3468ALIGN="LEFT"
3469VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003470> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003471></TR
3472><TR
3473><TD
3474WIDTH="20%"
3475ALIGN="RIGHT"
3476VALIGN="TOP"
3477><I
3478CLASS="EMPHASIS"
3479>Returns</I
3480> :</TD
3481><TD
3482WIDTH="80%"
3483ALIGN="LEFT"
3484VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003485>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003486></TR
3487></TABLE
3488><P
3489></P
3490></DIV
3491></DIV
3492><HR><DIV
3493CLASS="REFSECT2"
3494><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003495NAME="AEN2665"
Daniel Veillard35925471999-02-25 08:46:07 +00003496></A
3497><H3
3498><A
3499NAME="XMLNEWPROP"
3500></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003501>xmlNewProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003502><TABLE
3503BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003504BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003505WIDTH="100%"
3506CELLPADDING="6"
3507><TR
3508><TD
3509><PRE
3510CLASS="PROGRAMLISTING"
3511><A
3512HREF="gnome-xml-tree.html#XMLATTRPTR"
3513>xmlAttrPtr</A
3514> xmlNewProp (<A
3515HREF="gnome-xml-tree.html#XMLNODEPTR"
3516>xmlNodePtr</A
3517> node,
3518 const <A
3519HREF="gnome-xml-tree.html#CHAR"
3520>CHAR</A
3521> *name,
3522 const <A
3523HREF="gnome-xml-tree.html#CHAR"
3524>CHAR</A
3525> *value);</PRE
3526></TD
3527></TR
3528></TABLE
3529><P
3530>Create a new property carried by a node.</P
3531><P
3532></P
3533><DIV
3534CLASS="INFORMALTABLE"
3535><P
3536></P
3537><TABLE
3538BORDER="0"
3539WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003540BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003541CELLSPACING="0"
3542CELLPADDING="4"
3543CLASS="CALSTABLE"
3544><TR
3545><TD
3546WIDTH="20%"
3547ALIGN="RIGHT"
3548VALIGN="TOP"
3549><TT
3550CLASS="PARAMETER"
3551><I
3552>node</I
3553></TT
3554>&nbsp;:</TD
3555><TD
3556WIDTH="80%"
3557ALIGN="LEFT"
3558VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003559> the holding node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003560></TR
3561><TR
3562><TD
3563WIDTH="20%"
3564ALIGN="RIGHT"
3565VALIGN="TOP"
3566><TT
3567CLASS="PARAMETER"
3568><I
3569>name</I
3570></TT
3571>&nbsp;:</TD
3572><TD
3573WIDTH="80%"
3574ALIGN="LEFT"
3575VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003576> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003577></TR
3578><TR
3579><TD
3580WIDTH="20%"
3581ALIGN="RIGHT"
3582VALIGN="TOP"
3583><TT
3584CLASS="PARAMETER"
3585><I
3586>value</I
3587></TT
3588>&nbsp;:</TD
3589><TD
3590WIDTH="80%"
3591ALIGN="LEFT"
3592VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003593> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003594></TR
3595><TR
3596><TD
3597WIDTH="20%"
3598ALIGN="RIGHT"
3599VALIGN="TOP"
3600><I
3601CLASS="EMPHASIS"
3602>Returns</I
3603> :</TD
3604><TD
3605WIDTH="80%"
3606ALIGN="LEFT"
3607VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003608>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003609></TR
3610></TABLE
3611><P
3612></P
3613></DIV
3614></DIV
3615><HR><DIV
3616CLASS="REFSECT2"
3617><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003618NAME="AEN2696"
3619></A
3620><H3
3621><A
3622NAME="XMLNEWNSPROP"
3623></A
3624>xmlNewNsProp ()</H3
3625><TABLE
3626BORDER="0"
3627BGCOLOR="#D6E8FF"
3628WIDTH="100%"
3629CELLPADDING="6"
3630><TR
3631><TD
3632><PRE
3633CLASS="PROGRAMLISTING"
3634><A
3635HREF="gnome-xml-tree.html#XMLATTRPTR"
3636>xmlAttrPtr</A
3637> xmlNewNsProp (<A
3638HREF="gnome-xml-tree.html#XMLNODEPTR"
3639>xmlNodePtr</A
3640> node,
3641 <A
3642HREF="gnome-xml-tree.html#XMLNSPTR"
3643>xmlNsPtr</A
3644> ns,
3645 const <A
3646HREF="gnome-xml-tree.html#CHAR"
3647>CHAR</A
3648> *name,
3649 const <A
3650HREF="gnome-xml-tree.html#CHAR"
3651>CHAR</A
3652> *value);</PRE
3653></TD
3654></TR
3655></TABLE
3656><P
3657>Create a new property tagged with a namespace and carried by a node.</P
3658><P
3659></P
3660><DIV
3661CLASS="INFORMALTABLE"
3662><P
3663></P
3664><TABLE
3665BORDER="0"
3666WIDTH="100%"
3667BGCOLOR="#FFD0D0"
3668CELLSPACING="0"
3669CELLPADDING="4"
3670CLASS="CALSTABLE"
3671><TR
3672><TD
3673WIDTH="20%"
3674ALIGN="RIGHT"
3675VALIGN="TOP"
3676><TT
3677CLASS="PARAMETER"
3678><I
3679>node</I
3680></TT
3681>&nbsp;:</TD
3682><TD
3683WIDTH="80%"
3684ALIGN="LEFT"
3685VALIGN="TOP"
3686> the holding node</TD
3687></TR
3688><TR
3689><TD
3690WIDTH="20%"
3691ALIGN="RIGHT"
3692VALIGN="TOP"
3693><TT
3694CLASS="PARAMETER"
3695><I
3696>ns</I
3697></TT
3698>&nbsp;:</TD
3699><TD
3700WIDTH="80%"
3701ALIGN="LEFT"
3702VALIGN="TOP"
3703> the namespace</TD
3704></TR
3705><TR
3706><TD
3707WIDTH="20%"
3708ALIGN="RIGHT"
3709VALIGN="TOP"
3710><TT
3711CLASS="PARAMETER"
3712><I
3713>name</I
3714></TT
3715>&nbsp;:</TD
3716><TD
3717WIDTH="80%"
3718ALIGN="LEFT"
3719VALIGN="TOP"
3720> the name of the attribute</TD
3721></TR
3722><TR
3723><TD
3724WIDTH="20%"
3725ALIGN="RIGHT"
3726VALIGN="TOP"
3727><TT
3728CLASS="PARAMETER"
3729><I
3730>value</I
3731></TT
3732>&nbsp;:</TD
3733><TD
3734WIDTH="80%"
3735ALIGN="LEFT"
3736VALIGN="TOP"
3737> the value of the attribute</TD
3738></TR
3739><TR
3740><TD
3741WIDTH="20%"
3742ALIGN="RIGHT"
3743VALIGN="TOP"
3744><I
3745CLASS="EMPHASIS"
3746>Returns</I
3747> :</TD
3748><TD
3749WIDTH="80%"
3750ALIGN="LEFT"
3751VALIGN="TOP"
3752>a pointer to the attribute</TD
3753></TR
3754></TABLE
3755><P
3756></P
3757></DIV
3758></DIV
3759><HR><DIV
3760CLASS="REFSECT2"
3761><A
3762NAME="AEN2732"
Daniel Veillard35925471999-02-25 08:46:07 +00003763></A
3764><H3
3765><A
3766NAME="XMLFREEPROPLIST"
3767></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003768>xmlFreePropList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003769><TABLE
3770BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003771BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003772WIDTH="100%"
3773CELLPADDING="6"
3774><TR
3775><TD
3776><PRE
3777CLASS="PROGRAMLISTING"
3778>void xmlFreePropList (<A
3779HREF="gnome-xml-tree.html#XMLATTRPTR"
3780>xmlAttrPtr</A
3781> cur);</PRE
3782></TD
3783></TR
3784></TABLE
3785><P
3786>Free a property and all its siblings, all the childs are freed too.</P
3787><P
3788></P
3789><DIV
3790CLASS="INFORMALTABLE"
3791><P
3792></P
3793><TABLE
3794BORDER="0"
3795WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003796BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003797CELLSPACING="0"
3798CELLPADDING="4"
3799CLASS="CALSTABLE"
3800><TR
3801><TD
3802WIDTH="20%"
3803ALIGN="RIGHT"
3804VALIGN="TOP"
3805><TT
3806CLASS="PARAMETER"
3807><I
3808>cur</I
3809></TT
3810>&nbsp;:</TD
3811><TD
3812WIDTH="80%"
3813ALIGN="LEFT"
3814VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003815> the first property in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003816></TR
3817></TABLE
3818><P
3819></P
3820></DIV
3821></DIV
3822><HR><DIV
3823CLASS="REFSECT2"
3824><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003825NAME="AEN2748"
Daniel Veillard35925471999-02-25 08:46:07 +00003826></A
3827><H3
3828><A
3829NAME="XMLFREEPROP"
3830></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003831>xmlFreeProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003832><TABLE
3833BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003834BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003835WIDTH="100%"
3836CELLPADDING="6"
3837><TR
3838><TD
3839><PRE
3840CLASS="PROGRAMLISTING"
3841>void xmlFreeProp (<A
3842HREF="gnome-xml-tree.html#XMLATTRPTR"
3843>xmlAttrPtr</A
3844> cur);</PRE
3845></TD
3846></TR
3847></TABLE
3848><P
3849>Free one property, all the childs are freed too.</P
3850><P
3851></P
3852><DIV
3853CLASS="INFORMALTABLE"
3854><P
3855></P
3856><TABLE
3857BORDER="0"
3858WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003859BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003860CELLSPACING="0"
3861CELLPADDING="4"
3862CLASS="CALSTABLE"
3863><TR
3864><TD
3865WIDTH="20%"
3866ALIGN="RIGHT"
3867VALIGN="TOP"
3868><TT
3869CLASS="PARAMETER"
3870><I
3871>cur</I
3872></TT
3873>&nbsp;:</TD
3874><TD
3875WIDTH="80%"
3876ALIGN="LEFT"
3877VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003878> the first property in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003879></TR
3880></TABLE
3881><P
3882></P
3883></DIV
3884></DIV
3885><HR><DIV
3886CLASS="REFSECT2"
3887><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003888NAME="AEN2764"
Daniel Veillard35925471999-02-25 08:46:07 +00003889></A
3890><H3
3891><A
3892NAME="XMLCOPYPROP"
3893></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003894>xmlCopyProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003895><TABLE
3896BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003897BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003898WIDTH="100%"
3899CELLPADDING="6"
3900><TR
3901><TD
3902><PRE
3903CLASS="PROGRAMLISTING"
3904><A
3905HREF="gnome-xml-tree.html#XMLATTRPTR"
3906>xmlAttrPtr</A
3907> xmlCopyProp (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003908HREF="gnome-xml-tree.html#XMLNODEPTR"
3909>xmlNodePtr</A
3910> target,
3911 <A
Daniel Veillard35925471999-02-25 08:46:07 +00003912HREF="gnome-xml-tree.html#XMLATTRPTR"
3913>xmlAttrPtr</A
3914> cur);</PRE
3915></TD
3916></TR
3917></TABLE
3918><P
3919>Do a copy of the attribute.</P
3920><P
3921></P
3922><DIV
3923CLASS="INFORMALTABLE"
3924><P
3925></P
3926><TABLE
3927BORDER="0"
3928WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003929BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003930CELLSPACING="0"
3931CELLPADDING="4"
3932CLASS="CALSTABLE"
3933><TR
3934><TD
3935WIDTH="20%"
3936ALIGN="RIGHT"
3937VALIGN="TOP"
3938><TT
3939CLASS="PARAMETER"
3940><I
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003941>target</I
Daniel Veillard35925471999-02-25 08:46:07 +00003942></TT
3943>&nbsp;:</TD
3944><TD
3945WIDTH="80%"
3946ALIGN="LEFT"
3947VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003948> the element where the attribute will be grafted</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003949></TR
3950><TR
3951><TD
3952WIDTH="20%"
3953ALIGN="RIGHT"
3954VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003955><TT
3956CLASS="PARAMETER"
3957><I
3958>cur</I
3959></TT
3960>&nbsp;:</TD
3961><TD
3962WIDTH="80%"
3963ALIGN="LEFT"
3964VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003965> the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003966></TR
3967><TR
3968><TD
3969WIDTH="20%"
3970ALIGN="RIGHT"
3971VALIGN="TOP"
3972><I
3973CLASS="EMPHASIS"
3974>Returns</I
3975> :</TD
3976><TD
3977WIDTH="80%"
3978ALIGN="LEFT"
3979VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003980> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003981></TR
3982></TABLE
3983><P
3984></P
3985></DIV
3986></DIV
3987><HR><DIV
3988CLASS="REFSECT2"
3989><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003990NAME="AEN2790"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003991></A
3992><H3
3993><A
3994NAME="XMLCOPYPROPLIST"
3995></A
3996>xmlCopyPropList ()</H3
3997><TABLE
3998BORDER="0"
3999BGCOLOR="#D6E8FF"
4000WIDTH="100%"
4001CELLPADDING="6"
4002><TR
4003><TD
4004><PRE
4005CLASS="PROGRAMLISTING"
4006><A
4007HREF="gnome-xml-tree.html#XMLATTRPTR"
4008>xmlAttrPtr</A
4009> xmlCopyPropList (<A
4010HREF="gnome-xml-tree.html#XMLNODEPTR"
4011>xmlNodePtr</A
4012> target,
4013 <A
4014HREF="gnome-xml-tree.html#XMLATTRPTR"
4015>xmlAttrPtr</A
4016> cur);</PRE
4017></TD
4018></TR
4019></TABLE
4020><P
4021>Do a copy of an attribute list.</P
4022><P
4023></P
4024><DIV
4025CLASS="INFORMALTABLE"
4026><P
4027></P
4028><TABLE
4029BORDER="0"
4030WIDTH="100%"
4031BGCOLOR="#FFD0D0"
4032CELLSPACING="0"
4033CELLPADDING="4"
4034CLASS="CALSTABLE"
4035><TR
4036><TD
4037WIDTH="20%"
4038ALIGN="RIGHT"
4039VALIGN="TOP"
4040><TT
4041CLASS="PARAMETER"
4042><I
4043>target</I
4044></TT
4045>&nbsp;:</TD
4046><TD
4047WIDTH="80%"
4048ALIGN="LEFT"
4049VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004050> the element where the attributes will be grafted</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004051></TR
4052><TR
4053><TD
4054WIDTH="20%"
4055ALIGN="RIGHT"
4056VALIGN="TOP"
4057><TT
4058CLASS="PARAMETER"
4059><I
4060>cur</I
4061></TT
4062>&nbsp;:</TD
4063><TD
4064WIDTH="80%"
4065ALIGN="LEFT"
4066VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004067> the first attribute</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004068></TR
4069><TR
4070><TD
4071WIDTH="20%"
4072ALIGN="RIGHT"
4073VALIGN="TOP"
4074><I
4075CLASS="EMPHASIS"
4076>Returns</I
4077> :</TD
4078><TD
4079WIDTH="80%"
4080ALIGN="LEFT"
4081VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004082> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004083></TR
4084></TABLE
4085><P
4086></P
4087></DIV
4088></DIV
4089><HR><DIV
4090CLASS="REFSECT2"
4091><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004092NAME="AEN2816"
Daniel Veillard35925471999-02-25 08:46:07 +00004093></A
4094><H3
4095><A
4096NAME="XMLCOPYDTD"
4097></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004098>xmlCopyDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004099><TABLE
4100BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004101BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004102WIDTH="100%"
4103CELLPADDING="6"
4104><TR
4105><TD
4106><PRE
4107CLASS="PROGRAMLISTING"
4108><A
4109HREF="gnome-xml-tree.html#XMLDTDPTR"
4110>xmlDtdPtr</A
4111> xmlCopyDtd (<A
4112HREF="gnome-xml-tree.html#XMLDTDPTR"
4113>xmlDtdPtr</A
4114> dtd);</PRE
4115></TD
4116></TR
4117></TABLE
4118><P
4119>Do a copy of the dtd.</P
4120><P
4121></P
4122><DIV
4123CLASS="INFORMALTABLE"
4124><P
4125></P
4126><TABLE
4127BORDER="0"
4128WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004129BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004130CELLSPACING="0"
4131CELLPADDING="4"
4132CLASS="CALSTABLE"
4133><TR
4134><TD
4135WIDTH="20%"
4136ALIGN="RIGHT"
4137VALIGN="TOP"
4138><TT
4139CLASS="PARAMETER"
4140><I
4141>dtd</I
4142></TT
4143>&nbsp;:</TD
4144><TD
4145WIDTH="80%"
4146ALIGN="LEFT"
4147VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004148> the dtd</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004149></TR
4150><TR
4151><TD
4152WIDTH="20%"
4153ALIGN="RIGHT"
4154VALIGN="TOP"
4155><I
4156CLASS="EMPHASIS"
4157>Returns</I
4158> :</TD
4159><TD
4160WIDTH="80%"
4161ALIGN="LEFT"
4162VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004163> a new xmlDtdPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004164></TR
4165></TABLE
4166><P
4167></P
4168></DIV
4169></DIV
4170><HR><DIV
4171CLASS="REFSECT2"
4172><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004173NAME="AEN2837"
Daniel Veillard35925471999-02-25 08:46:07 +00004174></A
4175><H3
4176><A
4177NAME="XMLCOPYDOC"
4178></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004179>xmlCopyDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004180><TABLE
4181BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004182BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004183WIDTH="100%"
4184CELLPADDING="6"
4185><TR
4186><TD
4187><PRE
4188CLASS="PROGRAMLISTING"
4189><A
4190HREF="gnome-xml-tree.html#XMLDOCPTR"
4191>xmlDocPtr</A
4192> xmlCopyDoc (<A
4193HREF="gnome-xml-tree.html#XMLDOCPTR"
4194>xmlDocPtr</A
4195> doc,
4196 int recursive);</PRE
4197></TD
4198></TR
4199></TABLE
4200><P
4201>Do a copy of the document info. If recursive, the content tree will
4202be copied too as well as Dtd, namespaces and entities.</P
4203><P
4204></P
4205><DIV
4206CLASS="INFORMALTABLE"
4207><P
4208></P
4209><TABLE
4210BORDER="0"
4211WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004212BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004213CELLSPACING="0"
4214CELLPADDING="4"
4215CLASS="CALSTABLE"
4216><TR
4217><TD
4218WIDTH="20%"
4219ALIGN="RIGHT"
4220VALIGN="TOP"
4221><TT
4222CLASS="PARAMETER"
4223><I
4224>doc</I
4225></TT
4226>&nbsp;:</TD
4227><TD
4228WIDTH="80%"
4229ALIGN="LEFT"
4230VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004231> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004232></TR
4233><TR
4234><TD
4235WIDTH="20%"
4236ALIGN="RIGHT"
4237VALIGN="TOP"
4238><TT
4239CLASS="PARAMETER"
4240><I
4241>recursive</I
4242></TT
4243>&nbsp;:</TD
4244><TD
4245WIDTH="80%"
4246ALIGN="LEFT"
4247VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004248> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004249></TR
4250><TR
4251><TD
4252WIDTH="20%"
4253ALIGN="RIGHT"
4254VALIGN="TOP"
4255><I
4256CLASS="EMPHASIS"
4257>Returns</I
4258> :</TD
4259><TD
4260WIDTH="80%"
4261ALIGN="LEFT"
4262VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004263> a new xmlDocPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004264></TR
4265></TABLE
4266><P
4267></P
4268></DIV
4269></DIV
4270><HR><DIV
4271CLASS="REFSECT2"
4272><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004273NAME="AEN2862"
Daniel Veillard35925471999-02-25 08:46:07 +00004274></A
4275><H3
4276><A
4277NAME="XMLNEWDOCNODE"
4278></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004279>xmlNewDocNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004280><TABLE
4281BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004282BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004283WIDTH="100%"
4284CELLPADDING="6"
4285><TR
4286><TD
4287><PRE
4288CLASS="PROGRAMLISTING"
4289><A
4290HREF="gnome-xml-tree.html#XMLNODEPTR"
4291>xmlNodePtr</A
4292> xmlNewDocNode (<A
4293HREF="gnome-xml-tree.html#XMLDOCPTR"
4294>xmlDocPtr</A
4295> doc,
4296 <A
4297HREF="gnome-xml-tree.html#XMLNSPTR"
4298>xmlNsPtr</A
4299> ns,
4300 const <A
4301HREF="gnome-xml-tree.html#CHAR"
4302>CHAR</A
4303> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004304 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00004305HREF="gnome-xml-tree.html#CHAR"
4306>CHAR</A
4307> *content);</PRE
4308></TD
4309></TR
4310></TABLE
4311><P
4312>Creation of a new node element within a document. <TT
4313CLASS="PARAMETER"
4314><I
4315>ns</I
4316></TT
4317> and <TT
4318CLASS="PARAMETER"
4319><I
4320>content</I
4321></TT
4322>
4323are optionnal (NULL).</P
4324><P
4325></P
4326><DIV
4327CLASS="INFORMALTABLE"
4328><P
4329></P
4330><TABLE
4331BORDER="0"
4332WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004333BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004334CELLSPACING="0"
4335CELLPADDING="4"
4336CLASS="CALSTABLE"
4337><TR
4338><TD
4339WIDTH="20%"
4340ALIGN="RIGHT"
4341VALIGN="TOP"
4342><TT
4343CLASS="PARAMETER"
4344><I
4345>doc</I
4346></TT
4347>&nbsp;:</TD
4348><TD
4349WIDTH="80%"
4350ALIGN="LEFT"
4351VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004352> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004353></TR
4354><TR
4355><TD
4356WIDTH="20%"
4357ALIGN="RIGHT"
4358VALIGN="TOP"
4359><TT
4360CLASS="PARAMETER"
4361><I
4362>ns</I
4363></TT
4364>&nbsp;:</TD
4365><TD
4366WIDTH="80%"
4367ALIGN="LEFT"
4368VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004369> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004370></TR
4371><TR
4372><TD
4373WIDTH="20%"
4374ALIGN="RIGHT"
4375VALIGN="TOP"
4376><TT
4377CLASS="PARAMETER"
4378><I
4379>name</I
4380></TT
4381>&nbsp;:</TD
4382><TD
4383WIDTH="80%"
4384ALIGN="LEFT"
4385VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004386> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004387></TR
4388><TR
4389><TD
4390WIDTH="20%"
4391ALIGN="RIGHT"
4392VALIGN="TOP"
4393><TT
4394CLASS="PARAMETER"
4395><I
4396>content</I
4397></TT
4398>&nbsp;:</TD
4399><TD
4400WIDTH="80%"
4401ALIGN="LEFT"
4402VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004403> the text content if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004404></TR
4405><TR
4406><TD
4407WIDTH="20%"
4408ALIGN="RIGHT"
4409VALIGN="TOP"
4410><I
4411CLASS="EMPHASIS"
4412>Returns</I
4413> :</TD
4414><TD
4415WIDTH="80%"
4416ALIGN="LEFT"
4417VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004418>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004419></TR
4420></TABLE
4421><P
4422></P
4423></DIV
4424></DIV
4425><HR><DIV
4426CLASS="REFSECT2"
4427><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004428NAME="AEN2900"
Daniel Veillard35925471999-02-25 08:46:07 +00004429></A
4430><H3
4431><A
4432NAME="XMLNEWNODE"
4433></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004434>xmlNewNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004435><TABLE
4436BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004437BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004438WIDTH="100%"
4439CELLPADDING="6"
4440><TR
4441><TD
4442><PRE
4443CLASS="PROGRAMLISTING"
4444><A
4445HREF="gnome-xml-tree.html#XMLNODEPTR"
4446>xmlNodePtr</A
4447> xmlNewNode (<A
4448HREF="gnome-xml-tree.html#XMLNSPTR"
4449>xmlNsPtr</A
4450> ns,
4451 const <A
4452HREF="gnome-xml-tree.html#CHAR"
4453>CHAR</A
4454> *name);</PRE
4455></TD
4456></TR
4457></TABLE
4458><P
4459>Creation of a new node element. <TT
4460CLASS="PARAMETER"
4461><I
4462>ns</I
4463></TT
4464> and <TT
4465CLASS="PARAMETER"
4466><I
4467>content</I
4468></TT
4469> are optionnal (NULL).
4470If content is non NULL, a child list containing the TEXTs and
4471ENTITY_REFs node will be created.</P
4472><P
4473></P
4474><DIV
4475CLASS="INFORMALTABLE"
4476><P
4477></P
4478><TABLE
4479BORDER="0"
4480WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004481BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004482CELLSPACING="0"
4483CELLPADDING="4"
4484CLASS="CALSTABLE"
4485><TR
4486><TD
4487WIDTH="20%"
4488ALIGN="RIGHT"
4489VALIGN="TOP"
4490><TT
4491CLASS="PARAMETER"
4492><I
4493>ns</I
4494></TT
4495>&nbsp;:</TD
4496><TD
4497WIDTH="80%"
4498ALIGN="LEFT"
4499VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004500> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004501></TR
4502><TR
4503><TD
4504WIDTH="20%"
4505ALIGN="RIGHT"
4506VALIGN="TOP"
4507><TT
4508CLASS="PARAMETER"
4509><I
4510>name</I
4511></TT
4512>&nbsp;:</TD
4513><TD
4514WIDTH="80%"
4515ALIGN="LEFT"
4516VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004517> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004518></TR
4519><TR
4520><TD
4521WIDTH="20%"
4522ALIGN="RIGHT"
4523VALIGN="TOP"
4524><I
4525CLASS="EMPHASIS"
4526>Returns</I
4527> :</TD
4528><TD
4529WIDTH="80%"
4530ALIGN="LEFT"
4531VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004532>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004533></TR
4534></TABLE
4535><P
4536></P
4537></DIV
4538></DIV
4539><HR><DIV
4540CLASS="REFSECT2"
4541><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004542NAME="AEN2928"
Daniel Veillard35925471999-02-25 08:46:07 +00004543></A
4544><H3
4545><A
4546NAME="XMLNEWCHILD"
4547></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004548>xmlNewChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004549><TABLE
4550BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004551BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004552WIDTH="100%"
4553CELLPADDING="6"
4554><TR
4555><TD
4556><PRE
4557CLASS="PROGRAMLISTING"
4558><A
4559HREF="gnome-xml-tree.html#XMLNODEPTR"
4560>xmlNodePtr</A
4561> xmlNewChild (<A
4562HREF="gnome-xml-tree.html#XMLNODEPTR"
4563>xmlNodePtr</A
4564> parent,
4565 <A
4566HREF="gnome-xml-tree.html#XMLNSPTR"
4567>xmlNsPtr</A
4568> ns,
4569 const <A
4570HREF="gnome-xml-tree.html#CHAR"
4571>CHAR</A
4572> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004573 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00004574HREF="gnome-xml-tree.html#CHAR"
4575>CHAR</A
4576> *content);</PRE
4577></TD
4578></TR
4579></TABLE
4580><P
4581>Creation of a new child element, added at the end of <TT
4582CLASS="PARAMETER"
4583><I
4584>parent</I
4585></TT
4586> childs list.
4587<TT
4588CLASS="PARAMETER"
4589><I
4590>ns</I
4591></TT
4592> and <TT
4593CLASS="PARAMETER"
4594><I
4595>content</I
4596></TT
4597> parameters are optionnal (NULL). If content is non NULL,
4598a child list containing the TEXTs and ENTITY_REFs node will be created.</P
4599><P
4600></P
4601><DIV
4602CLASS="INFORMALTABLE"
4603><P
4604></P
4605><TABLE
4606BORDER="0"
4607WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004608BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004609CELLSPACING="0"
4610CELLPADDING="4"
4611CLASS="CALSTABLE"
4612><TR
4613><TD
4614WIDTH="20%"
4615ALIGN="RIGHT"
4616VALIGN="TOP"
4617><TT
4618CLASS="PARAMETER"
4619><I
4620>parent</I
4621></TT
4622>&nbsp;:</TD
4623><TD
4624WIDTH="80%"
4625ALIGN="LEFT"
4626VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004627> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004628></TR
4629><TR
4630><TD
4631WIDTH="20%"
4632ALIGN="RIGHT"
4633VALIGN="TOP"
4634><TT
4635CLASS="PARAMETER"
4636><I
4637>ns</I
4638></TT
4639>&nbsp;:</TD
4640><TD
4641WIDTH="80%"
4642ALIGN="LEFT"
4643VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004644> a namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004645></TR
4646><TR
4647><TD
4648WIDTH="20%"
4649ALIGN="RIGHT"
4650VALIGN="TOP"
4651><TT
4652CLASS="PARAMETER"
4653><I
4654>name</I
4655></TT
4656>&nbsp;:</TD
4657><TD
4658WIDTH="80%"
4659ALIGN="LEFT"
4660VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004661> the name of the child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004662></TR
4663><TR
4664><TD
4665WIDTH="20%"
4666ALIGN="RIGHT"
4667VALIGN="TOP"
4668><TT
4669CLASS="PARAMETER"
4670><I
4671>content</I
4672></TT
4673>&nbsp;:</TD
4674><TD
4675WIDTH="80%"
4676ALIGN="LEFT"
4677VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004678> the content of the child if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004679></TR
4680><TR
4681><TD
4682WIDTH="20%"
4683ALIGN="RIGHT"
4684VALIGN="TOP"
4685><I
4686CLASS="EMPHASIS"
4687>Returns</I
4688> :</TD
4689><TD
4690WIDTH="80%"
4691ALIGN="LEFT"
4692VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004693>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004694></TR
4695></TABLE
4696><P
4697></P
4698></DIV
4699></DIV
4700><HR><DIV
4701CLASS="REFSECT2"
4702><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004703NAME="AEN2967"
Daniel Veillard35925471999-02-25 08:46:07 +00004704></A
4705><H3
4706><A
4707NAME="XMLNEWDOCTEXT"
4708></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004709>xmlNewDocText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004710><TABLE
4711BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004712BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004713WIDTH="100%"
4714CELLPADDING="6"
4715><TR
4716><TD
4717><PRE
4718CLASS="PROGRAMLISTING"
4719><A
4720HREF="gnome-xml-tree.html#XMLNODEPTR"
4721>xmlNodePtr</A
4722> xmlNewDocText (<A
4723HREF="gnome-xml-tree.html#XMLDOCPTR"
4724>xmlDocPtr</A
4725> doc,
4726 const <A
4727HREF="gnome-xml-tree.html#CHAR"
4728>CHAR</A
4729> *content);</PRE
4730></TD
4731></TR
4732></TABLE
4733><P
4734>Creation of a new text node within a document.</P
4735><P
4736></P
4737><DIV
4738CLASS="INFORMALTABLE"
4739><P
4740></P
4741><TABLE
4742BORDER="0"
4743WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004744BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004745CELLSPACING="0"
4746CELLPADDING="4"
4747CLASS="CALSTABLE"
4748><TR
4749><TD
4750WIDTH="20%"
4751ALIGN="RIGHT"
4752VALIGN="TOP"
4753><TT
4754CLASS="PARAMETER"
4755><I
4756>doc</I
4757></TT
4758>&nbsp;:</TD
4759><TD
4760WIDTH="80%"
4761ALIGN="LEFT"
4762VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004763> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004764></TR
4765><TR
4766><TD
4767WIDTH="20%"
4768ALIGN="RIGHT"
4769VALIGN="TOP"
4770><TT
4771CLASS="PARAMETER"
4772><I
4773>content</I
4774></TT
4775>&nbsp;:</TD
4776><TD
4777WIDTH="80%"
4778ALIGN="LEFT"
4779VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004780> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004781></TR
4782><TR
4783><TD
4784WIDTH="20%"
4785ALIGN="RIGHT"
4786VALIGN="TOP"
4787><I
4788CLASS="EMPHASIS"
4789>Returns</I
4790> :</TD
4791><TD
4792WIDTH="80%"
4793ALIGN="LEFT"
4794VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004795>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004796></TR
4797></TABLE
4798><P
4799></P
4800></DIV
4801></DIV
4802><HR><DIV
4803CLASS="REFSECT2"
4804><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004805NAME="AEN2993"
Daniel Veillard35925471999-02-25 08:46:07 +00004806></A
4807><H3
4808><A
4809NAME="XMLNEWTEXT"
4810></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004811>xmlNewText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004812><TABLE
4813BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004814BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004815WIDTH="100%"
4816CELLPADDING="6"
4817><TR
4818><TD
4819><PRE
4820CLASS="PROGRAMLISTING"
4821><A
4822HREF="gnome-xml-tree.html#XMLNODEPTR"
4823>xmlNodePtr</A
4824> xmlNewText (const <A
4825HREF="gnome-xml-tree.html#CHAR"
4826>CHAR</A
4827> *content);</PRE
4828></TD
4829></TR
4830></TABLE
4831><P
4832>Creation of a new text node.</P
4833><P
4834></P
4835><DIV
4836CLASS="INFORMALTABLE"
4837><P
4838></P
4839><TABLE
4840BORDER="0"
4841WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004842BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004843CELLSPACING="0"
4844CELLPADDING="4"
4845CLASS="CALSTABLE"
4846><TR
4847><TD
4848WIDTH="20%"
4849ALIGN="RIGHT"
4850VALIGN="TOP"
4851><TT
4852CLASS="PARAMETER"
4853><I
4854>content</I
4855></TT
4856>&nbsp;:</TD
4857><TD
4858WIDTH="80%"
4859ALIGN="LEFT"
4860VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004861> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004862></TR
4863><TR
4864><TD
4865WIDTH="20%"
4866ALIGN="RIGHT"
4867VALIGN="TOP"
4868><I
4869CLASS="EMPHASIS"
4870>Returns</I
4871> :</TD
4872><TD
4873WIDTH="80%"
4874ALIGN="LEFT"
4875VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004876>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004877></TR
4878></TABLE
4879><P
4880></P
4881></DIV
4882></DIV
4883><HR><DIV
4884CLASS="REFSECT2"
4885><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004886NAME="AEN3014"
4887></A
4888><H3
4889><A
4890NAME="XMLNEWPI"
4891></A
4892>xmlNewPI ()</H3
4893><TABLE
4894BORDER="0"
4895BGCOLOR="#D6E8FF"
4896WIDTH="100%"
4897CELLPADDING="6"
4898><TR
4899><TD
4900><PRE
4901CLASS="PROGRAMLISTING"
4902><A
4903HREF="gnome-xml-tree.html#XMLNODEPTR"
4904>xmlNodePtr</A
4905> xmlNewPI (const <A
4906HREF="gnome-xml-tree.html#CHAR"
4907>CHAR</A
4908> *name,
4909 const <A
4910HREF="gnome-xml-tree.html#CHAR"
4911>CHAR</A
4912> *content);</PRE
4913></TD
4914></TR
4915></TABLE
4916><P
4917>Creation of a processing instruction element.</P
4918><P
4919></P
4920><DIV
4921CLASS="INFORMALTABLE"
4922><P
4923></P
4924><TABLE
4925BORDER="0"
4926WIDTH="100%"
4927BGCOLOR="#FFD0D0"
4928CELLSPACING="0"
4929CELLPADDING="4"
4930CLASS="CALSTABLE"
4931><TR
4932><TD
4933WIDTH="20%"
4934ALIGN="RIGHT"
4935VALIGN="TOP"
4936><TT
4937CLASS="PARAMETER"
4938><I
4939>name</I
4940></TT
4941>&nbsp;:</TD
4942><TD
4943WIDTH="80%"
4944ALIGN="LEFT"
4945VALIGN="TOP"
4946> the processing instruction name</TD
4947></TR
4948><TR
4949><TD
4950WIDTH="20%"
4951ALIGN="RIGHT"
4952VALIGN="TOP"
4953><TT
4954CLASS="PARAMETER"
4955><I
4956>content</I
4957></TT
4958>&nbsp;:</TD
4959><TD
4960WIDTH="80%"
4961ALIGN="LEFT"
4962VALIGN="TOP"
4963> the PI content</TD
4964></TR
4965><TR
4966><TD
4967WIDTH="20%"
4968ALIGN="RIGHT"
4969VALIGN="TOP"
4970><I
4971CLASS="EMPHASIS"
4972>Returns</I
4973> :</TD
4974><TD
4975WIDTH="80%"
4976ALIGN="LEFT"
4977VALIGN="TOP"
4978>a pointer to the new node object.</TD
4979></TR
4980></TABLE
4981><P
4982></P
4983></DIV
4984></DIV
4985><HR><DIV
4986CLASS="REFSECT2"
4987><A
4988NAME="AEN3040"
Daniel Veillard35925471999-02-25 08:46:07 +00004989></A
4990><H3
4991><A
4992NAME="XMLNEWDOCTEXTLEN"
4993></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004994>xmlNewDocTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004995><TABLE
4996BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004997BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004998WIDTH="100%"
4999CELLPADDING="6"
5000><TR
5001><TD
5002><PRE
5003CLASS="PROGRAMLISTING"
5004><A
5005HREF="gnome-xml-tree.html#XMLNODEPTR"
5006>xmlNodePtr</A
5007> xmlNewDocTextLen (<A
5008HREF="gnome-xml-tree.html#XMLDOCPTR"
5009>xmlDocPtr</A
5010> doc,
5011 const <A
5012HREF="gnome-xml-tree.html#CHAR"
5013>CHAR</A
5014> *content,
5015 int len);</PRE
5016></TD
5017></TR
5018></TABLE
5019><P
5020>Creation of a new text node with an extra content lenght parameter. The
5021text node pertain to a given document.</P
5022><P
5023></P
5024><DIV
5025CLASS="INFORMALTABLE"
5026><P
5027></P
5028><TABLE
5029BORDER="0"
5030WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005031BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005032CELLSPACING="0"
5033CELLPADDING="4"
5034CLASS="CALSTABLE"
5035><TR
5036><TD
5037WIDTH="20%"
5038ALIGN="RIGHT"
5039VALIGN="TOP"
5040><TT
5041CLASS="PARAMETER"
5042><I
5043>doc</I
5044></TT
5045>&nbsp;:</TD
5046><TD
5047WIDTH="80%"
5048ALIGN="LEFT"
5049VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005050> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005051></TR
5052><TR
5053><TD
5054WIDTH="20%"
5055ALIGN="RIGHT"
5056VALIGN="TOP"
5057><TT
5058CLASS="PARAMETER"
5059><I
5060>content</I
5061></TT
5062>&nbsp;:</TD
5063><TD
5064WIDTH="80%"
5065ALIGN="LEFT"
5066VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005067> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005068></TR
5069><TR
5070><TD
5071WIDTH="20%"
5072ALIGN="RIGHT"
5073VALIGN="TOP"
5074><TT
5075CLASS="PARAMETER"
5076><I
5077>len</I
5078></TT
5079>&nbsp;:</TD
5080><TD
5081WIDTH="80%"
5082ALIGN="LEFT"
5083VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005084> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005085></TR
5086><TR
5087><TD
5088WIDTH="20%"
5089ALIGN="RIGHT"
5090VALIGN="TOP"
5091><I
5092CLASS="EMPHASIS"
5093>Returns</I
5094> :</TD
5095><TD
5096WIDTH="80%"
5097ALIGN="LEFT"
5098VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005099>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005100></TR
5101></TABLE
5102><P
5103></P
5104></DIV
5105></DIV
5106><HR><DIV
5107CLASS="REFSECT2"
5108><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005109NAME="AEN3070"
Daniel Veillard35925471999-02-25 08:46:07 +00005110></A
5111><H3
5112><A
5113NAME="XMLNEWTEXTLEN"
5114></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005115>xmlNewTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005116><TABLE
5117BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005118BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005119WIDTH="100%"
5120CELLPADDING="6"
5121><TR
5122><TD
5123><PRE
5124CLASS="PROGRAMLISTING"
5125><A
5126HREF="gnome-xml-tree.html#XMLNODEPTR"
5127>xmlNodePtr</A
5128> xmlNewTextLen (const <A
5129HREF="gnome-xml-tree.html#CHAR"
5130>CHAR</A
5131> *content,
5132 int len);</PRE
5133></TD
5134></TR
5135></TABLE
5136><P
5137>Creation of a new text node with an extra parameter for the content's lenght</P
5138><P
5139></P
5140><DIV
5141CLASS="INFORMALTABLE"
5142><P
5143></P
5144><TABLE
5145BORDER="0"
5146WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005147BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005148CELLSPACING="0"
5149CELLPADDING="4"
5150CLASS="CALSTABLE"
5151><TR
5152><TD
5153WIDTH="20%"
5154ALIGN="RIGHT"
5155VALIGN="TOP"
5156><TT
5157CLASS="PARAMETER"
5158><I
5159>content</I
5160></TT
5161>&nbsp;:</TD
5162><TD
5163WIDTH="80%"
5164ALIGN="LEFT"
5165VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005166> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005167></TR
5168><TR
5169><TD
5170WIDTH="20%"
5171ALIGN="RIGHT"
5172VALIGN="TOP"
5173><TT
5174CLASS="PARAMETER"
5175><I
5176>len</I
5177></TT
5178>&nbsp;:</TD
5179><TD
5180WIDTH="80%"
5181ALIGN="LEFT"
5182VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005183> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005184></TR
5185><TR
5186><TD
5187WIDTH="20%"
5188ALIGN="RIGHT"
5189VALIGN="TOP"
5190><I
5191CLASS="EMPHASIS"
5192>Returns</I
5193> :</TD
5194><TD
5195WIDTH="80%"
5196ALIGN="LEFT"
5197VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005198>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005199></TR
5200></TABLE
5201><P
5202></P
5203></DIV
5204></DIV
5205><HR><DIV
5206CLASS="REFSECT2"
5207><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005208NAME="AEN3095"
Daniel Veillard35925471999-02-25 08:46:07 +00005209></A
5210><H3
5211><A
5212NAME="XMLNEWDOCCOMMENT"
5213></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005214>xmlNewDocComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005215><TABLE
5216BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005217BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005218WIDTH="100%"
5219CELLPADDING="6"
5220><TR
5221><TD
5222><PRE
5223CLASS="PROGRAMLISTING"
5224><A
5225HREF="gnome-xml-tree.html#XMLNODEPTR"
5226>xmlNodePtr</A
5227> xmlNewDocComment (<A
5228HREF="gnome-xml-tree.html#XMLDOCPTR"
5229>xmlDocPtr</A
5230> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +00005231 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00005232HREF="gnome-xml-tree.html#CHAR"
5233>CHAR</A
5234> *content);</PRE
5235></TD
5236></TR
5237></TABLE
5238><P
5239>Creation of a new node containing a commentwithin a document.</P
5240><P
5241></P
5242><DIV
5243CLASS="INFORMALTABLE"
5244><P
5245></P
5246><TABLE
5247BORDER="0"
5248WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005249BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005250CELLSPACING="0"
5251CELLPADDING="4"
5252CLASS="CALSTABLE"
5253><TR
5254><TD
5255WIDTH="20%"
5256ALIGN="RIGHT"
5257VALIGN="TOP"
5258><TT
5259CLASS="PARAMETER"
5260><I
5261>doc</I
5262></TT
5263>&nbsp;:</TD
5264><TD
5265WIDTH="80%"
5266ALIGN="LEFT"
5267VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005268> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005269></TR
5270><TR
5271><TD
5272WIDTH="20%"
5273ALIGN="RIGHT"
5274VALIGN="TOP"
5275><TT
5276CLASS="PARAMETER"
5277><I
5278>content</I
5279></TT
5280>&nbsp;:</TD
5281><TD
5282WIDTH="80%"
5283ALIGN="LEFT"
5284VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005285> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005286></TR
5287><TR
5288><TD
5289WIDTH="20%"
5290ALIGN="RIGHT"
5291VALIGN="TOP"
5292><I
5293CLASS="EMPHASIS"
5294>Returns</I
5295> :</TD
5296><TD
5297WIDTH="80%"
5298ALIGN="LEFT"
5299VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005300>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005301></TR
5302></TABLE
5303><P
5304></P
5305></DIV
5306></DIV
5307><HR><DIV
5308CLASS="REFSECT2"
5309><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005310NAME="AEN3121"
Daniel Veillard35925471999-02-25 08:46:07 +00005311></A
5312><H3
5313><A
5314NAME="XMLNEWCOMMENT"
5315></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005316>xmlNewComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005317><TABLE
5318BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005319BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005320WIDTH="100%"
5321CELLPADDING="6"
5322><TR
5323><TD
5324><PRE
5325CLASS="PROGRAMLISTING"
5326><A
5327HREF="gnome-xml-tree.html#XMLNODEPTR"
5328>xmlNodePtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005329> xmlNewComment (const <A
Daniel Veillard35925471999-02-25 08:46:07 +00005330HREF="gnome-xml-tree.html#CHAR"
5331>CHAR</A
5332> *content);</PRE
5333></TD
5334></TR
5335></TABLE
5336><P
5337>Creation of a new node containing a comment.</P
5338><P
5339></P
5340><DIV
5341CLASS="INFORMALTABLE"
5342><P
5343></P
5344><TABLE
5345BORDER="0"
5346WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005347BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005348CELLSPACING="0"
5349CELLPADDING="4"
5350CLASS="CALSTABLE"
5351><TR
5352><TD
5353WIDTH="20%"
5354ALIGN="RIGHT"
5355VALIGN="TOP"
5356><TT
5357CLASS="PARAMETER"
5358><I
5359>content</I
5360></TT
5361>&nbsp;:</TD
5362><TD
5363WIDTH="80%"
5364ALIGN="LEFT"
5365VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005366> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005367></TR
5368><TR
5369><TD
5370WIDTH="20%"
5371ALIGN="RIGHT"
5372VALIGN="TOP"
5373><I
5374CLASS="EMPHASIS"
5375>Returns</I
5376> :</TD
5377><TD
5378WIDTH="80%"
5379ALIGN="LEFT"
5380VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005381>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005382></TR
5383></TABLE
5384><P
5385></P
5386></DIV
5387></DIV
5388><HR><DIV
5389CLASS="REFSECT2"
5390><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005391NAME="AEN3142"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005392></A
5393><H3
5394><A
5395NAME="XMLNEWCDATABLOCK"
5396></A
5397>xmlNewCDataBlock ()</H3
5398><TABLE
5399BORDER="0"
5400BGCOLOR="#D6E8FF"
5401WIDTH="100%"
5402CELLPADDING="6"
5403><TR
5404><TD
5405><PRE
5406CLASS="PROGRAMLISTING"
5407><A
5408HREF="gnome-xml-tree.html#XMLNODEPTR"
5409>xmlNodePtr</A
5410> xmlNewCDataBlock (<A
5411HREF="gnome-xml-tree.html#XMLDOCPTR"
5412>xmlDocPtr</A
5413> doc,
5414 const <A
5415HREF="gnome-xml-tree.html#CHAR"
5416>CHAR</A
5417> *content,
5418 int len);</PRE
5419></TD
5420></TR
5421></TABLE
5422><P
5423>Creation of a new node containing a CData block.</P
5424><P
5425></P
5426><DIV
5427CLASS="INFORMALTABLE"
5428><P
5429></P
5430><TABLE
5431BORDER="0"
5432WIDTH="100%"
5433BGCOLOR="#FFD0D0"
5434CELLSPACING="0"
5435CELLPADDING="4"
5436CLASS="CALSTABLE"
5437><TR
5438><TD
5439WIDTH="20%"
5440ALIGN="RIGHT"
5441VALIGN="TOP"
5442><TT
5443CLASS="PARAMETER"
5444><I
5445>doc</I
5446></TT
5447>&nbsp;:</TD
5448><TD
5449WIDTH="80%"
5450ALIGN="LEFT"
5451VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005452> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005453></TR
5454><TR
5455><TD
5456WIDTH="20%"
5457ALIGN="RIGHT"
5458VALIGN="TOP"
5459><TT
5460CLASS="PARAMETER"
5461><I
5462>content</I
5463></TT
5464>&nbsp;:</TD
5465><TD
5466WIDTH="80%"
5467ALIGN="LEFT"
5468VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005469> the CData block content content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005470></TR
5471><TR
5472><TD
5473WIDTH="20%"
5474ALIGN="RIGHT"
5475VALIGN="TOP"
5476><TT
5477CLASS="PARAMETER"
5478><I
5479>len</I
5480></TT
5481>&nbsp;:</TD
5482><TD
5483WIDTH="80%"
5484ALIGN="LEFT"
5485VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005486> the length of the block</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005487></TR
5488><TR
5489><TD
5490WIDTH="20%"
5491ALIGN="RIGHT"
5492VALIGN="TOP"
5493><I
5494CLASS="EMPHASIS"
5495>Returns</I
5496> :</TD
5497><TD
5498WIDTH="80%"
5499ALIGN="LEFT"
5500VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005501>a pointer to the new node object.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005502></TR
5503></TABLE
5504><P
5505></P
5506></DIV
5507></DIV
5508><HR><DIV
5509CLASS="REFSECT2"
5510><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005511NAME="AEN3172"
Daniel Veillard35925471999-02-25 08:46:07 +00005512></A
5513><H3
5514><A
5515NAME="XMLNEWREFERENCE"
5516></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005517>xmlNewReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005518><TABLE
5519BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005520BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005521WIDTH="100%"
5522CELLPADDING="6"
5523><TR
5524><TD
5525><PRE
5526CLASS="PROGRAMLISTING"
5527><A
5528HREF="gnome-xml-tree.html#XMLNODEPTR"
5529>xmlNodePtr</A
5530> xmlNewReference (<A
5531HREF="gnome-xml-tree.html#XMLDOCPTR"
5532>xmlDocPtr</A
5533> doc,
5534 const <A
5535HREF="gnome-xml-tree.html#CHAR"
5536>CHAR</A
5537> *name);</PRE
5538></TD
5539></TR
5540></TABLE
5541><P
5542>Creation of a new reference node.</P
5543><P
5544></P
5545><DIV
5546CLASS="INFORMALTABLE"
5547><P
5548></P
5549><TABLE
5550BORDER="0"
5551WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005552BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005553CELLSPACING="0"
5554CELLPADDING="4"
5555CLASS="CALSTABLE"
5556><TR
5557><TD
5558WIDTH="20%"
5559ALIGN="RIGHT"
5560VALIGN="TOP"
5561><TT
5562CLASS="PARAMETER"
5563><I
5564>doc</I
5565></TT
5566>&nbsp;:</TD
5567><TD
5568WIDTH="80%"
5569ALIGN="LEFT"
5570VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005571> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005572></TR
5573><TR
5574><TD
5575WIDTH="20%"
5576ALIGN="RIGHT"
5577VALIGN="TOP"
5578><TT
5579CLASS="PARAMETER"
5580><I
5581>name</I
5582></TT
5583>&nbsp;:</TD
5584><TD
5585WIDTH="80%"
5586ALIGN="LEFT"
5587VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005588> the reference name, or the reference string with &amp; and ;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005589></TR
5590><TR
5591><TD
5592WIDTH="20%"
5593ALIGN="RIGHT"
5594VALIGN="TOP"
5595><I
5596CLASS="EMPHASIS"
5597>Returns</I
5598> :</TD
5599><TD
5600WIDTH="80%"
5601ALIGN="LEFT"
5602VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005603>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005604></TR
5605></TABLE
5606><P
5607></P
5608></DIV
5609></DIV
5610><HR><DIV
5611CLASS="REFSECT2"
5612><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005613NAME="AEN3198"
Daniel Veillard35925471999-02-25 08:46:07 +00005614></A
5615><H3
5616><A
5617NAME="XMLCOPYNODE"
5618></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005619>xmlCopyNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005620><TABLE
5621BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005622BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005623WIDTH="100%"
5624CELLPADDING="6"
5625><TR
5626><TD
5627><PRE
5628CLASS="PROGRAMLISTING"
5629><A
5630HREF="gnome-xml-tree.html#XMLNODEPTR"
5631>xmlNodePtr</A
5632> xmlCopyNode (<A
5633HREF="gnome-xml-tree.html#XMLNODEPTR"
5634>xmlNodePtr</A
5635> node,
5636 int recursive);</PRE
5637></TD
5638></TR
5639></TABLE
5640><P
5641>Do a copy of the node.</P
5642><P
5643></P
5644><DIV
5645CLASS="INFORMALTABLE"
5646><P
5647></P
5648><TABLE
5649BORDER="0"
5650WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005651BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005652CELLSPACING="0"
5653CELLPADDING="4"
5654CLASS="CALSTABLE"
5655><TR
5656><TD
5657WIDTH="20%"
5658ALIGN="RIGHT"
5659VALIGN="TOP"
5660><TT
5661CLASS="PARAMETER"
5662><I
5663>node</I
5664></TT
5665>&nbsp;:</TD
5666><TD
5667WIDTH="80%"
5668ALIGN="LEFT"
5669VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005670> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005671></TR
5672><TR
5673><TD
5674WIDTH="20%"
5675ALIGN="RIGHT"
5676VALIGN="TOP"
5677><TT
5678CLASS="PARAMETER"
5679><I
5680>recursive</I
5681></TT
5682>&nbsp;:</TD
5683><TD
5684WIDTH="80%"
5685ALIGN="LEFT"
5686VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005687> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005688></TR
5689><TR
5690><TD
5691WIDTH="20%"
5692ALIGN="RIGHT"
5693VALIGN="TOP"
5694><I
5695CLASS="EMPHASIS"
5696>Returns</I
5697> :</TD
5698><TD
5699WIDTH="80%"
5700ALIGN="LEFT"
5701VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005702> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005703></TR
5704></TABLE
5705><P
5706></P
5707></DIV
5708></DIV
5709><HR><DIV
5710CLASS="REFSECT2"
5711><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005712NAME="AEN3223"
Daniel Veillard35925471999-02-25 08:46:07 +00005713></A
5714><H3
5715><A
5716NAME="XMLCOPYNODELIST"
5717></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005718>xmlCopyNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005719><TABLE
5720BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005721BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005722WIDTH="100%"
5723CELLPADDING="6"
5724><TR
5725><TD
5726><PRE
5727CLASS="PROGRAMLISTING"
5728><A
5729HREF="gnome-xml-tree.html#XMLNODEPTR"
5730>xmlNodePtr</A
5731> xmlCopyNodeList (<A
5732HREF="gnome-xml-tree.html#XMLNODEPTR"
5733>xmlNodePtr</A
5734> node);</PRE
5735></TD
5736></TR
5737></TABLE
5738><P
5739>Do a recursive copy of the node list.</P
5740><P
5741></P
5742><DIV
5743CLASS="INFORMALTABLE"
5744><P
5745></P
5746><TABLE
5747BORDER="0"
5748WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005749BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005750CELLSPACING="0"
5751CELLPADDING="4"
5752CLASS="CALSTABLE"
5753><TR
5754><TD
5755WIDTH="20%"
5756ALIGN="RIGHT"
5757VALIGN="TOP"
5758><TT
5759CLASS="PARAMETER"
5760><I
5761>node</I
5762></TT
5763>&nbsp;:</TD
5764><TD
5765WIDTH="80%"
5766ALIGN="LEFT"
5767VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005768> the first node in the list.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005769></TR
5770><TR
5771><TD
5772WIDTH="20%"
5773ALIGN="RIGHT"
5774VALIGN="TOP"
5775><I
5776CLASS="EMPHASIS"
5777>Returns</I
5778> :</TD
5779><TD
5780WIDTH="80%"
5781ALIGN="LEFT"
5782VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005783> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005784></TR
5785></TABLE
5786><P
5787></P
5788></DIV
5789></DIV
5790><HR><DIV
5791CLASS="REFSECT2"
5792><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005793NAME="AEN3244"
Daniel Veillard35925471999-02-25 08:46:07 +00005794></A
5795><H3
5796><A
5797NAME="XMLGETLASTCHILD"
5798></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005799>xmlGetLastChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005800><TABLE
5801BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005802BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005803WIDTH="100%"
5804CELLPADDING="6"
5805><TR
5806><TD
5807><PRE
5808CLASS="PROGRAMLISTING"
5809><A
5810HREF="gnome-xml-tree.html#XMLNODEPTR"
5811>xmlNodePtr</A
5812> xmlGetLastChild (<A
5813HREF="gnome-xml-tree.html#XMLNODEPTR"
5814>xmlNodePtr</A
5815> parent);</PRE
5816></TD
5817></TR
5818></TABLE
5819><P
5820>Search the last child of a node.</P
5821><P
5822></P
5823><DIV
5824CLASS="INFORMALTABLE"
5825><P
5826></P
5827><TABLE
5828BORDER="0"
5829WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005830BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005831CELLSPACING="0"
5832CELLPADDING="4"
5833CLASS="CALSTABLE"
5834><TR
5835><TD
5836WIDTH="20%"
5837ALIGN="RIGHT"
5838VALIGN="TOP"
5839><TT
5840CLASS="PARAMETER"
5841><I
5842>parent</I
5843></TT
5844>&nbsp;:</TD
5845><TD
5846WIDTH="80%"
5847ALIGN="LEFT"
5848VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005849> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005850></TR
5851><TR
5852><TD
5853WIDTH="20%"
5854ALIGN="RIGHT"
5855VALIGN="TOP"
5856><I
5857CLASS="EMPHASIS"
5858>Returns</I
5859> :</TD
5860><TD
5861WIDTH="80%"
5862ALIGN="LEFT"
5863VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005864>the last child or NULL if none.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005865></TR
5866></TABLE
5867><P
5868></P
5869></DIV
5870></DIV
5871><HR><DIV
5872CLASS="REFSECT2"
5873><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005874NAME="AEN3265"
Daniel Veillard35925471999-02-25 08:46:07 +00005875></A
5876><H3
5877><A
5878NAME="XMLNODEISTEXT"
5879></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005880>xmlNodeIsText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005881><TABLE
5882BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005883BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005884WIDTH="100%"
5885CELLPADDING="6"
5886><TR
5887><TD
5888><PRE
5889CLASS="PROGRAMLISTING"
5890>int xmlNodeIsText (<A
5891HREF="gnome-xml-tree.html#XMLNODEPTR"
5892>xmlNodePtr</A
5893> node);</PRE
5894></TD
5895></TR
5896></TABLE
5897><P
5898>Is this node a Text node ?</P
5899><P
5900></P
5901><DIV
5902CLASS="INFORMALTABLE"
5903><P
5904></P
5905><TABLE
5906BORDER="0"
5907WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005908BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005909CELLSPACING="0"
5910CELLPADDING="4"
5911CLASS="CALSTABLE"
5912><TR
5913><TD
5914WIDTH="20%"
5915ALIGN="RIGHT"
5916VALIGN="TOP"
5917><TT
5918CLASS="PARAMETER"
5919><I
5920>node</I
5921></TT
5922>&nbsp;:</TD
5923><TD
5924WIDTH="80%"
5925ALIGN="LEFT"
5926VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005927> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005928></TR
5929><TR
5930><TD
5931WIDTH="20%"
5932ALIGN="RIGHT"
5933VALIGN="TOP"
5934><I
5935CLASS="EMPHASIS"
5936>Returns</I
5937> :</TD
5938><TD
5939WIDTH="80%"
5940ALIGN="LEFT"
5941VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005942>1 yes, 0 no</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005943></TR
5944></TABLE
5945><P
5946></P
5947></DIV
5948></DIV
5949><HR><DIV
5950CLASS="REFSECT2"
5951><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005952NAME="AEN3285"
Daniel Veillard35925471999-02-25 08:46:07 +00005953></A
5954><H3
5955><A
5956NAME="XMLADDCHILD"
5957></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005958>xmlAddChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005959><TABLE
5960BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005961BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005962WIDTH="100%"
5963CELLPADDING="6"
5964><TR
5965><TD
5966><PRE
5967CLASS="PROGRAMLISTING"
5968><A
5969HREF="gnome-xml-tree.html#XMLNODEPTR"
5970>xmlNodePtr</A
5971> xmlAddChild (<A
5972HREF="gnome-xml-tree.html#XMLNODEPTR"
5973>xmlNodePtr</A
5974> parent,
5975 <A
5976HREF="gnome-xml-tree.html#XMLNODEPTR"
5977>xmlNodePtr</A
5978> cur);</PRE
5979></TD
5980></TR
5981></TABLE
5982><P
5983>Add a new child element, to <TT
5984CLASS="PARAMETER"
5985><I
5986>parent</I
5987></TT
5988>, at the end of the child list.</P
5989><P
5990></P
5991><DIV
5992CLASS="INFORMALTABLE"
5993><P
5994></P
5995><TABLE
5996BORDER="0"
5997WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005998BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005999CELLSPACING="0"
6000CELLPADDING="4"
6001CLASS="CALSTABLE"
6002><TR
6003><TD
6004WIDTH="20%"
6005ALIGN="RIGHT"
6006VALIGN="TOP"
6007><TT
6008CLASS="PARAMETER"
6009><I
6010>parent</I
6011></TT
6012>&nbsp;:</TD
6013><TD
6014WIDTH="80%"
6015ALIGN="LEFT"
6016VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006017> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006018></TR
6019><TR
6020><TD
6021WIDTH="20%"
6022ALIGN="RIGHT"
6023VALIGN="TOP"
6024><TT
6025CLASS="PARAMETER"
6026><I
6027>cur</I
6028></TT
6029>&nbsp;:</TD
6030><TD
6031WIDTH="80%"
6032ALIGN="LEFT"
6033VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006034> the child node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006035></TR
6036><TR
6037><TD
6038WIDTH="20%"
6039ALIGN="RIGHT"
6040VALIGN="TOP"
6041><I
6042CLASS="EMPHASIS"
6043>Returns</I
6044> :</TD
6045><TD
6046WIDTH="80%"
6047ALIGN="LEFT"
6048VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006049>the child or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006050></TR
6051></TABLE
6052><P
6053></P
6054></DIV
6055></DIV
6056><HR><DIV
6057CLASS="REFSECT2"
6058><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006059NAME="AEN3312"
6060></A
6061><H3
6062><A
6063NAME="XMLADDSIBLING"
6064></A
6065>xmlAddSibling ()</H3
6066><TABLE
6067BORDER="0"
6068BGCOLOR="#D6E8FF"
6069WIDTH="100%"
6070CELLPADDING="6"
6071><TR
6072><TD
6073><PRE
6074CLASS="PROGRAMLISTING"
6075><A
6076HREF="gnome-xml-tree.html#XMLNODEPTR"
6077>xmlNodePtr</A
6078> xmlAddSibling (<A
6079HREF="gnome-xml-tree.html#XMLNODEPTR"
6080>xmlNodePtr</A
6081> cur,
6082 <A
6083HREF="gnome-xml-tree.html#XMLNODEPTR"
6084>xmlNodePtr</A
6085> elem);</PRE
6086></TD
6087></TR
6088></TABLE
6089><P
6090>Add a new element to the list of siblings of <TT
6091CLASS="PARAMETER"
6092><I
6093>cur</I
6094></TT
6095></P
6096><P
6097></P
6098><DIV
6099CLASS="INFORMALTABLE"
6100><P
6101></P
6102><TABLE
6103BORDER="0"
6104WIDTH="100%"
6105BGCOLOR="#FFD0D0"
6106CELLSPACING="0"
6107CELLPADDING="4"
6108CLASS="CALSTABLE"
6109><TR
6110><TD
6111WIDTH="20%"
6112ALIGN="RIGHT"
6113VALIGN="TOP"
6114><TT
6115CLASS="PARAMETER"
6116><I
6117>cur</I
6118></TT
6119>&nbsp;:</TD
6120><TD
6121WIDTH="80%"
6122ALIGN="LEFT"
6123VALIGN="TOP"
6124> the child node</TD
6125></TR
6126><TR
6127><TD
6128WIDTH="20%"
6129ALIGN="RIGHT"
6130VALIGN="TOP"
6131><TT
6132CLASS="PARAMETER"
6133><I
6134>elem</I
6135></TT
6136>&nbsp;:</TD
6137><TD
6138WIDTH="80%"
6139ALIGN="LEFT"
6140VALIGN="TOP"
6141> the new node</TD
6142></TR
6143><TR
6144><TD
6145WIDTH="20%"
6146ALIGN="RIGHT"
6147VALIGN="TOP"
6148><I
6149CLASS="EMPHASIS"
6150>Returns</I
6151> :</TD
6152><TD
6153WIDTH="80%"
6154ALIGN="LEFT"
6155VALIGN="TOP"
6156>the element or NULL in case of error.</TD
6157></TR
6158></TABLE
6159><P
6160></P
6161></DIV
6162></DIV
6163><HR><DIV
6164CLASS="REFSECT2"
6165><A
6166NAME="AEN3339"
Daniel Veillard35925471999-02-25 08:46:07 +00006167></A
6168><H3
6169><A
6170NAME="XMLUNLINKNODE"
6171></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006172>xmlUnlinkNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006173><TABLE
6174BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006175BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006176WIDTH="100%"
6177CELLPADDING="6"
6178><TR
6179><TD
6180><PRE
6181CLASS="PROGRAMLISTING"
6182>void xmlUnlinkNode (<A
6183HREF="gnome-xml-tree.html#XMLNODEPTR"
6184>xmlNodePtr</A
6185> cur);</PRE
6186></TD
6187></TR
6188></TABLE
6189><P
6190>Unlink a node from it's current context, the node is not freed</P
6191><P
6192></P
6193><DIV
6194CLASS="INFORMALTABLE"
6195><P
6196></P
6197><TABLE
6198BORDER="0"
6199WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006200BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006201CELLSPACING="0"
6202CELLPADDING="4"
6203CLASS="CALSTABLE"
6204><TR
6205><TD
6206WIDTH="20%"
6207ALIGN="RIGHT"
6208VALIGN="TOP"
6209><TT
6210CLASS="PARAMETER"
6211><I
6212>cur</I
6213></TT
6214>&nbsp;:</TD
6215><TD
6216WIDTH="80%"
6217ALIGN="LEFT"
6218VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006219> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006220></TR
6221></TABLE
6222><P
6223></P
6224></DIV
6225></DIV
6226><HR><DIV
6227CLASS="REFSECT2"
6228><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006229NAME="AEN3355"
Daniel Veillard35925471999-02-25 08:46:07 +00006230></A
6231><H3
6232><A
6233NAME="XMLTEXTMERGE"
6234></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006235>xmlTextMerge ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006236><TABLE
6237BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006238BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006239WIDTH="100%"
6240CELLPADDING="6"
6241><TR
6242><TD
6243><PRE
6244CLASS="PROGRAMLISTING"
6245><A
6246HREF="gnome-xml-tree.html#XMLNODEPTR"
6247>xmlNodePtr</A
6248> xmlTextMerge (<A
6249HREF="gnome-xml-tree.html#XMLNODEPTR"
6250>xmlNodePtr</A
6251> first,
6252 <A
6253HREF="gnome-xml-tree.html#XMLNODEPTR"
6254>xmlNodePtr</A
6255> second);</PRE
6256></TD
6257></TR
6258></TABLE
6259><P
6260>Merge two text nodes into one</P
6261><P
6262></P
6263><DIV
6264CLASS="INFORMALTABLE"
6265><P
6266></P
6267><TABLE
6268BORDER="0"
6269WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006270BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006271CELLSPACING="0"
6272CELLPADDING="4"
6273CLASS="CALSTABLE"
6274><TR
6275><TD
6276WIDTH="20%"
6277ALIGN="RIGHT"
6278VALIGN="TOP"
6279><TT
6280CLASS="PARAMETER"
6281><I
6282>first</I
6283></TT
6284>&nbsp;:</TD
6285><TD
6286WIDTH="80%"
6287ALIGN="LEFT"
6288VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006289> the first text node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006290></TR
6291><TR
6292><TD
6293WIDTH="20%"
6294ALIGN="RIGHT"
6295VALIGN="TOP"
6296><TT
6297CLASS="PARAMETER"
6298><I
6299>second</I
6300></TT
6301>&nbsp;:</TD
6302><TD
6303WIDTH="80%"
6304ALIGN="LEFT"
6305VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006306> the second text node being merged</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006307></TR
6308><TR
6309><TD
6310WIDTH="20%"
6311ALIGN="RIGHT"
6312VALIGN="TOP"
6313><I
6314CLASS="EMPHASIS"
6315>Returns</I
6316> :</TD
6317><TD
6318WIDTH="80%"
6319ALIGN="LEFT"
6320VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006321>the first text node augmented</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006322></TR
6323></TABLE
6324><P
6325></P
6326></DIV
6327></DIV
6328><HR><DIV
6329CLASS="REFSECT2"
6330><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006331NAME="AEN3381"
Daniel Veillard35925471999-02-25 08:46:07 +00006332></A
6333><H3
6334><A
6335NAME="XMLTEXTCONCAT"
6336></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006337>xmlTextConcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006338><TABLE
6339BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006340BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006341WIDTH="100%"
6342CELLPADDING="6"
6343><TR
6344><TD
6345><PRE
6346CLASS="PROGRAMLISTING"
6347>void xmlTextConcat (<A
6348HREF="gnome-xml-tree.html#XMLNODEPTR"
6349>xmlNodePtr</A
6350> node,
6351 const <A
6352HREF="gnome-xml-tree.html#CHAR"
6353>CHAR</A
6354> *content,
6355 int len);</PRE
6356></TD
6357></TR
6358></TABLE
6359><P
6360>Concat the given string at the end of the existing node content</P
6361><P
6362></P
6363><DIV
6364CLASS="INFORMALTABLE"
6365><P
6366></P
6367><TABLE
6368BORDER="0"
6369WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006370BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006371CELLSPACING="0"
6372CELLPADDING="4"
6373CLASS="CALSTABLE"
6374><TR
6375><TD
6376WIDTH="20%"
6377ALIGN="RIGHT"
6378VALIGN="TOP"
6379><TT
6380CLASS="PARAMETER"
6381><I
6382>node</I
6383></TT
6384>&nbsp;:</TD
6385><TD
6386WIDTH="80%"
6387ALIGN="LEFT"
6388VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006389> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006390></TR
6391><TR
6392><TD
6393WIDTH="20%"
6394ALIGN="RIGHT"
6395VALIGN="TOP"
6396><TT
6397CLASS="PARAMETER"
6398><I
6399>content</I
6400></TT
6401>&nbsp;:</TD
6402><TD
6403WIDTH="80%"
6404ALIGN="LEFT"
6405VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006406> the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006407></TR
6408><TR
6409><TD
6410WIDTH="20%"
6411ALIGN="RIGHT"
6412VALIGN="TOP"
6413><TT
6414CLASS="PARAMETER"
6415><I
6416>len</I
6417></TT
6418>&nbsp;:</TD
6419><TD
6420WIDTH="80%"
6421ALIGN="LEFT"
6422VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006423> <TT
6424CLASS="PARAMETER"
6425><I
6426>content</I
6427></TT
6428> lenght</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006429></TR
6430></TABLE
6431><P
6432></P
6433></DIV
6434></DIV
6435><HR><DIV
6436CLASS="REFSECT2"
6437><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006438NAME="AEN3407"
Daniel Veillard35925471999-02-25 08:46:07 +00006439></A
6440><H3
6441><A
6442NAME="XMLFREENODELIST"
6443></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006444>xmlFreeNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006445><TABLE
6446BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006447BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006448WIDTH="100%"
6449CELLPADDING="6"
6450><TR
6451><TD
6452><PRE
6453CLASS="PROGRAMLISTING"
6454>void xmlFreeNodeList (<A
6455HREF="gnome-xml-tree.html#XMLNODEPTR"
6456>xmlNodePtr</A
6457> cur);</PRE
6458></TD
6459></TR
6460></TABLE
6461><P
6462>Free a node and all its siblings, this is a recursive behaviour, all
6463the childs are freed too.</P
6464><P
6465></P
6466><DIV
6467CLASS="INFORMALTABLE"
6468><P
6469></P
6470><TABLE
6471BORDER="0"
6472WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006473BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006474CELLSPACING="0"
6475CELLPADDING="4"
6476CLASS="CALSTABLE"
6477><TR
6478><TD
6479WIDTH="20%"
6480ALIGN="RIGHT"
6481VALIGN="TOP"
6482><TT
6483CLASS="PARAMETER"
6484><I
6485>cur</I
6486></TT
6487>&nbsp;:</TD
6488><TD
6489WIDTH="80%"
6490ALIGN="LEFT"
6491VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006492> the first node in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006493></TR
6494></TABLE
6495><P
6496></P
6497></DIV
6498></DIV
6499><HR><DIV
6500CLASS="REFSECT2"
6501><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006502NAME="AEN3423"
Daniel Veillard35925471999-02-25 08:46:07 +00006503></A
6504><H3
6505><A
6506NAME="XMLFREENODE"
6507></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006508>xmlFreeNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006509><TABLE
6510BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006511BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006512WIDTH="100%"
6513CELLPADDING="6"
6514><TR
6515><TD
6516><PRE
6517CLASS="PROGRAMLISTING"
6518>void xmlFreeNode (<A
6519HREF="gnome-xml-tree.html#XMLNODEPTR"
6520>xmlNodePtr</A
6521> cur);</PRE
6522></TD
6523></TR
6524></TABLE
6525><P
6526>Free a node, this is a recursive behaviour, all the childs are freed too.</P
6527><P
6528></P
6529><DIV
6530CLASS="INFORMALTABLE"
6531><P
6532></P
6533><TABLE
6534BORDER="0"
6535WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006536BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006537CELLSPACING="0"
6538CELLPADDING="4"
6539CLASS="CALSTABLE"
6540><TR
6541><TD
6542WIDTH="20%"
6543ALIGN="RIGHT"
6544VALIGN="TOP"
6545><TT
6546CLASS="PARAMETER"
6547><I
6548>cur</I
6549></TT
6550>&nbsp;:</TD
6551><TD
6552WIDTH="80%"
6553ALIGN="LEFT"
6554VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006555> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006556></TR
6557></TABLE
6558><P
6559></P
6560></DIV
6561></DIV
6562><HR><DIV
6563CLASS="REFSECT2"
6564><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006565NAME="AEN3439"
Daniel Veillard35925471999-02-25 08:46:07 +00006566></A
6567><H3
6568><A
6569NAME="XMLSEARCHNS"
6570></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006571>xmlSearchNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006572><TABLE
6573BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006574BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006575WIDTH="100%"
6576CELLPADDING="6"
6577><TR
6578><TD
6579><PRE
6580CLASS="PROGRAMLISTING"
6581><A
6582HREF="gnome-xml-tree.html#XMLNSPTR"
6583>xmlNsPtr</A
6584> xmlSearchNs (<A
6585HREF="gnome-xml-tree.html#XMLDOCPTR"
6586>xmlDocPtr</A
6587> doc,
6588 <A
6589HREF="gnome-xml-tree.html#XMLNODEPTR"
6590>xmlNodePtr</A
6591> node,
6592 const <A
6593HREF="gnome-xml-tree.html#CHAR"
6594>CHAR</A
6595> *nameSpace);</PRE
6596></TD
6597></TR
6598></TABLE
6599><P
6600>Search a Ns registered under a given name space for a document.
6601recurse on the parents until it finds the defined namespace
6602or return NULL otherwise.
6603<TT
6604CLASS="PARAMETER"
6605><I
6606>nameSpace</I
6607></TT
6608> can be NULL, this is a search for the default namespace.</P
6609><P
6610></P
6611><DIV
6612CLASS="INFORMALTABLE"
6613><P
6614></P
6615><TABLE
6616BORDER="0"
6617WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006618BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006619CELLSPACING="0"
6620CELLPADDING="4"
6621CLASS="CALSTABLE"
6622><TR
6623><TD
6624WIDTH="20%"
6625ALIGN="RIGHT"
6626VALIGN="TOP"
6627><TT
6628CLASS="PARAMETER"
6629><I
6630>doc</I
6631></TT
6632>&nbsp;:</TD
6633><TD
6634WIDTH="80%"
6635ALIGN="LEFT"
6636VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006637> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006638></TR
6639><TR
6640><TD
6641WIDTH="20%"
6642ALIGN="RIGHT"
6643VALIGN="TOP"
6644><TT
6645CLASS="PARAMETER"
6646><I
6647>node</I
6648></TT
6649>&nbsp;:</TD
6650><TD
6651WIDTH="80%"
6652ALIGN="LEFT"
6653VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006654> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006655></TR
6656><TR
6657><TD
6658WIDTH="20%"
6659ALIGN="RIGHT"
6660VALIGN="TOP"
6661><TT
6662CLASS="PARAMETER"
6663><I
6664>nameSpace</I
6665></TT
6666>&nbsp;:</TD
6667><TD
6668WIDTH="80%"
6669ALIGN="LEFT"
6670VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006671> the namespace string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006672></TR
6673><TR
6674><TD
6675WIDTH="20%"
6676ALIGN="RIGHT"
6677VALIGN="TOP"
6678><I
6679CLASS="EMPHASIS"
6680>Returns</I
6681> :</TD
6682><TD
6683WIDTH="80%"
6684ALIGN="LEFT"
6685VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006686>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006687></TR
6688></TABLE
6689><P
6690></P
6691></DIV
6692></DIV
6693><HR><DIV
6694CLASS="REFSECT2"
6695><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006696NAME="AEN3471"
Daniel Veillard35925471999-02-25 08:46:07 +00006697></A
6698><H3
6699><A
6700NAME="XMLSEARCHNSBYHREF"
6701></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006702>xmlSearchNsByHref ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006703><TABLE
6704BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006705BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006706WIDTH="100%"
6707CELLPADDING="6"
6708><TR
6709><TD
6710><PRE
6711CLASS="PROGRAMLISTING"
6712><A
6713HREF="gnome-xml-tree.html#XMLNSPTR"
6714>xmlNsPtr</A
6715> xmlSearchNsByHref (<A
6716HREF="gnome-xml-tree.html#XMLDOCPTR"
6717>xmlDocPtr</A
6718> doc,
6719 <A
6720HREF="gnome-xml-tree.html#XMLNODEPTR"
6721>xmlNodePtr</A
6722> node,
6723 const <A
6724HREF="gnome-xml-tree.html#CHAR"
6725>CHAR</A
6726> *href);</PRE
6727></TD
6728></TR
6729></TABLE
6730><P
6731>Search a Ns aliasing a given URI. Recurse on the parents until it finds
6732the defined namespace or return NULL otherwise.</P
6733><P
6734></P
6735><DIV
6736CLASS="INFORMALTABLE"
6737><P
6738></P
6739><TABLE
6740BORDER="0"
6741WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006742BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006743CELLSPACING="0"
6744CELLPADDING="4"
6745CLASS="CALSTABLE"
6746><TR
6747><TD
6748WIDTH="20%"
6749ALIGN="RIGHT"
6750VALIGN="TOP"
6751><TT
6752CLASS="PARAMETER"
6753><I
6754>doc</I
6755></TT
6756>&nbsp;:</TD
6757><TD
6758WIDTH="80%"
6759ALIGN="LEFT"
6760VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006761> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006762></TR
6763><TR
6764><TD
6765WIDTH="20%"
6766ALIGN="RIGHT"
6767VALIGN="TOP"
6768><TT
6769CLASS="PARAMETER"
6770><I
6771>node</I
6772></TT
6773>&nbsp;:</TD
6774><TD
6775WIDTH="80%"
6776ALIGN="LEFT"
6777VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006778> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006779></TR
6780><TR
6781><TD
6782WIDTH="20%"
6783ALIGN="RIGHT"
6784VALIGN="TOP"
6785><TT
6786CLASS="PARAMETER"
6787><I
6788>href</I
6789></TT
6790>&nbsp;:</TD
6791><TD
6792WIDTH="80%"
6793ALIGN="LEFT"
6794VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006795> the namespace value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006796></TR
6797><TR
6798><TD
6799WIDTH="20%"
6800ALIGN="RIGHT"
6801VALIGN="TOP"
6802><I
6803CLASS="EMPHASIS"
6804>Returns</I
6805> :</TD
6806><TD
6807WIDTH="80%"
6808ALIGN="LEFT"
6809VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006810>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006811></TR
6812></TABLE
6813><P
6814></P
6815></DIV
6816></DIV
6817><HR><DIV
6818CLASS="REFSECT2"
6819><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006820NAME="AEN3502"
6821></A
6822><H3
6823><A
6824NAME="XMLGETNSLIST"
6825></A
6826>xmlGetNsList ()</H3
6827><TABLE
6828BORDER="0"
6829BGCOLOR="#D6E8FF"
6830WIDTH="100%"
6831CELLPADDING="6"
6832><TR
6833><TD
6834><PRE
6835CLASS="PROGRAMLISTING"
6836><A
6837HREF="gnome-xml-tree.html#XMLNSPTR"
6838>xmlNsPtr</A
6839>* xmlGetNsList (<A
6840HREF="gnome-xml-tree.html#XMLDOCPTR"
6841>xmlDocPtr</A
6842> doc,
6843 <A
6844HREF="gnome-xml-tree.html#XMLNODEPTR"
6845>xmlNodePtr</A
6846> node);</PRE
6847></TD
6848></TR
6849></TABLE
6850><P
6851>Search all the namespace applying to a given element.</P
6852><P
6853></P
6854><DIV
6855CLASS="INFORMALTABLE"
6856><P
6857></P
6858><TABLE
6859BORDER="0"
6860WIDTH="100%"
6861BGCOLOR="#FFD0D0"
6862CELLSPACING="0"
6863CELLPADDING="4"
6864CLASS="CALSTABLE"
6865><TR
6866><TD
6867WIDTH="20%"
6868ALIGN="RIGHT"
6869VALIGN="TOP"
6870><TT
6871CLASS="PARAMETER"
6872><I
6873>doc</I
6874></TT
6875>&nbsp;:</TD
6876><TD
6877WIDTH="80%"
6878ALIGN="LEFT"
6879VALIGN="TOP"
6880> the document</TD
6881></TR
6882><TR
6883><TD
6884WIDTH="20%"
6885ALIGN="RIGHT"
6886VALIGN="TOP"
6887><TT
6888CLASS="PARAMETER"
6889><I
6890>node</I
6891></TT
6892>&nbsp;:</TD
6893><TD
6894WIDTH="80%"
6895ALIGN="LEFT"
6896VALIGN="TOP"
6897> the current node</TD
6898></TR
6899><TR
6900><TD
6901WIDTH="20%"
6902ALIGN="RIGHT"
6903VALIGN="TOP"
6904><I
6905CLASS="EMPHASIS"
6906>Returns</I
6907> :</TD
6908><TD
6909WIDTH="80%"
6910ALIGN="LEFT"
6911VALIGN="TOP"
6912>an NULL terminated array of all the xmlNsPtr found
6913that need to be freed by the caller or NULL if no
6914namespace if defined</TD
6915></TR
6916></TABLE
6917><P
6918></P
6919></DIV
6920></DIV
6921><HR><DIV
6922CLASS="REFSECT2"
6923><A
6924NAME="AEN3528"
Daniel Veillard35925471999-02-25 08:46:07 +00006925></A
6926><H3
6927><A
6928NAME="XMLSETNS"
6929></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006930>xmlSetNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006931><TABLE
6932BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006933BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006934WIDTH="100%"
6935CELLPADDING="6"
6936><TR
6937><TD
6938><PRE
6939CLASS="PROGRAMLISTING"
6940>void xmlSetNs (<A
6941HREF="gnome-xml-tree.html#XMLNODEPTR"
6942>xmlNodePtr</A
6943> node,
6944 <A
6945HREF="gnome-xml-tree.html#XMLNSPTR"
6946>xmlNsPtr</A
6947> ns);</PRE
6948></TD
6949></TR
6950></TABLE
6951><P
6952>Associate a namespace to a node, a posteriori.</P
6953><P
6954></P
6955><DIV
6956CLASS="INFORMALTABLE"
6957><P
6958></P
6959><TABLE
6960BORDER="0"
6961WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006962BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006963CELLSPACING="0"
6964CELLPADDING="4"
6965CLASS="CALSTABLE"
6966><TR
6967><TD
6968WIDTH="20%"
6969ALIGN="RIGHT"
6970VALIGN="TOP"
6971><TT
6972CLASS="PARAMETER"
6973><I
6974>node</I
6975></TT
6976>&nbsp;:</TD
6977><TD
6978WIDTH="80%"
6979ALIGN="LEFT"
6980VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006981> a node in the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006982></TR
6983><TR
6984><TD
6985WIDTH="20%"
6986ALIGN="RIGHT"
6987VALIGN="TOP"
6988><TT
6989CLASS="PARAMETER"
6990><I
6991>ns</I
6992></TT
6993>&nbsp;:</TD
6994><TD
6995WIDTH="80%"
6996ALIGN="LEFT"
6997VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006998> a namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006999></TR
7000></TABLE
7001><P
7002></P
7003></DIV
7004></DIV
7005><HR><DIV
7006CLASS="REFSECT2"
7007><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007008NAME="AEN3549"
Daniel Veillard35925471999-02-25 08:46:07 +00007009></A
7010><H3
7011><A
7012NAME="XMLCOPYNAMESPACE"
7013></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007014>xmlCopyNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007015><TABLE
7016BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007017BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007018WIDTH="100%"
7019CELLPADDING="6"
7020><TR
7021><TD
7022><PRE
7023CLASS="PROGRAMLISTING"
7024><A
7025HREF="gnome-xml-tree.html#XMLNSPTR"
7026>xmlNsPtr</A
7027> xmlCopyNamespace (<A
7028HREF="gnome-xml-tree.html#XMLNSPTR"
7029>xmlNsPtr</A
7030> cur);</PRE
7031></TD
7032></TR
7033></TABLE
7034><P
7035>Do a copy of the namespace.</P
7036><P
7037></P
7038><DIV
7039CLASS="INFORMALTABLE"
7040><P
7041></P
7042><TABLE
7043BORDER="0"
7044WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007045BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007046CELLSPACING="0"
7047CELLPADDING="4"
7048CLASS="CALSTABLE"
7049><TR
7050><TD
7051WIDTH="20%"
7052ALIGN="RIGHT"
7053VALIGN="TOP"
7054><TT
7055CLASS="PARAMETER"
7056><I
7057>cur</I
7058></TT
7059>&nbsp;:</TD
7060><TD
7061WIDTH="80%"
7062ALIGN="LEFT"
7063VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007064> the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007065></TR
7066><TR
7067><TD
7068WIDTH="20%"
7069ALIGN="RIGHT"
7070VALIGN="TOP"
7071><I
7072CLASS="EMPHASIS"
7073>Returns</I
7074> :</TD
7075><TD
7076WIDTH="80%"
7077ALIGN="LEFT"
7078VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007079> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007080></TR
7081></TABLE
7082><P
7083></P
7084></DIV
7085></DIV
7086><HR><DIV
7087CLASS="REFSECT2"
7088><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007089NAME="AEN3570"
Daniel Veillard35925471999-02-25 08:46:07 +00007090></A
7091><H3
7092><A
7093NAME="XMLCOPYNAMESPACELIST"
7094></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007095>xmlCopyNamespaceList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007096><TABLE
7097BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007098BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007099WIDTH="100%"
7100CELLPADDING="6"
7101><TR
7102><TD
7103><PRE
7104CLASS="PROGRAMLISTING"
7105><A
7106HREF="gnome-xml-tree.html#XMLNSPTR"
7107>xmlNsPtr</A
7108> xmlCopyNamespaceList (<A
7109HREF="gnome-xml-tree.html#XMLNSPTR"
7110>xmlNsPtr</A
7111> cur);</PRE
7112></TD
7113></TR
7114></TABLE
7115><P
7116>Do a copy of an namespace list.</P
7117><P
7118></P
7119><DIV
7120CLASS="INFORMALTABLE"
7121><P
7122></P
7123><TABLE
7124BORDER="0"
7125WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007126BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007127CELLSPACING="0"
7128CELLPADDING="4"
7129CLASS="CALSTABLE"
7130><TR
7131><TD
7132WIDTH="20%"
7133ALIGN="RIGHT"
7134VALIGN="TOP"
7135><TT
7136CLASS="PARAMETER"
7137><I
7138>cur</I
7139></TT
7140>&nbsp;:</TD
7141><TD
7142WIDTH="80%"
7143ALIGN="LEFT"
7144VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007145> the first namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007146></TR
7147><TR
7148><TD
7149WIDTH="20%"
7150ALIGN="RIGHT"
7151VALIGN="TOP"
7152><I
7153CLASS="EMPHASIS"
7154>Returns</I
7155> :</TD
7156><TD
7157WIDTH="80%"
7158ALIGN="LEFT"
7159VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007160> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007161></TR
7162></TABLE
7163><P
7164></P
7165></DIV
7166></DIV
7167><HR><DIV
7168CLASS="REFSECT2"
7169><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007170NAME="AEN3591"
Daniel Veillard35925471999-02-25 08:46:07 +00007171></A
7172><H3
7173><A
7174NAME="XMLSETPROP"
7175></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007176>xmlSetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007177><TABLE
7178BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007179BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007180WIDTH="100%"
7181CELLPADDING="6"
7182><TR
7183><TD
7184><PRE
7185CLASS="PROGRAMLISTING"
7186><A
7187HREF="gnome-xml-tree.html#XMLATTRPTR"
7188>xmlAttrPtr</A
7189> xmlSetProp (<A
7190HREF="gnome-xml-tree.html#XMLNODEPTR"
7191>xmlNodePtr</A
7192> node,
7193 const <A
7194HREF="gnome-xml-tree.html#CHAR"
7195>CHAR</A
7196> *name,
7197 const <A
7198HREF="gnome-xml-tree.html#CHAR"
7199>CHAR</A
7200> *value);</PRE
7201></TD
7202></TR
7203></TABLE
7204><P
7205>Set (or reset) an attribute carried by a node.</P
7206><P
7207></P
7208><DIV
7209CLASS="INFORMALTABLE"
7210><P
7211></P
7212><TABLE
7213BORDER="0"
7214WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007215BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007216CELLSPACING="0"
7217CELLPADDING="4"
7218CLASS="CALSTABLE"
7219><TR
7220><TD
7221WIDTH="20%"
7222ALIGN="RIGHT"
7223VALIGN="TOP"
7224><TT
7225CLASS="PARAMETER"
7226><I
7227>node</I
7228></TT
7229>&nbsp;:</TD
7230><TD
7231WIDTH="80%"
7232ALIGN="LEFT"
7233VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007234> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007235></TR
7236><TR
7237><TD
7238WIDTH="20%"
7239ALIGN="RIGHT"
7240VALIGN="TOP"
7241><TT
7242CLASS="PARAMETER"
7243><I
7244>name</I
7245></TT
7246>&nbsp;:</TD
7247><TD
7248WIDTH="80%"
7249ALIGN="LEFT"
7250VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007251> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007252></TR
7253><TR
7254><TD
7255WIDTH="20%"
7256ALIGN="RIGHT"
7257VALIGN="TOP"
7258><TT
7259CLASS="PARAMETER"
7260><I
7261>value</I
7262></TT
7263>&nbsp;:</TD
7264><TD
7265WIDTH="80%"
7266ALIGN="LEFT"
7267VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007268> the attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007269></TR
7270><TR
7271><TD
7272WIDTH="20%"
7273ALIGN="RIGHT"
7274VALIGN="TOP"
7275><I
7276CLASS="EMPHASIS"
7277>Returns</I
7278> :</TD
7279><TD
7280WIDTH="80%"
7281ALIGN="LEFT"
7282VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007283>the attribute pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007284></TR
7285></TABLE
7286><P
7287></P
7288></DIV
7289></DIV
7290><HR><DIV
7291CLASS="REFSECT2"
7292><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007293NAME="AEN3622"
Daniel Veillard35925471999-02-25 08:46:07 +00007294></A
7295><H3
7296><A
7297NAME="XMLGETPROP"
7298></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007299>xmlGetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007300><TABLE
7301BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007302BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007303WIDTH="100%"
7304CELLPADDING="6"
7305><TR
7306><TD
7307><PRE
7308CLASS="PROGRAMLISTING"
7309><A
7310HREF="gnome-xml-tree.html#CHAR"
7311>CHAR</A
7312>* xmlGetProp (<A
7313HREF="gnome-xml-tree.html#XMLNODEPTR"
7314>xmlNodePtr</A
7315> node,
7316 const <A
7317HREF="gnome-xml-tree.html#CHAR"
7318>CHAR</A
7319> *name);</PRE
7320></TD
7321></TR
7322></TABLE
7323><P
7324>Search and get the value of an attribute associated to a node
7325This does the entity substitution.</P
7326><P
7327></P
7328><DIV
7329CLASS="INFORMALTABLE"
7330><P
7331></P
7332><TABLE
7333BORDER="0"
7334WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007335BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007336CELLSPACING="0"
7337CELLPADDING="4"
7338CLASS="CALSTABLE"
7339><TR
7340><TD
7341WIDTH="20%"
7342ALIGN="RIGHT"
7343VALIGN="TOP"
7344><TT
7345CLASS="PARAMETER"
7346><I
7347>node</I
7348></TT
7349>&nbsp;:</TD
7350><TD
7351WIDTH="80%"
7352ALIGN="LEFT"
7353VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007354> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007355></TR
7356><TR
7357><TD
7358WIDTH="20%"
7359ALIGN="RIGHT"
7360VALIGN="TOP"
7361><TT
7362CLASS="PARAMETER"
7363><I
7364>name</I
7365></TT
7366>&nbsp;:</TD
7367><TD
7368WIDTH="80%"
7369ALIGN="LEFT"
7370VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007371> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007372></TR
7373><TR
7374><TD
7375WIDTH="20%"
7376ALIGN="RIGHT"
7377VALIGN="TOP"
7378><I
7379CLASS="EMPHASIS"
7380>Returns</I
7381> :</TD
7382><TD
7383WIDTH="80%"
7384ALIGN="LEFT"
7385VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007386>the attribute value or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007387></TR
7388></TABLE
7389><P
7390></P
7391></DIV
7392></DIV
7393><HR><DIV
7394CLASS="REFSECT2"
7395><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007396NAME="AEN3648"
Daniel Veillard35925471999-02-25 08:46:07 +00007397></A
7398><H3
7399><A
7400NAME="XMLSTRINGGETNODELIST"
7401></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007402>xmlStringGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007403><TABLE
7404BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007405BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007406WIDTH="100%"
7407CELLPADDING="6"
7408><TR
7409><TD
7410><PRE
7411CLASS="PROGRAMLISTING"
7412><A
7413HREF="gnome-xml-tree.html#XMLNODEPTR"
7414>xmlNodePtr</A
7415> xmlStringGetNodeList (<A
7416HREF="gnome-xml-tree.html#XMLDOCPTR"
7417>xmlDocPtr</A
7418> doc,
7419 const <A
7420HREF="gnome-xml-tree.html#CHAR"
7421>CHAR</A
7422> *value);</PRE
7423></TD
7424></TR
7425></TABLE
7426><P
7427>Parse the value string and build the node list associated. Should
7428produce a flat tree with only TEXTs and ENTITY_REFs.</P
7429><P
7430></P
7431><DIV
7432CLASS="INFORMALTABLE"
7433><P
7434></P
7435><TABLE
7436BORDER="0"
7437WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007438BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007439CELLSPACING="0"
7440CELLPADDING="4"
7441CLASS="CALSTABLE"
7442><TR
7443><TD
7444WIDTH="20%"
7445ALIGN="RIGHT"
7446VALIGN="TOP"
7447><TT
7448CLASS="PARAMETER"
7449><I
7450>doc</I
7451></TT
7452>&nbsp;:</TD
7453><TD
7454WIDTH="80%"
7455ALIGN="LEFT"
7456VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007457> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007458></TR
7459><TR
7460><TD
7461WIDTH="20%"
7462ALIGN="RIGHT"
7463VALIGN="TOP"
7464><TT
7465CLASS="PARAMETER"
7466><I
7467>value</I
7468></TT
7469>&nbsp;:</TD
7470><TD
7471WIDTH="80%"
7472ALIGN="LEFT"
7473VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007474> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007475></TR
7476><TR
7477><TD
7478WIDTH="20%"
7479ALIGN="RIGHT"
7480VALIGN="TOP"
7481><I
7482CLASS="EMPHASIS"
7483>Returns</I
7484> :</TD
7485><TD
7486WIDTH="80%"
7487ALIGN="LEFT"
7488VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007489>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007490></TR
7491></TABLE
7492><P
7493></P
7494></DIV
7495></DIV
7496><HR><DIV
7497CLASS="REFSECT2"
7498><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007499NAME="AEN3674"
Daniel Veillard35925471999-02-25 08:46:07 +00007500></A
7501><H3
7502><A
7503NAME="XMLSTRINGLENGETNODELIST"
7504></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007505>xmlStringLenGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007506><TABLE
7507BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007508BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007509WIDTH="100%"
7510CELLPADDING="6"
7511><TR
7512><TD
7513><PRE
7514CLASS="PROGRAMLISTING"
7515><A
7516HREF="gnome-xml-tree.html#XMLNODEPTR"
7517>xmlNodePtr</A
7518> xmlStringLenGetNodeList (<A
7519HREF="gnome-xml-tree.html#XMLDOCPTR"
7520>xmlDocPtr</A
7521> doc,
7522 const <A
7523HREF="gnome-xml-tree.html#CHAR"
7524>CHAR</A
7525> *value,
7526 int len);</PRE
7527></TD
7528></TR
7529></TABLE
7530><P
7531>Parse the value string and build the node list associated. Should
7532produce a flat tree with only TEXTs and ENTITY_REFs.</P
7533><P
7534></P
7535><DIV
7536CLASS="INFORMALTABLE"
7537><P
7538></P
7539><TABLE
7540BORDER="0"
7541WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007542BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007543CELLSPACING="0"
7544CELLPADDING="4"
7545CLASS="CALSTABLE"
7546><TR
7547><TD
7548WIDTH="20%"
7549ALIGN="RIGHT"
7550VALIGN="TOP"
7551><TT
7552CLASS="PARAMETER"
7553><I
7554>doc</I
7555></TT
7556>&nbsp;:</TD
7557><TD
7558WIDTH="80%"
7559ALIGN="LEFT"
7560VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007561> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007562></TR
7563><TR
7564><TD
7565WIDTH="20%"
7566ALIGN="RIGHT"
7567VALIGN="TOP"
7568><TT
7569CLASS="PARAMETER"
7570><I
7571>value</I
7572></TT
7573>&nbsp;:</TD
7574><TD
7575WIDTH="80%"
7576ALIGN="LEFT"
7577VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007578> the value of the text</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007579></TR
7580><TR
7581><TD
7582WIDTH="20%"
7583ALIGN="RIGHT"
7584VALIGN="TOP"
7585><TT
7586CLASS="PARAMETER"
7587><I
7588>len</I
7589></TT
7590>&nbsp;:</TD
7591><TD
7592WIDTH="80%"
7593ALIGN="LEFT"
7594VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007595> the length of the string value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007596></TR
7597><TR
7598><TD
7599WIDTH="20%"
7600ALIGN="RIGHT"
7601VALIGN="TOP"
7602><I
7603CLASS="EMPHASIS"
7604>Returns</I
7605> :</TD
7606><TD
7607WIDTH="80%"
7608ALIGN="LEFT"
7609VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007610>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007611></TR
7612></TABLE
7613><P
7614></P
7615></DIV
7616></DIV
7617><HR><DIV
7618CLASS="REFSECT2"
7619><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007620NAME="AEN3704"
Daniel Veillard35925471999-02-25 08:46:07 +00007621></A
7622><H3
7623><A
7624NAME="XMLNODELISTGETSTRING"
7625></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007626>xmlNodeListGetString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007627><TABLE
7628BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007629BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007630WIDTH="100%"
7631CELLPADDING="6"
7632><TR
7633><TD
7634><PRE
7635CLASS="PROGRAMLISTING"
7636><A
7637HREF="gnome-xml-tree.html#CHAR"
7638>CHAR</A
7639>* xmlNodeListGetString (<A
7640HREF="gnome-xml-tree.html#XMLDOCPTR"
7641>xmlDocPtr</A
7642> doc,
7643 <A
7644HREF="gnome-xml-tree.html#XMLNODEPTR"
7645>xmlNodePtr</A
7646> list,
7647 int inLine);</PRE
7648></TD
7649></TR
7650></TABLE
7651><P
7652>Returns the string equivalent to the text contained in the Node list
7653made of TEXTs and ENTITY_REFs</P
7654><P
7655></P
7656><DIV
7657CLASS="INFORMALTABLE"
7658><P
7659></P
7660><TABLE
7661BORDER="0"
7662WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007663BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007664CELLSPACING="0"
7665CELLPADDING="4"
7666CLASS="CALSTABLE"
7667><TR
7668><TD
7669WIDTH="20%"
7670ALIGN="RIGHT"
7671VALIGN="TOP"
7672><TT
7673CLASS="PARAMETER"
7674><I
7675>doc</I
7676></TT
7677>&nbsp;:</TD
7678><TD
7679WIDTH="80%"
7680ALIGN="LEFT"
7681VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007682> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007683></TR
7684><TR
7685><TD
7686WIDTH="20%"
7687ALIGN="RIGHT"
7688VALIGN="TOP"
7689><TT
7690CLASS="PARAMETER"
7691><I
7692>list</I
7693></TT
7694>&nbsp;:</TD
7695><TD
7696WIDTH="80%"
7697ALIGN="LEFT"
7698VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007699> a Node list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007700></TR
7701><TR
7702><TD
7703WIDTH="20%"
7704ALIGN="RIGHT"
7705VALIGN="TOP"
7706><TT
7707CLASS="PARAMETER"
7708><I
7709>inLine</I
7710></TT
7711>&nbsp;:</TD
7712><TD
7713WIDTH="80%"
7714ALIGN="LEFT"
7715VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007716> should we replace entity contents or show their external form</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007717></TR
7718><TR
7719><TD
7720WIDTH="20%"
7721ALIGN="RIGHT"
7722VALIGN="TOP"
7723><I
7724CLASS="EMPHASIS"
7725>Returns</I
7726> :</TD
7727><TD
7728WIDTH="80%"
7729ALIGN="LEFT"
7730VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007731>a pointer to the string copy, the calller must free it.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007732></TR
7733></TABLE
7734><P
7735></P
7736></DIV
7737></DIV
7738><HR><DIV
7739CLASS="REFSECT2"
7740><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007741NAME="AEN3734"
Daniel Veillard35925471999-02-25 08:46:07 +00007742></A
7743><H3
7744><A
7745NAME="XMLNODESETCONTENT"
7746></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007747>xmlNodeSetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007748><TABLE
7749BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007750BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007751WIDTH="100%"
7752CELLPADDING="6"
7753><TR
7754><TD
7755><PRE
7756CLASS="PROGRAMLISTING"
7757>void xmlNodeSetContent (<A
7758HREF="gnome-xml-tree.html#XMLNODEPTR"
7759>xmlNodePtr</A
7760> cur,
7761 const <A
7762HREF="gnome-xml-tree.html#CHAR"
7763>CHAR</A
7764> *content);</PRE
7765></TD
7766></TR
7767></TABLE
7768><P
7769>Replace the content of a node.</P
7770><P
7771></P
7772><DIV
7773CLASS="INFORMALTABLE"
7774><P
7775></P
7776><TABLE
7777BORDER="0"
7778WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007779BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007780CELLSPACING="0"
7781CELLPADDING="4"
7782CLASS="CALSTABLE"
7783><TR
7784><TD
7785WIDTH="20%"
7786ALIGN="RIGHT"
7787VALIGN="TOP"
7788><TT
7789CLASS="PARAMETER"
7790><I
7791>cur</I
7792></TT
7793>&nbsp;:</TD
7794><TD
7795WIDTH="80%"
7796ALIGN="LEFT"
7797VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007798> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007799></TR
7800><TR
7801><TD
7802WIDTH="20%"
7803ALIGN="RIGHT"
7804VALIGN="TOP"
7805><TT
7806CLASS="PARAMETER"
7807><I
7808>content</I
7809></TT
7810>&nbsp;:</TD
7811><TD
7812WIDTH="80%"
7813ALIGN="LEFT"
7814VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007815> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007816></TR
7817></TABLE
7818><P
7819></P
7820></DIV
7821></DIV
7822><HR><DIV
7823CLASS="REFSECT2"
7824><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007825NAME="AEN3755"
Daniel Veillard35925471999-02-25 08:46:07 +00007826></A
7827><H3
7828><A
7829NAME="XMLNODESETCONTENTLEN"
7830></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007831>xmlNodeSetContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007832><TABLE
7833BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007834BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007835WIDTH="100%"
7836CELLPADDING="6"
7837><TR
7838><TD
7839><PRE
7840CLASS="PROGRAMLISTING"
7841>void xmlNodeSetContentLen (<A
7842HREF="gnome-xml-tree.html#XMLNODEPTR"
7843>xmlNodePtr</A
7844> cur,
7845 const <A
7846HREF="gnome-xml-tree.html#CHAR"
7847>CHAR</A
7848> *content,
7849 int len);</PRE
7850></TD
7851></TR
7852></TABLE
7853><P
7854>Replace the content of a node.</P
7855><P
7856></P
7857><DIV
7858CLASS="INFORMALTABLE"
7859><P
7860></P
7861><TABLE
7862BORDER="0"
7863WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007864BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007865CELLSPACING="0"
7866CELLPADDING="4"
7867CLASS="CALSTABLE"
7868><TR
7869><TD
7870WIDTH="20%"
7871ALIGN="RIGHT"
7872VALIGN="TOP"
7873><TT
7874CLASS="PARAMETER"
7875><I
7876>cur</I
7877></TT
7878>&nbsp;:</TD
7879><TD
7880WIDTH="80%"
7881ALIGN="LEFT"
7882VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007883> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007884></TR
7885><TR
7886><TD
7887WIDTH="20%"
7888ALIGN="RIGHT"
7889VALIGN="TOP"
7890><TT
7891CLASS="PARAMETER"
7892><I
7893>content</I
7894></TT
7895>&nbsp;:</TD
7896><TD
7897WIDTH="80%"
7898ALIGN="LEFT"
7899VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007900> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007901></TR
7902><TR
7903><TD
7904WIDTH="20%"
7905ALIGN="RIGHT"
7906VALIGN="TOP"
7907><TT
7908CLASS="PARAMETER"
7909><I
7910>len</I
7911></TT
7912>&nbsp;:</TD
7913><TD
7914WIDTH="80%"
7915ALIGN="LEFT"
7916VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007917> the size of <TT
7918CLASS="PARAMETER"
7919><I
7920>content</I
7921></TT
7922></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007923></TR
7924></TABLE
7925><P
7926></P
7927></DIV
7928></DIV
7929><HR><DIV
7930CLASS="REFSECT2"
7931><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007932NAME="AEN3781"
Daniel Veillard35925471999-02-25 08:46:07 +00007933></A
7934><H3
7935><A
7936NAME="XMLNODEADDCONTENT"
7937></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007938>xmlNodeAddContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007939><TABLE
7940BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007941BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007942WIDTH="100%"
7943CELLPADDING="6"
7944><TR
7945><TD
7946><PRE
7947CLASS="PROGRAMLISTING"
7948>void xmlNodeAddContent (<A
7949HREF="gnome-xml-tree.html#XMLNODEPTR"
7950>xmlNodePtr</A
7951> cur,
7952 const <A
7953HREF="gnome-xml-tree.html#CHAR"
7954>CHAR</A
7955> *content);</PRE
7956></TD
7957></TR
7958></TABLE
7959><P
7960>Append the extra substring to the node content.</P
7961><P
7962></P
7963><DIV
7964CLASS="INFORMALTABLE"
7965><P
7966></P
7967><TABLE
7968BORDER="0"
7969WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007970BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007971CELLSPACING="0"
7972CELLPADDING="4"
7973CLASS="CALSTABLE"
7974><TR
7975><TD
7976WIDTH="20%"
7977ALIGN="RIGHT"
7978VALIGN="TOP"
7979><TT
7980CLASS="PARAMETER"
7981><I
7982>cur</I
7983></TT
7984>&nbsp;:</TD
7985><TD
7986WIDTH="80%"
7987ALIGN="LEFT"
7988VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007989> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007990></TR
7991><TR
7992><TD
7993WIDTH="20%"
7994ALIGN="RIGHT"
7995VALIGN="TOP"
7996><TT
7997CLASS="PARAMETER"
7998><I
7999>content</I
8000></TT
8001>&nbsp;:</TD
8002><TD
8003WIDTH="80%"
8004ALIGN="LEFT"
8005VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008006> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008007></TR
8008></TABLE
8009><P
8010></P
8011></DIV
8012></DIV
8013><HR><DIV
8014CLASS="REFSECT2"
8015><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008016NAME="AEN3802"
Daniel Veillard35925471999-02-25 08:46:07 +00008017></A
8018><H3
8019><A
8020NAME="XMLNODEADDCONTENTLEN"
8021></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008022>xmlNodeAddContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008023><TABLE
8024BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008025BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008026WIDTH="100%"
8027CELLPADDING="6"
8028><TR
8029><TD
8030><PRE
8031CLASS="PROGRAMLISTING"
8032>void xmlNodeAddContentLen (<A
8033HREF="gnome-xml-tree.html#XMLNODEPTR"
8034>xmlNodePtr</A
8035> cur,
8036 const <A
8037HREF="gnome-xml-tree.html#CHAR"
8038>CHAR</A
8039> *content,
8040 int len);</PRE
8041></TD
8042></TR
8043></TABLE
8044><P
8045>Append the extra substring to the node content.</P
8046><P
8047></P
8048><DIV
8049CLASS="INFORMALTABLE"
8050><P
8051></P
8052><TABLE
8053BORDER="0"
8054WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008055BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008056CELLSPACING="0"
8057CELLPADDING="4"
8058CLASS="CALSTABLE"
8059><TR
8060><TD
8061WIDTH="20%"
8062ALIGN="RIGHT"
8063VALIGN="TOP"
8064><TT
8065CLASS="PARAMETER"
8066><I
8067>cur</I
8068></TT
8069>&nbsp;:</TD
8070><TD
8071WIDTH="80%"
8072ALIGN="LEFT"
8073VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008074> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008075></TR
8076><TR
8077><TD
8078WIDTH="20%"
8079ALIGN="RIGHT"
8080VALIGN="TOP"
8081><TT
8082CLASS="PARAMETER"
8083><I
8084>content</I
8085></TT
8086>&nbsp;:</TD
8087><TD
8088WIDTH="80%"
8089ALIGN="LEFT"
8090VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008091> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008092></TR
8093><TR
8094><TD
8095WIDTH="20%"
8096ALIGN="RIGHT"
8097VALIGN="TOP"
8098><TT
8099CLASS="PARAMETER"
8100><I
8101>len</I
8102></TT
8103>&nbsp;:</TD
8104><TD
8105WIDTH="80%"
8106ALIGN="LEFT"
8107VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008108> the size of <TT
8109CLASS="PARAMETER"
8110><I
8111>content</I
8112></TT
8113></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008114></TR
8115></TABLE
8116><P
8117></P
8118></DIV
8119></DIV
8120><HR><DIV
8121CLASS="REFSECT2"
8122><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008123NAME="AEN3828"
Daniel Veillard35925471999-02-25 08:46:07 +00008124></A
8125><H3
8126><A
8127NAME="XMLNODEGETCONTENT"
8128></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008129>xmlNodeGetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008130><TABLE
8131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008133WIDTH="100%"
8134CELLPADDING="6"
8135><TR
8136><TD
8137><PRE
8138CLASS="PROGRAMLISTING"
8139><A
8140HREF="gnome-xml-tree.html#CHAR"
8141>CHAR</A
8142>* xmlNodeGetContent (<A
8143HREF="gnome-xml-tree.html#XMLNODEPTR"
8144>xmlNodePtr</A
8145> cur);</PRE
8146></TD
8147></TR
8148></TABLE
8149><P
8150>Read the value of a node, this can be either the text carried
8151directly by this node if it's a TEXT node or the aggregate string
8152of the values carried by this node child's (TEXT and ENTITY_REF).
8153Entity references are substitued.</P
8154><P
8155></P
8156><DIV
8157CLASS="INFORMALTABLE"
8158><P
8159></P
8160><TABLE
8161BORDER="0"
8162WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008163BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008164CELLSPACING="0"
8165CELLPADDING="4"
8166CLASS="CALSTABLE"
8167><TR
8168><TD
8169WIDTH="20%"
8170ALIGN="RIGHT"
8171VALIGN="TOP"
8172><TT
8173CLASS="PARAMETER"
8174><I
8175>cur</I
8176></TT
8177>&nbsp;:</TD
8178><TD
8179WIDTH="80%"
8180ALIGN="LEFT"
8181VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008182> the node being read</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008183></TR
8184><TR
8185><TD
8186WIDTH="20%"
8187ALIGN="RIGHT"
8188VALIGN="TOP"
8189><I
8190CLASS="EMPHASIS"
8191>Returns</I
8192> :</TD
8193><TD
8194WIDTH="80%"
8195ALIGN="LEFT"
8196VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008197>a new CHAR * or NULL if no content is available.
8198It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008199></TR
8200></TABLE
8201><P
8202></P
8203></DIV
8204></DIV
8205><HR><DIV
8206CLASS="REFSECT2"
8207><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008208NAME="AEN3849"
8209></A
8210><H3
8211><A
8212NAME="XMLNODEGETLANG"
8213></A
8214>xmlNodeGetLang ()</H3
8215><TABLE
8216BORDER="0"
8217BGCOLOR="#D6E8FF"
8218WIDTH="100%"
8219CELLPADDING="6"
8220><TR
8221><TD
8222><PRE
8223CLASS="PROGRAMLISTING"
8224>const <A
8225HREF="gnome-xml-tree.html#CHAR"
8226>CHAR</A
8227>* xmlNodeGetLang (<A
8228HREF="gnome-xml-tree.html#XMLNODEPTR"
8229>xmlNodePtr</A
8230> cur);</PRE
8231></TD
8232></TR
8233></TABLE
8234><P
8235>Searches the language of a node, i.e. the values of the xml:lang
8236attribute or the one carried by the nearest ancestor.</P
8237><P
8238></P
8239><DIV
8240CLASS="INFORMALTABLE"
8241><P
8242></P
8243><TABLE
8244BORDER="0"
8245WIDTH="100%"
8246BGCOLOR="#FFD0D0"
8247CELLSPACING="0"
8248CELLPADDING="4"
8249CLASS="CALSTABLE"
8250><TR
8251><TD
8252WIDTH="20%"
8253ALIGN="RIGHT"
8254VALIGN="TOP"
8255><TT
8256CLASS="PARAMETER"
8257><I
8258>cur</I
8259></TT
8260>&nbsp;:</TD
8261><TD
8262WIDTH="80%"
8263ALIGN="LEFT"
8264VALIGN="TOP"
8265> the node being checked</TD
8266></TR
8267><TR
8268><TD
8269WIDTH="20%"
8270ALIGN="RIGHT"
8271VALIGN="TOP"
8272><I
8273CLASS="EMPHASIS"
8274>Returns</I
8275> :</TD
8276><TD
8277WIDTH="80%"
8278ALIGN="LEFT"
8279VALIGN="TOP"
8280>a pointer to the lang value, or NULL if not found</TD
8281></TR
8282></TABLE
8283><P
8284></P
8285></DIV
8286></DIV
8287><HR><DIV
8288CLASS="REFSECT2"
8289><A
8290NAME="AEN3870"
8291></A
8292><H3
8293><A
8294NAME="XMLNODESETLANG"
8295></A
8296>xmlNodeSetLang ()</H3
8297><TABLE
8298BORDER="0"
8299BGCOLOR="#D6E8FF"
8300WIDTH="100%"
8301CELLPADDING="6"
8302><TR
8303><TD
8304><PRE
8305CLASS="PROGRAMLISTING"
8306>void xmlNodeSetLang (<A
8307HREF="gnome-xml-tree.html#XMLNODEPTR"
8308>xmlNodePtr</A
8309> cur,
8310 const <A
8311HREF="gnome-xml-tree.html#CHAR"
8312>CHAR</A
8313> *lang);</PRE
8314></TD
8315></TR
8316></TABLE
8317><P
8318>Searches the language of a node, i.e. the values of the xml:lang
8319attribute or the one carried by the nearest ancestor.</P
8320><P
8321></P
8322><DIV
8323CLASS="INFORMALTABLE"
8324><P
8325></P
8326><TABLE
8327BORDER="0"
8328WIDTH="100%"
8329BGCOLOR="#FFD0D0"
8330CELLSPACING="0"
8331CELLPADDING="4"
8332CLASS="CALSTABLE"
8333><TR
8334><TD
8335WIDTH="20%"
8336ALIGN="RIGHT"
8337VALIGN="TOP"
8338><TT
8339CLASS="PARAMETER"
8340><I
8341>cur</I
8342></TT
8343>&nbsp;:</TD
8344><TD
8345WIDTH="80%"
8346ALIGN="LEFT"
8347VALIGN="TOP"
8348> the node being changed</TD
8349></TR
8350><TR
8351><TD
8352WIDTH="20%"
8353ALIGN="RIGHT"
8354VALIGN="TOP"
8355><TT
8356CLASS="PARAMETER"
8357><I
8358>lang</I
8359></TT
8360>&nbsp;:</TD
8361><TD
8362WIDTH="80%"
8363ALIGN="LEFT"
8364VALIGN="TOP"
8365> the langage description</TD
8366></TR
8367></TABLE
8368><P
8369></P
8370></DIV
8371></DIV
8372><HR><DIV
8373CLASS="REFSECT2"
8374><A
8375NAME="AEN3891"
Daniel Veillard35925471999-02-25 08:46:07 +00008376></A
8377><H3
8378><A
8379NAME="XMLBUFFERWRITECHAR"
8380></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008381>xmlBufferWriteCHAR ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008382><TABLE
8383BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008384BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008385WIDTH="100%"
8386CELLPADDING="6"
8387><TR
8388><TD
8389><PRE
8390CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00008391>void xmlBufferWriteCHAR (<A
8392HREF="gnome-xml-tree.html#XMLBUFFERPTR"
8393>xmlBufferPtr</A
8394> buf,
8395 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00008396HREF="gnome-xml-tree.html#CHAR"
8397>CHAR</A
8398> *string);</PRE
8399></TD
8400></TR
8401></TABLE
8402><P
8403>routine which manage and grows an output buffer. This one add
Daniel Veillard5099ae81999-04-21 20:12:07 +00008404CHARs at the end of the buffer.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008405><P
8406></P
8407><DIV
8408CLASS="INFORMALTABLE"
8409><P
8410></P
8411><TABLE
8412BORDER="0"
8413WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008414BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008415CELLSPACING="0"
8416CELLPADDING="4"
8417CLASS="CALSTABLE"
8418><TR
8419><TD
8420WIDTH="20%"
8421ALIGN="RIGHT"
8422VALIGN="TOP"
8423><TT
8424CLASS="PARAMETER"
8425><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00008426>buf</I
8427></TT
8428>&nbsp;:</TD
8429><TD
8430WIDTH="80%"
8431ALIGN="LEFT"
8432VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008433> the XML buffer</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00008434></TR
8435><TR
8436><TD
8437WIDTH="20%"
8438ALIGN="RIGHT"
8439VALIGN="TOP"
8440><TT
8441CLASS="PARAMETER"
8442><I
Daniel Veillard35925471999-02-25 08:46:07 +00008443>string</I
8444></TT
8445>&nbsp;:</TD
8446><TD
8447WIDTH="80%"
8448ALIGN="LEFT"
8449VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008450> the string to add</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008451></TR
8452></TABLE
8453><P
8454></P
8455></DIV
8456></DIV
8457><HR><DIV
8458CLASS="REFSECT2"
8459><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008460NAME="AEN3912"
Daniel Veillard35925471999-02-25 08:46:07 +00008461></A
8462><H3
8463><A
8464NAME="XMLBUFFERWRITECHAR"
8465></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008466>xmlBufferWriteChar ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008467><TABLE
8468BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008469BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008470WIDTH="100%"
8471CELLPADDING="6"
8472><TR
8473><TD
8474><PRE
8475CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00008476>void xmlBufferWriteChar (<A
8477HREF="gnome-xml-tree.html#XMLBUFFERPTR"
8478>xmlBufferPtr</A
8479> buf,
8480 const char *string);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00008481></TD
8482></TR
8483></TABLE
8484><P
8485>routine which manage and grows an output buffer. This one add
8486C chars at the end of the array.</P
8487><P
8488></P
8489><DIV
8490CLASS="INFORMALTABLE"
8491><P
8492></P
8493><TABLE
8494BORDER="0"
8495WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008496BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008497CELLSPACING="0"
8498CELLPADDING="4"
8499CLASS="CALSTABLE"
8500><TR
8501><TD
8502WIDTH="20%"
8503ALIGN="RIGHT"
8504VALIGN="TOP"
8505><TT
8506CLASS="PARAMETER"
8507><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00008508>buf</I
8509></TT
8510>&nbsp;:</TD
8511><TD
8512WIDTH="80%"
8513ALIGN="LEFT"
8514VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008515> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00008516></TR
8517><TR
8518><TD
8519WIDTH="20%"
8520ALIGN="RIGHT"
8521VALIGN="TOP"
8522><TT
8523CLASS="PARAMETER"
8524><I
Daniel Veillard35925471999-02-25 08:46:07 +00008525>string</I
8526></TT
8527>&nbsp;:</TD
8528><TD
8529WIDTH="80%"
8530ALIGN="LEFT"
8531VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008532> the string to add</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008533></TR
8534></TABLE
8535><P
8536></P
8537></DIV
8538></DIV
8539><HR><DIV
8540CLASS="REFSECT2"
8541><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008542NAME="AEN3932"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008543></A
8544><H3
8545><A
8546NAME="XMLBUFFERWRITEQUOTEDSTRING"
8547></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008548>xmlBufferWriteQuotedString ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008549><TABLE
8550BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008551BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008552WIDTH="100%"
8553CELLPADDING="6"
8554><TR
8555><TD
8556><PRE
8557CLASS="PROGRAMLISTING"
8558>void xmlBufferWriteQuotedString (<A
8559HREF="gnome-xml-tree.html#XMLBUFFERPTR"
8560>xmlBufferPtr</A
8561> buf,
8562 const <A
8563HREF="gnome-xml-tree.html#CHAR"
8564>CHAR</A
8565> *string);</PRE
8566></TD
8567></TR
8568></TABLE
8569><P
8570>routine which manage and grows an output buffer. This one writes
8571a quoted or double quoted CHAR string, checking first if it holds
8572quote or double-quotes internally</P
8573><P
8574></P
8575><DIV
8576CLASS="INFORMALTABLE"
8577><P
8578></P
8579><TABLE
8580BORDER="0"
8581WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008582BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008583CELLSPACING="0"
8584CELLPADDING="4"
8585CLASS="CALSTABLE"
8586><TR
8587><TD
8588WIDTH="20%"
8589ALIGN="RIGHT"
8590VALIGN="TOP"
8591><TT
8592CLASS="PARAMETER"
8593><I
8594>buf</I
8595></TT
8596>&nbsp;:</TD
8597><TD
8598WIDTH="80%"
8599ALIGN="LEFT"
8600VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008601> the XML buffer output</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008602></TR
8603><TR
8604><TD
8605WIDTH="20%"
8606ALIGN="RIGHT"
8607VALIGN="TOP"
8608><TT
8609CLASS="PARAMETER"
8610><I
8611>string</I
8612></TT
8613>&nbsp;:</TD
8614><TD
8615WIDTH="80%"
8616ALIGN="LEFT"
8617VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008618> the string to add</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008619></TR
8620></TABLE
8621><P
8622></P
8623></DIV
8624></DIV
8625><HR><DIV
8626CLASS="REFSECT2"
8627><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008628NAME="AEN3953"
Daniel Veillard35925471999-02-25 08:46:07 +00008629></A
8630><H3
8631><A
8632NAME="XMLDOCDUMPMEMORY"
8633></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008634>xmlDocDumpMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008635><TABLE
8636BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008637BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008638WIDTH="100%"
8639CELLPADDING="6"
8640><TR
8641><TD
8642><PRE
8643CLASS="PROGRAMLISTING"
8644>void xmlDocDumpMemory (<A
8645HREF="gnome-xml-tree.html#XMLDOCPTR"
8646>xmlDocPtr</A
8647> cur,
8648 <A
8649HREF="gnome-xml-tree.html#CHAR"
8650>CHAR</A
8651> **mem,
8652 int *size);</PRE
8653></TD
8654></TR
8655></TABLE
8656><P
8657>Dump an XML document in memory and return the CHAR * and it's size.
8658It's up to the caller to free the memory.</P
8659><P
8660></P
8661><DIV
8662CLASS="INFORMALTABLE"
8663><P
8664></P
8665><TABLE
8666BORDER="0"
8667WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008668BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008669CELLSPACING="0"
8670CELLPADDING="4"
8671CLASS="CALSTABLE"
8672><TR
8673><TD
8674WIDTH="20%"
8675ALIGN="RIGHT"
8676VALIGN="TOP"
8677><TT
8678CLASS="PARAMETER"
8679><I
8680>cur</I
8681></TT
8682>&nbsp;:</TD
8683><TD
8684WIDTH="80%"
8685ALIGN="LEFT"
8686VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008687> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008688></TR
8689><TR
8690><TD
8691WIDTH="20%"
8692ALIGN="RIGHT"
8693VALIGN="TOP"
8694><TT
8695CLASS="PARAMETER"
8696><I
8697>mem</I
8698></TT
8699>&nbsp;:</TD
8700><TD
8701WIDTH="80%"
8702ALIGN="LEFT"
8703VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008704> OUT: the memory pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008705></TR
8706><TR
8707><TD
8708WIDTH="20%"
8709ALIGN="RIGHT"
8710VALIGN="TOP"
8711><TT
8712CLASS="PARAMETER"
8713><I
8714>size</I
8715></TT
8716>&nbsp;:</TD
8717><TD
8718WIDTH="80%"
8719ALIGN="LEFT"
8720VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008721> OUT: the memory lenght</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008722></TR
8723></TABLE
8724><P
8725></P
8726></DIV
8727></DIV
8728><HR><DIV
8729CLASS="REFSECT2"
8730><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008731NAME="AEN3978"
Daniel Veillard35925471999-02-25 08:46:07 +00008732></A
8733><H3
8734><A
8735NAME="XMLDOCDUMP"
8736></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008737>xmlDocDump ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008738><TABLE
8739BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008740BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008741WIDTH="100%"
8742CELLPADDING="6"
8743><TR
8744><TD
8745><PRE
8746CLASS="PROGRAMLISTING"
8747>void xmlDocDump (<GTKDOCLINK
8748HREF="FILE"
8749>FILE</GTKDOCLINK
8750> *f,
8751 <A
8752HREF="gnome-xml-tree.html#XMLDOCPTR"
8753>xmlDocPtr</A
8754> cur);</PRE
8755></TD
8756></TR
8757></TABLE
8758><P
8759>Dump an XML document to an open FILE.</P
8760><P
8761></P
8762><DIV
8763CLASS="INFORMALTABLE"
8764><P
8765></P
8766><TABLE
8767BORDER="0"
8768WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008769BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008770CELLSPACING="0"
8771CELLPADDING="4"
8772CLASS="CALSTABLE"
8773><TR
8774><TD
8775WIDTH="20%"
8776ALIGN="RIGHT"
8777VALIGN="TOP"
8778><TT
8779CLASS="PARAMETER"
8780><I
8781>f</I
8782></TT
8783>&nbsp;:</TD
8784><TD
8785WIDTH="80%"
8786ALIGN="LEFT"
8787VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008788> the FILE*</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008789></TR
8790><TR
8791><TD
8792WIDTH="20%"
8793ALIGN="RIGHT"
8794VALIGN="TOP"
8795><TT
8796CLASS="PARAMETER"
8797><I
8798>cur</I
8799></TT
8800>&nbsp;:</TD
8801><TD
8802WIDTH="80%"
8803ALIGN="LEFT"
8804VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008805> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008806></TR
8807></TABLE
8808><P
8809></P
8810></DIV
8811></DIV
8812><HR><DIV
8813CLASS="REFSECT2"
8814><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008815NAME="AEN3999"
Daniel Veillard35925471999-02-25 08:46:07 +00008816></A
8817><H3
8818><A
8819NAME="XMLSAVEFILE"
8820></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008821>xmlSaveFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008822><TABLE
8823BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008824BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008825WIDTH="100%"
8826CELLPADDING="6"
8827><TR
8828><TD
8829><PRE
8830CLASS="PROGRAMLISTING"
8831>int xmlSaveFile (const char *filename,
8832 <A
8833HREF="gnome-xml-tree.html#XMLDOCPTR"
8834>xmlDocPtr</A
8835> cur);</PRE
8836></TD
8837></TR
8838></TABLE
8839><P
8840>Dump an XML document to a file. Will use compression if
8841compiled in and enabled.</P
8842><P
8843></P
8844><DIV
8845CLASS="INFORMALTABLE"
8846><P
8847></P
8848><TABLE
8849BORDER="0"
8850WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008851BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008852CELLSPACING="0"
8853CELLPADDING="4"
8854CLASS="CALSTABLE"
8855><TR
8856><TD
8857WIDTH="20%"
8858ALIGN="RIGHT"
8859VALIGN="TOP"
8860><TT
8861CLASS="PARAMETER"
8862><I
8863>filename</I
8864></TT
8865>&nbsp;:</TD
8866><TD
8867WIDTH="80%"
8868ALIGN="LEFT"
8869VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008870> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008871></TR
8872><TR
8873><TD
8874WIDTH="20%"
8875ALIGN="RIGHT"
8876VALIGN="TOP"
8877><TT
8878CLASS="PARAMETER"
8879><I
8880>cur</I
8881></TT
8882>&nbsp;:</TD
8883><TD
8884WIDTH="80%"
8885ALIGN="LEFT"
8886VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008887> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008888></TR
8889><TR
8890><TD
8891WIDTH="20%"
8892ALIGN="RIGHT"
8893VALIGN="TOP"
8894><I
8895CLASS="EMPHASIS"
8896>Returns</I
8897> :</TD
8898><TD
8899WIDTH="80%"
8900ALIGN="LEFT"
8901VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008902> the number of file written or -1 in case of failure.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008903></TR
8904></TABLE
8905><P
8906></P
8907></DIV
8908></DIV
8909><HR><DIV
8910CLASS="REFSECT2"
8911><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008912NAME="AEN4023"
Daniel Veillard35925471999-02-25 08:46:07 +00008913></A
8914><H3
8915><A
8916NAME="XMLGETDOCCOMPRESSMODE"
8917></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008918>xmlGetDocCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008919><TABLE
8920BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008921BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008922WIDTH="100%"
8923CELLPADDING="6"
8924><TR
8925><TD
8926><PRE
8927CLASS="PROGRAMLISTING"
8928>int xmlGetDocCompressMode (<A
8929HREF="gnome-xml-tree.html#XMLDOCPTR"
8930>xmlDocPtr</A
8931> doc);</PRE
8932></TD
8933></TR
8934></TABLE
8935><P
8936>get the compression ratio for a document, ZLIB based</P
8937><P
8938></P
8939><DIV
8940CLASS="INFORMALTABLE"
8941><P
8942></P
8943><TABLE
8944BORDER="0"
8945WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008946BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008947CELLSPACING="0"
8948CELLPADDING="4"
8949CLASS="CALSTABLE"
8950><TR
8951><TD
8952WIDTH="20%"
8953ALIGN="RIGHT"
8954VALIGN="TOP"
8955><TT
8956CLASS="PARAMETER"
8957><I
8958>doc</I
8959></TT
8960>&nbsp;:</TD
8961><TD
8962WIDTH="80%"
8963ALIGN="LEFT"
8964VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008965> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008966></TR
8967><TR
8968><TD
8969WIDTH="20%"
8970ALIGN="RIGHT"
8971VALIGN="TOP"
8972><I
8973CLASS="EMPHASIS"
8974>Returns</I
8975> :</TD
8976><TD
8977WIDTH="80%"
8978ALIGN="LEFT"
8979VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008980>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008981></TR
8982></TABLE
8983><P
8984></P
8985></DIV
8986></DIV
8987><HR><DIV
8988CLASS="REFSECT2"
8989><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008990NAME="AEN4043"
Daniel Veillard35925471999-02-25 08:46:07 +00008991></A
8992><H3
8993><A
8994NAME="XMLSETDOCCOMPRESSMODE"
8995></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008996>xmlSetDocCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008997><TABLE
8998BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008999BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009000WIDTH="100%"
9001CELLPADDING="6"
9002><TR
9003><TD
9004><PRE
9005CLASS="PROGRAMLISTING"
9006>void xmlSetDocCompressMode (<A
9007HREF="gnome-xml-tree.html#XMLDOCPTR"
9008>xmlDocPtr</A
9009> doc,
9010 int mode);</PRE
9011></TD
9012></TR
9013></TABLE
9014><P
9015>set the compression ratio for a document, ZLIB based
9016Correct values: 0 (uncompressed) to 9 (max compression)</P
9017><P
9018></P
9019><DIV
9020CLASS="INFORMALTABLE"
9021><P
9022></P
9023><TABLE
9024BORDER="0"
9025WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009026BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009027CELLSPACING="0"
9028CELLPADDING="4"
9029CLASS="CALSTABLE"
9030><TR
9031><TD
9032WIDTH="20%"
9033ALIGN="RIGHT"
9034VALIGN="TOP"
9035><TT
9036CLASS="PARAMETER"
9037><I
9038>doc</I
9039></TT
9040>&nbsp;:</TD
9041><TD
9042WIDTH="80%"
9043ALIGN="LEFT"
9044VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009045> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009046></TR
9047><TR
9048><TD
9049WIDTH="20%"
9050ALIGN="RIGHT"
9051VALIGN="TOP"
9052><TT
9053CLASS="PARAMETER"
9054><I
9055>mode</I
9056></TT
9057>&nbsp;:</TD
9058><TD
9059WIDTH="80%"
9060ALIGN="LEFT"
9061VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009062> the compression ratio</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009063></TR
9064></TABLE
9065><P
9066></P
9067></DIV
9068></DIV
9069><HR><DIV
9070CLASS="REFSECT2"
9071><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009072NAME="AEN4063"
Daniel Veillard35925471999-02-25 08:46:07 +00009073></A
9074><H3
9075><A
9076NAME="XMLGETCOMPRESSMODE"
9077></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009078>xmlGetCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009079><TABLE
9080BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009081BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009082WIDTH="100%"
9083CELLPADDING="6"
9084><TR
9085><TD
9086><PRE
9087CLASS="PROGRAMLISTING"
9088>int xmlGetCompressMode (void);</PRE
9089></TD
9090></TR
9091></TABLE
9092><P
9093>get the default compression mode used, ZLIB based.</P
9094><P
9095></P
9096><DIV
9097CLASS="INFORMALTABLE"
9098><P
9099></P
9100><TABLE
9101BORDER="0"
9102WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009103BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009104CELLSPACING="0"
9105CELLPADDING="4"
9106CLASS="CALSTABLE"
9107><TR
9108><TD
9109WIDTH="20%"
9110ALIGN="RIGHT"
9111VALIGN="TOP"
9112><I
9113CLASS="EMPHASIS"
9114>Returns</I
9115> :</TD
9116><TD
9117WIDTH="80%"
9118ALIGN="LEFT"
9119VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009120>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009121></TR
9122></TABLE
9123><P
9124></P
9125></DIV
9126></DIV
9127><HR><DIV
9128CLASS="REFSECT2"
9129><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009130NAME="AEN4078"
Daniel Veillard35925471999-02-25 08:46:07 +00009131></A
9132><H3
9133><A
9134NAME="XMLSETCOMPRESSMODE"
9135></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009136>xmlSetCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009137><TABLE
9138BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009139BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009140WIDTH="100%"
9141CELLPADDING="6"
9142><TR
9143><TD
9144><PRE
9145CLASS="PROGRAMLISTING"
9146>void xmlSetCompressMode (int mode);</PRE
9147></TD
9148></TR
9149></TABLE
9150><P
9151>set the default compression mode used, ZLIB based
9152Correct values: 0 (uncompressed) to 9 (max compression)</P
9153><P
9154></P
9155><DIV
9156CLASS="INFORMALTABLE"
9157><P
9158></P
9159><TABLE
9160BORDER="0"
9161WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009162BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009163CELLSPACING="0"
9164CELLPADDING="4"
9165CLASS="CALSTABLE"
9166><TR
9167><TD
9168WIDTH="20%"
9169ALIGN="RIGHT"
9170VALIGN="TOP"
9171><TT
9172CLASS="PARAMETER"
9173><I
9174>mode</I
9175></TT
9176>&nbsp;:</TD
9177><TD
9178WIDTH="80%"
9179ALIGN="LEFT"
9180VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009181> the compression ratio</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009182></TR
9183></TABLE
9184><P
9185></P
9186></DIV
9187></DIV
9188></DIV
9189><DIV
9190CLASS="NAVFOOTER"
Daniel Veillard14fff061999-06-22 21:49:07 +00009191><BR><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009192WIDTH="100%"
9193BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009194BGCOLOR="#000000"
9195CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00009196CELLSPACING="0"
9197><TR
9198><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009199WIDTH="25%"
9200BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00009201ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00009202><A
9203HREF="gnome-xml-parser.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009204><FONT
9205COLOR="#FFFFFF"
9206SIZE="3"
9207><B
9208>&#60;&#60;&#60; Previous Page</B
9209></FONT
9210></A
Daniel Veillard35925471999-02-25 08:46:07 +00009211></TD
9212><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009213WIDTH="25%"
9214BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00009215ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00009216><FONT
9217COLOR="#FFFFFF"
9218SIZE="3"
9219><B
Daniel Veillard35925471999-02-25 08:46:07 +00009220><A
9221HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009222><FONT
9223COLOR="#FFFFFF"
9224SIZE="3"
9225><B
9226>Home</B
9227></FONT
9228></A
9229></B
9230></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00009231></TD
9232><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009233WIDTH="25%"
9234BGCOLOR="#00C000"
9235ALIGN="center"
9236><FONT
9237COLOR="#FFFFFF"
9238SIZE="3"
9239><B
9240><A
9241HREF="libxml.html"
9242><FONT
9243COLOR="#FFFFFF"
9244SIZE="3"
9245><B
9246>Up</B
9247></FONT
9248></A
9249></B
9250></FONT
9251></TD
9252><TD
9253WIDTH="25%"
9254BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00009255ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00009256><A
9257HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009258><FONT
9259COLOR="#FFFFFF"
9260SIZE="3"
9261><B
9262>Next Page &#62;&#62;&#62;</B
9263></FONT
9264></A
Daniel Veillard35925471999-02-25 08:46:07 +00009265></TD
9266></TR
9267><TR
9268><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009269COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00009270ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00009271><FONT
9272COLOR="#FFFFFF"
9273SIZE="3"
9274><B
9275>parser</B
9276></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00009277></TD
9278><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009279COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00009280ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00009281><FONT
9282COLOR="#FFFFFF"
9283SIZE="3"
9284><B
9285>entities</B
9286></FONT
9287></TD
Daniel Veillard35925471999-02-25 08:46:07 +00009288></TR
9289></TABLE
9290></DIV
9291></BODY
9292></HTML
9293>