blob: e46c3a7363e725d7e607b131ea29f5d5869cdf0a [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>tree</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
Daniel Veillard294cbca1999-12-03 13:19:09 +000015TITLE="SAX"
16HREF="gnome-xml-sax.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000017REL="NEXT"
18TITLE="entities"
19HREF="gnome-xml-entities.html"></HEAD
20><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000047HREF="gnome-xml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000100><A
101HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
Daniel Veillard35925471999-02-25 08:46:07 +0000109></TD
110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
Daniel Veillardf3a73582000-01-05 14:58:39 +0000114>tree</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000118NAME="AEN3148"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillardf3a73582000-01-05 14:58:39 +0000122>tree &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000126NAME="AEN3151"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
141enum <A
142HREF="gnome-xml-tree.html#XMLELEMENTTYPE"
143>xmlElementType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000144>;
Daniel Veillard35925471999-02-25 08:46:07 +0000145typedef <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000146HREF="gnome-xml-tree.html#XMLCHAR"
147>xmlChar</A
148>;
149#define <A
Daniel Veillard35925471999-02-25 08:46:07 +0000150HREF="gnome-xml-tree.html#CHAR"
151>CHAR</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000152>
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000153#define <A
154HREF="gnome-xml-tree.html#BAD-CAST"
155>BAD_CAST</A
156>
Daniel Veillardf3a73582000-01-05 14:58:39 +0000157struct <A
158HREF="gnome-xml-tree.html#XMLNOTATION"
159>xmlNotation</A
160>;
Daniel Veillard35925471999-02-25 08:46:07 +0000161typedef <A
162HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
163>xmlNotationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000164>;
Daniel Veillard35925471999-02-25 08:46:07 +0000165enum <A
166HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
167>xmlAttributeType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169enum <A
170HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
171>xmlAttributeDefault</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000172>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000173struct <A
174HREF="gnome-xml-tree.html#XMLENUMERATION"
175>xmlEnumeration</A
176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177typedef <A
178HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
179>xmlEnumerationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000180>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000181struct <A
182HREF="gnome-xml-tree.html#XMLATTRIBUTE"
183>xmlAttribute</A
184>;
Daniel Veillard35925471999-02-25 08:46:07 +0000185typedef <A
186HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
187>xmlAttributePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000188>;
Daniel Veillard35925471999-02-25 08:46:07 +0000189enum <A
190HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
191>xmlElementContentType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193enum <A
194HREF="gnome-xml-tree.html#XMLELEMENTCONTENTOCCUR"
195>xmlElementContentOccur</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000196>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000197struct <A
198HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
199>xmlElementContent</A
200>;
Daniel Veillard35925471999-02-25 08:46:07 +0000201typedef <A
202HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
203>xmlElementContentPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000204>;
Daniel Veillard35925471999-02-25 08:46:07 +0000205enum <A
206HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
207>xmlElementTypeVal</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000208>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000209struct <A
210HREF="gnome-xml-tree.html#XMLELEMENT"
211>xmlElement</A
212>;
Daniel Veillard35925471999-02-25 08:46:07 +0000213typedef <A
214HREF="gnome-xml-tree.html#XMLELEMENTPTR"
215>xmlElementPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000216>;
Daniel Veillard35925471999-02-25 08:46:07 +0000217enum <A
218HREF="gnome-xml-tree.html#XMLNSTYPE"
219>xmlNsType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000220>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000221struct <A
222HREF="gnome-xml-tree.html#XMLNS"
223>xmlNs</A
224>;
Daniel Veillard35925471999-02-25 08:46:07 +0000225typedef <A
226HREF="gnome-xml-tree.html#XMLNSPTR"
227>xmlNsPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000228>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000229struct <A
230HREF="gnome-xml-tree.html#XMLDTD"
231>xmlDtd</A
232>;
Daniel Veillard35925471999-02-25 08:46:07 +0000233typedef <A
234HREF="gnome-xml-tree.html#XMLDTDPTR"
235>xmlDtdPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000236>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000237struct <A
238HREF="gnome-xml-tree.html#XMLATTR"
239>xmlAttr</A
240>;
Daniel Veillard35925471999-02-25 08:46:07 +0000241typedef <A
242HREF="gnome-xml-tree.html#XMLATTRPTR"
243>xmlAttrPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000244>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000245struct <A
246HREF="gnome-xml-tree.html#XMLID"
247>xmlID</A
248>;
Daniel Veillard35925471999-02-25 08:46:07 +0000249typedef <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000250HREF="gnome-xml-tree.html#XMLIDPTR"
251>xmlIDPtr</A
252>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000253struct <A
254HREF="gnome-xml-tree.html#XMLREF"
255>xmlRef</A
256>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000257typedef <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000258HREF="gnome-xml-tree.html#XMLREFPTR"
259>xmlRefPtr</A
260>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000261enum <A
262HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME"
263>xmlBufferAllocationScheme</A
264>;
265struct <A
266HREF="gnome-xml-tree.html#XMLBUFFER"
267>xmlBuffer</A
268>;
269typedef <A
270HREF="gnome-xml-tree.html#XMLBUFFERPTR"
271>xmlBufferPtr</A
272>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000273struct <A
Daniel Veillard35925471999-02-25 08:46:07 +0000274HREF="gnome-xml-tree.html#XMLNODE"
275>xmlNode</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000276>;
Daniel Veillard35925471999-02-25 08:46:07 +0000277typedef <A
278HREF="gnome-xml-tree.html#XMLNODEPTR"
279>xmlNodePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000280>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000281struct <A
Daniel Veillard35925471999-02-25 08:46:07 +0000282HREF="gnome-xml-tree.html#XMLDOC"
283>xmlDoc</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000284>;
Daniel Veillard35925471999-02-25 08:46:07 +0000285typedef <A
286HREF="gnome-xml-tree.html#XMLDOCPTR"
287>xmlDocPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000288>;
Daniel Veillard14fff061999-06-22 21:49:07 +0000289extern xmlNsPtr <A
290HREF="gnome-xml-tree.html#BASEDTD"
291>baseDTD</A
292>;
293extern int <A
294HREF="gnome-xml-tree.html#OLDXMLWDCOMPATIBILITY"
295>oldXMLWDcompatibility</A
296>;
297extern int <A
298HREF="gnome-xml-tree.html#XMLINDENTTREEOUTPUT"
299>xmlIndentTreeOutput</A
300>;
Daniel Veillardf3a73582000-01-05 14:58:39 +0000301extern xmlBufferAllocationScheme <A
302HREF="gnome-xml-tree.html#XMLBUFFERALLOCSCHEME"
303>xmlBufferAllocScheme</A
304>;
Daniel Veillarde41f2b72000-01-30 20:00:07 +0000305extern int <A
306HREF="gnome-xml-tree.html#XMLSAVENOEMPTYTAGS"
307>xmlSaveNoEmptyTags</A
308>;
Daniel Veillard5099ae81999-04-21 20:12:07 +0000309<A
310HREF="gnome-xml-tree.html#XMLBUFFERPTR"
311>xmlBufferPtr</A
312> <A
313HREF="gnome-xml-tree.html#XMLBUFFERCREATE"
314>xmlBufferCreate</A
315> (void);
Daniel Veillardf3a73582000-01-05 14:58:39 +0000316<A
317HREF="gnome-xml-tree.html#XMLBUFFERPTR"
318>xmlBufferPtr</A
319> <A
320HREF="gnome-xml-tree.html#XMLBUFFERCREATESIZE"
321>xmlBufferCreateSize</A
322> (<GTKDOCLINK
323HREF="SIZE-T"
324>size_t</GTKDOCLINK
325> size);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000326void <A
327HREF="gnome-xml-tree.html#XMLBUFFERFREE"
328>xmlBufferFree</A
329> (<A
330HREF="gnome-xml-tree.html#XMLBUFFERPTR"
331>xmlBufferPtr</A
332> buf);
333int <A
334HREF="gnome-xml-tree.html#XMLBUFFERDUMP"
335>xmlBufferDump</A
336> (<GTKDOCLINK
337HREF="FILE"
338>FILE</GTKDOCLINK
339> *file,
340 <A
341HREF="gnome-xml-tree.html#XMLBUFFERPTR"
342>xmlBufferPtr</A
343> buf);
344void <A
345HREF="gnome-xml-tree.html#XMLBUFFERADD"
346>xmlBufferAdd</A
347> (<A
348HREF="gnome-xml-tree.html#XMLBUFFERPTR"
349>xmlBufferPtr</A
350> buf,
351 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000352HREF="gnome-xml-tree.html#XMLCHAR"
353>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000354> *str,
355 int len);
356void <A
357HREF="gnome-xml-tree.html#XMLBUFFERCAT"
358>xmlBufferCat</A
359> (<A
360HREF="gnome-xml-tree.html#XMLBUFFERPTR"
361>xmlBufferPtr</A
362> buf,
363 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000364HREF="gnome-xml-tree.html#XMLCHAR"
365>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000366> *str);
367void <A
368HREF="gnome-xml-tree.html#XMLBUFFERCCAT"
369>xmlBufferCCat</A
370> (<A
371HREF="gnome-xml-tree.html#XMLBUFFERPTR"
372>xmlBufferPtr</A
373> buf,
374 const char *str);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000375int <A
376HREF="gnome-xml-tree.html#XMLBUFFERSHRINK"
377>xmlBufferShrink</A
378> (<A
379HREF="gnome-xml-tree.html#XMLBUFFERPTR"
380>xmlBufferPtr</A
381> buf,
382 int len);
383void <A
384HREF="gnome-xml-tree.html#XMLBUFFEREMPTY"
385>xmlBufferEmpty</A
386> (<A
387HREF="gnome-xml-tree.html#XMLBUFFERPTR"
388>xmlBufferPtr</A
389> buf);
Daniel Veillardf3a73582000-01-05 14:58:39 +0000390const <A
391HREF="gnome-xml-tree.html#XMLCHAR"
392>xmlChar</A
393>* <A
394HREF="gnome-xml-tree.html#XMLBUFFERCONTENT"
395>xmlBufferContent</A
396> (const <A
397HREF="gnome-xml-tree.html#XMLBUFFERPTR"
398>xmlBufferPtr</A
399> buf);
400int <A
401HREF="gnome-xml-tree.html#XMLBUFFERUSE"
402>xmlBufferUse</A
403> (const <A
404HREF="gnome-xml-tree.html#XMLBUFFERPTR"
405>xmlBufferPtr</A
406> buf);
407void <A
408HREF="gnome-xml-tree.html#XMLBUFFERSETALLOCATIONSCHEME"
409>xmlBufferSetAllocationScheme</A
410> (<A
411HREF="gnome-xml-tree.html#XMLBUFFERPTR"
412>xmlBufferPtr</A
413> buf,
414 <A
415HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME"
416>xmlBufferAllocationScheme</A
417> scheme);
418int <A
419HREF="gnome-xml-tree.html#XMLBUFFERLENGTH"
420>xmlBufferLength</A
421> (const <A
422HREF="gnome-xml-tree.html#XMLBUFFERPTR"
423>xmlBufferPtr</A
424> buf);
Daniel Veillard35925471999-02-25 08:46:07 +0000425<A
426HREF="gnome-xml-tree.html#XMLDTDPTR"
427>xmlDtdPtr</A
428> <A
429HREF="gnome-xml-tree.html#XMLCREATEINTSUBSET"
430>xmlCreateIntSubset</A
431> (<A
432HREF="gnome-xml-tree.html#XMLDOCPTR"
433>xmlDocPtr</A
434> doc,
435 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000436HREF="gnome-xml-tree.html#XMLCHAR"
437>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000438> *name,
439 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000440HREF="gnome-xml-tree.html#XMLCHAR"
441>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000442> *ExternalID,
443 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000444HREF="gnome-xml-tree.html#XMLCHAR"
445>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000446> *SystemID);
447<A
448HREF="gnome-xml-tree.html#XMLDTDPTR"
449>xmlDtdPtr</A
450> <A
451HREF="gnome-xml-tree.html#XMLNEWDTD"
452>xmlNewDtd</A
453> (<A
454HREF="gnome-xml-tree.html#XMLDOCPTR"
455>xmlDocPtr</A
456> doc,
457 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000458HREF="gnome-xml-tree.html#XMLCHAR"
459>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000460> *name,
461 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000462HREF="gnome-xml-tree.html#XMLCHAR"
463>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000464> *ExternalID,
465 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000466HREF="gnome-xml-tree.html#XMLCHAR"
467>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000468> *SystemID);
469void <A
470HREF="gnome-xml-tree.html#XMLFREEDTD"
471>xmlFreeDtd</A
472> (<A
473HREF="gnome-xml-tree.html#XMLDTDPTR"
474>xmlDtdPtr</A
475> cur);
476<A
477HREF="gnome-xml-tree.html#XMLNSPTR"
478>xmlNsPtr</A
479> <A
480HREF="gnome-xml-tree.html#XMLNEWGLOBALNS"
481>xmlNewGlobalNs</A
482> (<A
483HREF="gnome-xml-tree.html#XMLDOCPTR"
484>xmlDocPtr</A
485> doc,
486 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000487HREF="gnome-xml-tree.html#XMLCHAR"
488>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000489> *href,
490 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000491HREF="gnome-xml-tree.html#XMLCHAR"
492>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000493> *prefix);
494<A
495HREF="gnome-xml-tree.html#XMLNSPTR"
496>xmlNsPtr</A
497> <A
498HREF="gnome-xml-tree.html#XMLNEWNS"
499>xmlNewNs</A
500> (<A
501HREF="gnome-xml-tree.html#XMLNODEPTR"
502>xmlNodePtr</A
503> node,
504 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000505HREF="gnome-xml-tree.html#XMLCHAR"
506>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000507> *href,
508 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000509HREF="gnome-xml-tree.html#XMLCHAR"
510>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000511> *prefix);
512void <A
513HREF="gnome-xml-tree.html#XMLFREENS"
514>xmlFreeNs</A
515> (<A
516HREF="gnome-xml-tree.html#XMLNSPTR"
517>xmlNsPtr</A
518> cur);
519<A
520HREF="gnome-xml-tree.html#XMLDOCPTR"
521>xmlDocPtr</A
522> <A
523HREF="gnome-xml-tree.html#XMLNEWDOC"
524>xmlNewDoc</A
525> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000526HREF="gnome-xml-tree.html#XMLCHAR"
527>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000528> *version);
529void <A
530HREF="gnome-xml-tree.html#XMLFREEDOC"
531>xmlFreeDoc</A
532> (<A
533HREF="gnome-xml-tree.html#XMLDOCPTR"
534>xmlDocPtr</A
535> cur);
536<A
537HREF="gnome-xml-tree.html#XMLATTRPTR"
538>xmlAttrPtr</A
539> <A
540HREF="gnome-xml-tree.html#XMLNEWDOCPROP"
541>xmlNewDocProp</A
542> (<A
543HREF="gnome-xml-tree.html#XMLDOCPTR"
544>xmlDocPtr</A
545> doc,
546 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000547HREF="gnome-xml-tree.html#XMLCHAR"
548>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000549> *name,
550 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000551HREF="gnome-xml-tree.html#XMLCHAR"
552>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000553> *value);
554<A
555HREF="gnome-xml-tree.html#XMLATTRPTR"
556>xmlAttrPtr</A
557> <A
558HREF="gnome-xml-tree.html#XMLNEWPROP"
559>xmlNewProp</A
560> (<A
561HREF="gnome-xml-tree.html#XMLNODEPTR"
562>xmlNodePtr</A
563> node,
564 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000565HREF="gnome-xml-tree.html#XMLCHAR"
566>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000567> *name,
568 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000569HREF="gnome-xml-tree.html#XMLCHAR"
570>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000571> *value);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000572<A
573HREF="gnome-xml-tree.html#XMLATTRPTR"
574>xmlAttrPtr</A
575> <A
576HREF="gnome-xml-tree.html#XMLNEWNSPROP"
577>xmlNewNsProp</A
578> (<A
579HREF="gnome-xml-tree.html#XMLNODEPTR"
580>xmlNodePtr</A
581> node,
582 <A
583HREF="gnome-xml-tree.html#XMLNSPTR"
584>xmlNsPtr</A
585> ns,
586 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000587HREF="gnome-xml-tree.html#XMLCHAR"
588>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000589> *name,
590 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000591HREF="gnome-xml-tree.html#XMLCHAR"
592>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000593> *value);
Daniel Veillard35925471999-02-25 08:46:07 +0000594void <A
595HREF="gnome-xml-tree.html#XMLFREEPROPLIST"
596>xmlFreePropList</A
597> (<A
598HREF="gnome-xml-tree.html#XMLATTRPTR"
599>xmlAttrPtr</A
600> cur);
601void <A
602HREF="gnome-xml-tree.html#XMLFREEPROP"
603>xmlFreeProp</A
604> (<A
605HREF="gnome-xml-tree.html#XMLATTRPTR"
606>xmlAttrPtr</A
607> cur);
608<A
609HREF="gnome-xml-tree.html#XMLATTRPTR"
610>xmlAttrPtr</A
611> <A
612HREF="gnome-xml-tree.html#XMLCOPYPROP"
613>xmlCopyProp</A
614> (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000615HREF="gnome-xml-tree.html#XMLNODEPTR"
616>xmlNodePtr</A
617> target,
618 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000619HREF="gnome-xml-tree.html#XMLATTRPTR"
620>xmlAttrPtr</A
621> cur);
622<A
623HREF="gnome-xml-tree.html#XMLATTRPTR"
624>xmlAttrPtr</A
625> <A
626HREF="gnome-xml-tree.html#XMLCOPYPROPLIST"
627>xmlCopyPropList</A
628> (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000629HREF="gnome-xml-tree.html#XMLNODEPTR"
630>xmlNodePtr</A
631> target,
632 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000633HREF="gnome-xml-tree.html#XMLATTRPTR"
634>xmlAttrPtr</A
635> cur);
636<A
637HREF="gnome-xml-tree.html#XMLDTDPTR"
638>xmlDtdPtr</A
639> <A
640HREF="gnome-xml-tree.html#XMLCOPYDTD"
641>xmlCopyDtd</A
642> (<A
643HREF="gnome-xml-tree.html#XMLDTDPTR"
644>xmlDtdPtr</A
645> dtd);
646<A
647HREF="gnome-xml-tree.html#XMLDOCPTR"
648>xmlDocPtr</A
649> <A
650HREF="gnome-xml-tree.html#XMLCOPYDOC"
651>xmlCopyDoc</A
652> (<A
653HREF="gnome-xml-tree.html#XMLDOCPTR"
654>xmlDocPtr</A
655> doc,
656 int recursive);
657<A
658HREF="gnome-xml-tree.html#XMLNODEPTR"
659>xmlNodePtr</A
660> <A
661HREF="gnome-xml-tree.html#XMLNEWDOCNODE"
662>xmlNewDocNode</A
663> (<A
664HREF="gnome-xml-tree.html#XMLDOCPTR"
665>xmlDocPtr</A
666> doc,
667 <A
668HREF="gnome-xml-tree.html#XMLNSPTR"
669>xmlNsPtr</A
670> ns,
671 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000672HREF="gnome-xml-tree.html#XMLCHAR"
673>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000674> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000675 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000676HREF="gnome-xml-tree.html#XMLCHAR"
677>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000678> *content);
679<A
680HREF="gnome-xml-tree.html#XMLNODEPTR"
681>xmlNodePtr</A
682> <A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000683HREF="gnome-xml-tree.html#XMLNEWDOCRAWNODE"
684>xmlNewDocRawNode</A
685> (<A
686HREF="gnome-xml-tree.html#XMLDOCPTR"
687>xmlDocPtr</A
688> doc,
689 <A
690HREF="gnome-xml-tree.html#XMLNSPTR"
691>xmlNsPtr</A
692> ns,
693 const <A
694HREF="gnome-xml-tree.html#XMLCHAR"
695>xmlChar</A
696> *name,
697 const <A
698HREF="gnome-xml-tree.html#XMLCHAR"
699>xmlChar</A
700> *content);
701<A
702HREF="gnome-xml-tree.html#XMLNODEPTR"
703>xmlNodePtr</A
704> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000705HREF="gnome-xml-tree.html#XMLNEWNODE"
706>xmlNewNode</A
707> (<A
708HREF="gnome-xml-tree.html#XMLNSPTR"
709>xmlNsPtr</A
710> ns,
711 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000712HREF="gnome-xml-tree.html#XMLCHAR"
713>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000714> *name);
715<A
716HREF="gnome-xml-tree.html#XMLNODEPTR"
717>xmlNodePtr</A
718> <A
719HREF="gnome-xml-tree.html#XMLNEWCHILD"
720>xmlNewChild</A
721> (<A
722HREF="gnome-xml-tree.html#XMLNODEPTR"
723>xmlNodePtr</A
724> parent,
725 <A
726HREF="gnome-xml-tree.html#XMLNSPTR"
727>xmlNsPtr</A
728> ns,
729 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000730HREF="gnome-xml-tree.html#XMLCHAR"
731>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000732> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000733 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000734HREF="gnome-xml-tree.html#XMLCHAR"
735>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000736> *content);
737<A
738HREF="gnome-xml-tree.html#XMLNODEPTR"
739>xmlNodePtr</A
740> <A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000741HREF="gnome-xml-tree.html#XMLNEWTEXTCHILD"
742>xmlNewTextChild</A
743> (<A
744HREF="gnome-xml-tree.html#XMLNODEPTR"
745>xmlNodePtr</A
746> parent,
747 <A
748HREF="gnome-xml-tree.html#XMLNSPTR"
749>xmlNsPtr</A
750> ns,
751 const <A
752HREF="gnome-xml-tree.html#XMLCHAR"
753>xmlChar</A
754> *name,
755 const <A
756HREF="gnome-xml-tree.html#XMLCHAR"
757>xmlChar</A
758> *content);
759<A
760HREF="gnome-xml-tree.html#XMLNODEPTR"
761>xmlNodePtr</A
762> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000763HREF="gnome-xml-tree.html#XMLNEWDOCTEXT"
764>xmlNewDocText</A
765> (<A
766HREF="gnome-xml-tree.html#XMLDOCPTR"
767>xmlDocPtr</A
768> doc,
769 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000770HREF="gnome-xml-tree.html#XMLCHAR"
771>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000772> *content);
773<A
774HREF="gnome-xml-tree.html#XMLNODEPTR"
775>xmlNodePtr</A
776> <A
777HREF="gnome-xml-tree.html#XMLNEWTEXT"
778>xmlNewText</A
779> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000780HREF="gnome-xml-tree.html#XMLCHAR"
781>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000782> *content);
783<A
784HREF="gnome-xml-tree.html#XMLNODEPTR"
785>xmlNodePtr</A
786> <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000787HREF="gnome-xml-tree.html#XMLNEWPI"
788>xmlNewPI</A
789> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000790HREF="gnome-xml-tree.html#XMLCHAR"
791>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000792> *name,
793 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000794HREF="gnome-xml-tree.html#XMLCHAR"
795>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000796> *content);
797<A
798HREF="gnome-xml-tree.html#XMLNODEPTR"
799>xmlNodePtr</A
800> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000801HREF="gnome-xml-tree.html#XMLNEWDOCTEXTLEN"
802>xmlNewDocTextLen</A
803> (<A
804HREF="gnome-xml-tree.html#XMLDOCPTR"
805>xmlDocPtr</A
806> doc,
807 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000808HREF="gnome-xml-tree.html#XMLCHAR"
809>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000810> *content,
811 int len);
812<A
813HREF="gnome-xml-tree.html#XMLNODEPTR"
814>xmlNodePtr</A
815> <A
816HREF="gnome-xml-tree.html#XMLNEWTEXTLEN"
817>xmlNewTextLen</A
818> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000819HREF="gnome-xml-tree.html#XMLCHAR"
820>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000821> *content,
822 int len);
823<A
824HREF="gnome-xml-tree.html#XMLNODEPTR"
825>xmlNodePtr</A
826> <A
827HREF="gnome-xml-tree.html#XMLNEWDOCCOMMENT"
828>xmlNewDocComment</A
829> (<A
830HREF="gnome-xml-tree.html#XMLDOCPTR"
831>xmlDocPtr</A
832> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000833 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000834HREF="gnome-xml-tree.html#XMLCHAR"
835>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000836> *content);
837<A
838HREF="gnome-xml-tree.html#XMLNODEPTR"
839>xmlNodePtr</A
840> <A
841HREF="gnome-xml-tree.html#XMLNEWCOMMENT"
842>xmlNewComment</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000843> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000844HREF="gnome-xml-tree.html#XMLCHAR"
845>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000846> *content);
847<A
848HREF="gnome-xml-tree.html#XMLNODEPTR"
849>xmlNodePtr</A
850> <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000851HREF="gnome-xml-tree.html#XMLNEWCDATABLOCK"
852>xmlNewCDataBlock</A
853> (<A
854HREF="gnome-xml-tree.html#XMLDOCPTR"
855>xmlDocPtr</A
856> doc,
857 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000858HREF="gnome-xml-tree.html#XMLCHAR"
859>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000860> *content,
861 int len);
862<A
863HREF="gnome-xml-tree.html#XMLNODEPTR"
864>xmlNodePtr</A
865> <A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000866HREF="gnome-xml-tree.html#XMLNEWCHARREF"
867>xmlNewCharRef</A
868> (<A
869HREF="gnome-xml-tree.html#XMLDOCPTR"
870>xmlDocPtr</A
871> doc,
872 const <A
873HREF="gnome-xml-tree.html#XMLCHAR"
874>xmlChar</A
875> *name);
876<A
877HREF="gnome-xml-tree.html#XMLNODEPTR"
878>xmlNodePtr</A
879> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000880HREF="gnome-xml-tree.html#XMLNEWREFERENCE"
881>xmlNewReference</A
882> (<A
883HREF="gnome-xml-tree.html#XMLDOCPTR"
884>xmlDocPtr</A
885> doc,
886 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000887HREF="gnome-xml-tree.html#XMLCHAR"
888>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000889> *name);
890<A
891HREF="gnome-xml-tree.html#XMLNODEPTR"
892>xmlNodePtr</A
893> <A
894HREF="gnome-xml-tree.html#XMLCOPYNODE"
895>xmlCopyNode</A
896> (<A
897HREF="gnome-xml-tree.html#XMLNODEPTR"
898>xmlNodePtr</A
899> node,
900 int recursive);
901<A
902HREF="gnome-xml-tree.html#XMLNODEPTR"
903>xmlNodePtr</A
904> <A
905HREF="gnome-xml-tree.html#XMLCOPYNODELIST"
906>xmlCopyNodeList</A
907> (<A
908HREF="gnome-xml-tree.html#XMLNODEPTR"
909>xmlNodePtr</A
910> node);
911<A
912HREF="gnome-xml-tree.html#XMLNODEPTR"
913>xmlNodePtr</A
914> <A
Daniel Veillard0142b842000-01-14 14:45:24 +0000915HREF="gnome-xml-tree.html#XMLNEWDOCFRAGMENT"
916>xmlNewDocFragment</A
917> (<A
918HREF="gnome-xml-tree.html#XMLDOCPTR"
919>xmlDocPtr</A
920> doc);
921<A
922HREF="gnome-xml-tree.html#XMLNODEPTR"
923>xmlNodePtr</A
924> <A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000925HREF="gnome-xml-tree.html#XMLDOCGETROOTELEMENT"
926>xmlDocGetRootElement</A
927> (<A
928HREF="gnome-xml-tree.html#XMLDOCPTR"
929>xmlDocPtr</A
930> doc);
931<A
932HREF="gnome-xml-tree.html#XMLNODEPTR"
933>xmlNodePtr</A
934> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000935HREF="gnome-xml-tree.html#XMLGETLASTCHILD"
936>xmlGetLastChild</A
937> (<A
938HREF="gnome-xml-tree.html#XMLNODEPTR"
939>xmlNodePtr</A
940> parent);
941int <A
942HREF="gnome-xml-tree.html#XMLNODEISTEXT"
943>xmlNodeIsText</A
944> (<A
945HREF="gnome-xml-tree.html#XMLNODEPTR"
946>xmlNodePtr</A
947> node);
Daniel Veillard3bde3e22000-01-30 20:00:07 +0000948int <A
949HREF="gnome-xml-tree.html#XMLISBLANKNODE"
950>xmlIsBlankNode</A
951> (<A
952HREF="gnome-xml-tree.html#XMLNODEPTR"
953>xmlNodePtr</A
954> node);
Daniel Veillard35925471999-02-25 08:46:07 +0000955<A
956HREF="gnome-xml-tree.html#XMLNODEPTR"
957>xmlNodePtr</A
958> <A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000959HREF="gnome-xml-tree.html#XMLDOCSETROOTELEMENT"
960>xmlDocSetRootElement</A
961> (<A
962HREF="gnome-xml-tree.html#XMLDOCPTR"
963>xmlDocPtr</A
964> doc,
965 <A
966HREF="gnome-xml-tree.html#XMLNODEPTR"
967>xmlNodePtr</A
968> root);
969void <A
970HREF="gnome-xml-tree.html#XMLNODESETNAME"
971>xmlNodeSetName</A
972> (<A
973HREF="gnome-xml-tree.html#XMLNODEPTR"
974>xmlNodePtr</A
975> cur,
976 const <A
977HREF="gnome-xml-tree.html#XMLCHAR"
978>xmlChar</A
979> *name);
980<A
981HREF="gnome-xml-tree.html#XMLNODEPTR"
982>xmlNodePtr</A
983> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000984HREF="gnome-xml-tree.html#XMLADDCHILD"
985>xmlAddChild</A
986> (<A
987HREF="gnome-xml-tree.html#XMLNODEPTR"
988>xmlNodePtr</A
989> parent,
990 <A
991HREF="gnome-xml-tree.html#XMLNODEPTR"
992>xmlNodePtr</A
993> cur);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000994<A
995HREF="gnome-xml-tree.html#XMLNODEPTR"
996>xmlNodePtr</A
997> <A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000998HREF="gnome-xml-tree.html#XMLREPLACENODE"
999>xmlReplaceNode</A
1000> (<A
1001HREF="gnome-xml-tree.html#XMLNODEPTR"
1002>xmlNodePtr</A
1003> old,
1004 <A
1005HREF="gnome-xml-tree.html#XMLNODEPTR"
1006>xmlNodePtr</A
1007> cur);
1008<A
1009HREF="gnome-xml-tree.html#XMLNODEPTR"
1010>xmlNodePtr</A
1011> <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001012HREF="gnome-xml-tree.html#XMLADDSIBLING"
1013>xmlAddSibling</A
1014> (<A
1015HREF="gnome-xml-tree.html#XMLNODEPTR"
1016>xmlNodePtr</A
1017> cur,
1018 <A
1019HREF="gnome-xml-tree.html#XMLNODEPTR"
1020>xmlNodePtr</A
1021> elem);
Daniel Veillardf3a73582000-01-05 14:58:39 +00001022<A
1023HREF="gnome-xml-tree.html#XMLNODEPTR"
1024>xmlNodePtr</A
1025> <A
1026HREF="gnome-xml-tree.html#XMLADDPREVSIBLING"
1027>xmlAddPrevSibling</A
1028> (<A
1029HREF="gnome-xml-tree.html#XMLNODEPTR"
1030>xmlNodePtr</A
1031> cur,
1032 <A
1033HREF="gnome-xml-tree.html#XMLNODEPTR"
1034>xmlNodePtr</A
1035> elem);
1036<A
1037HREF="gnome-xml-tree.html#XMLNODEPTR"
1038>xmlNodePtr</A
1039> <A
1040HREF="gnome-xml-tree.html#XMLADDNEXTSIBLING"
1041>xmlAddNextSibling</A
1042> (<A
1043HREF="gnome-xml-tree.html#XMLNODEPTR"
1044>xmlNodePtr</A
1045> cur,
1046 <A
1047HREF="gnome-xml-tree.html#XMLNODEPTR"
1048>xmlNodePtr</A
1049> elem);
Daniel Veillard35925471999-02-25 08:46:07 +00001050void <A
1051HREF="gnome-xml-tree.html#XMLUNLINKNODE"
1052>xmlUnlinkNode</A
1053> (<A
1054HREF="gnome-xml-tree.html#XMLNODEPTR"
1055>xmlNodePtr</A
1056> cur);
1057<A
1058HREF="gnome-xml-tree.html#XMLNODEPTR"
1059>xmlNodePtr</A
1060> <A
1061HREF="gnome-xml-tree.html#XMLTEXTMERGE"
1062>xmlTextMerge</A
1063> (<A
1064HREF="gnome-xml-tree.html#XMLNODEPTR"
1065>xmlNodePtr</A
1066> first,
1067 <A
1068HREF="gnome-xml-tree.html#XMLNODEPTR"
1069>xmlNodePtr</A
1070> second);
1071void <A
1072HREF="gnome-xml-tree.html#XMLTEXTCONCAT"
1073>xmlTextConcat</A
1074> (<A
1075HREF="gnome-xml-tree.html#XMLNODEPTR"
1076>xmlNodePtr</A
1077> node,
1078 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001079HREF="gnome-xml-tree.html#XMLCHAR"
1080>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001081> *content,
1082 int len);
1083void <A
1084HREF="gnome-xml-tree.html#XMLFREENODELIST"
1085>xmlFreeNodeList</A
1086> (<A
1087HREF="gnome-xml-tree.html#XMLNODEPTR"
1088>xmlNodePtr</A
1089> cur);
1090void <A
1091HREF="gnome-xml-tree.html#XMLFREENODE"
1092>xmlFreeNode</A
1093> (<A
1094HREF="gnome-xml-tree.html#XMLNODEPTR"
1095>xmlNodePtr</A
1096> cur);
Daniel Veillardf3a73582000-01-05 14:58:39 +00001097int <A
1098HREF="gnome-xml-tree.html#XMLREMOVEPROP"
1099>xmlRemoveProp</A
1100> (<A
1101HREF="gnome-xml-tree.html#XMLATTRPTR"
1102>xmlAttrPtr</A
1103> cur);
Daniel Veillard35925471999-02-25 08:46:07 +00001104<A
1105HREF="gnome-xml-tree.html#XMLNSPTR"
1106>xmlNsPtr</A
1107> <A
1108HREF="gnome-xml-tree.html#XMLSEARCHNS"
1109>xmlSearchNs</A
1110> (<A
1111HREF="gnome-xml-tree.html#XMLDOCPTR"
1112>xmlDocPtr</A
1113> doc,
1114 <A
1115HREF="gnome-xml-tree.html#XMLNODEPTR"
1116>xmlNodePtr</A
1117> node,
1118 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001119HREF="gnome-xml-tree.html#XMLCHAR"
1120>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001121> *nameSpace);
1122<A
1123HREF="gnome-xml-tree.html#XMLNSPTR"
1124>xmlNsPtr</A
1125> <A
1126HREF="gnome-xml-tree.html#XMLSEARCHNSBYHREF"
1127>xmlSearchNsByHref</A
1128> (<A
1129HREF="gnome-xml-tree.html#XMLDOCPTR"
1130>xmlDocPtr</A
1131> doc,
1132 <A
1133HREF="gnome-xml-tree.html#XMLNODEPTR"
1134>xmlNodePtr</A
1135> node,
1136 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001137HREF="gnome-xml-tree.html#XMLCHAR"
1138>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001139> *href);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001140<A
1141HREF="gnome-xml-tree.html#XMLNSPTR"
1142>xmlNsPtr</A
1143>* <A
1144HREF="gnome-xml-tree.html#XMLGETNSLIST"
1145>xmlGetNsList</A
1146> (<A
1147HREF="gnome-xml-tree.html#XMLDOCPTR"
1148>xmlDocPtr</A
1149> doc,
1150 <A
1151HREF="gnome-xml-tree.html#XMLNODEPTR"
1152>xmlNodePtr</A
1153> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001154void <A
1155HREF="gnome-xml-tree.html#XMLSETNS"
1156>xmlSetNs</A
1157> (<A
1158HREF="gnome-xml-tree.html#XMLNODEPTR"
1159>xmlNodePtr</A
1160> node,
1161 <A
1162HREF="gnome-xml-tree.html#XMLNSPTR"
1163>xmlNsPtr</A
1164> ns);
1165<A
1166HREF="gnome-xml-tree.html#XMLNSPTR"
1167>xmlNsPtr</A
1168> <A
1169HREF="gnome-xml-tree.html#XMLCOPYNAMESPACE"
1170>xmlCopyNamespace</A
1171> (<A
1172HREF="gnome-xml-tree.html#XMLNSPTR"
1173>xmlNsPtr</A
1174> cur);
1175<A
1176HREF="gnome-xml-tree.html#XMLNSPTR"
1177>xmlNsPtr</A
1178> <A
1179HREF="gnome-xml-tree.html#XMLCOPYNAMESPACELIST"
1180>xmlCopyNamespaceList</A
1181> (<A
1182HREF="gnome-xml-tree.html#XMLNSPTR"
1183>xmlNsPtr</A
1184> cur);
1185<A
1186HREF="gnome-xml-tree.html#XMLATTRPTR"
1187>xmlAttrPtr</A
1188> <A
1189HREF="gnome-xml-tree.html#XMLSETPROP"
1190>xmlSetProp</A
1191> (<A
1192HREF="gnome-xml-tree.html#XMLNODEPTR"
1193>xmlNodePtr</A
1194> node,
1195 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001196HREF="gnome-xml-tree.html#XMLCHAR"
1197>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001198> *name,
1199 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001200HREF="gnome-xml-tree.html#XMLCHAR"
1201>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001202> *value);
1203<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001204HREF="gnome-xml-tree.html#XMLCHAR"
1205>xmlChar</A
1206>* <A
Daniel Veillard35925471999-02-25 08:46:07 +00001207HREF="gnome-xml-tree.html#XMLGETPROP"
1208>xmlGetProp</A
1209> (<A
1210HREF="gnome-xml-tree.html#XMLNODEPTR"
1211>xmlNodePtr</A
1212> node,
1213 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001214HREF="gnome-xml-tree.html#XMLCHAR"
1215>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001216> *name);
1217<A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001218HREF="gnome-xml-tree.html#XMLCHAR"
1219>xmlChar</A
1220>* <A
1221HREF="gnome-xml-tree.html#XMLGETNSPROP"
1222>xmlGetNsProp</A
1223> (<A
1224HREF="gnome-xml-tree.html#XMLNODEPTR"
1225>xmlNodePtr</A
1226> node,
1227 const <A
1228HREF="gnome-xml-tree.html#XMLCHAR"
1229>xmlChar</A
1230> *name,
1231 const <A
1232HREF="gnome-xml-tree.html#XMLCHAR"
1233>xmlChar</A
1234> *nameSpace);
1235<A
Daniel Veillard35925471999-02-25 08:46:07 +00001236HREF="gnome-xml-tree.html#XMLNODEPTR"
1237>xmlNodePtr</A
1238> <A
1239HREF="gnome-xml-tree.html#XMLSTRINGGETNODELIST"
1240>xmlStringGetNodeList</A
1241> (<A
1242HREF="gnome-xml-tree.html#XMLDOCPTR"
1243>xmlDocPtr</A
1244> doc,
1245 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001246HREF="gnome-xml-tree.html#XMLCHAR"
1247>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001248> *value);
1249<A
1250HREF="gnome-xml-tree.html#XMLNODEPTR"
1251>xmlNodePtr</A
1252> <A
1253HREF="gnome-xml-tree.html#XMLSTRINGLENGETNODELIST"
1254>xmlStringLenGetNodeList</A
1255> (<A
1256HREF="gnome-xml-tree.html#XMLDOCPTR"
1257>xmlDocPtr</A
1258> doc,
1259 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001260HREF="gnome-xml-tree.html#XMLCHAR"
1261>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001262> *value,
1263 int len);
1264<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001265HREF="gnome-xml-tree.html#XMLCHAR"
1266>xmlChar</A
1267>* <A
Daniel Veillard35925471999-02-25 08:46:07 +00001268HREF="gnome-xml-tree.html#XMLNODELISTGETSTRING"
1269>xmlNodeListGetString</A
1270> (<A
1271HREF="gnome-xml-tree.html#XMLDOCPTR"
1272>xmlDocPtr</A
1273> doc,
1274 <A
1275HREF="gnome-xml-tree.html#XMLNODEPTR"
1276>xmlNodePtr</A
1277> list,
1278 int inLine);
1279void <A
1280HREF="gnome-xml-tree.html#XMLNODESETCONTENT"
1281>xmlNodeSetContent</A
1282> (<A
1283HREF="gnome-xml-tree.html#XMLNODEPTR"
1284>xmlNodePtr</A
1285> cur,
1286 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001287HREF="gnome-xml-tree.html#XMLCHAR"
1288>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001289> *content);
1290void <A
1291HREF="gnome-xml-tree.html#XMLNODESETCONTENTLEN"
1292>xmlNodeSetContentLen</A
1293> (<A
1294HREF="gnome-xml-tree.html#XMLNODEPTR"
1295>xmlNodePtr</A
1296> cur,
1297 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001298HREF="gnome-xml-tree.html#XMLCHAR"
1299>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001300> *content,
1301 int len);
1302void <A
1303HREF="gnome-xml-tree.html#XMLNODEADDCONTENT"
1304>xmlNodeAddContent</A
1305> (<A
1306HREF="gnome-xml-tree.html#XMLNODEPTR"
1307>xmlNodePtr</A
1308> cur,
1309 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001310HREF="gnome-xml-tree.html#XMLCHAR"
1311>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001312> *content);
1313void <A
1314HREF="gnome-xml-tree.html#XMLNODEADDCONTENTLEN"
1315>xmlNodeAddContentLen</A
1316> (<A
1317HREF="gnome-xml-tree.html#XMLNODEPTR"
1318>xmlNodePtr</A
1319> cur,
1320 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001321HREF="gnome-xml-tree.html#XMLCHAR"
1322>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001323> *content,
1324 int len);
1325<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001326HREF="gnome-xml-tree.html#XMLCHAR"
1327>xmlChar</A
1328>* <A
Daniel Veillard35925471999-02-25 08:46:07 +00001329HREF="gnome-xml-tree.html#XMLNODEGETCONTENT"
1330>xmlNodeGetContent</A
1331> (<A
1332HREF="gnome-xml-tree.html#XMLNODEPTR"
1333>xmlNodePtr</A
1334> cur);
Daniel Veillarda819dac1999-11-24 18:04:22 +00001335<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001336HREF="gnome-xml-tree.html#XMLCHAR"
1337>xmlChar</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001338>* <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001339HREF="gnome-xml-tree.html#XMLNODEGETLANG"
1340>xmlNodeGetLang</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001341> (<A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001342HREF="gnome-xml-tree.html#XMLNODEPTR"
1343>xmlNodePtr</A
1344> cur);
1345void <A
1346HREF="gnome-xml-tree.html#XMLNODESETLANG"
1347>xmlNodeSetLang</A
1348> (<A
1349HREF="gnome-xml-tree.html#XMLNODEPTR"
1350>xmlNodePtr</A
1351> cur,
1352 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001353HREF="gnome-xml-tree.html#XMLCHAR"
1354>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001355> *lang);
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001356int <A
1357HREF="gnome-xml-tree.html#XMLNODEGETSPACEPRESERVE"
1358>xmlNodeGetSpacePreserve</A
1359> (<A
1360HREF="gnome-xml-tree.html#XMLNODEPTR"
1361>xmlNodePtr</A
1362> cur);
Daniel Veillardf3a73582000-01-05 14:58:39 +00001363<A
1364HREF="gnome-xml-tree.html#XMLCHAR"
1365>xmlChar</A
1366>* <A
1367HREF="gnome-xml-tree.html#XMLNODEGETBASE"
1368>xmlNodeGetBase</A
1369> (<A
1370HREF="gnome-xml-tree.html#XMLDOCPTR"
1371>xmlDocPtr</A
1372> doc,
1373 <A
1374HREF="gnome-xml-tree.html#XMLNODEPTR"
1375>xmlNodePtr</A
Daniel Veillard10a2c651999-12-12 13:03:50 +00001376> cur);
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001377int <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001378HREF="gnome-xml-tree.html#XMLREMOVENODE"
1379>xmlRemoveNode</A
1380> (<A
1381HREF="gnome-xml-tree.html#XMLNODEPTR"
1382>xmlNodePtr</A
1383> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001384void <A
1385HREF="gnome-xml-tree.html#XMLBUFFERWRITECHAR"
1386>xmlBufferWriteCHAR</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001387> (<A
1388HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1389>xmlBufferPtr</A
1390> buf,
1391 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001392HREF="gnome-xml-tree.html#XMLCHAR"
1393>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001394> *string);
1395void <A
1396HREF="gnome-xml-tree.html#XMLBUFFERWRITECHAR"
1397>xmlBufferWriteChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001398> (<A
1399HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1400>xmlBufferPtr</A
1401> buf,
1402 const char *string);
Daniel Veillard35925471999-02-25 08:46:07 +00001403void <A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001404HREF="gnome-xml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"
1405>xmlBufferWriteQuotedString</A
1406> (<A
1407HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1408>xmlBufferPtr</A
1409> buf,
1410 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001411HREF="gnome-xml-tree.html#XMLCHAR"
1412>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001413> *string);
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001414int <A
1415HREF="gnome-xml-tree.html#XMLRECONCILIATENS"
1416>xmlReconciliateNs</A
1417> (<A
1418HREF="gnome-xml-tree.html#XMLDOCPTR"
1419>xmlDocPtr</A
1420> doc,
1421 <A
1422HREF="gnome-xml-tree.html#XMLNODEPTR"
1423>xmlNodePtr</A
1424> tree);
Daniel Veillard011b63c1999-06-02 17:44:04 +00001425void <A
Daniel Veillard35925471999-02-25 08:46:07 +00001426HREF="gnome-xml-tree.html#XMLDOCDUMPMEMORY"
1427>xmlDocDumpMemory</A
1428> (<A
1429HREF="gnome-xml-tree.html#XMLDOCPTR"
1430>xmlDocPtr</A
1431> cur,
1432 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001433HREF="gnome-xml-tree.html#XMLCHAR"
1434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001435> **mem,
1436 int *size);
1437void <A
1438HREF="gnome-xml-tree.html#XMLDOCDUMP"
1439>xmlDocDump</A
1440> (<GTKDOCLINK
1441HREF="FILE"
1442>FILE</GTKDOCLINK
1443> *f,
1444 <A
1445HREF="gnome-xml-tree.html#XMLDOCPTR"
1446>xmlDocPtr</A
1447> cur);
Daniel Veillardf3a73582000-01-05 14:58:39 +00001448void <A
1449HREF="gnome-xml-tree.html#XMLELEMDUMP"
1450>xmlElemDump</A
1451> (<GTKDOCLINK
1452HREF="FILE"
1453>FILE</GTKDOCLINK
1454> *f,
1455 <A
1456HREF="gnome-xml-tree.html#XMLDOCPTR"
1457>xmlDocPtr</A
1458> cur,
1459 <A
1460HREF="gnome-xml-tree.html#XMLNODEPTR"
1461>xmlNodePtr</A
1462> elem);
Daniel Veillard35925471999-02-25 08:46:07 +00001463int <A
1464HREF="gnome-xml-tree.html#XMLSAVEFILE"
1465>xmlSaveFile</A
1466> (const char *filename,
1467 <A
1468HREF="gnome-xml-tree.html#XMLDOCPTR"
1469>xmlDocPtr</A
1470> cur);
1471int <A
1472HREF="gnome-xml-tree.html#XMLGETDOCCOMPRESSMODE"
1473>xmlGetDocCompressMode</A
1474> (<A
1475HREF="gnome-xml-tree.html#XMLDOCPTR"
1476>xmlDocPtr</A
1477> doc);
1478void <A
1479HREF="gnome-xml-tree.html#XMLSETDOCCOMPRESSMODE"
1480>xmlSetDocCompressMode</A
1481> (<A
1482HREF="gnome-xml-tree.html#XMLDOCPTR"
1483>xmlDocPtr</A
1484> doc,
1485 int mode);
1486int <A
1487HREF="gnome-xml-tree.html#XMLGETCOMPRESSMODE"
1488>xmlGetCompressMode</A
1489> (void);
1490void <A
1491HREF="gnome-xml-tree.html#XMLSETCOMPRESSMODE"
1492>xmlSetCompressMode</A
1493> (int mode);</PRE
1494></TD
1495></TR
1496></TABLE
1497></DIV
1498><DIV
1499CLASS="REFSECT1"
1500><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001501NAME="AEN3526"
Daniel Veillard35925471999-02-25 08:46:07 +00001502></A
1503><H2
1504>Description</H2
1505><P
1506></P
1507></DIV
1508><DIV
1509CLASS="REFSECT1"
1510><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001511NAME="AEN3529"
Daniel Veillard35925471999-02-25 08:46:07 +00001512></A
1513><H2
1514>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001515><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001516CLASS="REFSECT2"
1517><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001518NAME="AEN3531"
Daniel Veillard35925471999-02-25 08:46:07 +00001519></A
1520><H3
1521><A
1522NAME="XMLELEMENTTYPE"
1523></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001524>enum xmlElementType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001525><TABLE
1526BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001527BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001528WIDTH="100%"
1529CELLPADDING="6"
1530><TR
1531><TD
1532><PRE
1533CLASS="PROGRAMLISTING"
1534>typedef enum {
1535 XML_ELEMENT_NODE= 1,
1536 XML_ATTRIBUTE_NODE= 2,
1537 XML_TEXT_NODE= 3,
1538 XML_CDATA_SECTION_NODE= 4,
1539 XML_ENTITY_REF_NODE= 5,
1540 XML_ENTITY_NODE= 6,
1541 XML_PI_NODE= 7,
1542 XML_COMMENT_NODE= 8,
1543 XML_DOCUMENT_NODE= 9,
1544 XML_DOCUMENT_TYPE_NODE= 10,
1545 XML_DOCUMENT_FRAG_NODE= 11,
Daniel Veillard35008381999-10-25 13:15:52 +00001546 XML_NOTATION_NODE= 12,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001547 XML_HTML_DOCUMENT_NODE= 13,
1548 XML_DTD_NODE= 14,
1549 XML_ELEMENT_DECL= 15,
1550 XML_ATTRIBUTE_DECL= 16,
1551 XML_ENTITY_DECL= 17
Daniel Veillard35925471999-02-25 08:46:07 +00001552} xmlElementType;</PRE
1553></TD
1554></TR
1555></TABLE
1556><P
1557></P
1558></DIV
1559><HR><DIV
1560CLASS="REFSECT2"
1561><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001562NAME="AEN3536"
Daniel Veillard35925471999-02-25 08:46:07 +00001563></A
1564><H3
1565><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001566NAME="XMLCHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001567></A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001568>xmlChar</H3
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001569><TABLE
1570BORDER="0"
1571BGCOLOR="#D6E8FF"
1572WIDTH="100%"
1573CELLPADDING="6"
1574><TR
1575><TD
1576><PRE
1577CLASS="PROGRAMLISTING"
1578>typedef unsigned char xmlChar;</PRE
1579></TD
1580></TR
1581></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001582><P
1583></P
1584></DIV
1585><HR><DIV
1586CLASS="REFSECT2"
1587><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001588NAME="AEN3541"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001589></A
1590><H3
1591><A
1592NAME="CHAR"
1593></A
1594>CHAR</H3
1595><TABLE
1596BORDER="0"
1597BGCOLOR="#D6E8FF"
1598WIDTH="100%"
1599CELLPADDING="6"
1600><TR
1601><TD
1602><PRE
1603CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001604>#define CHAR xmlChar</PRE
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001605></TD
1606></TR
1607></TABLE
1608><P
1609></P
1610></DIV
1611><HR><DIV
1612CLASS="REFSECT2"
1613><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001614NAME="AEN3546"
Daniel Veillard35925471999-02-25 08:46:07 +00001615></A
1616><H3
1617><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001618NAME="BAD-CAST"
Daniel Veillard35925471999-02-25 08:46:07 +00001619></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001620>BAD_CAST</H3
1621><TABLE
1622BORDER="0"
1623BGCOLOR="#D6E8FF"
1624WIDTH="100%"
1625CELLPADDING="6"
1626><TR
1627><TD
1628><PRE
1629CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001630>#define BAD_CAST (xmlChar *)</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001631></TD
1632></TR
1633></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001634><P
1635></P
1636></DIV
1637><HR><DIV
1638CLASS="REFSECT2"
1639><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001640NAME="AEN3551"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001641></A
1642><H3
1643><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001644NAME="XMLNOTATION"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001645></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001646>struct xmlNotation</H3
1647><TABLE
1648BORDER="0"
1649BGCOLOR="#D6E8FF"
1650WIDTH="100%"
1651CELLPADDING="6"
1652><TR
1653><TD
1654><PRE
1655CLASS="PROGRAMLISTING"
1656>struct xmlNotation {
1657 const xmlChar *name; /* Notation name */
1658 const xmlChar *PublicID; /* Public identifier, if any */
1659 const xmlChar *SystemID; /* System identifier, if any */
1660};</PRE
1661></TD
1662></TR
1663></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001664><P
1665></P
1666></DIV
1667><HR><DIV
1668CLASS="REFSECT2"
1669><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001670NAME="AEN3556"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001671></A
1672><H3
1673><A
1674NAME="XMLNOTATIONPTR"
1675></A
1676>xmlNotationPtr</H3
1677><TABLE
1678BORDER="0"
1679BGCOLOR="#D6E8FF"
1680WIDTH="100%"
1681CELLPADDING="6"
1682><TR
1683><TD
1684><PRE
1685CLASS="PROGRAMLISTING"
1686>typedef xmlNotation *xmlNotationPtr;</PRE
1687></TD
1688></TR
1689></TABLE
1690><P
1691></P
1692></DIV
1693><HR><DIV
1694CLASS="REFSECT2"
1695><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001696NAME="AEN3561"
Daniel Veillard35925471999-02-25 08:46:07 +00001697></A
1698><H3
1699><A
1700NAME="XMLATTRIBUTETYPE"
1701></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001702>enum xmlAttributeType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001703><TABLE
1704BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001705BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001706WIDTH="100%"
1707CELLPADDING="6"
1708><TR
1709><TD
1710><PRE
1711CLASS="PROGRAMLISTING"
1712>typedef enum {
1713 XML_ATTRIBUTE_CDATA = 1,
1714 XML_ATTRIBUTE_ID,
1715 XML_ATTRIBUTE_IDREF ,
1716 XML_ATTRIBUTE_IDREFS,
1717 XML_ATTRIBUTE_ENTITY,
1718 XML_ATTRIBUTE_ENTITIES,
1719 XML_ATTRIBUTE_NMTOKEN,
1720 XML_ATTRIBUTE_NMTOKENS,
1721 XML_ATTRIBUTE_ENUMERATION,
1722 XML_ATTRIBUTE_NOTATION
1723} xmlAttributeType;</PRE
1724></TD
1725></TR
1726></TABLE
1727><P
1728></P
1729></DIV
1730><HR><DIV
1731CLASS="REFSECT2"
1732><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001733NAME="AEN3566"
Daniel Veillard35925471999-02-25 08:46:07 +00001734></A
1735><H3
1736><A
1737NAME="XMLATTRIBUTEDEFAULT"
1738></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001739>enum xmlAttributeDefault</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001740><TABLE
1741BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001742BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001743WIDTH="100%"
1744CELLPADDING="6"
1745><TR
1746><TD
1747><PRE
1748CLASS="PROGRAMLISTING"
1749>typedef enum {
1750 XML_ATTRIBUTE_NONE = 1,
1751 XML_ATTRIBUTE_REQUIRED,
1752 XML_ATTRIBUTE_IMPLIED,
1753 XML_ATTRIBUTE_FIXED
1754} xmlAttributeDefault;</PRE
1755></TD
1756></TR
1757></TABLE
1758><P
1759></P
1760></DIV
1761><HR><DIV
1762CLASS="REFSECT2"
1763><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001764NAME="AEN3571"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001765></A
1766><H3
1767><A
1768NAME="XMLENUMERATION"
1769></A
1770>struct xmlEnumeration</H3
1771><TABLE
1772BORDER="0"
1773BGCOLOR="#D6E8FF"
1774WIDTH="100%"
1775CELLPADDING="6"
1776><TR
1777><TD
1778><PRE
1779CLASS="PROGRAMLISTING"
1780>struct xmlEnumeration {
1781 struct _xmlEnumeration *next; /* next one */
1782 const xmlChar *name; /* Enumeration name */
1783};</PRE
1784></TD
1785></TR
1786></TABLE
1787><P
1788></P
1789></DIV
1790><HR><DIV
1791CLASS="REFSECT2"
1792><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001793NAME="AEN3576"
Daniel Veillard35925471999-02-25 08:46:07 +00001794></A
1795><H3
1796><A
1797NAME="XMLENUMERATIONPTR"
1798></A
1799>xmlEnumerationPtr</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +00001800><TABLE
1801BORDER="0"
1802BGCOLOR="#D6E8FF"
1803WIDTH="100%"
1804CELLPADDING="6"
1805><TR
1806><TD
1807><PRE
1808CLASS="PROGRAMLISTING"
1809>typedef xmlEnumeration *xmlEnumerationPtr;</PRE
1810></TD
1811></TR
1812></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001813><P
1814></P
1815></DIV
1816><HR><DIV
1817CLASS="REFSECT2"
1818><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001819NAME="AEN3581"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001820></A
1821><H3
1822><A
1823NAME="XMLATTRIBUTE"
1824></A
1825>struct xmlAttribute</H3
1826><TABLE
1827BORDER="0"
1828BGCOLOR="#D6E8FF"
1829WIDTH="100%"
1830CELLPADDING="6"
1831><TR
1832><TD
1833><PRE
1834CLASS="PROGRAMLISTING"
1835>struct xmlAttribute {
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001836#ifndef XML_WITHOUT_CORBA
1837 void *_private; /* for Corba, must be first ! */
1838#endif
1839 xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */
1840 const xmlChar *name; /* Attribute name */
1841 struct _xmlNode *children; /* NULL */
1842 struct _xmlNode *last; /* NULL */
1843 struct _xmlDtd *parent; /* -&gt; DTD */
1844 struct _xmlNode *next; /* next sibling link */
1845 struct _xmlNode *prev; /* previous sibling link */
1846 struct _xmlDoc *doc; /* the containing document */
1847
1848 struct _xmlAttribute *nexth; /* next in hash table */
1849 xmlAttributeType atype; /* The attribute type */
1850 xmlAttributeDefault def; /* the default */
1851 const xmlChar *defaultValue; /* or the default value */
1852 xmlEnumerationPtr tree; /* or the enumeration tree if any */
1853 const xmlChar *prefix; /* the namespace prefix if any */
1854 const xmlChar *elem; /* Element holding the attribute */
Daniel Veillardf3a73582000-01-05 14:58:39 +00001855};</PRE
1856></TD
1857></TR
1858></TABLE
1859><P
1860></P
1861></DIV
1862><HR><DIV
1863CLASS="REFSECT2"
1864><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001865NAME="AEN3586"
Daniel Veillard35925471999-02-25 08:46:07 +00001866></A
1867><H3
1868><A
1869NAME="XMLATTRIBUTEPTR"
1870></A
1871>xmlAttributePtr</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +00001872><TABLE
1873BORDER="0"
1874BGCOLOR="#D6E8FF"
1875WIDTH="100%"
1876CELLPADDING="6"
1877><TR
1878><TD
1879><PRE
1880CLASS="PROGRAMLISTING"
1881>typedef xmlAttribute *xmlAttributePtr;</PRE
1882></TD
1883></TR
1884></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001885><P
1886></P
1887></DIV
1888><HR><DIV
1889CLASS="REFSECT2"
1890><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001891NAME="AEN3591"
Daniel Veillard35925471999-02-25 08:46:07 +00001892></A
1893><H3
1894><A
1895NAME="XMLELEMENTCONTENTTYPE"
1896></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001897>enum xmlElementContentType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001898><TABLE
1899BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001900BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001901WIDTH="100%"
1902CELLPADDING="6"
1903><TR
1904><TD
1905><PRE
1906CLASS="PROGRAMLISTING"
1907>typedef enum {
1908 XML_ELEMENT_CONTENT_PCDATA = 1,
1909 XML_ELEMENT_CONTENT_ELEMENT,
1910 XML_ELEMENT_CONTENT_SEQ,
1911 XML_ELEMENT_CONTENT_OR
1912} xmlElementContentType;</PRE
1913></TD
1914></TR
1915></TABLE
1916><P
1917></P
1918></DIV
1919><HR><DIV
1920CLASS="REFSECT2"
1921><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001922NAME="AEN3596"
Daniel Veillard35925471999-02-25 08:46:07 +00001923></A
1924><H3
1925><A
1926NAME="XMLELEMENTCONTENTOCCUR"
1927></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001928>enum xmlElementContentOccur</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001929><TABLE
1930BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001931BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001932WIDTH="100%"
1933CELLPADDING="6"
1934><TR
1935><TD
1936><PRE
1937CLASS="PROGRAMLISTING"
1938>typedef enum {
1939 XML_ELEMENT_CONTENT_ONCE = 1,
1940 XML_ELEMENT_CONTENT_OPT,
1941 XML_ELEMENT_CONTENT_MULT,
1942 XML_ELEMENT_CONTENT_PLUS
1943} xmlElementContentOccur;</PRE
1944></TD
1945></TR
1946></TABLE
1947><P
1948></P
1949></DIV
1950><HR><DIV
1951CLASS="REFSECT2"
1952><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001953NAME="AEN3601"
Daniel Veillard35925471999-02-25 08:46:07 +00001954></A
1955><H3
1956><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001957NAME="XMLELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001958></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001959>struct xmlElementContent</H3
1960><TABLE
1961BORDER="0"
1962BGCOLOR="#D6E8FF"
1963WIDTH="100%"
1964CELLPADDING="6"
1965><TR
1966><TD
1967><PRE
1968CLASS="PROGRAMLISTING"
1969>struct xmlElementContent {
1970 xmlElementContentType type; /* PCDATA, ELEMENT, SEQ or OR */
1971 xmlElementContentOccur ocur; /* ONCE, OPT, MULT or PLUS */
1972 const xmlChar *name; /* Element name */
1973 struct _xmlElementContent *c1; /* first child */
1974 struct _xmlElementContent *c2; /* second child */
1975};</PRE
1976></TD
1977></TR
1978></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001979><P
1980></P
1981></DIV
1982><HR><DIV
1983CLASS="REFSECT2"
1984><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001985NAME="AEN3606"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001986></A
1987><H3
1988><A
1989NAME="XMLELEMENTCONTENTPTR"
1990></A
1991>xmlElementContentPtr</H3
1992><TABLE
1993BORDER="0"
1994BGCOLOR="#D6E8FF"
1995WIDTH="100%"
1996CELLPADDING="6"
1997><TR
1998><TD
1999><PRE
2000CLASS="PROGRAMLISTING"
2001>typedef xmlElementContent *xmlElementContentPtr;</PRE
2002></TD
2003></TR
2004></TABLE
2005><P
2006></P
2007></DIV
2008><HR><DIV
2009CLASS="REFSECT2"
2010><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002011NAME="AEN3611"
Daniel Veillard35925471999-02-25 08:46:07 +00002012></A
2013><H3
2014><A
2015NAME="XMLELEMENTTYPEVAL"
2016></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002017>enum xmlElementTypeVal</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002018><TABLE
2019BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002020BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002021WIDTH="100%"
2022CELLPADDING="6"
2023><TR
2024><TD
2025><PRE
2026CLASS="PROGRAMLISTING"
2027>typedef enum {
2028 XML_ELEMENT_TYPE_EMPTY = 1,
2029 XML_ELEMENT_TYPE_ANY,
2030 XML_ELEMENT_TYPE_MIXED,
2031 XML_ELEMENT_TYPE_ELEMENT
2032} xmlElementTypeVal;</PRE
2033></TD
2034></TR
2035></TABLE
2036><P
2037></P
2038></DIV
2039><HR><DIV
2040CLASS="REFSECT2"
2041><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002042NAME="AEN3616"
Daniel Veillard35925471999-02-25 08:46:07 +00002043></A
2044><H3
2045><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002046NAME="XMLELEMENT"
Daniel Veillard35925471999-02-25 08:46:07 +00002047></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002048>struct xmlElement</H3
2049><TABLE
2050BORDER="0"
2051BGCOLOR="#D6E8FF"
2052WIDTH="100%"
2053CELLPADDING="6"
2054><TR
2055><TD
2056><PRE
2057CLASS="PROGRAMLISTING"
2058>struct xmlElement {
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002059#ifndef XML_WITHOUT_CORBA
2060 void *_private; /* for Corba, must be first ! */
2061#endif
2062 xmlElementType type; /* XML_ELEMENT_DECL, must be second ! */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002063 const xmlChar *name; /* Element name */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002064 struct _xmlNode *children; /* NULL */
2065 struct _xmlNode *last; /* NULL */
2066 struct _xmlDtd *parent; /* -&gt; DTD */
2067 struct _xmlNode *next; /* next sibling link */
2068 struct _xmlNode *prev; /* previous sibling link */
2069 struct _xmlDoc *doc; /* the containing document */
2070
2071 xmlElementTypeVal etype; /* The type */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002072 xmlElementContentPtr content; /* the allowed element content */
2073 xmlAttributePtr attributes; /* List of the declared attributes */
2074};</PRE
2075></TD
2076></TR
2077></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002078><P
2079></P
2080></DIV
2081><HR><DIV
2082CLASS="REFSECT2"
2083><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002084NAME="AEN3621"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002085></A
2086><H3
2087><A
2088NAME="XMLELEMENTPTR"
2089></A
2090>xmlElementPtr</H3
2091><TABLE
2092BORDER="0"
2093BGCOLOR="#D6E8FF"
2094WIDTH="100%"
2095CELLPADDING="6"
2096><TR
2097><TD
2098><PRE
2099CLASS="PROGRAMLISTING"
2100>typedef xmlElement *xmlElementPtr;</PRE
2101></TD
2102></TR
2103></TABLE
2104><P
2105></P
2106></DIV
2107><HR><DIV
2108CLASS="REFSECT2"
2109><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002110NAME="AEN3626"
Daniel Veillard35925471999-02-25 08:46:07 +00002111></A
2112><H3
2113><A
2114NAME="XMLNSTYPE"
2115></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002116>enum xmlNsType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002117><TABLE
2118BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002119BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002120WIDTH="100%"
2121CELLPADDING="6"
2122><TR
2123><TD
2124><PRE
2125CLASS="PROGRAMLISTING"
2126>typedef enum {
2127 XML_GLOBAL_NAMESPACE = 1, /* old style global namespace */
2128 XML_LOCAL_NAMESPACE /* new style local scoping */
2129} xmlNsType;</PRE
2130></TD
2131></TR
2132></TABLE
2133><P
2134></P
2135></DIV
2136><HR><DIV
2137CLASS="REFSECT2"
2138><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002139NAME="AEN3631"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002140></A
2141><H3
2142><A
2143NAME="XMLNS"
2144></A
2145>struct xmlNs</H3
2146><TABLE
2147BORDER="0"
2148BGCOLOR="#D6E8FF"
2149WIDTH="100%"
2150CELLPADDING="6"
2151><TR
2152><TD
2153><PRE
2154CLASS="PROGRAMLISTING"
2155>struct xmlNs {
2156 struct _xmlNs *next; /* next Ns link for this node */
2157 xmlNsType type; /* global or local */
2158 const xmlChar *href; /* URL for the namespace */
2159 const xmlChar *prefix; /* prefix for the namespace */
2160};</PRE
2161></TD
2162></TR
2163></TABLE
2164><P
2165></P
2166></DIV
2167><HR><DIV
2168CLASS="REFSECT2"
2169><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002170NAME="AEN3636"
Daniel Veillard35925471999-02-25 08:46:07 +00002171></A
2172><H3
2173><A
2174NAME="XMLNSPTR"
2175></A
2176>xmlNsPtr</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +00002177><TABLE
2178BORDER="0"
2179BGCOLOR="#D6E8FF"
2180WIDTH="100%"
2181CELLPADDING="6"
2182><TR
2183><TD
2184><PRE
2185CLASS="PROGRAMLISTING"
2186>typedef xmlNs *xmlNsPtr;</PRE
2187></TD
2188></TR
2189></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002190><P
2191></P
2192></DIV
2193><HR><DIV
2194CLASS="REFSECT2"
2195><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002196NAME="AEN3641"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002197></A
2198><H3
2199><A
2200NAME="XMLDTD"
2201></A
2202>struct xmlDtd</H3
2203><TABLE
2204BORDER="0"
2205BGCOLOR="#D6E8FF"
2206WIDTH="100%"
2207CELLPADDING="6"
2208><TR
2209><TD
2210><PRE
2211CLASS="PROGRAMLISTING"
2212>struct xmlDtd {
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002213#ifndef XML_WITHOUT_CORBA
2214 void *_private; /* for Corba, must be first ! */
2215#endif
2216 xmlElementType type; /* XML_DTD_NODE, must be second ! */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002217 const xmlChar *name; /* Name of the DTD */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002218 struct _xmlNode *children; /* the value of the property link */
2219 struct _xmlNode *last; /* last child link */
2220 struct _xmlDoc *parent; /* child-&gt;parent link */
2221 struct _xmlNode *next; /* next sibling link */
2222 struct _xmlNode *prev; /* previous sibling link */
2223 struct _xmlDoc *doc; /* the containing document */
2224
2225 /* End of common part */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002226 void *notations; /* Hash table for notations if any */
2227 void *elements; /* Hash table for elements if any */
2228 void *attributes; /* Hash table for attributes if any */
2229 void *entities; /* Hash table for entities if any */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002230 const xmlChar *ExternalID; /* External identifier for PUBLIC DTD */
2231 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC DTD */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002232};</PRE
2233></TD
2234></TR
2235></TABLE
2236><P
2237></P
2238></DIV
2239><HR><DIV
2240CLASS="REFSECT2"
2241><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002242NAME="AEN3646"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002243></A
2244><H3
2245><A
2246NAME="XMLDTDPTR"
2247></A
2248>xmlDtdPtr</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +00002249><TABLE
2250BORDER="0"
2251BGCOLOR="#D6E8FF"
2252WIDTH="100%"
2253CELLPADDING="6"
2254><TR
2255><TD
2256><PRE
2257CLASS="PROGRAMLISTING"
2258>typedef xmlDtd *xmlDtdPtr;</PRE
2259></TD
2260></TR
2261></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002262><P
2263></P
2264></DIV
2265><HR><DIV
2266CLASS="REFSECT2"
2267><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002268NAME="AEN3651"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002269></A
2270><H3
2271><A
2272NAME="XMLATTR"
2273></A
2274>struct xmlAttr</H3
2275><TABLE
2276BORDER="0"
2277BGCOLOR="#D6E8FF"
2278WIDTH="100%"
2279CELLPADDING="6"
2280><TR
2281><TD
2282><PRE
2283CLASS="PROGRAMLISTING"
2284>struct xmlAttr {
2285#ifndef XML_WITHOUT_CORBA
2286 void *_private; /* for Corba, must be first ! */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002287#endif
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002288 xmlElementType type; /* XML_ATTRIBUTE_NODE, must be second ! */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002289 const xmlChar *name; /* the name of the property */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002290 struct _xmlNode *children; /* the value of the property */
2291 struct _xmlNode *last; /* NULL */
2292 struct _xmlNode *parent; /* child-&gt;parent link */
2293 struct _xmlAttr *next; /* next sibling link */
2294 struct _xmlAttr *prev; /* previous sibling link */
2295 struct _xmlDoc *doc; /* the containing document */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002296 xmlNs *ns; /* pointer to the associated namespace */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002297 xmlAttributeType atype; /* the attribute type if validating */
Daniel Veillardf3a73582000-01-05 14:58:39 +00002298};</PRE
2299></TD
2300></TR
2301></TABLE
2302><P
2303></P
2304></DIV
2305><HR><DIV
2306CLASS="REFSECT2"
2307><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002308NAME="AEN3656"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002309></A
2310><H3
2311><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002312NAME="XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002313></A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002314>xmlAttrPtr</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +00002315><TABLE
2316BORDER="0"
2317BGCOLOR="#D6E8FF"
2318WIDTH="100%"
2319CELLPADDING="6"
2320><TR
2321><TD
2322><PRE
2323CLASS="PROGRAMLISTING"
2324>typedef xmlAttr *xmlAttrPtr;</PRE
2325></TD
2326></TR
2327></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002328><P
2329></P
2330></DIV
2331><HR><DIV
2332CLASS="REFSECT2"
2333><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002334NAME="AEN3661"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002335></A
2336><H3
2337><A
2338NAME="XMLID"
2339></A
2340>struct xmlID</H3
2341><TABLE
2342BORDER="0"
2343BGCOLOR="#D6E8FF"
2344WIDTH="100%"
2345CELLPADDING="6"
2346><TR
2347><TD
2348><PRE
2349CLASS="PROGRAMLISTING"
2350>struct xmlID {
2351 struct _xmlID *next; /* next ID */
2352 const xmlChar *value; /* The ID name */
2353 xmlAttrPtr attr; /* The attribut holding it */
2354};</PRE
2355></TD
2356></TR
2357></TABLE
2358><P
2359></P
2360></DIV
2361><HR><DIV
2362CLASS="REFSECT2"
2363><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002364NAME="AEN3666"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002365></A
2366><H3
2367><A
2368NAME="XMLIDPTR"
2369></A
2370>xmlIDPtr</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +00002371><TABLE
2372BORDER="0"
2373BGCOLOR="#D6E8FF"
2374WIDTH="100%"
2375CELLPADDING="6"
2376><TR
2377><TD
2378><PRE
2379CLASS="PROGRAMLISTING"
2380>typedef xmlID *xmlIDPtr;</PRE
2381></TD
2382></TR
2383></TABLE
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002384><P
2385></P
2386></DIV
2387><HR><DIV
2388CLASS="REFSECT2"
2389><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002390NAME="AEN3671"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002391></A
2392><H3
2393><A
2394NAME="XMLREF"
2395></A
2396>struct xmlRef</H3
2397><TABLE
2398BORDER="0"
2399BGCOLOR="#D6E8FF"
2400WIDTH="100%"
2401CELLPADDING="6"
2402><TR
2403><TD
2404><PRE
2405CLASS="PROGRAMLISTING"
2406>struct xmlRef {
2407 struct _xmlRef *next; /* next Ref */
2408 const xmlChar *value; /* The Ref name */
2409 xmlAttrPtr attr; /* The attribut holding it */
2410};</PRE
2411></TD
2412></TR
2413></TABLE
2414><P
2415></P
2416></DIV
2417><HR><DIV
2418CLASS="REFSECT2"
2419><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002420NAME="AEN3676"
Daniel Veillard35925471999-02-25 08:46:07 +00002421></A
2422><H3
2423><A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002424NAME="XMLREFPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002425></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00002426>xmlRefPtr</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +00002427><TABLE
2428BORDER="0"
2429BGCOLOR="#D6E8FF"
2430WIDTH="100%"
2431CELLPADDING="6"
2432><TR
2433><TD
2434><PRE
2435CLASS="PROGRAMLISTING"
2436>typedef xmlRef *xmlRefPtr;</PRE
2437></TD
2438></TR
2439></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002440><P
2441></P
2442></DIV
2443><HR><DIV
2444CLASS="REFSECT2"
2445><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002446NAME="AEN3681"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002447></A
2448><H3
2449><A
2450NAME="XMLBUFFERALLOCATIONSCHEME"
2451></A
2452>enum xmlBufferAllocationScheme</H3
2453><TABLE
2454BORDER="0"
2455BGCOLOR="#D6E8FF"
2456WIDTH="100%"
2457CELLPADDING="6"
2458><TR
2459><TD
2460><PRE
2461CLASS="PROGRAMLISTING"
2462>typedef enum {
2463 XML_BUFFER_ALLOC_DOUBLEIT,
2464 XML_BUFFER_ALLOC_EXACT
2465} xmlBufferAllocationScheme;</PRE
2466></TD
2467></TR
2468></TABLE
2469><P
2470>Sets the allocation scheme for this buffer</P
2471><P
2472></P
2473></DIV
2474><HR><DIV
2475CLASS="REFSECT2"
2476><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002477NAME="AEN3687"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002478></A
2479><H3
2480><A
2481NAME="XMLBUFFER"
2482></A
2483>struct xmlBuffer</H3
2484><TABLE
2485BORDER="0"
2486BGCOLOR="#D6E8FF"
2487WIDTH="100%"
2488CELLPADDING="6"
2489><TR
2490><TD
2491><PRE
2492CLASS="PROGRAMLISTING"
2493>struct xmlBuffer {
2494 xmlChar *content; /* The buffer content UTF8 */
2495 unsigned int use; /* The buffer size used */
2496 unsigned int size; /* The buffer size */
2497 xmlBufferAllocationScheme alloc; /* The realloc method */
2498};</PRE
2499></TD
2500></TR
2501></TABLE
2502><P
2503></P
2504></DIV
2505><HR><DIV
2506CLASS="REFSECT2"
2507><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002508NAME="AEN3692"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002509></A
2510><H3
2511><A
2512NAME="XMLBUFFERPTR"
2513></A
2514>xmlBufferPtr</H3
2515><TABLE
2516BORDER="0"
2517BGCOLOR="#D6E8FF"
2518WIDTH="100%"
2519CELLPADDING="6"
2520><TR
2521><TD
2522><PRE
2523CLASS="PROGRAMLISTING"
2524>typedef xmlBuffer *xmlBufferPtr;</PRE
2525></TD
2526></TR
2527></TABLE
2528><P
2529></P
2530></DIV
2531><HR><DIV
2532CLASS="REFSECT2"
2533><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002534NAME="AEN3697"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002535></A
2536><H3
2537><A
2538NAME="XMLNODE"
2539></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002540>struct xmlNode</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002541><TABLE
2542BORDER="0"
2543BGCOLOR="#D6E8FF"
2544WIDTH="100%"
2545CELLPADDING="6"
2546><TR
2547><TD
2548><PRE
2549CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002550>struct xmlNode {
2551#ifndef XML_WITHOUT_CORBA
2552 void *_private; /* for Corba, must be first ! */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002553#endif
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002554 xmlElementType type; /* type number, must be second ! */
2555 const xmlChar *name; /* the name of the node, or the entity */
2556 struct _xmlNode *children; /* parent-&gt;childs link */
2557 struct _xmlNode *last; /* last child link */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002558 struct _xmlNode *parent; /* child-&gt;parent link */
2559 struct _xmlNode *next; /* next sibling link */
2560 struct _xmlNode *prev; /* previous sibling link */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002561 struct _xmlDoc *doc; /* the containing document */
2562 xmlNs *ns; /* pointer to the associated namespace */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002563#ifndef XML_USE_BUFFER_CONTENT
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002564 xmlChar *content; /* the content */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002565#else
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002566 xmlBufferPtr content; /* the content in a buffer */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002567#endif
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002568
2569 /* End of common part */
2570 struct _xmlAttr *properties;/* properties list */
2571 xmlNs *nsDef; /* namespace definitions on this node */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002572};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002573></TD
2574></TR
2575></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002576><P
2577></P
2578></DIV
2579><HR><DIV
2580CLASS="REFSECT2"
2581><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002582NAME="AEN3702"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002583></A
2584><H3
2585><A
2586NAME="XMLNODEPTR"
2587></A
2588>xmlNodePtr</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +00002589><TABLE
2590BORDER="0"
2591BGCOLOR="#D6E8FF"
2592WIDTH="100%"
2593CELLPADDING="6"
2594><TR
2595><TD
2596><PRE
2597CLASS="PROGRAMLISTING"
2598>typedef xmlNode *xmlNodePtr;</PRE
2599></TD
2600></TR
2601></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002602><P
2603></P
2604></DIV
2605><HR><DIV
2606CLASS="REFSECT2"
2607><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002608NAME="AEN3707"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002609></A
2610><H3
2611><A
2612NAME="XMLDOC"
2613></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002614>struct xmlDoc</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002615><TABLE
2616BORDER="0"
2617BGCOLOR="#D6E8FF"
2618WIDTH="100%"
2619CELLPADDING="6"
2620><TR
2621><TD
2622><PRE
2623CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002624>struct xmlDoc {
2625#ifndef XML_WITHOUT_CORBA
2626 void *_private; /* for Corba, must be first ! */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002627#endif
2628 xmlElementType type; /* XML_DOCUMENT_NODE, must be second ! */
2629 char *name; /* name/filename/URI of the document */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002630 struct _xmlNode *children; /* the document tree */
2631 struct _xmlNode *last; /* last child link */
2632 struct _xmlNode *parent; /* child-&gt;parent link */
2633 struct _xmlNode *next; /* next sibling link */
2634 struct _xmlNode *prev; /* previous sibling link */
2635 struct _xmlDoc *doc; /* autoreference to itself */
2636
2637 /* End of common part */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002638 int compression;/* level of zlib compression */
2639 int standalone; /* standalone document (no external refs) */
2640 struct _xmlDtd *intSubset; /* the document internal subset */
2641 struct _xmlDtd *extSubset; /* the document external subset */
2642 struct _xmlNs *oldNs; /* Global namespace, the old way */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002643 const xmlChar *version; /* the XML version string */
2644 const xmlChar *encoding; /* encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002645 void *ids; /* Hash table for ID attributes if any */
2646 void *refs; /* Hash table for IDREFs attributes if any */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002647 const xmlChar *URL; /* The URI for that document */
Daniel Veillard71b656e2000-01-05 14:46:17 +00002648};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002649></TD
2650></TR
2651></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002652><P
2653></P
2654></DIV
2655><HR><DIV
2656CLASS="REFSECT2"
2657><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002658NAME="AEN3712"
Daniel Veillard294cbca1999-12-03 13:19:09 +00002659></A
2660><H3
2661><A
2662NAME="XMLDOCPTR"
2663></A
2664>xmlDocPtr</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002665><TABLE
2666BORDER="0"
2667BGCOLOR="#D6E8FF"
2668WIDTH="100%"
2669CELLPADDING="6"
2670><TR
2671><TD
2672><PRE
2673CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002674>typedef xmlDoc *xmlDocPtr;</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00002675></TD
2676></TR
2677></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00002678><P
2679></P
2680></DIV
2681><HR><DIV
2682CLASS="REFSECT2"
2683><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002684NAME="AEN3717"
Daniel Veillard14fff061999-06-22 21:49:07 +00002685></A
2686><H3
2687><A
2688NAME="BASEDTD"
2689></A
2690>baseDTD</H3
2691><TABLE
2692BORDER="0"
2693BGCOLOR="#D6E8FF"
2694WIDTH="100%"
2695CELLPADDING="6"
2696><TR
2697><TD
2698><PRE
2699CLASS="PROGRAMLISTING"
2700>extern xmlNsPtr baseDTD;</PRE
2701></TD
2702></TR
2703></TABLE
2704><P
2705></P
2706></DIV
2707><HR><DIV
2708CLASS="REFSECT2"
2709><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002710NAME="AEN3722"
Daniel Veillard14fff061999-06-22 21:49:07 +00002711></A
2712><H3
2713><A
2714NAME="OLDXMLWDCOMPATIBILITY"
2715></A
2716>oldXMLWDcompatibility</H3
2717><TABLE
2718BORDER="0"
2719BGCOLOR="#D6E8FF"
2720WIDTH="100%"
2721CELLPADDING="6"
2722><TR
2723><TD
2724><PRE
2725CLASS="PROGRAMLISTING"
2726>extern int oldXMLWDcompatibility;/* maintain compatibility with old WD */</PRE
2727></TD
2728></TR
2729></TABLE
2730><P
2731></P
2732></DIV
2733><HR><DIV
2734CLASS="REFSECT2"
2735><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002736NAME="AEN3727"
Daniel Veillard14fff061999-06-22 21:49:07 +00002737></A
2738><H3
2739><A
2740NAME="XMLINDENTTREEOUTPUT"
2741></A
2742>xmlIndentTreeOutput</H3
2743><TABLE
2744BORDER="0"
2745BGCOLOR="#D6E8FF"
2746WIDTH="100%"
2747CELLPADDING="6"
2748><TR
2749><TD
2750><PRE
2751CLASS="PROGRAMLISTING"
2752>extern int xmlIndentTreeOutput; /* try to indent the tree dumps */</PRE
2753></TD
2754></TR
2755></TABLE
2756><P
2757></P
2758></DIV
2759><HR><DIV
2760CLASS="REFSECT2"
2761><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002762NAME="AEN3732"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002763></A
2764><H3
2765><A
2766NAME="XMLBUFFERALLOCSCHEME"
2767></A
2768>xmlBufferAllocScheme</H3
2769><TABLE
2770BORDER="0"
2771BGCOLOR="#D6E8FF"
2772WIDTH="100%"
2773CELLPADDING="6"
2774><TR
2775><TD
2776><PRE
2777CLASS="PROGRAMLISTING"
2778>extern xmlBufferAllocationScheme xmlBufferAllocScheme; /* alloc scheme to use */</PRE
2779></TD
2780></TR
2781></TABLE
2782><P
2783></P
2784></DIV
2785><HR><DIV
2786CLASS="REFSECT2"
2787><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002788NAME="AEN3737"
Daniel Veillarde41f2b72000-01-30 20:00:07 +00002789></A
2790><H3
2791><A
2792NAME="XMLSAVENOEMPTYTAGS"
2793></A
2794>xmlSaveNoEmptyTags</H3
2795><TABLE
2796BORDER="0"
2797BGCOLOR="#D6E8FF"
2798WIDTH="100%"
2799CELLPADDING="6"
2800><TR
2801><TD
2802><PRE
2803CLASS="PROGRAMLISTING"
2804>extern int xmlSaveNoEmptyTags; /* save empty tags as &lt;empty&gt;&lt;/empty&gt; */</PRE
2805></TD
2806></TR
2807></TABLE
2808><P
2809></P
2810></DIV
2811><HR><DIV
2812CLASS="REFSECT2"
2813><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002814NAME="AEN3742"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002815></A
2816><H3
2817><A
2818NAME="XMLBUFFERCREATE"
2819></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002820>xmlBufferCreate ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002821><TABLE
2822BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002823BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002824WIDTH="100%"
2825CELLPADDING="6"
2826><TR
2827><TD
2828><PRE
2829CLASS="PROGRAMLISTING"
2830><A
2831HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2832>xmlBufferPtr</A
2833> xmlBufferCreate (void);</PRE
2834></TD
2835></TR
2836></TABLE
2837><P
2838>routine to create an XML buffer.</P
2839><P
2840></P
2841><DIV
2842CLASS="INFORMALTABLE"
2843><P
2844></P
2845><TABLE
2846BORDER="0"
2847WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002848BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002849CELLSPACING="0"
2850CELLPADDING="4"
2851CLASS="CALSTABLE"
2852><TR
2853><TD
2854WIDTH="20%"
2855ALIGN="RIGHT"
2856VALIGN="TOP"
2857><I
2858CLASS="EMPHASIS"
2859>Returns</I
2860> :</TD
2861><TD
2862WIDTH="80%"
2863ALIGN="LEFT"
2864VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002865>the new structure.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002866></TR
2867></TABLE
2868><P
2869></P
2870></DIV
2871></DIV
2872><HR><DIV
2873CLASS="REFSECT2"
2874><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002875NAME="AEN3758"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002876></A
2877><H3
2878><A
2879NAME="XMLBUFFERCREATESIZE"
2880></A
2881>xmlBufferCreateSize ()</H3
2882><TABLE
2883BORDER="0"
2884BGCOLOR="#D6E8FF"
2885WIDTH="100%"
2886CELLPADDING="6"
2887><TR
2888><TD
2889><PRE
2890CLASS="PROGRAMLISTING"
2891><A
2892HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2893>xmlBufferPtr</A
2894> xmlBufferCreateSize (<GTKDOCLINK
2895HREF="SIZE-T"
2896>size_t</GTKDOCLINK
2897> size);</PRE
2898></TD
2899></TR
2900></TABLE
2901><P
2902>routine to create an XML buffer.</P
2903><P
2904></P
2905><DIV
2906CLASS="INFORMALTABLE"
2907><P
2908></P
2909><TABLE
2910BORDER="0"
2911WIDTH="100%"
2912BGCOLOR="#FFD0D0"
2913CELLSPACING="0"
2914CELLPADDING="4"
2915CLASS="CALSTABLE"
2916><TR
2917><TD
2918WIDTH="20%"
2919ALIGN="RIGHT"
2920VALIGN="TOP"
2921><TT
2922CLASS="PARAMETER"
2923><I
2924>size</I
2925></TT
2926>&nbsp;:</TD
2927><TD
2928WIDTH="80%"
2929ALIGN="LEFT"
2930VALIGN="TOP"
2931> initial size of buffer</TD
2932></TR
2933><TR
2934><TD
2935WIDTH="20%"
2936ALIGN="RIGHT"
2937VALIGN="TOP"
2938><I
2939CLASS="EMPHASIS"
2940>Returns</I
2941> :</TD
2942><TD
2943WIDTH="80%"
2944ALIGN="LEFT"
2945VALIGN="TOP"
2946>the new structure.</TD
2947></TR
2948></TABLE
2949><P
2950></P
2951></DIV
2952></DIV
2953><HR><DIV
2954CLASS="REFSECT2"
2955><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002956NAME="AEN3779"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002957></A
2958><H3
2959><A
2960NAME="XMLBUFFERFREE"
2961></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002962>xmlBufferFree ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002963><TABLE
2964BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002965BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002966WIDTH="100%"
2967CELLPADDING="6"
2968><TR
2969><TD
2970><PRE
2971CLASS="PROGRAMLISTING"
2972>void xmlBufferFree (<A
2973HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2974>xmlBufferPtr</A
2975> buf);</PRE
2976></TD
2977></TR
2978></TABLE
2979><P
2980>Frees an XML buffer.</P
2981><P
2982></P
2983><DIV
2984CLASS="INFORMALTABLE"
2985><P
2986></P
2987><TABLE
2988BORDER="0"
2989WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002990BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002991CELLSPACING="0"
2992CELLPADDING="4"
2993CLASS="CALSTABLE"
2994><TR
2995><TD
2996WIDTH="20%"
2997ALIGN="RIGHT"
2998VALIGN="TOP"
2999><TT
3000CLASS="PARAMETER"
3001><I
3002>buf</I
3003></TT
3004>&nbsp;:</TD
3005><TD
3006WIDTH="80%"
3007ALIGN="LEFT"
3008VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003009> the buffer to free</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003010></TR
3011></TABLE
3012><P
3013></P
3014></DIV
3015></DIV
3016><HR><DIV
3017CLASS="REFSECT2"
3018><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003019NAME="AEN3795"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003020></A
3021><H3
3022><A
3023NAME="XMLBUFFERDUMP"
3024></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003025>xmlBufferDump ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003026><TABLE
3027BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003028BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003029WIDTH="100%"
3030CELLPADDING="6"
3031><TR
3032><TD
3033><PRE
3034CLASS="PROGRAMLISTING"
3035>int xmlBufferDump (<GTKDOCLINK
3036HREF="FILE"
3037>FILE</GTKDOCLINK
3038> *file,
3039 <A
3040HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3041>xmlBufferPtr</A
3042> buf);</PRE
3043></TD
3044></TR
3045></TABLE
3046><P
3047>Dumps an XML buffer to a FILE *.</P
3048><P
3049></P
3050><DIV
3051CLASS="INFORMALTABLE"
3052><P
3053></P
3054><TABLE
3055BORDER="0"
3056WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003057BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003058CELLSPACING="0"
3059CELLPADDING="4"
3060CLASS="CALSTABLE"
3061><TR
3062><TD
3063WIDTH="20%"
3064ALIGN="RIGHT"
3065VALIGN="TOP"
3066><TT
3067CLASS="PARAMETER"
3068><I
3069>file</I
3070></TT
3071>&nbsp;:</TD
3072><TD
3073WIDTH="80%"
3074ALIGN="LEFT"
3075VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003076> the file output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003077></TR
3078><TR
3079><TD
3080WIDTH="20%"
3081ALIGN="RIGHT"
3082VALIGN="TOP"
3083><TT
3084CLASS="PARAMETER"
3085><I
3086>buf</I
3087></TT
3088>&nbsp;:</TD
3089><TD
3090WIDTH="80%"
3091ALIGN="LEFT"
3092VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003093> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003094></TR
3095><TR
3096><TD
3097WIDTH="20%"
3098ALIGN="RIGHT"
3099VALIGN="TOP"
3100><I
3101CLASS="EMPHASIS"
3102>Returns</I
3103> :</TD
3104><TD
3105WIDTH="80%"
3106ALIGN="LEFT"
3107VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003108>the number of xmlChar written</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003109></TR
3110></TABLE
3111><P
3112></P
3113></DIV
3114></DIV
3115><HR><DIV
3116CLASS="REFSECT2"
3117><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003118NAME="AEN3820"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003119></A
3120><H3
3121><A
3122NAME="XMLBUFFERADD"
3123></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003124>xmlBufferAdd ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003125><TABLE
3126BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003127BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003128WIDTH="100%"
3129CELLPADDING="6"
3130><TR
3131><TD
3132><PRE
3133CLASS="PROGRAMLISTING"
3134>void xmlBufferAdd (<A
3135HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3136>xmlBufferPtr</A
3137> buf,
3138 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003139HREF="gnome-xml-tree.html#XMLCHAR"
3140>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003141> *str,
3142 int len);</PRE
3143></TD
3144></TR
3145></TABLE
3146><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00003147>Add a string range to an XML buffer. if len == -1, the lenght of
3148str is recomputed.</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003149><P
3150></P
3151><DIV
3152CLASS="INFORMALTABLE"
3153><P
3154></P
3155><TABLE
3156BORDER="0"
3157WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003158BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003159CELLSPACING="0"
3160CELLPADDING="4"
3161CLASS="CALSTABLE"
3162><TR
3163><TD
3164WIDTH="20%"
3165ALIGN="RIGHT"
3166VALIGN="TOP"
3167><TT
3168CLASS="PARAMETER"
3169><I
3170>buf</I
3171></TT
3172>&nbsp;:</TD
3173><TD
3174WIDTH="80%"
3175ALIGN="LEFT"
3176VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003177> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003178></TR
3179><TR
3180><TD
3181WIDTH="20%"
3182ALIGN="RIGHT"
3183VALIGN="TOP"
3184><TT
3185CLASS="PARAMETER"
3186><I
3187>str</I
3188></TT
3189>&nbsp;:</TD
3190><TD
3191WIDTH="80%"
3192ALIGN="LEFT"
3193VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003194> the xmlChar string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003195></TR
3196><TR
3197><TD
3198WIDTH="20%"
3199ALIGN="RIGHT"
3200VALIGN="TOP"
3201><TT
3202CLASS="PARAMETER"
3203><I
3204>len</I
3205></TT
3206>&nbsp;:</TD
3207><TD
3208WIDTH="80%"
3209ALIGN="LEFT"
3210VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003211> the number of xmlChar to add</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003212></TR
3213></TABLE
3214><P
3215></P
3216></DIV
3217></DIV
3218><HR><DIV
3219CLASS="REFSECT2"
3220><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003221NAME="AEN3845"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003222></A
3223><H3
3224><A
3225NAME="XMLBUFFERCAT"
3226></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003227>xmlBufferCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003228><TABLE
3229BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003230BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003231WIDTH="100%"
3232CELLPADDING="6"
3233><TR
3234><TD
3235><PRE
3236CLASS="PROGRAMLISTING"
3237>void xmlBufferCat (<A
3238HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3239>xmlBufferPtr</A
3240> buf,
3241 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003242HREF="gnome-xml-tree.html#XMLCHAR"
3243>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003244> *str);</PRE
3245></TD
3246></TR
3247></TABLE
3248><P
3249>Append a zero terminated string to an XML buffer.</P
3250><P
3251></P
3252><DIV
3253CLASS="INFORMALTABLE"
3254><P
3255></P
3256><TABLE
3257BORDER="0"
3258WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003259BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003260CELLSPACING="0"
3261CELLPADDING="4"
3262CLASS="CALSTABLE"
3263><TR
3264><TD
3265WIDTH="20%"
3266ALIGN="RIGHT"
3267VALIGN="TOP"
3268><TT
3269CLASS="PARAMETER"
3270><I
3271>buf</I
3272></TT
3273>&nbsp;:</TD
3274><TD
3275WIDTH="80%"
3276ALIGN="LEFT"
3277VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003278> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003279></TR
3280><TR
3281><TD
3282WIDTH="20%"
3283ALIGN="RIGHT"
3284VALIGN="TOP"
3285><TT
3286CLASS="PARAMETER"
3287><I
3288>str</I
3289></TT
3290>&nbsp;:</TD
3291><TD
3292WIDTH="80%"
3293ALIGN="LEFT"
3294VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003295> the xmlChar string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003296></TR
3297></TABLE
3298><P
3299></P
3300></DIV
3301></DIV
3302><HR><DIV
3303CLASS="REFSECT2"
3304><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003305NAME="AEN3866"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003306></A
3307><H3
3308><A
3309NAME="XMLBUFFERCCAT"
3310></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003311>xmlBufferCCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003312><TABLE
3313BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003314BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003315WIDTH="100%"
3316CELLPADDING="6"
3317><TR
3318><TD
3319><PRE
3320CLASS="PROGRAMLISTING"
3321>void xmlBufferCCat (<A
3322HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3323>xmlBufferPtr</A
3324> buf,
3325 const char *str);</PRE
3326></TD
3327></TR
3328></TABLE
3329><P
3330>Append a zero terminated C string to an XML buffer.</P
3331><P
3332></P
3333><DIV
3334CLASS="INFORMALTABLE"
3335><P
3336></P
3337><TABLE
3338BORDER="0"
3339WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003340BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003341CELLSPACING="0"
3342CELLPADDING="4"
3343CLASS="CALSTABLE"
3344><TR
3345><TD
3346WIDTH="20%"
3347ALIGN="RIGHT"
3348VALIGN="TOP"
3349><TT
3350CLASS="PARAMETER"
3351><I
3352>buf</I
3353></TT
3354>&nbsp;:</TD
3355><TD
3356WIDTH="80%"
3357ALIGN="LEFT"
3358VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003359> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003360></TR
3361><TR
3362><TD
3363WIDTH="20%"
3364ALIGN="RIGHT"
3365VALIGN="TOP"
3366><TT
3367CLASS="PARAMETER"
3368><I
3369>str</I
3370></TT
3371>&nbsp;:</TD
3372><TD
3373WIDTH="80%"
3374ALIGN="LEFT"
3375VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003376> the C char string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003377></TR
3378></TABLE
3379><P
3380></P
3381></DIV
3382></DIV
3383><HR><DIV
3384CLASS="REFSECT2"
3385><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003386NAME="AEN3886"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003387></A
3388><H3
3389><A
3390NAME="XMLBUFFERSHRINK"
3391></A
3392>xmlBufferShrink ()</H3
3393><TABLE
3394BORDER="0"
3395BGCOLOR="#D6E8FF"
3396WIDTH="100%"
3397CELLPADDING="6"
3398><TR
3399><TD
3400><PRE
3401CLASS="PROGRAMLISTING"
3402>int xmlBufferShrink (<A
3403HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3404>xmlBufferPtr</A
3405> buf,
3406 int len);</PRE
3407></TD
3408></TR
3409></TABLE
3410><P
3411>Remove the beginning of an XML buffer.</P
3412><P
3413></P
3414><DIV
3415CLASS="INFORMALTABLE"
3416><P
3417></P
3418><TABLE
3419BORDER="0"
3420WIDTH="100%"
3421BGCOLOR="#FFD0D0"
3422CELLSPACING="0"
3423CELLPADDING="4"
3424CLASS="CALSTABLE"
3425><TR
3426><TD
3427WIDTH="20%"
3428ALIGN="RIGHT"
3429VALIGN="TOP"
3430><TT
3431CLASS="PARAMETER"
3432><I
3433>buf</I
3434></TT
3435>&nbsp;:</TD
3436><TD
3437WIDTH="80%"
3438ALIGN="LEFT"
3439VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003440> the buffer to dump</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003441></TR
3442><TR
3443><TD
3444WIDTH="20%"
3445ALIGN="RIGHT"
3446VALIGN="TOP"
3447><TT
3448CLASS="PARAMETER"
3449><I
3450>len</I
3451></TT
3452>&nbsp;:</TD
3453><TD
3454WIDTH="80%"
3455ALIGN="LEFT"
3456VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003457> the number of xmlChar to remove</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003458></TR
3459><TR
3460><TD
3461WIDTH="20%"
3462ALIGN="RIGHT"
3463VALIGN="TOP"
3464><I
3465CLASS="EMPHASIS"
3466>Returns</I
3467> :</TD
3468><TD
3469WIDTH="80%"
3470ALIGN="LEFT"
3471VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003472>the number of xmlChar removed, or -1 in case of failure.</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003473></TR
3474></TABLE
3475><P
3476></P
3477></DIV
3478></DIV
3479><HR><DIV
3480CLASS="REFSECT2"
3481><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003482NAME="AEN3910"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003483></A
3484><H3
3485><A
3486NAME="XMLBUFFEREMPTY"
3487></A
3488>xmlBufferEmpty ()</H3
3489><TABLE
3490BORDER="0"
3491BGCOLOR="#D6E8FF"
3492WIDTH="100%"
3493CELLPADDING="6"
3494><TR
3495><TD
3496><PRE
3497CLASS="PROGRAMLISTING"
3498>void xmlBufferEmpty (<A
3499HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3500>xmlBufferPtr</A
3501> buf);</PRE
3502></TD
3503></TR
3504></TABLE
3505><P
3506>empty a buffer.</P
3507><P
3508></P
3509><DIV
3510CLASS="INFORMALTABLE"
3511><P
3512></P
3513><TABLE
3514BORDER="0"
3515WIDTH="100%"
3516BGCOLOR="#FFD0D0"
3517CELLSPACING="0"
3518CELLPADDING="4"
3519CLASS="CALSTABLE"
3520><TR
3521><TD
3522WIDTH="20%"
3523ALIGN="RIGHT"
3524VALIGN="TOP"
3525><TT
3526CLASS="PARAMETER"
3527><I
3528>buf</I
3529></TT
3530>&nbsp;:</TD
3531><TD
3532WIDTH="80%"
3533ALIGN="LEFT"
3534VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003535> the buffer</TD
3536></TR
3537></TABLE
3538><P
3539></P
3540></DIV
3541></DIV
3542><HR><DIV
3543CLASS="REFSECT2"
3544><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003545NAME="AEN3926"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003546></A
3547><H3
3548><A
3549NAME="XMLBUFFERCONTENT"
3550></A
3551>xmlBufferContent ()</H3
3552><TABLE
3553BORDER="0"
3554BGCOLOR="#D6E8FF"
3555WIDTH="100%"
3556CELLPADDING="6"
3557><TR
3558><TD
3559><PRE
3560CLASS="PROGRAMLISTING"
3561>const <A
3562HREF="gnome-xml-tree.html#XMLCHAR"
3563>xmlChar</A
3564>* xmlBufferContent (const <A
3565HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3566>xmlBufferPtr</A
3567> buf);</PRE
3568></TD
3569></TR
3570></TABLE
3571><P
3572></P
3573><P
3574></P
3575><DIV
3576CLASS="INFORMALTABLE"
3577><P
3578></P
3579><TABLE
3580BORDER="0"
3581WIDTH="100%"
3582BGCOLOR="#FFD0D0"
3583CELLSPACING="0"
3584CELLPADDING="4"
3585CLASS="CALSTABLE"
3586><TR
3587><TD
3588WIDTH="20%"
3589ALIGN="RIGHT"
3590VALIGN="TOP"
3591><TT
3592CLASS="PARAMETER"
3593><I
3594>buf</I
3595></TT
3596>&nbsp;:</TD
3597><TD
3598WIDTH="80%"
3599ALIGN="LEFT"
3600VALIGN="TOP"
3601> the buffer to resize</TD
3602></TR
3603><TR
3604><TD
3605WIDTH="20%"
3606ALIGN="RIGHT"
3607VALIGN="TOP"
3608><I
3609CLASS="EMPHASIS"
3610>Returns</I
3611> :</TD
3612><TD
3613WIDTH="80%"
3614ALIGN="LEFT"
3615VALIGN="TOP"
3616>the internal content</TD
3617></TR
3618></TABLE
3619><P
3620></P
3621></DIV
3622></DIV
3623><HR><DIV
3624CLASS="REFSECT2"
3625><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003626NAME="AEN3947"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003627></A
3628><H3
3629><A
3630NAME="XMLBUFFERUSE"
3631></A
3632>xmlBufferUse ()</H3
3633><TABLE
3634BORDER="0"
3635BGCOLOR="#D6E8FF"
3636WIDTH="100%"
3637CELLPADDING="6"
3638><TR
3639><TD
3640><PRE
3641CLASS="PROGRAMLISTING"
3642>int xmlBufferUse (const <A
3643HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3644>xmlBufferPtr</A
3645> buf);</PRE
3646></TD
3647></TR
3648></TABLE
3649><P
3650></P
3651><DIV
3652CLASS="INFORMALTABLE"
3653><P
3654></P
3655><TABLE
3656BORDER="0"
3657WIDTH="100%"
3658BGCOLOR="#FFD0D0"
3659CELLSPACING="0"
3660CELLPADDING="4"
3661CLASS="CALSTABLE"
3662><TR
3663><TD
3664WIDTH="20%"
3665ALIGN="RIGHT"
3666VALIGN="TOP"
3667><TT
3668CLASS="PARAMETER"
3669><I
3670>buf</I
3671></TT
3672>&nbsp;:</TD
3673><TD
3674WIDTH="80%"
3675ALIGN="LEFT"
3676VALIGN="TOP"
3677>&nbsp;</TD
3678></TR
3679><TR
3680><TD
3681WIDTH="20%"
3682ALIGN="RIGHT"
3683VALIGN="TOP"
3684><I
3685CLASS="EMPHASIS"
3686>Returns</I
3687> :</TD
3688><TD
3689WIDTH="80%"
3690ALIGN="LEFT"
3691VALIGN="TOP"
Daniel Veillard294cbca1999-12-03 13:19:09 +00003692>&nbsp;</TD
3693></TR
3694></TABLE
3695><P
3696></P
3697></DIV
3698></DIV
3699><HR><DIV
3700CLASS="REFSECT2"
3701><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003702NAME="AEN3966"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003703></A
3704><H3
3705><A
3706NAME="XMLBUFFERSETALLOCATIONSCHEME"
3707></A
3708>xmlBufferSetAllocationScheme ()</H3
3709><TABLE
3710BORDER="0"
3711BGCOLOR="#D6E8FF"
3712WIDTH="100%"
3713CELLPADDING="6"
3714><TR
3715><TD
3716><PRE
3717CLASS="PROGRAMLISTING"
3718>void xmlBufferSetAllocationScheme (<A
3719HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3720>xmlBufferPtr</A
3721> buf,
3722 <A
3723HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME"
3724>xmlBufferAllocationScheme</A
3725> scheme);</PRE
3726></TD
3727></TR
3728></TABLE
3729><P
3730></P
3731><DIV
3732CLASS="INFORMALTABLE"
3733><P
3734></P
3735><TABLE
3736BORDER="0"
3737WIDTH="100%"
3738BGCOLOR="#FFD0D0"
3739CELLSPACING="0"
3740CELLPADDING="4"
3741CLASS="CALSTABLE"
3742><TR
3743><TD
3744WIDTH="20%"
3745ALIGN="RIGHT"
3746VALIGN="TOP"
3747><TT
3748CLASS="PARAMETER"
3749><I
3750>buf</I
3751></TT
3752>&nbsp;:</TD
3753><TD
3754WIDTH="80%"
3755ALIGN="LEFT"
3756VALIGN="TOP"
3757>&nbsp;</TD
3758></TR
3759><TR
3760><TD
3761WIDTH="20%"
3762ALIGN="RIGHT"
3763VALIGN="TOP"
3764><TT
3765CLASS="PARAMETER"
3766><I
3767>scheme</I
3768></TT
3769>&nbsp;:</TD
3770><TD
3771WIDTH="80%"
3772ALIGN="LEFT"
3773VALIGN="TOP"
3774>&nbsp;</TD
3775></TR
3776></TABLE
3777><P
3778></P
3779></DIV
3780></DIV
3781><HR><DIV
3782CLASS="REFSECT2"
3783><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003784NAME="AEN3986"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003785></A
3786><H3
3787><A
3788NAME="XMLBUFFERLENGTH"
3789></A
3790>xmlBufferLength ()</H3
3791><TABLE
3792BORDER="0"
3793BGCOLOR="#D6E8FF"
3794WIDTH="100%"
3795CELLPADDING="6"
3796><TR
3797><TD
3798><PRE
3799CLASS="PROGRAMLISTING"
3800>int xmlBufferLength (const <A
3801HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3802>xmlBufferPtr</A
3803> buf);</PRE
3804></TD
3805></TR
3806></TABLE
3807><P
3808></P
3809><P
3810></P
3811><DIV
3812CLASS="INFORMALTABLE"
3813><P
3814></P
3815><TABLE
3816BORDER="0"
3817WIDTH="100%"
3818BGCOLOR="#FFD0D0"
3819CELLSPACING="0"
3820CELLPADDING="4"
3821CLASS="CALSTABLE"
3822><TR
3823><TD
3824WIDTH="20%"
3825ALIGN="RIGHT"
3826VALIGN="TOP"
3827><TT
3828CLASS="PARAMETER"
3829><I
3830>buf</I
3831></TT
3832>&nbsp;:</TD
3833><TD
3834WIDTH="80%"
3835ALIGN="LEFT"
3836VALIGN="TOP"
3837> the buffer </TD
3838></TR
3839><TR
3840><TD
3841WIDTH="20%"
3842ALIGN="RIGHT"
3843VALIGN="TOP"
3844><I
3845CLASS="EMPHASIS"
3846>Returns</I
3847> :</TD
3848><TD
3849WIDTH="80%"
3850ALIGN="LEFT"
3851VALIGN="TOP"
3852>the length of data in the internal content</TD
3853></TR
3854></TABLE
3855><P
3856></P
3857></DIV
3858></DIV
3859><HR><DIV
3860CLASS="REFSECT2"
3861><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003862NAME="AEN4006"
Daniel Veillard35925471999-02-25 08:46:07 +00003863></A
3864><H3
3865><A
3866NAME="XMLCREATEINTSUBSET"
3867></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003868>xmlCreateIntSubset ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003869><TABLE
3870BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003871BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003872WIDTH="100%"
3873CELLPADDING="6"
3874><TR
3875><TD
3876><PRE
3877CLASS="PROGRAMLISTING"
3878><A
3879HREF="gnome-xml-tree.html#XMLDTDPTR"
3880>xmlDtdPtr</A
3881> xmlCreateIntSubset (<A
3882HREF="gnome-xml-tree.html#XMLDOCPTR"
3883>xmlDocPtr</A
3884> doc,
3885 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003886HREF="gnome-xml-tree.html#XMLCHAR"
3887>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003888> *name,
3889 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003890HREF="gnome-xml-tree.html#XMLCHAR"
3891>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003892> *ExternalID,
3893 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003894HREF="gnome-xml-tree.html#XMLCHAR"
3895>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003896> *SystemID);</PRE
3897></TD
3898></TR
3899></TABLE
3900><P
3901>Create the internal subset of a document</P
3902><P
3903></P
3904><DIV
3905CLASS="INFORMALTABLE"
3906><P
3907></P
3908><TABLE
3909BORDER="0"
3910WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003911BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003912CELLSPACING="0"
3913CELLPADDING="4"
3914CLASS="CALSTABLE"
3915><TR
3916><TD
3917WIDTH="20%"
3918ALIGN="RIGHT"
3919VALIGN="TOP"
3920><TT
3921CLASS="PARAMETER"
3922><I
3923>doc</I
3924></TT
3925>&nbsp;:</TD
3926><TD
3927WIDTH="80%"
3928ALIGN="LEFT"
3929VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003930> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003931></TR
3932><TR
3933><TD
3934WIDTH="20%"
3935ALIGN="RIGHT"
3936VALIGN="TOP"
3937><TT
3938CLASS="PARAMETER"
3939><I
3940>name</I
3941></TT
3942>&nbsp;:</TD
3943><TD
3944WIDTH="80%"
3945ALIGN="LEFT"
3946VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003947> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003948></TR
3949><TR
3950><TD
3951WIDTH="20%"
3952ALIGN="RIGHT"
3953VALIGN="TOP"
3954><TT
3955CLASS="PARAMETER"
3956><I
3957>ExternalID</I
3958></TT
3959>&nbsp;:</TD
3960><TD
3961WIDTH="80%"
3962ALIGN="LEFT"
3963VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003964> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003965></TR
3966><TR
3967><TD
3968WIDTH="20%"
3969ALIGN="RIGHT"
3970VALIGN="TOP"
3971><TT
3972CLASS="PARAMETER"
3973><I
3974>SystemID</I
3975></TT
3976>&nbsp;:</TD
3977><TD
3978WIDTH="80%"
3979ALIGN="LEFT"
3980VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003981> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003982></TR
3983><TR
3984><TD
3985WIDTH="20%"
3986ALIGN="RIGHT"
3987VALIGN="TOP"
3988><I
3989CLASS="EMPHASIS"
3990>Returns</I
3991> :</TD
3992><TD
3993WIDTH="80%"
3994ALIGN="LEFT"
3995VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003996>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003997></TR
3998></TABLE
3999><P
4000></P
4001></DIV
4002></DIV
4003><HR><DIV
4004CLASS="REFSECT2"
4005><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004006NAME="AEN4042"
Daniel Veillard35925471999-02-25 08:46:07 +00004007></A
4008><H3
4009><A
4010NAME="XMLNEWDTD"
4011></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004012>xmlNewDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004013><TABLE
4014BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004015BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004016WIDTH="100%"
4017CELLPADDING="6"
4018><TR
4019><TD
4020><PRE
4021CLASS="PROGRAMLISTING"
4022><A
4023HREF="gnome-xml-tree.html#XMLDTDPTR"
4024>xmlDtdPtr</A
4025> xmlNewDtd (<A
4026HREF="gnome-xml-tree.html#XMLDOCPTR"
4027>xmlDocPtr</A
4028> doc,
4029 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004030HREF="gnome-xml-tree.html#XMLCHAR"
4031>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004032> *name,
4033 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004034HREF="gnome-xml-tree.html#XMLCHAR"
4035>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004036> *ExternalID,
4037 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004038HREF="gnome-xml-tree.html#XMLCHAR"
4039>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004040> *SystemID);</PRE
4041></TD
4042></TR
4043></TABLE
4044><P
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004045>Creation of a new DTD for the external subset. To create an
4046internal subset, use <A
4047HREF="gnome-xml-tree.html#XMLCREATEINTSUBSET"
4048>xmlCreateIntSubset</A
4049>().</P
Daniel Veillard35925471999-02-25 08:46:07 +00004050><P
4051></P
4052><DIV
4053CLASS="INFORMALTABLE"
4054><P
4055></P
4056><TABLE
4057BORDER="0"
4058WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004059BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004060CELLSPACING="0"
4061CELLPADDING="4"
4062CLASS="CALSTABLE"
4063><TR
4064><TD
4065WIDTH="20%"
4066ALIGN="RIGHT"
4067VALIGN="TOP"
4068><TT
4069CLASS="PARAMETER"
4070><I
4071>doc</I
4072></TT
4073>&nbsp;:</TD
4074><TD
4075WIDTH="80%"
4076ALIGN="LEFT"
4077VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004078> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004079></TR
4080><TR
4081><TD
4082WIDTH="20%"
4083ALIGN="RIGHT"
4084VALIGN="TOP"
4085><TT
4086CLASS="PARAMETER"
4087><I
4088>name</I
4089></TT
4090>&nbsp;:</TD
4091><TD
4092WIDTH="80%"
4093ALIGN="LEFT"
4094VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004095> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004096></TR
4097><TR
4098><TD
4099WIDTH="20%"
4100ALIGN="RIGHT"
4101VALIGN="TOP"
4102><TT
4103CLASS="PARAMETER"
4104><I
4105>ExternalID</I
4106></TT
4107>&nbsp;:</TD
4108><TD
4109WIDTH="80%"
4110ALIGN="LEFT"
4111VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004112> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004113></TR
4114><TR
4115><TD
4116WIDTH="20%"
4117ALIGN="RIGHT"
4118VALIGN="TOP"
4119><TT
4120CLASS="PARAMETER"
4121><I
4122>SystemID</I
4123></TT
4124>&nbsp;:</TD
4125><TD
4126WIDTH="80%"
4127ALIGN="LEFT"
4128VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004129> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004130></TR
4131><TR
4132><TD
4133WIDTH="20%"
4134ALIGN="RIGHT"
4135VALIGN="TOP"
4136><I
4137CLASS="EMPHASIS"
4138>Returns</I
4139> :</TD
4140><TD
4141WIDTH="80%"
4142ALIGN="LEFT"
4143VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004144>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004145></TR
4146></TABLE
4147><P
4148></P
4149></DIV
4150></DIV
4151><HR><DIV
4152CLASS="REFSECT2"
4153><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004154NAME="AEN4079"
Daniel Veillard35925471999-02-25 08:46:07 +00004155></A
4156><H3
4157><A
4158NAME="XMLFREEDTD"
4159></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004160>xmlFreeDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004161><TABLE
4162BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004163BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004164WIDTH="100%"
4165CELLPADDING="6"
4166><TR
4167><TD
4168><PRE
4169CLASS="PROGRAMLISTING"
4170>void xmlFreeDtd (<A
4171HREF="gnome-xml-tree.html#XMLDTDPTR"
4172>xmlDtdPtr</A
4173> cur);</PRE
4174></TD
4175></TR
4176></TABLE
4177><P
4178>Free a DTD structure.</P
4179><P
4180></P
4181><DIV
4182CLASS="INFORMALTABLE"
4183><P
4184></P
4185><TABLE
4186BORDER="0"
4187WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004188BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004189CELLSPACING="0"
4190CELLPADDING="4"
4191CLASS="CALSTABLE"
4192><TR
4193><TD
4194WIDTH="20%"
4195ALIGN="RIGHT"
4196VALIGN="TOP"
4197><TT
4198CLASS="PARAMETER"
4199><I
4200>cur</I
4201></TT
4202>&nbsp;:</TD
4203><TD
4204WIDTH="80%"
4205ALIGN="LEFT"
4206VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004207> the DTD structure to free up</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004208></TR
4209></TABLE
4210><P
4211></P
4212></DIV
4213></DIV
4214><HR><DIV
4215CLASS="REFSECT2"
4216><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004217NAME="AEN4095"
Daniel Veillard35925471999-02-25 08:46:07 +00004218></A
4219><H3
4220><A
4221NAME="XMLNEWGLOBALNS"
4222></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004223>xmlNewGlobalNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004224><TABLE
4225BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004226BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004227WIDTH="100%"
4228CELLPADDING="6"
4229><TR
4230><TD
4231><PRE
4232CLASS="PROGRAMLISTING"
4233><A
4234HREF="gnome-xml-tree.html#XMLNSPTR"
4235>xmlNsPtr</A
4236> xmlNewGlobalNs (<A
4237HREF="gnome-xml-tree.html#XMLDOCPTR"
4238>xmlDocPtr</A
4239> doc,
4240 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004241HREF="gnome-xml-tree.html#XMLCHAR"
4242>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004243> *href,
4244 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004245HREF="gnome-xml-tree.html#XMLCHAR"
4246>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004247> *prefix);</PRE
4248></TD
4249></TR
4250></TABLE
4251><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00004252>Creation of a Namespace, the old way using PI and without scoping
4253DEPRECATED !!!
Daniel Veillard0142b842000-01-14 14:45:24 +00004254It now create a namespace on the root element of the document if found.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004255><P
4256></P
4257><DIV
4258CLASS="INFORMALTABLE"
4259><P
4260></P
4261><TABLE
4262BORDER="0"
4263WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004264BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004265CELLSPACING="0"
4266CELLPADDING="4"
4267CLASS="CALSTABLE"
4268><TR
4269><TD
4270WIDTH="20%"
4271ALIGN="RIGHT"
4272VALIGN="TOP"
4273><TT
4274CLASS="PARAMETER"
4275><I
4276>doc</I
4277></TT
4278>&nbsp;:</TD
4279><TD
4280WIDTH="80%"
4281ALIGN="LEFT"
4282VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004283> the document carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004284></TR
4285><TR
4286><TD
4287WIDTH="20%"
4288ALIGN="RIGHT"
4289VALIGN="TOP"
4290><TT
4291CLASS="PARAMETER"
4292><I
4293>href</I
4294></TT
4295>&nbsp;:</TD
4296><TD
4297WIDTH="80%"
4298ALIGN="LEFT"
4299VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004300> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004301></TR
4302><TR
4303><TD
4304WIDTH="20%"
4305ALIGN="RIGHT"
4306VALIGN="TOP"
4307><TT
4308CLASS="PARAMETER"
4309><I
4310>prefix</I
4311></TT
4312>&nbsp;:</TD
4313><TD
4314WIDTH="80%"
4315ALIGN="LEFT"
4316VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004317> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004318></TR
4319><TR
4320><TD
4321WIDTH="20%"
4322ALIGN="RIGHT"
4323VALIGN="TOP"
4324><I
4325CLASS="EMPHASIS"
4326>Returns</I
4327> :</TD
4328><TD
4329WIDTH="80%"
4330ALIGN="LEFT"
4331VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004332>NULL this functionnality had been removed</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004333></TR
4334></TABLE
4335><P
4336></P
4337></DIV
4338></DIV
4339><HR><DIV
4340CLASS="REFSECT2"
4341><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004342NAME="AEN4126"
Daniel Veillard35925471999-02-25 08:46:07 +00004343></A
4344><H3
4345><A
4346NAME="XMLNEWNS"
4347></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004348>xmlNewNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004349><TABLE
4350BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004351BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004352WIDTH="100%"
4353CELLPADDING="6"
4354><TR
4355><TD
4356><PRE
4357CLASS="PROGRAMLISTING"
4358><A
4359HREF="gnome-xml-tree.html#XMLNSPTR"
4360>xmlNsPtr</A
4361> xmlNewNs (<A
4362HREF="gnome-xml-tree.html#XMLNODEPTR"
4363>xmlNodePtr</A
4364> node,
4365 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004366HREF="gnome-xml-tree.html#XMLCHAR"
4367>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004368> *href,
4369 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004370HREF="gnome-xml-tree.html#XMLCHAR"
4371>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004372> *prefix);</PRE
4373></TD
4374></TR
4375></TABLE
4376><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00004377>Creation of a new Namespace. This function will refuse to create
4378a namespace with a similar prefix than an existing one present on this
4379node.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004380><P
4381></P
4382><DIV
4383CLASS="INFORMALTABLE"
4384><P
4385></P
4386><TABLE
4387BORDER="0"
4388WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004389BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004390CELLSPACING="0"
4391CELLPADDING="4"
4392CLASS="CALSTABLE"
4393><TR
4394><TD
4395WIDTH="20%"
4396ALIGN="RIGHT"
4397VALIGN="TOP"
4398><TT
4399CLASS="PARAMETER"
4400><I
4401>node</I
4402></TT
4403>&nbsp;:</TD
4404><TD
4405WIDTH="80%"
4406ALIGN="LEFT"
4407VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004408> the element carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004409></TR
4410><TR
4411><TD
4412WIDTH="20%"
4413ALIGN="RIGHT"
4414VALIGN="TOP"
4415><TT
4416CLASS="PARAMETER"
4417><I
4418>href</I
4419></TT
4420>&nbsp;:</TD
4421><TD
4422WIDTH="80%"
4423ALIGN="LEFT"
4424VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004425> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004426></TR
4427><TR
4428><TD
4429WIDTH="20%"
4430ALIGN="RIGHT"
4431VALIGN="TOP"
4432><TT
4433CLASS="PARAMETER"
4434><I
4435>prefix</I
4436></TT
4437>&nbsp;:</TD
4438><TD
4439WIDTH="80%"
4440ALIGN="LEFT"
4441VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004442> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004443></TR
4444><TR
4445><TD
4446WIDTH="20%"
4447ALIGN="RIGHT"
4448VALIGN="TOP"
4449><I
4450CLASS="EMPHASIS"
4451>Returns</I
4452> :</TD
4453><TD
4454WIDTH="80%"
4455ALIGN="LEFT"
4456VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004457>returns a new namespace pointer or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004458></TR
4459></TABLE
4460><P
4461></P
4462></DIV
4463></DIV
4464><HR><DIV
4465CLASS="REFSECT2"
4466><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004467NAME="AEN4157"
Daniel Veillard35925471999-02-25 08:46:07 +00004468></A
4469><H3
4470><A
4471NAME="XMLFREENS"
4472></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004473>xmlFreeNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004474><TABLE
4475BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004476BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004477WIDTH="100%"
4478CELLPADDING="6"
4479><TR
4480><TD
4481><PRE
4482CLASS="PROGRAMLISTING"
4483>void xmlFreeNs (<A
4484HREF="gnome-xml-tree.html#XMLNSPTR"
4485>xmlNsPtr</A
4486> cur);</PRE
4487></TD
4488></TR
4489></TABLE
4490><P
4491>Free up the structures associated to a namespace</P
4492><P
4493></P
4494><DIV
4495CLASS="INFORMALTABLE"
4496><P
4497></P
4498><TABLE
4499BORDER="0"
4500WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004501BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004502CELLSPACING="0"
4503CELLPADDING="4"
4504CLASS="CALSTABLE"
4505><TR
4506><TD
4507WIDTH="20%"
4508ALIGN="RIGHT"
4509VALIGN="TOP"
4510><TT
4511CLASS="PARAMETER"
4512><I
4513>cur</I
4514></TT
4515>&nbsp;:</TD
4516><TD
4517WIDTH="80%"
4518ALIGN="LEFT"
4519VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004520> the namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004521></TR
4522></TABLE
4523><P
4524></P
4525></DIV
4526></DIV
4527><HR><DIV
4528CLASS="REFSECT2"
4529><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004530NAME="AEN4173"
Daniel Veillard35925471999-02-25 08:46:07 +00004531></A
4532><H3
4533><A
4534NAME="XMLNEWDOC"
4535></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004536>xmlNewDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004537><TABLE
4538BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004539BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004540WIDTH="100%"
4541CELLPADDING="6"
4542><TR
4543><TD
4544><PRE
4545CLASS="PROGRAMLISTING"
4546><A
4547HREF="gnome-xml-tree.html#XMLDOCPTR"
4548>xmlDocPtr</A
4549> xmlNewDoc (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004550HREF="gnome-xml-tree.html#XMLCHAR"
4551>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004552> *version);</PRE
4553></TD
4554></TR
4555></TABLE
4556><P
4557></P
4558><P
4559></P
4560><DIV
4561CLASS="INFORMALTABLE"
4562><P
4563></P
4564><TABLE
4565BORDER="0"
4566WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004567BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004568CELLSPACING="0"
4569CELLPADDING="4"
4570CLASS="CALSTABLE"
4571><TR
4572><TD
4573WIDTH="20%"
4574ALIGN="RIGHT"
4575VALIGN="TOP"
4576><TT
4577CLASS="PARAMETER"
4578><I
4579>version</I
4580></TT
4581>&nbsp;:</TD
4582><TD
4583WIDTH="80%"
4584ALIGN="LEFT"
4585VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004586> xmlChar string giving the version of XML "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004587></TR
4588><TR
4589><TD
4590WIDTH="20%"
4591ALIGN="RIGHT"
4592VALIGN="TOP"
4593><I
4594CLASS="EMPHASIS"
4595>Returns</I
4596> :</TD
4597><TD
4598WIDTH="80%"
4599ALIGN="LEFT"
4600VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004601>a new document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004602></TR
4603></TABLE
4604><P
4605></P
4606></DIV
4607></DIV
4608><HR><DIV
4609CLASS="REFSECT2"
4610><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004611NAME="AEN4194"
Daniel Veillard35925471999-02-25 08:46:07 +00004612></A
4613><H3
4614><A
4615NAME="XMLFREEDOC"
4616></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004617>xmlFreeDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004618><TABLE
4619BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004620BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004621WIDTH="100%"
4622CELLPADDING="6"
4623><TR
4624><TD
4625><PRE
4626CLASS="PROGRAMLISTING"
4627>void xmlFreeDoc (<A
4628HREF="gnome-xml-tree.html#XMLDOCPTR"
4629>xmlDocPtr</A
4630> cur);</PRE
4631></TD
4632></TR
4633></TABLE
4634><P
4635>Free up all the structures used by a document, tree included.</P
4636><P
4637></P
4638><DIV
4639CLASS="INFORMALTABLE"
4640><P
4641></P
4642><TABLE
4643BORDER="0"
4644WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004645BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004646CELLSPACING="0"
4647CELLPADDING="4"
4648CLASS="CALSTABLE"
4649><TR
4650><TD
4651WIDTH="20%"
4652ALIGN="RIGHT"
4653VALIGN="TOP"
4654><TT
4655CLASS="PARAMETER"
4656><I
4657>cur</I
4658></TT
4659>&nbsp;:</TD
4660><TD
4661WIDTH="80%"
4662ALIGN="LEFT"
4663VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004664> pointer to the document
4665@: </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004666></TR
4667></TABLE
4668><P
4669></P
4670></DIV
4671></DIV
4672><HR><DIV
4673CLASS="REFSECT2"
4674><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004675NAME="AEN4210"
Daniel Veillard35925471999-02-25 08:46:07 +00004676></A
4677><H3
4678><A
4679NAME="XMLNEWDOCPROP"
4680></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004681>xmlNewDocProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004682><TABLE
4683BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004684BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004685WIDTH="100%"
4686CELLPADDING="6"
4687><TR
4688><TD
4689><PRE
4690CLASS="PROGRAMLISTING"
4691><A
4692HREF="gnome-xml-tree.html#XMLATTRPTR"
4693>xmlAttrPtr</A
4694> xmlNewDocProp (<A
4695HREF="gnome-xml-tree.html#XMLDOCPTR"
4696>xmlDocPtr</A
4697> doc,
4698 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004699HREF="gnome-xml-tree.html#XMLCHAR"
4700>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004701> *name,
4702 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004703HREF="gnome-xml-tree.html#XMLCHAR"
4704>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004705> *value);</PRE
4706></TD
4707></TR
4708></TABLE
4709><P
4710>Create a new property carried by a document.</P
4711><P
4712></P
4713><DIV
4714CLASS="INFORMALTABLE"
4715><P
4716></P
4717><TABLE
4718BORDER="0"
4719WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004720BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004721CELLSPACING="0"
4722CELLPADDING="4"
4723CLASS="CALSTABLE"
4724><TR
4725><TD
4726WIDTH="20%"
4727ALIGN="RIGHT"
4728VALIGN="TOP"
4729><TT
4730CLASS="PARAMETER"
4731><I
4732>doc</I
4733></TT
4734>&nbsp;:</TD
4735><TD
4736WIDTH="80%"
4737ALIGN="LEFT"
4738VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004739> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004740></TR
4741><TR
4742><TD
4743WIDTH="20%"
4744ALIGN="RIGHT"
4745VALIGN="TOP"
4746><TT
4747CLASS="PARAMETER"
4748><I
4749>name</I
4750></TT
4751>&nbsp;:</TD
4752><TD
4753WIDTH="80%"
4754ALIGN="LEFT"
4755VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004756> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004757></TR
4758><TR
4759><TD
4760WIDTH="20%"
4761ALIGN="RIGHT"
4762VALIGN="TOP"
4763><TT
4764CLASS="PARAMETER"
4765><I
4766>value</I
4767></TT
4768>&nbsp;:</TD
4769><TD
4770WIDTH="80%"
4771ALIGN="LEFT"
4772VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004773> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004774></TR
4775><TR
4776><TD
4777WIDTH="20%"
4778ALIGN="RIGHT"
4779VALIGN="TOP"
4780><I
4781CLASS="EMPHASIS"
4782>Returns</I
4783> :</TD
4784><TD
4785WIDTH="80%"
4786ALIGN="LEFT"
4787VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004788>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004789></TR
4790></TABLE
4791><P
4792></P
4793></DIV
4794></DIV
4795><HR><DIV
4796CLASS="REFSECT2"
4797><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004798NAME="AEN4241"
Daniel Veillard35925471999-02-25 08:46:07 +00004799></A
4800><H3
4801><A
4802NAME="XMLNEWPROP"
4803></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004804>xmlNewProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004805><TABLE
4806BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004807BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004808WIDTH="100%"
4809CELLPADDING="6"
4810><TR
4811><TD
4812><PRE
4813CLASS="PROGRAMLISTING"
4814><A
4815HREF="gnome-xml-tree.html#XMLATTRPTR"
4816>xmlAttrPtr</A
4817> xmlNewProp (<A
4818HREF="gnome-xml-tree.html#XMLNODEPTR"
4819>xmlNodePtr</A
4820> node,
4821 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004822HREF="gnome-xml-tree.html#XMLCHAR"
4823>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004824> *name,
4825 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004826HREF="gnome-xml-tree.html#XMLCHAR"
4827>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004828> *value);</PRE
4829></TD
4830></TR
4831></TABLE
4832><P
4833>Create a new property carried by a node.</P
4834><P
4835></P
4836><DIV
4837CLASS="INFORMALTABLE"
4838><P
4839></P
4840><TABLE
4841BORDER="0"
4842WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004843BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004844CELLSPACING="0"
4845CELLPADDING="4"
4846CLASS="CALSTABLE"
4847><TR
4848><TD
4849WIDTH="20%"
4850ALIGN="RIGHT"
4851VALIGN="TOP"
4852><TT
4853CLASS="PARAMETER"
4854><I
4855>node</I
4856></TT
4857>&nbsp;:</TD
4858><TD
4859WIDTH="80%"
4860ALIGN="LEFT"
4861VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004862> the holding node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004863></TR
4864><TR
4865><TD
4866WIDTH="20%"
4867ALIGN="RIGHT"
4868VALIGN="TOP"
4869><TT
4870CLASS="PARAMETER"
4871><I
4872>name</I
4873></TT
4874>&nbsp;:</TD
4875><TD
4876WIDTH="80%"
4877ALIGN="LEFT"
4878VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004879> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004880></TR
4881><TR
4882><TD
4883WIDTH="20%"
4884ALIGN="RIGHT"
4885VALIGN="TOP"
4886><TT
4887CLASS="PARAMETER"
4888><I
4889>value</I
4890></TT
4891>&nbsp;:</TD
4892><TD
4893WIDTH="80%"
4894ALIGN="LEFT"
4895VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004896> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004897></TR
4898><TR
4899><TD
4900WIDTH="20%"
4901ALIGN="RIGHT"
4902VALIGN="TOP"
4903><I
4904CLASS="EMPHASIS"
4905>Returns</I
4906> :</TD
4907><TD
4908WIDTH="80%"
4909ALIGN="LEFT"
4910VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004911>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004912></TR
4913></TABLE
4914><P
4915></P
4916></DIV
4917></DIV
4918><HR><DIV
4919CLASS="REFSECT2"
4920><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004921NAME="AEN4272"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004922></A
4923><H3
4924><A
4925NAME="XMLNEWNSPROP"
4926></A
4927>xmlNewNsProp ()</H3
4928><TABLE
4929BORDER="0"
4930BGCOLOR="#D6E8FF"
4931WIDTH="100%"
4932CELLPADDING="6"
4933><TR
4934><TD
4935><PRE
4936CLASS="PROGRAMLISTING"
4937><A
4938HREF="gnome-xml-tree.html#XMLATTRPTR"
4939>xmlAttrPtr</A
4940> xmlNewNsProp (<A
4941HREF="gnome-xml-tree.html#XMLNODEPTR"
4942>xmlNodePtr</A
4943> node,
4944 <A
4945HREF="gnome-xml-tree.html#XMLNSPTR"
4946>xmlNsPtr</A
4947> ns,
4948 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004949HREF="gnome-xml-tree.html#XMLCHAR"
4950>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004951> *name,
4952 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004953HREF="gnome-xml-tree.html#XMLCHAR"
4954>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004955> *value);</PRE
4956></TD
4957></TR
4958></TABLE
4959><P
4960>Create a new property tagged with a namespace and carried by a node.</P
4961><P
4962></P
4963><DIV
4964CLASS="INFORMALTABLE"
4965><P
4966></P
4967><TABLE
4968BORDER="0"
4969WIDTH="100%"
4970BGCOLOR="#FFD0D0"
4971CELLSPACING="0"
4972CELLPADDING="4"
4973CLASS="CALSTABLE"
4974><TR
4975><TD
4976WIDTH="20%"
4977ALIGN="RIGHT"
4978VALIGN="TOP"
4979><TT
4980CLASS="PARAMETER"
4981><I
4982>node</I
4983></TT
4984>&nbsp;:</TD
4985><TD
4986WIDTH="80%"
4987ALIGN="LEFT"
4988VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004989> the holding node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004990></TR
4991><TR
4992><TD
4993WIDTH="20%"
4994ALIGN="RIGHT"
4995VALIGN="TOP"
4996><TT
4997CLASS="PARAMETER"
4998><I
4999>ns</I
5000></TT
5001>&nbsp;:</TD
5002><TD
5003WIDTH="80%"
5004ALIGN="LEFT"
5005VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005006> the namespace</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005007></TR
5008><TR
5009><TD
5010WIDTH="20%"
5011ALIGN="RIGHT"
5012VALIGN="TOP"
5013><TT
5014CLASS="PARAMETER"
5015><I
5016>name</I
5017></TT
5018>&nbsp;:</TD
5019><TD
5020WIDTH="80%"
5021ALIGN="LEFT"
5022VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005023> the name of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005024></TR
5025><TR
5026><TD
5027WIDTH="20%"
5028ALIGN="RIGHT"
5029VALIGN="TOP"
5030><TT
5031CLASS="PARAMETER"
5032><I
5033>value</I
5034></TT
5035>&nbsp;:</TD
5036><TD
5037WIDTH="80%"
5038ALIGN="LEFT"
5039VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005040> the value of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005041></TR
5042><TR
5043><TD
5044WIDTH="20%"
5045ALIGN="RIGHT"
5046VALIGN="TOP"
5047><I
5048CLASS="EMPHASIS"
5049>Returns</I
5050> :</TD
5051><TD
5052WIDTH="80%"
5053ALIGN="LEFT"
5054VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005055>a pointer to the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005056></TR
5057></TABLE
5058><P
5059></P
5060></DIV
5061></DIV
5062><HR><DIV
5063CLASS="REFSECT2"
5064><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005065NAME="AEN4308"
Daniel Veillard35925471999-02-25 08:46:07 +00005066></A
5067><H3
5068><A
5069NAME="XMLFREEPROPLIST"
5070></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005071>xmlFreePropList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005072><TABLE
5073BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005074BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005075WIDTH="100%"
5076CELLPADDING="6"
5077><TR
5078><TD
5079><PRE
5080CLASS="PROGRAMLISTING"
5081>void xmlFreePropList (<A
5082HREF="gnome-xml-tree.html#XMLATTRPTR"
5083>xmlAttrPtr</A
5084> cur);</PRE
5085></TD
5086></TR
5087></TABLE
5088><P
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005089>Free a property and all its siblings, all the children are freed too.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005090><P
5091></P
5092><DIV
5093CLASS="INFORMALTABLE"
5094><P
5095></P
5096><TABLE
5097BORDER="0"
5098WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005099BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005100CELLSPACING="0"
5101CELLPADDING="4"
5102CLASS="CALSTABLE"
5103><TR
5104><TD
5105WIDTH="20%"
5106ALIGN="RIGHT"
5107VALIGN="TOP"
5108><TT
5109CLASS="PARAMETER"
5110><I
5111>cur</I
5112></TT
5113>&nbsp;:</TD
5114><TD
5115WIDTH="80%"
5116ALIGN="LEFT"
5117VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005118> the first property in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005119></TR
5120></TABLE
5121><P
5122></P
5123></DIV
5124></DIV
5125><HR><DIV
5126CLASS="REFSECT2"
5127><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005128NAME="AEN4324"
Daniel Veillard35925471999-02-25 08:46:07 +00005129></A
5130><H3
5131><A
5132NAME="XMLFREEPROP"
5133></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005134>xmlFreeProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005135><TABLE
5136BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005137BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005138WIDTH="100%"
5139CELLPADDING="6"
5140><TR
5141><TD
5142><PRE
5143CLASS="PROGRAMLISTING"
5144>void xmlFreeProp (<A
5145HREF="gnome-xml-tree.html#XMLATTRPTR"
5146>xmlAttrPtr</A
5147> cur);</PRE
5148></TD
5149></TR
5150></TABLE
5151><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00005152>Free one attribute, all the content is freed too</P
Daniel Veillard35925471999-02-25 08:46:07 +00005153><P
5154></P
5155><DIV
5156CLASS="INFORMALTABLE"
5157><P
5158></P
5159><TABLE
5160BORDER="0"
5161WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005162BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005163CELLSPACING="0"
5164CELLPADDING="4"
5165CLASS="CALSTABLE"
5166><TR
5167><TD
5168WIDTH="20%"
5169ALIGN="RIGHT"
5170VALIGN="TOP"
5171><TT
5172CLASS="PARAMETER"
5173><I
5174>cur</I
5175></TT
5176>&nbsp;:</TD
5177><TD
5178WIDTH="80%"
5179ALIGN="LEFT"
5180VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005181> an attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005182></TR
5183></TABLE
5184><P
5185></P
5186></DIV
5187></DIV
5188><HR><DIV
5189CLASS="REFSECT2"
5190><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005191NAME="AEN4340"
Daniel Veillard35925471999-02-25 08:46:07 +00005192></A
5193><H3
5194><A
5195NAME="XMLCOPYPROP"
5196></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005197>xmlCopyProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005198><TABLE
5199BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005200BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005201WIDTH="100%"
5202CELLPADDING="6"
5203><TR
5204><TD
5205><PRE
5206CLASS="PROGRAMLISTING"
5207><A
5208HREF="gnome-xml-tree.html#XMLATTRPTR"
5209>xmlAttrPtr</A
5210> xmlCopyProp (<A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005211HREF="gnome-xml-tree.html#XMLNODEPTR"
5212>xmlNodePtr</A
5213> target,
5214 <A
Daniel Veillard35925471999-02-25 08:46:07 +00005215HREF="gnome-xml-tree.html#XMLATTRPTR"
5216>xmlAttrPtr</A
5217> cur);</PRE
5218></TD
5219></TR
5220></TABLE
5221><P
5222>Do a copy of the attribute.</P
5223><P
5224></P
5225><DIV
5226CLASS="INFORMALTABLE"
5227><P
5228></P
5229><TABLE
5230BORDER="0"
5231WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005232BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005233CELLSPACING="0"
5234CELLPADDING="4"
5235CLASS="CALSTABLE"
5236><TR
5237><TD
5238WIDTH="20%"
5239ALIGN="RIGHT"
5240VALIGN="TOP"
5241><TT
5242CLASS="PARAMETER"
5243><I
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005244>target</I
Daniel Veillard35925471999-02-25 08:46:07 +00005245></TT
5246>&nbsp;:</TD
5247><TD
5248WIDTH="80%"
5249ALIGN="LEFT"
5250VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005251> the element where the attribute will be grafted</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005252></TR
5253><TR
5254><TD
5255WIDTH="20%"
5256ALIGN="RIGHT"
5257VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00005258><TT
5259CLASS="PARAMETER"
5260><I
5261>cur</I
5262></TT
5263>&nbsp;:</TD
5264><TD
5265WIDTH="80%"
5266ALIGN="LEFT"
5267VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005268> the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005269></TR
5270><TR
5271><TD
5272WIDTH="20%"
5273ALIGN="RIGHT"
5274VALIGN="TOP"
5275><I
5276CLASS="EMPHASIS"
5277>Returns</I
5278> :</TD
5279><TD
5280WIDTH="80%"
5281ALIGN="LEFT"
5282VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005283> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005284></TR
5285></TABLE
5286><P
5287></P
5288></DIV
5289></DIV
5290><HR><DIV
5291CLASS="REFSECT2"
5292><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005293NAME="AEN4366"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005294></A
5295><H3
5296><A
5297NAME="XMLCOPYPROPLIST"
5298></A
5299>xmlCopyPropList ()</H3
5300><TABLE
5301BORDER="0"
5302BGCOLOR="#D6E8FF"
5303WIDTH="100%"
5304CELLPADDING="6"
5305><TR
5306><TD
5307><PRE
5308CLASS="PROGRAMLISTING"
5309><A
5310HREF="gnome-xml-tree.html#XMLATTRPTR"
5311>xmlAttrPtr</A
5312> xmlCopyPropList (<A
5313HREF="gnome-xml-tree.html#XMLNODEPTR"
5314>xmlNodePtr</A
5315> target,
5316 <A
5317HREF="gnome-xml-tree.html#XMLATTRPTR"
5318>xmlAttrPtr</A
5319> cur);</PRE
5320></TD
5321></TR
5322></TABLE
5323><P
5324>Do a copy of an attribute list.</P
5325><P
5326></P
5327><DIV
5328CLASS="INFORMALTABLE"
5329><P
5330></P
5331><TABLE
5332BORDER="0"
5333WIDTH="100%"
5334BGCOLOR="#FFD0D0"
5335CELLSPACING="0"
5336CELLPADDING="4"
5337CLASS="CALSTABLE"
5338><TR
5339><TD
5340WIDTH="20%"
5341ALIGN="RIGHT"
5342VALIGN="TOP"
5343><TT
5344CLASS="PARAMETER"
5345><I
5346>target</I
5347></TT
5348>&nbsp;:</TD
5349><TD
5350WIDTH="80%"
5351ALIGN="LEFT"
5352VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005353> the element where the attributes will be grafted</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005354></TR
5355><TR
5356><TD
5357WIDTH="20%"
5358ALIGN="RIGHT"
5359VALIGN="TOP"
5360><TT
5361CLASS="PARAMETER"
5362><I
5363>cur</I
5364></TT
5365>&nbsp;:</TD
5366><TD
5367WIDTH="80%"
5368ALIGN="LEFT"
5369VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005370> the first attribute</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005371></TR
5372><TR
5373><TD
5374WIDTH="20%"
5375ALIGN="RIGHT"
5376VALIGN="TOP"
5377><I
5378CLASS="EMPHASIS"
5379>Returns</I
5380> :</TD
5381><TD
5382WIDTH="80%"
5383ALIGN="LEFT"
5384VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005385> a new xmlAttrPtr, or NULL in case of error.</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005386></TR
5387></TABLE
5388><P
5389></P
5390></DIV
5391></DIV
5392><HR><DIV
5393CLASS="REFSECT2"
5394><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005395NAME="AEN4392"
Daniel Veillard35925471999-02-25 08:46:07 +00005396></A
5397><H3
5398><A
5399NAME="XMLCOPYDTD"
5400></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005401>xmlCopyDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005402><TABLE
5403BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005404BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005405WIDTH="100%"
5406CELLPADDING="6"
5407><TR
5408><TD
5409><PRE
5410CLASS="PROGRAMLISTING"
5411><A
5412HREF="gnome-xml-tree.html#XMLDTDPTR"
5413>xmlDtdPtr</A
5414> xmlCopyDtd (<A
5415HREF="gnome-xml-tree.html#XMLDTDPTR"
5416>xmlDtdPtr</A
5417> dtd);</PRE
5418></TD
5419></TR
5420></TABLE
5421><P
5422>Do a copy of the dtd.</P
5423><P
5424></P
5425><DIV
5426CLASS="INFORMALTABLE"
5427><P
5428></P
5429><TABLE
5430BORDER="0"
5431WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005432BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005433CELLSPACING="0"
5434CELLPADDING="4"
5435CLASS="CALSTABLE"
5436><TR
5437><TD
5438WIDTH="20%"
5439ALIGN="RIGHT"
5440VALIGN="TOP"
5441><TT
5442CLASS="PARAMETER"
5443><I
5444>dtd</I
5445></TT
5446>&nbsp;:</TD
5447><TD
5448WIDTH="80%"
5449ALIGN="LEFT"
5450VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005451> the dtd</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005452></TR
5453><TR
5454><TD
5455WIDTH="20%"
5456ALIGN="RIGHT"
5457VALIGN="TOP"
5458><I
5459CLASS="EMPHASIS"
5460>Returns</I
5461> :</TD
5462><TD
5463WIDTH="80%"
5464ALIGN="LEFT"
5465VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005466> a new xmlDtdPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005467></TR
5468></TABLE
5469><P
5470></P
5471></DIV
5472></DIV
5473><HR><DIV
5474CLASS="REFSECT2"
5475><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005476NAME="AEN4413"
Daniel Veillard35925471999-02-25 08:46:07 +00005477></A
5478><H3
5479><A
5480NAME="XMLCOPYDOC"
5481></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005482>xmlCopyDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005483><TABLE
5484BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005485BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005486WIDTH="100%"
5487CELLPADDING="6"
5488><TR
5489><TD
5490><PRE
5491CLASS="PROGRAMLISTING"
5492><A
5493HREF="gnome-xml-tree.html#XMLDOCPTR"
5494>xmlDocPtr</A
5495> xmlCopyDoc (<A
5496HREF="gnome-xml-tree.html#XMLDOCPTR"
5497>xmlDocPtr</A
5498> doc,
5499 int recursive);</PRE
5500></TD
5501></TR
5502></TABLE
5503><P
5504>Do a copy of the document info. If recursive, the content tree will
5505be copied too as well as Dtd, namespaces and entities.</P
5506><P
5507></P
5508><DIV
5509CLASS="INFORMALTABLE"
5510><P
5511></P
5512><TABLE
5513BORDER="0"
5514WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005515BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005516CELLSPACING="0"
5517CELLPADDING="4"
5518CLASS="CALSTABLE"
5519><TR
5520><TD
5521WIDTH="20%"
5522ALIGN="RIGHT"
5523VALIGN="TOP"
5524><TT
5525CLASS="PARAMETER"
5526><I
5527>doc</I
5528></TT
5529>&nbsp;:</TD
5530><TD
5531WIDTH="80%"
5532ALIGN="LEFT"
5533VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005534> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005535></TR
5536><TR
5537><TD
5538WIDTH="20%"
5539ALIGN="RIGHT"
5540VALIGN="TOP"
5541><TT
5542CLASS="PARAMETER"
5543><I
5544>recursive</I
5545></TT
5546>&nbsp;:</TD
5547><TD
5548WIDTH="80%"
5549ALIGN="LEFT"
5550VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005551> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005552></TR
5553><TR
5554><TD
5555WIDTH="20%"
5556ALIGN="RIGHT"
5557VALIGN="TOP"
5558><I
5559CLASS="EMPHASIS"
5560>Returns</I
5561> :</TD
5562><TD
5563WIDTH="80%"
5564ALIGN="LEFT"
5565VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005566> a new xmlDocPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005567></TR
5568></TABLE
5569><P
5570></P
5571></DIV
5572></DIV
5573><HR><DIV
5574CLASS="REFSECT2"
5575><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005576NAME="AEN4438"
Daniel Veillard35925471999-02-25 08:46:07 +00005577></A
5578><H3
5579><A
5580NAME="XMLNEWDOCNODE"
5581></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005582>xmlNewDocNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005583><TABLE
5584BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005585BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005586WIDTH="100%"
5587CELLPADDING="6"
5588><TR
5589><TD
5590><PRE
5591CLASS="PROGRAMLISTING"
5592><A
5593HREF="gnome-xml-tree.html#XMLNODEPTR"
5594>xmlNodePtr</A
5595> xmlNewDocNode (<A
5596HREF="gnome-xml-tree.html#XMLDOCPTR"
5597>xmlDocPtr</A
5598> doc,
5599 <A
5600HREF="gnome-xml-tree.html#XMLNSPTR"
5601>xmlNsPtr</A
5602> ns,
5603 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005604HREF="gnome-xml-tree.html#XMLCHAR"
5605>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005606> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005607 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005608HREF="gnome-xml-tree.html#XMLCHAR"
5609>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005610> *content);</PRE
5611></TD
5612></TR
5613></TABLE
5614><P
5615>Creation of a new node element within a document. <TT
5616CLASS="PARAMETER"
5617><I
5618>ns</I
5619></TT
5620> and <TT
5621CLASS="PARAMETER"
5622><I
5623>content</I
5624></TT
5625>
Daniel Veillardf3a73582000-01-05 14:58:39 +00005626are optionnal (NULL).
5627NOTE: <TT
5628CLASS="PARAMETER"
5629><I
5630>content</I
5631></TT
5632> is supposed to be a piece of XML CDATA, so it allow entities
5633references, but XML special chars need to be escaped first by using
5634<A
5635HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT"
5636>xmlEncodeEntitiesReentrant</A
5637>(). Use <A
5638HREF="gnome-xml-tree.html#XMLNEWDOCRAWNODE"
5639>xmlNewDocRawNode</A
5640>() if you don't
5641need entities support.</P
5642><P
5643></P
5644><DIV
5645CLASS="INFORMALTABLE"
5646><P
5647></P
5648><TABLE
5649BORDER="0"
5650WIDTH="100%"
5651BGCOLOR="#FFD0D0"
5652CELLSPACING="0"
5653CELLPADDING="4"
5654CLASS="CALSTABLE"
5655><TR
5656><TD
5657WIDTH="20%"
5658ALIGN="RIGHT"
5659VALIGN="TOP"
5660><TT
5661CLASS="PARAMETER"
5662><I
5663>doc</I
5664></TT
5665>&nbsp;:</TD
5666><TD
5667WIDTH="80%"
5668ALIGN="LEFT"
5669VALIGN="TOP"
5670> the document</TD
5671></TR
5672><TR
5673><TD
5674WIDTH="20%"
5675ALIGN="RIGHT"
5676VALIGN="TOP"
5677><TT
5678CLASS="PARAMETER"
5679><I
5680>ns</I
5681></TT
5682>&nbsp;:</TD
5683><TD
5684WIDTH="80%"
5685ALIGN="LEFT"
5686VALIGN="TOP"
5687> namespace if any</TD
5688></TR
5689><TR
5690><TD
5691WIDTH="20%"
5692ALIGN="RIGHT"
5693VALIGN="TOP"
5694><TT
5695CLASS="PARAMETER"
5696><I
5697>name</I
5698></TT
5699>&nbsp;:</TD
5700><TD
5701WIDTH="80%"
5702ALIGN="LEFT"
5703VALIGN="TOP"
5704> the node name</TD
5705></TR
5706><TR
5707><TD
5708WIDTH="20%"
5709ALIGN="RIGHT"
5710VALIGN="TOP"
5711><TT
5712CLASS="PARAMETER"
5713><I
5714>content</I
5715></TT
5716>&nbsp;:</TD
5717><TD
5718WIDTH="80%"
5719ALIGN="LEFT"
5720VALIGN="TOP"
5721> the XML text content if any</TD
5722></TR
5723><TR
5724><TD
5725WIDTH="20%"
5726ALIGN="RIGHT"
5727VALIGN="TOP"
5728><I
5729CLASS="EMPHASIS"
5730>Returns</I
5731> :</TD
5732><TD
5733WIDTH="80%"
5734ALIGN="LEFT"
5735VALIGN="TOP"
5736>a pointer to the new node object.</TD
5737></TR
5738></TABLE
5739><P
5740></P
5741></DIV
5742></DIV
5743><HR><DIV
5744CLASS="REFSECT2"
5745><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005746NAME="AEN4479"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005747></A
5748><H3
5749><A
5750NAME="XMLNEWDOCRAWNODE"
5751></A
5752>xmlNewDocRawNode ()</H3
5753><TABLE
5754BORDER="0"
5755BGCOLOR="#D6E8FF"
5756WIDTH="100%"
5757CELLPADDING="6"
5758><TR
5759><TD
5760><PRE
5761CLASS="PROGRAMLISTING"
5762><A
5763HREF="gnome-xml-tree.html#XMLNODEPTR"
5764>xmlNodePtr</A
5765> xmlNewDocRawNode (<A
5766HREF="gnome-xml-tree.html#XMLDOCPTR"
5767>xmlDocPtr</A
5768> doc,
5769 <A
5770HREF="gnome-xml-tree.html#XMLNSPTR"
5771>xmlNsPtr</A
5772> ns,
5773 const <A
5774HREF="gnome-xml-tree.html#XMLCHAR"
5775>xmlChar</A
5776> *name,
5777 const <A
5778HREF="gnome-xml-tree.html#XMLCHAR"
5779>xmlChar</A
5780> *content);</PRE
5781></TD
5782></TR
5783></TABLE
5784><P
5785>Creation of a new node element within a document. <TT
5786CLASS="PARAMETER"
5787><I
5788>ns</I
5789></TT
5790> and <TT
5791CLASS="PARAMETER"
5792><I
5793>content</I
5794></TT
5795>
Daniel Veillard35925471999-02-25 08:46:07 +00005796are optionnal (NULL).</P
5797><P
5798></P
5799><DIV
5800CLASS="INFORMALTABLE"
5801><P
5802></P
5803><TABLE
5804BORDER="0"
5805WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005806BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005807CELLSPACING="0"
5808CELLPADDING="4"
5809CLASS="CALSTABLE"
5810><TR
5811><TD
5812WIDTH="20%"
5813ALIGN="RIGHT"
5814VALIGN="TOP"
5815><TT
5816CLASS="PARAMETER"
5817><I
5818>doc</I
5819></TT
5820>&nbsp;:</TD
5821><TD
5822WIDTH="80%"
5823ALIGN="LEFT"
5824VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005825> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005826></TR
5827><TR
5828><TD
5829WIDTH="20%"
5830ALIGN="RIGHT"
5831VALIGN="TOP"
5832><TT
5833CLASS="PARAMETER"
5834><I
5835>ns</I
5836></TT
5837>&nbsp;:</TD
5838><TD
5839WIDTH="80%"
5840ALIGN="LEFT"
5841VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005842> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005843></TR
5844><TR
5845><TD
5846WIDTH="20%"
5847ALIGN="RIGHT"
5848VALIGN="TOP"
5849><TT
5850CLASS="PARAMETER"
5851><I
5852>name</I
5853></TT
5854>&nbsp;:</TD
5855><TD
5856WIDTH="80%"
5857ALIGN="LEFT"
5858VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005859> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005860></TR
5861><TR
5862><TD
5863WIDTH="20%"
5864ALIGN="RIGHT"
5865VALIGN="TOP"
5866><TT
5867CLASS="PARAMETER"
5868><I
5869>content</I
5870></TT
5871>&nbsp;:</TD
5872><TD
5873WIDTH="80%"
5874ALIGN="LEFT"
5875VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005876> the text content if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005877></TR
5878><TR
5879><TD
5880WIDTH="20%"
5881ALIGN="RIGHT"
5882VALIGN="TOP"
5883><I
5884CLASS="EMPHASIS"
5885>Returns</I
5886> :</TD
5887><TD
5888WIDTH="80%"
5889ALIGN="LEFT"
5890VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005891>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005892></TR
5893></TABLE
5894><P
5895></P
5896></DIV
5897></DIV
5898><HR><DIV
5899CLASS="REFSECT2"
5900><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005901NAME="AEN4517"
Daniel Veillard35925471999-02-25 08:46:07 +00005902></A
5903><H3
5904><A
5905NAME="XMLNEWNODE"
5906></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005907>xmlNewNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005908><TABLE
5909BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005910BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005911WIDTH="100%"
5912CELLPADDING="6"
5913><TR
5914><TD
5915><PRE
5916CLASS="PROGRAMLISTING"
5917><A
5918HREF="gnome-xml-tree.html#XMLNODEPTR"
5919>xmlNodePtr</A
5920> xmlNewNode (<A
5921HREF="gnome-xml-tree.html#XMLNSPTR"
5922>xmlNsPtr</A
5923> ns,
5924 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005925HREF="gnome-xml-tree.html#XMLCHAR"
5926>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005927> *name);</PRE
5928></TD
5929></TR
5930></TABLE
5931><P
5932>Creation of a new node element. <TT
5933CLASS="PARAMETER"
5934><I
5935>ns</I
5936></TT
5937> and <TT
5938CLASS="PARAMETER"
5939><I
5940>content</I
5941></TT
5942> are optionnal (NULL).
5943If content is non NULL, a child list containing the TEXTs and
5944ENTITY_REFs node will be created.</P
5945><P
5946></P
5947><DIV
5948CLASS="INFORMALTABLE"
5949><P
5950></P
5951><TABLE
5952BORDER="0"
5953WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005954BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005955CELLSPACING="0"
5956CELLPADDING="4"
5957CLASS="CALSTABLE"
5958><TR
5959><TD
5960WIDTH="20%"
5961ALIGN="RIGHT"
5962VALIGN="TOP"
5963><TT
5964CLASS="PARAMETER"
5965><I
5966>ns</I
5967></TT
5968>&nbsp;:</TD
5969><TD
5970WIDTH="80%"
5971ALIGN="LEFT"
5972VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005973> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005974></TR
5975><TR
5976><TD
5977WIDTH="20%"
5978ALIGN="RIGHT"
5979VALIGN="TOP"
5980><TT
5981CLASS="PARAMETER"
5982><I
5983>name</I
5984></TT
5985>&nbsp;:</TD
5986><TD
5987WIDTH="80%"
5988ALIGN="LEFT"
5989VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005990> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005991></TR
5992><TR
5993><TD
5994WIDTH="20%"
5995ALIGN="RIGHT"
5996VALIGN="TOP"
5997><I
5998CLASS="EMPHASIS"
5999>Returns</I
6000> :</TD
6001><TD
6002WIDTH="80%"
6003ALIGN="LEFT"
6004VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006005>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006006></TR
6007></TABLE
6008><P
6009></P
6010></DIV
6011></DIV
6012><HR><DIV
6013CLASS="REFSECT2"
6014><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006015NAME="AEN4545"
Daniel Veillard35925471999-02-25 08:46:07 +00006016></A
6017><H3
6018><A
6019NAME="XMLNEWCHILD"
6020></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006021>xmlNewChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006022><TABLE
6023BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006024BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006025WIDTH="100%"
6026CELLPADDING="6"
6027><TR
6028><TD
6029><PRE
6030CLASS="PROGRAMLISTING"
6031><A
6032HREF="gnome-xml-tree.html#XMLNODEPTR"
6033>xmlNodePtr</A
6034> xmlNewChild (<A
6035HREF="gnome-xml-tree.html#XMLNODEPTR"
6036>xmlNodePtr</A
6037> parent,
6038 <A
6039HREF="gnome-xml-tree.html#XMLNSPTR"
6040>xmlNsPtr</A
6041> ns,
6042 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006043HREF="gnome-xml-tree.html#XMLCHAR"
6044>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006045> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006046 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006047HREF="gnome-xml-tree.html#XMLCHAR"
6048>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006049> *content);</PRE
6050></TD
6051></TR
6052></TABLE
6053><P
6054>Creation of a new child element, added at the end of <TT
6055CLASS="PARAMETER"
6056><I
6057>parent</I
6058></TT
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006059> children list.
Daniel Veillard35925471999-02-25 08:46:07 +00006060<TT
6061CLASS="PARAMETER"
6062><I
6063>ns</I
6064></TT
6065> and <TT
6066CLASS="PARAMETER"
6067><I
6068>content</I
6069></TT
6070> parameters are optionnal (NULL). If content is non NULL,
Daniel Veillardf3a73582000-01-05 14:58:39 +00006071a child list containing the TEXTs and ENTITY_REFs node will be created.
6072NOTE: <TT
6073CLASS="PARAMETER"
6074><I
6075>content</I
6076></TT
6077> is supposed to be a piece of XML CDATA, so it allow entities
6078references, but XML special chars need to be escaped first by using
6079<A
6080HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT"
6081>xmlEncodeEntitiesReentrant</A
6082>(). Use <A
6083HREF="gnome-xml-tree.html#XMLNEWTEXTCHILD"
6084>xmlNewTextChild</A
6085>() if entities
6086support is not needed.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006087><P
6088></P
6089><DIV
6090CLASS="INFORMALTABLE"
6091><P
6092></P
6093><TABLE
6094BORDER="0"
6095WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006096BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006097CELLSPACING="0"
6098CELLPADDING="4"
6099CLASS="CALSTABLE"
6100><TR
6101><TD
6102WIDTH="20%"
6103ALIGN="RIGHT"
6104VALIGN="TOP"
6105><TT
6106CLASS="PARAMETER"
6107><I
6108>parent</I
6109></TT
6110>&nbsp;:</TD
6111><TD
6112WIDTH="80%"
6113ALIGN="LEFT"
6114VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006115> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006116></TR
6117><TR
6118><TD
6119WIDTH="20%"
6120ALIGN="RIGHT"
6121VALIGN="TOP"
6122><TT
6123CLASS="PARAMETER"
6124><I
6125>ns</I
6126></TT
6127>&nbsp;:</TD
6128><TD
6129WIDTH="80%"
6130ALIGN="LEFT"
6131VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006132> a namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006133></TR
6134><TR
6135><TD
6136WIDTH="20%"
6137ALIGN="RIGHT"
6138VALIGN="TOP"
6139><TT
6140CLASS="PARAMETER"
6141><I
6142>name</I
6143></TT
6144>&nbsp;:</TD
6145><TD
6146WIDTH="80%"
6147ALIGN="LEFT"
6148VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006149> the name of the child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006150></TR
6151><TR
6152><TD
6153WIDTH="20%"
6154ALIGN="RIGHT"
6155VALIGN="TOP"
6156><TT
6157CLASS="PARAMETER"
6158><I
6159>content</I
6160></TT
6161>&nbsp;:</TD
6162><TD
6163WIDTH="80%"
6164ALIGN="LEFT"
6165VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006166> the XML content of the child if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006167></TR
6168><TR
6169><TD
6170WIDTH="20%"
6171ALIGN="RIGHT"
6172VALIGN="TOP"
6173><I
6174CLASS="EMPHASIS"
6175>Returns</I
6176> :</TD
6177><TD
6178WIDTH="80%"
6179ALIGN="LEFT"
6180VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006181>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006182></TR
6183></TABLE
6184><P
6185></P
6186></DIV
6187></DIV
6188><HR><DIV
6189CLASS="REFSECT2"
6190><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006191NAME="AEN4587"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006192></A
6193><H3
6194><A
6195NAME="XMLNEWTEXTCHILD"
6196></A
6197>xmlNewTextChild ()</H3
6198><TABLE
6199BORDER="0"
6200BGCOLOR="#D6E8FF"
6201WIDTH="100%"
6202CELLPADDING="6"
6203><TR
6204><TD
6205><PRE
6206CLASS="PROGRAMLISTING"
6207><A
6208HREF="gnome-xml-tree.html#XMLNODEPTR"
6209>xmlNodePtr</A
6210> xmlNewTextChild (<A
6211HREF="gnome-xml-tree.html#XMLNODEPTR"
6212>xmlNodePtr</A
6213> parent,
6214 <A
6215HREF="gnome-xml-tree.html#XMLNSPTR"
6216>xmlNsPtr</A
6217> ns,
6218 const <A
6219HREF="gnome-xml-tree.html#XMLCHAR"
6220>xmlChar</A
6221> *name,
6222 const <A
6223HREF="gnome-xml-tree.html#XMLCHAR"
6224>xmlChar</A
6225> *content);</PRE
6226></TD
6227></TR
6228></TABLE
6229><P
6230>Creation of a new child element, added at the end of <TT
6231CLASS="PARAMETER"
6232><I
6233>parent</I
6234></TT
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006235> children list.
Daniel Veillardf3a73582000-01-05 14:58:39 +00006236<TT
6237CLASS="PARAMETER"
6238><I
6239>ns</I
6240></TT
6241> and <TT
6242CLASS="PARAMETER"
6243><I
6244>content</I
6245></TT
6246> parameters are optionnal (NULL). If content is non NULL,
6247a child TEXT node will be created containing the string content.</P
6248><P
6249></P
6250><DIV
6251CLASS="INFORMALTABLE"
6252><P
6253></P
6254><TABLE
6255BORDER="0"
6256WIDTH="100%"
6257BGCOLOR="#FFD0D0"
6258CELLSPACING="0"
6259CELLPADDING="4"
6260CLASS="CALSTABLE"
6261><TR
6262><TD
6263WIDTH="20%"
6264ALIGN="RIGHT"
6265VALIGN="TOP"
6266><TT
6267CLASS="PARAMETER"
6268><I
6269>parent</I
6270></TT
6271>&nbsp;:</TD
6272><TD
6273WIDTH="80%"
6274ALIGN="LEFT"
6275VALIGN="TOP"
6276> the parent node</TD
6277></TR
6278><TR
6279><TD
6280WIDTH="20%"
6281ALIGN="RIGHT"
6282VALIGN="TOP"
6283><TT
6284CLASS="PARAMETER"
6285><I
6286>ns</I
6287></TT
6288>&nbsp;:</TD
6289><TD
6290WIDTH="80%"
6291ALIGN="LEFT"
6292VALIGN="TOP"
6293> a namespace if any</TD
6294></TR
6295><TR
6296><TD
6297WIDTH="20%"
6298ALIGN="RIGHT"
6299VALIGN="TOP"
6300><TT
6301CLASS="PARAMETER"
6302><I
6303>name</I
6304></TT
6305>&nbsp;:</TD
6306><TD
6307WIDTH="80%"
6308ALIGN="LEFT"
6309VALIGN="TOP"
6310> the name of the child</TD
6311></TR
6312><TR
6313><TD
6314WIDTH="20%"
6315ALIGN="RIGHT"
6316VALIGN="TOP"
6317><TT
6318CLASS="PARAMETER"
6319><I
6320>content</I
6321></TT
6322>&nbsp;:</TD
6323><TD
6324WIDTH="80%"
6325ALIGN="LEFT"
6326VALIGN="TOP"
6327> the text content of the child if any.</TD
6328></TR
6329><TR
6330><TD
6331WIDTH="20%"
6332ALIGN="RIGHT"
6333VALIGN="TOP"
6334><I
6335CLASS="EMPHASIS"
6336>Returns</I
6337> :</TD
6338><TD
6339WIDTH="80%"
6340ALIGN="LEFT"
6341VALIGN="TOP"
6342>a pointer to the new node object.</TD
6343></TR
6344></TABLE
6345><P
6346></P
6347></DIV
6348></DIV
6349><HR><DIV
6350CLASS="REFSECT2"
6351><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006352NAME="AEN4626"
Daniel Veillard35925471999-02-25 08:46:07 +00006353></A
6354><H3
6355><A
6356NAME="XMLNEWDOCTEXT"
6357></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006358>xmlNewDocText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006359><TABLE
6360BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006361BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006362WIDTH="100%"
6363CELLPADDING="6"
6364><TR
6365><TD
6366><PRE
6367CLASS="PROGRAMLISTING"
6368><A
6369HREF="gnome-xml-tree.html#XMLNODEPTR"
6370>xmlNodePtr</A
6371> xmlNewDocText (<A
6372HREF="gnome-xml-tree.html#XMLDOCPTR"
6373>xmlDocPtr</A
6374> doc,
6375 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006376HREF="gnome-xml-tree.html#XMLCHAR"
6377>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006378> *content);</PRE
6379></TD
6380></TR
6381></TABLE
6382><P
6383>Creation of a new text node within a document.</P
6384><P
6385></P
6386><DIV
6387CLASS="INFORMALTABLE"
6388><P
6389></P
6390><TABLE
6391BORDER="0"
6392WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006393BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006394CELLSPACING="0"
6395CELLPADDING="4"
6396CLASS="CALSTABLE"
6397><TR
6398><TD
6399WIDTH="20%"
6400ALIGN="RIGHT"
6401VALIGN="TOP"
6402><TT
6403CLASS="PARAMETER"
6404><I
6405>doc</I
6406></TT
6407>&nbsp;:</TD
6408><TD
6409WIDTH="80%"
6410ALIGN="LEFT"
6411VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006412> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006413></TR
6414><TR
6415><TD
6416WIDTH="20%"
6417ALIGN="RIGHT"
6418VALIGN="TOP"
6419><TT
6420CLASS="PARAMETER"
6421><I
6422>content</I
6423></TT
6424>&nbsp;:</TD
6425><TD
6426WIDTH="80%"
6427ALIGN="LEFT"
6428VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006429> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006430></TR
6431><TR
6432><TD
6433WIDTH="20%"
6434ALIGN="RIGHT"
6435VALIGN="TOP"
6436><I
6437CLASS="EMPHASIS"
6438>Returns</I
6439> :</TD
6440><TD
6441WIDTH="80%"
6442ALIGN="LEFT"
6443VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006444>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006445></TR
6446></TABLE
6447><P
6448></P
6449></DIV
6450></DIV
6451><HR><DIV
6452CLASS="REFSECT2"
6453><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006454NAME="AEN4652"
Daniel Veillard35925471999-02-25 08:46:07 +00006455></A
6456><H3
6457><A
6458NAME="XMLNEWTEXT"
6459></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006460>xmlNewText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006461><TABLE
6462BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006463BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006464WIDTH="100%"
6465CELLPADDING="6"
6466><TR
6467><TD
6468><PRE
6469CLASS="PROGRAMLISTING"
6470><A
6471HREF="gnome-xml-tree.html#XMLNODEPTR"
6472>xmlNodePtr</A
6473> xmlNewText (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006474HREF="gnome-xml-tree.html#XMLCHAR"
6475>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006476> *content);</PRE
6477></TD
6478></TR
6479></TABLE
6480><P
6481>Creation of a new text node.</P
6482><P
6483></P
6484><DIV
6485CLASS="INFORMALTABLE"
6486><P
6487></P
6488><TABLE
6489BORDER="0"
6490WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006491BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006492CELLSPACING="0"
6493CELLPADDING="4"
6494CLASS="CALSTABLE"
6495><TR
6496><TD
6497WIDTH="20%"
6498ALIGN="RIGHT"
6499VALIGN="TOP"
6500><TT
6501CLASS="PARAMETER"
6502><I
6503>content</I
6504></TT
6505>&nbsp;:</TD
6506><TD
6507WIDTH="80%"
6508ALIGN="LEFT"
6509VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006510> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006511></TR
6512><TR
6513><TD
6514WIDTH="20%"
6515ALIGN="RIGHT"
6516VALIGN="TOP"
6517><I
6518CLASS="EMPHASIS"
6519>Returns</I
6520> :</TD
6521><TD
6522WIDTH="80%"
6523ALIGN="LEFT"
6524VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006525>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006526></TR
6527></TABLE
6528><P
6529></P
6530></DIV
6531></DIV
6532><HR><DIV
6533CLASS="REFSECT2"
6534><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006535NAME="AEN4673"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006536></A
6537><H3
6538><A
6539NAME="XMLNEWPI"
6540></A
6541>xmlNewPI ()</H3
6542><TABLE
6543BORDER="0"
6544BGCOLOR="#D6E8FF"
6545WIDTH="100%"
6546CELLPADDING="6"
6547><TR
6548><TD
6549><PRE
6550CLASS="PROGRAMLISTING"
6551><A
6552HREF="gnome-xml-tree.html#XMLNODEPTR"
6553>xmlNodePtr</A
6554> xmlNewPI (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006555HREF="gnome-xml-tree.html#XMLCHAR"
6556>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006557> *name,
6558 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006559HREF="gnome-xml-tree.html#XMLCHAR"
6560>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006561> *content);</PRE
6562></TD
6563></TR
6564></TABLE
6565><P
6566>Creation of a processing instruction element.</P
6567><P
6568></P
6569><DIV
6570CLASS="INFORMALTABLE"
6571><P
6572></P
6573><TABLE
6574BORDER="0"
6575WIDTH="100%"
6576BGCOLOR="#FFD0D0"
6577CELLSPACING="0"
6578CELLPADDING="4"
6579CLASS="CALSTABLE"
6580><TR
6581><TD
6582WIDTH="20%"
6583ALIGN="RIGHT"
6584VALIGN="TOP"
6585><TT
6586CLASS="PARAMETER"
6587><I
6588>name</I
6589></TT
6590>&nbsp;:</TD
6591><TD
6592WIDTH="80%"
6593ALIGN="LEFT"
6594VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006595> the processing instruction name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006596></TR
6597><TR
6598><TD
6599WIDTH="20%"
6600ALIGN="RIGHT"
6601VALIGN="TOP"
6602><TT
6603CLASS="PARAMETER"
6604><I
6605>content</I
6606></TT
6607>&nbsp;:</TD
6608><TD
6609WIDTH="80%"
6610ALIGN="LEFT"
6611VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006612> the PI content</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006613></TR
6614><TR
6615><TD
6616WIDTH="20%"
6617ALIGN="RIGHT"
6618VALIGN="TOP"
6619><I
6620CLASS="EMPHASIS"
6621>Returns</I
6622> :</TD
6623><TD
6624WIDTH="80%"
6625ALIGN="LEFT"
6626VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006627>a pointer to the new node object.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006628></TR
6629></TABLE
6630><P
6631></P
6632></DIV
6633></DIV
6634><HR><DIV
6635CLASS="REFSECT2"
6636><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006637NAME="AEN4699"
Daniel Veillard35925471999-02-25 08:46:07 +00006638></A
6639><H3
6640><A
6641NAME="XMLNEWDOCTEXTLEN"
6642></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006643>xmlNewDocTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006644><TABLE
6645BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006646BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006647WIDTH="100%"
6648CELLPADDING="6"
6649><TR
6650><TD
6651><PRE
6652CLASS="PROGRAMLISTING"
6653><A
6654HREF="gnome-xml-tree.html#XMLNODEPTR"
6655>xmlNodePtr</A
6656> xmlNewDocTextLen (<A
6657HREF="gnome-xml-tree.html#XMLDOCPTR"
6658>xmlDocPtr</A
6659> doc,
6660 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006661HREF="gnome-xml-tree.html#XMLCHAR"
6662>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006663> *content,
6664 int len);</PRE
6665></TD
6666></TR
6667></TABLE
6668><P
6669>Creation of a new text node with an extra content lenght parameter. The
6670text node pertain to a given document.</P
6671><P
6672></P
6673><DIV
6674CLASS="INFORMALTABLE"
6675><P
6676></P
6677><TABLE
6678BORDER="0"
6679WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006680BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006681CELLSPACING="0"
6682CELLPADDING="4"
6683CLASS="CALSTABLE"
6684><TR
6685><TD
6686WIDTH="20%"
6687ALIGN="RIGHT"
6688VALIGN="TOP"
6689><TT
6690CLASS="PARAMETER"
6691><I
6692>doc</I
6693></TT
6694>&nbsp;:</TD
6695><TD
6696WIDTH="80%"
6697ALIGN="LEFT"
6698VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006699> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006700></TR
6701><TR
6702><TD
6703WIDTH="20%"
6704ALIGN="RIGHT"
6705VALIGN="TOP"
6706><TT
6707CLASS="PARAMETER"
6708><I
6709>content</I
6710></TT
6711>&nbsp;:</TD
6712><TD
6713WIDTH="80%"
6714ALIGN="LEFT"
6715VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006716> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006717></TR
6718><TR
6719><TD
6720WIDTH="20%"
6721ALIGN="RIGHT"
6722VALIGN="TOP"
6723><TT
6724CLASS="PARAMETER"
6725><I
6726>len</I
6727></TT
6728>&nbsp;:</TD
6729><TD
6730WIDTH="80%"
6731ALIGN="LEFT"
6732VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006733> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006734></TR
6735><TR
6736><TD
6737WIDTH="20%"
6738ALIGN="RIGHT"
6739VALIGN="TOP"
6740><I
6741CLASS="EMPHASIS"
6742>Returns</I
6743> :</TD
6744><TD
6745WIDTH="80%"
6746ALIGN="LEFT"
6747VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006748>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006749></TR
6750></TABLE
6751><P
6752></P
6753></DIV
6754></DIV
6755><HR><DIV
6756CLASS="REFSECT2"
6757><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006758NAME="AEN4729"
Daniel Veillard35925471999-02-25 08:46:07 +00006759></A
6760><H3
6761><A
6762NAME="XMLNEWTEXTLEN"
6763></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006764>xmlNewTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006765><TABLE
6766BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006767BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006768WIDTH="100%"
6769CELLPADDING="6"
6770><TR
6771><TD
6772><PRE
6773CLASS="PROGRAMLISTING"
6774><A
6775HREF="gnome-xml-tree.html#XMLNODEPTR"
6776>xmlNodePtr</A
6777> xmlNewTextLen (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006778HREF="gnome-xml-tree.html#XMLCHAR"
6779>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006780> *content,
6781 int len);</PRE
6782></TD
6783></TR
6784></TABLE
6785><P
6786>Creation of a new text node with an extra parameter for the content's lenght</P
6787><P
6788></P
6789><DIV
6790CLASS="INFORMALTABLE"
6791><P
6792></P
6793><TABLE
6794BORDER="0"
6795WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006796BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006797CELLSPACING="0"
6798CELLPADDING="4"
6799CLASS="CALSTABLE"
6800><TR
6801><TD
6802WIDTH="20%"
6803ALIGN="RIGHT"
6804VALIGN="TOP"
6805><TT
6806CLASS="PARAMETER"
6807><I
6808>content</I
6809></TT
6810>&nbsp;:</TD
6811><TD
6812WIDTH="80%"
6813ALIGN="LEFT"
6814VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006815> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006816></TR
6817><TR
6818><TD
6819WIDTH="20%"
6820ALIGN="RIGHT"
6821VALIGN="TOP"
6822><TT
6823CLASS="PARAMETER"
6824><I
6825>len</I
6826></TT
6827>&nbsp;:</TD
6828><TD
6829WIDTH="80%"
6830ALIGN="LEFT"
6831VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006832> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006833></TR
6834><TR
6835><TD
6836WIDTH="20%"
6837ALIGN="RIGHT"
6838VALIGN="TOP"
6839><I
6840CLASS="EMPHASIS"
6841>Returns</I
6842> :</TD
6843><TD
6844WIDTH="80%"
6845ALIGN="LEFT"
6846VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006847>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006848></TR
6849></TABLE
6850><P
6851></P
6852></DIV
6853></DIV
6854><HR><DIV
6855CLASS="REFSECT2"
6856><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006857NAME="AEN4754"
Daniel Veillard35925471999-02-25 08:46:07 +00006858></A
6859><H3
6860><A
6861NAME="XMLNEWDOCCOMMENT"
6862></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006863>xmlNewDocComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006864><TABLE
6865BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006866BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006867WIDTH="100%"
6868CELLPADDING="6"
6869><TR
6870><TD
6871><PRE
6872CLASS="PROGRAMLISTING"
6873><A
6874HREF="gnome-xml-tree.html#XMLNODEPTR"
6875>xmlNodePtr</A
6876> xmlNewDocComment (<A
6877HREF="gnome-xml-tree.html#XMLDOCPTR"
6878>xmlDocPtr</A
6879> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +00006880 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006881HREF="gnome-xml-tree.html#XMLCHAR"
6882>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006883> *content);</PRE
6884></TD
6885></TR
6886></TABLE
6887><P
6888>Creation of a new node containing a commentwithin a document.</P
6889><P
6890></P
6891><DIV
6892CLASS="INFORMALTABLE"
6893><P
6894></P
6895><TABLE
6896BORDER="0"
6897WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006898BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006899CELLSPACING="0"
6900CELLPADDING="4"
6901CLASS="CALSTABLE"
6902><TR
6903><TD
6904WIDTH="20%"
6905ALIGN="RIGHT"
6906VALIGN="TOP"
6907><TT
6908CLASS="PARAMETER"
6909><I
6910>doc</I
6911></TT
6912>&nbsp;:</TD
6913><TD
6914WIDTH="80%"
6915ALIGN="LEFT"
6916VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006917> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006918></TR
6919><TR
6920><TD
6921WIDTH="20%"
6922ALIGN="RIGHT"
6923VALIGN="TOP"
6924><TT
6925CLASS="PARAMETER"
6926><I
6927>content</I
6928></TT
6929>&nbsp;:</TD
6930><TD
6931WIDTH="80%"
6932ALIGN="LEFT"
6933VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006934> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006935></TR
6936><TR
6937><TD
6938WIDTH="20%"
6939ALIGN="RIGHT"
6940VALIGN="TOP"
6941><I
6942CLASS="EMPHASIS"
6943>Returns</I
6944> :</TD
6945><TD
6946WIDTH="80%"
6947ALIGN="LEFT"
6948VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006949>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006950></TR
6951></TABLE
6952><P
6953></P
6954></DIV
6955></DIV
6956><HR><DIV
6957CLASS="REFSECT2"
6958><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006959NAME="AEN4780"
Daniel Veillard35925471999-02-25 08:46:07 +00006960></A
6961><H3
6962><A
6963NAME="XMLNEWCOMMENT"
6964></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006965>xmlNewComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006966><TABLE
6967BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006968BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006969WIDTH="100%"
6970CELLPADDING="6"
6971><TR
6972><TD
6973><PRE
6974CLASS="PROGRAMLISTING"
6975><A
6976HREF="gnome-xml-tree.html#XMLNODEPTR"
6977>xmlNodePtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006978> xmlNewComment (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006979HREF="gnome-xml-tree.html#XMLCHAR"
6980>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006981> *content);</PRE
6982></TD
6983></TR
6984></TABLE
6985><P
6986>Creation of a new node containing a comment.</P
6987><P
6988></P
6989><DIV
6990CLASS="INFORMALTABLE"
6991><P
6992></P
6993><TABLE
6994BORDER="0"
6995WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006996BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006997CELLSPACING="0"
6998CELLPADDING="4"
6999CLASS="CALSTABLE"
7000><TR
7001><TD
7002WIDTH="20%"
7003ALIGN="RIGHT"
7004VALIGN="TOP"
7005><TT
7006CLASS="PARAMETER"
7007><I
7008>content</I
7009></TT
7010>&nbsp;:</TD
7011><TD
7012WIDTH="80%"
7013ALIGN="LEFT"
7014VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007015> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007016></TR
7017><TR
7018><TD
7019WIDTH="20%"
7020ALIGN="RIGHT"
7021VALIGN="TOP"
7022><I
7023CLASS="EMPHASIS"
7024>Returns</I
7025> :</TD
7026><TD
7027WIDTH="80%"
7028ALIGN="LEFT"
7029VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007030>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007031></TR
7032></TABLE
7033><P
7034></P
7035></DIV
7036></DIV
7037><HR><DIV
7038CLASS="REFSECT2"
7039><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007040NAME="AEN4801"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007041></A
7042><H3
7043><A
7044NAME="XMLNEWCDATABLOCK"
7045></A
7046>xmlNewCDataBlock ()</H3
7047><TABLE
7048BORDER="0"
7049BGCOLOR="#D6E8FF"
7050WIDTH="100%"
7051CELLPADDING="6"
7052><TR
7053><TD
7054><PRE
7055CLASS="PROGRAMLISTING"
7056><A
7057HREF="gnome-xml-tree.html#XMLNODEPTR"
7058>xmlNodePtr</A
7059> xmlNewCDataBlock (<A
7060HREF="gnome-xml-tree.html#XMLDOCPTR"
7061>xmlDocPtr</A
7062> doc,
7063 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007064HREF="gnome-xml-tree.html#XMLCHAR"
7065>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007066> *content,
7067 int len);</PRE
7068></TD
7069></TR
7070></TABLE
7071><P
7072>Creation of a new node containing a CData block.</P
7073><P
7074></P
7075><DIV
7076CLASS="INFORMALTABLE"
7077><P
7078></P
7079><TABLE
7080BORDER="0"
7081WIDTH="100%"
7082BGCOLOR="#FFD0D0"
7083CELLSPACING="0"
7084CELLPADDING="4"
7085CLASS="CALSTABLE"
7086><TR
7087><TD
7088WIDTH="20%"
7089ALIGN="RIGHT"
7090VALIGN="TOP"
7091><TT
7092CLASS="PARAMETER"
7093><I
7094>doc</I
7095></TT
7096>&nbsp;:</TD
7097><TD
7098WIDTH="80%"
7099ALIGN="LEFT"
7100VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007101> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007102></TR
7103><TR
7104><TD
7105WIDTH="20%"
7106ALIGN="RIGHT"
7107VALIGN="TOP"
7108><TT
7109CLASS="PARAMETER"
7110><I
7111>content</I
7112></TT
7113>&nbsp;:</TD
7114><TD
7115WIDTH="80%"
7116ALIGN="LEFT"
7117VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007118> the CData block content content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007119></TR
7120><TR
7121><TD
7122WIDTH="20%"
7123ALIGN="RIGHT"
7124VALIGN="TOP"
7125><TT
7126CLASS="PARAMETER"
7127><I
7128>len</I
7129></TT
7130>&nbsp;:</TD
7131><TD
7132WIDTH="80%"
7133ALIGN="LEFT"
7134VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007135> the length of the block</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007136></TR
7137><TR
7138><TD
7139WIDTH="20%"
7140ALIGN="RIGHT"
7141VALIGN="TOP"
7142><I
7143CLASS="EMPHASIS"
7144>Returns</I
7145> :</TD
7146><TD
7147WIDTH="80%"
7148ALIGN="LEFT"
7149VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007150>a pointer to the new node object.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007151></TR
7152></TABLE
7153><P
7154></P
7155></DIV
7156></DIV
7157><HR><DIV
7158CLASS="REFSECT2"
7159><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007160NAME="AEN4831"
7161></A
7162><H3
7163><A
7164NAME="XMLNEWCHARREF"
7165></A
7166>xmlNewCharRef ()</H3
7167><TABLE
7168BORDER="0"
7169BGCOLOR="#D6E8FF"
7170WIDTH="100%"
7171CELLPADDING="6"
7172><TR
7173><TD
7174><PRE
7175CLASS="PROGRAMLISTING"
7176><A
7177HREF="gnome-xml-tree.html#XMLNODEPTR"
7178>xmlNodePtr</A
7179> xmlNewCharRef (<A
7180HREF="gnome-xml-tree.html#XMLDOCPTR"
7181>xmlDocPtr</A
7182> doc,
7183 const <A
7184HREF="gnome-xml-tree.html#XMLCHAR"
7185>xmlChar</A
7186> *name);</PRE
7187></TD
7188></TR
7189></TABLE
7190><P
7191>Creation of a new character reference node.</P
7192><P
7193></P
7194><DIV
7195CLASS="INFORMALTABLE"
7196><P
7197></P
7198><TABLE
7199BORDER="0"
7200WIDTH="100%"
7201BGCOLOR="#FFD0D0"
7202CELLSPACING="0"
7203CELLPADDING="4"
7204CLASS="CALSTABLE"
7205><TR
7206><TD
7207WIDTH="20%"
7208ALIGN="RIGHT"
7209VALIGN="TOP"
7210><TT
7211CLASS="PARAMETER"
7212><I
7213>doc</I
7214></TT
7215>&nbsp;:</TD
7216><TD
7217WIDTH="80%"
7218ALIGN="LEFT"
7219VALIGN="TOP"
7220> the document</TD
7221></TR
7222><TR
7223><TD
7224WIDTH="20%"
7225ALIGN="RIGHT"
7226VALIGN="TOP"
7227><TT
7228CLASS="PARAMETER"
7229><I
7230>name</I
7231></TT
7232>&nbsp;:</TD
7233><TD
7234WIDTH="80%"
7235ALIGN="LEFT"
7236VALIGN="TOP"
7237> the char ref string, starting with # or "&amp;# ... ;"</TD
7238></TR
7239><TR
7240><TD
7241WIDTH="20%"
7242ALIGN="RIGHT"
7243VALIGN="TOP"
7244><I
7245CLASS="EMPHASIS"
7246>Returns</I
7247> :</TD
7248><TD
7249WIDTH="80%"
7250ALIGN="LEFT"
7251VALIGN="TOP"
7252>a pointer to the new node object.</TD
7253></TR
7254></TABLE
7255><P
7256></P
7257></DIV
7258></DIV
7259><HR><DIV
7260CLASS="REFSECT2"
7261><A
7262NAME="AEN4857"
Daniel Veillard35925471999-02-25 08:46:07 +00007263></A
7264><H3
7265><A
7266NAME="XMLNEWREFERENCE"
7267></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007268>xmlNewReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007269><TABLE
7270BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007271BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007272WIDTH="100%"
7273CELLPADDING="6"
7274><TR
7275><TD
7276><PRE
7277CLASS="PROGRAMLISTING"
7278><A
7279HREF="gnome-xml-tree.html#XMLNODEPTR"
7280>xmlNodePtr</A
7281> xmlNewReference (<A
7282HREF="gnome-xml-tree.html#XMLDOCPTR"
7283>xmlDocPtr</A
7284> doc,
7285 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007286HREF="gnome-xml-tree.html#XMLCHAR"
7287>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007288> *name);</PRE
7289></TD
7290></TR
7291></TABLE
7292><P
7293>Creation of a new reference node.</P
7294><P
7295></P
7296><DIV
7297CLASS="INFORMALTABLE"
7298><P
7299></P
7300><TABLE
7301BORDER="0"
7302WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007303BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007304CELLSPACING="0"
7305CELLPADDING="4"
7306CLASS="CALSTABLE"
7307><TR
7308><TD
7309WIDTH="20%"
7310ALIGN="RIGHT"
7311VALIGN="TOP"
7312><TT
7313CLASS="PARAMETER"
7314><I
7315>doc</I
7316></TT
7317>&nbsp;:</TD
7318><TD
7319WIDTH="80%"
7320ALIGN="LEFT"
7321VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007322> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007323></TR
7324><TR
7325><TD
7326WIDTH="20%"
7327ALIGN="RIGHT"
7328VALIGN="TOP"
7329><TT
7330CLASS="PARAMETER"
7331><I
7332>name</I
7333></TT
7334>&nbsp;:</TD
7335><TD
7336WIDTH="80%"
7337ALIGN="LEFT"
7338VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007339> the reference name, or the reference string with &amp; and ;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007340></TR
7341><TR
7342><TD
7343WIDTH="20%"
7344ALIGN="RIGHT"
7345VALIGN="TOP"
7346><I
7347CLASS="EMPHASIS"
7348>Returns</I
7349> :</TD
7350><TD
7351WIDTH="80%"
7352ALIGN="LEFT"
7353VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007354>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007355></TR
7356></TABLE
7357><P
7358></P
7359></DIV
7360></DIV
7361><HR><DIV
7362CLASS="REFSECT2"
7363><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007364NAME="AEN4883"
Daniel Veillard35925471999-02-25 08:46:07 +00007365></A
7366><H3
7367><A
7368NAME="XMLCOPYNODE"
7369></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007370>xmlCopyNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007371><TABLE
7372BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007373BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007374WIDTH="100%"
7375CELLPADDING="6"
7376><TR
7377><TD
7378><PRE
7379CLASS="PROGRAMLISTING"
7380><A
7381HREF="gnome-xml-tree.html#XMLNODEPTR"
7382>xmlNodePtr</A
7383> xmlCopyNode (<A
7384HREF="gnome-xml-tree.html#XMLNODEPTR"
7385>xmlNodePtr</A
7386> node,
7387 int recursive);</PRE
7388></TD
7389></TR
7390></TABLE
7391><P
7392>Do a copy of the node.</P
7393><P
7394></P
7395><DIV
7396CLASS="INFORMALTABLE"
7397><P
7398></P
7399><TABLE
7400BORDER="0"
7401WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007402BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007403CELLSPACING="0"
7404CELLPADDING="4"
7405CLASS="CALSTABLE"
7406><TR
7407><TD
7408WIDTH="20%"
7409ALIGN="RIGHT"
7410VALIGN="TOP"
7411><TT
7412CLASS="PARAMETER"
7413><I
7414>node</I
7415></TT
7416>&nbsp;:</TD
7417><TD
7418WIDTH="80%"
7419ALIGN="LEFT"
7420VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007421> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007422></TR
7423><TR
7424><TD
7425WIDTH="20%"
7426ALIGN="RIGHT"
7427VALIGN="TOP"
7428><TT
7429CLASS="PARAMETER"
7430><I
7431>recursive</I
7432></TT
7433>&nbsp;:</TD
7434><TD
7435WIDTH="80%"
7436ALIGN="LEFT"
7437VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007438> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007439></TR
7440><TR
7441><TD
7442WIDTH="20%"
7443ALIGN="RIGHT"
7444VALIGN="TOP"
7445><I
7446CLASS="EMPHASIS"
7447>Returns</I
7448> :</TD
7449><TD
7450WIDTH="80%"
7451ALIGN="LEFT"
7452VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007453> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007454></TR
7455></TABLE
7456><P
7457></P
7458></DIV
7459></DIV
7460><HR><DIV
7461CLASS="REFSECT2"
7462><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007463NAME="AEN4908"
Daniel Veillard35925471999-02-25 08:46:07 +00007464></A
7465><H3
7466><A
7467NAME="XMLCOPYNODELIST"
7468></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007469>xmlCopyNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007470><TABLE
7471BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007472BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007473WIDTH="100%"
7474CELLPADDING="6"
7475><TR
7476><TD
7477><PRE
7478CLASS="PROGRAMLISTING"
7479><A
7480HREF="gnome-xml-tree.html#XMLNODEPTR"
7481>xmlNodePtr</A
7482> xmlCopyNodeList (<A
7483HREF="gnome-xml-tree.html#XMLNODEPTR"
7484>xmlNodePtr</A
7485> node);</PRE
7486></TD
7487></TR
7488></TABLE
7489><P
7490>Do a recursive copy of the node list.</P
7491><P
7492></P
7493><DIV
7494CLASS="INFORMALTABLE"
7495><P
7496></P
7497><TABLE
7498BORDER="0"
7499WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007500BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007501CELLSPACING="0"
7502CELLPADDING="4"
7503CLASS="CALSTABLE"
7504><TR
7505><TD
7506WIDTH="20%"
7507ALIGN="RIGHT"
7508VALIGN="TOP"
7509><TT
7510CLASS="PARAMETER"
7511><I
7512>node</I
7513></TT
7514>&nbsp;:</TD
7515><TD
7516WIDTH="80%"
7517ALIGN="LEFT"
7518VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007519> the first node in the list.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007520></TR
7521><TR
7522><TD
7523WIDTH="20%"
7524ALIGN="RIGHT"
7525VALIGN="TOP"
7526><I
7527CLASS="EMPHASIS"
7528>Returns</I
7529> :</TD
7530><TD
7531WIDTH="80%"
7532ALIGN="LEFT"
7533VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007534> a new xmlNodePtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007535></TR
7536></TABLE
7537><P
7538></P
7539></DIV
7540></DIV
7541><HR><DIV
7542CLASS="REFSECT2"
7543><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007544NAME="AEN4929"
Daniel Veillard0142b842000-01-14 14:45:24 +00007545></A
7546><H3
7547><A
7548NAME="XMLNEWDOCFRAGMENT"
7549></A
7550>xmlNewDocFragment ()</H3
7551><TABLE
7552BORDER="0"
7553BGCOLOR="#D6E8FF"
7554WIDTH="100%"
7555CELLPADDING="6"
7556><TR
7557><TD
7558><PRE
7559CLASS="PROGRAMLISTING"
7560><A
7561HREF="gnome-xml-tree.html#XMLNODEPTR"
7562>xmlNodePtr</A
7563> xmlNewDocFragment (<A
7564HREF="gnome-xml-tree.html#XMLDOCPTR"
7565>xmlDocPtr</A
7566> doc);</PRE
7567></TD
7568></TR
7569></TABLE
7570><P
7571>Creation of a new Fragment node.</P
7572><P
7573></P
7574><DIV
7575CLASS="INFORMALTABLE"
7576><P
7577></P
7578><TABLE
7579BORDER="0"
7580WIDTH="100%"
7581BGCOLOR="#FFD0D0"
7582CELLSPACING="0"
7583CELLPADDING="4"
7584CLASS="CALSTABLE"
7585><TR
7586><TD
7587WIDTH="20%"
7588ALIGN="RIGHT"
7589VALIGN="TOP"
7590><TT
7591CLASS="PARAMETER"
7592><I
7593>doc</I
7594></TT
7595>&nbsp;:</TD
7596><TD
7597WIDTH="80%"
7598ALIGN="LEFT"
7599VALIGN="TOP"
7600> the document owning the fragment</TD
7601></TR
7602><TR
7603><TD
7604WIDTH="20%"
7605ALIGN="RIGHT"
7606VALIGN="TOP"
7607><I
7608CLASS="EMPHASIS"
7609>Returns</I
7610> :</TD
7611><TD
7612WIDTH="80%"
7613ALIGN="LEFT"
7614VALIGN="TOP"
7615>a pointer to the new node object.</TD
7616></TR
7617></TABLE
7618><P
7619></P
7620></DIV
7621></DIV
7622><HR><DIV
7623CLASS="REFSECT2"
7624><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007625NAME="AEN4950"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007626></A
7627><H3
7628><A
7629NAME="XMLDOCGETROOTELEMENT"
7630></A
7631>xmlDocGetRootElement ()</H3
7632><TABLE
7633BORDER="0"
7634BGCOLOR="#D6E8FF"
7635WIDTH="100%"
7636CELLPADDING="6"
7637><TR
7638><TD
7639><PRE
7640CLASS="PROGRAMLISTING"
7641><A
7642HREF="gnome-xml-tree.html#XMLNODEPTR"
7643>xmlNodePtr</A
7644> xmlDocGetRootElement (<A
7645HREF="gnome-xml-tree.html#XMLDOCPTR"
7646>xmlDocPtr</A
7647> doc);</PRE
7648></TD
7649></TR
7650></TABLE
7651><P
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007652>Get the root element of the document (doc-&gt;children is a list
Daniel Veillardf3a73582000-01-05 14:58:39 +00007653containing possibly comments, PIs, etc ...).</P
7654><P
7655></P
7656><DIV
7657CLASS="INFORMALTABLE"
7658><P
7659></P
7660><TABLE
7661BORDER="0"
7662WIDTH="100%"
7663BGCOLOR="#FFD0D0"
7664CELLSPACING="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"
7682> the document</TD
7683></TR
7684><TR
7685><TD
7686WIDTH="20%"
7687ALIGN="RIGHT"
7688VALIGN="TOP"
7689><I
7690CLASS="EMPHASIS"
7691>Returns</I
7692> :</TD
7693><TD
7694WIDTH="80%"
7695ALIGN="LEFT"
7696VALIGN="TOP"
7697>the xmlNodePtr for the root or NULL</TD
7698></TR
7699></TABLE
7700><P
7701></P
7702></DIV
7703></DIV
7704><HR><DIV
7705CLASS="REFSECT2"
7706><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007707NAME="AEN4971"
Daniel Veillard35925471999-02-25 08:46:07 +00007708></A
7709><H3
7710><A
7711NAME="XMLGETLASTCHILD"
7712></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007713>xmlGetLastChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007714><TABLE
7715BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007716BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007717WIDTH="100%"
7718CELLPADDING="6"
7719><TR
7720><TD
7721><PRE
7722CLASS="PROGRAMLISTING"
7723><A
7724HREF="gnome-xml-tree.html#XMLNODEPTR"
7725>xmlNodePtr</A
7726> xmlGetLastChild (<A
7727HREF="gnome-xml-tree.html#XMLNODEPTR"
7728>xmlNodePtr</A
7729> parent);</PRE
7730></TD
7731></TR
7732></TABLE
7733><P
7734>Search the last child of a node.</P
7735><P
7736></P
7737><DIV
7738CLASS="INFORMALTABLE"
7739><P
7740></P
7741><TABLE
7742BORDER="0"
7743WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007744BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007745CELLSPACING="0"
7746CELLPADDING="4"
7747CLASS="CALSTABLE"
7748><TR
7749><TD
7750WIDTH="20%"
7751ALIGN="RIGHT"
7752VALIGN="TOP"
7753><TT
7754CLASS="PARAMETER"
7755><I
7756>parent</I
7757></TT
7758>&nbsp;:</TD
7759><TD
7760WIDTH="80%"
7761ALIGN="LEFT"
7762VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007763> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007764></TR
7765><TR
7766><TD
7767WIDTH="20%"
7768ALIGN="RIGHT"
7769VALIGN="TOP"
7770><I
7771CLASS="EMPHASIS"
7772>Returns</I
7773> :</TD
7774><TD
7775WIDTH="80%"
7776ALIGN="LEFT"
7777VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007778>the last child or NULL if none.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007779></TR
7780></TABLE
7781><P
7782></P
7783></DIV
7784></DIV
7785><HR><DIV
7786CLASS="REFSECT2"
7787><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007788NAME="AEN4992"
Daniel Veillard35925471999-02-25 08:46:07 +00007789></A
7790><H3
7791><A
7792NAME="XMLNODEISTEXT"
7793></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007794>xmlNodeIsText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007795><TABLE
7796BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007797BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007798WIDTH="100%"
7799CELLPADDING="6"
7800><TR
7801><TD
7802><PRE
7803CLASS="PROGRAMLISTING"
7804>int xmlNodeIsText (<A
7805HREF="gnome-xml-tree.html#XMLNODEPTR"
7806>xmlNodePtr</A
7807> node);</PRE
7808></TD
7809></TR
7810></TABLE
7811><P
7812>Is this node a Text node ?</P
7813><P
7814></P
7815><DIV
7816CLASS="INFORMALTABLE"
7817><P
7818></P
7819><TABLE
7820BORDER="0"
7821WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007822BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007823CELLSPACING="0"
7824CELLPADDING="4"
7825CLASS="CALSTABLE"
7826><TR
7827><TD
7828WIDTH="20%"
7829ALIGN="RIGHT"
7830VALIGN="TOP"
7831><TT
7832CLASS="PARAMETER"
7833><I
7834>node</I
7835></TT
7836>&nbsp;:</TD
7837><TD
7838WIDTH="80%"
7839ALIGN="LEFT"
7840VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007841> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007842></TR
7843><TR
7844><TD
7845WIDTH="20%"
7846ALIGN="RIGHT"
7847VALIGN="TOP"
7848><I
7849CLASS="EMPHASIS"
7850>Returns</I
7851> :</TD
7852><TD
7853WIDTH="80%"
7854ALIGN="LEFT"
7855VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007856>1 yes, 0 no</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007857></TR
7858></TABLE
7859><P
7860></P
7861></DIV
7862></DIV
7863><HR><DIV
7864CLASS="REFSECT2"
7865><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007866NAME="AEN5012"
Daniel Veillard3bde3e22000-01-30 20:00:07 +00007867></A
7868><H3
7869><A
7870NAME="XMLISBLANKNODE"
7871></A
7872>xmlIsBlankNode ()</H3
7873><TABLE
7874BORDER="0"
7875BGCOLOR="#D6E8FF"
7876WIDTH="100%"
7877CELLPADDING="6"
7878><TR
7879><TD
7880><PRE
7881CLASS="PROGRAMLISTING"
7882>int xmlIsBlankNode (<A
7883HREF="gnome-xml-tree.html#XMLNODEPTR"
7884>xmlNodePtr</A
7885> node);</PRE
7886></TD
7887></TR
7888></TABLE
7889><P
7890>Is this node a Text node ?</P
7891><P
7892></P
7893><DIV
7894CLASS="INFORMALTABLE"
7895><P
7896></P
7897><TABLE
7898BORDER="0"
7899WIDTH="100%"
7900BGCOLOR="#FFD0D0"
7901CELLSPACING="0"
7902CELLPADDING="4"
7903CLASS="CALSTABLE"
7904><TR
7905><TD
7906WIDTH="20%"
7907ALIGN="RIGHT"
7908VALIGN="TOP"
7909><TT
7910CLASS="PARAMETER"
7911><I
7912>node</I
7913></TT
7914>&nbsp;:</TD
7915><TD
7916WIDTH="80%"
7917ALIGN="LEFT"
7918VALIGN="TOP"
7919> the node</TD
7920></TR
7921><TR
7922><TD
7923WIDTH="20%"
7924ALIGN="RIGHT"
7925VALIGN="TOP"
7926><I
7927CLASS="EMPHASIS"
7928>Returns</I
7929> :</TD
7930><TD
7931WIDTH="80%"
7932ALIGN="LEFT"
7933VALIGN="TOP"
7934>1 yes, 0 no</TD
7935></TR
7936></TABLE
7937><P
7938></P
7939></DIV
7940></DIV
7941><HR><DIV
7942CLASS="REFSECT2"
7943><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007944NAME="AEN5032"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007945></A
7946><H3
7947><A
7948NAME="XMLDOCSETROOTELEMENT"
7949></A
7950>xmlDocSetRootElement ()</H3
7951><TABLE
7952BORDER="0"
7953BGCOLOR="#D6E8FF"
7954WIDTH="100%"
7955CELLPADDING="6"
7956><TR
7957><TD
7958><PRE
7959CLASS="PROGRAMLISTING"
7960><A
7961HREF="gnome-xml-tree.html#XMLNODEPTR"
7962>xmlNodePtr</A
7963> xmlDocSetRootElement (<A
7964HREF="gnome-xml-tree.html#XMLDOCPTR"
7965>xmlDocPtr</A
7966> doc,
7967 <A
7968HREF="gnome-xml-tree.html#XMLNODEPTR"
7969>xmlNodePtr</A
7970> root);</PRE
7971></TD
7972></TR
7973></TABLE
7974><P
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007975>Set the root element of the document (doc-&gt;children is a list
Daniel Veillardf3a73582000-01-05 14:58:39 +00007976containing possibly comments, PIs, etc ...).</P
7977><P
7978></P
7979><DIV
7980CLASS="INFORMALTABLE"
7981><P
7982></P
7983><TABLE
7984BORDER="0"
7985WIDTH="100%"
7986BGCOLOR="#FFD0D0"
7987CELLSPACING="0"
7988CELLPADDING="4"
7989CLASS="CALSTABLE"
7990><TR
7991><TD
7992WIDTH="20%"
7993ALIGN="RIGHT"
7994VALIGN="TOP"
7995><TT
7996CLASS="PARAMETER"
7997><I
7998>doc</I
7999></TT
8000>&nbsp;:</TD
8001><TD
8002WIDTH="80%"
8003ALIGN="LEFT"
8004VALIGN="TOP"
8005> the document</TD
8006></TR
8007><TR
8008><TD
8009WIDTH="20%"
8010ALIGN="RIGHT"
8011VALIGN="TOP"
8012><TT
8013CLASS="PARAMETER"
8014><I
8015>root</I
8016></TT
8017>&nbsp;:</TD
8018><TD
8019WIDTH="80%"
8020ALIGN="LEFT"
8021VALIGN="TOP"
8022> the new document root element</TD
8023></TR
8024><TR
8025><TD
8026WIDTH="20%"
8027ALIGN="RIGHT"
8028VALIGN="TOP"
8029><I
8030CLASS="EMPHASIS"
8031>Returns</I
8032> :</TD
8033><TD
8034WIDTH="80%"
8035ALIGN="LEFT"
8036VALIGN="TOP"
8037>the old root element if any was found</TD
8038></TR
8039></TABLE
8040><P
8041></P
8042></DIV
8043></DIV
8044><HR><DIV
8045CLASS="REFSECT2"
8046><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008047NAME="AEN5058"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008048></A
8049><H3
8050><A
8051NAME="XMLNODESETNAME"
8052></A
8053>xmlNodeSetName ()</H3
8054><TABLE
8055BORDER="0"
8056BGCOLOR="#D6E8FF"
8057WIDTH="100%"
8058CELLPADDING="6"
8059><TR
8060><TD
8061><PRE
8062CLASS="PROGRAMLISTING"
8063>void xmlNodeSetName (<A
8064HREF="gnome-xml-tree.html#XMLNODEPTR"
8065>xmlNodePtr</A
8066> cur,
8067 const <A
8068HREF="gnome-xml-tree.html#XMLCHAR"
8069>xmlChar</A
8070> *name);</PRE
8071></TD
8072></TR
8073></TABLE
8074><P
8075>Searches the language of a node, i.e. the values of the xml:lang
8076attribute or the one carried by the nearest ancestor.</P
8077><P
8078></P
8079><DIV
8080CLASS="INFORMALTABLE"
8081><P
8082></P
8083><TABLE
8084BORDER="0"
8085WIDTH="100%"
8086BGCOLOR="#FFD0D0"
8087CELLSPACING="0"
8088CELLPADDING="4"
8089CLASS="CALSTABLE"
8090><TR
8091><TD
8092WIDTH="20%"
8093ALIGN="RIGHT"
8094VALIGN="TOP"
8095><TT
8096CLASS="PARAMETER"
8097><I
8098>cur</I
8099></TT
8100>&nbsp;:</TD
8101><TD
8102WIDTH="80%"
8103ALIGN="LEFT"
8104VALIGN="TOP"
8105> the node being changed</TD
8106></TR
8107><TR
8108><TD
8109WIDTH="20%"
8110ALIGN="RIGHT"
8111VALIGN="TOP"
8112><TT
8113CLASS="PARAMETER"
8114><I
8115>name</I
8116></TT
8117>&nbsp;:</TD
8118><TD
8119WIDTH="80%"
8120ALIGN="LEFT"
8121VALIGN="TOP"
8122> the new tag name</TD
8123></TR
8124></TABLE
8125><P
8126></P
8127></DIV
8128></DIV
8129><HR><DIV
8130CLASS="REFSECT2"
8131><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008132NAME="AEN5079"
Daniel Veillard35925471999-02-25 08:46:07 +00008133></A
8134><H3
8135><A
8136NAME="XMLADDCHILD"
8137></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008138>xmlAddChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008139><TABLE
8140BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008141BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008142WIDTH="100%"
8143CELLPADDING="6"
8144><TR
8145><TD
8146><PRE
8147CLASS="PROGRAMLISTING"
8148><A
8149HREF="gnome-xml-tree.html#XMLNODEPTR"
8150>xmlNodePtr</A
8151> xmlAddChild (<A
8152HREF="gnome-xml-tree.html#XMLNODEPTR"
8153>xmlNodePtr</A
8154> parent,
8155 <A
8156HREF="gnome-xml-tree.html#XMLNODEPTR"
8157>xmlNodePtr</A
8158> cur);</PRE
8159></TD
8160></TR
8161></TABLE
8162><P
8163>Add a new child element, to <TT
8164CLASS="PARAMETER"
8165><I
8166>parent</I
8167></TT
8168>, at the end of the child list.</P
8169><P
8170></P
8171><DIV
8172CLASS="INFORMALTABLE"
8173><P
8174></P
8175><TABLE
8176BORDER="0"
8177WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008178BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008179CELLSPACING="0"
8180CELLPADDING="4"
8181CLASS="CALSTABLE"
8182><TR
8183><TD
8184WIDTH="20%"
8185ALIGN="RIGHT"
8186VALIGN="TOP"
8187><TT
8188CLASS="PARAMETER"
8189><I
8190>parent</I
8191></TT
8192>&nbsp;:</TD
8193><TD
8194WIDTH="80%"
8195ALIGN="LEFT"
8196VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008197> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008198></TR
8199><TR
8200><TD
8201WIDTH="20%"
8202ALIGN="RIGHT"
8203VALIGN="TOP"
8204><TT
8205CLASS="PARAMETER"
8206><I
8207>cur</I
8208></TT
8209>&nbsp;:</TD
8210><TD
8211WIDTH="80%"
8212ALIGN="LEFT"
8213VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008214> the child node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008215></TR
8216><TR
8217><TD
8218WIDTH="20%"
8219ALIGN="RIGHT"
8220VALIGN="TOP"
8221><I
8222CLASS="EMPHASIS"
8223>Returns</I
8224> :</TD
8225><TD
8226WIDTH="80%"
8227ALIGN="LEFT"
8228VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008229>the child or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008230></TR
8231></TABLE
8232><P
8233></P
8234></DIV
8235></DIV
8236><HR><DIV
8237CLASS="REFSECT2"
8238><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008239NAME="AEN5106"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008240></A
8241><H3
8242><A
8243NAME="XMLREPLACENODE"
8244></A
8245>xmlReplaceNode ()</H3
8246><TABLE
8247BORDER="0"
8248BGCOLOR="#D6E8FF"
8249WIDTH="100%"
8250CELLPADDING="6"
8251><TR
8252><TD
8253><PRE
8254CLASS="PROGRAMLISTING"
8255><A
8256HREF="gnome-xml-tree.html#XMLNODEPTR"
8257>xmlNodePtr</A
8258> xmlReplaceNode (<A
8259HREF="gnome-xml-tree.html#XMLNODEPTR"
8260>xmlNodePtr</A
8261> old,
8262 <A
8263HREF="gnome-xml-tree.html#XMLNODEPTR"
8264>xmlNodePtr</A
8265> cur);</PRE
8266></TD
8267></TR
8268></TABLE
8269><P
8270>Unlink the old node from it's current context, prune the new one
8271at the same place. If cur was already inserted in a document it is
8272first unlinked from its existing context.</P
8273><P
8274></P
8275><DIV
8276CLASS="INFORMALTABLE"
8277><P
8278></P
8279><TABLE
8280BORDER="0"
8281WIDTH="100%"
8282BGCOLOR="#FFD0D0"
8283CELLSPACING="0"
8284CELLPADDING="4"
8285CLASS="CALSTABLE"
8286><TR
8287><TD
8288WIDTH="20%"
8289ALIGN="RIGHT"
8290VALIGN="TOP"
8291><TT
8292CLASS="PARAMETER"
8293><I
8294>old</I
8295></TT
8296>&nbsp;:</TD
8297><TD
8298WIDTH="80%"
8299ALIGN="LEFT"
8300VALIGN="TOP"
8301> the old node</TD
8302></TR
8303><TR
8304><TD
8305WIDTH="20%"
8306ALIGN="RIGHT"
8307VALIGN="TOP"
8308><TT
8309CLASS="PARAMETER"
8310><I
8311>cur</I
8312></TT
8313>&nbsp;:</TD
8314><TD
8315WIDTH="80%"
8316ALIGN="LEFT"
8317VALIGN="TOP"
8318> the node</TD
8319></TR
8320><TR
8321><TD
8322WIDTH="20%"
8323ALIGN="RIGHT"
8324VALIGN="TOP"
8325><I
8326CLASS="EMPHASIS"
8327>Returns</I
8328> :</TD
8329><TD
8330WIDTH="80%"
8331ALIGN="LEFT"
8332VALIGN="TOP"
8333>the old node</TD
8334></TR
8335></TABLE
8336><P
8337></P
8338></DIV
8339></DIV
8340><HR><DIV
8341CLASS="REFSECT2"
8342><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008343NAME="AEN5132"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008344></A
8345><H3
8346><A
8347NAME="XMLADDSIBLING"
8348></A
8349>xmlAddSibling ()</H3
8350><TABLE
8351BORDER="0"
8352BGCOLOR="#D6E8FF"
8353WIDTH="100%"
8354CELLPADDING="6"
8355><TR
8356><TD
8357><PRE
8358CLASS="PROGRAMLISTING"
8359><A
8360HREF="gnome-xml-tree.html#XMLNODEPTR"
8361>xmlNodePtr</A
8362> xmlAddSibling (<A
8363HREF="gnome-xml-tree.html#XMLNODEPTR"
8364>xmlNodePtr</A
8365> cur,
8366 <A
8367HREF="gnome-xml-tree.html#XMLNODEPTR"
8368>xmlNodePtr</A
8369> elem);</PRE
8370></TD
8371></TR
8372></TABLE
8373><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00008374>Add a new element <TT
8375CLASS="PARAMETER"
8376><I
8377>elem</I
8378></TT
8379> to the list of siblings of <TT
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008380CLASS="PARAMETER"
8381><I
8382>cur</I
8383></TT
Daniel Veillardf3a73582000-01-05 14:58:39 +00008384>
8385If the new element was already inserted in a document it is
8386first unlinked from its existing context.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008387><P
8388></P
8389><DIV
8390CLASS="INFORMALTABLE"
8391><P
8392></P
8393><TABLE
8394BORDER="0"
8395WIDTH="100%"
8396BGCOLOR="#FFD0D0"
8397CELLSPACING="0"
8398CELLPADDING="4"
8399CLASS="CALSTABLE"
8400><TR
8401><TD
8402WIDTH="20%"
8403ALIGN="RIGHT"
8404VALIGN="TOP"
8405><TT
8406CLASS="PARAMETER"
8407><I
8408>cur</I
8409></TT
8410>&nbsp;:</TD
8411><TD
8412WIDTH="80%"
8413ALIGN="LEFT"
8414VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008415> the child node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008416></TR
8417><TR
8418><TD
8419WIDTH="20%"
8420ALIGN="RIGHT"
8421VALIGN="TOP"
8422><TT
8423CLASS="PARAMETER"
8424><I
8425>elem</I
8426></TT
8427>&nbsp;:</TD
8428><TD
8429WIDTH="80%"
8430ALIGN="LEFT"
8431VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008432> the new node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008433></TR
8434><TR
8435><TD
8436WIDTH="20%"
8437ALIGN="RIGHT"
8438VALIGN="TOP"
8439><I
8440CLASS="EMPHASIS"
8441>Returns</I
8442> :</TD
8443><TD
8444WIDTH="80%"
8445ALIGN="LEFT"
8446VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008447>the new element or NULL in case of error.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008448></TR
8449></TABLE
8450><P
8451></P
8452></DIV
8453></DIV
8454><HR><DIV
8455CLASS="REFSECT2"
8456><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008457NAME="AEN5160"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008458></A
8459><H3
8460><A
8461NAME="XMLADDPREVSIBLING"
8462></A
8463>xmlAddPrevSibling ()</H3
8464><TABLE
8465BORDER="0"
8466BGCOLOR="#D6E8FF"
8467WIDTH="100%"
8468CELLPADDING="6"
8469><TR
8470><TD
8471><PRE
8472CLASS="PROGRAMLISTING"
8473><A
8474HREF="gnome-xml-tree.html#XMLNODEPTR"
8475>xmlNodePtr</A
8476> xmlAddPrevSibling (<A
8477HREF="gnome-xml-tree.html#XMLNODEPTR"
8478>xmlNodePtr</A
8479> cur,
8480 <A
8481HREF="gnome-xml-tree.html#XMLNODEPTR"
8482>xmlNodePtr</A
8483> elem);</PRE
8484></TD
8485></TR
8486></TABLE
8487><P
8488>Add a new element <TT
8489CLASS="PARAMETER"
8490><I
8491>elem</I
8492></TT
8493> as the previous siblings of <TT
8494CLASS="PARAMETER"
8495><I
8496>cur</I
8497></TT
8498>
8499If the new element was already inserted in a document it is
8500first unlinked from its existing context.</P
8501><P
8502></P
8503><DIV
8504CLASS="INFORMALTABLE"
8505><P
8506></P
8507><TABLE
8508BORDER="0"
8509WIDTH="100%"
8510BGCOLOR="#FFD0D0"
8511CELLSPACING="0"
8512CELLPADDING="4"
8513CLASS="CALSTABLE"
8514><TR
8515><TD
8516WIDTH="20%"
8517ALIGN="RIGHT"
8518VALIGN="TOP"
8519><TT
8520CLASS="PARAMETER"
8521><I
8522>cur</I
8523></TT
8524>&nbsp;:</TD
8525><TD
8526WIDTH="80%"
8527ALIGN="LEFT"
8528VALIGN="TOP"
8529> the child node</TD
8530></TR
8531><TR
8532><TD
8533WIDTH="20%"
8534ALIGN="RIGHT"
8535VALIGN="TOP"
8536><TT
8537CLASS="PARAMETER"
8538><I
8539>elem</I
8540></TT
8541>&nbsp;:</TD
8542><TD
8543WIDTH="80%"
8544ALIGN="LEFT"
8545VALIGN="TOP"
8546> the new node</TD
8547></TR
8548><TR
8549><TD
8550WIDTH="20%"
8551ALIGN="RIGHT"
8552VALIGN="TOP"
8553><I
8554CLASS="EMPHASIS"
8555>Returns</I
8556> :</TD
8557><TD
8558WIDTH="80%"
8559ALIGN="LEFT"
8560VALIGN="TOP"
8561>the new element or NULL in case of error.</TD
8562></TR
8563></TABLE
8564><P
8565></P
8566></DIV
8567></DIV
8568><HR><DIV
8569CLASS="REFSECT2"
8570><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008571NAME="AEN5188"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008572></A
8573><H3
8574><A
8575NAME="XMLADDNEXTSIBLING"
8576></A
8577>xmlAddNextSibling ()</H3
8578><TABLE
8579BORDER="0"
8580BGCOLOR="#D6E8FF"
8581WIDTH="100%"
8582CELLPADDING="6"
8583><TR
8584><TD
8585><PRE
8586CLASS="PROGRAMLISTING"
8587><A
8588HREF="gnome-xml-tree.html#XMLNODEPTR"
8589>xmlNodePtr</A
8590> xmlAddNextSibling (<A
8591HREF="gnome-xml-tree.html#XMLNODEPTR"
8592>xmlNodePtr</A
8593> cur,
8594 <A
8595HREF="gnome-xml-tree.html#XMLNODEPTR"
8596>xmlNodePtr</A
8597> elem);</PRE
8598></TD
8599></TR
8600></TABLE
8601><P
8602>Add a new element <TT
8603CLASS="PARAMETER"
8604><I
8605>elem</I
8606></TT
8607> as the next siblings of <TT
8608CLASS="PARAMETER"
8609><I
8610>cur</I
8611></TT
8612>
8613If the new element was already inserted in a document it is
8614first unlinked from its existing context.</P
8615><P
8616></P
8617><DIV
8618CLASS="INFORMALTABLE"
8619><P
8620></P
8621><TABLE
8622BORDER="0"
8623WIDTH="100%"
8624BGCOLOR="#FFD0D0"
8625CELLSPACING="0"
8626CELLPADDING="4"
8627CLASS="CALSTABLE"
8628><TR
8629><TD
8630WIDTH="20%"
8631ALIGN="RIGHT"
8632VALIGN="TOP"
8633><TT
8634CLASS="PARAMETER"
8635><I
8636>cur</I
8637></TT
8638>&nbsp;:</TD
8639><TD
8640WIDTH="80%"
8641ALIGN="LEFT"
8642VALIGN="TOP"
8643> the child node</TD
8644></TR
8645><TR
8646><TD
8647WIDTH="20%"
8648ALIGN="RIGHT"
8649VALIGN="TOP"
8650><TT
8651CLASS="PARAMETER"
8652><I
8653>elem</I
8654></TT
8655>&nbsp;:</TD
8656><TD
8657WIDTH="80%"
8658ALIGN="LEFT"
8659VALIGN="TOP"
8660> the new node</TD
8661></TR
8662><TR
8663><TD
8664WIDTH="20%"
8665ALIGN="RIGHT"
8666VALIGN="TOP"
8667><I
8668CLASS="EMPHASIS"
8669>Returns</I
8670> :</TD
8671><TD
8672WIDTH="80%"
8673ALIGN="LEFT"
8674VALIGN="TOP"
8675>the new element or NULL in case of error.</TD
8676></TR
8677></TABLE
8678><P
8679></P
8680></DIV
8681></DIV
8682><HR><DIV
8683CLASS="REFSECT2"
8684><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008685NAME="AEN5216"
Daniel Veillard35925471999-02-25 08:46:07 +00008686></A
8687><H3
8688><A
8689NAME="XMLUNLINKNODE"
8690></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008691>xmlUnlinkNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008692><TABLE
8693BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008694BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008695WIDTH="100%"
8696CELLPADDING="6"
8697><TR
8698><TD
8699><PRE
8700CLASS="PROGRAMLISTING"
8701>void xmlUnlinkNode (<A
8702HREF="gnome-xml-tree.html#XMLNODEPTR"
8703>xmlNodePtr</A
8704> cur);</PRE
8705></TD
8706></TR
8707></TABLE
8708><P
8709>Unlink a node from it's current context, the node is not freed</P
8710><P
8711></P
8712><DIV
8713CLASS="INFORMALTABLE"
8714><P
8715></P
8716><TABLE
8717BORDER="0"
8718WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008719BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008720CELLSPACING="0"
8721CELLPADDING="4"
8722CLASS="CALSTABLE"
8723><TR
8724><TD
8725WIDTH="20%"
8726ALIGN="RIGHT"
8727VALIGN="TOP"
8728><TT
8729CLASS="PARAMETER"
8730><I
8731>cur</I
8732></TT
8733>&nbsp;:</TD
8734><TD
8735WIDTH="80%"
8736ALIGN="LEFT"
8737VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008738> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008739></TR
8740></TABLE
8741><P
8742></P
8743></DIV
8744></DIV
8745><HR><DIV
8746CLASS="REFSECT2"
8747><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008748NAME="AEN5232"
Daniel Veillard35925471999-02-25 08:46:07 +00008749></A
8750><H3
8751><A
8752NAME="XMLTEXTMERGE"
8753></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008754>xmlTextMerge ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008755><TABLE
8756BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008757BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008758WIDTH="100%"
8759CELLPADDING="6"
8760><TR
8761><TD
8762><PRE
8763CLASS="PROGRAMLISTING"
8764><A
8765HREF="gnome-xml-tree.html#XMLNODEPTR"
8766>xmlNodePtr</A
8767> xmlTextMerge (<A
8768HREF="gnome-xml-tree.html#XMLNODEPTR"
8769>xmlNodePtr</A
8770> first,
8771 <A
8772HREF="gnome-xml-tree.html#XMLNODEPTR"
8773>xmlNodePtr</A
8774> second);</PRE
8775></TD
8776></TR
8777></TABLE
8778><P
8779>Merge two text nodes into one</P
8780><P
8781></P
8782><DIV
8783CLASS="INFORMALTABLE"
8784><P
8785></P
8786><TABLE
8787BORDER="0"
8788WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008789BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008790CELLSPACING="0"
8791CELLPADDING="4"
8792CLASS="CALSTABLE"
8793><TR
8794><TD
8795WIDTH="20%"
8796ALIGN="RIGHT"
8797VALIGN="TOP"
8798><TT
8799CLASS="PARAMETER"
8800><I
8801>first</I
8802></TT
8803>&nbsp;:</TD
8804><TD
8805WIDTH="80%"
8806ALIGN="LEFT"
8807VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008808> the first text node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008809></TR
8810><TR
8811><TD
8812WIDTH="20%"
8813ALIGN="RIGHT"
8814VALIGN="TOP"
8815><TT
8816CLASS="PARAMETER"
8817><I
8818>second</I
8819></TT
8820>&nbsp;:</TD
8821><TD
8822WIDTH="80%"
8823ALIGN="LEFT"
8824VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008825> the second text node being merged</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008826></TR
8827><TR
8828><TD
8829WIDTH="20%"
8830ALIGN="RIGHT"
8831VALIGN="TOP"
8832><I
8833CLASS="EMPHASIS"
8834>Returns</I
8835> :</TD
8836><TD
8837WIDTH="80%"
8838ALIGN="LEFT"
8839VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008840>the first text node augmented</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008841></TR
8842></TABLE
8843><P
8844></P
8845></DIV
8846></DIV
8847><HR><DIV
8848CLASS="REFSECT2"
8849><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008850NAME="AEN5258"
Daniel Veillard35925471999-02-25 08:46:07 +00008851></A
8852><H3
8853><A
8854NAME="XMLTEXTCONCAT"
8855></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008856>xmlTextConcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008857><TABLE
8858BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008859BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008860WIDTH="100%"
8861CELLPADDING="6"
8862><TR
8863><TD
8864><PRE
8865CLASS="PROGRAMLISTING"
8866>void xmlTextConcat (<A
8867HREF="gnome-xml-tree.html#XMLNODEPTR"
8868>xmlNodePtr</A
8869> node,
8870 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008871HREF="gnome-xml-tree.html#XMLCHAR"
8872>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008873> *content,
8874 int len);</PRE
8875></TD
8876></TR
8877></TABLE
8878><P
8879>Concat the given string at the end of the existing node content</P
8880><P
8881></P
8882><DIV
8883CLASS="INFORMALTABLE"
8884><P
8885></P
8886><TABLE
8887BORDER="0"
8888WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008889BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008890CELLSPACING="0"
8891CELLPADDING="4"
8892CLASS="CALSTABLE"
8893><TR
8894><TD
8895WIDTH="20%"
8896ALIGN="RIGHT"
8897VALIGN="TOP"
8898><TT
8899CLASS="PARAMETER"
8900><I
8901>node</I
8902></TT
8903>&nbsp;:</TD
8904><TD
8905WIDTH="80%"
8906ALIGN="LEFT"
8907VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008908> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008909></TR
8910><TR
8911><TD
8912WIDTH="20%"
8913ALIGN="RIGHT"
8914VALIGN="TOP"
8915><TT
8916CLASS="PARAMETER"
8917><I
8918>content</I
8919></TT
8920>&nbsp;:</TD
8921><TD
8922WIDTH="80%"
8923ALIGN="LEFT"
8924VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008925> the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008926></TR
8927><TR
8928><TD
8929WIDTH="20%"
8930ALIGN="RIGHT"
8931VALIGN="TOP"
8932><TT
8933CLASS="PARAMETER"
8934><I
8935>len</I
8936></TT
8937>&nbsp;:</TD
8938><TD
8939WIDTH="80%"
8940ALIGN="LEFT"
8941VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008942> <TT
8943CLASS="PARAMETER"
8944><I
8945>content</I
8946></TT
8947> lenght</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008948></TR
8949></TABLE
8950><P
8951></P
8952></DIV
8953></DIV
8954><HR><DIV
8955CLASS="REFSECT2"
8956><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008957NAME="AEN5284"
Daniel Veillard35925471999-02-25 08:46:07 +00008958></A
8959><H3
8960><A
8961NAME="XMLFREENODELIST"
8962></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008963>xmlFreeNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008964><TABLE
8965BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008966BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008967WIDTH="100%"
8968CELLPADDING="6"
8969><TR
8970><TD
8971><PRE
8972CLASS="PROGRAMLISTING"
8973>void xmlFreeNodeList (<A
8974HREF="gnome-xml-tree.html#XMLNODEPTR"
8975>xmlNodePtr</A
8976> cur);</PRE
8977></TD
8978></TR
8979></TABLE
8980><P
8981>Free a node and all its siblings, this is a recursive behaviour, all
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008982the children are freed too.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008983><P
8984></P
8985><DIV
8986CLASS="INFORMALTABLE"
8987><P
8988></P
8989><TABLE
8990BORDER="0"
8991WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008992BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008993CELLSPACING="0"
8994CELLPADDING="4"
8995CLASS="CALSTABLE"
8996><TR
8997><TD
8998WIDTH="20%"
8999ALIGN="RIGHT"
9000VALIGN="TOP"
9001><TT
9002CLASS="PARAMETER"
9003><I
9004>cur</I
9005></TT
9006>&nbsp;:</TD
9007><TD
9008WIDTH="80%"
9009ALIGN="LEFT"
9010VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009011> the first node in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009012></TR
9013></TABLE
9014><P
9015></P
9016></DIV
9017></DIV
9018><HR><DIV
9019CLASS="REFSECT2"
9020><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009021NAME="AEN5300"
Daniel Veillard35925471999-02-25 08:46:07 +00009022></A
9023><H3
9024><A
9025NAME="XMLFREENODE"
9026></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009027>xmlFreeNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009028><TABLE
9029BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009030BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009031WIDTH="100%"
9032CELLPADDING="6"
9033><TR
9034><TD
9035><PRE
9036CLASS="PROGRAMLISTING"
9037>void xmlFreeNode (<A
9038HREF="gnome-xml-tree.html#XMLNODEPTR"
9039>xmlNodePtr</A
9040> cur);</PRE
9041></TD
9042></TR
9043></TABLE
9044><P
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009045>Free a node, this is a recursive behaviour, all the children are freed too.
9046This doesn't unlink the child from the list, use <A
9047HREF="gnome-xml-tree.html#XMLUNLINKNODE"
9048>xmlUnlinkNode</A
9049>() first.</P
Daniel Veillard35925471999-02-25 08:46:07 +00009050><P
9051></P
9052><DIV
9053CLASS="INFORMALTABLE"
9054><P
9055></P
9056><TABLE
9057BORDER="0"
9058WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009059BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009060CELLSPACING="0"
9061CELLPADDING="4"
9062CLASS="CALSTABLE"
9063><TR
9064><TD
9065WIDTH="20%"
9066ALIGN="RIGHT"
9067VALIGN="TOP"
9068><TT
9069CLASS="PARAMETER"
9070><I
9071>cur</I
9072></TT
9073>&nbsp;:</TD
9074><TD
9075WIDTH="80%"
9076ALIGN="LEFT"
9077VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009078> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009079></TR
9080></TABLE
9081><P
9082></P
9083></DIV
9084></DIV
9085><HR><DIV
9086CLASS="REFSECT2"
9087><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009088NAME="AEN5317"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009089></A
9090><H3
9091><A
9092NAME="XMLREMOVEPROP"
9093></A
9094>xmlRemoveProp ()</H3
9095><TABLE
9096BORDER="0"
9097BGCOLOR="#D6E8FF"
9098WIDTH="100%"
9099CELLPADDING="6"
9100><TR
9101><TD
9102><PRE
9103CLASS="PROGRAMLISTING"
9104>int xmlRemoveProp (<A
9105HREF="gnome-xml-tree.html#XMLATTRPTR"
9106>xmlAttrPtr</A
9107> cur);</PRE
9108></TD
9109></TR
9110></TABLE
9111><P
9112>Unlink and free one attribute, all the content is freed too
9113Note this doesn't work for namespace definition attributes</P
9114><P
9115></P
9116><DIV
9117CLASS="INFORMALTABLE"
9118><P
9119></P
9120><TABLE
9121BORDER="0"
9122WIDTH="100%"
9123BGCOLOR="#FFD0D0"
9124CELLSPACING="0"
9125CELLPADDING="4"
9126CLASS="CALSTABLE"
9127><TR
9128><TD
9129WIDTH="20%"
9130ALIGN="RIGHT"
9131VALIGN="TOP"
9132><TT
9133CLASS="PARAMETER"
9134><I
9135>cur</I
9136></TT
9137>&nbsp;:</TD
9138><TD
9139WIDTH="80%"
9140ALIGN="LEFT"
9141VALIGN="TOP"
9142> an attribute</TD
9143></TR
9144><TR
9145><TD
9146WIDTH="20%"
9147ALIGN="RIGHT"
9148VALIGN="TOP"
9149><I
9150CLASS="EMPHASIS"
9151>Returns</I
9152> :</TD
9153><TD
9154WIDTH="80%"
9155ALIGN="LEFT"
9156VALIGN="TOP"
9157>0 if success and -1 in case of error.</TD
9158></TR
9159></TABLE
9160><P
9161></P
9162></DIV
9163></DIV
9164><HR><DIV
9165CLASS="REFSECT2"
9166><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009167NAME="AEN5337"
Daniel Veillard35925471999-02-25 08:46:07 +00009168></A
9169><H3
9170><A
9171NAME="XMLSEARCHNS"
9172></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009173>xmlSearchNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009174><TABLE
9175BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009176BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009177WIDTH="100%"
9178CELLPADDING="6"
9179><TR
9180><TD
9181><PRE
9182CLASS="PROGRAMLISTING"
9183><A
9184HREF="gnome-xml-tree.html#XMLNSPTR"
9185>xmlNsPtr</A
9186> xmlSearchNs (<A
9187HREF="gnome-xml-tree.html#XMLDOCPTR"
9188>xmlDocPtr</A
9189> doc,
9190 <A
9191HREF="gnome-xml-tree.html#XMLNODEPTR"
9192>xmlNodePtr</A
9193> node,
9194 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009195HREF="gnome-xml-tree.html#XMLCHAR"
9196>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009197> *nameSpace);</PRE
9198></TD
9199></TR
9200></TABLE
9201><P
9202>Search a Ns registered under a given name space for a document.
9203recurse on the parents until it finds the defined namespace
9204or return NULL otherwise.
9205<TT
9206CLASS="PARAMETER"
9207><I
9208>nameSpace</I
9209></TT
9210> can be NULL, this is a search for the default namespace.</P
9211><P
9212></P
9213><DIV
9214CLASS="INFORMALTABLE"
9215><P
9216></P
9217><TABLE
9218BORDER="0"
9219WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009220BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009221CELLSPACING="0"
9222CELLPADDING="4"
9223CLASS="CALSTABLE"
9224><TR
9225><TD
9226WIDTH="20%"
9227ALIGN="RIGHT"
9228VALIGN="TOP"
9229><TT
9230CLASS="PARAMETER"
9231><I
9232>doc</I
9233></TT
9234>&nbsp;:</TD
9235><TD
9236WIDTH="80%"
9237ALIGN="LEFT"
9238VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009239> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009240></TR
9241><TR
9242><TD
9243WIDTH="20%"
9244ALIGN="RIGHT"
9245VALIGN="TOP"
9246><TT
9247CLASS="PARAMETER"
9248><I
9249>node</I
9250></TT
9251>&nbsp;:</TD
9252><TD
9253WIDTH="80%"
9254ALIGN="LEFT"
9255VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009256> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009257></TR
9258><TR
9259><TD
9260WIDTH="20%"
9261ALIGN="RIGHT"
9262VALIGN="TOP"
9263><TT
9264CLASS="PARAMETER"
9265><I
9266>nameSpace</I
9267></TT
9268>&nbsp;:</TD
9269><TD
9270WIDTH="80%"
9271ALIGN="LEFT"
9272VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009273> the namespace string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009274></TR
9275><TR
9276><TD
9277WIDTH="20%"
9278ALIGN="RIGHT"
9279VALIGN="TOP"
9280><I
9281CLASS="EMPHASIS"
9282>Returns</I
9283> :</TD
9284><TD
9285WIDTH="80%"
9286ALIGN="LEFT"
9287VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009288>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009289></TR
9290></TABLE
9291><P
9292></P
9293></DIV
9294></DIV
9295><HR><DIV
9296CLASS="REFSECT2"
9297><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009298NAME="AEN5369"
Daniel Veillard35925471999-02-25 08:46:07 +00009299></A
9300><H3
9301><A
9302NAME="XMLSEARCHNSBYHREF"
9303></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009304>xmlSearchNsByHref ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009305><TABLE
9306BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009307BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009308WIDTH="100%"
9309CELLPADDING="6"
9310><TR
9311><TD
9312><PRE
9313CLASS="PROGRAMLISTING"
9314><A
9315HREF="gnome-xml-tree.html#XMLNSPTR"
9316>xmlNsPtr</A
9317> xmlSearchNsByHref (<A
9318HREF="gnome-xml-tree.html#XMLDOCPTR"
9319>xmlDocPtr</A
9320> doc,
9321 <A
9322HREF="gnome-xml-tree.html#XMLNODEPTR"
9323>xmlNodePtr</A
9324> node,
9325 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009326HREF="gnome-xml-tree.html#XMLCHAR"
9327>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009328> *href);</PRE
9329></TD
9330></TR
9331></TABLE
9332><P
9333>Search a Ns aliasing a given URI. Recurse on the parents until it finds
9334the defined namespace or return NULL otherwise.</P
9335><P
9336></P
9337><DIV
9338CLASS="INFORMALTABLE"
9339><P
9340></P
9341><TABLE
9342BORDER="0"
9343WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009344BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009345CELLSPACING="0"
9346CELLPADDING="4"
9347CLASS="CALSTABLE"
9348><TR
9349><TD
9350WIDTH="20%"
9351ALIGN="RIGHT"
9352VALIGN="TOP"
9353><TT
9354CLASS="PARAMETER"
9355><I
9356>doc</I
9357></TT
9358>&nbsp;:</TD
9359><TD
9360WIDTH="80%"
9361ALIGN="LEFT"
9362VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009363> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009364></TR
9365><TR
9366><TD
9367WIDTH="20%"
9368ALIGN="RIGHT"
9369VALIGN="TOP"
9370><TT
9371CLASS="PARAMETER"
9372><I
9373>node</I
9374></TT
9375>&nbsp;:</TD
9376><TD
9377WIDTH="80%"
9378ALIGN="LEFT"
9379VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009380> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009381></TR
9382><TR
9383><TD
9384WIDTH="20%"
9385ALIGN="RIGHT"
9386VALIGN="TOP"
9387><TT
9388CLASS="PARAMETER"
9389><I
9390>href</I
9391></TT
9392>&nbsp;:</TD
9393><TD
9394WIDTH="80%"
9395ALIGN="LEFT"
9396VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009397> the namespace value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009398></TR
9399><TR
9400><TD
9401WIDTH="20%"
9402ALIGN="RIGHT"
9403VALIGN="TOP"
9404><I
9405CLASS="EMPHASIS"
9406>Returns</I
9407> :</TD
9408><TD
9409WIDTH="80%"
9410ALIGN="LEFT"
9411VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009412>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009413></TR
9414></TABLE
9415><P
9416></P
9417></DIV
9418></DIV
9419><HR><DIV
9420CLASS="REFSECT2"
9421><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009422NAME="AEN5400"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009423></A
9424><H3
9425><A
9426NAME="XMLGETNSLIST"
9427></A
9428>xmlGetNsList ()</H3
9429><TABLE
9430BORDER="0"
9431BGCOLOR="#D6E8FF"
9432WIDTH="100%"
9433CELLPADDING="6"
9434><TR
9435><TD
9436><PRE
9437CLASS="PROGRAMLISTING"
9438><A
9439HREF="gnome-xml-tree.html#XMLNSPTR"
9440>xmlNsPtr</A
9441>* xmlGetNsList (<A
9442HREF="gnome-xml-tree.html#XMLDOCPTR"
9443>xmlDocPtr</A
9444> doc,
9445 <A
9446HREF="gnome-xml-tree.html#XMLNODEPTR"
9447>xmlNodePtr</A
9448> node);</PRE
9449></TD
9450></TR
9451></TABLE
9452><P
9453>Search all the namespace applying to a given element.</P
9454><P
9455></P
9456><DIV
9457CLASS="INFORMALTABLE"
9458><P
9459></P
9460><TABLE
9461BORDER="0"
9462WIDTH="100%"
9463BGCOLOR="#FFD0D0"
9464CELLSPACING="0"
9465CELLPADDING="4"
9466CLASS="CALSTABLE"
9467><TR
9468><TD
9469WIDTH="20%"
9470ALIGN="RIGHT"
9471VALIGN="TOP"
9472><TT
9473CLASS="PARAMETER"
9474><I
9475>doc</I
9476></TT
9477>&nbsp;:</TD
9478><TD
9479WIDTH="80%"
9480ALIGN="LEFT"
9481VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009482> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009483></TR
9484><TR
9485><TD
9486WIDTH="20%"
9487ALIGN="RIGHT"
9488VALIGN="TOP"
9489><TT
9490CLASS="PARAMETER"
9491><I
9492>node</I
9493></TT
9494>&nbsp;:</TD
9495><TD
9496WIDTH="80%"
9497ALIGN="LEFT"
9498VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009499> the current node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009500></TR
9501><TR
9502><TD
9503WIDTH="20%"
9504ALIGN="RIGHT"
9505VALIGN="TOP"
9506><I
9507CLASS="EMPHASIS"
9508>Returns</I
9509> :</TD
9510><TD
9511WIDTH="80%"
9512ALIGN="LEFT"
9513VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009514>an NULL terminated array of all the xmlNsPtr found
9515that need to be freed by the caller or NULL if no
9516namespace if defined</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009517></TR
9518></TABLE
9519><P
9520></P
9521></DIV
9522></DIV
9523><HR><DIV
9524CLASS="REFSECT2"
9525><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009526NAME="AEN5426"
Daniel Veillard35925471999-02-25 08:46:07 +00009527></A
9528><H3
9529><A
9530NAME="XMLSETNS"
9531></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009532>xmlSetNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009533><TABLE
9534BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009535BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009536WIDTH="100%"
9537CELLPADDING="6"
9538><TR
9539><TD
9540><PRE
9541CLASS="PROGRAMLISTING"
9542>void xmlSetNs (<A
9543HREF="gnome-xml-tree.html#XMLNODEPTR"
9544>xmlNodePtr</A
9545> node,
9546 <A
9547HREF="gnome-xml-tree.html#XMLNSPTR"
9548>xmlNsPtr</A
9549> ns);</PRE
9550></TD
9551></TR
9552></TABLE
9553><P
9554>Associate a namespace to a node, a posteriori.</P
9555><P
9556></P
9557><DIV
9558CLASS="INFORMALTABLE"
9559><P
9560></P
9561><TABLE
9562BORDER="0"
9563WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009564BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009565CELLSPACING="0"
9566CELLPADDING="4"
9567CLASS="CALSTABLE"
9568><TR
9569><TD
9570WIDTH="20%"
9571ALIGN="RIGHT"
9572VALIGN="TOP"
9573><TT
9574CLASS="PARAMETER"
9575><I
9576>node</I
9577></TT
9578>&nbsp;:</TD
9579><TD
9580WIDTH="80%"
9581ALIGN="LEFT"
9582VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009583> a node in the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009584></TR
9585><TR
9586><TD
9587WIDTH="20%"
9588ALIGN="RIGHT"
9589VALIGN="TOP"
9590><TT
9591CLASS="PARAMETER"
9592><I
9593>ns</I
9594></TT
9595>&nbsp;:</TD
9596><TD
9597WIDTH="80%"
9598ALIGN="LEFT"
9599VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009600> a namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009601></TR
9602></TABLE
9603><P
9604></P
9605></DIV
9606></DIV
9607><HR><DIV
9608CLASS="REFSECT2"
9609><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009610NAME="AEN5447"
Daniel Veillard35925471999-02-25 08:46:07 +00009611></A
9612><H3
9613><A
9614NAME="XMLCOPYNAMESPACE"
9615></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009616>xmlCopyNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009617><TABLE
9618BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009619BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009620WIDTH="100%"
9621CELLPADDING="6"
9622><TR
9623><TD
9624><PRE
9625CLASS="PROGRAMLISTING"
9626><A
9627HREF="gnome-xml-tree.html#XMLNSPTR"
9628>xmlNsPtr</A
9629> xmlCopyNamespace (<A
9630HREF="gnome-xml-tree.html#XMLNSPTR"
9631>xmlNsPtr</A
9632> cur);</PRE
9633></TD
9634></TR
9635></TABLE
9636><P
9637>Do a copy of the namespace.</P
9638><P
9639></P
9640><DIV
9641CLASS="INFORMALTABLE"
9642><P
9643></P
9644><TABLE
9645BORDER="0"
9646WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009647BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009648CELLSPACING="0"
9649CELLPADDING="4"
9650CLASS="CALSTABLE"
9651><TR
9652><TD
9653WIDTH="20%"
9654ALIGN="RIGHT"
9655VALIGN="TOP"
9656><TT
9657CLASS="PARAMETER"
9658><I
9659>cur</I
9660></TT
9661>&nbsp;:</TD
9662><TD
9663WIDTH="80%"
9664ALIGN="LEFT"
9665VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009666> the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009667></TR
9668><TR
9669><TD
9670WIDTH="20%"
9671ALIGN="RIGHT"
9672VALIGN="TOP"
9673><I
9674CLASS="EMPHASIS"
9675>Returns</I
9676> :</TD
9677><TD
9678WIDTH="80%"
9679ALIGN="LEFT"
9680VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009681> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009682></TR
9683></TABLE
9684><P
9685></P
9686></DIV
9687></DIV
9688><HR><DIV
9689CLASS="REFSECT2"
9690><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009691NAME="AEN5468"
Daniel Veillard35925471999-02-25 08:46:07 +00009692></A
9693><H3
9694><A
9695NAME="XMLCOPYNAMESPACELIST"
9696></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009697>xmlCopyNamespaceList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009698><TABLE
9699BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009700BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009701WIDTH="100%"
9702CELLPADDING="6"
9703><TR
9704><TD
9705><PRE
9706CLASS="PROGRAMLISTING"
9707><A
9708HREF="gnome-xml-tree.html#XMLNSPTR"
9709>xmlNsPtr</A
9710> xmlCopyNamespaceList (<A
9711HREF="gnome-xml-tree.html#XMLNSPTR"
9712>xmlNsPtr</A
9713> cur);</PRE
9714></TD
9715></TR
9716></TABLE
9717><P
9718>Do a copy of an namespace list.</P
9719><P
9720></P
9721><DIV
9722CLASS="INFORMALTABLE"
9723><P
9724></P
9725><TABLE
9726BORDER="0"
9727WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009728BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009729CELLSPACING="0"
9730CELLPADDING="4"
9731CLASS="CALSTABLE"
9732><TR
9733><TD
9734WIDTH="20%"
9735ALIGN="RIGHT"
9736VALIGN="TOP"
9737><TT
9738CLASS="PARAMETER"
9739><I
9740>cur</I
9741></TT
9742>&nbsp;:</TD
9743><TD
9744WIDTH="80%"
9745ALIGN="LEFT"
9746VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009747> the first namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009748></TR
9749><TR
9750><TD
9751WIDTH="20%"
9752ALIGN="RIGHT"
9753VALIGN="TOP"
9754><I
9755CLASS="EMPHASIS"
9756>Returns</I
9757> :</TD
9758><TD
9759WIDTH="80%"
9760ALIGN="LEFT"
9761VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009762> a new xmlNsPtr, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009763></TR
9764></TABLE
9765><P
9766></P
9767></DIV
9768></DIV
9769><HR><DIV
9770CLASS="REFSECT2"
9771><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009772NAME="AEN5489"
Daniel Veillard35925471999-02-25 08:46:07 +00009773></A
9774><H3
9775><A
9776NAME="XMLSETPROP"
9777></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009778>xmlSetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009779><TABLE
9780BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009781BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009782WIDTH="100%"
9783CELLPADDING="6"
9784><TR
9785><TD
9786><PRE
9787CLASS="PROGRAMLISTING"
9788><A
9789HREF="gnome-xml-tree.html#XMLATTRPTR"
9790>xmlAttrPtr</A
9791> xmlSetProp (<A
9792HREF="gnome-xml-tree.html#XMLNODEPTR"
9793>xmlNodePtr</A
9794> node,
9795 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009796HREF="gnome-xml-tree.html#XMLCHAR"
9797>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009798> *name,
9799 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009800HREF="gnome-xml-tree.html#XMLCHAR"
9801>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009802> *value);</PRE
9803></TD
9804></TR
9805></TABLE
9806><P
9807>Set (or reset) an attribute carried by a node.</P
9808><P
9809></P
9810><DIV
9811CLASS="INFORMALTABLE"
9812><P
9813></P
9814><TABLE
9815BORDER="0"
9816WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009817BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009818CELLSPACING="0"
9819CELLPADDING="4"
9820CLASS="CALSTABLE"
9821><TR
9822><TD
9823WIDTH="20%"
9824ALIGN="RIGHT"
9825VALIGN="TOP"
9826><TT
9827CLASS="PARAMETER"
9828><I
9829>node</I
9830></TT
9831>&nbsp;:</TD
9832><TD
9833WIDTH="80%"
9834ALIGN="LEFT"
9835VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009836> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009837></TR
9838><TR
9839><TD
9840WIDTH="20%"
9841ALIGN="RIGHT"
9842VALIGN="TOP"
9843><TT
9844CLASS="PARAMETER"
9845><I
9846>name</I
9847></TT
9848>&nbsp;:</TD
9849><TD
9850WIDTH="80%"
9851ALIGN="LEFT"
9852VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009853> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009854></TR
9855><TR
9856><TD
9857WIDTH="20%"
9858ALIGN="RIGHT"
9859VALIGN="TOP"
9860><TT
9861CLASS="PARAMETER"
9862><I
9863>value</I
9864></TT
9865>&nbsp;:</TD
9866><TD
9867WIDTH="80%"
9868ALIGN="LEFT"
9869VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009870> the attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009871></TR
9872><TR
9873><TD
9874WIDTH="20%"
9875ALIGN="RIGHT"
9876VALIGN="TOP"
9877><I
9878CLASS="EMPHASIS"
9879>Returns</I
9880> :</TD
9881><TD
9882WIDTH="80%"
9883ALIGN="LEFT"
9884VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009885>the attribute pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009886></TR
9887></TABLE
9888><P
9889></P
9890></DIV
9891></DIV
9892><HR><DIV
9893CLASS="REFSECT2"
9894><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00009895NAME="AEN5520"
Daniel Veillard35925471999-02-25 08:46:07 +00009896></A
9897><H3
9898><A
9899NAME="XMLGETPROP"
9900></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009901>xmlGetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009902><TABLE
9903BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009904BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009905WIDTH="100%"
9906CELLPADDING="6"
9907><TR
9908><TD
9909><PRE
9910CLASS="PROGRAMLISTING"
9911><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009912HREF="gnome-xml-tree.html#XMLCHAR"
9913>xmlChar</A
9914>* xmlGetProp (<A
Daniel Veillard35925471999-02-25 08:46:07 +00009915HREF="gnome-xml-tree.html#XMLNODEPTR"
9916>xmlNodePtr</A
9917> node,
9918 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009919HREF="gnome-xml-tree.html#XMLCHAR"
9920>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009921> *name);</PRE
9922></TD
9923></TR
9924></TABLE
9925><P
9926>Search and get the value of an attribute associated to a node
Daniel Veillardf3a73582000-01-05 14:58:39 +00009927This does the entity substitution.
9928This function looks in DTD attribute declaration for <GTKDOCLINK
9929HREF="FIXED"
9930>FIXED</GTKDOCLINK
9931> or
9932default declaration values unless DTD use has been turned off.</P
Daniel Veillard35925471999-02-25 08:46:07 +00009933><P
9934></P
9935><DIV
9936CLASS="INFORMALTABLE"
9937><P
9938></P
9939><TABLE
9940BORDER="0"
9941WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009942BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009943CELLSPACING="0"
9944CELLPADDING="4"
9945CLASS="CALSTABLE"
9946><TR
9947><TD
9948WIDTH="20%"
9949ALIGN="RIGHT"
9950VALIGN="TOP"
9951><TT
9952CLASS="PARAMETER"
9953><I
9954>node</I
9955></TT
9956>&nbsp;:</TD
9957><TD
9958WIDTH="80%"
9959ALIGN="LEFT"
9960VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009961> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009962></TR
9963><TR
9964><TD
9965WIDTH="20%"
9966ALIGN="RIGHT"
9967VALIGN="TOP"
9968><TT
9969CLASS="PARAMETER"
9970><I
9971>name</I
9972></TT
9973>&nbsp;:</TD
9974><TD
9975WIDTH="80%"
9976ALIGN="LEFT"
9977VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009978> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009979></TR
9980><TR
9981><TD
9982WIDTH="20%"
9983ALIGN="RIGHT"
9984VALIGN="TOP"
9985><I
9986CLASS="EMPHASIS"
9987>Returns</I
9988> :</TD
9989><TD
9990WIDTH="80%"
9991ALIGN="LEFT"
9992VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00009993>the attribute value or NULL if not found.
9994It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009995></TR
9996></TABLE
9997><P
9998></P
9999></DIV
10000></DIV
10001><HR><DIV
10002CLASS="REFSECT2"
10003><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010004NAME="AEN5547"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010005></A
10006><H3
10007><A
10008NAME="XMLGETNSPROP"
10009></A
10010>xmlGetNsProp ()</H3
10011><TABLE
10012BORDER="0"
10013BGCOLOR="#D6E8FF"
10014WIDTH="100%"
10015CELLPADDING="6"
10016><TR
10017><TD
10018><PRE
10019CLASS="PROGRAMLISTING"
10020><A
10021HREF="gnome-xml-tree.html#XMLCHAR"
10022>xmlChar</A
10023>* xmlGetNsProp (<A
10024HREF="gnome-xml-tree.html#XMLNODEPTR"
10025>xmlNodePtr</A
10026> node,
10027 const <A
10028HREF="gnome-xml-tree.html#XMLCHAR"
10029>xmlChar</A
10030> *name,
10031 const <A
10032HREF="gnome-xml-tree.html#XMLCHAR"
10033>xmlChar</A
10034> *nameSpace);</PRE
10035></TD
10036></TR
10037></TABLE
10038><P
10039>Search and get the value of an attribute associated to a node
10040This attribute has to be anchored in the namespace specified.
10041This does the entity substitution.
10042This function looks in DTD attribute declaration for <GTKDOCLINK
10043HREF="FIXED"
10044>FIXED</GTKDOCLINK
10045> or
10046default declaration values unless DTD use has been turned off.</P
10047><P
10048></P
10049><DIV
10050CLASS="INFORMALTABLE"
10051><P
10052></P
10053><TABLE
10054BORDER="0"
10055WIDTH="100%"
10056BGCOLOR="#FFD0D0"
10057CELLSPACING="0"
10058CELLPADDING="4"
10059CLASS="CALSTABLE"
10060><TR
10061><TD
10062WIDTH="20%"
10063ALIGN="RIGHT"
10064VALIGN="TOP"
10065><TT
10066CLASS="PARAMETER"
10067><I
10068>node</I
10069></TT
10070>&nbsp;:</TD
10071><TD
10072WIDTH="80%"
10073ALIGN="LEFT"
10074VALIGN="TOP"
10075> the node</TD
10076></TR
10077><TR
10078><TD
10079WIDTH="20%"
10080ALIGN="RIGHT"
10081VALIGN="TOP"
10082><TT
10083CLASS="PARAMETER"
10084><I
10085>name</I
10086></TT
10087>&nbsp;:</TD
10088><TD
10089WIDTH="80%"
10090ALIGN="LEFT"
10091VALIGN="TOP"
10092> the attribute name</TD
10093></TR
10094><TR
10095><TD
10096WIDTH="20%"
10097ALIGN="RIGHT"
10098VALIGN="TOP"
10099><TT
10100CLASS="PARAMETER"
10101><I
10102>nameSpace</I
10103></TT
10104>&nbsp;:</TD
10105><TD
10106WIDTH="80%"
10107ALIGN="LEFT"
10108VALIGN="TOP"
10109> the URI of the namespace</TD
10110></TR
10111><TR
10112><TD
10113WIDTH="20%"
10114ALIGN="RIGHT"
10115VALIGN="TOP"
10116><I
10117CLASS="EMPHASIS"
10118>Returns</I
10119> :</TD
10120><TD
10121WIDTH="80%"
10122ALIGN="LEFT"
10123VALIGN="TOP"
10124>the attribute value or NULL if not found.
10125It's up to the caller to free the memory.</TD
10126></TR
10127></TABLE
10128><P
10129></P
10130></DIV
10131></DIV
10132><HR><DIV
10133CLASS="REFSECT2"
10134><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010135NAME="AEN5579"
Daniel Veillard35925471999-02-25 08:46:07 +000010136></A
10137><H3
10138><A
10139NAME="XMLSTRINGGETNODELIST"
10140></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010141>xmlStringGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010142><TABLE
10143BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010144BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010145WIDTH="100%"
10146CELLPADDING="6"
10147><TR
10148><TD
10149><PRE
10150CLASS="PROGRAMLISTING"
10151><A
10152HREF="gnome-xml-tree.html#XMLNODEPTR"
10153>xmlNodePtr</A
10154> xmlStringGetNodeList (<A
10155HREF="gnome-xml-tree.html#XMLDOCPTR"
10156>xmlDocPtr</A
10157> doc,
10158 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010159HREF="gnome-xml-tree.html#XMLCHAR"
10160>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010161> *value);</PRE
10162></TD
10163></TR
10164></TABLE
10165><P
10166>Parse the value string and build the node list associated. Should
10167produce a flat tree with only TEXTs and ENTITY_REFs.</P
10168><P
10169></P
10170><DIV
10171CLASS="INFORMALTABLE"
10172><P
10173></P
10174><TABLE
10175BORDER="0"
10176WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010177BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010178CELLSPACING="0"
10179CELLPADDING="4"
10180CLASS="CALSTABLE"
10181><TR
10182><TD
10183WIDTH="20%"
10184ALIGN="RIGHT"
10185VALIGN="TOP"
10186><TT
10187CLASS="PARAMETER"
10188><I
10189>doc</I
10190></TT
10191>&nbsp;:</TD
10192><TD
10193WIDTH="80%"
10194ALIGN="LEFT"
10195VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010196> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010197></TR
10198><TR
10199><TD
10200WIDTH="20%"
10201ALIGN="RIGHT"
10202VALIGN="TOP"
10203><TT
10204CLASS="PARAMETER"
10205><I
10206>value</I
10207></TT
10208>&nbsp;:</TD
10209><TD
10210WIDTH="80%"
10211ALIGN="LEFT"
10212VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010213> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010214></TR
10215><TR
10216><TD
10217WIDTH="20%"
10218ALIGN="RIGHT"
10219VALIGN="TOP"
10220><I
10221CLASS="EMPHASIS"
10222>Returns</I
10223> :</TD
10224><TD
10225WIDTH="80%"
10226ALIGN="LEFT"
10227VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010228>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010229></TR
10230></TABLE
10231><P
10232></P
10233></DIV
10234></DIV
10235><HR><DIV
10236CLASS="REFSECT2"
10237><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010238NAME="AEN5605"
Daniel Veillard35925471999-02-25 08:46:07 +000010239></A
10240><H3
10241><A
10242NAME="XMLSTRINGLENGETNODELIST"
10243></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010244>xmlStringLenGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010245><TABLE
10246BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010247BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010248WIDTH="100%"
10249CELLPADDING="6"
10250><TR
10251><TD
10252><PRE
10253CLASS="PROGRAMLISTING"
10254><A
10255HREF="gnome-xml-tree.html#XMLNODEPTR"
10256>xmlNodePtr</A
10257> xmlStringLenGetNodeList (<A
10258HREF="gnome-xml-tree.html#XMLDOCPTR"
10259>xmlDocPtr</A
10260> doc,
10261 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010262HREF="gnome-xml-tree.html#XMLCHAR"
10263>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010264> *value,
10265 int len);</PRE
10266></TD
10267></TR
10268></TABLE
10269><P
10270>Parse the value string and build the node list associated. Should
10271produce a flat tree with only TEXTs and ENTITY_REFs.</P
10272><P
10273></P
10274><DIV
10275CLASS="INFORMALTABLE"
10276><P
10277></P
10278><TABLE
10279BORDER="0"
10280WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010281BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010282CELLSPACING="0"
10283CELLPADDING="4"
10284CLASS="CALSTABLE"
10285><TR
10286><TD
10287WIDTH="20%"
10288ALIGN="RIGHT"
10289VALIGN="TOP"
10290><TT
10291CLASS="PARAMETER"
10292><I
10293>doc</I
10294></TT
10295>&nbsp;:</TD
10296><TD
10297WIDTH="80%"
10298ALIGN="LEFT"
10299VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010300> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010301></TR
10302><TR
10303><TD
10304WIDTH="20%"
10305ALIGN="RIGHT"
10306VALIGN="TOP"
10307><TT
10308CLASS="PARAMETER"
10309><I
10310>value</I
10311></TT
10312>&nbsp;:</TD
10313><TD
10314WIDTH="80%"
10315ALIGN="LEFT"
10316VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010317> the value of the text</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010318></TR
10319><TR
10320><TD
10321WIDTH="20%"
10322ALIGN="RIGHT"
10323VALIGN="TOP"
10324><TT
10325CLASS="PARAMETER"
10326><I
10327>len</I
10328></TT
10329>&nbsp;:</TD
10330><TD
10331WIDTH="80%"
10332ALIGN="LEFT"
10333VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010334> the length of the string value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010335></TR
10336><TR
10337><TD
10338WIDTH="20%"
10339ALIGN="RIGHT"
10340VALIGN="TOP"
10341><I
10342CLASS="EMPHASIS"
10343>Returns</I
10344> :</TD
10345><TD
10346WIDTH="80%"
10347ALIGN="LEFT"
10348VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010349>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010350></TR
10351></TABLE
10352><P
10353></P
10354></DIV
10355></DIV
10356><HR><DIV
10357CLASS="REFSECT2"
10358><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010359NAME="AEN5635"
Daniel Veillard35925471999-02-25 08:46:07 +000010360></A
10361><H3
10362><A
10363NAME="XMLNODELISTGETSTRING"
10364></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010365>xmlNodeListGetString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010366><TABLE
10367BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010368BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010369WIDTH="100%"
10370CELLPADDING="6"
10371><TR
10372><TD
10373><PRE
10374CLASS="PROGRAMLISTING"
10375><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010376HREF="gnome-xml-tree.html#XMLCHAR"
10377>xmlChar</A
10378>* xmlNodeListGetString (<A
Daniel Veillard35925471999-02-25 08:46:07 +000010379HREF="gnome-xml-tree.html#XMLDOCPTR"
10380>xmlDocPtr</A
10381> doc,
10382 <A
10383HREF="gnome-xml-tree.html#XMLNODEPTR"
10384>xmlNodePtr</A
10385> list,
10386 int inLine);</PRE
10387></TD
10388></TR
10389></TABLE
10390><P
10391>Returns the string equivalent to the text contained in the Node list
10392made of TEXTs and ENTITY_REFs</P
10393><P
10394></P
10395><DIV
10396CLASS="INFORMALTABLE"
10397><P
10398></P
10399><TABLE
10400BORDER="0"
10401WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010402BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010403CELLSPACING="0"
10404CELLPADDING="4"
10405CLASS="CALSTABLE"
10406><TR
10407><TD
10408WIDTH="20%"
10409ALIGN="RIGHT"
10410VALIGN="TOP"
10411><TT
10412CLASS="PARAMETER"
10413><I
10414>doc</I
10415></TT
10416>&nbsp;:</TD
10417><TD
10418WIDTH="80%"
10419ALIGN="LEFT"
10420VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010421> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010422></TR
10423><TR
10424><TD
10425WIDTH="20%"
10426ALIGN="RIGHT"
10427VALIGN="TOP"
10428><TT
10429CLASS="PARAMETER"
10430><I
10431>list</I
10432></TT
10433>&nbsp;:</TD
10434><TD
10435WIDTH="80%"
10436ALIGN="LEFT"
10437VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010438> a Node list</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010439></TR
10440><TR
10441><TD
10442WIDTH="20%"
10443ALIGN="RIGHT"
10444VALIGN="TOP"
10445><TT
10446CLASS="PARAMETER"
10447><I
10448>inLine</I
10449></TT
10450>&nbsp;:</TD
10451><TD
10452WIDTH="80%"
10453ALIGN="LEFT"
10454VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010455> should we replace entity contents or show their external form</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010456></TR
10457><TR
10458><TD
10459WIDTH="20%"
10460ALIGN="RIGHT"
10461VALIGN="TOP"
10462><I
10463CLASS="EMPHASIS"
10464>Returns</I
10465> :</TD
10466><TD
10467WIDTH="80%"
10468ALIGN="LEFT"
10469VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010470>a pointer to the string copy, the calller must free it.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010471></TR
10472></TABLE
10473><P
10474></P
10475></DIV
10476></DIV
10477><HR><DIV
10478CLASS="REFSECT2"
10479><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010480NAME="AEN5665"
Daniel Veillard35925471999-02-25 08:46:07 +000010481></A
10482><H3
10483><A
10484NAME="XMLNODESETCONTENT"
10485></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010486>xmlNodeSetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010487><TABLE
10488BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010489BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010490WIDTH="100%"
10491CELLPADDING="6"
10492><TR
10493><TD
10494><PRE
10495CLASS="PROGRAMLISTING"
10496>void xmlNodeSetContent (<A
10497HREF="gnome-xml-tree.html#XMLNODEPTR"
10498>xmlNodePtr</A
10499> cur,
10500 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010501HREF="gnome-xml-tree.html#XMLCHAR"
10502>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010503> *content);</PRE
10504></TD
10505></TR
10506></TABLE
10507><P
10508>Replace the content of a node.</P
10509><P
10510></P
10511><DIV
10512CLASS="INFORMALTABLE"
10513><P
10514></P
10515><TABLE
10516BORDER="0"
10517WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010518BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010519CELLSPACING="0"
10520CELLPADDING="4"
10521CLASS="CALSTABLE"
10522><TR
10523><TD
10524WIDTH="20%"
10525ALIGN="RIGHT"
10526VALIGN="TOP"
10527><TT
10528CLASS="PARAMETER"
10529><I
10530>cur</I
10531></TT
10532>&nbsp;:</TD
10533><TD
10534WIDTH="80%"
10535ALIGN="LEFT"
10536VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010537> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010538></TR
10539><TR
10540><TD
10541WIDTH="20%"
10542ALIGN="RIGHT"
10543VALIGN="TOP"
10544><TT
10545CLASS="PARAMETER"
10546><I
10547>content</I
10548></TT
10549>&nbsp;:</TD
10550><TD
10551WIDTH="80%"
10552ALIGN="LEFT"
10553VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010554> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010555></TR
10556></TABLE
10557><P
10558></P
10559></DIV
10560></DIV
10561><HR><DIV
10562CLASS="REFSECT2"
10563><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010564NAME="AEN5686"
Daniel Veillard35925471999-02-25 08:46:07 +000010565></A
10566><H3
10567><A
10568NAME="XMLNODESETCONTENTLEN"
10569></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010570>xmlNodeSetContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010571><TABLE
10572BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010573BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010574WIDTH="100%"
10575CELLPADDING="6"
10576><TR
10577><TD
10578><PRE
10579CLASS="PROGRAMLISTING"
10580>void xmlNodeSetContentLen (<A
10581HREF="gnome-xml-tree.html#XMLNODEPTR"
10582>xmlNodePtr</A
10583> cur,
10584 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010585HREF="gnome-xml-tree.html#XMLCHAR"
10586>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010587> *content,
10588 int len);</PRE
10589></TD
10590></TR
10591></TABLE
10592><P
10593>Replace the content of a node.</P
10594><P
10595></P
10596><DIV
10597CLASS="INFORMALTABLE"
10598><P
10599></P
10600><TABLE
10601BORDER="0"
10602WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010603BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010604CELLSPACING="0"
10605CELLPADDING="4"
10606CLASS="CALSTABLE"
10607><TR
10608><TD
10609WIDTH="20%"
10610ALIGN="RIGHT"
10611VALIGN="TOP"
10612><TT
10613CLASS="PARAMETER"
10614><I
10615>cur</I
10616></TT
10617>&nbsp;:</TD
10618><TD
10619WIDTH="80%"
10620ALIGN="LEFT"
10621VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010622> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010623></TR
10624><TR
10625><TD
10626WIDTH="20%"
10627ALIGN="RIGHT"
10628VALIGN="TOP"
10629><TT
10630CLASS="PARAMETER"
10631><I
10632>content</I
10633></TT
10634>&nbsp;:</TD
10635><TD
10636WIDTH="80%"
10637ALIGN="LEFT"
10638VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010639> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010640></TR
10641><TR
10642><TD
10643WIDTH="20%"
10644ALIGN="RIGHT"
10645VALIGN="TOP"
10646><TT
10647CLASS="PARAMETER"
10648><I
10649>len</I
10650></TT
10651>&nbsp;:</TD
10652><TD
10653WIDTH="80%"
10654ALIGN="LEFT"
10655VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010656> the size of <TT
10657CLASS="PARAMETER"
10658><I
10659>content</I
10660></TT
10661></TD
Daniel Veillard35925471999-02-25 08:46:07 +000010662></TR
10663></TABLE
10664><P
10665></P
10666></DIV
10667></DIV
10668><HR><DIV
10669CLASS="REFSECT2"
10670><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010671NAME="AEN5712"
Daniel Veillard35925471999-02-25 08:46:07 +000010672></A
10673><H3
10674><A
10675NAME="XMLNODEADDCONTENT"
10676></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010677>xmlNodeAddContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010678><TABLE
10679BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010680BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010681WIDTH="100%"
10682CELLPADDING="6"
10683><TR
10684><TD
10685><PRE
10686CLASS="PROGRAMLISTING"
10687>void xmlNodeAddContent (<A
10688HREF="gnome-xml-tree.html#XMLNODEPTR"
10689>xmlNodePtr</A
10690> cur,
10691 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010692HREF="gnome-xml-tree.html#XMLCHAR"
10693>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010694> *content);</PRE
10695></TD
10696></TR
10697></TABLE
10698><P
10699>Append the extra substring to the node content.</P
10700><P
10701></P
10702><DIV
10703CLASS="INFORMALTABLE"
10704><P
10705></P
10706><TABLE
10707BORDER="0"
10708WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010709BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010710CELLSPACING="0"
10711CELLPADDING="4"
10712CLASS="CALSTABLE"
10713><TR
10714><TD
10715WIDTH="20%"
10716ALIGN="RIGHT"
10717VALIGN="TOP"
10718><TT
10719CLASS="PARAMETER"
10720><I
10721>cur</I
10722></TT
10723>&nbsp;:</TD
10724><TD
10725WIDTH="80%"
10726ALIGN="LEFT"
10727VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010728> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010729></TR
10730><TR
10731><TD
10732WIDTH="20%"
10733ALIGN="RIGHT"
10734VALIGN="TOP"
10735><TT
10736CLASS="PARAMETER"
10737><I
10738>content</I
10739></TT
10740>&nbsp;:</TD
10741><TD
10742WIDTH="80%"
10743ALIGN="LEFT"
10744VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010745> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010746></TR
10747></TABLE
10748><P
10749></P
10750></DIV
10751></DIV
10752><HR><DIV
10753CLASS="REFSECT2"
10754><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010755NAME="AEN5733"
Daniel Veillard35925471999-02-25 08:46:07 +000010756></A
10757><H3
10758><A
10759NAME="XMLNODEADDCONTENTLEN"
10760></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010761>xmlNodeAddContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010762><TABLE
10763BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010764BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010765WIDTH="100%"
10766CELLPADDING="6"
10767><TR
10768><TD
10769><PRE
10770CLASS="PROGRAMLISTING"
10771>void xmlNodeAddContentLen (<A
10772HREF="gnome-xml-tree.html#XMLNODEPTR"
10773>xmlNodePtr</A
10774> cur,
10775 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010776HREF="gnome-xml-tree.html#XMLCHAR"
10777>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000010778> *content,
10779 int len);</PRE
10780></TD
10781></TR
10782></TABLE
10783><P
10784>Append the extra substring to the node content.</P
10785><P
10786></P
10787><DIV
10788CLASS="INFORMALTABLE"
10789><P
10790></P
10791><TABLE
10792BORDER="0"
10793WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010794BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010795CELLSPACING="0"
10796CELLPADDING="4"
10797CLASS="CALSTABLE"
10798><TR
10799><TD
10800WIDTH="20%"
10801ALIGN="RIGHT"
10802VALIGN="TOP"
10803><TT
10804CLASS="PARAMETER"
10805><I
10806>cur</I
10807></TT
10808>&nbsp;:</TD
10809><TD
10810WIDTH="80%"
10811ALIGN="LEFT"
10812VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010813> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010814></TR
10815><TR
10816><TD
10817WIDTH="20%"
10818ALIGN="RIGHT"
10819VALIGN="TOP"
10820><TT
10821CLASS="PARAMETER"
10822><I
10823>content</I
10824></TT
10825>&nbsp;:</TD
10826><TD
10827WIDTH="80%"
10828ALIGN="LEFT"
10829VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010830> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010831></TR
10832><TR
10833><TD
10834WIDTH="20%"
10835ALIGN="RIGHT"
10836VALIGN="TOP"
10837><TT
10838CLASS="PARAMETER"
10839><I
10840>len</I
10841></TT
10842>&nbsp;:</TD
10843><TD
10844WIDTH="80%"
10845ALIGN="LEFT"
10846VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010847> the size of <TT
10848CLASS="PARAMETER"
10849><I
10850>content</I
10851></TT
10852></TD
Daniel Veillard35925471999-02-25 08:46:07 +000010853></TR
10854></TABLE
10855><P
10856></P
10857></DIV
10858></DIV
10859><HR><DIV
10860CLASS="REFSECT2"
10861><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010862NAME="AEN5759"
Daniel Veillard35925471999-02-25 08:46:07 +000010863></A
10864><H3
10865><A
10866NAME="XMLNODEGETCONTENT"
10867></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010868>xmlNodeGetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010869><TABLE
10870BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010871BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010872WIDTH="100%"
10873CELLPADDING="6"
10874><TR
10875><TD
10876><PRE
10877CLASS="PROGRAMLISTING"
10878><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010879HREF="gnome-xml-tree.html#XMLCHAR"
10880>xmlChar</A
10881>* xmlNodeGetContent (<A
Daniel Veillard35925471999-02-25 08:46:07 +000010882HREF="gnome-xml-tree.html#XMLNODEPTR"
10883>xmlNodePtr</A
10884> cur);</PRE
10885></TD
10886></TR
10887></TABLE
10888><P
10889>Read the value of a node, this can be either the text carried
10890directly by this node if it's a TEXT node or the aggregate string
10891of the values carried by this node child's (TEXT and ENTITY_REF).
10892Entity references are substitued.</P
10893><P
10894></P
10895><DIV
10896CLASS="INFORMALTABLE"
10897><P
10898></P
10899><TABLE
10900BORDER="0"
10901WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010902BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010903CELLSPACING="0"
10904CELLPADDING="4"
10905CLASS="CALSTABLE"
10906><TR
10907><TD
10908WIDTH="20%"
10909ALIGN="RIGHT"
10910VALIGN="TOP"
10911><TT
10912CLASS="PARAMETER"
10913><I
10914>cur</I
10915></TT
10916>&nbsp;:</TD
10917><TD
10918WIDTH="80%"
10919ALIGN="LEFT"
10920VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010921> the node being read</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010922></TR
10923><TR
10924><TD
10925WIDTH="20%"
10926ALIGN="RIGHT"
10927VALIGN="TOP"
10928><I
10929CLASS="EMPHASIS"
10930>Returns</I
10931> :</TD
10932><TD
10933WIDTH="80%"
10934ALIGN="LEFT"
10935VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000010936>a new xmlChar * or NULL if no content is available.
10937It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010938></TR
10939></TABLE
10940><P
10941></P
10942></DIV
10943></DIV
10944><HR><DIV
10945CLASS="REFSECT2"
10946><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000010947NAME="AEN5780"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010948></A
10949><H3
10950><A
10951NAME="XMLNODEGETLANG"
10952></A
10953>xmlNodeGetLang ()</H3
10954><TABLE
10955BORDER="0"
10956BGCOLOR="#D6E8FF"
10957WIDTH="100%"
10958CELLPADDING="6"
10959><TR
10960><TD
10961><PRE
10962CLASS="PROGRAMLISTING"
Daniel Veillarda819dac1999-11-24 18:04:22 +000010963><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000010964HREF="gnome-xml-tree.html#XMLCHAR"
10965>xmlChar</A
Daniel Veillarda819dac1999-11-24 18:04:22 +000010966>* xmlNodeGetLang (<A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010967HREF="gnome-xml-tree.html#XMLNODEPTR"
10968>xmlNodePtr</A
10969> cur);</PRE
10970></TD
10971></TR
10972></TABLE
10973><P
10974>Searches the language of a node, i.e. the values of the xml:lang
10975attribute or the one carried by the nearest ancestor.</P
10976><P
10977></P
10978><DIV
10979CLASS="INFORMALTABLE"
10980><P
10981></P
10982><TABLE
10983BORDER="0"
10984WIDTH="100%"
10985BGCOLOR="#FFD0D0"
10986CELLSPACING="0"
10987CELLPADDING="4"
10988CLASS="CALSTABLE"
10989><TR
10990><TD
10991WIDTH="20%"
10992ALIGN="RIGHT"
10993VALIGN="TOP"
10994><TT
10995CLASS="PARAMETER"
10996><I
10997>cur</I
10998></TT
10999>&nbsp;:</TD
11000><TD
11001WIDTH="80%"
11002ALIGN="LEFT"
11003VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011004> the node being checked</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011005></TR
11006><TR
11007><TD
11008WIDTH="20%"
11009ALIGN="RIGHT"
11010VALIGN="TOP"
11011><I
11012CLASS="EMPHASIS"
11013>Returns</I
11014> :</TD
11015><TD
11016WIDTH="80%"
11017ALIGN="LEFT"
11018VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011019>a pointer to the lang value, or NULL if not found
11020It's up to the caller to free the memory.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011021></TR
11022></TABLE
11023><P
11024></P
11025></DIV
11026></DIV
11027><HR><DIV
11028CLASS="REFSECT2"
11029><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011030NAME="AEN5801"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011031></A
11032><H3
11033><A
11034NAME="XMLNODESETLANG"
11035></A
11036>xmlNodeSetLang ()</H3
11037><TABLE
11038BORDER="0"
11039BGCOLOR="#D6E8FF"
11040WIDTH="100%"
11041CELLPADDING="6"
11042><TR
11043><TD
11044><PRE
11045CLASS="PROGRAMLISTING"
11046>void xmlNodeSetLang (<A
11047HREF="gnome-xml-tree.html#XMLNODEPTR"
11048>xmlNodePtr</A
11049> cur,
11050 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011051HREF="gnome-xml-tree.html#XMLCHAR"
11052>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011053> *lang);</PRE
11054></TD
11055></TR
11056></TABLE
11057><P
Daniel Veillardf3a73582000-01-05 14:58:39 +000011058>Set the language of a node, i.e. the values of the xml:lang
11059attribute.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011060><P
11061></P
11062><DIV
11063CLASS="INFORMALTABLE"
11064><P
11065></P
11066><TABLE
11067BORDER="0"
11068WIDTH="100%"
11069BGCOLOR="#FFD0D0"
11070CELLSPACING="0"
11071CELLPADDING="4"
11072CLASS="CALSTABLE"
11073><TR
11074><TD
11075WIDTH="20%"
11076ALIGN="RIGHT"
11077VALIGN="TOP"
11078><TT
11079CLASS="PARAMETER"
11080><I
11081>cur</I
11082></TT
11083>&nbsp;:</TD
11084><TD
11085WIDTH="80%"
11086ALIGN="LEFT"
11087VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011088> the node being changed</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011089></TR
11090><TR
11091><TD
11092WIDTH="20%"
11093ALIGN="RIGHT"
11094VALIGN="TOP"
11095><TT
11096CLASS="PARAMETER"
11097><I
11098>lang</I
11099></TT
11100>&nbsp;:</TD
11101><TD
11102WIDTH="80%"
11103ALIGN="LEFT"
11104VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011105> the langage description</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011106></TR
11107></TABLE
11108><P
11109></P
11110></DIV
11111></DIV
11112><HR><DIV
11113CLASS="REFSECT2"
11114><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011115NAME="AEN5822"
11116></A
11117><H3
11118><A
11119NAME="XMLNODEGETSPACEPRESERVE"
11120></A
11121>xmlNodeGetSpacePreserve ()</H3
11122><TABLE
11123BORDER="0"
11124BGCOLOR="#D6E8FF"
11125WIDTH="100%"
11126CELLPADDING="6"
11127><TR
11128><TD
11129><PRE
11130CLASS="PROGRAMLISTING"
11131>int xmlNodeGetSpacePreserve (<A
11132HREF="gnome-xml-tree.html#XMLNODEPTR"
11133>xmlNodePtr</A
11134> cur);</PRE
11135></TD
11136></TR
11137></TABLE
11138><P
11139>Searches the language of a node, i.e. the values of the xml:space
11140attribute or the one carried by the nearest ancestor.</P
11141><P
11142></P
11143><DIV
11144CLASS="INFORMALTABLE"
11145><P
11146></P
11147><TABLE
11148BORDER="0"
11149WIDTH="100%"
11150BGCOLOR="#FFD0D0"
11151CELLSPACING="0"
11152CELLPADDING="4"
11153CLASS="CALSTABLE"
11154><TR
11155><TD
11156WIDTH="20%"
11157ALIGN="RIGHT"
11158VALIGN="TOP"
11159><TT
11160CLASS="PARAMETER"
11161><I
11162>cur</I
11163></TT
11164>&nbsp;:</TD
11165><TD
11166WIDTH="80%"
11167ALIGN="LEFT"
11168VALIGN="TOP"
11169> the node being checked</TD
11170></TR
11171><TR
11172><TD
11173WIDTH="20%"
11174ALIGN="RIGHT"
11175VALIGN="TOP"
11176><I
11177CLASS="EMPHASIS"
11178>Returns</I
11179> :</TD
11180><TD
11181WIDTH="80%"
11182ALIGN="LEFT"
11183VALIGN="TOP"
11184>-1 if xml:space is not inheried, 0 if "default", 1 if "preserve"</TD
11185></TR
11186></TABLE
11187><P
11188></P
11189></DIV
11190></DIV
11191><HR><DIV
11192CLASS="REFSECT2"
11193><A
11194NAME="AEN5842"
Daniel Veillard10a2c651999-12-12 13:03:50 +000011195></A
11196><H3
11197><A
Daniel Veillardf3a73582000-01-05 14:58:39 +000011198NAME="XMLNODEGETBASE"
Daniel Veillard10a2c651999-12-12 13:03:50 +000011199></A
Daniel Veillardf3a73582000-01-05 14:58:39 +000011200>xmlNodeGetBase ()</H3
Daniel Veillard10a2c651999-12-12 13:03:50 +000011201><TABLE
11202BORDER="0"
11203BGCOLOR="#D6E8FF"
11204WIDTH="100%"
11205CELLPADDING="6"
11206><TR
11207><TD
11208><PRE
11209CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011210><A
11211HREF="gnome-xml-tree.html#XMLCHAR"
11212>xmlChar</A
11213>* xmlNodeGetBase (<A
11214HREF="gnome-xml-tree.html#XMLDOCPTR"
11215>xmlDocPtr</A
11216> doc,
11217 <A
11218HREF="gnome-xml-tree.html#XMLNODEPTR"
11219>xmlNodePtr</A
Daniel Veillard10a2c651999-12-12 13:03:50 +000011220> cur);</PRE
11221></TD
11222></TR
11223></TABLE
11224><P
Daniel Veillardf3a73582000-01-05 14:58:39 +000011225>Searches for the BASE URL. The code should work on both XML
11226and HTML document even if base mechanisms are completely different.</P
Daniel Veillard10a2c651999-12-12 13:03:50 +000011227><P
11228></P
11229><DIV
11230CLASS="INFORMALTABLE"
11231><P
11232></P
11233><TABLE
11234BORDER="0"
11235WIDTH="100%"
11236BGCOLOR="#FFD0D0"
11237CELLSPACING="0"
11238CELLPADDING="4"
11239CLASS="CALSTABLE"
11240><TR
11241><TD
11242WIDTH="20%"
11243ALIGN="RIGHT"
11244VALIGN="TOP"
11245><TT
11246CLASS="PARAMETER"
11247><I
Daniel Veillardf3a73582000-01-05 14:58:39 +000011248>doc</I
11249></TT
11250>&nbsp;:</TD
11251><TD
11252WIDTH="80%"
11253ALIGN="LEFT"
11254VALIGN="TOP"
11255> the document the node pertains to</TD
11256></TR
11257><TR
11258><TD
11259WIDTH="20%"
11260ALIGN="RIGHT"
11261VALIGN="TOP"
11262><TT
11263CLASS="PARAMETER"
11264><I
Daniel Veillard10a2c651999-12-12 13:03:50 +000011265>cur</I
11266></TT
11267>&nbsp;:</TD
11268><TD
11269WIDTH="80%"
11270ALIGN="LEFT"
11271VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011272> the node being checked</TD
Daniel Veillard10a2c651999-12-12 13:03:50 +000011273></TR
11274><TR
11275><TD
11276WIDTH="20%"
11277ALIGN="RIGHT"
11278VALIGN="TOP"
11279><I
11280CLASS="EMPHASIS"
11281>Returns</I
11282> :</TD
11283><TD
11284WIDTH="80%"
11285ALIGN="LEFT"
11286VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011287>a pointer to the base URL, or NULL if not found
11288It's up to the caller to free the memory.</TD
Daniel Veillard10a2c651999-12-12 13:03:50 +000011289></TR
11290></TABLE
11291><P
11292></P
11293></DIV
11294></DIV
11295><HR><DIV
11296CLASS="REFSECT2"
11297><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011298NAME="AEN5868"
Daniel Veillard7f7d1111999-09-22 09:46:25 +000011299></A
11300><H3
11301><A
11302NAME="XMLREMOVENODE"
11303></A
11304>xmlRemoveNode ()</H3
11305><TABLE
11306BORDER="0"
11307BGCOLOR="#D6E8FF"
11308WIDTH="100%"
11309CELLPADDING="6"
11310><TR
11311><TD
11312><PRE
11313CLASS="PROGRAMLISTING"
11314>int xmlRemoveNode (<A
11315HREF="gnome-xml-tree.html#XMLNODEPTR"
11316>xmlNodePtr</A
11317> node);</PRE
11318></TD
11319></TR
11320></TABLE
11321><P
11322></P
11323><DIV
11324CLASS="INFORMALTABLE"
11325><P
11326></P
11327><TABLE
11328BORDER="0"
11329WIDTH="100%"
11330BGCOLOR="#FFD0D0"
11331CELLSPACING="0"
11332CELLPADDING="4"
11333CLASS="CALSTABLE"
11334><TR
11335><TD
11336WIDTH="20%"
11337ALIGN="RIGHT"
11338VALIGN="TOP"
11339><TT
11340CLASS="PARAMETER"
11341><I
11342>node</I
11343></TT
11344>&nbsp;:</TD
11345><TD
11346WIDTH="80%"
11347ALIGN="LEFT"
11348VALIGN="TOP"
11349>&nbsp;</TD
11350></TR
11351><TR
11352><TD
11353WIDTH="20%"
11354ALIGN="RIGHT"
11355VALIGN="TOP"
11356><I
11357CLASS="EMPHASIS"
11358>Returns</I
11359> :</TD
11360><TD
11361WIDTH="80%"
11362ALIGN="LEFT"
11363VALIGN="TOP"
11364>&nbsp;</TD
11365></TR
11366></TABLE
11367><P
11368></P
11369></DIV
11370></DIV
11371><HR><DIV
11372CLASS="REFSECT2"
11373><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011374NAME="AEN5887"
Daniel Veillard35925471999-02-25 08:46:07 +000011375></A
11376><H3
11377><A
11378NAME="XMLBUFFERWRITECHAR"
11379></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011380>xmlBufferWriteCHAR ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011381><TABLE
11382BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011383BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011384WIDTH="100%"
11385CELLPADDING="6"
11386><TR
11387><TD
11388><PRE
11389CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +000011390>void xmlBufferWriteCHAR (<A
11391HREF="gnome-xml-tree.html#XMLBUFFERPTR"
11392>xmlBufferPtr</A
11393> buf,
11394 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011395HREF="gnome-xml-tree.html#XMLCHAR"
11396>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011397> *string);</PRE
11398></TD
11399></TR
11400></TABLE
11401><P
11402>routine which manage and grows an output buffer. This one add
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011403xmlChars at the end of the buffer.</P
Daniel Veillard35925471999-02-25 08:46:07 +000011404><P
11405></P
11406><DIV
11407CLASS="INFORMALTABLE"
11408><P
11409></P
11410><TABLE
11411BORDER="0"
11412WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011413BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011414CELLSPACING="0"
11415CELLPADDING="4"
11416CLASS="CALSTABLE"
11417><TR
11418><TD
11419WIDTH="20%"
11420ALIGN="RIGHT"
11421VALIGN="TOP"
11422><TT
11423CLASS="PARAMETER"
11424><I
Daniel Veillard5099ae81999-04-21 20:12:07 +000011425>buf</I
11426></TT
11427>&nbsp;:</TD
11428><TD
11429WIDTH="80%"
11430ALIGN="LEFT"
11431VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011432> the XML buffer</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +000011433></TR
11434><TR
11435><TD
11436WIDTH="20%"
11437ALIGN="RIGHT"
11438VALIGN="TOP"
11439><TT
11440CLASS="PARAMETER"
11441><I
Daniel Veillard35925471999-02-25 08:46:07 +000011442>string</I
11443></TT
11444>&nbsp;:</TD
11445><TD
11446WIDTH="80%"
11447ALIGN="LEFT"
11448VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011449> the string to add</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011450></TR
11451></TABLE
11452><P
11453></P
11454></DIV
11455></DIV
11456><HR><DIV
11457CLASS="REFSECT2"
11458><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011459NAME="AEN5908"
Daniel Veillard35925471999-02-25 08:46:07 +000011460></A
11461><H3
11462><A
11463NAME="XMLBUFFERWRITECHAR"
11464></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011465>xmlBufferWriteChar ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011466><TABLE
11467BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011468BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011469WIDTH="100%"
11470CELLPADDING="6"
11471><TR
11472><TD
11473><PRE
11474CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +000011475>void xmlBufferWriteChar (<A
11476HREF="gnome-xml-tree.html#XMLBUFFERPTR"
11477>xmlBufferPtr</A
11478> buf,
11479 const char *string);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +000011480></TD
11481></TR
11482></TABLE
11483><P
11484>routine which manage and grows an output buffer. This one add
11485C chars at the end of the array.</P
11486><P
11487></P
11488><DIV
11489CLASS="INFORMALTABLE"
11490><P
11491></P
11492><TABLE
11493BORDER="0"
11494WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011495BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011496CELLSPACING="0"
11497CELLPADDING="4"
11498CLASS="CALSTABLE"
11499><TR
11500><TD
11501WIDTH="20%"
11502ALIGN="RIGHT"
11503VALIGN="TOP"
11504><TT
11505CLASS="PARAMETER"
11506><I
Daniel Veillard5099ae81999-04-21 20:12:07 +000011507>buf</I
11508></TT
11509>&nbsp;:</TD
11510><TD
11511WIDTH="80%"
11512ALIGN="LEFT"
11513VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011514> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +000011515></TR
11516><TR
11517><TD
11518WIDTH="20%"
11519ALIGN="RIGHT"
11520VALIGN="TOP"
11521><TT
11522CLASS="PARAMETER"
11523><I
Daniel Veillard35925471999-02-25 08:46:07 +000011524>string</I
11525></TT
11526>&nbsp;:</TD
11527><TD
11528WIDTH="80%"
11529ALIGN="LEFT"
11530VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011531> the string to add</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011532></TR
11533></TABLE
11534><P
11535></P
11536></DIV
11537></DIV
11538><HR><DIV
11539CLASS="REFSECT2"
11540><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011541NAME="AEN5928"
Daniel Veillard011b63c1999-06-02 17:44:04 +000011542></A
11543><H3
11544><A
11545NAME="XMLBUFFERWRITEQUOTEDSTRING"
11546></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011547>xmlBufferWriteQuotedString ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +000011548><TABLE
11549BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011550BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +000011551WIDTH="100%"
11552CELLPADDING="6"
11553><TR
11554><TD
11555><PRE
11556CLASS="PROGRAMLISTING"
11557>void xmlBufferWriteQuotedString (<A
11558HREF="gnome-xml-tree.html#XMLBUFFERPTR"
11559>xmlBufferPtr</A
11560> buf,
11561 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011562HREF="gnome-xml-tree.html#XMLCHAR"
11563>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +000011564> *string);</PRE
11565></TD
11566></TR
11567></TABLE
11568><P
11569>routine which manage and grows an output buffer. This one writes
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011570a quoted or double quoted xmlChar string, checking first if it holds
Daniel Veillard011b63c1999-06-02 17:44:04 +000011571quote or double-quotes internally</P
11572><P
11573></P
11574><DIV
11575CLASS="INFORMALTABLE"
11576><P
11577></P
11578><TABLE
11579BORDER="0"
11580WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011581BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +000011582CELLSPACING="0"
11583CELLPADDING="4"
11584CLASS="CALSTABLE"
11585><TR
11586><TD
11587WIDTH="20%"
11588ALIGN="RIGHT"
11589VALIGN="TOP"
11590><TT
11591CLASS="PARAMETER"
11592><I
11593>buf</I
11594></TT
11595>&nbsp;:</TD
11596><TD
11597WIDTH="80%"
11598ALIGN="LEFT"
11599VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011600> the XML buffer output</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +000011601></TR
11602><TR
11603><TD
11604WIDTH="20%"
11605ALIGN="RIGHT"
11606VALIGN="TOP"
11607><TT
11608CLASS="PARAMETER"
11609><I
11610>string</I
11611></TT
11612>&nbsp;:</TD
11613><TD
11614WIDTH="80%"
11615ALIGN="LEFT"
11616VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011617> the string to add</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +000011618></TR
11619></TABLE
11620><P
11621></P
11622></DIV
11623></DIV
11624><HR><DIV
11625CLASS="REFSECT2"
11626><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011627NAME="AEN5949"
11628></A
11629><H3
11630><A
11631NAME="XMLRECONCILIATENS"
11632></A
11633>xmlReconciliateNs ()</H3
11634><TABLE
11635BORDER="0"
11636BGCOLOR="#D6E8FF"
11637WIDTH="100%"
11638CELLPADDING="6"
11639><TR
11640><TD
11641><PRE
11642CLASS="PROGRAMLISTING"
11643>int xmlReconciliateNs (<A
11644HREF="gnome-xml-tree.html#XMLDOCPTR"
11645>xmlDocPtr</A
11646> doc,
11647 <A
11648HREF="gnome-xml-tree.html#XMLNODEPTR"
11649>xmlNodePtr</A
11650> tree);</PRE
11651></TD
11652></TR
11653></TABLE
11654><P
11655>This function checks that all the namespaces declared within the given
11656tree are properly declared. This is needed for example after Copy or Cut
11657and then paste operations. The subtree may still hold pointers to
11658namespace declarations outside the subtree or invalid/masked. As much
11659as possible the function try tu reuse the existing namespaces found in
11660the new environment. If not possible the new namespaces are redeclared
11661on <TT
11662CLASS="PARAMETER"
11663><I
11664>tree</I
11665></TT
11666> at the top of the given subtree.</P
11667><P
11668></P
11669><DIV
11670CLASS="INFORMALTABLE"
11671><P
11672></P
11673><TABLE
11674BORDER="0"
11675WIDTH="100%"
11676BGCOLOR="#FFD0D0"
11677CELLSPACING="0"
11678CELLPADDING="4"
11679CLASS="CALSTABLE"
11680><TR
11681><TD
11682WIDTH="20%"
11683ALIGN="RIGHT"
11684VALIGN="TOP"
11685><TT
11686CLASS="PARAMETER"
11687><I
11688>doc</I
11689></TT
11690>&nbsp;:</TD
11691><TD
11692WIDTH="80%"
11693ALIGN="LEFT"
11694VALIGN="TOP"
11695> the document</TD
11696></TR
11697><TR
11698><TD
11699WIDTH="20%"
11700ALIGN="RIGHT"
11701VALIGN="TOP"
11702><TT
11703CLASS="PARAMETER"
11704><I
11705>tree</I
11706></TT
11707>&nbsp;:</TD
11708><TD
11709WIDTH="80%"
11710ALIGN="LEFT"
11711VALIGN="TOP"
11712> a node defining the subtree to reconciliate</TD
11713></TR
11714><TR
11715><TD
11716WIDTH="20%"
11717ALIGN="RIGHT"
11718VALIGN="TOP"
11719><I
11720CLASS="EMPHASIS"
11721>Returns</I
11722> :</TD
11723><TD
11724WIDTH="80%"
11725ALIGN="LEFT"
11726VALIGN="TOP"
11727>the number of namespace declarations created or -1 in case of error.</TD
11728></TR
11729></TABLE
11730><P
11731></P
11732></DIV
11733></DIV
11734><HR><DIV
11735CLASS="REFSECT2"
11736><A
11737NAME="AEN5975"
Daniel Veillard35925471999-02-25 08:46:07 +000011738></A
11739><H3
11740><A
11741NAME="XMLDOCDUMPMEMORY"
11742></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011743>xmlDocDumpMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011744><TABLE
11745BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011746BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011747WIDTH="100%"
11748CELLPADDING="6"
11749><TR
11750><TD
11751><PRE
11752CLASS="PROGRAMLISTING"
11753>void xmlDocDumpMemory (<A
11754HREF="gnome-xml-tree.html#XMLDOCPTR"
11755>xmlDocPtr</A
11756> cur,
11757 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011758HREF="gnome-xml-tree.html#XMLCHAR"
11759>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011760> **mem,
11761 int *size);</PRE
11762></TD
11763></TR
11764></TABLE
11765><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011766>Dump an XML document in memory and return the xmlChar * and it's size.
Daniel Veillard35925471999-02-25 08:46:07 +000011767It's up to the caller to free the memory.</P
11768><P
11769></P
11770><DIV
11771CLASS="INFORMALTABLE"
11772><P
11773></P
11774><TABLE
11775BORDER="0"
11776WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011777BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011778CELLSPACING="0"
11779CELLPADDING="4"
11780CLASS="CALSTABLE"
11781><TR
11782><TD
11783WIDTH="20%"
11784ALIGN="RIGHT"
11785VALIGN="TOP"
11786><TT
11787CLASS="PARAMETER"
11788><I
11789>cur</I
11790></TT
11791>&nbsp;:</TD
11792><TD
11793WIDTH="80%"
11794ALIGN="LEFT"
11795VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011796> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011797></TR
11798><TR
11799><TD
11800WIDTH="20%"
11801ALIGN="RIGHT"
11802VALIGN="TOP"
11803><TT
11804CLASS="PARAMETER"
11805><I
11806>mem</I
11807></TT
11808>&nbsp;:</TD
11809><TD
11810WIDTH="80%"
11811ALIGN="LEFT"
11812VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011813> OUT: the memory pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011814></TR
11815><TR
11816><TD
11817WIDTH="20%"
11818ALIGN="RIGHT"
11819VALIGN="TOP"
11820><TT
11821CLASS="PARAMETER"
11822><I
11823>size</I
11824></TT
11825>&nbsp;:</TD
11826><TD
11827WIDTH="80%"
11828ALIGN="LEFT"
11829VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011830> OUT: the memory lenght</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011831></TR
11832></TABLE
11833><P
11834></P
11835></DIV
11836></DIV
11837><HR><DIV
11838CLASS="REFSECT2"
11839><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011840NAME="AEN6000"
Daniel Veillard35925471999-02-25 08:46:07 +000011841></A
11842><H3
11843><A
11844NAME="XMLDOCDUMP"
11845></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011846>xmlDocDump ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011847><TABLE
11848BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011849BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011850WIDTH="100%"
11851CELLPADDING="6"
11852><TR
11853><TD
11854><PRE
11855CLASS="PROGRAMLISTING"
11856>void xmlDocDump (<GTKDOCLINK
11857HREF="FILE"
11858>FILE</GTKDOCLINK
11859> *f,
11860 <A
11861HREF="gnome-xml-tree.html#XMLDOCPTR"
11862>xmlDocPtr</A
11863> cur);</PRE
11864></TD
11865></TR
11866></TABLE
11867><P
11868>Dump an XML document to an open FILE.</P
11869><P
11870></P
11871><DIV
11872CLASS="INFORMALTABLE"
11873><P
11874></P
11875><TABLE
11876BORDER="0"
11877WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011878BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011879CELLSPACING="0"
11880CELLPADDING="4"
11881CLASS="CALSTABLE"
11882><TR
11883><TD
11884WIDTH="20%"
11885ALIGN="RIGHT"
11886VALIGN="TOP"
11887><TT
11888CLASS="PARAMETER"
11889><I
11890>f</I
11891></TT
11892>&nbsp;:</TD
11893><TD
11894WIDTH="80%"
11895ALIGN="LEFT"
11896VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011897> the FILE*</TD
11898></TR
11899><TR
11900><TD
11901WIDTH="20%"
11902ALIGN="RIGHT"
11903VALIGN="TOP"
11904><TT
11905CLASS="PARAMETER"
11906><I
11907>cur</I
11908></TT
11909>&nbsp;:</TD
11910><TD
11911WIDTH="80%"
11912ALIGN="LEFT"
11913VALIGN="TOP"
11914> the document</TD
11915></TR
11916></TABLE
11917><P
11918></P
11919></DIV
11920></DIV
11921><HR><DIV
11922CLASS="REFSECT2"
11923><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000011924NAME="AEN6021"
Daniel Veillardf3a73582000-01-05 14:58:39 +000011925></A
11926><H3
11927><A
11928NAME="XMLELEMDUMP"
11929></A
11930>xmlElemDump ()</H3
11931><TABLE
11932BORDER="0"
11933BGCOLOR="#D6E8FF"
11934WIDTH="100%"
11935CELLPADDING="6"
11936><TR
11937><TD
11938><PRE
11939CLASS="PROGRAMLISTING"
11940>void xmlElemDump (<GTKDOCLINK
11941HREF="FILE"
11942>FILE</GTKDOCLINK
11943> *f,
11944 <A
11945HREF="gnome-xml-tree.html#XMLDOCPTR"
11946>xmlDocPtr</A
11947> cur,
11948 <A
11949HREF="gnome-xml-tree.html#XMLNODEPTR"
11950>xmlNodePtr</A
11951> elem);</PRE
11952></TD
11953></TR
11954></TABLE
11955><P
11956>Dump an XML/HTML node, recursive behaviour,children are printed too.</P
11957><P
11958></P
11959><DIV
11960CLASS="INFORMALTABLE"
11961><P
11962></P
11963><TABLE
11964BORDER="0"
11965WIDTH="100%"
11966BGCOLOR="#FFD0D0"
11967CELLSPACING="0"
11968CELLPADDING="4"
11969CLASS="CALSTABLE"
11970><TR
11971><TD
11972WIDTH="20%"
11973ALIGN="RIGHT"
11974VALIGN="TOP"
11975><TT
11976CLASS="PARAMETER"
11977><I
11978>f</I
11979></TT
11980>&nbsp;:</TD
11981><TD
11982WIDTH="80%"
11983ALIGN="LEFT"
11984VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +000011985>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011986></TR
11987><TR
11988><TD
11989WIDTH="20%"
11990ALIGN="RIGHT"
11991VALIGN="TOP"
11992><TT
11993CLASS="PARAMETER"
11994><I
11995>cur</I
11996></TT
11997>&nbsp;:</TD
11998><TD
11999WIDTH="80%"
12000ALIGN="LEFT"
12001VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012002> the current node</TD
12003></TR
12004><TR
12005><TD
12006WIDTH="20%"
12007ALIGN="RIGHT"
12008VALIGN="TOP"
12009><TT
12010CLASS="PARAMETER"
12011><I
12012>elem</I
12013></TT
12014>&nbsp;:</TD
12015><TD
12016WIDTH="80%"
12017ALIGN="LEFT"
12018VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +000012019>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012020></TR
12021></TABLE
12022><P
12023></P
12024></DIV
12025></DIV
12026><HR><DIV
12027CLASS="REFSECT2"
12028><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000012029NAME="AEN6047"
Daniel Veillard35925471999-02-25 08:46:07 +000012030></A
12031><H3
12032><A
12033NAME="XMLSAVEFILE"
12034></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012035>xmlSaveFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012036><TABLE
12037BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012038BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012039WIDTH="100%"
12040CELLPADDING="6"
12041><TR
12042><TD
12043><PRE
12044CLASS="PROGRAMLISTING"
12045>int xmlSaveFile (const char *filename,
12046 <A
12047HREF="gnome-xml-tree.html#XMLDOCPTR"
12048>xmlDocPtr</A
12049> cur);</PRE
12050></TD
12051></TR
12052></TABLE
12053><P
12054>Dump an XML document to a file. Will use compression if
Daniel Veillardf3a73582000-01-05 14:58:39 +000012055compiled in and enabled. If <TT
12056CLASS="PARAMETER"
12057><I
12058>filename</I
12059></TT
12060> is "-" the stdout file is
12061used.</P
Daniel Veillard35925471999-02-25 08:46:07 +000012062><P
12063></P
12064><DIV
12065CLASS="INFORMALTABLE"
12066><P
12067></P
12068><TABLE
12069BORDER="0"
12070WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012071BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012072CELLSPACING="0"
12073CELLPADDING="4"
12074CLASS="CALSTABLE"
12075><TR
12076><TD
12077WIDTH="20%"
12078ALIGN="RIGHT"
12079VALIGN="TOP"
12080><TT
12081CLASS="PARAMETER"
12082><I
12083>filename</I
12084></TT
12085>&nbsp;:</TD
12086><TD
12087WIDTH="80%"
12088ALIGN="LEFT"
12089VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012090> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012091></TR
12092><TR
12093><TD
12094WIDTH="20%"
12095ALIGN="RIGHT"
12096VALIGN="TOP"
12097><TT
12098CLASS="PARAMETER"
12099><I
12100>cur</I
12101></TT
12102>&nbsp;:</TD
12103><TD
12104WIDTH="80%"
12105ALIGN="LEFT"
12106VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012107> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012108></TR
12109><TR
12110><TD
12111WIDTH="20%"
12112ALIGN="RIGHT"
12113VALIGN="TOP"
12114><I
12115CLASS="EMPHASIS"
12116>Returns</I
12117> :</TD
12118><TD
12119WIDTH="80%"
12120ALIGN="LEFT"
12121VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012122> the number of file written or -1 in case of failure.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012123></TR
12124></TABLE
12125><P
12126></P
12127></DIV
12128></DIV
12129><HR><DIV
12130CLASS="REFSECT2"
12131><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000012132NAME="AEN6072"
Daniel Veillard35925471999-02-25 08:46:07 +000012133></A
12134><H3
12135><A
12136NAME="XMLGETDOCCOMPRESSMODE"
12137></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012138>xmlGetDocCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012139><TABLE
12140BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012141BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012142WIDTH="100%"
12143CELLPADDING="6"
12144><TR
12145><TD
12146><PRE
12147CLASS="PROGRAMLISTING"
12148>int xmlGetDocCompressMode (<A
12149HREF="gnome-xml-tree.html#XMLDOCPTR"
12150>xmlDocPtr</A
12151> doc);</PRE
12152></TD
12153></TR
12154></TABLE
12155><P
12156>get the compression ratio for a document, ZLIB based</P
12157><P
12158></P
12159><DIV
12160CLASS="INFORMALTABLE"
12161><P
12162></P
12163><TABLE
12164BORDER="0"
12165WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012166BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012167CELLSPACING="0"
12168CELLPADDING="4"
12169CLASS="CALSTABLE"
12170><TR
12171><TD
12172WIDTH="20%"
12173ALIGN="RIGHT"
12174VALIGN="TOP"
12175><TT
12176CLASS="PARAMETER"
12177><I
12178>doc</I
12179></TT
12180>&nbsp;:</TD
12181><TD
12182WIDTH="80%"
12183ALIGN="LEFT"
12184VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012185> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012186></TR
12187><TR
12188><TD
12189WIDTH="20%"
12190ALIGN="RIGHT"
12191VALIGN="TOP"
12192><I
12193CLASS="EMPHASIS"
12194>Returns</I
12195> :</TD
12196><TD
12197WIDTH="80%"
12198ALIGN="LEFT"
12199VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012200>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012201></TR
12202></TABLE
12203><P
12204></P
12205></DIV
12206></DIV
12207><HR><DIV
12208CLASS="REFSECT2"
12209><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000012210NAME="AEN6092"
Daniel Veillard35925471999-02-25 08:46:07 +000012211></A
12212><H3
12213><A
12214NAME="XMLSETDOCCOMPRESSMODE"
12215></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012216>xmlSetDocCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012217><TABLE
12218BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012219BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012220WIDTH="100%"
12221CELLPADDING="6"
12222><TR
12223><TD
12224><PRE
12225CLASS="PROGRAMLISTING"
12226>void xmlSetDocCompressMode (<A
12227HREF="gnome-xml-tree.html#XMLDOCPTR"
12228>xmlDocPtr</A
12229> doc,
12230 int mode);</PRE
12231></TD
12232></TR
12233></TABLE
12234><P
12235>set the compression ratio for a document, ZLIB based
12236Correct values: 0 (uncompressed) to 9 (max compression)</P
12237><P
12238></P
12239><DIV
12240CLASS="INFORMALTABLE"
12241><P
12242></P
12243><TABLE
12244BORDER="0"
12245WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012246BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012247CELLSPACING="0"
12248CELLPADDING="4"
12249CLASS="CALSTABLE"
12250><TR
12251><TD
12252WIDTH="20%"
12253ALIGN="RIGHT"
12254VALIGN="TOP"
12255><TT
12256CLASS="PARAMETER"
12257><I
12258>doc</I
12259></TT
12260>&nbsp;:</TD
12261><TD
12262WIDTH="80%"
12263ALIGN="LEFT"
12264VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012265> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012266></TR
12267><TR
12268><TD
12269WIDTH="20%"
12270ALIGN="RIGHT"
12271VALIGN="TOP"
12272><TT
12273CLASS="PARAMETER"
12274><I
12275>mode</I
12276></TT
12277>&nbsp;:</TD
12278><TD
12279WIDTH="80%"
12280ALIGN="LEFT"
12281VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012282> the compression ratio</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012283></TR
12284></TABLE
12285><P
12286></P
12287></DIV
12288></DIV
12289><HR><DIV
12290CLASS="REFSECT2"
12291><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000012292NAME="AEN6112"
Daniel Veillard35925471999-02-25 08:46:07 +000012293></A
12294><H3
12295><A
12296NAME="XMLGETCOMPRESSMODE"
12297></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012298>xmlGetCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012299><TABLE
12300BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012301BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012302WIDTH="100%"
12303CELLPADDING="6"
12304><TR
12305><TD
12306><PRE
12307CLASS="PROGRAMLISTING"
12308>int xmlGetCompressMode (void);</PRE
12309></TD
12310></TR
12311></TABLE
12312><P
12313>get the default compression mode used, ZLIB based.</P
12314><P
12315></P
12316><DIV
12317CLASS="INFORMALTABLE"
12318><P
12319></P
12320><TABLE
12321BORDER="0"
12322WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012323BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012324CELLSPACING="0"
12325CELLPADDING="4"
12326CLASS="CALSTABLE"
12327><TR
12328><TD
12329WIDTH="20%"
12330ALIGN="RIGHT"
12331VALIGN="TOP"
12332><I
12333CLASS="EMPHASIS"
12334>Returns</I
12335> :</TD
12336><TD
12337WIDTH="80%"
12338ALIGN="LEFT"
12339VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012340>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012341></TR
12342></TABLE
12343><P
12344></P
12345></DIV
12346></DIV
12347><HR><DIV
12348CLASS="REFSECT2"
12349><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +000012350NAME="AEN6127"
Daniel Veillard35925471999-02-25 08:46:07 +000012351></A
12352><H3
12353><A
12354NAME="XMLSETCOMPRESSMODE"
12355></A
Daniel Veillard14fff061999-06-22 21:49:07 +000012356>xmlSetCompressMode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012357><TABLE
12358BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012359BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012360WIDTH="100%"
12361CELLPADDING="6"
12362><TR
12363><TD
12364><PRE
12365CLASS="PROGRAMLISTING"
12366>void xmlSetCompressMode (int mode);</PRE
12367></TD
12368></TR
12369></TABLE
12370><P
12371>set the default compression mode used, ZLIB based
12372Correct values: 0 (uncompressed) to 9 (max compression)</P
12373><P
12374></P
12375><DIV
12376CLASS="INFORMALTABLE"
12377><P
12378></P
12379><TABLE
12380BORDER="0"
12381WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012382BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012383CELLSPACING="0"
12384CELLPADDING="4"
12385CLASS="CALSTABLE"
12386><TR
12387><TD
12388WIDTH="20%"
12389ALIGN="RIGHT"
12390VALIGN="TOP"
12391><TT
12392CLASS="PARAMETER"
12393><I
12394>mode</I
12395></TT
12396>&nbsp;:</TD
12397><TD
12398WIDTH="80%"
12399ALIGN="LEFT"
12400VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +000012401> the compression ratio</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012402></TR
12403></TABLE
12404><P
12405></P
12406></DIV
12407></DIV
12408></DIV
12409><DIV
12410CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000012411><BR
12412CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +000012413WIDTH="100%"
12414BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012415BGCOLOR="#000000"
12416CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000012417CELLSPACING="0"
12418><TR
12419><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000012420WIDTH="25%"
12421BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000012422ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000012423><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000012424HREF="gnome-xml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000012425><FONT
12426COLOR="#FFFFFF"
12427SIZE="3"
12428><B
12429>&#60;&#60;&#60; Previous Page</B
12430></FONT
12431></A
Daniel Veillard35925471999-02-25 08:46:07 +000012432></TD
12433><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000012434WIDTH="25%"
12435BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000012436ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000012437><FONT
12438COLOR="#FFFFFF"
12439SIZE="3"
12440><B
Daniel Veillard35925471999-02-25 08:46:07 +000012441><A
12442HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000012443><FONT
12444COLOR="#FFFFFF"
12445SIZE="3"
12446><B
12447>Home</B
12448></FONT
12449></A
12450></B
12451></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000012452></TD
12453><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000012454WIDTH="25%"
12455BGCOLOR="#00C000"
12456ALIGN="center"
12457><FONT
12458COLOR="#FFFFFF"
12459SIZE="3"
12460><B
12461><A
Daniel Veillard35008381999-10-25 13:15:52 +000012462HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000012463><FONT
12464COLOR="#FFFFFF"
12465SIZE="3"
12466><B
12467>Up</B
12468></FONT
12469></A
12470></B
12471></FONT
12472></TD
12473><TD
12474WIDTH="25%"
12475BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000012476ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +000012477><A
12478HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000012479><FONT
12480COLOR="#FFFFFF"
12481SIZE="3"
12482><B
12483>Next Page &#62;&#62;&#62;</B
12484></FONT
12485></A
Daniel Veillard35925471999-02-25 08:46:07 +000012486></TD
12487></TR
12488><TR
12489><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000012490COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +000012491ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +000012492><FONT
12493COLOR="#FFFFFF"
12494SIZE="3"
12495><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000012496>SAX</B
Daniel Veillard14fff061999-06-22 21:49:07 +000012497></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000012498></TD
12499><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000012500COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +000012501ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +000012502><FONT
12503COLOR="#FFFFFF"
12504SIZE="3"
12505><B
12506>entities</B
12507></FONT
12508></TD
Daniel Veillard35925471999-02-25 08:46:07 +000012509></TR
12510></TABLE
12511></DIV
12512></BODY
12513></HTML
12514>