blob: 72121bcc93cbc5fc12faac765eec08256d36a7b1 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>tree</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
8REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Gnome XML Library"
13HREF="libxml.html"><LINK
14REL="PREVIOUS"
15TITLE="parser"
16HREF="gnome-xml-parser.html"><LINK
17REL="NEXT"
18TITLE="entities"
19HREF="gnome-xml-entities.html"></HEAD
20><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
28CELLPADDING="0"
29CELLSPACING="0"
30><TR
31><TH
32COLSPAN="3"
33ALIGN="center"
34>Gnome XML Library Reference Manual</TH
35></TR
36><TR
37><TD
38WIDTH="10%"
39ALIGN="left"
40VALIGN="bottom"
41><A
42HREF="gnome-xml-parser.html"
43>Prev</A
44></TD
45><TD
46WIDTH="80%"
47ALIGN="center"
48VALIGN="bottom"
49></TD
50><TD
51WIDTH="10%"
52ALIGN="right"
53VALIGN="bottom"
54><A
55HREF="gnome-xml-entities.html"
56>Next</A
57></TD
58></TR
59></TABLE
60><HR
61ALIGN="LEFT"
62WIDTH="100%"></DIV
63><H1
64>tree</H1
65><DIV
66CLASS="REFNAMEDIV"
67><A
Daniel Veillard5099ae81999-04-21 20:12:07 +000068NAME="AEN1503"
Daniel Veillard35925471999-02-25 08:46:07 +000069></A
70><H2
71>Name</H2
72>tree &#8212; one line description goes here.</DIV
73><DIV
74CLASS="REFSYNOPSISDIV"
75><A
Daniel Veillard5099ae81999-04-21 20:12:07 +000076NAME="AEN1506"
Daniel Veillard35925471999-02-25 08:46:07 +000077></A
78><H2
79>Synopsis</H2
80><TABLE
81BORDER="0"
82BGCOLOR="#E8E8F8"
83WIDTH="100%"
84CELLPADDING="6"
85><TR
86><TD
87><PRE
88CLASS="SYNOPSIS"
89>&#13;
90
91enum <A
92HREF="gnome-xml-tree.html#XMLELEMENTTYPE"
93>xmlElementType</A
94>
95typedef <A
96HREF="gnome-xml-tree.html#CHAR"
97>CHAR</A
98>
99typedef <A
100HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
101>xmlNotationPtr</A
102>
103enum <A
104HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
105>xmlAttributeType</A
106>
107enum <A
108HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
109>xmlAttributeDefault</A
110>
111typedef <A
112HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
113>xmlEnumerationPtr</A
114>
115typedef <A
116HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
117>xmlAttributePtr</A
118>
119enum <A
120HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
121>xmlElementContentType</A
122>
123enum <A
124HREF="gnome-xml-tree.html#XMLELEMENTCONTENTOCCUR"
125>xmlElementContentOccur</A
126>
127typedef <A
128HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
129>xmlElementContentPtr</A
130>
131enum <A
132HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
133>xmlElementTypeVal</A
134>
135typedef <A
136HREF="gnome-xml-tree.html#XMLELEMENTPTR"
137>xmlElementPtr</A
138>
139enum <A
140HREF="gnome-xml-tree.html#XMLNSTYPE"
141>xmlNsType</A
142>
143typedef <A
144HREF="gnome-xml-tree.html#XMLNSPTR"
145>xmlNsPtr</A
146>
147typedef <A
148HREF="gnome-xml-tree.html#XMLDTDPTR"
149>xmlDtdPtr</A
150>
151typedef <A
152HREF="gnome-xml-tree.html#XMLATTRPTR"
153>xmlAttrPtr</A
154>
155typedef <A
156HREF="gnome-xml-tree.html#XMLNODE"
157>xmlNode</A
158>
159typedef <A
160HREF="gnome-xml-tree.html#XMLNODEPTR"
161>xmlNodePtr</A
162>
163typedef <A
164HREF="gnome-xml-tree.html#XMLDOC"
165>xmlDoc</A
166>
167typedef <A
168HREF="gnome-xml-tree.html#XMLDOCPTR"
169>xmlDocPtr</A
170>
Daniel Veillard5099ae81999-04-21 20:12:07 +0000171typedef <A
172HREF="gnome-xml-tree.html#XMLBUFFER"
173>xmlBuffer</A
174>
175typedef <A
176HREF="gnome-xml-tree.html#XMLBUFFERPTR"
177>xmlBufferPtr</A
178>
179<A
180HREF="gnome-xml-tree.html#XMLBUFFERPTR"
181>xmlBufferPtr</A
182> <A
183HREF="gnome-xml-tree.html#XMLBUFFERCREATE"
184>xmlBufferCreate</A
185> (void);
186void <A
187HREF="gnome-xml-tree.html#XMLBUFFERFREE"
188>xmlBufferFree</A
189> (<A
190HREF="gnome-xml-tree.html#XMLBUFFERPTR"
191>xmlBufferPtr</A
192> buf);
193int <A
194HREF="gnome-xml-tree.html#XMLBUFFERDUMP"
195>xmlBufferDump</A
196> (<GTKDOCLINK
197HREF="FILE"
198>FILE</GTKDOCLINK
199> *file,
200 <A
201HREF="gnome-xml-tree.html#XMLBUFFERPTR"
202>xmlBufferPtr</A
203> buf);
204void <A
205HREF="gnome-xml-tree.html#XMLBUFFERADD"
206>xmlBufferAdd</A
207> (<A
208HREF="gnome-xml-tree.html#XMLBUFFERPTR"
209>xmlBufferPtr</A
210> buf,
211 const <A
212HREF="gnome-xml-tree.html#CHAR"
213>CHAR</A
214> *str,
215 int len);
216void <A
217HREF="gnome-xml-tree.html#XMLBUFFERCAT"
218>xmlBufferCat</A
219> (<A
220HREF="gnome-xml-tree.html#XMLBUFFERPTR"
221>xmlBufferPtr</A
222> buf,
223 const <A
224HREF="gnome-xml-tree.html#CHAR"
225>CHAR</A
226> *str);
227void <A
228HREF="gnome-xml-tree.html#XMLBUFFERCCAT"
229>xmlBufferCCat</A
230> (<A
231HREF="gnome-xml-tree.html#XMLBUFFERPTR"
232>xmlBufferPtr</A
233> buf,
234 const char *str);
Daniel Veillard35925471999-02-25 08:46:07 +0000235<A
236HREF="gnome-xml-tree.html#XMLDTDPTR"
237>xmlDtdPtr</A
238> <A
239HREF="gnome-xml-tree.html#XMLCREATEINTSUBSET"
240>xmlCreateIntSubset</A
241> (<A
242HREF="gnome-xml-tree.html#XMLDOCPTR"
243>xmlDocPtr</A
244> doc,
245 const <A
246HREF="gnome-xml-tree.html#CHAR"
247>CHAR</A
248> *name,
249 const <A
250HREF="gnome-xml-tree.html#CHAR"
251>CHAR</A
252> *ExternalID,
253 const <A
254HREF="gnome-xml-tree.html#CHAR"
255>CHAR</A
256> *SystemID);
257<A
258HREF="gnome-xml-tree.html#XMLDTDPTR"
259>xmlDtdPtr</A
260> <A
261HREF="gnome-xml-tree.html#XMLNEWDTD"
262>xmlNewDtd</A
263> (<A
264HREF="gnome-xml-tree.html#XMLDOCPTR"
265>xmlDocPtr</A
266> doc,
267 const <A
268HREF="gnome-xml-tree.html#CHAR"
269>CHAR</A
270> *name,
271 const <A
272HREF="gnome-xml-tree.html#CHAR"
273>CHAR</A
274> *ExternalID,
275 const <A
276HREF="gnome-xml-tree.html#CHAR"
277>CHAR</A
278> *SystemID);
279void <A
280HREF="gnome-xml-tree.html#XMLFREEDTD"
281>xmlFreeDtd</A
282> (<A
283HREF="gnome-xml-tree.html#XMLDTDPTR"
284>xmlDtdPtr</A
285> cur);
286<A
287HREF="gnome-xml-tree.html#XMLNSPTR"
288>xmlNsPtr</A
289> <A
290HREF="gnome-xml-tree.html#XMLNEWGLOBALNS"
291>xmlNewGlobalNs</A
292> (<A
293HREF="gnome-xml-tree.html#XMLDOCPTR"
294>xmlDocPtr</A
295> doc,
296 const <A
297HREF="gnome-xml-tree.html#CHAR"
298>CHAR</A
299> *href,
300 const <A
301HREF="gnome-xml-tree.html#CHAR"
302>CHAR</A
303> *prefix);
304<A
305HREF="gnome-xml-tree.html#XMLNSPTR"
306>xmlNsPtr</A
307> <A
308HREF="gnome-xml-tree.html#XMLNEWNS"
309>xmlNewNs</A
310> (<A
311HREF="gnome-xml-tree.html#XMLNODEPTR"
312>xmlNodePtr</A
313> node,
314 const <A
315HREF="gnome-xml-tree.html#CHAR"
316>CHAR</A
317> *href,
318 const <A
319HREF="gnome-xml-tree.html#CHAR"
320>CHAR</A
321> *prefix);
322void <A
323HREF="gnome-xml-tree.html#XMLFREENS"
324>xmlFreeNs</A
325> (<A
326HREF="gnome-xml-tree.html#XMLNSPTR"
327>xmlNsPtr</A
328> cur);
329<A
330HREF="gnome-xml-tree.html#XMLDOCPTR"
331>xmlDocPtr</A
332> <A
333HREF="gnome-xml-tree.html#XMLNEWDOC"
334>xmlNewDoc</A
335> (const <A
336HREF="gnome-xml-tree.html#CHAR"
337>CHAR</A
338> *version);
339void <A
340HREF="gnome-xml-tree.html#XMLFREEDOC"
341>xmlFreeDoc</A
342> (<A
343HREF="gnome-xml-tree.html#XMLDOCPTR"
344>xmlDocPtr</A
345> cur);
346<A
347HREF="gnome-xml-tree.html#XMLATTRPTR"
348>xmlAttrPtr</A
349> <A
350HREF="gnome-xml-tree.html#XMLNEWDOCPROP"
351>xmlNewDocProp</A
352> (<A
353HREF="gnome-xml-tree.html#XMLDOCPTR"
354>xmlDocPtr</A
355> doc,
356 const <A
357HREF="gnome-xml-tree.html#CHAR"
358>CHAR</A
359> *name,
360 const <A
361HREF="gnome-xml-tree.html#CHAR"
362>CHAR</A
363> *value);
364<A
365HREF="gnome-xml-tree.html#XMLATTRPTR"
366>xmlAttrPtr</A
367> <A
368HREF="gnome-xml-tree.html#XMLNEWPROP"
369>xmlNewProp</A
370> (<A
371HREF="gnome-xml-tree.html#XMLNODEPTR"
372>xmlNodePtr</A
373> node,
374 const <A
375HREF="gnome-xml-tree.html#CHAR"
376>CHAR</A
377> *name,
378 const <A
379HREF="gnome-xml-tree.html#CHAR"
380>CHAR</A
381> *value);
382void <A
383HREF="gnome-xml-tree.html#XMLFREEPROPLIST"
384>xmlFreePropList</A
385> (<A
386HREF="gnome-xml-tree.html#XMLATTRPTR"
387>xmlAttrPtr</A
388> cur);
389void <A
390HREF="gnome-xml-tree.html#XMLFREEPROP"
391>xmlFreeProp</A
392> (<A
393HREF="gnome-xml-tree.html#XMLATTRPTR"
394>xmlAttrPtr</A
395> cur);
396<A
397HREF="gnome-xml-tree.html#XMLATTRPTR"
398>xmlAttrPtr</A
399> <A
400HREF="gnome-xml-tree.html#XMLCOPYPROP"
401>xmlCopyProp</A
402> (<A
403HREF="gnome-xml-tree.html#XMLATTRPTR"
404>xmlAttrPtr</A
405> cur);
406<A
407HREF="gnome-xml-tree.html#XMLATTRPTR"
408>xmlAttrPtr</A
409> <A
410HREF="gnome-xml-tree.html#XMLCOPYPROPLIST"
411>xmlCopyPropList</A
412> (<A
413HREF="gnome-xml-tree.html#XMLATTRPTR"
414>xmlAttrPtr</A
415> cur);
416<A
417HREF="gnome-xml-tree.html#XMLDTDPTR"
418>xmlDtdPtr</A
419> <A
420HREF="gnome-xml-tree.html#XMLCOPYDTD"
421>xmlCopyDtd</A
422> (<A
423HREF="gnome-xml-tree.html#XMLDTDPTR"
424>xmlDtdPtr</A
425> dtd);
426<A
427HREF="gnome-xml-tree.html#XMLDOCPTR"
428>xmlDocPtr</A
429> <A
430HREF="gnome-xml-tree.html#XMLCOPYDOC"
431>xmlCopyDoc</A
432> (<A
433HREF="gnome-xml-tree.html#XMLDOCPTR"
434>xmlDocPtr</A
435> doc,
436 int recursive);
437<A
438HREF="gnome-xml-tree.html#XMLNODEPTR"
439>xmlNodePtr</A
440> <A
441HREF="gnome-xml-tree.html#XMLNEWDOCNODE"
442>xmlNewDocNode</A
443> (<A
444HREF="gnome-xml-tree.html#XMLDOCPTR"
445>xmlDocPtr</A
446> doc,
447 <A
448HREF="gnome-xml-tree.html#XMLNSPTR"
449>xmlNsPtr</A
450> ns,
451 const <A
452HREF="gnome-xml-tree.html#CHAR"
453>CHAR</A
454> *name,
455 <A
456HREF="gnome-xml-tree.html#CHAR"
457>CHAR</A
458> *content);
459<A
460HREF="gnome-xml-tree.html#XMLNODEPTR"
461>xmlNodePtr</A
462> <A
463HREF="gnome-xml-tree.html#XMLNEWNODE"
464>xmlNewNode</A
465> (<A
466HREF="gnome-xml-tree.html#XMLNSPTR"
467>xmlNsPtr</A
468> ns,
469 const <A
470HREF="gnome-xml-tree.html#CHAR"
471>CHAR</A
472> *name);
473<A
474HREF="gnome-xml-tree.html#XMLNODEPTR"
475>xmlNodePtr</A
476> <A
477HREF="gnome-xml-tree.html#XMLNEWCHILD"
478>xmlNewChild</A
479> (<A
480HREF="gnome-xml-tree.html#XMLNODEPTR"
481>xmlNodePtr</A
482> parent,
483 <A
484HREF="gnome-xml-tree.html#XMLNSPTR"
485>xmlNsPtr</A
486> ns,
487 const <A
488HREF="gnome-xml-tree.html#CHAR"
489>CHAR</A
490> *name,
491 <A
492HREF="gnome-xml-tree.html#CHAR"
493>CHAR</A
494> *content);
495<A
496HREF="gnome-xml-tree.html#XMLNODEPTR"
497>xmlNodePtr</A
498> <A
499HREF="gnome-xml-tree.html#XMLNEWDOCTEXT"
500>xmlNewDocText</A
501> (<A
502HREF="gnome-xml-tree.html#XMLDOCPTR"
503>xmlDocPtr</A
504> doc,
505 const <A
506HREF="gnome-xml-tree.html#CHAR"
507>CHAR</A
508> *content);
509<A
510HREF="gnome-xml-tree.html#XMLNODEPTR"
511>xmlNodePtr</A
512> <A
513HREF="gnome-xml-tree.html#XMLNEWTEXT"
514>xmlNewText</A
515> (const <A
516HREF="gnome-xml-tree.html#CHAR"
517>CHAR</A
518> *content);
519<A
520HREF="gnome-xml-tree.html#XMLNODEPTR"
521>xmlNodePtr</A
522> <A
523HREF="gnome-xml-tree.html#XMLNEWDOCTEXTLEN"
524>xmlNewDocTextLen</A
525> (<A
526HREF="gnome-xml-tree.html#XMLDOCPTR"
527>xmlDocPtr</A
528> doc,
529 const <A
530HREF="gnome-xml-tree.html#CHAR"
531>CHAR</A
532> *content,
533 int len);
534<A
535HREF="gnome-xml-tree.html#XMLNODEPTR"
536>xmlNodePtr</A
537> <A
538HREF="gnome-xml-tree.html#XMLNEWTEXTLEN"
539>xmlNewTextLen</A
540> (const <A
541HREF="gnome-xml-tree.html#CHAR"
542>CHAR</A
543> *content,
544 int len);
545<A
546HREF="gnome-xml-tree.html#XMLNODEPTR"
547>xmlNodePtr</A
548> <A
549HREF="gnome-xml-tree.html#XMLNEWDOCCOMMENT"
550>xmlNewDocComment</A
551> (<A
552HREF="gnome-xml-tree.html#XMLDOCPTR"
553>xmlDocPtr</A
554> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000555 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000556HREF="gnome-xml-tree.html#CHAR"
557>CHAR</A
558> *content);
559<A
560HREF="gnome-xml-tree.html#XMLNODEPTR"
561>xmlNodePtr</A
562> <A
563HREF="gnome-xml-tree.html#XMLNEWCOMMENT"
564>xmlNewComment</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000565> (const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000566HREF="gnome-xml-tree.html#CHAR"
567>CHAR</A
568> *content);
569<A
570HREF="gnome-xml-tree.html#XMLNODEPTR"
571>xmlNodePtr</A
572> <A
573HREF="gnome-xml-tree.html#XMLNEWREFERENCE"
574>xmlNewReference</A
575> (<A
576HREF="gnome-xml-tree.html#XMLDOCPTR"
577>xmlDocPtr</A
578> doc,
579 const <A
580HREF="gnome-xml-tree.html#CHAR"
581>CHAR</A
582> *name);
583<A
584HREF="gnome-xml-tree.html#XMLNODEPTR"
585>xmlNodePtr</A
586> <A
587HREF="gnome-xml-tree.html#XMLCOPYNODE"
588>xmlCopyNode</A
589> (<A
590HREF="gnome-xml-tree.html#XMLNODEPTR"
591>xmlNodePtr</A
592> node,
593 int recursive);
594<A
595HREF="gnome-xml-tree.html#XMLNODEPTR"
596>xmlNodePtr</A
597> <A
598HREF="gnome-xml-tree.html#XMLCOPYNODELIST"
599>xmlCopyNodeList</A
600> (<A
601HREF="gnome-xml-tree.html#XMLNODEPTR"
602>xmlNodePtr</A
603> node);
604<A
605HREF="gnome-xml-tree.html#XMLNODEPTR"
606>xmlNodePtr</A
607> <A
608HREF="gnome-xml-tree.html#XMLGETLASTCHILD"
609>xmlGetLastChild</A
610> (<A
611HREF="gnome-xml-tree.html#XMLNODEPTR"
612>xmlNodePtr</A
613> parent);
614int <A
615HREF="gnome-xml-tree.html#XMLNODEISTEXT"
616>xmlNodeIsText</A
617> (<A
618HREF="gnome-xml-tree.html#XMLNODEPTR"
619>xmlNodePtr</A
620> node);
621<A
622HREF="gnome-xml-tree.html#XMLNODEPTR"
623>xmlNodePtr</A
624> <A
625HREF="gnome-xml-tree.html#XMLADDCHILD"
626>xmlAddChild</A
627> (<A
628HREF="gnome-xml-tree.html#XMLNODEPTR"
629>xmlNodePtr</A
630> parent,
631 <A
632HREF="gnome-xml-tree.html#XMLNODEPTR"
633>xmlNodePtr</A
634> cur);
635void <A
636HREF="gnome-xml-tree.html#XMLUNLINKNODE"
637>xmlUnlinkNode</A
638> (<A
639HREF="gnome-xml-tree.html#XMLNODEPTR"
640>xmlNodePtr</A
641> cur);
642<A
643HREF="gnome-xml-tree.html#XMLNODEPTR"
644>xmlNodePtr</A
645> <A
646HREF="gnome-xml-tree.html#XMLTEXTMERGE"
647>xmlTextMerge</A
648> (<A
649HREF="gnome-xml-tree.html#XMLNODEPTR"
650>xmlNodePtr</A
651> first,
652 <A
653HREF="gnome-xml-tree.html#XMLNODEPTR"
654>xmlNodePtr</A
655> second);
656void <A
657HREF="gnome-xml-tree.html#XMLTEXTCONCAT"
658>xmlTextConcat</A
659> (<A
660HREF="gnome-xml-tree.html#XMLNODEPTR"
661>xmlNodePtr</A
662> node,
663 const <A
664HREF="gnome-xml-tree.html#CHAR"
665>CHAR</A
666> *content,
667 int len);
668void <A
669HREF="gnome-xml-tree.html#XMLFREENODELIST"
670>xmlFreeNodeList</A
671> (<A
672HREF="gnome-xml-tree.html#XMLNODEPTR"
673>xmlNodePtr</A
674> cur);
675void <A
676HREF="gnome-xml-tree.html#XMLFREENODE"
677>xmlFreeNode</A
678> (<A
679HREF="gnome-xml-tree.html#XMLNODEPTR"
680>xmlNodePtr</A
681> cur);
682<A
683HREF="gnome-xml-tree.html#XMLNSPTR"
684>xmlNsPtr</A
685> <A
686HREF="gnome-xml-tree.html#XMLSEARCHNS"
687>xmlSearchNs</A
688> (<A
689HREF="gnome-xml-tree.html#XMLDOCPTR"
690>xmlDocPtr</A
691> doc,
692 <A
693HREF="gnome-xml-tree.html#XMLNODEPTR"
694>xmlNodePtr</A
695> node,
696 const <A
697HREF="gnome-xml-tree.html#CHAR"
698>CHAR</A
699> *nameSpace);
700<A
701HREF="gnome-xml-tree.html#XMLNSPTR"
702>xmlNsPtr</A
703> <A
704HREF="gnome-xml-tree.html#XMLSEARCHNSBYHREF"
705>xmlSearchNsByHref</A
706> (<A
707HREF="gnome-xml-tree.html#XMLDOCPTR"
708>xmlDocPtr</A
709> doc,
710 <A
711HREF="gnome-xml-tree.html#XMLNODEPTR"
712>xmlNodePtr</A
713> node,
714 const <A
715HREF="gnome-xml-tree.html#CHAR"
716>CHAR</A
717> *href);
718void <A
719HREF="gnome-xml-tree.html#XMLSETNS"
720>xmlSetNs</A
721> (<A
722HREF="gnome-xml-tree.html#XMLNODEPTR"
723>xmlNodePtr</A
724> node,
725 <A
726HREF="gnome-xml-tree.html#XMLNSPTR"
727>xmlNsPtr</A
728> ns);
729<A
730HREF="gnome-xml-tree.html#XMLNSPTR"
731>xmlNsPtr</A
732> <A
733HREF="gnome-xml-tree.html#XMLCOPYNAMESPACE"
734>xmlCopyNamespace</A
735> (<A
736HREF="gnome-xml-tree.html#XMLNSPTR"
737>xmlNsPtr</A
738> cur);
739<A
740HREF="gnome-xml-tree.html#XMLNSPTR"
741>xmlNsPtr</A
742> <A
743HREF="gnome-xml-tree.html#XMLCOPYNAMESPACELIST"
744>xmlCopyNamespaceList</A
745> (<A
746HREF="gnome-xml-tree.html#XMLNSPTR"
747>xmlNsPtr</A
748> cur);
749<A
750HREF="gnome-xml-tree.html#XMLATTRPTR"
751>xmlAttrPtr</A
752> <A
753HREF="gnome-xml-tree.html#XMLSETPROP"
754>xmlSetProp</A
755> (<A
756HREF="gnome-xml-tree.html#XMLNODEPTR"
757>xmlNodePtr</A
758> node,
759 const <A
760HREF="gnome-xml-tree.html#CHAR"
761>CHAR</A
762> *name,
763 const <A
764HREF="gnome-xml-tree.html#CHAR"
765>CHAR</A
766> *value);
767<A
768HREF="gnome-xml-tree.html#CHAR"
769>CHAR</A
770>* <A
771HREF="gnome-xml-tree.html#XMLGETPROP"
772>xmlGetProp</A
773> (<A
774HREF="gnome-xml-tree.html#XMLNODEPTR"
775>xmlNodePtr</A
776> node,
777 const <A
778HREF="gnome-xml-tree.html#CHAR"
779>CHAR</A
780> *name);
781<A
782HREF="gnome-xml-tree.html#XMLNODEPTR"
783>xmlNodePtr</A
784> <A
785HREF="gnome-xml-tree.html#XMLSTRINGGETNODELIST"
786>xmlStringGetNodeList</A
787> (<A
788HREF="gnome-xml-tree.html#XMLDOCPTR"
789>xmlDocPtr</A
790> doc,
791 const <A
792HREF="gnome-xml-tree.html#CHAR"
793>CHAR</A
794> *value);
795<A
796HREF="gnome-xml-tree.html#XMLNODEPTR"
797>xmlNodePtr</A
798> <A
799HREF="gnome-xml-tree.html#XMLSTRINGLENGETNODELIST"
800>xmlStringLenGetNodeList</A
801> (<A
802HREF="gnome-xml-tree.html#XMLDOCPTR"
803>xmlDocPtr</A
804> doc,
805 const <A
806HREF="gnome-xml-tree.html#CHAR"
807>CHAR</A
808> *value,
809 int len);
810<A
811HREF="gnome-xml-tree.html#CHAR"
812>CHAR</A
813>* <A
814HREF="gnome-xml-tree.html#XMLNODELISTGETSTRING"
815>xmlNodeListGetString</A
816> (<A
817HREF="gnome-xml-tree.html#XMLDOCPTR"
818>xmlDocPtr</A
819> doc,
820 <A
821HREF="gnome-xml-tree.html#XMLNODEPTR"
822>xmlNodePtr</A
823> list,
824 int inLine);
825void <A
826HREF="gnome-xml-tree.html#XMLNODESETCONTENT"
827>xmlNodeSetContent</A
828> (<A
829HREF="gnome-xml-tree.html#XMLNODEPTR"
830>xmlNodePtr</A
831> cur,
832 const <A
833HREF="gnome-xml-tree.html#CHAR"
834>CHAR</A
835> *content);
836void <A
837HREF="gnome-xml-tree.html#XMLNODESETCONTENTLEN"
838>xmlNodeSetContentLen</A
839> (<A
840HREF="gnome-xml-tree.html#XMLNODEPTR"
841>xmlNodePtr</A
842> cur,
843 const <A
844HREF="gnome-xml-tree.html#CHAR"
845>CHAR</A
846> *content,
847 int len);
848void <A
849HREF="gnome-xml-tree.html#XMLNODEADDCONTENT"
850>xmlNodeAddContent</A
851> (<A
852HREF="gnome-xml-tree.html#XMLNODEPTR"
853>xmlNodePtr</A
854> cur,
855 const <A
856HREF="gnome-xml-tree.html#CHAR"
857>CHAR</A
858> *content);
859void <A
860HREF="gnome-xml-tree.html#XMLNODEADDCONTENTLEN"
861>xmlNodeAddContentLen</A
862> (<A
863HREF="gnome-xml-tree.html#XMLNODEPTR"
864>xmlNodePtr</A
865> cur,
866 const <A
867HREF="gnome-xml-tree.html#CHAR"
868>CHAR</A
869> *content,
870 int len);
871<A
872HREF="gnome-xml-tree.html#CHAR"
873>CHAR</A
874>* <A
875HREF="gnome-xml-tree.html#XMLNODEGETCONTENT"
876>xmlNodeGetContent</A
877> (<A
878HREF="gnome-xml-tree.html#XMLNODEPTR"
879>xmlNodePtr</A
880> cur);
881void <A
882HREF="gnome-xml-tree.html#XMLBUFFERWRITECHAR"
883>xmlBufferWriteCHAR</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000884> (<A
885HREF="gnome-xml-tree.html#XMLBUFFERPTR"
886>xmlBufferPtr</A
887> buf,
888 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000889HREF="gnome-xml-tree.html#CHAR"
890>CHAR</A
891> *string);
892void <A
893HREF="gnome-xml-tree.html#XMLBUFFERWRITECHAR"
894>xmlBufferWriteChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000895> (<A
896HREF="gnome-xml-tree.html#XMLBUFFERPTR"
897>xmlBufferPtr</A
898> buf,
899 const char *string);
Daniel Veillard35925471999-02-25 08:46:07 +0000900void <A
901HREF="gnome-xml-tree.html#XMLDOCDUMPMEMORY"
902>xmlDocDumpMemory</A
903> (<A
904HREF="gnome-xml-tree.html#XMLDOCPTR"
905>xmlDocPtr</A
906> cur,
907 <A
908HREF="gnome-xml-tree.html#CHAR"
909>CHAR</A
910> **mem,
911 int *size);
912void <A
913HREF="gnome-xml-tree.html#XMLDOCDUMP"
914>xmlDocDump</A
915> (<GTKDOCLINK
916HREF="FILE"
917>FILE</GTKDOCLINK
918> *f,
919 <A
920HREF="gnome-xml-tree.html#XMLDOCPTR"
921>xmlDocPtr</A
922> cur);
923int <A
924HREF="gnome-xml-tree.html#XMLSAVEFILE"
925>xmlSaveFile</A
926> (const char *filename,
927 <A
928HREF="gnome-xml-tree.html#XMLDOCPTR"
929>xmlDocPtr</A
930> cur);
931int <A
932HREF="gnome-xml-tree.html#XMLGETDOCCOMPRESSMODE"
933>xmlGetDocCompressMode</A
934> (<A
935HREF="gnome-xml-tree.html#XMLDOCPTR"
936>xmlDocPtr</A
937> doc);
938void <A
939HREF="gnome-xml-tree.html#XMLSETDOCCOMPRESSMODE"
940>xmlSetDocCompressMode</A
941> (<A
942HREF="gnome-xml-tree.html#XMLDOCPTR"
943>xmlDocPtr</A
944> doc,
945 int mode);
946int <A
947HREF="gnome-xml-tree.html#XMLGETCOMPRESSMODE"
948>xmlGetCompressMode</A
949> (void);
950void <A
951HREF="gnome-xml-tree.html#XMLSETCOMPRESSMODE"
952>xmlSetCompressMode</A
953> (int mode);</PRE
954></TD
955></TR
956></TABLE
957></DIV
958><DIV
959CLASS="REFSECT1"
960><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000961NAME="AEN1746"
Daniel Veillard35925471999-02-25 08:46:07 +0000962></A
963><H2
964>Description</H2
965><P
966></P
967></DIV
968><DIV
969CLASS="REFSECT1"
970><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000971NAME="AEN1749"
Daniel Veillard35925471999-02-25 08:46:07 +0000972></A
973><H2
974>Details</H2
975><HR><DIV
976CLASS="REFSECT2"
977><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000978NAME="AEN1751"
Daniel Veillard35925471999-02-25 08:46:07 +0000979></A
980><H3
981><A
982NAME="XMLELEMENTTYPE"
983></A
984>xmlElementType</H3
985><TABLE
986BORDER="0"
987BGCOLOR="#E8E8F8"
988WIDTH="100%"
989CELLPADDING="6"
990><TR
991><TD
992><PRE
993CLASS="PROGRAMLISTING"
994>typedef enum {
995 XML_ELEMENT_NODE= 1,
996 XML_ATTRIBUTE_NODE= 2,
997 XML_TEXT_NODE= 3,
998 XML_CDATA_SECTION_NODE= 4,
999 XML_ENTITY_REF_NODE= 5,
1000 XML_ENTITY_NODE= 6,
1001 XML_PI_NODE= 7,
1002 XML_COMMENT_NODE= 8,
1003 XML_DOCUMENT_NODE= 9,
1004 XML_DOCUMENT_TYPE_NODE= 10,
1005 XML_DOCUMENT_FRAG_NODE= 11,
1006 XML_NOTATION_NODE= 12
1007} xmlElementType;</PRE
1008></TD
1009></TR
1010></TABLE
1011><P
1012></P
1013></DIV
1014><HR><DIV
1015CLASS="REFSECT2"
1016><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001017NAME="AEN1756"
Daniel Veillard35925471999-02-25 08:46:07 +00001018></A
1019><H3
1020><A
1021NAME="CHAR"
1022></A
1023>CHAR</H3
1024><P
1025></P
1026></DIV
1027><HR><DIV
1028CLASS="REFSECT2"
1029><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001030NAME="AEN1760"
Daniel Veillard35925471999-02-25 08:46:07 +00001031></A
1032><H3
1033><A
1034NAME="XMLNOTATIONPTR"
1035></A
1036>xmlNotationPtr</H3
1037><TABLE
1038BORDER="0"
1039BGCOLOR="#E8E8F8"
1040WIDTH="100%"
1041CELLPADDING="6"
1042><TR
1043><TD
1044><PRE
1045CLASS="PROGRAMLISTING"
1046>typedef xmlNotation *xmlNotationPtr;</PRE
1047></TD
1048></TR
1049></TABLE
1050><P
1051></P
1052></DIV
1053><HR><DIV
1054CLASS="REFSECT2"
1055><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001056NAME="AEN1765"
Daniel Veillard35925471999-02-25 08:46:07 +00001057></A
1058><H3
1059><A
1060NAME="XMLATTRIBUTETYPE"
1061></A
1062>xmlAttributeType</H3
1063><TABLE
1064BORDER="0"
1065BGCOLOR="#E8E8F8"
1066WIDTH="100%"
1067CELLPADDING="6"
1068><TR
1069><TD
1070><PRE
1071CLASS="PROGRAMLISTING"
1072>typedef enum {
1073 XML_ATTRIBUTE_CDATA = 1,
1074 XML_ATTRIBUTE_ID,
1075 XML_ATTRIBUTE_IDREF ,
1076 XML_ATTRIBUTE_IDREFS,
1077 XML_ATTRIBUTE_ENTITY,
1078 XML_ATTRIBUTE_ENTITIES,
1079 XML_ATTRIBUTE_NMTOKEN,
1080 XML_ATTRIBUTE_NMTOKENS,
1081 XML_ATTRIBUTE_ENUMERATION,
1082 XML_ATTRIBUTE_NOTATION
1083} xmlAttributeType;</PRE
1084></TD
1085></TR
1086></TABLE
1087><P
1088></P
1089></DIV
1090><HR><DIV
1091CLASS="REFSECT2"
1092><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001093NAME="AEN1770"
Daniel Veillard35925471999-02-25 08:46:07 +00001094></A
1095><H3
1096><A
1097NAME="XMLATTRIBUTEDEFAULT"
1098></A
1099>xmlAttributeDefault</H3
1100><TABLE
1101BORDER="0"
1102BGCOLOR="#E8E8F8"
1103WIDTH="100%"
1104CELLPADDING="6"
1105><TR
1106><TD
1107><PRE
1108CLASS="PROGRAMLISTING"
1109>typedef enum {
1110 XML_ATTRIBUTE_NONE = 1,
1111 XML_ATTRIBUTE_REQUIRED,
1112 XML_ATTRIBUTE_IMPLIED,
1113 XML_ATTRIBUTE_FIXED
1114} xmlAttributeDefault;</PRE
1115></TD
1116></TR
1117></TABLE
1118><P
1119></P
1120></DIV
1121><HR><DIV
1122CLASS="REFSECT2"
1123><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001124NAME="AEN1775"
Daniel Veillard35925471999-02-25 08:46:07 +00001125></A
1126><H3
1127><A
1128NAME="XMLENUMERATIONPTR"
1129></A
1130>xmlEnumerationPtr</H3
1131><TABLE
1132BORDER="0"
1133BGCOLOR="#E8E8F8"
1134WIDTH="100%"
1135CELLPADDING="6"
1136><TR
1137><TD
1138><PRE
1139CLASS="PROGRAMLISTING"
1140>typedef xmlEnumeration *xmlEnumerationPtr;</PRE
1141></TD
1142></TR
1143></TABLE
1144><P
1145></P
1146></DIV
1147><HR><DIV
1148CLASS="REFSECT2"
1149><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001150NAME="AEN1780"
Daniel Veillard35925471999-02-25 08:46:07 +00001151></A
1152><H3
1153><A
1154NAME="XMLATTRIBUTEPTR"
1155></A
1156>xmlAttributePtr</H3
1157><TABLE
1158BORDER="0"
1159BGCOLOR="#E8E8F8"
1160WIDTH="100%"
1161CELLPADDING="6"
1162><TR
1163><TD
1164><PRE
1165CLASS="PROGRAMLISTING"
1166>typedef xmlAttribute *xmlAttributePtr;</PRE
1167></TD
1168></TR
1169></TABLE
1170><P
1171></P
1172></DIV
1173><HR><DIV
1174CLASS="REFSECT2"
1175><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001176NAME="AEN1785"
Daniel Veillard35925471999-02-25 08:46:07 +00001177></A
1178><H3
1179><A
1180NAME="XMLELEMENTCONTENTTYPE"
1181></A
1182>xmlElementContentType</H3
1183><TABLE
1184BORDER="0"
1185BGCOLOR="#E8E8F8"
1186WIDTH="100%"
1187CELLPADDING="6"
1188><TR
1189><TD
1190><PRE
1191CLASS="PROGRAMLISTING"
1192>typedef enum {
1193 XML_ELEMENT_CONTENT_PCDATA = 1,
1194 XML_ELEMENT_CONTENT_ELEMENT,
1195 XML_ELEMENT_CONTENT_SEQ,
1196 XML_ELEMENT_CONTENT_OR
1197} xmlElementContentType;</PRE
1198></TD
1199></TR
1200></TABLE
1201><P
1202></P
1203></DIV
1204><HR><DIV
1205CLASS="REFSECT2"
1206><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001207NAME="AEN1790"
Daniel Veillard35925471999-02-25 08:46:07 +00001208></A
1209><H3
1210><A
1211NAME="XMLELEMENTCONTENTOCCUR"
1212></A
1213>xmlElementContentOccur</H3
1214><TABLE
1215BORDER="0"
1216BGCOLOR="#E8E8F8"
1217WIDTH="100%"
1218CELLPADDING="6"
1219><TR
1220><TD
1221><PRE
1222CLASS="PROGRAMLISTING"
1223>typedef enum {
1224 XML_ELEMENT_CONTENT_ONCE = 1,
1225 XML_ELEMENT_CONTENT_OPT,
1226 XML_ELEMENT_CONTENT_MULT,
1227 XML_ELEMENT_CONTENT_PLUS
1228} xmlElementContentOccur;</PRE
1229></TD
1230></TR
1231></TABLE
1232><P
1233></P
1234></DIV
1235><HR><DIV
1236CLASS="REFSECT2"
1237><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001238NAME="AEN1795"
Daniel Veillard35925471999-02-25 08:46:07 +00001239></A
1240><H3
1241><A
1242NAME="XMLELEMENTCONTENTPTR"
1243></A
1244>xmlElementContentPtr</H3
1245><TABLE
1246BORDER="0"
1247BGCOLOR="#E8E8F8"
1248WIDTH="100%"
1249CELLPADDING="6"
1250><TR
1251><TD
1252><PRE
1253CLASS="PROGRAMLISTING"
1254>typedef xmlElementContent *xmlElementContentPtr;</PRE
1255></TD
1256></TR
1257></TABLE
1258><P
1259></P
1260></DIV
1261><HR><DIV
1262CLASS="REFSECT2"
1263><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001264NAME="AEN1800"
Daniel Veillard35925471999-02-25 08:46:07 +00001265></A
1266><H3
1267><A
1268NAME="XMLELEMENTTYPEVAL"
1269></A
1270>xmlElementTypeVal</H3
1271><TABLE
1272BORDER="0"
1273BGCOLOR="#E8E8F8"
1274WIDTH="100%"
1275CELLPADDING="6"
1276><TR
1277><TD
1278><PRE
1279CLASS="PROGRAMLISTING"
1280>typedef enum {
1281 XML_ELEMENT_TYPE_EMPTY = 1,
1282 XML_ELEMENT_TYPE_ANY,
1283 XML_ELEMENT_TYPE_MIXED,
1284 XML_ELEMENT_TYPE_ELEMENT
1285} xmlElementTypeVal;</PRE
1286></TD
1287></TR
1288></TABLE
1289><P
1290></P
1291></DIV
1292><HR><DIV
1293CLASS="REFSECT2"
1294><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001295NAME="AEN1805"
Daniel Veillard35925471999-02-25 08:46:07 +00001296></A
1297><H3
1298><A
1299NAME="XMLELEMENTPTR"
1300></A
1301>xmlElementPtr</H3
1302><TABLE
1303BORDER="0"
1304BGCOLOR="#E8E8F8"
1305WIDTH="100%"
1306CELLPADDING="6"
1307><TR
1308><TD
1309><PRE
1310CLASS="PROGRAMLISTING"
1311>typedef xmlElement *xmlElementPtr;</PRE
1312></TD
1313></TR
1314></TABLE
1315><P
1316></P
1317></DIV
1318><HR><DIV
1319CLASS="REFSECT2"
1320><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001321NAME="AEN1810"
Daniel Veillard35925471999-02-25 08:46:07 +00001322></A
1323><H3
1324><A
1325NAME="XMLNSTYPE"
1326></A
1327>xmlNsType</H3
1328><TABLE
1329BORDER="0"
1330BGCOLOR="#E8E8F8"
1331WIDTH="100%"
1332CELLPADDING="6"
1333><TR
1334><TD
1335><PRE
1336CLASS="PROGRAMLISTING"
1337>typedef enum {
1338 XML_GLOBAL_NAMESPACE = 1, /* old style global namespace */
1339 XML_LOCAL_NAMESPACE /* new style local scoping */
1340} xmlNsType;</PRE
1341></TD
1342></TR
1343></TABLE
1344><P
1345></P
1346></DIV
1347><HR><DIV
1348CLASS="REFSECT2"
1349><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001350NAME="AEN1815"
Daniel Veillard35925471999-02-25 08:46:07 +00001351></A
1352><H3
1353><A
1354NAME="XMLNSPTR"
1355></A
1356>xmlNsPtr</H3
1357><TABLE
1358BORDER="0"
1359BGCOLOR="#E8E8F8"
1360WIDTH="100%"
1361CELLPADDING="6"
1362><TR
1363><TD
1364><PRE
1365CLASS="PROGRAMLISTING"
1366>typedef xmlNs *xmlNsPtr;</PRE
1367></TD
1368></TR
1369></TABLE
1370><P
1371></P
1372></DIV
1373><HR><DIV
1374CLASS="REFSECT2"
1375><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001376NAME="AEN1820"
Daniel Veillard35925471999-02-25 08:46:07 +00001377></A
1378><H3
1379><A
1380NAME="XMLDTDPTR"
1381></A
1382>xmlDtdPtr</H3
1383><TABLE
1384BORDER="0"
1385BGCOLOR="#E8E8F8"
1386WIDTH="100%"
1387CELLPADDING="6"
1388><TR
1389><TD
1390><PRE
1391CLASS="PROGRAMLISTING"
1392>typedef xmlDtd *xmlDtdPtr;</PRE
1393></TD
1394></TR
1395></TABLE
1396><P
1397></P
1398></DIV
1399><HR><DIV
1400CLASS="REFSECT2"
1401><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001402NAME="AEN1825"
Daniel Veillard35925471999-02-25 08:46:07 +00001403></A
1404><H3
1405><A
1406NAME="XMLATTRPTR"
1407></A
1408>xmlAttrPtr</H3
1409><TABLE
1410BORDER="0"
1411BGCOLOR="#E8E8F8"
1412WIDTH="100%"
1413CELLPADDING="6"
1414><TR
1415><TD
1416><PRE
1417CLASS="PROGRAMLISTING"
1418>typedef xmlAttr *xmlAttrPtr;</PRE
1419></TD
1420></TR
1421></TABLE
1422><P
1423></P
1424></DIV
1425><HR><DIV
1426CLASS="REFSECT2"
1427><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001428NAME="AEN1830"
Daniel Veillard35925471999-02-25 08:46:07 +00001429></A
1430><H3
1431><A
1432NAME="XMLNODE"
1433></A
1434>xmlNode</H3
1435><TABLE
1436BORDER="0"
1437BGCOLOR="#E8E8F8"
1438WIDTH="100%"
1439CELLPADDING="6"
1440><TR
1441><TD
1442><PRE
1443CLASS="PROGRAMLISTING"
1444>typedef _xmlNode xmlNode;</PRE
1445></TD
1446></TR
1447></TABLE
1448><P
1449></P
1450></DIV
1451><HR><DIV
1452CLASS="REFSECT2"
1453><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001454NAME="AEN1835"
Daniel Veillard35925471999-02-25 08:46:07 +00001455></A
1456><H3
1457><A
1458NAME="XMLNODEPTR"
1459></A
1460>xmlNodePtr</H3
1461><TABLE
1462BORDER="0"
1463BGCOLOR="#E8E8F8"
1464WIDTH="100%"
1465CELLPADDING="6"
1466><TR
1467><TD
1468><PRE
1469CLASS="PROGRAMLISTING"
1470>typedef _xmlNode *xmlNodePtr;</PRE
1471></TD
1472></TR
1473></TABLE
1474><P
1475></P
1476></DIV
1477><HR><DIV
1478CLASS="REFSECT2"
1479><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001480NAME="AEN1840"
Daniel Veillard35925471999-02-25 08:46:07 +00001481></A
1482><H3
1483><A
1484NAME="XMLDOC"
1485></A
1486>xmlDoc</H3
1487><TABLE
1488BORDER="0"
1489BGCOLOR="#E8E8F8"
1490WIDTH="100%"
1491CELLPADDING="6"
1492><TR
1493><TD
1494><PRE
1495CLASS="PROGRAMLISTING"
1496>typedef _xmlDoc xmlDoc;</PRE
1497></TD
1498></TR
1499></TABLE
1500><P
1501></P
1502></DIV
1503><HR><DIV
1504CLASS="REFSECT2"
1505><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001506NAME="AEN1845"
Daniel Veillard35925471999-02-25 08:46:07 +00001507></A
1508><H3
1509><A
1510NAME="XMLDOCPTR"
1511></A
1512>xmlDocPtr</H3
1513><TABLE
1514BORDER="0"
1515BGCOLOR="#E8E8F8"
1516WIDTH="100%"
1517CELLPADDING="6"
1518><TR
1519><TD
1520><PRE
1521CLASS="PROGRAMLISTING"
1522>typedef xmlDoc *xmlDocPtr;</PRE
1523></TD
1524></TR
1525></TABLE
1526><P
1527></P
1528></DIV
1529><HR><DIV
1530CLASS="REFSECT2"
1531><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001532NAME="AEN1850"
1533></A
1534><H3
1535><A
1536NAME="XMLBUFFER"
1537></A
1538>xmlBuffer</H3
1539><TABLE
1540BORDER="0"
1541BGCOLOR="#E8E8F8"
1542WIDTH="100%"
1543CELLPADDING="6"
1544><TR
1545><TD
1546><PRE
1547CLASS="PROGRAMLISTING"
1548>typedef _xmlBuffer xmlBuffer;</PRE
1549></TD
1550></TR
1551></TABLE
1552><P
1553></P
1554></DIV
1555><HR><DIV
1556CLASS="REFSECT2"
1557><A
1558NAME="AEN1855"
1559></A
1560><H3
1561><A
1562NAME="XMLBUFFERPTR"
1563></A
1564>xmlBufferPtr</H3
1565><TABLE
1566BORDER="0"
1567BGCOLOR="#E8E8F8"
1568WIDTH="100%"
1569CELLPADDING="6"
1570><TR
1571><TD
1572><PRE
1573CLASS="PROGRAMLISTING"
1574>typedef xmlBuffer *xmlBufferPtr;</PRE
1575></TD
1576></TR
1577></TABLE
1578><P
1579></P
1580></DIV
1581><HR><DIV
1582CLASS="REFSECT2"
1583><A
1584NAME="AEN1860"
1585></A
1586><H3
1587><A
1588NAME="XMLBUFFERCREATE"
1589></A
1590>xmlBufferCreate()</H3
1591><TABLE
1592BORDER="0"
1593BGCOLOR="#E8E8F8"
1594WIDTH="100%"
1595CELLPADDING="6"
1596><TR
1597><TD
1598><PRE
1599CLASS="PROGRAMLISTING"
1600><A
1601HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1602>xmlBufferPtr</A
1603> xmlBufferCreate (void);</PRE
1604></TD
1605></TR
1606></TABLE
1607><P
1608>routine to create an XML buffer.</P
1609><P
1610></P
1611><DIV
1612CLASS="INFORMALTABLE"
1613><P
1614></P
1615><TABLE
1616BORDER="0"
1617WIDTH="100%"
1618BGCOLOR="#FFE0E0"
1619CELLSPACING="0"
1620CELLPADDING="4"
1621CLASS="CALSTABLE"
1622><TR
1623><TD
1624WIDTH="20%"
1625ALIGN="RIGHT"
1626VALIGN="TOP"
1627><I
1628CLASS="EMPHASIS"
1629>Returns</I
1630> :</TD
1631><TD
1632WIDTH="80%"
1633ALIGN="LEFT"
1634VALIGN="TOP"
1635>the new structure.</TD
1636></TR
1637></TABLE
1638><P
1639></P
1640></DIV
1641></DIV
1642><HR><DIV
1643CLASS="REFSECT2"
1644><A
1645NAME="AEN1876"
1646></A
1647><H3
1648><A
1649NAME="XMLBUFFERFREE"
1650></A
1651>xmlBufferFree()</H3
1652><TABLE
1653BORDER="0"
1654BGCOLOR="#E8E8F8"
1655WIDTH="100%"
1656CELLPADDING="6"
1657><TR
1658><TD
1659><PRE
1660CLASS="PROGRAMLISTING"
1661>void xmlBufferFree (<A
1662HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1663>xmlBufferPtr</A
1664> buf);</PRE
1665></TD
1666></TR
1667></TABLE
1668><P
1669>Frees an XML buffer.</P
1670><P
1671></P
1672><DIV
1673CLASS="INFORMALTABLE"
1674><P
1675></P
1676><TABLE
1677BORDER="0"
1678WIDTH="100%"
1679BGCOLOR="#FFE0E0"
1680CELLSPACING="0"
1681CELLPADDING="4"
1682CLASS="CALSTABLE"
1683><TR
1684><TD
1685WIDTH="20%"
1686ALIGN="RIGHT"
1687VALIGN="TOP"
1688><TT
1689CLASS="PARAMETER"
1690><I
1691>buf</I
1692></TT
1693>&nbsp;:</TD
1694><TD
1695WIDTH="80%"
1696ALIGN="LEFT"
1697VALIGN="TOP"
1698> the buffer to free</TD
1699></TR
1700></TABLE
1701><P
1702></P
1703></DIV
1704></DIV
1705><HR><DIV
1706CLASS="REFSECT2"
1707><A
1708NAME="AEN1892"
1709></A
1710><H3
1711><A
1712NAME="XMLBUFFERDUMP"
1713></A
1714>xmlBufferDump()</H3
1715><TABLE
1716BORDER="0"
1717BGCOLOR="#E8E8F8"
1718WIDTH="100%"
1719CELLPADDING="6"
1720><TR
1721><TD
1722><PRE
1723CLASS="PROGRAMLISTING"
1724>int xmlBufferDump (<GTKDOCLINK
1725HREF="FILE"
1726>FILE</GTKDOCLINK
1727> *file,
1728 <A
1729HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1730>xmlBufferPtr</A
1731> buf);</PRE
1732></TD
1733></TR
1734></TABLE
1735><P
1736>Dumps an XML buffer to a FILE *.</P
1737><P
1738></P
1739><DIV
1740CLASS="INFORMALTABLE"
1741><P
1742></P
1743><TABLE
1744BORDER="0"
1745WIDTH="100%"
1746BGCOLOR="#FFE0E0"
1747CELLSPACING="0"
1748CELLPADDING="4"
1749CLASS="CALSTABLE"
1750><TR
1751><TD
1752WIDTH="20%"
1753ALIGN="RIGHT"
1754VALIGN="TOP"
1755><TT
1756CLASS="PARAMETER"
1757><I
1758>file</I
1759></TT
1760>&nbsp;:</TD
1761><TD
1762WIDTH="80%"
1763ALIGN="LEFT"
1764VALIGN="TOP"
1765> the file output</TD
1766></TR
1767><TR
1768><TD
1769WIDTH="20%"
1770ALIGN="RIGHT"
1771VALIGN="TOP"
1772><TT
1773CLASS="PARAMETER"
1774><I
1775>buf</I
1776></TT
1777>&nbsp;:</TD
1778><TD
1779WIDTH="80%"
1780ALIGN="LEFT"
1781VALIGN="TOP"
1782> the buffer to dump</TD
1783></TR
1784><TR
1785><TD
1786WIDTH="20%"
1787ALIGN="RIGHT"
1788VALIGN="TOP"
1789><I
1790CLASS="EMPHASIS"
1791>Returns</I
1792> :</TD
1793><TD
1794WIDTH="80%"
1795ALIGN="LEFT"
1796VALIGN="TOP"
1797>the number of CHAR written</TD
1798></TR
1799></TABLE
1800><P
1801></P
1802></DIV
1803></DIV
1804><HR><DIV
1805CLASS="REFSECT2"
1806><A
1807NAME="AEN1917"
1808></A
1809><H3
1810><A
1811NAME="XMLBUFFERADD"
1812></A
1813>xmlBufferAdd()</H3
1814><TABLE
1815BORDER="0"
1816BGCOLOR="#E8E8F8"
1817WIDTH="100%"
1818CELLPADDING="6"
1819><TR
1820><TD
1821><PRE
1822CLASS="PROGRAMLISTING"
1823>void xmlBufferAdd (<A
1824HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1825>xmlBufferPtr</A
1826> buf,
1827 const <A
1828HREF="gnome-xml-tree.html#CHAR"
1829>CHAR</A
1830> *str,
1831 int len);</PRE
1832></TD
1833></TR
1834></TABLE
1835><P
1836>Add a string range to an XML buffer.</P
1837><P
1838></P
1839><DIV
1840CLASS="INFORMALTABLE"
1841><P
1842></P
1843><TABLE
1844BORDER="0"
1845WIDTH="100%"
1846BGCOLOR="#FFE0E0"
1847CELLSPACING="0"
1848CELLPADDING="4"
1849CLASS="CALSTABLE"
1850><TR
1851><TD
1852WIDTH="20%"
1853ALIGN="RIGHT"
1854VALIGN="TOP"
1855><TT
1856CLASS="PARAMETER"
1857><I
1858>buf</I
1859></TT
1860>&nbsp;:</TD
1861><TD
1862WIDTH="80%"
1863ALIGN="LEFT"
1864VALIGN="TOP"
1865> the buffer to dump</TD
1866></TR
1867><TR
1868><TD
1869WIDTH="20%"
1870ALIGN="RIGHT"
1871VALIGN="TOP"
1872><TT
1873CLASS="PARAMETER"
1874><I
1875>str</I
1876></TT
1877>&nbsp;:</TD
1878><TD
1879WIDTH="80%"
1880ALIGN="LEFT"
1881VALIGN="TOP"
1882> the CHAR string</TD
1883></TR
1884><TR
1885><TD
1886WIDTH="20%"
1887ALIGN="RIGHT"
1888VALIGN="TOP"
1889><TT
1890CLASS="PARAMETER"
1891><I
1892>len</I
1893></TT
1894>&nbsp;:</TD
1895><TD
1896WIDTH="80%"
1897ALIGN="LEFT"
1898VALIGN="TOP"
1899> the number of CHAR to add</TD
1900></TR
1901></TABLE
1902><P
1903></P
1904></DIV
1905></DIV
1906><HR><DIV
1907CLASS="REFSECT2"
1908><A
1909NAME="AEN1942"
1910></A
1911><H3
1912><A
1913NAME="XMLBUFFERCAT"
1914></A
1915>xmlBufferCat()</H3
1916><TABLE
1917BORDER="0"
1918BGCOLOR="#E8E8F8"
1919WIDTH="100%"
1920CELLPADDING="6"
1921><TR
1922><TD
1923><PRE
1924CLASS="PROGRAMLISTING"
1925>void xmlBufferCat (<A
1926HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1927>xmlBufferPtr</A
1928> buf,
1929 const <A
1930HREF="gnome-xml-tree.html#CHAR"
1931>CHAR</A
1932> *str);</PRE
1933></TD
1934></TR
1935></TABLE
1936><P
1937>Append a zero terminated string to an XML buffer.</P
1938><P
1939></P
1940><DIV
1941CLASS="INFORMALTABLE"
1942><P
1943></P
1944><TABLE
1945BORDER="0"
1946WIDTH="100%"
1947BGCOLOR="#FFE0E0"
1948CELLSPACING="0"
1949CELLPADDING="4"
1950CLASS="CALSTABLE"
1951><TR
1952><TD
1953WIDTH="20%"
1954ALIGN="RIGHT"
1955VALIGN="TOP"
1956><TT
1957CLASS="PARAMETER"
1958><I
1959>buf</I
1960></TT
1961>&nbsp;:</TD
1962><TD
1963WIDTH="80%"
1964ALIGN="LEFT"
1965VALIGN="TOP"
1966> the buffer to dump</TD
1967></TR
1968><TR
1969><TD
1970WIDTH="20%"
1971ALIGN="RIGHT"
1972VALIGN="TOP"
1973><TT
1974CLASS="PARAMETER"
1975><I
1976>str</I
1977></TT
1978>&nbsp;:</TD
1979><TD
1980WIDTH="80%"
1981ALIGN="LEFT"
1982VALIGN="TOP"
1983> the CHAR string</TD
1984></TR
1985></TABLE
1986><P
1987></P
1988></DIV
1989></DIV
1990><HR><DIV
1991CLASS="REFSECT2"
1992><A
1993NAME="AEN1963"
1994></A
1995><H3
1996><A
1997NAME="XMLBUFFERCCAT"
1998></A
1999>xmlBufferCCat()</H3
2000><TABLE
2001BORDER="0"
2002BGCOLOR="#E8E8F8"
2003WIDTH="100%"
2004CELLPADDING="6"
2005><TR
2006><TD
2007><PRE
2008CLASS="PROGRAMLISTING"
2009>void xmlBufferCCat (<A
2010HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2011>xmlBufferPtr</A
2012> buf,
2013 const char *str);</PRE
2014></TD
2015></TR
2016></TABLE
2017><P
2018>Append a zero terminated C string to an XML buffer.</P
2019><P
2020></P
2021><DIV
2022CLASS="INFORMALTABLE"
2023><P
2024></P
2025><TABLE
2026BORDER="0"
2027WIDTH="100%"
2028BGCOLOR="#FFE0E0"
2029CELLSPACING="0"
2030CELLPADDING="4"
2031CLASS="CALSTABLE"
2032><TR
2033><TD
2034WIDTH="20%"
2035ALIGN="RIGHT"
2036VALIGN="TOP"
2037><TT
2038CLASS="PARAMETER"
2039><I
2040>buf</I
2041></TT
2042>&nbsp;:</TD
2043><TD
2044WIDTH="80%"
2045ALIGN="LEFT"
2046VALIGN="TOP"
2047> the buffer to dump</TD
2048></TR
2049><TR
2050><TD
2051WIDTH="20%"
2052ALIGN="RIGHT"
2053VALIGN="TOP"
2054><TT
2055CLASS="PARAMETER"
2056><I
2057>str</I
2058></TT
2059>&nbsp;:</TD
2060><TD
2061WIDTH="80%"
2062ALIGN="LEFT"
2063VALIGN="TOP"
2064> the C char string</TD
2065></TR
2066></TABLE
2067><P
2068></P
2069></DIV
2070></DIV
2071><HR><DIV
2072CLASS="REFSECT2"
2073><A
2074NAME="AEN1983"
Daniel Veillard35925471999-02-25 08:46:07 +00002075></A
2076><H3
2077><A
2078NAME="XMLCREATEINTSUBSET"
2079></A
2080>xmlCreateIntSubset()</H3
2081><TABLE
2082BORDER="0"
2083BGCOLOR="#E8E8F8"
2084WIDTH="100%"
2085CELLPADDING="6"
2086><TR
2087><TD
2088><PRE
2089CLASS="PROGRAMLISTING"
2090><A
2091HREF="gnome-xml-tree.html#XMLDTDPTR"
2092>xmlDtdPtr</A
2093> xmlCreateIntSubset (<A
2094HREF="gnome-xml-tree.html#XMLDOCPTR"
2095>xmlDocPtr</A
2096> doc,
2097 const <A
2098HREF="gnome-xml-tree.html#CHAR"
2099>CHAR</A
2100> *name,
2101 const <A
2102HREF="gnome-xml-tree.html#CHAR"
2103>CHAR</A
2104> *ExternalID,
2105 const <A
2106HREF="gnome-xml-tree.html#CHAR"
2107>CHAR</A
2108> *SystemID);</PRE
2109></TD
2110></TR
2111></TABLE
2112><P
2113>Create the internal subset of a document</P
2114><P
2115></P
2116><DIV
2117CLASS="INFORMALTABLE"
2118><P
2119></P
2120><TABLE
2121BORDER="0"
2122WIDTH="100%"
2123BGCOLOR="#FFE0E0"
2124CELLSPACING="0"
2125CELLPADDING="4"
2126CLASS="CALSTABLE"
2127><TR
2128><TD
2129WIDTH="20%"
2130ALIGN="RIGHT"
2131VALIGN="TOP"
2132><TT
2133CLASS="PARAMETER"
2134><I
2135>doc</I
2136></TT
2137>&nbsp;:</TD
2138><TD
2139WIDTH="80%"
2140ALIGN="LEFT"
2141VALIGN="TOP"
2142> the document pointer</TD
2143></TR
2144><TR
2145><TD
2146WIDTH="20%"
2147ALIGN="RIGHT"
2148VALIGN="TOP"
2149><TT
2150CLASS="PARAMETER"
2151><I
2152>name</I
2153></TT
2154>&nbsp;:</TD
2155><TD
2156WIDTH="80%"
2157ALIGN="LEFT"
2158VALIGN="TOP"
2159> the DTD name</TD
2160></TR
2161><TR
2162><TD
2163WIDTH="20%"
2164ALIGN="RIGHT"
2165VALIGN="TOP"
2166><TT
2167CLASS="PARAMETER"
2168><I
2169>ExternalID</I
2170></TT
2171>&nbsp;:</TD
2172><TD
2173WIDTH="80%"
2174ALIGN="LEFT"
2175VALIGN="TOP"
2176> the external ID</TD
2177></TR
2178><TR
2179><TD
2180WIDTH="20%"
2181ALIGN="RIGHT"
2182VALIGN="TOP"
2183><TT
2184CLASS="PARAMETER"
2185><I
2186>SystemID</I
2187></TT
2188>&nbsp;:</TD
2189><TD
2190WIDTH="80%"
2191ALIGN="LEFT"
2192VALIGN="TOP"
2193> the system ID</TD
2194></TR
2195><TR
2196><TD
2197WIDTH="20%"
2198ALIGN="RIGHT"
2199VALIGN="TOP"
2200><I
2201CLASS="EMPHASIS"
2202>Returns</I
2203> :</TD
2204><TD
2205WIDTH="80%"
2206ALIGN="LEFT"
2207VALIGN="TOP"
2208>a pointer to the new DTD structure</TD
2209></TR
2210></TABLE
2211><P
2212></P
2213></DIV
2214></DIV
2215><HR><DIV
2216CLASS="REFSECT2"
2217><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002218NAME="AEN2019"
Daniel Veillard35925471999-02-25 08:46:07 +00002219></A
2220><H3
2221><A
2222NAME="XMLNEWDTD"
2223></A
2224>xmlNewDtd()</H3
2225><TABLE
2226BORDER="0"
2227BGCOLOR="#E8E8F8"
2228WIDTH="100%"
2229CELLPADDING="6"
2230><TR
2231><TD
2232><PRE
2233CLASS="PROGRAMLISTING"
2234><A
2235HREF="gnome-xml-tree.html#XMLDTDPTR"
2236>xmlDtdPtr</A
2237> xmlNewDtd (<A
2238HREF="gnome-xml-tree.html#XMLDOCPTR"
2239>xmlDocPtr</A
2240> doc,
2241 const <A
2242HREF="gnome-xml-tree.html#CHAR"
2243>CHAR</A
2244> *name,
2245 const <A
2246HREF="gnome-xml-tree.html#CHAR"
2247>CHAR</A
2248> *ExternalID,
2249 const <A
2250HREF="gnome-xml-tree.html#CHAR"
2251>CHAR</A
2252> *SystemID);</PRE
2253></TD
2254></TR
2255></TABLE
2256><P
2257>Creation of a new DTD.</P
2258><P
2259></P
2260><DIV
2261CLASS="INFORMALTABLE"
2262><P
2263></P
2264><TABLE
2265BORDER="0"
2266WIDTH="100%"
2267BGCOLOR="#FFE0E0"
2268CELLSPACING="0"
2269CELLPADDING="4"
2270CLASS="CALSTABLE"
2271><TR
2272><TD
2273WIDTH="20%"
2274ALIGN="RIGHT"
2275VALIGN="TOP"
2276><TT
2277CLASS="PARAMETER"
2278><I
2279>doc</I
2280></TT
2281>&nbsp;:</TD
2282><TD
2283WIDTH="80%"
2284ALIGN="LEFT"
2285VALIGN="TOP"
2286> the document pointer</TD
2287></TR
2288><TR
2289><TD
2290WIDTH="20%"
2291ALIGN="RIGHT"
2292VALIGN="TOP"
2293><TT
2294CLASS="PARAMETER"
2295><I
2296>name</I
2297></TT
2298>&nbsp;:</TD
2299><TD
2300WIDTH="80%"
2301ALIGN="LEFT"
2302VALIGN="TOP"
2303> the DTD name</TD
2304></TR
2305><TR
2306><TD
2307WIDTH="20%"
2308ALIGN="RIGHT"
2309VALIGN="TOP"
2310><TT
2311CLASS="PARAMETER"
2312><I
2313>ExternalID</I
2314></TT
2315>&nbsp;:</TD
2316><TD
2317WIDTH="80%"
2318ALIGN="LEFT"
2319VALIGN="TOP"
2320> the external ID</TD
2321></TR
2322><TR
2323><TD
2324WIDTH="20%"
2325ALIGN="RIGHT"
2326VALIGN="TOP"
2327><TT
2328CLASS="PARAMETER"
2329><I
2330>SystemID</I
2331></TT
2332>&nbsp;:</TD
2333><TD
2334WIDTH="80%"
2335ALIGN="LEFT"
2336VALIGN="TOP"
2337> the system ID</TD
2338></TR
2339><TR
2340><TD
2341WIDTH="20%"
2342ALIGN="RIGHT"
2343VALIGN="TOP"
2344><I
2345CLASS="EMPHASIS"
2346>Returns</I
2347> :</TD
2348><TD
2349WIDTH="80%"
2350ALIGN="LEFT"
2351VALIGN="TOP"
2352>a pointer to the new DTD structure</TD
2353></TR
2354></TABLE
2355><P
2356></P
2357></DIV
2358></DIV
2359><HR><DIV
2360CLASS="REFSECT2"
2361><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002362NAME="AEN2055"
Daniel Veillard35925471999-02-25 08:46:07 +00002363></A
2364><H3
2365><A
2366NAME="XMLFREEDTD"
2367></A
2368>xmlFreeDtd()</H3
2369><TABLE
2370BORDER="0"
2371BGCOLOR="#E8E8F8"
2372WIDTH="100%"
2373CELLPADDING="6"
2374><TR
2375><TD
2376><PRE
2377CLASS="PROGRAMLISTING"
2378>void xmlFreeDtd (<A
2379HREF="gnome-xml-tree.html#XMLDTDPTR"
2380>xmlDtdPtr</A
2381> cur);</PRE
2382></TD
2383></TR
2384></TABLE
2385><P
2386>Free a DTD structure.</P
2387><P
2388></P
2389><DIV
2390CLASS="INFORMALTABLE"
2391><P
2392></P
2393><TABLE
2394BORDER="0"
2395WIDTH="100%"
2396BGCOLOR="#FFE0E0"
2397CELLSPACING="0"
2398CELLPADDING="4"
2399CLASS="CALSTABLE"
2400><TR
2401><TD
2402WIDTH="20%"
2403ALIGN="RIGHT"
2404VALIGN="TOP"
2405><TT
2406CLASS="PARAMETER"
2407><I
2408>cur</I
2409></TT
2410>&nbsp;:</TD
2411><TD
2412WIDTH="80%"
2413ALIGN="LEFT"
2414VALIGN="TOP"
2415> the DTD structure to free up</TD
2416></TR
2417></TABLE
2418><P
2419></P
2420></DIV
2421></DIV
2422><HR><DIV
2423CLASS="REFSECT2"
2424><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002425NAME="AEN2071"
Daniel Veillard35925471999-02-25 08:46:07 +00002426></A
2427><H3
2428><A
2429NAME="XMLNEWGLOBALNS"
2430></A
2431>xmlNewGlobalNs()</H3
2432><TABLE
2433BORDER="0"
2434BGCOLOR="#E8E8F8"
2435WIDTH="100%"
2436CELLPADDING="6"
2437><TR
2438><TD
2439><PRE
2440CLASS="PROGRAMLISTING"
2441><A
2442HREF="gnome-xml-tree.html#XMLNSPTR"
2443>xmlNsPtr</A
2444> xmlNewGlobalNs (<A
2445HREF="gnome-xml-tree.html#XMLDOCPTR"
2446>xmlDocPtr</A
2447> doc,
2448 const <A
2449HREF="gnome-xml-tree.html#CHAR"
2450>CHAR</A
2451> *href,
2452 const <A
2453HREF="gnome-xml-tree.html#CHAR"
2454>CHAR</A
2455> *prefix);</PRE
2456></TD
2457></TR
2458></TABLE
2459><P
2460>Creation of a Namespace, the old way using PI and without scoping, to AVOID.</P
2461><P
2462></P
2463><DIV
2464CLASS="INFORMALTABLE"
2465><P
2466></P
2467><TABLE
2468BORDER="0"
2469WIDTH="100%"
2470BGCOLOR="#FFE0E0"
2471CELLSPACING="0"
2472CELLPADDING="4"
2473CLASS="CALSTABLE"
2474><TR
2475><TD
2476WIDTH="20%"
2477ALIGN="RIGHT"
2478VALIGN="TOP"
2479><TT
2480CLASS="PARAMETER"
2481><I
2482>doc</I
2483></TT
2484>&nbsp;:</TD
2485><TD
2486WIDTH="80%"
2487ALIGN="LEFT"
2488VALIGN="TOP"
2489> the document carrying the namespace</TD
2490></TR
2491><TR
2492><TD
2493WIDTH="20%"
2494ALIGN="RIGHT"
2495VALIGN="TOP"
2496><TT
2497CLASS="PARAMETER"
2498><I
2499>href</I
2500></TT
2501>&nbsp;:</TD
2502><TD
2503WIDTH="80%"
2504ALIGN="LEFT"
2505VALIGN="TOP"
2506> the URI associated</TD
2507></TR
2508><TR
2509><TD
2510WIDTH="20%"
2511ALIGN="RIGHT"
2512VALIGN="TOP"
2513><TT
2514CLASS="PARAMETER"
2515><I
2516>prefix</I
2517></TT
2518>&nbsp;:</TD
2519><TD
2520WIDTH="80%"
2521ALIGN="LEFT"
2522VALIGN="TOP"
2523> the prefix for the namespace</TD
2524></TR
2525><TR
2526><TD
2527WIDTH="20%"
2528ALIGN="RIGHT"
2529VALIGN="TOP"
2530><I
2531CLASS="EMPHASIS"
2532>Returns</I
2533> :</TD
2534><TD
2535WIDTH="80%"
2536ALIGN="LEFT"
2537VALIGN="TOP"
2538>returns a new namespace pointer</TD
2539></TR
2540></TABLE
2541><P
2542></P
2543></DIV
2544></DIV
2545><HR><DIV
2546CLASS="REFSECT2"
2547><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002548NAME="AEN2102"
Daniel Veillard35925471999-02-25 08:46:07 +00002549></A
2550><H3
2551><A
2552NAME="XMLNEWNS"
2553></A
2554>xmlNewNs()</H3
2555><TABLE
2556BORDER="0"
2557BGCOLOR="#E8E8F8"
2558WIDTH="100%"
2559CELLPADDING="6"
2560><TR
2561><TD
2562><PRE
2563CLASS="PROGRAMLISTING"
2564><A
2565HREF="gnome-xml-tree.html#XMLNSPTR"
2566>xmlNsPtr</A
2567> xmlNewNs (<A
2568HREF="gnome-xml-tree.html#XMLNODEPTR"
2569>xmlNodePtr</A
2570> node,
2571 const <A
2572HREF="gnome-xml-tree.html#CHAR"
2573>CHAR</A
2574> *href,
2575 const <A
2576HREF="gnome-xml-tree.html#CHAR"
2577>CHAR</A
2578> *prefix);</PRE
2579></TD
2580></TR
2581></TABLE
2582><P
2583>Creation of a new Namespace.</P
2584><P
2585></P
2586><DIV
2587CLASS="INFORMALTABLE"
2588><P
2589></P
2590><TABLE
2591BORDER="0"
2592WIDTH="100%"
2593BGCOLOR="#FFE0E0"
2594CELLSPACING="0"
2595CELLPADDING="4"
2596CLASS="CALSTABLE"
2597><TR
2598><TD
2599WIDTH="20%"
2600ALIGN="RIGHT"
2601VALIGN="TOP"
2602><TT
2603CLASS="PARAMETER"
2604><I
2605>node</I
2606></TT
2607>&nbsp;:</TD
2608><TD
2609WIDTH="80%"
2610ALIGN="LEFT"
2611VALIGN="TOP"
2612> the element carrying the namespace</TD
2613></TR
2614><TR
2615><TD
2616WIDTH="20%"
2617ALIGN="RIGHT"
2618VALIGN="TOP"
2619><TT
2620CLASS="PARAMETER"
2621><I
2622>href</I
2623></TT
2624>&nbsp;:</TD
2625><TD
2626WIDTH="80%"
2627ALIGN="LEFT"
2628VALIGN="TOP"
2629> the URI associated</TD
2630></TR
2631><TR
2632><TD
2633WIDTH="20%"
2634ALIGN="RIGHT"
2635VALIGN="TOP"
2636><TT
2637CLASS="PARAMETER"
2638><I
2639>prefix</I
2640></TT
2641>&nbsp;:</TD
2642><TD
2643WIDTH="80%"
2644ALIGN="LEFT"
2645VALIGN="TOP"
2646> the prefix for the namespace</TD
2647></TR
2648><TR
2649><TD
2650WIDTH="20%"
2651ALIGN="RIGHT"
2652VALIGN="TOP"
2653><I
2654CLASS="EMPHASIS"
2655>Returns</I
2656> :</TD
2657><TD
2658WIDTH="80%"
2659ALIGN="LEFT"
2660VALIGN="TOP"
2661>returns a new namespace pointer</TD
2662></TR
2663></TABLE
2664><P
2665></P
2666></DIV
2667></DIV
2668><HR><DIV
2669CLASS="REFSECT2"
2670><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002671NAME="AEN2133"
Daniel Veillard35925471999-02-25 08:46:07 +00002672></A
2673><H3
2674><A
2675NAME="XMLFREENS"
2676></A
2677>xmlFreeNs()</H3
2678><TABLE
2679BORDER="0"
2680BGCOLOR="#E8E8F8"
2681WIDTH="100%"
2682CELLPADDING="6"
2683><TR
2684><TD
2685><PRE
2686CLASS="PROGRAMLISTING"
2687>void xmlFreeNs (<A
2688HREF="gnome-xml-tree.html#XMLNSPTR"
2689>xmlNsPtr</A
2690> cur);</PRE
2691></TD
2692></TR
2693></TABLE
2694><P
2695>Free up the structures associated to a namespace</P
2696><P
2697></P
2698><DIV
2699CLASS="INFORMALTABLE"
2700><P
2701></P
2702><TABLE
2703BORDER="0"
2704WIDTH="100%"
2705BGCOLOR="#FFE0E0"
2706CELLSPACING="0"
2707CELLPADDING="4"
2708CLASS="CALSTABLE"
2709><TR
2710><TD
2711WIDTH="20%"
2712ALIGN="RIGHT"
2713VALIGN="TOP"
2714><TT
2715CLASS="PARAMETER"
2716><I
2717>cur</I
2718></TT
2719>&nbsp;:</TD
2720><TD
2721WIDTH="80%"
2722ALIGN="LEFT"
2723VALIGN="TOP"
2724> the namespace pointer</TD
2725></TR
2726></TABLE
2727><P
2728></P
2729></DIV
2730></DIV
2731><HR><DIV
2732CLASS="REFSECT2"
2733><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002734NAME="AEN2149"
Daniel Veillard35925471999-02-25 08:46:07 +00002735></A
2736><H3
2737><A
2738NAME="XMLNEWDOC"
2739></A
2740>xmlNewDoc()</H3
2741><TABLE
2742BORDER="0"
2743BGCOLOR="#E8E8F8"
2744WIDTH="100%"
2745CELLPADDING="6"
2746><TR
2747><TD
2748><PRE
2749CLASS="PROGRAMLISTING"
2750><A
2751HREF="gnome-xml-tree.html#XMLDOCPTR"
2752>xmlDocPtr</A
2753> xmlNewDoc (const <A
2754HREF="gnome-xml-tree.html#CHAR"
2755>CHAR</A
2756> *version);</PRE
2757></TD
2758></TR
2759></TABLE
2760><P
2761></P
2762><P
2763></P
2764><DIV
2765CLASS="INFORMALTABLE"
2766><P
2767></P
2768><TABLE
2769BORDER="0"
2770WIDTH="100%"
2771BGCOLOR="#FFE0E0"
2772CELLSPACING="0"
2773CELLPADDING="4"
2774CLASS="CALSTABLE"
2775><TR
2776><TD
2777WIDTH="20%"
2778ALIGN="RIGHT"
2779VALIGN="TOP"
2780><TT
2781CLASS="PARAMETER"
2782><I
2783>version</I
2784></TT
2785>&nbsp;:</TD
2786><TD
2787WIDTH="80%"
2788ALIGN="LEFT"
2789VALIGN="TOP"
2790> CHAR string giving the version of XML "1.0"</TD
2791></TR
2792><TR
2793><TD
2794WIDTH="20%"
2795ALIGN="RIGHT"
2796VALIGN="TOP"
2797><I
2798CLASS="EMPHASIS"
2799>Returns</I
2800> :</TD
2801><TD
2802WIDTH="80%"
2803ALIGN="LEFT"
2804VALIGN="TOP"
2805>a new document</TD
2806></TR
2807></TABLE
2808><P
2809></P
2810></DIV
2811></DIV
2812><HR><DIV
2813CLASS="REFSECT2"
2814><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002815NAME="AEN2170"
Daniel Veillard35925471999-02-25 08:46:07 +00002816></A
2817><H3
2818><A
2819NAME="XMLFREEDOC"
2820></A
2821>xmlFreeDoc()</H3
2822><TABLE
2823BORDER="0"
2824BGCOLOR="#E8E8F8"
2825WIDTH="100%"
2826CELLPADDING="6"
2827><TR
2828><TD
2829><PRE
2830CLASS="PROGRAMLISTING"
2831>void xmlFreeDoc (<A
2832HREF="gnome-xml-tree.html#XMLDOCPTR"
2833>xmlDocPtr</A
2834> cur);</PRE
2835></TD
2836></TR
2837></TABLE
2838><P
2839>Free up all the structures used by a document, tree included.</P
2840><P
2841></P
2842><DIV
2843CLASS="INFORMALTABLE"
2844><P
2845></P
2846><TABLE
2847BORDER="0"
2848WIDTH="100%"
2849BGCOLOR="#FFE0E0"
2850CELLSPACING="0"
2851CELLPADDING="4"
2852CLASS="CALSTABLE"
2853><TR
2854><TD
2855WIDTH="20%"
2856ALIGN="RIGHT"
2857VALIGN="TOP"
2858><TT
2859CLASS="PARAMETER"
2860><I
2861>cur</I
2862></TT
2863>&nbsp;:</TD
2864><TD
2865WIDTH="80%"
2866ALIGN="LEFT"
2867VALIGN="TOP"
2868> pointer to the document
2869@: </TD
2870></TR
2871></TABLE
2872><P
2873></P
2874></DIV
2875></DIV
2876><HR><DIV
2877CLASS="REFSECT2"
2878><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002879NAME="AEN2186"
Daniel Veillard35925471999-02-25 08:46:07 +00002880></A
2881><H3
2882><A
2883NAME="XMLNEWDOCPROP"
2884></A
2885>xmlNewDocProp()</H3
2886><TABLE
2887BORDER="0"
2888BGCOLOR="#E8E8F8"
2889WIDTH="100%"
2890CELLPADDING="6"
2891><TR
2892><TD
2893><PRE
2894CLASS="PROGRAMLISTING"
2895><A
2896HREF="gnome-xml-tree.html#XMLATTRPTR"
2897>xmlAttrPtr</A
2898> xmlNewDocProp (<A
2899HREF="gnome-xml-tree.html#XMLDOCPTR"
2900>xmlDocPtr</A
2901> doc,
2902 const <A
2903HREF="gnome-xml-tree.html#CHAR"
2904>CHAR</A
2905> *name,
2906 const <A
2907HREF="gnome-xml-tree.html#CHAR"
2908>CHAR</A
2909> *value);</PRE
2910></TD
2911></TR
2912></TABLE
2913><P
2914>Create a new property carried by a document.</P
2915><P
2916></P
2917><DIV
2918CLASS="INFORMALTABLE"
2919><P
2920></P
2921><TABLE
2922BORDER="0"
2923WIDTH="100%"
2924BGCOLOR="#FFE0E0"
2925CELLSPACING="0"
2926CELLPADDING="4"
2927CLASS="CALSTABLE"
2928><TR
2929><TD
2930WIDTH="20%"
2931ALIGN="RIGHT"
2932VALIGN="TOP"
2933><TT
2934CLASS="PARAMETER"
2935><I
2936>doc</I
2937></TT
2938>&nbsp;:</TD
2939><TD
2940WIDTH="80%"
2941ALIGN="LEFT"
2942VALIGN="TOP"
2943> the document</TD
2944></TR
2945><TR
2946><TD
2947WIDTH="20%"
2948ALIGN="RIGHT"
2949VALIGN="TOP"
2950><TT
2951CLASS="PARAMETER"
2952><I
2953>name</I
2954></TT
2955>&nbsp;:</TD
2956><TD
2957WIDTH="80%"
2958ALIGN="LEFT"
2959VALIGN="TOP"
2960> the name of the attribute</TD
2961></TR
2962><TR
2963><TD
2964WIDTH="20%"
2965ALIGN="RIGHT"
2966VALIGN="TOP"
2967><TT
2968CLASS="PARAMETER"
2969><I
2970>value</I
2971></TT
2972>&nbsp;:</TD
2973><TD
2974WIDTH="80%"
2975ALIGN="LEFT"
2976VALIGN="TOP"
2977> the value of the attribute</TD
2978></TR
2979><TR
2980><TD
2981WIDTH="20%"
2982ALIGN="RIGHT"
2983VALIGN="TOP"
2984><I
2985CLASS="EMPHASIS"
2986>Returns</I
2987> :</TD
2988><TD
2989WIDTH="80%"
2990ALIGN="LEFT"
2991VALIGN="TOP"
2992>a pointer to the attribute</TD
2993></TR
2994></TABLE
2995><P
2996></P
2997></DIV
2998></DIV
2999><HR><DIV
3000CLASS="REFSECT2"
3001><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003002NAME="AEN2217"
Daniel Veillard35925471999-02-25 08:46:07 +00003003></A
3004><H3
3005><A
3006NAME="XMLNEWPROP"
3007></A
3008>xmlNewProp()</H3
3009><TABLE
3010BORDER="0"
3011BGCOLOR="#E8E8F8"
3012WIDTH="100%"
3013CELLPADDING="6"
3014><TR
3015><TD
3016><PRE
3017CLASS="PROGRAMLISTING"
3018><A
3019HREF="gnome-xml-tree.html#XMLATTRPTR"
3020>xmlAttrPtr</A
3021> xmlNewProp (<A
3022HREF="gnome-xml-tree.html#XMLNODEPTR"
3023>xmlNodePtr</A
3024> node,
3025 const <A
3026HREF="gnome-xml-tree.html#CHAR"
3027>CHAR</A
3028> *name,
3029 const <A
3030HREF="gnome-xml-tree.html#CHAR"
3031>CHAR</A
3032> *value);</PRE
3033></TD
3034></TR
3035></TABLE
3036><P
3037>Create a new property carried by a node.</P
3038><P
3039></P
3040><DIV
3041CLASS="INFORMALTABLE"
3042><P
3043></P
3044><TABLE
3045BORDER="0"
3046WIDTH="100%"
3047BGCOLOR="#FFE0E0"
3048CELLSPACING="0"
3049CELLPADDING="4"
3050CLASS="CALSTABLE"
3051><TR
3052><TD
3053WIDTH="20%"
3054ALIGN="RIGHT"
3055VALIGN="TOP"
3056><TT
3057CLASS="PARAMETER"
3058><I
3059>node</I
3060></TT
3061>&nbsp;:</TD
3062><TD
3063WIDTH="80%"
3064ALIGN="LEFT"
3065VALIGN="TOP"
3066> the holding node</TD
3067></TR
3068><TR
3069><TD
3070WIDTH="20%"
3071ALIGN="RIGHT"
3072VALIGN="TOP"
3073><TT
3074CLASS="PARAMETER"
3075><I
3076>name</I
3077></TT
3078>&nbsp;:</TD
3079><TD
3080WIDTH="80%"
3081ALIGN="LEFT"
3082VALIGN="TOP"
3083> the name of the attribute</TD
3084></TR
3085><TR
3086><TD
3087WIDTH="20%"
3088ALIGN="RIGHT"
3089VALIGN="TOP"
3090><TT
3091CLASS="PARAMETER"
3092><I
3093>value</I
3094></TT
3095>&nbsp;:</TD
3096><TD
3097WIDTH="80%"
3098ALIGN="LEFT"
3099VALIGN="TOP"
3100> the value of the attribute</TD
3101></TR
3102><TR
3103><TD
3104WIDTH="20%"
3105ALIGN="RIGHT"
3106VALIGN="TOP"
3107><I
3108CLASS="EMPHASIS"
3109>Returns</I
3110> :</TD
3111><TD
3112WIDTH="80%"
3113ALIGN="LEFT"
3114VALIGN="TOP"
3115>a pointer to the attribute</TD
3116></TR
3117></TABLE
3118><P
3119></P
3120></DIV
3121></DIV
3122><HR><DIV
3123CLASS="REFSECT2"
3124><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003125NAME="AEN2248"
Daniel Veillard35925471999-02-25 08:46:07 +00003126></A
3127><H3
3128><A
3129NAME="XMLFREEPROPLIST"
3130></A
3131>xmlFreePropList()</H3
3132><TABLE
3133BORDER="0"
3134BGCOLOR="#E8E8F8"
3135WIDTH="100%"
3136CELLPADDING="6"
3137><TR
3138><TD
3139><PRE
3140CLASS="PROGRAMLISTING"
3141>void xmlFreePropList (<A
3142HREF="gnome-xml-tree.html#XMLATTRPTR"
3143>xmlAttrPtr</A
3144> cur);</PRE
3145></TD
3146></TR
3147></TABLE
3148><P
3149>Free a property and all its siblings, all the childs are freed too.</P
3150><P
3151></P
3152><DIV
3153CLASS="INFORMALTABLE"
3154><P
3155></P
3156><TABLE
3157BORDER="0"
3158WIDTH="100%"
3159BGCOLOR="#FFE0E0"
3160CELLSPACING="0"
3161CELLPADDING="4"
3162CLASS="CALSTABLE"
3163><TR
3164><TD
3165WIDTH="20%"
3166ALIGN="RIGHT"
3167VALIGN="TOP"
3168><TT
3169CLASS="PARAMETER"
3170><I
3171>cur</I
3172></TT
3173>&nbsp;:</TD
3174><TD
3175WIDTH="80%"
3176ALIGN="LEFT"
3177VALIGN="TOP"
3178> the first property in the list</TD
3179></TR
3180></TABLE
3181><P
3182></P
3183></DIV
3184></DIV
3185><HR><DIV
3186CLASS="REFSECT2"
3187><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003188NAME="AEN2264"
Daniel Veillard35925471999-02-25 08:46:07 +00003189></A
3190><H3
3191><A
3192NAME="XMLFREEPROP"
3193></A
3194>xmlFreeProp()</H3
3195><TABLE
3196BORDER="0"
3197BGCOLOR="#E8E8F8"
3198WIDTH="100%"
3199CELLPADDING="6"
3200><TR
3201><TD
3202><PRE
3203CLASS="PROGRAMLISTING"
3204>void xmlFreeProp (<A
3205HREF="gnome-xml-tree.html#XMLATTRPTR"
3206>xmlAttrPtr</A
3207> cur);</PRE
3208></TD
3209></TR
3210></TABLE
3211><P
3212>Free one property, all the childs are freed too.</P
3213><P
3214></P
3215><DIV
3216CLASS="INFORMALTABLE"
3217><P
3218></P
3219><TABLE
3220BORDER="0"
3221WIDTH="100%"
3222BGCOLOR="#FFE0E0"
3223CELLSPACING="0"
3224CELLPADDING="4"
3225CLASS="CALSTABLE"
3226><TR
3227><TD
3228WIDTH="20%"
3229ALIGN="RIGHT"
3230VALIGN="TOP"
3231><TT
3232CLASS="PARAMETER"
3233><I
3234>cur</I
3235></TT
3236>&nbsp;:</TD
3237><TD
3238WIDTH="80%"
3239ALIGN="LEFT"
3240VALIGN="TOP"
3241> the first property in the list</TD
3242></TR
3243></TABLE
3244><P
3245></P
3246></DIV
3247></DIV
3248><HR><DIV
3249CLASS="REFSECT2"
3250><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003251NAME="AEN2280"
Daniel Veillard35925471999-02-25 08:46:07 +00003252></A
3253><H3
3254><A
3255NAME="XMLCOPYPROP"
3256></A
3257>xmlCopyProp()</H3
3258><TABLE
3259BORDER="0"
3260BGCOLOR="#E8E8F8"
3261WIDTH="100%"
3262CELLPADDING="6"
3263><TR
3264><TD
3265><PRE
3266CLASS="PROGRAMLISTING"
3267><A
3268HREF="gnome-xml-tree.html#XMLATTRPTR"
3269>xmlAttrPtr</A
3270> xmlCopyProp (<A
3271HREF="gnome-xml-tree.html#XMLATTRPTR"
3272>xmlAttrPtr</A
3273> cur);</PRE
3274></TD
3275></TR
3276></TABLE
3277><P
3278>Do a copy of the attribute.</P
3279><P
3280></P
3281><DIV
3282CLASS="INFORMALTABLE"
3283><P
3284></P
3285><TABLE
3286BORDER="0"
3287WIDTH="100%"
3288BGCOLOR="#FFE0E0"
3289CELLSPACING="0"
3290CELLPADDING="4"
3291CLASS="CALSTABLE"
3292><TR
3293><TD
3294WIDTH="20%"
3295ALIGN="RIGHT"
3296VALIGN="TOP"
3297><TT
3298CLASS="PARAMETER"
3299><I
3300>cur</I
3301></TT
3302>&nbsp;:</TD
3303><TD
3304WIDTH="80%"
3305ALIGN="LEFT"
3306VALIGN="TOP"
3307> the attribute</TD
3308></TR
3309><TR
3310><TD
3311WIDTH="20%"
3312ALIGN="RIGHT"
3313VALIGN="TOP"
3314><I
3315CLASS="EMPHASIS"
3316>Returns</I
3317> :</TD
3318><TD
3319WIDTH="80%"
3320ALIGN="LEFT"
3321VALIGN="TOP"
3322> a new xmlAttrPtr, or NULL in case of error.</TD
3323></TR
3324></TABLE
3325><P
3326></P
3327></DIV
3328></DIV
3329><HR><DIV
3330CLASS="REFSECT2"
3331><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003332NAME="AEN2301"
Daniel Veillard35925471999-02-25 08:46:07 +00003333></A
3334><H3
3335><A
3336NAME="XMLCOPYPROPLIST"
3337></A
3338>xmlCopyPropList()</H3
3339><TABLE
3340BORDER="0"
3341BGCOLOR="#E8E8F8"
3342WIDTH="100%"
3343CELLPADDING="6"
3344><TR
3345><TD
3346><PRE
3347CLASS="PROGRAMLISTING"
3348><A
3349HREF="gnome-xml-tree.html#XMLATTRPTR"
3350>xmlAttrPtr</A
3351> xmlCopyPropList (<A
3352HREF="gnome-xml-tree.html#XMLATTRPTR"
3353>xmlAttrPtr</A
3354> cur);</PRE
3355></TD
3356></TR
3357></TABLE
3358><P
3359>Do a copy of an attribute list.</P
3360><P
3361></P
3362><DIV
3363CLASS="INFORMALTABLE"
3364><P
3365></P
3366><TABLE
3367BORDER="0"
3368WIDTH="100%"
3369BGCOLOR="#FFE0E0"
3370CELLSPACING="0"
3371CELLPADDING="4"
3372CLASS="CALSTABLE"
3373><TR
3374><TD
3375WIDTH="20%"
3376ALIGN="RIGHT"
3377VALIGN="TOP"
3378><TT
3379CLASS="PARAMETER"
3380><I
3381>cur</I
3382></TT
3383>&nbsp;:</TD
3384><TD
3385WIDTH="80%"
3386ALIGN="LEFT"
3387VALIGN="TOP"
3388> the first attribute</TD
3389></TR
3390><TR
3391><TD
3392WIDTH="20%"
3393ALIGN="RIGHT"
3394VALIGN="TOP"
3395><I
3396CLASS="EMPHASIS"
3397>Returns</I
3398> :</TD
3399><TD
3400WIDTH="80%"
3401ALIGN="LEFT"
3402VALIGN="TOP"
3403> a new xmlAttrPtr, or NULL in case of error.</TD
3404></TR
3405></TABLE
3406><P
3407></P
3408></DIV
3409></DIV
3410><HR><DIV
3411CLASS="REFSECT2"
3412><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003413NAME="AEN2322"
Daniel Veillard35925471999-02-25 08:46:07 +00003414></A
3415><H3
3416><A
3417NAME="XMLCOPYDTD"
3418></A
3419>xmlCopyDtd()</H3
3420><TABLE
3421BORDER="0"
3422BGCOLOR="#E8E8F8"
3423WIDTH="100%"
3424CELLPADDING="6"
3425><TR
3426><TD
3427><PRE
3428CLASS="PROGRAMLISTING"
3429><A
3430HREF="gnome-xml-tree.html#XMLDTDPTR"
3431>xmlDtdPtr</A
3432> xmlCopyDtd (<A
3433HREF="gnome-xml-tree.html#XMLDTDPTR"
3434>xmlDtdPtr</A
3435> dtd);</PRE
3436></TD
3437></TR
3438></TABLE
3439><P
3440>Do a copy of the dtd.</P
3441><P
3442></P
3443><DIV
3444CLASS="INFORMALTABLE"
3445><P
3446></P
3447><TABLE
3448BORDER="0"
3449WIDTH="100%"
3450BGCOLOR="#FFE0E0"
3451CELLSPACING="0"
3452CELLPADDING="4"
3453CLASS="CALSTABLE"
3454><TR
3455><TD
3456WIDTH="20%"
3457ALIGN="RIGHT"
3458VALIGN="TOP"
3459><TT
3460CLASS="PARAMETER"
3461><I
3462>dtd</I
3463></TT
3464>&nbsp;:</TD
3465><TD
3466WIDTH="80%"
3467ALIGN="LEFT"
3468VALIGN="TOP"
3469> the dtd</TD
3470></TR
3471><TR
3472><TD
3473WIDTH="20%"
3474ALIGN="RIGHT"
3475VALIGN="TOP"
3476><I
3477CLASS="EMPHASIS"
3478>Returns</I
3479> :</TD
3480><TD
3481WIDTH="80%"
3482ALIGN="LEFT"
3483VALIGN="TOP"
3484> a new xmlDtdPtr, or NULL in case of error.</TD
3485></TR
3486></TABLE
3487><P
3488></P
3489></DIV
3490></DIV
3491><HR><DIV
3492CLASS="REFSECT2"
3493><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003494NAME="AEN2343"
Daniel Veillard35925471999-02-25 08:46:07 +00003495></A
3496><H3
3497><A
3498NAME="XMLCOPYDOC"
3499></A
3500>xmlCopyDoc()</H3
3501><TABLE
3502BORDER="0"
3503BGCOLOR="#E8E8F8"
3504WIDTH="100%"
3505CELLPADDING="6"
3506><TR
3507><TD
3508><PRE
3509CLASS="PROGRAMLISTING"
3510><A
3511HREF="gnome-xml-tree.html#XMLDOCPTR"
3512>xmlDocPtr</A
3513> xmlCopyDoc (<A
3514HREF="gnome-xml-tree.html#XMLDOCPTR"
3515>xmlDocPtr</A
3516> doc,
3517 int recursive);</PRE
3518></TD
3519></TR
3520></TABLE
3521><P
3522>Do a copy of the document info. If recursive, the content tree will
3523be copied too as well as Dtd, namespaces and entities.</P
3524><P
3525></P
3526><DIV
3527CLASS="INFORMALTABLE"
3528><P
3529></P
3530><TABLE
3531BORDER="0"
3532WIDTH="100%"
3533BGCOLOR="#FFE0E0"
3534CELLSPACING="0"
3535CELLPADDING="4"
3536CLASS="CALSTABLE"
3537><TR
3538><TD
3539WIDTH="20%"
3540ALIGN="RIGHT"
3541VALIGN="TOP"
3542><TT
3543CLASS="PARAMETER"
3544><I
3545>doc</I
3546></TT
3547>&nbsp;:</TD
3548><TD
3549WIDTH="80%"
3550ALIGN="LEFT"
3551VALIGN="TOP"
3552> the document</TD
3553></TR
3554><TR
3555><TD
3556WIDTH="20%"
3557ALIGN="RIGHT"
3558VALIGN="TOP"
3559><TT
3560CLASS="PARAMETER"
3561><I
3562>recursive</I
3563></TT
3564>&nbsp;:</TD
3565><TD
3566WIDTH="80%"
3567ALIGN="LEFT"
3568VALIGN="TOP"
3569> if 1 do a recursive copy.</TD
3570></TR
3571><TR
3572><TD
3573WIDTH="20%"
3574ALIGN="RIGHT"
3575VALIGN="TOP"
3576><I
3577CLASS="EMPHASIS"
3578>Returns</I
3579> :</TD
3580><TD
3581WIDTH="80%"
3582ALIGN="LEFT"
3583VALIGN="TOP"
3584> a new xmlDocPtr, or NULL in case of error.</TD
3585></TR
3586></TABLE
3587><P
3588></P
3589></DIV
3590></DIV
3591><HR><DIV
3592CLASS="REFSECT2"
3593><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003594NAME="AEN2368"
Daniel Veillard35925471999-02-25 08:46:07 +00003595></A
3596><H3
3597><A
3598NAME="XMLNEWDOCNODE"
3599></A
3600>xmlNewDocNode()</H3
3601><TABLE
3602BORDER="0"
3603BGCOLOR="#E8E8F8"
3604WIDTH="100%"
3605CELLPADDING="6"
3606><TR
3607><TD
3608><PRE
3609CLASS="PROGRAMLISTING"
3610><A
3611HREF="gnome-xml-tree.html#XMLNODEPTR"
3612>xmlNodePtr</A
3613> xmlNewDocNode (<A
3614HREF="gnome-xml-tree.html#XMLDOCPTR"
3615>xmlDocPtr</A
3616> doc,
3617 <A
3618HREF="gnome-xml-tree.html#XMLNSPTR"
3619>xmlNsPtr</A
3620> ns,
3621 const <A
3622HREF="gnome-xml-tree.html#CHAR"
3623>CHAR</A
3624> *name,
3625 <A
3626HREF="gnome-xml-tree.html#CHAR"
3627>CHAR</A
3628> *content);</PRE
3629></TD
3630></TR
3631></TABLE
3632><P
3633>Creation of a new node element within a document. <TT
3634CLASS="PARAMETER"
3635><I
3636>ns</I
3637></TT
3638> and <TT
3639CLASS="PARAMETER"
3640><I
3641>content</I
3642></TT
3643>
3644are optionnal (NULL).</P
3645><P
3646></P
3647><DIV
3648CLASS="INFORMALTABLE"
3649><P
3650></P
3651><TABLE
3652BORDER="0"
3653WIDTH="100%"
3654BGCOLOR="#FFE0E0"
3655CELLSPACING="0"
3656CELLPADDING="4"
3657CLASS="CALSTABLE"
3658><TR
3659><TD
3660WIDTH="20%"
3661ALIGN="RIGHT"
3662VALIGN="TOP"
3663><TT
3664CLASS="PARAMETER"
3665><I
3666>doc</I
3667></TT
3668>&nbsp;:</TD
3669><TD
3670WIDTH="80%"
3671ALIGN="LEFT"
3672VALIGN="TOP"
3673> the document</TD
3674></TR
3675><TR
3676><TD
3677WIDTH="20%"
3678ALIGN="RIGHT"
3679VALIGN="TOP"
3680><TT
3681CLASS="PARAMETER"
3682><I
3683>ns</I
3684></TT
3685>&nbsp;:</TD
3686><TD
3687WIDTH="80%"
3688ALIGN="LEFT"
3689VALIGN="TOP"
3690> namespace if any</TD
3691></TR
3692><TR
3693><TD
3694WIDTH="20%"
3695ALIGN="RIGHT"
3696VALIGN="TOP"
3697><TT
3698CLASS="PARAMETER"
3699><I
3700>name</I
3701></TT
3702>&nbsp;:</TD
3703><TD
3704WIDTH="80%"
3705ALIGN="LEFT"
3706VALIGN="TOP"
3707> the node name</TD
3708></TR
3709><TR
3710><TD
3711WIDTH="20%"
3712ALIGN="RIGHT"
3713VALIGN="TOP"
3714><TT
3715CLASS="PARAMETER"
3716><I
3717>content</I
3718></TT
3719>&nbsp;:</TD
3720><TD
3721WIDTH="80%"
3722ALIGN="LEFT"
3723VALIGN="TOP"
3724> the text content if any</TD
3725></TR
3726><TR
3727><TD
3728WIDTH="20%"
3729ALIGN="RIGHT"
3730VALIGN="TOP"
3731><I
3732CLASS="EMPHASIS"
3733>Returns</I
3734> :</TD
3735><TD
3736WIDTH="80%"
3737ALIGN="LEFT"
3738VALIGN="TOP"
3739>a pointer to the new node object.</TD
3740></TR
3741></TABLE
3742><P
3743></P
3744></DIV
3745></DIV
3746><HR><DIV
3747CLASS="REFSECT2"
3748><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003749NAME="AEN2406"
Daniel Veillard35925471999-02-25 08:46:07 +00003750></A
3751><H3
3752><A
3753NAME="XMLNEWNODE"
3754></A
3755>xmlNewNode()</H3
3756><TABLE
3757BORDER="0"
3758BGCOLOR="#E8E8F8"
3759WIDTH="100%"
3760CELLPADDING="6"
3761><TR
3762><TD
3763><PRE
3764CLASS="PROGRAMLISTING"
3765><A
3766HREF="gnome-xml-tree.html#XMLNODEPTR"
3767>xmlNodePtr</A
3768> xmlNewNode (<A
3769HREF="gnome-xml-tree.html#XMLNSPTR"
3770>xmlNsPtr</A
3771> ns,
3772 const <A
3773HREF="gnome-xml-tree.html#CHAR"
3774>CHAR</A
3775> *name);</PRE
3776></TD
3777></TR
3778></TABLE
3779><P
3780>Creation of a new node element. <TT
3781CLASS="PARAMETER"
3782><I
3783>ns</I
3784></TT
3785> and <TT
3786CLASS="PARAMETER"
3787><I
3788>content</I
3789></TT
3790> are optionnal (NULL).
3791If content is non NULL, a child list containing the TEXTs and
3792ENTITY_REFs node will be created.</P
3793><P
3794></P
3795><DIV
3796CLASS="INFORMALTABLE"
3797><P
3798></P
3799><TABLE
3800BORDER="0"
3801WIDTH="100%"
3802BGCOLOR="#FFE0E0"
3803CELLSPACING="0"
3804CELLPADDING="4"
3805CLASS="CALSTABLE"
3806><TR
3807><TD
3808WIDTH="20%"
3809ALIGN="RIGHT"
3810VALIGN="TOP"
3811><TT
3812CLASS="PARAMETER"
3813><I
3814>ns</I
3815></TT
3816>&nbsp;:</TD
3817><TD
3818WIDTH="80%"
3819ALIGN="LEFT"
3820VALIGN="TOP"
3821> namespace if any</TD
3822></TR
3823><TR
3824><TD
3825WIDTH="20%"
3826ALIGN="RIGHT"
3827VALIGN="TOP"
3828><TT
3829CLASS="PARAMETER"
3830><I
3831>name</I
3832></TT
3833>&nbsp;:</TD
3834><TD
3835WIDTH="80%"
3836ALIGN="LEFT"
3837VALIGN="TOP"
3838> the node name</TD
3839></TR
3840><TR
3841><TD
3842WIDTH="20%"
3843ALIGN="RIGHT"
3844VALIGN="TOP"
3845><I
3846CLASS="EMPHASIS"
3847>Returns</I
3848> :</TD
3849><TD
3850WIDTH="80%"
3851ALIGN="LEFT"
3852VALIGN="TOP"
3853>a pointer to the new node object.</TD
3854></TR
3855></TABLE
3856><P
3857></P
3858></DIV
3859></DIV
3860><HR><DIV
3861CLASS="REFSECT2"
3862><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003863NAME="AEN2434"
Daniel Veillard35925471999-02-25 08:46:07 +00003864></A
3865><H3
3866><A
3867NAME="XMLNEWCHILD"
3868></A
3869>xmlNewChild()</H3
3870><TABLE
3871BORDER="0"
3872BGCOLOR="#E8E8F8"
3873WIDTH="100%"
3874CELLPADDING="6"
3875><TR
3876><TD
3877><PRE
3878CLASS="PROGRAMLISTING"
3879><A
3880HREF="gnome-xml-tree.html#XMLNODEPTR"
3881>xmlNodePtr</A
3882> xmlNewChild (<A
3883HREF="gnome-xml-tree.html#XMLNODEPTR"
3884>xmlNodePtr</A
3885> parent,
3886 <A
3887HREF="gnome-xml-tree.html#XMLNSPTR"
3888>xmlNsPtr</A
3889> ns,
3890 const <A
3891HREF="gnome-xml-tree.html#CHAR"
3892>CHAR</A
3893> *name,
3894 <A
3895HREF="gnome-xml-tree.html#CHAR"
3896>CHAR</A
3897> *content);</PRE
3898></TD
3899></TR
3900></TABLE
3901><P
3902>Creation of a new child element, added at the end of <TT
3903CLASS="PARAMETER"
3904><I
3905>parent</I
3906></TT
3907> childs list.
3908<TT
3909CLASS="PARAMETER"
3910><I
3911>ns</I
3912></TT
3913> and <TT
3914CLASS="PARAMETER"
3915><I
3916>content</I
3917></TT
3918> parameters are optionnal (NULL). If content is non NULL,
3919a child list containing the TEXTs and ENTITY_REFs node will be created.</P
3920><P
3921></P
3922><DIV
3923CLASS="INFORMALTABLE"
3924><P
3925></P
3926><TABLE
3927BORDER="0"
3928WIDTH="100%"
3929BGCOLOR="#FFE0E0"
3930CELLSPACING="0"
3931CELLPADDING="4"
3932CLASS="CALSTABLE"
3933><TR
3934><TD
3935WIDTH="20%"
3936ALIGN="RIGHT"
3937VALIGN="TOP"
3938><TT
3939CLASS="PARAMETER"
3940><I
3941>parent</I
3942></TT
3943>&nbsp;:</TD
3944><TD
3945WIDTH="80%"
3946ALIGN="LEFT"
3947VALIGN="TOP"
3948> the parent node</TD
3949></TR
3950><TR
3951><TD
3952WIDTH="20%"
3953ALIGN="RIGHT"
3954VALIGN="TOP"
3955><TT
3956CLASS="PARAMETER"
3957><I
3958>ns</I
3959></TT
3960>&nbsp;:</TD
3961><TD
3962WIDTH="80%"
3963ALIGN="LEFT"
3964VALIGN="TOP"
3965> a namespace if any</TD
3966></TR
3967><TR
3968><TD
3969WIDTH="20%"
3970ALIGN="RIGHT"
3971VALIGN="TOP"
3972><TT
3973CLASS="PARAMETER"
3974><I
3975>name</I
3976></TT
3977>&nbsp;:</TD
3978><TD
3979WIDTH="80%"
3980ALIGN="LEFT"
3981VALIGN="TOP"
3982> the name of the child</TD
3983></TR
3984><TR
3985><TD
3986WIDTH="20%"
3987ALIGN="RIGHT"
3988VALIGN="TOP"
3989><TT
3990CLASS="PARAMETER"
3991><I
3992>content</I
3993></TT
3994>&nbsp;:</TD
3995><TD
3996WIDTH="80%"
3997ALIGN="LEFT"
3998VALIGN="TOP"
3999> the content of the child if any.</TD
4000></TR
4001><TR
4002><TD
4003WIDTH="20%"
4004ALIGN="RIGHT"
4005VALIGN="TOP"
4006><I
4007CLASS="EMPHASIS"
4008>Returns</I
4009> :</TD
4010><TD
4011WIDTH="80%"
4012ALIGN="LEFT"
4013VALIGN="TOP"
4014>a pointer to the new node object.</TD
4015></TR
4016></TABLE
4017><P
4018></P
4019></DIV
4020></DIV
4021><HR><DIV
4022CLASS="REFSECT2"
4023><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004024NAME="AEN2473"
Daniel Veillard35925471999-02-25 08:46:07 +00004025></A
4026><H3
4027><A
4028NAME="XMLNEWDOCTEXT"
4029></A
4030>xmlNewDocText()</H3
4031><TABLE
4032BORDER="0"
4033BGCOLOR="#E8E8F8"
4034WIDTH="100%"
4035CELLPADDING="6"
4036><TR
4037><TD
4038><PRE
4039CLASS="PROGRAMLISTING"
4040><A
4041HREF="gnome-xml-tree.html#XMLNODEPTR"
4042>xmlNodePtr</A
4043> xmlNewDocText (<A
4044HREF="gnome-xml-tree.html#XMLDOCPTR"
4045>xmlDocPtr</A
4046> doc,
4047 const <A
4048HREF="gnome-xml-tree.html#CHAR"
4049>CHAR</A
4050> *content);</PRE
4051></TD
4052></TR
4053></TABLE
4054><P
4055>Creation of a new text node within a document.</P
4056><P
4057></P
4058><DIV
4059CLASS="INFORMALTABLE"
4060><P
4061></P
4062><TABLE
4063BORDER="0"
4064WIDTH="100%"
4065BGCOLOR="#FFE0E0"
4066CELLSPACING="0"
4067CELLPADDING="4"
4068CLASS="CALSTABLE"
4069><TR
4070><TD
4071WIDTH="20%"
4072ALIGN="RIGHT"
4073VALIGN="TOP"
4074><TT
4075CLASS="PARAMETER"
4076><I
4077>doc</I
4078></TT
4079>&nbsp;:</TD
4080><TD
4081WIDTH="80%"
4082ALIGN="LEFT"
4083VALIGN="TOP"
4084> the document</TD
4085></TR
4086><TR
4087><TD
4088WIDTH="20%"
4089ALIGN="RIGHT"
4090VALIGN="TOP"
4091><TT
4092CLASS="PARAMETER"
4093><I
4094>content</I
4095></TT
4096>&nbsp;:</TD
4097><TD
4098WIDTH="80%"
4099ALIGN="LEFT"
4100VALIGN="TOP"
4101> the text content</TD
4102></TR
4103><TR
4104><TD
4105WIDTH="20%"
4106ALIGN="RIGHT"
4107VALIGN="TOP"
4108><I
4109CLASS="EMPHASIS"
4110>Returns</I
4111> :</TD
4112><TD
4113WIDTH="80%"
4114ALIGN="LEFT"
4115VALIGN="TOP"
4116>a pointer to the new node object.</TD
4117></TR
4118></TABLE
4119><P
4120></P
4121></DIV
4122></DIV
4123><HR><DIV
4124CLASS="REFSECT2"
4125><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004126NAME="AEN2499"
Daniel Veillard35925471999-02-25 08:46:07 +00004127></A
4128><H3
4129><A
4130NAME="XMLNEWTEXT"
4131></A
4132>xmlNewText()</H3
4133><TABLE
4134BORDER="0"
4135BGCOLOR="#E8E8F8"
4136WIDTH="100%"
4137CELLPADDING="6"
4138><TR
4139><TD
4140><PRE
4141CLASS="PROGRAMLISTING"
4142><A
4143HREF="gnome-xml-tree.html#XMLNODEPTR"
4144>xmlNodePtr</A
4145> xmlNewText (const <A
4146HREF="gnome-xml-tree.html#CHAR"
4147>CHAR</A
4148> *content);</PRE
4149></TD
4150></TR
4151></TABLE
4152><P
4153>Creation of a new text node.</P
4154><P
4155></P
4156><DIV
4157CLASS="INFORMALTABLE"
4158><P
4159></P
4160><TABLE
4161BORDER="0"
4162WIDTH="100%"
4163BGCOLOR="#FFE0E0"
4164CELLSPACING="0"
4165CELLPADDING="4"
4166CLASS="CALSTABLE"
4167><TR
4168><TD
4169WIDTH="20%"
4170ALIGN="RIGHT"
4171VALIGN="TOP"
4172><TT
4173CLASS="PARAMETER"
4174><I
4175>content</I
4176></TT
4177>&nbsp;:</TD
4178><TD
4179WIDTH="80%"
4180ALIGN="LEFT"
4181VALIGN="TOP"
4182> the text content</TD
4183></TR
4184><TR
4185><TD
4186WIDTH="20%"
4187ALIGN="RIGHT"
4188VALIGN="TOP"
4189><I
4190CLASS="EMPHASIS"
4191>Returns</I
4192> :</TD
4193><TD
4194WIDTH="80%"
4195ALIGN="LEFT"
4196VALIGN="TOP"
4197>a pointer to the new node object.</TD
4198></TR
4199></TABLE
4200><P
4201></P
4202></DIV
4203></DIV
4204><HR><DIV
4205CLASS="REFSECT2"
4206><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004207NAME="AEN2520"
Daniel Veillard35925471999-02-25 08:46:07 +00004208></A
4209><H3
4210><A
4211NAME="XMLNEWDOCTEXTLEN"
4212></A
4213>xmlNewDocTextLen()</H3
4214><TABLE
4215BORDER="0"
4216BGCOLOR="#E8E8F8"
4217WIDTH="100%"
4218CELLPADDING="6"
4219><TR
4220><TD
4221><PRE
4222CLASS="PROGRAMLISTING"
4223><A
4224HREF="gnome-xml-tree.html#XMLNODEPTR"
4225>xmlNodePtr</A
4226> xmlNewDocTextLen (<A
4227HREF="gnome-xml-tree.html#XMLDOCPTR"
4228>xmlDocPtr</A
4229> doc,
4230 const <A
4231HREF="gnome-xml-tree.html#CHAR"
4232>CHAR</A
4233> *content,
4234 int len);</PRE
4235></TD
4236></TR
4237></TABLE
4238><P
4239>Creation of a new text node with an extra content lenght parameter. The
4240text node pertain to a given document.</P
4241><P
4242></P
4243><DIV
4244CLASS="INFORMALTABLE"
4245><P
4246></P
4247><TABLE
4248BORDER="0"
4249WIDTH="100%"
4250BGCOLOR="#FFE0E0"
4251CELLSPACING="0"
4252CELLPADDING="4"
4253CLASS="CALSTABLE"
4254><TR
4255><TD
4256WIDTH="20%"
4257ALIGN="RIGHT"
4258VALIGN="TOP"
4259><TT
4260CLASS="PARAMETER"
4261><I
4262>doc</I
4263></TT
4264>&nbsp;:</TD
4265><TD
4266WIDTH="80%"
4267ALIGN="LEFT"
4268VALIGN="TOP"
4269> the document</TD
4270></TR
4271><TR
4272><TD
4273WIDTH="20%"
4274ALIGN="RIGHT"
4275VALIGN="TOP"
4276><TT
4277CLASS="PARAMETER"
4278><I
4279>content</I
4280></TT
4281>&nbsp;:</TD
4282><TD
4283WIDTH="80%"
4284ALIGN="LEFT"
4285VALIGN="TOP"
4286> the text content</TD
4287></TR
4288><TR
4289><TD
4290WIDTH="20%"
4291ALIGN="RIGHT"
4292VALIGN="TOP"
4293><TT
4294CLASS="PARAMETER"
4295><I
4296>len</I
4297></TT
4298>&nbsp;:</TD
4299><TD
4300WIDTH="80%"
4301ALIGN="LEFT"
4302VALIGN="TOP"
4303> the text len.</TD
4304></TR
4305><TR
4306><TD
4307WIDTH="20%"
4308ALIGN="RIGHT"
4309VALIGN="TOP"
4310><I
4311CLASS="EMPHASIS"
4312>Returns</I
4313> :</TD
4314><TD
4315WIDTH="80%"
4316ALIGN="LEFT"
4317VALIGN="TOP"
4318>a pointer to the new node object.</TD
4319></TR
4320></TABLE
4321><P
4322></P
4323></DIV
4324></DIV
4325><HR><DIV
4326CLASS="REFSECT2"
4327><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004328NAME="AEN2550"
Daniel Veillard35925471999-02-25 08:46:07 +00004329></A
4330><H3
4331><A
4332NAME="XMLNEWTEXTLEN"
4333></A
4334>xmlNewTextLen()</H3
4335><TABLE
4336BORDER="0"
4337BGCOLOR="#E8E8F8"
4338WIDTH="100%"
4339CELLPADDING="6"
4340><TR
4341><TD
4342><PRE
4343CLASS="PROGRAMLISTING"
4344><A
4345HREF="gnome-xml-tree.html#XMLNODEPTR"
4346>xmlNodePtr</A
4347> xmlNewTextLen (const <A
4348HREF="gnome-xml-tree.html#CHAR"
4349>CHAR</A
4350> *content,
4351 int len);</PRE
4352></TD
4353></TR
4354></TABLE
4355><P
4356>Creation of a new text node with an extra parameter for the content's lenght</P
4357><P
4358></P
4359><DIV
4360CLASS="INFORMALTABLE"
4361><P
4362></P
4363><TABLE
4364BORDER="0"
4365WIDTH="100%"
4366BGCOLOR="#FFE0E0"
4367CELLSPACING="0"
4368CELLPADDING="4"
4369CLASS="CALSTABLE"
4370><TR
4371><TD
4372WIDTH="20%"
4373ALIGN="RIGHT"
4374VALIGN="TOP"
4375><TT
4376CLASS="PARAMETER"
4377><I
4378>content</I
4379></TT
4380>&nbsp;:</TD
4381><TD
4382WIDTH="80%"
4383ALIGN="LEFT"
4384VALIGN="TOP"
4385> the text content</TD
4386></TR
4387><TR
4388><TD
4389WIDTH="20%"
4390ALIGN="RIGHT"
4391VALIGN="TOP"
4392><TT
4393CLASS="PARAMETER"
4394><I
4395>len</I
4396></TT
4397>&nbsp;:</TD
4398><TD
4399WIDTH="80%"
4400ALIGN="LEFT"
4401VALIGN="TOP"
4402> the text len.</TD
4403></TR
4404><TR
4405><TD
4406WIDTH="20%"
4407ALIGN="RIGHT"
4408VALIGN="TOP"
4409><I
4410CLASS="EMPHASIS"
4411>Returns</I
4412> :</TD
4413><TD
4414WIDTH="80%"
4415ALIGN="LEFT"
4416VALIGN="TOP"
4417>a pointer to the new node object.</TD
4418></TR
4419></TABLE
4420><P
4421></P
4422></DIV
4423></DIV
4424><HR><DIV
4425CLASS="REFSECT2"
4426><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004427NAME="AEN2575"
Daniel Veillard35925471999-02-25 08:46:07 +00004428></A
4429><H3
4430><A
4431NAME="XMLNEWDOCCOMMENT"
4432></A
4433>xmlNewDocComment()</H3
4434><TABLE
4435BORDER="0"
4436BGCOLOR="#E8E8F8"
4437WIDTH="100%"
4438CELLPADDING="6"
4439><TR
4440><TD
4441><PRE
4442CLASS="PROGRAMLISTING"
4443><A
4444HREF="gnome-xml-tree.html#XMLNODEPTR"
4445>xmlNodePtr</A
4446> xmlNewDocComment (<A
4447HREF="gnome-xml-tree.html#XMLDOCPTR"
4448>xmlDocPtr</A
4449> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +00004450 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00004451HREF="gnome-xml-tree.html#CHAR"
4452>CHAR</A
4453> *content);</PRE
4454></TD
4455></TR
4456></TABLE
4457><P
4458>Creation of a new node containing a commentwithin a document.</P
4459><P
4460></P
4461><DIV
4462CLASS="INFORMALTABLE"
4463><P
4464></P
4465><TABLE
4466BORDER="0"
4467WIDTH="100%"
4468BGCOLOR="#FFE0E0"
4469CELLSPACING="0"
4470CELLPADDING="4"
4471CLASS="CALSTABLE"
4472><TR
4473><TD
4474WIDTH="20%"
4475ALIGN="RIGHT"
4476VALIGN="TOP"
4477><TT
4478CLASS="PARAMETER"
4479><I
4480>doc</I
4481></TT
4482>&nbsp;:</TD
4483><TD
4484WIDTH="80%"
4485ALIGN="LEFT"
4486VALIGN="TOP"
4487> the document</TD
4488></TR
4489><TR
4490><TD
4491WIDTH="20%"
4492ALIGN="RIGHT"
4493VALIGN="TOP"
4494><TT
4495CLASS="PARAMETER"
4496><I
4497>content</I
4498></TT
4499>&nbsp;:</TD
4500><TD
4501WIDTH="80%"
4502ALIGN="LEFT"
4503VALIGN="TOP"
4504> the comment content</TD
4505></TR
4506><TR
4507><TD
4508WIDTH="20%"
4509ALIGN="RIGHT"
4510VALIGN="TOP"
4511><I
4512CLASS="EMPHASIS"
4513>Returns</I
4514> :</TD
4515><TD
4516WIDTH="80%"
4517ALIGN="LEFT"
4518VALIGN="TOP"
4519>a pointer to the new node object.</TD
4520></TR
4521></TABLE
4522><P
4523></P
4524></DIV
4525></DIV
4526><HR><DIV
4527CLASS="REFSECT2"
4528><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004529NAME="AEN2601"
Daniel Veillard35925471999-02-25 08:46:07 +00004530></A
4531><H3
4532><A
4533NAME="XMLNEWCOMMENT"
4534></A
4535>xmlNewComment()</H3
4536><TABLE
4537BORDER="0"
4538BGCOLOR="#E8E8F8"
4539WIDTH="100%"
4540CELLPADDING="6"
4541><TR
4542><TD
4543><PRE
4544CLASS="PROGRAMLISTING"
4545><A
4546HREF="gnome-xml-tree.html#XMLNODEPTR"
4547>xmlNodePtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004548> xmlNewComment (const <A
Daniel Veillard35925471999-02-25 08:46:07 +00004549HREF="gnome-xml-tree.html#CHAR"
4550>CHAR</A
4551> *content);</PRE
4552></TD
4553></TR
4554></TABLE
4555><P
4556>Creation of a new node containing a comment.</P
4557><P
4558></P
4559><DIV
4560CLASS="INFORMALTABLE"
4561><P
4562></P
4563><TABLE
4564BORDER="0"
4565WIDTH="100%"
4566BGCOLOR="#FFE0E0"
4567CELLSPACING="0"
4568CELLPADDING="4"
4569CLASS="CALSTABLE"
4570><TR
4571><TD
4572WIDTH="20%"
4573ALIGN="RIGHT"
4574VALIGN="TOP"
4575><TT
4576CLASS="PARAMETER"
4577><I
4578>content</I
4579></TT
4580>&nbsp;:</TD
4581><TD
4582WIDTH="80%"
4583ALIGN="LEFT"
4584VALIGN="TOP"
4585> the comment content</TD
4586></TR
4587><TR
4588><TD
4589WIDTH="20%"
4590ALIGN="RIGHT"
4591VALIGN="TOP"
4592><I
4593CLASS="EMPHASIS"
4594>Returns</I
4595> :</TD
4596><TD
4597WIDTH="80%"
4598ALIGN="LEFT"
4599VALIGN="TOP"
4600>a pointer to the new node object.</TD
4601></TR
4602></TABLE
4603><P
4604></P
4605></DIV
4606></DIV
4607><HR><DIV
4608CLASS="REFSECT2"
4609><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004610NAME="AEN2622"
Daniel Veillard35925471999-02-25 08:46:07 +00004611></A
4612><H3
4613><A
4614NAME="XMLNEWREFERENCE"
4615></A
4616>xmlNewReference()</H3
4617><TABLE
4618BORDER="0"
4619BGCOLOR="#E8E8F8"
4620WIDTH="100%"
4621CELLPADDING="6"
4622><TR
4623><TD
4624><PRE
4625CLASS="PROGRAMLISTING"
4626><A
4627HREF="gnome-xml-tree.html#XMLNODEPTR"
4628>xmlNodePtr</A
4629> xmlNewReference (<A
4630HREF="gnome-xml-tree.html#XMLDOCPTR"
4631>xmlDocPtr</A
4632> doc,
4633 const <A
4634HREF="gnome-xml-tree.html#CHAR"
4635>CHAR</A
4636> *name);</PRE
4637></TD
4638></TR
4639></TABLE
4640><P
4641>Creation of a new reference node.</P
4642><P
4643></P
4644><DIV
4645CLASS="INFORMALTABLE"
4646><P
4647></P
4648><TABLE
4649BORDER="0"
4650WIDTH="100%"
4651BGCOLOR="#FFE0E0"
4652CELLSPACING="0"
4653CELLPADDING="4"
4654CLASS="CALSTABLE"
4655><TR
4656><TD
4657WIDTH="20%"
4658ALIGN="RIGHT"
4659VALIGN="TOP"
4660><TT
4661CLASS="PARAMETER"
4662><I
4663>doc</I
4664></TT
4665>&nbsp;:</TD
4666><TD
4667WIDTH="80%"
4668ALIGN="LEFT"
4669VALIGN="TOP"
4670> the document</TD
4671></TR
4672><TR
4673><TD
4674WIDTH="20%"
4675ALIGN="RIGHT"
4676VALIGN="TOP"
4677><TT
4678CLASS="PARAMETER"
4679><I
4680>name</I
4681></TT
4682>&nbsp;:</TD
4683><TD
4684WIDTH="80%"
4685ALIGN="LEFT"
4686VALIGN="TOP"
4687> the reference name, or the reference string with &amp; and ;</TD
4688></TR
4689><TR
4690><TD
4691WIDTH="20%"
4692ALIGN="RIGHT"
4693VALIGN="TOP"
4694><I
4695CLASS="EMPHASIS"
4696>Returns</I
4697> :</TD
4698><TD
4699WIDTH="80%"
4700ALIGN="LEFT"
4701VALIGN="TOP"
4702>a pointer to the new node object.</TD
4703></TR
4704></TABLE
4705><P
4706></P
4707></DIV
4708></DIV
4709><HR><DIV
4710CLASS="REFSECT2"
4711><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004712NAME="AEN2648"
Daniel Veillard35925471999-02-25 08:46:07 +00004713></A
4714><H3
4715><A
4716NAME="XMLCOPYNODE"
4717></A
4718>xmlCopyNode()</H3
4719><TABLE
4720BORDER="0"
4721BGCOLOR="#E8E8F8"
4722WIDTH="100%"
4723CELLPADDING="6"
4724><TR
4725><TD
4726><PRE
4727CLASS="PROGRAMLISTING"
4728><A
4729HREF="gnome-xml-tree.html#XMLNODEPTR"
4730>xmlNodePtr</A
4731> xmlCopyNode (<A
4732HREF="gnome-xml-tree.html#XMLNODEPTR"
4733>xmlNodePtr</A
4734> node,
4735 int recursive);</PRE
4736></TD
4737></TR
4738></TABLE
4739><P
4740>Do a copy of the node.</P
4741><P
4742></P
4743><DIV
4744CLASS="INFORMALTABLE"
4745><P
4746></P
4747><TABLE
4748BORDER="0"
4749WIDTH="100%"
4750BGCOLOR="#FFE0E0"
4751CELLSPACING="0"
4752CELLPADDING="4"
4753CLASS="CALSTABLE"
4754><TR
4755><TD
4756WIDTH="20%"
4757ALIGN="RIGHT"
4758VALIGN="TOP"
4759><TT
4760CLASS="PARAMETER"
4761><I
4762>node</I
4763></TT
4764>&nbsp;:</TD
4765><TD
4766WIDTH="80%"
4767ALIGN="LEFT"
4768VALIGN="TOP"
4769> the node</TD
4770></TR
4771><TR
4772><TD
4773WIDTH="20%"
4774ALIGN="RIGHT"
4775VALIGN="TOP"
4776><TT
4777CLASS="PARAMETER"
4778><I
4779>recursive</I
4780></TT
4781>&nbsp;:</TD
4782><TD
4783WIDTH="80%"
4784ALIGN="LEFT"
4785VALIGN="TOP"
4786> if 1 do a recursive copy.</TD
4787></TR
4788><TR
4789><TD
4790WIDTH="20%"
4791ALIGN="RIGHT"
4792VALIGN="TOP"
4793><I
4794CLASS="EMPHASIS"
4795>Returns</I
4796> :</TD
4797><TD
4798WIDTH="80%"
4799ALIGN="LEFT"
4800VALIGN="TOP"
4801> a new xmlNodePtr, or NULL in case of error.</TD
4802></TR
4803></TABLE
4804><P
4805></P
4806></DIV
4807></DIV
4808><HR><DIV
4809CLASS="REFSECT2"
4810><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004811NAME="AEN2673"
Daniel Veillard35925471999-02-25 08:46:07 +00004812></A
4813><H3
4814><A
4815NAME="XMLCOPYNODELIST"
4816></A
4817>xmlCopyNodeList()</H3
4818><TABLE
4819BORDER="0"
4820BGCOLOR="#E8E8F8"
4821WIDTH="100%"
4822CELLPADDING="6"
4823><TR
4824><TD
4825><PRE
4826CLASS="PROGRAMLISTING"
4827><A
4828HREF="gnome-xml-tree.html#XMLNODEPTR"
4829>xmlNodePtr</A
4830> xmlCopyNodeList (<A
4831HREF="gnome-xml-tree.html#XMLNODEPTR"
4832>xmlNodePtr</A
4833> node);</PRE
4834></TD
4835></TR
4836></TABLE
4837><P
4838>Do a recursive copy of the node list.</P
4839><P
4840></P
4841><DIV
4842CLASS="INFORMALTABLE"
4843><P
4844></P
4845><TABLE
4846BORDER="0"
4847WIDTH="100%"
4848BGCOLOR="#FFE0E0"
4849CELLSPACING="0"
4850CELLPADDING="4"
4851CLASS="CALSTABLE"
4852><TR
4853><TD
4854WIDTH="20%"
4855ALIGN="RIGHT"
4856VALIGN="TOP"
4857><TT
4858CLASS="PARAMETER"
4859><I
4860>node</I
4861></TT
4862>&nbsp;:</TD
4863><TD
4864WIDTH="80%"
4865ALIGN="LEFT"
4866VALIGN="TOP"
4867> the first node in the list.</TD
4868></TR
4869><TR
4870><TD
4871WIDTH="20%"
4872ALIGN="RIGHT"
4873VALIGN="TOP"
4874><I
4875CLASS="EMPHASIS"
4876>Returns</I
4877> :</TD
4878><TD
4879WIDTH="80%"
4880ALIGN="LEFT"
4881VALIGN="TOP"
4882> a new xmlNodePtr, or NULL in case of error.</TD
4883></TR
4884></TABLE
4885><P
4886></P
4887></DIV
4888></DIV
4889><HR><DIV
4890CLASS="REFSECT2"
4891><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004892NAME="AEN2694"
Daniel Veillard35925471999-02-25 08:46:07 +00004893></A
4894><H3
4895><A
4896NAME="XMLGETLASTCHILD"
4897></A
4898>xmlGetLastChild()</H3
4899><TABLE
4900BORDER="0"
4901BGCOLOR="#E8E8F8"
4902WIDTH="100%"
4903CELLPADDING="6"
4904><TR
4905><TD
4906><PRE
4907CLASS="PROGRAMLISTING"
4908><A
4909HREF="gnome-xml-tree.html#XMLNODEPTR"
4910>xmlNodePtr</A
4911> xmlGetLastChild (<A
4912HREF="gnome-xml-tree.html#XMLNODEPTR"
4913>xmlNodePtr</A
4914> parent);</PRE
4915></TD
4916></TR
4917></TABLE
4918><P
4919>Search the last child of a node.</P
4920><P
4921></P
4922><DIV
4923CLASS="INFORMALTABLE"
4924><P
4925></P
4926><TABLE
4927BORDER="0"
4928WIDTH="100%"
4929BGCOLOR="#FFE0E0"
4930CELLSPACING="0"
4931CELLPADDING="4"
4932CLASS="CALSTABLE"
4933><TR
4934><TD
4935WIDTH="20%"
4936ALIGN="RIGHT"
4937VALIGN="TOP"
4938><TT
4939CLASS="PARAMETER"
4940><I
4941>parent</I
4942></TT
4943>&nbsp;:</TD
4944><TD
4945WIDTH="80%"
4946ALIGN="LEFT"
4947VALIGN="TOP"
4948> the parent node</TD
4949></TR
4950><TR
4951><TD
4952WIDTH="20%"
4953ALIGN="RIGHT"
4954VALIGN="TOP"
4955><I
4956CLASS="EMPHASIS"
4957>Returns</I
4958> :</TD
4959><TD
4960WIDTH="80%"
4961ALIGN="LEFT"
4962VALIGN="TOP"
4963>the last child or NULL if none.</TD
4964></TR
4965></TABLE
4966><P
4967></P
4968></DIV
4969></DIV
4970><HR><DIV
4971CLASS="REFSECT2"
4972><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004973NAME="AEN2715"
Daniel Veillard35925471999-02-25 08:46:07 +00004974></A
4975><H3
4976><A
4977NAME="XMLNODEISTEXT"
4978></A
4979>xmlNodeIsText()</H3
4980><TABLE
4981BORDER="0"
4982BGCOLOR="#E8E8F8"
4983WIDTH="100%"
4984CELLPADDING="6"
4985><TR
4986><TD
4987><PRE
4988CLASS="PROGRAMLISTING"
4989>int xmlNodeIsText (<A
4990HREF="gnome-xml-tree.html#XMLNODEPTR"
4991>xmlNodePtr</A
4992> node);</PRE
4993></TD
4994></TR
4995></TABLE
4996><P
4997>Is this node a Text node ?</P
4998><P
4999></P
5000><DIV
5001CLASS="INFORMALTABLE"
5002><P
5003></P
5004><TABLE
5005BORDER="0"
5006WIDTH="100%"
5007BGCOLOR="#FFE0E0"
5008CELLSPACING="0"
5009CELLPADDING="4"
5010CLASS="CALSTABLE"
5011><TR
5012><TD
5013WIDTH="20%"
5014ALIGN="RIGHT"
5015VALIGN="TOP"
5016><TT
5017CLASS="PARAMETER"
5018><I
5019>node</I
5020></TT
5021>&nbsp;:</TD
5022><TD
5023WIDTH="80%"
5024ALIGN="LEFT"
5025VALIGN="TOP"
5026> the node</TD
5027></TR
5028><TR
5029><TD
5030WIDTH="20%"
5031ALIGN="RIGHT"
5032VALIGN="TOP"
5033><I
5034CLASS="EMPHASIS"
5035>Returns</I
5036> :</TD
5037><TD
5038WIDTH="80%"
5039ALIGN="LEFT"
5040VALIGN="TOP"
5041>1 yes, 0 no</TD
5042></TR
5043></TABLE
5044><P
5045></P
5046></DIV
5047></DIV
5048><HR><DIV
5049CLASS="REFSECT2"
5050><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005051NAME="AEN2735"
Daniel Veillard35925471999-02-25 08:46:07 +00005052></A
5053><H3
5054><A
5055NAME="XMLADDCHILD"
5056></A
5057>xmlAddChild()</H3
5058><TABLE
5059BORDER="0"
5060BGCOLOR="#E8E8F8"
5061WIDTH="100%"
5062CELLPADDING="6"
5063><TR
5064><TD
5065><PRE
5066CLASS="PROGRAMLISTING"
5067><A
5068HREF="gnome-xml-tree.html#XMLNODEPTR"
5069>xmlNodePtr</A
5070> xmlAddChild (<A
5071HREF="gnome-xml-tree.html#XMLNODEPTR"
5072>xmlNodePtr</A
5073> parent,
5074 <A
5075HREF="gnome-xml-tree.html#XMLNODEPTR"
5076>xmlNodePtr</A
5077> cur);</PRE
5078></TD
5079></TR
5080></TABLE
5081><P
5082>Add a new child element, to <TT
5083CLASS="PARAMETER"
5084><I
5085>parent</I
5086></TT
5087>, at the end of the child list.</P
5088><P
5089></P
5090><DIV
5091CLASS="INFORMALTABLE"
5092><P
5093></P
5094><TABLE
5095BORDER="0"
5096WIDTH="100%"
5097BGCOLOR="#FFE0E0"
5098CELLSPACING="0"
5099CELLPADDING="4"
5100CLASS="CALSTABLE"
5101><TR
5102><TD
5103WIDTH="20%"
5104ALIGN="RIGHT"
5105VALIGN="TOP"
5106><TT
5107CLASS="PARAMETER"
5108><I
5109>parent</I
5110></TT
5111>&nbsp;:</TD
5112><TD
5113WIDTH="80%"
5114ALIGN="LEFT"
5115VALIGN="TOP"
5116> the parent node</TD
5117></TR
5118><TR
5119><TD
5120WIDTH="20%"
5121ALIGN="RIGHT"
5122VALIGN="TOP"
5123><TT
5124CLASS="PARAMETER"
5125><I
5126>cur</I
5127></TT
5128>&nbsp;:</TD
5129><TD
5130WIDTH="80%"
5131ALIGN="LEFT"
5132VALIGN="TOP"
5133> the child node</TD
5134></TR
5135><TR
5136><TD
5137WIDTH="20%"
5138ALIGN="RIGHT"
5139VALIGN="TOP"
5140><I
5141CLASS="EMPHASIS"
5142>Returns</I
5143> :</TD
5144><TD
5145WIDTH="80%"
5146ALIGN="LEFT"
5147VALIGN="TOP"
5148>the child or NULL in case of error.</TD
5149></TR
5150></TABLE
5151><P
5152></P
5153></DIV
5154></DIV
5155><HR><DIV
5156CLASS="REFSECT2"
5157><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005158NAME="AEN2762"
Daniel Veillard35925471999-02-25 08:46:07 +00005159></A
5160><H3
5161><A
5162NAME="XMLUNLINKNODE"
5163></A
5164>xmlUnlinkNode()</H3
5165><TABLE
5166BORDER="0"
5167BGCOLOR="#E8E8F8"
5168WIDTH="100%"
5169CELLPADDING="6"
5170><TR
5171><TD
5172><PRE
5173CLASS="PROGRAMLISTING"
5174>void xmlUnlinkNode (<A
5175HREF="gnome-xml-tree.html#XMLNODEPTR"
5176>xmlNodePtr</A
5177> cur);</PRE
5178></TD
5179></TR
5180></TABLE
5181><P
5182>Unlink a node from it's current context, the node is not freed</P
5183><P
5184></P
5185><DIV
5186CLASS="INFORMALTABLE"
5187><P
5188></P
5189><TABLE
5190BORDER="0"
5191WIDTH="100%"
5192BGCOLOR="#FFE0E0"
5193CELLSPACING="0"
5194CELLPADDING="4"
5195CLASS="CALSTABLE"
5196><TR
5197><TD
5198WIDTH="20%"
5199ALIGN="RIGHT"
5200VALIGN="TOP"
5201><TT
5202CLASS="PARAMETER"
5203><I
5204>cur</I
5205></TT
5206>&nbsp;:</TD
5207><TD
5208WIDTH="80%"
5209ALIGN="LEFT"
5210VALIGN="TOP"
5211> the node</TD
5212></TR
5213></TABLE
5214><P
5215></P
5216></DIV
5217></DIV
5218><HR><DIV
5219CLASS="REFSECT2"
5220><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005221NAME="AEN2778"
Daniel Veillard35925471999-02-25 08:46:07 +00005222></A
5223><H3
5224><A
5225NAME="XMLTEXTMERGE"
5226></A
5227>xmlTextMerge()</H3
5228><TABLE
5229BORDER="0"
5230BGCOLOR="#E8E8F8"
5231WIDTH="100%"
5232CELLPADDING="6"
5233><TR
5234><TD
5235><PRE
5236CLASS="PROGRAMLISTING"
5237><A
5238HREF="gnome-xml-tree.html#XMLNODEPTR"
5239>xmlNodePtr</A
5240> xmlTextMerge (<A
5241HREF="gnome-xml-tree.html#XMLNODEPTR"
5242>xmlNodePtr</A
5243> first,
5244 <A
5245HREF="gnome-xml-tree.html#XMLNODEPTR"
5246>xmlNodePtr</A
5247> second);</PRE
5248></TD
5249></TR
5250></TABLE
5251><P
5252>Merge two text nodes into one</P
5253><P
5254></P
5255><DIV
5256CLASS="INFORMALTABLE"
5257><P
5258></P
5259><TABLE
5260BORDER="0"
5261WIDTH="100%"
5262BGCOLOR="#FFE0E0"
5263CELLSPACING="0"
5264CELLPADDING="4"
5265CLASS="CALSTABLE"
5266><TR
5267><TD
5268WIDTH="20%"
5269ALIGN="RIGHT"
5270VALIGN="TOP"
5271><TT
5272CLASS="PARAMETER"
5273><I
5274>first</I
5275></TT
5276>&nbsp;:</TD
5277><TD
5278WIDTH="80%"
5279ALIGN="LEFT"
5280VALIGN="TOP"
5281> the first text node</TD
5282></TR
5283><TR
5284><TD
5285WIDTH="20%"
5286ALIGN="RIGHT"
5287VALIGN="TOP"
5288><TT
5289CLASS="PARAMETER"
5290><I
5291>second</I
5292></TT
5293>&nbsp;:</TD
5294><TD
5295WIDTH="80%"
5296ALIGN="LEFT"
5297VALIGN="TOP"
5298> the second text node being merged</TD
5299></TR
5300><TR
5301><TD
5302WIDTH="20%"
5303ALIGN="RIGHT"
5304VALIGN="TOP"
5305><I
5306CLASS="EMPHASIS"
5307>Returns</I
5308> :</TD
5309><TD
5310WIDTH="80%"
5311ALIGN="LEFT"
5312VALIGN="TOP"
5313>the first text node augmented</TD
5314></TR
5315></TABLE
5316><P
5317></P
5318></DIV
5319></DIV
5320><HR><DIV
5321CLASS="REFSECT2"
5322><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005323NAME="AEN2804"
Daniel Veillard35925471999-02-25 08:46:07 +00005324></A
5325><H3
5326><A
5327NAME="XMLTEXTCONCAT"
5328></A
5329>xmlTextConcat()</H3
5330><TABLE
5331BORDER="0"
5332BGCOLOR="#E8E8F8"
5333WIDTH="100%"
5334CELLPADDING="6"
5335><TR
5336><TD
5337><PRE
5338CLASS="PROGRAMLISTING"
5339>void xmlTextConcat (<A
5340HREF="gnome-xml-tree.html#XMLNODEPTR"
5341>xmlNodePtr</A
5342> node,
5343 const <A
5344HREF="gnome-xml-tree.html#CHAR"
5345>CHAR</A
5346> *content,
5347 int len);</PRE
5348></TD
5349></TR
5350></TABLE
5351><P
5352>Concat the given string at the end of the existing node content</P
5353><P
5354></P
5355><DIV
5356CLASS="INFORMALTABLE"
5357><P
5358></P
5359><TABLE
5360BORDER="0"
5361WIDTH="100%"
5362BGCOLOR="#FFE0E0"
5363CELLSPACING="0"
5364CELLPADDING="4"
5365CLASS="CALSTABLE"
5366><TR
5367><TD
5368WIDTH="20%"
5369ALIGN="RIGHT"
5370VALIGN="TOP"
5371><TT
5372CLASS="PARAMETER"
5373><I
5374>node</I
5375></TT
5376>&nbsp;:</TD
5377><TD
5378WIDTH="80%"
5379ALIGN="LEFT"
5380VALIGN="TOP"
5381> the node</TD
5382></TR
5383><TR
5384><TD
5385WIDTH="20%"
5386ALIGN="RIGHT"
5387VALIGN="TOP"
5388><TT
5389CLASS="PARAMETER"
5390><I
5391>content</I
5392></TT
5393>&nbsp;:</TD
5394><TD
5395WIDTH="80%"
5396ALIGN="LEFT"
5397VALIGN="TOP"
5398> the content</TD
5399></TR
5400><TR
5401><TD
5402WIDTH="20%"
5403ALIGN="RIGHT"
5404VALIGN="TOP"
5405><TT
5406CLASS="PARAMETER"
5407><I
5408>len</I
5409></TT
5410>&nbsp;:</TD
5411><TD
5412WIDTH="80%"
5413ALIGN="LEFT"
5414VALIGN="TOP"
5415> <TT
5416CLASS="PARAMETER"
5417><I
5418>content</I
5419></TT
5420> lenght</TD
5421></TR
5422></TABLE
5423><P
5424></P
5425></DIV
5426></DIV
5427><HR><DIV
5428CLASS="REFSECT2"
5429><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005430NAME="AEN2830"
Daniel Veillard35925471999-02-25 08:46:07 +00005431></A
5432><H3
5433><A
5434NAME="XMLFREENODELIST"
5435></A
5436>xmlFreeNodeList()</H3
5437><TABLE
5438BORDER="0"
5439BGCOLOR="#E8E8F8"
5440WIDTH="100%"
5441CELLPADDING="6"
5442><TR
5443><TD
5444><PRE
5445CLASS="PROGRAMLISTING"
5446>void xmlFreeNodeList (<A
5447HREF="gnome-xml-tree.html#XMLNODEPTR"
5448>xmlNodePtr</A
5449> cur);</PRE
5450></TD
5451></TR
5452></TABLE
5453><P
5454>Free a node and all its siblings, this is a recursive behaviour, all
5455the childs are freed too.</P
5456><P
5457></P
5458><DIV
5459CLASS="INFORMALTABLE"
5460><P
5461></P
5462><TABLE
5463BORDER="0"
5464WIDTH="100%"
5465BGCOLOR="#FFE0E0"
5466CELLSPACING="0"
5467CELLPADDING="4"
5468CLASS="CALSTABLE"
5469><TR
5470><TD
5471WIDTH="20%"
5472ALIGN="RIGHT"
5473VALIGN="TOP"
5474><TT
5475CLASS="PARAMETER"
5476><I
5477>cur</I
5478></TT
5479>&nbsp;:</TD
5480><TD
5481WIDTH="80%"
5482ALIGN="LEFT"
5483VALIGN="TOP"
5484> the first node in the list</TD
5485></TR
5486></TABLE
5487><P
5488></P
5489></DIV
5490></DIV
5491><HR><DIV
5492CLASS="REFSECT2"
5493><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005494NAME="AEN2846"
Daniel Veillard35925471999-02-25 08:46:07 +00005495></A
5496><H3
5497><A
5498NAME="XMLFREENODE"
5499></A
5500>xmlFreeNode()</H3
5501><TABLE
5502BORDER="0"
5503BGCOLOR="#E8E8F8"
5504WIDTH="100%"
5505CELLPADDING="6"
5506><TR
5507><TD
5508><PRE
5509CLASS="PROGRAMLISTING"
5510>void xmlFreeNode (<A
5511HREF="gnome-xml-tree.html#XMLNODEPTR"
5512>xmlNodePtr</A
5513> cur);</PRE
5514></TD
5515></TR
5516></TABLE
5517><P
5518>Free a node, this is a recursive behaviour, all the childs are freed too.</P
5519><P
5520></P
5521><DIV
5522CLASS="INFORMALTABLE"
5523><P
5524></P
5525><TABLE
5526BORDER="0"
5527WIDTH="100%"
5528BGCOLOR="#FFE0E0"
5529CELLSPACING="0"
5530CELLPADDING="4"
5531CLASS="CALSTABLE"
5532><TR
5533><TD
5534WIDTH="20%"
5535ALIGN="RIGHT"
5536VALIGN="TOP"
5537><TT
5538CLASS="PARAMETER"
5539><I
5540>cur</I
5541></TT
5542>&nbsp;:</TD
5543><TD
5544WIDTH="80%"
5545ALIGN="LEFT"
5546VALIGN="TOP"
5547> the node</TD
5548></TR
5549></TABLE
5550><P
5551></P
5552></DIV
5553></DIV
5554><HR><DIV
5555CLASS="REFSECT2"
5556><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005557NAME="AEN2862"
Daniel Veillard35925471999-02-25 08:46:07 +00005558></A
5559><H3
5560><A
5561NAME="XMLSEARCHNS"
5562></A
5563>xmlSearchNs()</H3
5564><TABLE
5565BORDER="0"
5566BGCOLOR="#E8E8F8"
5567WIDTH="100%"
5568CELLPADDING="6"
5569><TR
5570><TD
5571><PRE
5572CLASS="PROGRAMLISTING"
5573><A
5574HREF="gnome-xml-tree.html#XMLNSPTR"
5575>xmlNsPtr</A
5576> xmlSearchNs (<A
5577HREF="gnome-xml-tree.html#XMLDOCPTR"
5578>xmlDocPtr</A
5579> doc,
5580 <A
5581HREF="gnome-xml-tree.html#XMLNODEPTR"
5582>xmlNodePtr</A
5583> node,
5584 const <A
5585HREF="gnome-xml-tree.html#CHAR"
5586>CHAR</A
5587> *nameSpace);</PRE
5588></TD
5589></TR
5590></TABLE
5591><P
5592>Search a Ns registered under a given name space for a document.
5593recurse on the parents until it finds the defined namespace
5594or return NULL otherwise.
5595<TT
5596CLASS="PARAMETER"
5597><I
5598>nameSpace</I
5599></TT
5600> can be NULL, this is a search for the default namespace.</P
5601><P
5602></P
5603><DIV
5604CLASS="INFORMALTABLE"
5605><P
5606></P
5607><TABLE
5608BORDER="0"
5609WIDTH="100%"
5610BGCOLOR="#FFE0E0"
5611CELLSPACING="0"
5612CELLPADDING="4"
5613CLASS="CALSTABLE"
5614><TR
5615><TD
5616WIDTH="20%"
5617ALIGN="RIGHT"
5618VALIGN="TOP"
5619><TT
5620CLASS="PARAMETER"
5621><I
5622>doc</I
5623></TT
5624>&nbsp;:</TD
5625><TD
5626WIDTH="80%"
5627ALIGN="LEFT"
5628VALIGN="TOP"
5629> the document</TD
5630></TR
5631><TR
5632><TD
5633WIDTH="20%"
5634ALIGN="RIGHT"
5635VALIGN="TOP"
5636><TT
5637CLASS="PARAMETER"
5638><I
5639>node</I
5640></TT
5641>&nbsp;:</TD
5642><TD
5643WIDTH="80%"
5644ALIGN="LEFT"
5645VALIGN="TOP"
5646> the current node</TD
5647></TR
5648><TR
5649><TD
5650WIDTH="20%"
5651ALIGN="RIGHT"
5652VALIGN="TOP"
5653><TT
5654CLASS="PARAMETER"
5655><I
5656>nameSpace</I
5657></TT
5658>&nbsp;:</TD
5659><TD
5660WIDTH="80%"
5661ALIGN="LEFT"
5662VALIGN="TOP"
5663> the namespace string</TD
5664></TR
5665><TR
5666><TD
5667WIDTH="20%"
5668ALIGN="RIGHT"
5669VALIGN="TOP"
5670><I
5671CLASS="EMPHASIS"
5672>Returns</I
5673> :</TD
5674><TD
5675WIDTH="80%"
5676ALIGN="LEFT"
5677VALIGN="TOP"
5678>the namespace pointer or NULL.</TD
5679></TR
5680></TABLE
5681><P
5682></P
5683></DIV
5684></DIV
5685><HR><DIV
5686CLASS="REFSECT2"
5687><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005688NAME="AEN2894"
Daniel Veillard35925471999-02-25 08:46:07 +00005689></A
5690><H3
5691><A
5692NAME="XMLSEARCHNSBYHREF"
5693></A
5694>xmlSearchNsByHref()</H3
5695><TABLE
5696BORDER="0"
5697BGCOLOR="#E8E8F8"
5698WIDTH="100%"
5699CELLPADDING="6"
5700><TR
5701><TD
5702><PRE
5703CLASS="PROGRAMLISTING"
5704><A
5705HREF="gnome-xml-tree.html#XMLNSPTR"
5706>xmlNsPtr</A
5707> xmlSearchNsByHref (<A
5708HREF="gnome-xml-tree.html#XMLDOCPTR"
5709>xmlDocPtr</A
5710> doc,
5711 <A
5712HREF="gnome-xml-tree.html#XMLNODEPTR"
5713>xmlNodePtr</A
5714> node,
5715 const <A
5716HREF="gnome-xml-tree.html#CHAR"
5717>CHAR</A
5718> *href);</PRE
5719></TD
5720></TR
5721></TABLE
5722><P
5723>Search a Ns aliasing a given URI. Recurse on the parents until it finds
5724the defined namespace or return NULL otherwise.</P
5725><P
5726></P
5727><DIV
5728CLASS="INFORMALTABLE"
5729><P
5730></P
5731><TABLE
5732BORDER="0"
5733WIDTH="100%"
5734BGCOLOR="#FFE0E0"
5735CELLSPACING="0"
5736CELLPADDING="4"
5737CLASS="CALSTABLE"
5738><TR
5739><TD
5740WIDTH="20%"
5741ALIGN="RIGHT"
5742VALIGN="TOP"
5743><TT
5744CLASS="PARAMETER"
5745><I
5746>doc</I
5747></TT
5748>&nbsp;:</TD
5749><TD
5750WIDTH="80%"
5751ALIGN="LEFT"
5752VALIGN="TOP"
5753> the document</TD
5754></TR
5755><TR
5756><TD
5757WIDTH="20%"
5758ALIGN="RIGHT"
5759VALIGN="TOP"
5760><TT
5761CLASS="PARAMETER"
5762><I
5763>node</I
5764></TT
5765>&nbsp;:</TD
5766><TD
5767WIDTH="80%"
5768ALIGN="LEFT"
5769VALIGN="TOP"
5770> the current node</TD
5771></TR
5772><TR
5773><TD
5774WIDTH="20%"
5775ALIGN="RIGHT"
5776VALIGN="TOP"
5777><TT
5778CLASS="PARAMETER"
5779><I
5780>href</I
5781></TT
5782>&nbsp;:</TD
5783><TD
5784WIDTH="80%"
5785ALIGN="LEFT"
5786VALIGN="TOP"
5787> the namespace value</TD
5788></TR
5789><TR
5790><TD
5791WIDTH="20%"
5792ALIGN="RIGHT"
5793VALIGN="TOP"
5794><I
5795CLASS="EMPHASIS"
5796>Returns</I
5797> :</TD
5798><TD
5799WIDTH="80%"
5800ALIGN="LEFT"
5801VALIGN="TOP"
5802>the namespace pointer or NULL.</TD
5803></TR
5804></TABLE
5805><P
5806></P
5807></DIV
5808></DIV
5809><HR><DIV
5810CLASS="REFSECT2"
5811><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005812NAME="AEN2925"
Daniel Veillard35925471999-02-25 08:46:07 +00005813></A
5814><H3
5815><A
5816NAME="XMLSETNS"
5817></A
5818>xmlSetNs()</H3
5819><TABLE
5820BORDER="0"
5821BGCOLOR="#E8E8F8"
5822WIDTH="100%"
5823CELLPADDING="6"
5824><TR
5825><TD
5826><PRE
5827CLASS="PROGRAMLISTING"
5828>void xmlSetNs (<A
5829HREF="gnome-xml-tree.html#XMLNODEPTR"
5830>xmlNodePtr</A
5831> node,
5832 <A
5833HREF="gnome-xml-tree.html#XMLNSPTR"
5834>xmlNsPtr</A
5835> ns);</PRE
5836></TD
5837></TR
5838></TABLE
5839><P
5840>Associate a namespace to a node, a posteriori.</P
5841><P
5842></P
5843><DIV
5844CLASS="INFORMALTABLE"
5845><P
5846></P
5847><TABLE
5848BORDER="0"
5849WIDTH="100%"
5850BGCOLOR="#FFE0E0"
5851CELLSPACING="0"
5852CELLPADDING="4"
5853CLASS="CALSTABLE"
5854><TR
5855><TD
5856WIDTH="20%"
5857ALIGN="RIGHT"
5858VALIGN="TOP"
5859><TT
5860CLASS="PARAMETER"
5861><I
5862>node</I
5863></TT
5864>&nbsp;:</TD
5865><TD
5866WIDTH="80%"
5867ALIGN="LEFT"
5868VALIGN="TOP"
5869> a node in the document</TD
5870></TR
5871><TR
5872><TD
5873WIDTH="20%"
5874ALIGN="RIGHT"
5875VALIGN="TOP"
5876><TT
5877CLASS="PARAMETER"
5878><I
5879>ns</I
5880></TT
5881>&nbsp;:</TD
5882><TD
5883WIDTH="80%"
5884ALIGN="LEFT"
5885VALIGN="TOP"
5886> a namespace pointer</TD
5887></TR
5888></TABLE
5889><P
5890></P
5891></DIV
5892></DIV
5893><HR><DIV
5894CLASS="REFSECT2"
5895><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005896NAME="AEN2946"
Daniel Veillard35925471999-02-25 08:46:07 +00005897></A
5898><H3
5899><A
5900NAME="XMLCOPYNAMESPACE"
5901></A
5902>xmlCopyNamespace()</H3
5903><TABLE
5904BORDER="0"
5905BGCOLOR="#E8E8F8"
5906WIDTH="100%"
5907CELLPADDING="6"
5908><TR
5909><TD
5910><PRE
5911CLASS="PROGRAMLISTING"
5912><A
5913HREF="gnome-xml-tree.html#XMLNSPTR"
5914>xmlNsPtr</A
5915> xmlCopyNamespace (<A
5916HREF="gnome-xml-tree.html#XMLNSPTR"
5917>xmlNsPtr</A
5918> cur);</PRE
5919></TD
5920></TR
5921></TABLE
5922><P
5923>Do a copy of the namespace.</P
5924><P
5925></P
5926><DIV
5927CLASS="INFORMALTABLE"
5928><P
5929></P
5930><TABLE
5931BORDER="0"
5932WIDTH="100%"
5933BGCOLOR="#FFE0E0"
5934CELLSPACING="0"
5935CELLPADDING="4"
5936CLASS="CALSTABLE"
5937><TR
5938><TD
5939WIDTH="20%"
5940ALIGN="RIGHT"
5941VALIGN="TOP"
5942><TT
5943CLASS="PARAMETER"
5944><I
5945>cur</I
5946></TT
5947>&nbsp;:</TD
5948><TD
5949WIDTH="80%"
5950ALIGN="LEFT"
5951VALIGN="TOP"
5952> the namespace</TD
5953></TR
5954><TR
5955><TD
5956WIDTH="20%"
5957ALIGN="RIGHT"
5958VALIGN="TOP"
5959><I
5960CLASS="EMPHASIS"
5961>Returns</I
5962> :</TD
5963><TD
5964WIDTH="80%"
5965ALIGN="LEFT"
5966VALIGN="TOP"
5967> a new xmlNsPtr, or NULL in case of error.</TD
5968></TR
5969></TABLE
5970><P
5971></P
5972></DIV
5973></DIV
5974><HR><DIV
5975CLASS="REFSECT2"
5976><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005977NAME="AEN2967"
Daniel Veillard35925471999-02-25 08:46:07 +00005978></A
5979><H3
5980><A
5981NAME="XMLCOPYNAMESPACELIST"
5982></A
5983>xmlCopyNamespaceList()</H3
5984><TABLE
5985BORDER="0"
5986BGCOLOR="#E8E8F8"
5987WIDTH="100%"
5988CELLPADDING="6"
5989><TR
5990><TD
5991><PRE
5992CLASS="PROGRAMLISTING"
5993><A
5994HREF="gnome-xml-tree.html#XMLNSPTR"
5995>xmlNsPtr</A
5996> xmlCopyNamespaceList (<A
5997HREF="gnome-xml-tree.html#XMLNSPTR"
5998>xmlNsPtr</A
5999> cur);</PRE
6000></TD
6001></TR
6002></TABLE
6003><P
6004>Do a copy of an namespace list.</P
6005><P
6006></P
6007><DIV
6008CLASS="INFORMALTABLE"
6009><P
6010></P
6011><TABLE
6012BORDER="0"
6013WIDTH="100%"
6014BGCOLOR="#FFE0E0"
6015CELLSPACING="0"
6016CELLPADDING="4"
6017CLASS="CALSTABLE"
6018><TR
6019><TD
6020WIDTH="20%"
6021ALIGN="RIGHT"
6022VALIGN="TOP"
6023><TT
6024CLASS="PARAMETER"
6025><I
6026>cur</I
6027></TT
6028>&nbsp;:</TD
6029><TD
6030WIDTH="80%"
6031ALIGN="LEFT"
6032VALIGN="TOP"
6033> the first namespace</TD
6034></TR
6035><TR
6036><TD
6037WIDTH="20%"
6038ALIGN="RIGHT"
6039VALIGN="TOP"
6040><I
6041CLASS="EMPHASIS"
6042>Returns</I
6043> :</TD
6044><TD
6045WIDTH="80%"
6046ALIGN="LEFT"
6047VALIGN="TOP"
6048> a new xmlNsPtr, or NULL in case of error.</TD
6049></TR
6050></TABLE
6051><P
6052></P
6053></DIV
6054></DIV
6055><HR><DIV
6056CLASS="REFSECT2"
6057><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006058NAME="AEN2988"
Daniel Veillard35925471999-02-25 08:46:07 +00006059></A
6060><H3
6061><A
6062NAME="XMLSETPROP"
6063></A
6064>xmlSetProp()</H3
6065><TABLE
6066BORDER="0"
6067BGCOLOR="#E8E8F8"
6068WIDTH="100%"
6069CELLPADDING="6"
6070><TR
6071><TD
6072><PRE
6073CLASS="PROGRAMLISTING"
6074><A
6075HREF="gnome-xml-tree.html#XMLATTRPTR"
6076>xmlAttrPtr</A
6077> xmlSetProp (<A
6078HREF="gnome-xml-tree.html#XMLNODEPTR"
6079>xmlNodePtr</A
6080> node,
6081 const <A
6082HREF="gnome-xml-tree.html#CHAR"
6083>CHAR</A
6084> *name,
6085 const <A
6086HREF="gnome-xml-tree.html#CHAR"
6087>CHAR</A
6088> *value);</PRE
6089></TD
6090></TR
6091></TABLE
6092><P
6093>Set (or reset) an attribute carried by a node.</P
6094><P
6095></P
6096><DIV
6097CLASS="INFORMALTABLE"
6098><P
6099></P
6100><TABLE
6101BORDER="0"
6102WIDTH="100%"
6103BGCOLOR="#FFE0E0"
6104CELLSPACING="0"
6105CELLPADDING="4"
6106CLASS="CALSTABLE"
6107><TR
6108><TD
6109WIDTH="20%"
6110ALIGN="RIGHT"
6111VALIGN="TOP"
6112><TT
6113CLASS="PARAMETER"
6114><I
6115>node</I
6116></TT
6117>&nbsp;:</TD
6118><TD
6119WIDTH="80%"
6120ALIGN="LEFT"
6121VALIGN="TOP"
6122> the node</TD
6123></TR
6124><TR
6125><TD
6126WIDTH="20%"
6127ALIGN="RIGHT"
6128VALIGN="TOP"
6129><TT
6130CLASS="PARAMETER"
6131><I
6132>name</I
6133></TT
6134>&nbsp;:</TD
6135><TD
6136WIDTH="80%"
6137ALIGN="LEFT"
6138VALIGN="TOP"
6139> the attribute name</TD
6140></TR
6141><TR
6142><TD
6143WIDTH="20%"
6144ALIGN="RIGHT"
6145VALIGN="TOP"
6146><TT
6147CLASS="PARAMETER"
6148><I
6149>value</I
6150></TT
6151>&nbsp;:</TD
6152><TD
6153WIDTH="80%"
6154ALIGN="LEFT"
6155VALIGN="TOP"
6156> the attribute value</TD
6157></TR
6158><TR
6159><TD
6160WIDTH="20%"
6161ALIGN="RIGHT"
6162VALIGN="TOP"
6163><I
6164CLASS="EMPHASIS"
6165>Returns</I
6166> :</TD
6167><TD
6168WIDTH="80%"
6169ALIGN="LEFT"
6170VALIGN="TOP"
6171>the attribute pointer.</TD
6172></TR
6173></TABLE
6174><P
6175></P
6176></DIV
6177></DIV
6178><HR><DIV
6179CLASS="REFSECT2"
6180><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006181NAME="AEN3019"
Daniel Veillard35925471999-02-25 08:46:07 +00006182></A
6183><H3
6184><A
6185NAME="XMLGETPROP"
6186></A
6187>xmlGetProp()</H3
6188><TABLE
6189BORDER="0"
6190BGCOLOR="#E8E8F8"
6191WIDTH="100%"
6192CELLPADDING="6"
6193><TR
6194><TD
6195><PRE
6196CLASS="PROGRAMLISTING"
6197><A
6198HREF="gnome-xml-tree.html#CHAR"
6199>CHAR</A
6200>* xmlGetProp (<A
6201HREF="gnome-xml-tree.html#XMLNODEPTR"
6202>xmlNodePtr</A
6203> node,
6204 const <A
6205HREF="gnome-xml-tree.html#CHAR"
6206>CHAR</A
6207> *name);</PRE
6208></TD
6209></TR
6210></TABLE
6211><P
6212>Search and get the value of an attribute associated to a node
6213This does the entity substitution.</P
6214><P
6215></P
6216><DIV
6217CLASS="INFORMALTABLE"
6218><P
6219></P
6220><TABLE
6221BORDER="0"
6222WIDTH="100%"
6223BGCOLOR="#FFE0E0"
6224CELLSPACING="0"
6225CELLPADDING="4"
6226CLASS="CALSTABLE"
6227><TR
6228><TD
6229WIDTH="20%"
6230ALIGN="RIGHT"
6231VALIGN="TOP"
6232><TT
6233CLASS="PARAMETER"
6234><I
6235>node</I
6236></TT
6237>&nbsp;:</TD
6238><TD
6239WIDTH="80%"
6240ALIGN="LEFT"
6241VALIGN="TOP"
6242> the node</TD
6243></TR
6244><TR
6245><TD
6246WIDTH="20%"
6247ALIGN="RIGHT"
6248VALIGN="TOP"
6249><TT
6250CLASS="PARAMETER"
6251><I
6252>name</I
6253></TT
6254>&nbsp;:</TD
6255><TD
6256WIDTH="80%"
6257ALIGN="LEFT"
6258VALIGN="TOP"
6259> the attribute name</TD
6260></TR
6261><TR
6262><TD
6263WIDTH="20%"
6264ALIGN="RIGHT"
6265VALIGN="TOP"
6266><I
6267CLASS="EMPHASIS"
6268>Returns</I
6269> :</TD
6270><TD
6271WIDTH="80%"
6272ALIGN="LEFT"
6273VALIGN="TOP"
6274>the attribute value or NULL if not found.</TD
6275></TR
6276></TABLE
6277><P
6278></P
6279></DIV
6280></DIV
6281><HR><DIV
6282CLASS="REFSECT2"
6283><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006284NAME="AEN3045"
Daniel Veillard35925471999-02-25 08:46:07 +00006285></A
6286><H3
6287><A
6288NAME="XMLSTRINGGETNODELIST"
6289></A
6290>xmlStringGetNodeList()</H3
6291><TABLE
6292BORDER="0"
6293BGCOLOR="#E8E8F8"
6294WIDTH="100%"
6295CELLPADDING="6"
6296><TR
6297><TD
6298><PRE
6299CLASS="PROGRAMLISTING"
6300><A
6301HREF="gnome-xml-tree.html#XMLNODEPTR"
6302>xmlNodePtr</A
6303> xmlStringGetNodeList (<A
6304HREF="gnome-xml-tree.html#XMLDOCPTR"
6305>xmlDocPtr</A
6306> doc,
6307 const <A
6308HREF="gnome-xml-tree.html#CHAR"
6309>CHAR</A
6310> *value);</PRE
6311></TD
6312></TR
6313></TABLE
6314><P
6315>Parse the value string and build the node list associated. Should
6316produce a flat tree with only TEXTs and ENTITY_REFs.</P
6317><P
6318></P
6319><DIV
6320CLASS="INFORMALTABLE"
6321><P
6322></P
6323><TABLE
6324BORDER="0"
6325WIDTH="100%"
6326BGCOLOR="#FFE0E0"
6327CELLSPACING="0"
6328CELLPADDING="4"
6329CLASS="CALSTABLE"
6330><TR
6331><TD
6332WIDTH="20%"
6333ALIGN="RIGHT"
6334VALIGN="TOP"
6335><TT
6336CLASS="PARAMETER"
6337><I
6338>doc</I
6339></TT
6340>&nbsp;:</TD
6341><TD
6342WIDTH="80%"
6343ALIGN="LEFT"
6344VALIGN="TOP"
6345> the document</TD
6346></TR
6347><TR
6348><TD
6349WIDTH="20%"
6350ALIGN="RIGHT"
6351VALIGN="TOP"
6352><TT
6353CLASS="PARAMETER"
6354><I
6355>value</I
6356></TT
6357>&nbsp;:</TD
6358><TD
6359WIDTH="80%"
6360ALIGN="LEFT"
6361VALIGN="TOP"
6362> the value of the attribute</TD
6363></TR
6364><TR
6365><TD
6366WIDTH="20%"
6367ALIGN="RIGHT"
6368VALIGN="TOP"
6369><I
6370CLASS="EMPHASIS"
6371>Returns</I
6372> :</TD
6373><TD
6374WIDTH="80%"
6375ALIGN="LEFT"
6376VALIGN="TOP"
6377>a pointer to the first child</TD
6378></TR
6379></TABLE
6380><P
6381></P
6382></DIV
6383></DIV
6384><HR><DIV
6385CLASS="REFSECT2"
6386><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006387NAME="AEN3071"
Daniel Veillard35925471999-02-25 08:46:07 +00006388></A
6389><H3
6390><A
6391NAME="XMLSTRINGLENGETNODELIST"
6392></A
6393>xmlStringLenGetNodeList()</H3
6394><TABLE
6395BORDER="0"
6396BGCOLOR="#E8E8F8"
6397WIDTH="100%"
6398CELLPADDING="6"
6399><TR
6400><TD
6401><PRE
6402CLASS="PROGRAMLISTING"
6403><A
6404HREF="gnome-xml-tree.html#XMLNODEPTR"
6405>xmlNodePtr</A
6406> xmlStringLenGetNodeList (<A
6407HREF="gnome-xml-tree.html#XMLDOCPTR"
6408>xmlDocPtr</A
6409> doc,
6410 const <A
6411HREF="gnome-xml-tree.html#CHAR"
6412>CHAR</A
6413> *value,
6414 int len);</PRE
6415></TD
6416></TR
6417></TABLE
6418><P
6419>Parse the value string and build the node list associated. Should
6420produce a flat tree with only TEXTs and ENTITY_REFs.</P
6421><P
6422></P
6423><DIV
6424CLASS="INFORMALTABLE"
6425><P
6426></P
6427><TABLE
6428BORDER="0"
6429WIDTH="100%"
6430BGCOLOR="#FFE0E0"
6431CELLSPACING="0"
6432CELLPADDING="4"
6433CLASS="CALSTABLE"
6434><TR
6435><TD
6436WIDTH="20%"
6437ALIGN="RIGHT"
6438VALIGN="TOP"
6439><TT
6440CLASS="PARAMETER"
6441><I
6442>doc</I
6443></TT
6444>&nbsp;:</TD
6445><TD
6446WIDTH="80%"
6447ALIGN="LEFT"
6448VALIGN="TOP"
6449> the document</TD
6450></TR
6451><TR
6452><TD
6453WIDTH="20%"
6454ALIGN="RIGHT"
6455VALIGN="TOP"
6456><TT
6457CLASS="PARAMETER"
6458><I
6459>value</I
6460></TT
6461>&nbsp;:</TD
6462><TD
6463WIDTH="80%"
6464ALIGN="LEFT"
6465VALIGN="TOP"
6466> the value of the text</TD
6467></TR
6468><TR
6469><TD
6470WIDTH="20%"
6471ALIGN="RIGHT"
6472VALIGN="TOP"
6473><TT
6474CLASS="PARAMETER"
6475><I
6476>len</I
6477></TT
6478>&nbsp;:</TD
6479><TD
6480WIDTH="80%"
6481ALIGN="LEFT"
6482VALIGN="TOP"
6483> the length of the string value</TD
6484></TR
6485><TR
6486><TD
6487WIDTH="20%"
6488ALIGN="RIGHT"
6489VALIGN="TOP"
6490><I
6491CLASS="EMPHASIS"
6492>Returns</I
6493> :</TD
6494><TD
6495WIDTH="80%"
6496ALIGN="LEFT"
6497VALIGN="TOP"
6498>a pointer to the first child</TD
6499></TR
6500></TABLE
6501><P
6502></P
6503></DIV
6504></DIV
6505><HR><DIV
6506CLASS="REFSECT2"
6507><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006508NAME="AEN3101"
Daniel Veillard35925471999-02-25 08:46:07 +00006509></A
6510><H3
6511><A
6512NAME="XMLNODELISTGETSTRING"
6513></A
6514>xmlNodeListGetString()</H3
6515><TABLE
6516BORDER="0"
6517BGCOLOR="#E8E8F8"
6518WIDTH="100%"
6519CELLPADDING="6"
6520><TR
6521><TD
6522><PRE
6523CLASS="PROGRAMLISTING"
6524><A
6525HREF="gnome-xml-tree.html#CHAR"
6526>CHAR</A
6527>* xmlNodeListGetString (<A
6528HREF="gnome-xml-tree.html#XMLDOCPTR"
6529>xmlDocPtr</A
6530> doc,
6531 <A
6532HREF="gnome-xml-tree.html#XMLNODEPTR"
6533>xmlNodePtr</A
6534> list,
6535 int inLine);</PRE
6536></TD
6537></TR
6538></TABLE
6539><P
6540>Returns the string equivalent to the text contained in the Node list
6541made of TEXTs and ENTITY_REFs</P
6542><P
6543></P
6544><DIV
6545CLASS="INFORMALTABLE"
6546><P
6547></P
6548><TABLE
6549BORDER="0"
6550WIDTH="100%"
6551BGCOLOR="#FFE0E0"
6552CELLSPACING="0"
6553CELLPADDING="4"
6554CLASS="CALSTABLE"
6555><TR
6556><TD
6557WIDTH="20%"
6558ALIGN="RIGHT"
6559VALIGN="TOP"
6560><TT
6561CLASS="PARAMETER"
6562><I
6563>doc</I
6564></TT
6565>&nbsp;:</TD
6566><TD
6567WIDTH="80%"
6568ALIGN="LEFT"
6569VALIGN="TOP"
6570> the document</TD
6571></TR
6572><TR
6573><TD
6574WIDTH="20%"
6575ALIGN="RIGHT"
6576VALIGN="TOP"
6577><TT
6578CLASS="PARAMETER"
6579><I
6580>list</I
6581></TT
6582>&nbsp;:</TD
6583><TD
6584WIDTH="80%"
6585ALIGN="LEFT"
6586VALIGN="TOP"
6587> a Node list</TD
6588></TR
6589><TR
6590><TD
6591WIDTH="20%"
6592ALIGN="RIGHT"
6593VALIGN="TOP"
6594><TT
6595CLASS="PARAMETER"
6596><I
6597>inLine</I
6598></TT
6599>&nbsp;:</TD
6600><TD
6601WIDTH="80%"
6602ALIGN="LEFT"
6603VALIGN="TOP"
6604> should we replace entity contents or show their external form</TD
6605></TR
6606><TR
6607><TD
6608WIDTH="20%"
6609ALIGN="RIGHT"
6610VALIGN="TOP"
6611><I
6612CLASS="EMPHASIS"
6613>Returns</I
6614> :</TD
6615><TD
6616WIDTH="80%"
6617ALIGN="LEFT"
6618VALIGN="TOP"
6619>a pointer to the string copy, the calller must free it.</TD
6620></TR
6621></TABLE
6622><P
6623></P
6624></DIV
6625></DIV
6626><HR><DIV
6627CLASS="REFSECT2"
6628><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006629NAME="AEN3131"
Daniel Veillard35925471999-02-25 08:46:07 +00006630></A
6631><H3
6632><A
6633NAME="XMLNODESETCONTENT"
6634></A
6635>xmlNodeSetContent()</H3
6636><TABLE
6637BORDER="0"
6638BGCOLOR="#E8E8F8"
6639WIDTH="100%"
6640CELLPADDING="6"
6641><TR
6642><TD
6643><PRE
6644CLASS="PROGRAMLISTING"
6645>void xmlNodeSetContent (<A
6646HREF="gnome-xml-tree.html#XMLNODEPTR"
6647>xmlNodePtr</A
6648> cur,
6649 const <A
6650HREF="gnome-xml-tree.html#CHAR"
6651>CHAR</A
6652> *content);</PRE
6653></TD
6654></TR
6655></TABLE
6656><P
6657>Replace the content of a node.</P
6658><P
6659></P
6660><DIV
6661CLASS="INFORMALTABLE"
6662><P
6663></P
6664><TABLE
6665BORDER="0"
6666WIDTH="100%"
6667BGCOLOR="#FFE0E0"
6668CELLSPACING="0"
6669CELLPADDING="4"
6670CLASS="CALSTABLE"
6671><TR
6672><TD
6673WIDTH="20%"
6674ALIGN="RIGHT"
6675VALIGN="TOP"
6676><TT
6677CLASS="PARAMETER"
6678><I
6679>cur</I
6680></TT
6681>&nbsp;:</TD
6682><TD
6683WIDTH="80%"
6684ALIGN="LEFT"
6685VALIGN="TOP"
6686> the node being modified</TD
6687></TR
6688><TR
6689><TD
6690WIDTH="20%"
6691ALIGN="RIGHT"
6692VALIGN="TOP"
6693><TT
6694CLASS="PARAMETER"
6695><I
6696>content</I
6697></TT
6698>&nbsp;:</TD
6699><TD
6700WIDTH="80%"
6701ALIGN="LEFT"
6702VALIGN="TOP"
6703> the new value of the content</TD
6704></TR
6705></TABLE
6706><P
6707></P
6708></DIV
6709></DIV
6710><HR><DIV
6711CLASS="REFSECT2"
6712><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006713NAME="AEN3152"
Daniel Veillard35925471999-02-25 08:46:07 +00006714></A
6715><H3
6716><A
6717NAME="XMLNODESETCONTENTLEN"
6718></A
6719>xmlNodeSetContentLen()</H3
6720><TABLE
6721BORDER="0"
6722BGCOLOR="#E8E8F8"
6723WIDTH="100%"
6724CELLPADDING="6"
6725><TR
6726><TD
6727><PRE
6728CLASS="PROGRAMLISTING"
6729>void xmlNodeSetContentLen (<A
6730HREF="gnome-xml-tree.html#XMLNODEPTR"
6731>xmlNodePtr</A
6732> cur,
6733 const <A
6734HREF="gnome-xml-tree.html#CHAR"
6735>CHAR</A
6736> *content,
6737 int len);</PRE
6738></TD
6739></TR
6740></TABLE
6741><P
6742>Replace the content of a node.</P
6743><P
6744></P
6745><DIV
6746CLASS="INFORMALTABLE"
6747><P
6748></P
6749><TABLE
6750BORDER="0"
6751WIDTH="100%"
6752BGCOLOR="#FFE0E0"
6753CELLSPACING="0"
6754CELLPADDING="4"
6755CLASS="CALSTABLE"
6756><TR
6757><TD
6758WIDTH="20%"
6759ALIGN="RIGHT"
6760VALIGN="TOP"
6761><TT
6762CLASS="PARAMETER"
6763><I
6764>cur</I
6765></TT
6766>&nbsp;:</TD
6767><TD
6768WIDTH="80%"
6769ALIGN="LEFT"
6770VALIGN="TOP"
6771> the node being modified</TD
6772></TR
6773><TR
6774><TD
6775WIDTH="20%"
6776ALIGN="RIGHT"
6777VALIGN="TOP"
6778><TT
6779CLASS="PARAMETER"
6780><I
6781>content</I
6782></TT
6783>&nbsp;:</TD
6784><TD
6785WIDTH="80%"
6786ALIGN="LEFT"
6787VALIGN="TOP"
6788> the new value of the content</TD
6789></TR
6790><TR
6791><TD
6792WIDTH="20%"
6793ALIGN="RIGHT"
6794VALIGN="TOP"
6795><TT
6796CLASS="PARAMETER"
6797><I
6798>len</I
6799></TT
6800>&nbsp;:</TD
6801><TD
6802WIDTH="80%"
6803ALIGN="LEFT"
6804VALIGN="TOP"
6805> the size of <TT
6806CLASS="PARAMETER"
6807><I
6808>content</I
6809></TT
6810></TD
6811></TR
6812></TABLE
6813><P
6814></P
6815></DIV
6816></DIV
6817><HR><DIV
6818CLASS="REFSECT2"
6819><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006820NAME="AEN3178"
Daniel Veillard35925471999-02-25 08:46:07 +00006821></A
6822><H3
6823><A
6824NAME="XMLNODEADDCONTENT"
6825></A
6826>xmlNodeAddContent()</H3
6827><TABLE
6828BORDER="0"
6829BGCOLOR="#E8E8F8"
6830WIDTH="100%"
6831CELLPADDING="6"
6832><TR
6833><TD
6834><PRE
6835CLASS="PROGRAMLISTING"
6836>void xmlNodeAddContent (<A
6837HREF="gnome-xml-tree.html#XMLNODEPTR"
6838>xmlNodePtr</A
6839> cur,
6840 const <A
6841HREF="gnome-xml-tree.html#CHAR"
6842>CHAR</A
6843> *content);</PRE
6844></TD
6845></TR
6846></TABLE
6847><P
6848>Append the extra substring to the node content.</P
6849><P
6850></P
6851><DIV
6852CLASS="INFORMALTABLE"
6853><P
6854></P
6855><TABLE
6856BORDER="0"
6857WIDTH="100%"
6858BGCOLOR="#FFE0E0"
6859CELLSPACING="0"
6860CELLPADDING="4"
6861CLASS="CALSTABLE"
6862><TR
6863><TD
6864WIDTH="20%"
6865ALIGN="RIGHT"
6866VALIGN="TOP"
6867><TT
6868CLASS="PARAMETER"
6869><I
6870>cur</I
6871></TT
6872>&nbsp;:</TD
6873><TD
6874WIDTH="80%"
6875ALIGN="LEFT"
6876VALIGN="TOP"
6877> the node being modified</TD
6878></TR
6879><TR
6880><TD
6881WIDTH="20%"
6882ALIGN="RIGHT"
6883VALIGN="TOP"
6884><TT
6885CLASS="PARAMETER"
6886><I
6887>content</I
6888></TT
6889>&nbsp;:</TD
6890><TD
6891WIDTH="80%"
6892ALIGN="LEFT"
6893VALIGN="TOP"
6894> extra content</TD
6895></TR
6896></TABLE
6897><P
6898></P
6899></DIV
6900></DIV
6901><HR><DIV
6902CLASS="REFSECT2"
6903><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006904NAME="AEN3199"
Daniel Veillard35925471999-02-25 08:46:07 +00006905></A
6906><H3
6907><A
6908NAME="XMLNODEADDCONTENTLEN"
6909></A
6910>xmlNodeAddContentLen()</H3
6911><TABLE
6912BORDER="0"
6913BGCOLOR="#E8E8F8"
6914WIDTH="100%"
6915CELLPADDING="6"
6916><TR
6917><TD
6918><PRE
6919CLASS="PROGRAMLISTING"
6920>void xmlNodeAddContentLen (<A
6921HREF="gnome-xml-tree.html#XMLNODEPTR"
6922>xmlNodePtr</A
6923> cur,
6924 const <A
6925HREF="gnome-xml-tree.html#CHAR"
6926>CHAR</A
6927> *content,
6928 int len);</PRE
6929></TD
6930></TR
6931></TABLE
6932><P
6933>Append the extra substring to the node content.</P
6934><P
6935></P
6936><DIV
6937CLASS="INFORMALTABLE"
6938><P
6939></P
6940><TABLE
6941BORDER="0"
6942WIDTH="100%"
6943BGCOLOR="#FFE0E0"
6944CELLSPACING="0"
6945CELLPADDING="4"
6946CLASS="CALSTABLE"
6947><TR
6948><TD
6949WIDTH="20%"
6950ALIGN="RIGHT"
6951VALIGN="TOP"
6952><TT
6953CLASS="PARAMETER"
6954><I
6955>cur</I
6956></TT
6957>&nbsp;:</TD
6958><TD
6959WIDTH="80%"
6960ALIGN="LEFT"
6961VALIGN="TOP"
6962> the node being modified</TD
6963></TR
6964><TR
6965><TD
6966WIDTH="20%"
6967ALIGN="RIGHT"
6968VALIGN="TOP"
6969><TT
6970CLASS="PARAMETER"
6971><I
6972>content</I
6973></TT
6974>&nbsp;:</TD
6975><TD
6976WIDTH="80%"
6977ALIGN="LEFT"
6978VALIGN="TOP"
6979> extra content</TD
6980></TR
6981><TR
6982><TD
6983WIDTH="20%"
6984ALIGN="RIGHT"
6985VALIGN="TOP"
6986><TT
6987CLASS="PARAMETER"
6988><I
6989>len</I
6990></TT
6991>&nbsp;:</TD
6992><TD
6993WIDTH="80%"
6994ALIGN="LEFT"
6995VALIGN="TOP"
6996> the size of <TT
6997CLASS="PARAMETER"
6998><I
6999>content</I
7000></TT
7001></TD
7002></TR
7003></TABLE
7004><P
7005></P
7006></DIV
7007></DIV
7008><HR><DIV
7009CLASS="REFSECT2"
7010><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007011NAME="AEN3225"
Daniel Veillard35925471999-02-25 08:46:07 +00007012></A
7013><H3
7014><A
7015NAME="XMLNODEGETCONTENT"
7016></A
7017>xmlNodeGetContent()</H3
7018><TABLE
7019BORDER="0"
7020BGCOLOR="#E8E8F8"
7021WIDTH="100%"
7022CELLPADDING="6"
7023><TR
7024><TD
7025><PRE
7026CLASS="PROGRAMLISTING"
7027><A
7028HREF="gnome-xml-tree.html#CHAR"
7029>CHAR</A
7030>* xmlNodeGetContent (<A
7031HREF="gnome-xml-tree.html#XMLNODEPTR"
7032>xmlNodePtr</A
7033> cur);</PRE
7034></TD
7035></TR
7036></TABLE
7037><P
7038>Read the value of a node, this can be either the text carried
7039directly by this node if it's a TEXT node or the aggregate string
7040of the values carried by this node child's (TEXT and ENTITY_REF).
7041Entity references are substitued.</P
7042><P
7043></P
7044><DIV
7045CLASS="INFORMALTABLE"
7046><P
7047></P
7048><TABLE
7049BORDER="0"
7050WIDTH="100%"
7051BGCOLOR="#FFE0E0"
7052CELLSPACING="0"
7053CELLPADDING="4"
7054CLASS="CALSTABLE"
7055><TR
7056><TD
7057WIDTH="20%"
7058ALIGN="RIGHT"
7059VALIGN="TOP"
7060><TT
7061CLASS="PARAMETER"
7062><I
7063>cur</I
7064></TT
7065>&nbsp;:</TD
7066><TD
7067WIDTH="80%"
7068ALIGN="LEFT"
7069VALIGN="TOP"
7070> the node being read</TD
7071></TR
7072><TR
7073><TD
7074WIDTH="20%"
7075ALIGN="RIGHT"
7076VALIGN="TOP"
7077><I
7078CLASS="EMPHASIS"
7079>Returns</I
7080> :</TD
7081><TD
7082WIDTH="80%"
7083ALIGN="LEFT"
7084VALIGN="TOP"
Daniel Veillard5099ae81999-04-21 20:12:07 +00007085>a new CHAR * or NULL if no content is available.
7086It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007087></TR
7088></TABLE
7089><P
7090></P
7091></DIV
7092></DIV
7093><HR><DIV
7094CLASS="REFSECT2"
7095><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007096NAME="AEN3246"
Daniel Veillard35925471999-02-25 08:46:07 +00007097></A
7098><H3
7099><A
7100NAME="XMLBUFFERWRITECHAR"
7101></A
7102>xmlBufferWriteCHAR()</H3
7103><TABLE
7104BORDER="0"
7105BGCOLOR="#E8E8F8"
7106WIDTH="100%"
7107CELLPADDING="6"
7108><TR
7109><TD
7110><PRE
7111CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00007112>void xmlBufferWriteCHAR (<A
7113HREF="gnome-xml-tree.html#XMLBUFFERPTR"
7114>xmlBufferPtr</A
7115> buf,
7116 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00007117HREF="gnome-xml-tree.html#CHAR"
7118>CHAR</A
7119> *string);</PRE
7120></TD
7121></TR
7122></TABLE
7123><P
7124>routine which manage and grows an output buffer. This one add
Daniel Veillard5099ae81999-04-21 20:12:07 +00007125CHARs at the end of the buffer.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007126><P
7127></P
7128><DIV
7129CLASS="INFORMALTABLE"
7130><P
7131></P
7132><TABLE
7133BORDER="0"
7134WIDTH="100%"
7135BGCOLOR="#FFE0E0"
7136CELLSPACING="0"
7137CELLPADDING="4"
7138CLASS="CALSTABLE"
7139><TR
7140><TD
7141WIDTH="20%"
7142ALIGN="RIGHT"
7143VALIGN="TOP"
7144><TT
7145CLASS="PARAMETER"
7146><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00007147>buf</I
7148></TT
7149>&nbsp;:</TD
7150><TD
7151WIDTH="80%"
7152ALIGN="LEFT"
7153VALIGN="TOP"
7154> the XML buffer</TD
7155></TR
7156><TR
7157><TD
7158WIDTH="20%"
7159ALIGN="RIGHT"
7160VALIGN="TOP"
7161><TT
7162CLASS="PARAMETER"
7163><I
Daniel Veillard35925471999-02-25 08:46:07 +00007164>string</I
7165></TT
7166>&nbsp;:</TD
7167><TD
7168WIDTH="80%"
7169ALIGN="LEFT"
7170VALIGN="TOP"
7171> the string to add</TD
7172></TR
7173></TABLE
7174><P
7175></P
7176></DIV
7177></DIV
7178><HR><DIV
7179CLASS="REFSECT2"
7180><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007181NAME="AEN3267"
Daniel Veillard35925471999-02-25 08:46:07 +00007182></A
7183><H3
7184><A
7185NAME="XMLBUFFERWRITECHAR"
7186></A
7187>xmlBufferWriteChar()</H3
7188><TABLE
7189BORDER="0"
7190BGCOLOR="#E8E8F8"
7191WIDTH="100%"
7192CELLPADDING="6"
7193><TR
7194><TD
7195><PRE
7196CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00007197>void xmlBufferWriteChar (<A
7198HREF="gnome-xml-tree.html#XMLBUFFERPTR"
7199>xmlBufferPtr</A
7200> buf,
7201 const char *string);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007202></TD
7203></TR
7204></TABLE
7205><P
7206>routine which manage and grows an output buffer. This one add
7207C chars at the end of the array.</P
7208><P
7209></P
7210><DIV
7211CLASS="INFORMALTABLE"
7212><P
7213></P
7214><TABLE
7215BORDER="0"
7216WIDTH="100%"
7217BGCOLOR="#FFE0E0"
7218CELLSPACING="0"
7219CELLPADDING="4"
7220CLASS="CALSTABLE"
7221><TR
7222><TD
7223WIDTH="20%"
7224ALIGN="RIGHT"
7225VALIGN="TOP"
7226><TT
7227CLASS="PARAMETER"
7228><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00007229>buf</I
7230></TT
7231>&nbsp;:</TD
7232><TD
7233WIDTH="80%"
7234ALIGN="LEFT"
7235VALIGN="TOP"
7236> the XML buffer</TD
7237></TR
7238><TR
7239><TD
7240WIDTH="20%"
7241ALIGN="RIGHT"
7242VALIGN="TOP"
7243><TT
7244CLASS="PARAMETER"
7245><I
Daniel Veillard35925471999-02-25 08:46:07 +00007246>string</I
7247></TT
7248>&nbsp;:</TD
7249><TD
7250WIDTH="80%"
7251ALIGN="LEFT"
7252VALIGN="TOP"
7253> the string to add</TD
7254></TR
7255></TABLE
7256><P
7257></P
7258></DIV
7259></DIV
7260><HR><DIV
7261CLASS="REFSECT2"
7262><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007263NAME="AEN3287"
Daniel Veillard35925471999-02-25 08:46:07 +00007264></A
7265><H3
7266><A
7267NAME="XMLDOCDUMPMEMORY"
7268></A
7269>xmlDocDumpMemory()</H3
7270><TABLE
7271BORDER="0"
7272BGCOLOR="#E8E8F8"
7273WIDTH="100%"
7274CELLPADDING="6"
7275><TR
7276><TD
7277><PRE
7278CLASS="PROGRAMLISTING"
7279>void xmlDocDumpMemory (<A
7280HREF="gnome-xml-tree.html#XMLDOCPTR"
7281>xmlDocPtr</A
7282> cur,
7283 <A
7284HREF="gnome-xml-tree.html#CHAR"
7285>CHAR</A
7286> **mem,
7287 int *size);</PRE
7288></TD
7289></TR
7290></TABLE
7291><P
7292>Dump an XML document in memory and return the CHAR * and it's size.
7293It's up to the caller to free the memory.</P
7294><P
7295></P
7296><DIV
7297CLASS="INFORMALTABLE"
7298><P
7299></P
7300><TABLE
7301BORDER="0"
7302WIDTH="100%"
7303BGCOLOR="#FFE0E0"
7304CELLSPACING="0"
7305CELLPADDING="4"
7306CLASS="CALSTABLE"
7307><TR
7308><TD
7309WIDTH="20%"
7310ALIGN="RIGHT"
7311VALIGN="TOP"
7312><TT
7313CLASS="PARAMETER"
7314><I
7315>cur</I
7316></TT
7317>&nbsp;:</TD
7318><TD
7319WIDTH="80%"
7320ALIGN="LEFT"
7321VALIGN="TOP"
7322> the document</TD
7323></TR
7324><TR
7325><TD
7326WIDTH="20%"
7327ALIGN="RIGHT"
7328VALIGN="TOP"
7329><TT
7330CLASS="PARAMETER"
7331><I
7332>mem</I
7333></TT
7334>&nbsp;:</TD
7335><TD
7336WIDTH="80%"
7337ALIGN="LEFT"
7338VALIGN="TOP"
7339> OUT: the memory pointer</TD
7340></TR
7341><TR
7342><TD
7343WIDTH="20%"
7344ALIGN="RIGHT"
7345VALIGN="TOP"
7346><TT
7347CLASS="PARAMETER"
7348><I
7349>size</I
7350></TT
7351>&nbsp;:</TD
7352><TD
7353WIDTH="80%"
7354ALIGN="LEFT"
7355VALIGN="TOP"
7356> OUT: the memory lenght</TD
7357></TR
7358></TABLE
7359><P
7360></P
7361></DIV
7362></DIV
7363><HR><DIV
7364CLASS="REFSECT2"
7365><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007366NAME="AEN3312"
Daniel Veillard35925471999-02-25 08:46:07 +00007367></A
7368><H3
7369><A
7370NAME="XMLDOCDUMP"
7371></A
7372>xmlDocDump()</H3
7373><TABLE
7374BORDER="0"
7375BGCOLOR="#E8E8F8"
7376WIDTH="100%"
7377CELLPADDING="6"
7378><TR
7379><TD
7380><PRE
7381CLASS="PROGRAMLISTING"
7382>void xmlDocDump (<GTKDOCLINK
7383HREF="FILE"
7384>FILE</GTKDOCLINK
7385> *f,
7386 <A
7387HREF="gnome-xml-tree.html#XMLDOCPTR"
7388>xmlDocPtr</A
7389> cur);</PRE
7390></TD
7391></TR
7392></TABLE
7393><P
7394>Dump an XML document to an open FILE.</P
7395><P
7396></P
7397><DIV
7398CLASS="INFORMALTABLE"
7399><P
7400></P
7401><TABLE
7402BORDER="0"
7403WIDTH="100%"
7404BGCOLOR="#FFE0E0"
7405CELLSPACING="0"
7406CELLPADDING="4"
7407CLASS="CALSTABLE"
7408><TR
7409><TD
7410WIDTH="20%"
7411ALIGN="RIGHT"
7412VALIGN="TOP"
7413><TT
7414CLASS="PARAMETER"
7415><I
7416>f</I
7417></TT
7418>&nbsp;:</TD
7419><TD
7420WIDTH="80%"
7421ALIGN="LEFT"
7422VALIGN="TOP"
7423> the FILE*</TD
7424></TR
7425><TR
7426><TD
7427WIDTH="20%"
7428ALIGN="RIGHT"
7429VALIGN="TOP"
7430><TT
7431CLASS="PARAMETER"
7432><I
7433>cur</I
7434></TT
7435>&nbsp;:</TD
7436><TD
7437WIDTH="80%"
7438ALIGN="LEFT"
7439VALIGN="TOP"
7440> the document</TD
7441></TR
7442></TABLE
7443><P
7444></P
7445></DIV
7446></DIV
7447><HR><DIV
7448CLASS="REFSECT2"
7449><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007450NAME="AEN3333"
Daniel Veillard35925471999-02-25 08:46:07 +00007451></A
7452><H3
7453><A
7454NAME="XMLSAVEFILE"
7455></A
7456>xmlSaveFile()</H3
7457><TABLE
7458BORDER="0"
7459BGCOLOR="#E8E8F8"
7460WIDTH="100%"
7461CELLPADDING="6"
7462><TR
7463><TD
7464><PRE
7465CLASS="PROGRAMLISTING"
7466>int xmlSaveFile (const char *filename,
7467 <A
7468HREF="gnome-xml-tree.html#XMLDOCPTR"
7469>xmlDocPtr</A
7470> cur);</PRE
7471></TD
7472></TR
7473></TABLE
7474><P
7475>Dump an XML document to a file. Will use compression if
7476compiled in and enabled.</P
7477><P
7478></P
7479><DIV
7480CLASS="INFORMALTABLE"
7481><P
7482></P
7483><TABLE
7484BORDER="0"
7485WIDTH="100%"
7486BGCOLOR="#FFE0E0"
7487CELLSPACING="0"
7488CELLPADDING="4"
7489CLASS="CALSTABLE"
7490><TR
7491><TD
7492WIDTH="20%"
7493ALIGN="RIGHT"
7494VALIGN="TOP"
7495><TT
7496CLASS="PARAMETER"
7497><I
7498>filename</I
7499></TT
7500>&nbsp;:</TD
7501><TD
7502WIDTH="80%"
7503ALIGN="LEFT"
7504VALIGN="TOP"
7505> the filename</TD
7506></TR
7507><TR
7508><TD
7509WIDTH="20%"
7510ALIGN="RIGHT"
7511VALIGN="TOP"
7512><TT
7513CLASS="PARAMETER"
7514><I
7515>cur</I
7516></TT
7517>&nbsp;:</TD
7518><TD
7519WIDTH="80%"
7520ALIGN="LEFT"
7521VALIGN="TOP"
7522> the document</TD
7523></TR
7524><TR
7525><TD
7526WIDTH="20%"
7527ALIGN="RIGHT"
7528VALIGN="TOP"
7529><I
7530CLASS="EMPHASIS"
7531>Returns</I
7532> :</TD
7533><TD
7534WIDTH="80%"
7535ALIGN="LEFT"
7536VALIGN="TOP"
7537> the number of file written or -1 in case of failure.</TD
7538></TR
7539></TABLE
7540><P
7541></P
7542></DIV
7543></DIV
7544><HR><DIV
7545CLASS="REFSECT2"
7546><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007547NAME="AEN3357"
Daniel Veillard35925471999-02-25 08:46:07 +00007548></A
7549><H3
7550><A
7551NAME="XMLGETDOCCOMPRESSMODE"
7552></A
7553>xmlGetDocCompressMode()</H3
7554><TABLE
7555BORDER="0"
7556BGCOLOR="#E8E8F8"
7557WIDTH="100%"
7558CELLPADDING="6"
7559><TR
7560><TD
7561><PRE
7562CLASS="PROGRAMLISTING"
7563>int xmlGetDocCompressMode (<A
7564HREF="gnome-xml-tree.html#XMLDOCPTR"
7565>xmlDocPtr</A
7566> doc);</PRE
7567></TD
7568></TR
7569></TABLE
7570><P
7571>get the compression ratio for a document, ZLIB based</P
7572><P
7573></P
7574><DIV
7575CLASS="INFORMALTABLE"
7576><P
7577></P
7578><TABLE
7579BORDER="0"
7580WIDTH="100%"
7581BGCOLOR="#FFE0E0"
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</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>0 (uncompressed) to 9 (max compression)</TD
7616></TR
7617></TABLE
7618><P
7619></P
7620></DIV
7621></DIV
7622><HR><DIV
7623CLASS="REFSECT2"
7624><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007625NAME="AEN3377"
Daniel Veillard35925471999-02-25 08:46:07 +00007626></A
7627><H3
7628><A
7629NAME="XMLSETDOCCOMPRESSMODE"
7630></A
7631>xmlSetDocCompressMode()</H3
7632><TABLE
7633BORDER="0"
7634BGCOLOR="#E8E8F8"
7635WIDTH="100%"
7636CELLPADDING="6"
7637><TR
7638><TD
7639><PRE
7640CLASS="PROGRAMLISTING"
7641>void xmlSetDocCompressMode (<A
7642HREF="gnome-xml-tree.html#XMLDOCPTR"
7643>xmlDocPtr</A
7644> doc,
7645 int mode);</PRE
7646></TD
7647></TR
7648></TABLE
7649><P
7650>set the compression ratio for a document, ZLIB based
7651Correct values: 0 (uncompressed) to 9 (max compression)</P
7652><P
7653></P
7654><DIV
7655CLASS="INFORMALTABLE"
7656><P
7657></P
7658><TABLE
7659BORDER="0"
7660WIDTH="100%"
7661BGCOLOR="#FFE0E0"
7662CELLSPACING="0"
7663CELLPADDING="4"
7664CLASS="CALSTABLE"
7665><TR
7666><TD
7667WIDTH="20%"
7668ALIGN="RIGHT"
7669VALIGN="TOP"
7670><TT
7671CLASS="PARAMETER"
7672><I
7673>doc</I
7674></TT
7675>&nbsp;:</TD
7676><TD
7677WIDTH="80%"
7678ALIGN="LEFT"
7679VALIGN="TOP"
7680> the document</TD
7681></TR
7682><TR
7683><TD
7684WIDTH="20%"
7685ALIGN="RIGHT"
7686VALIGN="TOP"
7687><TT
7688CLASS="PARAMETER"
7689><I
7690>mode</I
7691></TT
7692>&nbsp;:</TD
7693><TD
7694WIDTH="80%"
7695ALIGN="LEFT"
7696VALIGN="TOP"
7697> the compression ratio</TD
7698></TR
7699></TABLE
7700><P
7701></P
7702></DIV
7703></DIV
7704><HR><DIV
7705CLASS="REFSECT2"
7706><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007707NAME="AEN3397"
Daniel Veillard35925471999-02-25 08:46:07 +00007708></A
7709><H3
7710><A
7711NAME="XMLGETCOMPRESSMODE"
7712></A
7713>xmlGetCompressMode()</H3
7714><TABLE
7715BORDER="0"
7716BGCOLOR="#E8E8F8"
7717WIDTH="100%"
7718CELLPADDING="6"
7719><TR
7720><TD
7721><PRE
7722CLASS="PROGRAMLISTING"
7723>int xmlGetCompressMode (void);</PRE
7724></TD
7725></TR
7726></TABLE
7727><P
7728>get the default compression mode used, ZLIB based.</P
7729><P
7730></P
7731><DIV
7732CLASS="INFORMALTABLE"
7733><P
7734></P
7735><TABLE
7736BORDER="0"
7737WIDTH="100%"
7738BGCOLOR="#FFE0E0"
7739CELLSPACING="0"
7740CELLPADDING="4"
7741CLASS="CALSTABLE"
7742><TR
7743><TD
7744WIDTH="20%"
7745ALIGN="RIGHT"
7746VALIGN="TOP"
7747><I
7748CLASS="EMPHASIS"
7749>Returns</I
7750> :</TD
7751><TD
7752WIDTH="80%"
7753ALIGN="LEFT"
7754VALIGN="TOP"
7755>0 (uncompressed) to 9 (max compression)</TD
7756></TR
7757></TABLE
7758><P
7759></P
7760></DIV
7761></DIV
7762><HR><DIV
7763CLASS="REFSECT2"
7764><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007765NAME="AEN3412"
Daniel Veillard35925471999-02-25 08:46:07 +00007766></A
7767><H3
7768><A
7769NAME="XMLSETCOMPRESSMODE"
7770></A
7771>xmlSetCompressMode()</H3
7772><TABLE
7773BORDER="0"
7774BGCOLOR="#E8E8F8"
7775WIDTH="100%"
7776CELLPADDING="6"
7777><TR
7778><TD
7779><PRE
7780CLASS="PROGRAMLISTING"
7781>void xmlSetCompressMode (int mode);</PRE
7782></TD
7783></TR
7784></TABLE
7785><P
7786>set the default compression mode used, ZLIB based
7787Correct values: 0 (uncompressed) to 9 (max compression)</P
7788><P
7789></P
7790><DIV
7791CLASS="INFORMALTABLE"
7792><P
7793></P
7794><TABLE
7795BORDER="0"
7796WIDTH="100%"
7797BGCOLOR="#FFE0E0"
7798CELLSPACING="0"
7799CELLPADDING="4"
7800CLASS="CALSTABLE"
7801><TR
7802><TD
7803WIDTH="20%"
7804ALIGN="RIGHT"
7805VALIGN="TOP"
7806><TT
7807CLASS="PARAMETER"
7808><I
7809>mode</I
7810></TT
7811>&nbsp;:</TD
7812><TD
7813WIDTH="80%"
7814ALIGN="LEFT"
7815VALIGN="TOP"
7816> the compression ratio</TD
7817></TR
7818></TABLE
7819><P
7820></P
7821></DIV
7822></DIV
7823></DIV
7824><DIV
7825CLASS="NAVFOOTER"
7826><HR
7827ALIGN="LEFT"
7828WIDTH="100%"><TABLE
7829WIDTH="100%"
7830BORDER="0"
7831CELLPADDING="0"
7832CELLSPACING="0"
7833><TR
7834><TD
7835WIDTH="33%"
7836ALIGN="left"
7837VALIGN="top"
7838><A
7839HREF="gnome-xml-parser.html"
7840>Prev</A
7841></TD
7842><TD
7843WIDTH="34%"
7844ALIGN="center"
7845VALIGN="top"
7846><A
7847HREF="book1.html"
7848>Home</A
7849></TD
7850><TD
7851WIDTH="33%"
7852ALIGN="right"
7853VALIGN="top"
7854><A
7855HREF="gnome-xml-entities.html"
7856>Next</A
7857></TD
7858></TR
7859><TR
7860><TD
7861WIDTH="33%"
7862ALIGN="left"
7863VALIGN="top"
7864>parser</TD
7865><TD
7866WIDTH="34%"
7867ALIGN="center"
7868VALIGN="top"
7869><A
7870HREF="libxml.html"
7871>Up</A
7872></TD
7873><TD
7874WIDTH="33%"
7875ALIGN="right"
7876VALIGN="top"
7877>entities</TD
7878></TR
7879></TABLE
7880></DIV
7881></BODY
7882></HTML
7883>