libxml-tree.html revision e7ead2d2379fa933b064e4a138a267313d40988e
1<HTML
2><HEAD
3><TITLE
4>tree</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
8REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
14REL="PREVIOUS"
15TITLE="SAX"
16HREF="libxml-sax.html"><LINK
17REL="NEXT"
18TITLE="entities"
19HREF="libxml-entities.html"></HEAD
20><BODY
21CLASS="REFENTRY"
22BGCOLOR="#FFFFFF"
23TEXT="#000000"
24LINK="#0000FF"
25VLINK="#840084"
26ALINK="#0000FF"
27><DIV
28CLASS="NAVHEADER"
29><TABLE
30WIDTH="100%"
31BORDER="0"
32BGCOLOR="#000000"
33CELLPADDING="1"
34CELLSPACING="0"
35><TR
36><TH
37COLSPAN="4"
38ALIGN="center"
39><FONT
40COLOR="#FFFFFF"
41SIZE="5"
42>Gnome XML Library Reference Manual</FONT
43></TH
44></TR
45><TR
46><TD
47WIDTH="25%"
48BGCOLOR="#C00000"
49ALIGN="left"
50><A
51HREF="libxml-sax.html"
52><FONT
53COLOR="#FFFFFF"
54SIZE="3"
55><B
56>&#60;&#60;&#60; Previous Page</B
57></FONT
58></A
59></TD
60><TD
61WIDTH="25%"
62BGCOLOR="#0000C0"
63ALIGN="center"
64><FONT
65COLOR="#FFFFFF"
66SIZE="3"
67><B
68><A
69HREF="book1.html"
70><FONT
71COLOR="#FFFFFF"
72SIZE="3"
73><B
74>Home</B
75></FONT
76></A
77></B
78></FONT
79></TD
80><TD
81WIDTH="25%"
82BGCOLOR="#00C000"
83ALIGN="center"
84><FONT
85COLOR="#FFFFFF"
86SIZE="3"
87><B
88><A
89HREF="libxml-lib.html"
90><FONT
91COLOR="#FFFFFF"
92SIZE="3"
93><B
94>Up</B
95></FONT
96></A
97></B
98></FONT
99></TD
100><TD
101WIDTH="25%"
102BGCOLOR="#C00000"
103ALIGN="right"
104><A
105HREF="libxml-entities.html"
106><FONT
107COLOR="#FFFFFF"
108SIZE="3"
109><B
110>Next Page &#62;&#62;&#62;</B
111></FONT
112></A
113></TD
114></TR
115></TABLE
116></DIV
117><H1
118><A
119NAME="LIBXML-TREE"
120>tree</A
121></H1
122><DIV
123CLASS="REFNAMEDIV"
124><A
125NAME="AEN3744"
126></A
127><H2
128>Name</H2
129>tree&nbsp;--&nbsp;</DIV
130><DIV
131CLASS="REFSYNOPSISDIV"
132><A
133NAME="AEN3747"
134></A
135><H2
136>Synopsis</H2
137><TABLE
138BORDER="0"
139BGCOLOR="#D6E8FF"
140WIDTH="100%"
141CELLPADDING="6"
142><TR
143><TD
144><PRE
145CLASS="SYNOPSIS"
146>&#13;
147
148#define     <A
149HREF="libxml-tree.html#XML-XML-NAMESPACE-CAPS"
150>XML_XML_NAMESPACE</A
151>
152enum        <A
153HREF="libxml-tree.html#XMLELEMENTTYPE"
154>xmlElementType</A
155>;
156typedef     <A
157HREF="libxml-tree.html#XMLCHAR"
158>xmlChar</A
159>;
160#define     <A
161HREF="libxml-tree.html#BAD-CAST-CAPS"
162>BAD_CAST</A
163>
164struct      <A
165HREF="libxml-tree.html#XMLNOTATION"
166>xmlNotation</A
167>;
168typedef     <A
169HREF="libxml-tree.html#XMLNOTATIONPTR"
170>xmlNotationPtr</A
171>;
172enum        <A
173HREF="libxml-tree.html#XMLATTRIBUTETYPE"
174>xmlAttributeType</A
175>;
176enum        <A
177HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
178>xmlAttributeDefault</A
179>;
180struct      <A
181HREF="libxml-tree.html#XMLENUMERATION"
182>xmlEnumeration</A
183>;
184typedef     <A
185HREF="libxml-tree.html#XMLENUMERATIONPTR"
186>xmlEnumerationPtr</A
187>;
188struct      <A
189HREF="libxml-tree.html#XMLATTRIBUTE"
190>xmlAttribute</A
191>;
192typedef     <A
193HREF="libxml-tree.html#XMLATTRIBUTEPTR"
194>xmlAttributePtr</A
195>;
196enum        <A
197HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
198>xmlElementContentType</A
199>;
200enum        <A
201HREF="libxml-tree.html#XMLELEMENTCONTENTOCCUR"
202>xmlElementContentOccur</A
203>;
204struct      <A
205HREF="libxml-tree.html#XMLELEMENTCONTENT"
206>xmlElementContent</A
207>;
208typedef     <A
209HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
210>xmlElementContentPtr</A
211>;
212enum        <A
213HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
214>xmlElementTypeVal</A
215>;
216struct      <A
217HREF="libxml-tree.html#XMLELEMENT"
218>xmlElement</A
219>;
220typedef     <A
221HREF="libxml-tree.html#XMLELEMENTPTR"
222>xmlElementPtr</A
223>;
224#define     <A
225HREF="libxml-tree.html#XML-LOCAL-NAMESPACE-CAPS"
226>XML_LOCAL_NAMESPACE</A
227>
228typedef     <A
229HREF="libxml-tree.html#XMLNSTYPE"
230>xmlNsType</A
231>;
232struct      <A
233HREF="libxml-tree.html#XMLNS"
234>xmlNs</A
235>;
236typedef     <A
237HREF="libxml-tree.html#XMLNSPTR"
238>xmlNsPtr</A
239>;
240struct      <A
241HREF="libxml-tree.html#XMLDTD"
242>xmlDtd</A
243>;
244typedef     <A
245HREF="libxml-tree.html#XMLDTDPTR"
246>xmlDtdPtr</A
247>;
248struct      <A
249HREF="libxml-tree.html#XMLATTR"
250>xmlAttr</A
251>;
252typedef     <A
253HREF="libxml-tree.html#XMLATTRPTR"
254>xmlAttrPtr</A
255>;
256struct      <A
257HREF="libxml-tree.html#XMLID"
258>xmlID</A
259>;
260typedef     <A
261HREF="libxml-tree.html#XMLIDPTR"
262>xmlIDPtr</A
263>;
264struct      <A
265HREF="libxml-tree.html#XMLREF"
266>xmlRef</A
267>;
268typedef     <A
269HREF="libxml-tree.html#XMLREFPTR"
270>xmlRefPtr</A
271>;
272enum        <A
273HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
274>xmlBufferAllocationScheme</A
275>;
276struct      <A
277HREF="libxml-tree.html#XMLBUFFER"
278>xmlBuffer</A
279>;
280typedef     <A
281HREF="libxml-tree.html#XMLBUFFERPTR"
282>xmlBufferPtr</A
283>;
284struct      <A
285HREF="libxml-tree.html#XMLNODE"
286>xmlNode</A
287>;
288typedef     <A
289HREF="libxml-tree.html#XMLNODEPTR"
290>xmlNodePtr</A
291>;
292#define     <A
293HREF="libxml-tree.html#XML-GET-CONTENT-CAPS"
294>XML_GET_CONTENT</A
295>                 (n)
296#define     <A
297HREF="libxml-tree.html#XML-GET-LINE-CAPS"
298>XML_GET_LINE</A
299>                    (n)
300struct      <A
301HREF="libxml-tree.html#XMLDOC"
302>xmlDoc</A
303>;
304typedef     <A
305HREF="libxml-tree.html#XMLDOCPTR"
306>xmlDocPtr</A
307>;
308#define     <A
309HREF="libxml-tree.html#XMLCHILDRENNODE"
310>xmlChildrenNode</A
311>
312#define     <A
313HREF="libxml-tree.html#XMLROOTNODE"
314>xmlRootNode</A
315>
316void        <A
317HREF="libxml-tree.html#XMLSETBUFFERALLOCATIONSCHEME"
318>xmlSetBufferAllocationScheme</A
319>    (<A
320HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
321>xmlBufferAllocationScheme</A
322> scheme);
323<A
324HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
325>xmlBufferAllocationScheme</A
326> <A
327HREF="libxml-tree.html#XMLGETBUFFERALLOCATIONSCHEME"
328>xmlGetBufferAllocationScheme</A
329>
330                                            (void);
331<A
332HREF="libxml-tree.html#XMLBUFFERPTR"
333>xmlBufferPtr</A
334> <A
335HREF="libxml-tree.html#XMLBUFFERCREATE"
336>xmlBufferCreate</A
337>                (void);
338<A
339HREF="libxml-tree.html#XMLBUFFERPTR"
340>xmlBufferPtr</A
341> <A
342HREF="libxml-tree.html#XMLBUFFERCREATESIZE"
343>xmlBufferCreateSize</A
344>            (<GTKDOCLINK
345HREF="SIZE-T"
346>size_t</GTKDOCLINK
347> size);
348int         <A
349HREF="libxml-tree.html#XMLBUFFERRESIZE"
350>xmlBufferResize</A
351>                 (<A
352HREF="libxml-tree.html#XMLBUFFERPTR"
353>xmlBufferPtr</A
354> buf,
355                                             unsigned int size);
356void        <A
357HREF="libxml-tree.html#XMLBUFFERFREE"
358>xmlBufferFree</A
359>                   (<A
360HREF="libxml-tree.html#XMLBUFFERPTR"
361>xmlBufferPtr</A
362> buf);
363int         <A
364HREF="libxml-tree.html#XMLBUFFERDUMP"
365>xmlBufferDump</A
366>                   (<GTKDOCLINK
367HREF="FILE-CAPS"
368>FILE</GTKDOCLINK
369> *file,
370                                             <A
371HREF="libxml-tree.html#XMLBUFFERPTR"
372>xmlBufferPtr</A
373> buf);
374void        <A
375HREF="libxml-tree.html#XMLBUFFERADD"
376>xmlBufferAdd</A
377>                    (<A
378HREF="libxml-tree.html#XMLBUFFERPTR"
379>xmlBufferPtr</A
380> buf,
381                                             const <A
382HREF="libxml-tree.html#XMLCHAR"
383>xmlChar</A
384> *str,
385                                             int len);
386void        <A
387HREF="libxml-tree.html#XMLBUFFERADDHEAD"
388>xmlBufferAddHead</A
389>                (<A
390HREF="libxml-tree.html#XMLBUFFERPTR"
391>xmlBufferPtr</A
392> buf,
393                                             const <A
394HREF="libxml-tree.html#XMLCHAR"
395>xmlChar</A
396> *str,
397                                             int len);
398void        <A
399HREF="libxml-tree.html#XMLBUFFERCAT"
400>xmlBufferCat</A
401>                    (<A
402HREF="libxml-tree.html#XMLBUFFERPTR"
403>xmlBufferPtr</A
404> buf,
405                                             const <A
406HREF="libxml-tree.html#XMLCHAR"
407>xmlChar</A
408> *str);
409void        <A
410HREF="libxml-tree.html#XMLBUFFERCCAT"
411>xmlBufferCCat</A
412>                   (<A
413HREF="libxml-tree.html#XMLBUFFERPTR"
414>xmlBufferPtr</A
415> buf,
416                                             const char *str);
417int         <A
418HREF="libxml-tree.html#XMLBUFFERSHRINK"
419>xmlBufferShrink</A
420>                 (<A
421HREF="libxml-tree.html#XMLBUFFERPTR"
422>xmlBufferPtr</A
423> buf,
424                                             unsigned int len);
425int         <A
426HREF="libxml-tree.html#XMLBUFFERGROW"
427>xmlBufferGrow</A
428>                   (<A
429HREF="libxml-tree.html#XMLBUFFERPTR"
430>xmlBufferPtr</A
431> buf,
432                                             unsigned int len);
433void        <A
434HREF="libxml-tree.html#XMLBUFFEREMPTY"
435>xmlBufferEmpty</A
436>                  (<A
437HREF="libxml-tree.html#XMLBUFFERPTR"
438>xmlBufferPtr</A
439> buf);
440const <A
441HREF="libxml-tree.html#XMLCHAR"
442>xmlChar</A
443>* <A
444HREF="libxml-tree.html#XMLBUFFERCONTENT"
445>xmlBufferContent</A
446>             (const <A
447HREF="libxml-tree.html#XMLBUFFERPTR"
448>xmlBufferPtr</A
449> buf);
450void        <A
451HREF="libxml-tree.html#XMLBUFFERSETALLOCATIONSCHEME"
452>xmlBufferSetAllocationScheme</A
453>    (<A
454HREF="libxml-tree.html#XMLBUFFERPTR"
455>xmlBufferPtr</A
456> buf,
457                                             <A
458HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
459>xmlBufferAllocationScheme</A
460> scheme);
461int         <A
462HREF="libxml-tree.html#XMLBUFFERLENGTH"
463>xmlBufferLength</A
464>                 (const <A
465HREF="libxml-tree.html#XMLBUFFERPTR"
466>xmlBufferPtr</A
467> buf);
468<A
469HREF="libxml-tree.html#XMLDTDPTR"
470>xmlDtdPtr</A
471>   <A
472HREF="libxml-tree.html#XMLCREATEINTSUBSET"
473>xmlCreateIntSubset</A
474>              (<A
475HREF="libxml-tree.html#XMLDOCPTR"
476>xmlDocPtr</A
477> doc,
478                                             const <A
479HREF="libxml-tree.html#XMLCHAR"
480>xmlChar</A
481> *name,
482                                             const <A
483HREF="libxml-tree.html#XMLCHAR"
484>xmlChar</A
485> *ExternalID,
486                                             const <A
487HREF="libxml-tree.html#XMLCHAR"
488>xmlChar</A
489> *SystemID);
490<A
491HREF="libxml-tree.html#XMLDTDPTR"
492>xmlDtdPtr</A
493>   <A
494HREF="libxml-tree.html#XMLNEWDTD"
495>xmlNewDtd</A
496>                       (<A
497HREF="libxml-tree.html#XMLDOCPTR"
498>xmlDocPtr</A
499> doc,
500                                             const <A
501HREF="libxml-tree.html#XMLCHAR"
502>xmlChar</A
503> *name,
504                                             const <A
505HREF="libxml-tree.html#XMLCHAR"
506>xmlChar</A
507> *ExternalID,
508                                             const <A
509HREF="libxml-tree.html#XMLCHAR"
510>xmlChar</A
511> *SystemID);
512<A
513HREF="libxml-tree.html#XMLDTDPTR"
514>xmlDtdPtr</A
515>   <A
516HREF="libxml-tree.html#XMLGETINTSUBSET"
517>xmlGetIntSubset</A
518>                 (<A
519HREF="libxml-tree.html#XMLDOCPTR"
520>xmlDocPtr</A
521> doc);
522void        <A
523HREF="libxml-tree.html#XMLFREEDTD"
524>xmlFreeDtd</A
525>                      (<A
526HREF="libxml-tree.html#XMLDTDPTR"
527>xmlDtdPtr</A
528> cur);
529<A
530HREF="libxml-tree.html#XMLNSPTR"
531>xmlNsPtr</A
532>    <A
533HREF="libxml-tree.html#XMLNEWGLOBALNS"
534>xmlNewGlobalNs</A
535>                  (<A
536HREF="libxml-tree.html#XMLDOCPTR"
537>xmlDocPtr</A
538> doc,
539                                             const <A
540HREF="libxml-tree.html#XMLCHAR"
541>xmlChar</A
542> *href,
543                                             const <A
544HREF="libxml-tree.html#XMLCHAR"
545>xmlChar</A
546> *prefix);
547<A
548HREF="libxml-tree.html#XMLNSPTR"
549>xmlNsPtr</A
550>    <A
551HREF="libxml-tree.html#XMLNEWNS"
552>xmlNewNs</A
553>                        (<A
554HREF="libxml-tree.html#XMLNODEPTR"
555>xmlNodePtr</A
556> node,
557                                             const <A
558HREF="libxml-tree.html#XMLCHAR"
559>xmlChar</A
560> *href,
561                                             const <A
562HREF="libxml-tree.html#XMLCHAR"
563>xmlChar</A
564> *prefix);
565void        <A
566HREF="libxml-tree.html#XMLFREENS"
567>xmlFreeNs</A
568>                       (<A
569HREF="libxml-tree.html#XMLNSPTR"
570>xmlNsPtr</A
571> cur);
572void        <A
573HREF="libxml-tree.html#XMLFREENSLIST"
574>xmlFreeNsList</A
575>                   (<A
576HREF="libxml-tree.html#XMLNSPTR"
577>xmlNsPtr</A
578> cur);
579<A
580HREF="libxml-tree.html#XMLDOCPTR"
581>xmlDocPtr</A
582>   <A
583HREF="libxml-tree.html#XMLNEWDOC"
584>xmlNewDoc</A
585>                       (const <A
586HREF="libxml-tree.html#XMLCHAR"
587>xmlChar</A
588> *version);
589void        <A
590HREF="libxml-tree.html#XMLFREEDOC"
591>xmlFreeDoc</A
592>                      (<A
593HREF="libxml-tree.html#XMLDOCPTR"
594>xmlDocPtr</A
595> cur);
596<A
597HREF="libxml-tree.html#XMLATTRPTR"
598>xmlAttrPtr</A
599>  <A
600HREF="libxml-tree.html#XMLNEWDOCPROP"
601>xmlNewDocProp</A
602>                   (<A
603HREF="libxml-tree.html#XMLDOCPTR"
604>xmlDocPtr</A
605> doc,
606                                             const <A
607HREF="libxml-tree.html#XMLCHAR"
608>xmlChar</A
609> *name,
610                                             const <A
611HREF="libxml-tree.html#XMLCHAR"
612>xmlChar</A
613> *value);
614<A
615HREF="libxml-tree.html#XMLATTRPTR"
616>xmlAttrPtr</A
617>  <A
618HREF="libxml-tree.html#XMLNEWPROP"
619>xmlNewProp</A
620>                      (<A
621HREF="libxml-tree.html#XMLNODEPTR"
622>xmlNodePtr</A
623> node,
624                                             const <A
625HREF="libxml-tree.html#XMLCHAR"
626>xmlChar</A
627> *name,
628                                             const <A
629HREF="libxml-tree.html#XMLCHAR"
630>xmlChar</A
631> *value);
632<A
633HREF="libxml-tree.html#XMLATTRPTR"
634>xmlAttrPtr</A
635>  <A
636HREF="libxml-tree.html#XMLNEWNSPROP"
637>xmlNewNsProp</A
638>                    (<A
639HREF="libxml-tree.html#XMLNODEPTR"
640>xmlNodePtr</A
641> node,
642                                             <A
643HREF="libxml-tree.html#XMLNSPTR"
644>xmlNsPtr</A
645> ns,
646                                             const <A
647HREF="libxml-tree.html#XMLCHAR"
648>xmlChar</A
649> *name,
650                                             const <A
651HREF="libxml-tree.html#XMLCHAR"
652>xmlChar</A
653> *value);
654void        <A
655HREF="libxml-tree.html#XMLFREEPROPLIST"
656>xmlFreePropList</A
657>                 (<A
658HREF="libxml-tree.html#XMLATTRPTR"
659>xmlAttrPtr</A
660> cur);
661void        <A
662HREF="libxml-tree.html#XMLFREEPROP"
663>xmlFreeProp</A
664>                     (<A
665HREF="libxml-tree.html#XMLATTRPTR"
666>xmlAttrPtr</A
667> cur);
668<A
669HREF="libxml-tree.html#XMLATTRPTR"
670>xmlAttrPtr</A
671>  <A
672HREF="libxml-tree.html#XMLCOPYPROP"
673>xmlCopyProp</A
674>                     (<A
675HREF="libxml-tree.html#XMLNODEPTR"
676>xmlNodePtr</A
677> target,
678                                             <A
679HREF="libxml-tree.html#XMLATTRPTR"
680>xmlAttrPtr</A
681> cur);
682<A
683HREF="libxml-tree.html#XMLATTRPTR"
684>xmlAttrPtr</A
685>  <A
686HREF="libxml-tree.html#XMLCOPYPROPLIST"
687>xmlCopyPropList</A
688>                 (<A
689HREF="libxml-tree.html#XMLNODEPTR"
690>xmlNodePtr</A
691> target,
692                                             <A
693HREF="libxml-tree.html#XMLATTRPTR"
694>xmlAttrPtr</A
695> cur);
696<A
697HREF="libxml-tree.html#XMLDTDPTR"
698>xmlDtdPtr</A
699>   <A
700HREF="libxml-tree.html#XMLCOPYDTD"
701>xmlCopyDtd</A
702>                      (<A
703HREF="libxml-tree.html#XMLDTDPTR"
704>xmlDtdPtr</A
705> dtd);
706<A
707HREF="libxml-tree.html#XMLDOCPTR"
708>xmlDocPtr</A
709>   <A
710HREF="libxml-tree.html#XMLCOPYDOC"
711>xmlCopyDoc</A
712>                      (<A
713HREF="libxml-tree.html#XMLDOCPTR"
714>xmlDocPtr</A
715> doc,
716                                             int recursive);
717<A
718HREF="libxml-tree.html#XMLNODEPTR"
719>xmlNodePtr</A
720>  <A
721HREF="libxml-tree.html#XMLNEWDOCNODE"
722>xmlNewDocNode</A
723>                   (<A
724HREF="libxml-tree.html#XMLDOCPTR"
725>xmlDocPtr</A
726> doc,
727                                             <A
728HREF="libxml-tree.html#XMLNSPTR"
729>xmlNsPtr</A
730> ns,
731                                             const <A
732HREF="libxml-tree.html#XMLCHAR"
733>xmlChar</A
734> *name,
735                                             const <A
736HREF="libxml-tree.html#XMLCHAR"
737>xmlChar</A
738> *content);
739<A
740HREF="libxml-tree.html#XMLNODEPTR"
741>xmlNodePtr</A
742>  <A
743HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
744>xmlNewDocRawNode</A
745>                (<A
746HREF="libxml-tree.html#XMLDOCPTR"
747>xmlDocPtr</A
748> doc,
749                                             <A
750HREF="libxml-tree.html#XMLNSPTR"
751>xmlNsPtr</A
752> ns,
753                                             const <A
754HREF="libxml-tree.html#XMLCHAR"
755>xmlChar</A
756> *name,
757                                             const <A
758HREF="libxml-tree.html#XMLCHAR"
759>xmlChar</A
760> *content);
761<A
762HREF="libxml-tree.html#XMLNODEPTR"
763>xmlNodePtr</A
764>  <A
765HREF="libxml-tree.html#XMLNEWNODE"
766>xmlNewNode</A
767>                      (<A
768HREF="libxml-tree.html#XMLNSPTR"
769>xmlNsPtr</A
770> ns,
771                                             const <A
772HREF="libxml-tree.html#XMLCHAR"
773>xmlChar</A
774> *name);
775<A
776HREF="libxml-tree.html#XMLNODEPTR"
777>xmlNodePtr</A
778>  <A
779HREF="libxml-tree.html#XMLNEWCHILD"
780>xmlNewChild</A
781>                     (<A
782HREF="libxml-tree.html#XMLNODEPTR"
783>xmlNodePtr</A
784> parent,
785                                             <A
786HREF="libxml-tree.html#XMLNSPTR"
787>xmlNsPtr</A
788> ns,
789                                             const <A
790HREF="libxml-tree.html#XMLCHAR"
791>xmlChar</A
792> *name,
793                                             const <A
794HREF="libxml-tree.html#XMLCHAR"
795>xmlChar</A
796> *content);
797<A
798HREF="libxml-tree.html#XMLNODEPTR"
799>xmlNodePtr</A
800>  <A
801HREF="libxml-tree.html#XMLNEWTEXTCHILD"
802>xmlNewTextChild</A
803>                 (<A
804HREF="libxml-tree.html#XMLNODEPTR"
805>xmlNodePtr</A
806> parent,
807                                             <A
808HREF="libxml-tree.html#XMLNSPTR"
809>xmlNsPtr</A
810> ns,
811                                             const <A
812HREF="libxml-tree.html#XMLCHAR"
813>xmlChar</A
814> *name,
815                                             const <A
816HREF="libxml-tree.html#XMLCHAR"
817>xmlChar</A
818> *content);
819<A
820HREF="libxml-tree.html#XMLNODEPTR"
821>xmlNodePtr</A
822>  <A
823HREF="libxml-tree.html#XMLNEWDOCTEXT"
824>xmlNewDocText</A
825>                   (<A
826HREF="libxml-tree.html#XMLDOCPTR"
827>xmlDocPtr</A
828> doc,
829                                             const <A
830HREF="libxml-tree.html#XMLCHAR"
831>xmlChar</A
832> *content);
833<A
834HREF="libxml-tree.html#XMLNODEPTR"
835>xmlNodePtr</A
836>  <A
837HREF="libxml-tree.html#XMLNEWTEXT"
838>xmlNewText</A
839>                      (const <A
840HREF="libxml-tree.html#XMLCHAR"
841>xmlChar</A
842> *content);
843<A
844HREF="libxml-tree.html#XMLNODEPTR"
845>xmlNodePtr</A
846>  <A
847HREF="libxml-tree.html#XMLNEWPI"
848>xmlNewPI</A
849>                        (const <A
850HREF="libxml-tree.html#XMLCHAR"
851>xmlChar</A
852> *name,
853                                             const <A
854HREF="libxml-tree.html#XMLCHAR"
855>xmlChar</A
856> *content);
857<A
858HREF="libxml-tree.html#XMLNODEPTR"
859>xmlNodePtr</A
860>  <A
861HREF="libxml-tree.html#XMLNEWDOCTEXTLEN"
862>xmlNewDocTextLen</A
863>                (<A
864HREF="libxml-tree.html#XMLDOCPTR"
865>xmlDocPtr</A
866> doc,
867                                             const <A
868HREF="libxml-tree.html#XMLCHAR"
869>xmlChar</A
870> *content,
871                                             int len);
872<A
873HREF="libxml-tree.html#XMLNODEPTR"
874>xmlNodePtr</A
875>  <A
876HREF="libxml-tree.html#XMLNEWTEXTLEN"
877>xmlNewTextLen</A
878>                   (const <A
879HREF="libxml-tree.html#XMLCHAR"
880>xmlChar</A
881> *content,
882                                             int len);
883<A
884HREF="libxml-tree.html#XMLNODEPTR"
885>xmlNodePtr</A
886>  <A
887HREF="libxml-tree.html#XMLNEWDOCCOMMENT"
888>xmlNewDocComment</A
889>                (<A
890HREF="libxml-tree.html#XMLDOCPTR"
891>xmlDocPtr</A
892> doc,
893                                             const <A
894HREF="libxml-tree.html#XMLCHAR"
895>xmlChar</A
896> *content);
897<A
898HREF="libxml-tree.html#XMLNODEPTR"
899>xmlNodePtr</A
900>  <A
901HREF="libxml-tree.html#XMLNEWCOMMENT"
902>xmlNewComment</A
903>                   (const <A
904HREF="libxml-tree.html#XMLCHAR"
905>xmlChar</A
906> *content);
907<A
908HREF="libxml-tree.html#XMLNODEPTR"
909>xmlNodePtr</A
910>  <A
911HREF="libxml-tree.html#XMLNEWCDATABLOCK"
912>xmlNewCDataBlock</A
913>                (<A
914HREF="libxml-tree.html#XMLDOCPTR"
915>xmlDocPtr</A
916> doc,
917                                             const <A
918HREF="libxml-tree.html#XMLCHAR"
919>xmlChar</A
920> *content,
921                                             int len);
922<A
923HREF="libxml-tree.html#XMLNODEPTR"
924>xmlNodePtr</A
925>  <A
926HREF="libxml-tree.html#XMLNEWCHARREF"
927>xmlNewCharRef</A
928>                   (<A
929HREF="libxml-tree.html#XMLDOCPTR"
930>xmlDocPtr</A
931> doc,
932                                             const <A
933HREF="libxml-tree.html#XMLCHAR"
934>xmlChar</A
935> *name);
936<A
937HREF="libxml-tree.html#XMLNODEPTR"
938>xmlNodePtr</A
939>  <A
940HREF="libxml-tree.html#XMLNEWREFERENCE"
941>xmlNewReference</A
942>                 (<A
943HREF="libxml-tree.html#XMLDOCPTR"
944>xmlDocPtr</A
945> doc,
946                                             const <A
947HREF="libxml-tree.html#XMLCHAR"
948>xmlChar</A
949> *name);
950<A
951HREF="libxml-tree.html#XMLNODEPTR"
952>xmlNodePtr</A
953>  <A
954HREF="libxml-tree.html#XMLCOPYNODE"
955>xmlCopyNode</A
956>                     (<A
957HREF="libxml-tree.html#XMLNODEPTR"
958>xmlNodePtr</A
959> node,
960                                             int recursive);
961<A
962HREF="libxml-tree.html#XMLNODEPTR"
963>xmlNodePtr</A
964>  <A
965HREF="libxml-tree.html#XMLDOCCOPYNODE"
966>xmlDocCopyNode</A
967>                  (<A
968HREF="libxml-tree.html#XMLNODEPTR"
969>xmlNodePtr</A
970> node,
971                                             <A
972HREF="libxml-tree.html#XMLDOCPTR"
973>xmlDocPtr</A
974> doc,
975                                             int recursive);
976<A
977HREF="libxml-tree.html#XMLNODEPTR"
978>xmlNodePtr</A
979>  <A
980HREF="libxml-tree.html#XMLCOPYNODELIST"
981>xmlCopyNodeList</A
982>                 (<A
983HREF="libxml-tree.html#XMLNODEPTR"
984>xmlNodePtr</A
985> node);
986<A
987HREF="libxml-tree.html#XMLNODEPTR"
988>xmlNodePtr</A
989>  <A
990HREF="libxml-tree.html#XMLNEWDOCFRAGMENT"
991>xmlNewDocFragment</A
992>               (<A
993HREF="libxml-tree.html#XMLDOCPTR"
994>xmlDocPtr</A
995> doc);
996<A
997HREF="libxml-tree.html#XMLNODEPTR"
998>xmlNodePtr</A
999>  <A
1000HREF="libxml-tree.html#XMLDOCGETROOTELEMENT"
1001>xmlDocGetRootElement</A
1002>            (<A
1003HREF="libxml-tree.html#XMLDOCPTR"
1004>xmlDocPtr</A
1005> doc);
1006<A
1007HREF="libxml-tree.html#XMLNODEPTR"
1008>xmlNodePtr</A
1009>  <A
1010HREF="libxml-tree.html#XMLGETLASTCHILD"
1011>xmlGetLastChild</A
1012>                 (<A
1013HREF="libxml-tree.html#XMLNODEPTR"
1014>xmlNodePtr</A
1015> parent);
1016int         <A
1017HREF="libxml-tree.html#XMLNODEISTEXT"
1018>xmlNodeIsText</A
1019>                   (<A
1020HREF="libxml-tree.html#XMLNODEPTR"
1021>xmlNodePtr</A
1022> node);
1023int         <A
1024HREF="libxml-tree.html#XMLISBLANKNODE"
1025>xmlIsBlankNode</A
1026>                  (<A
1027HREF="libxml-tree.html#XMLNODEPTR"
1028>xmlNodePtr</A
1029> node);
1030<A
1031HREF="libxml-tree.html#XMLNODEPTR"
1032>xmlNodePtr</A
1033>  <A
1034HREF="libxml-tree.html#XMLDOCSETROOTELEMENT"
1035>xmlDocSetRootElement</A
1036>            (<A
1037HREF="libxml-tree.html#XMLDOCPTR"
1038>xmlDocPtr</A
1039> doc,
1040                                             <A
1041HREF="libxml-tree.html#XMLNODEPTR"
1042>xmlNodePtr</A
1043> root);
1044void        <A
1045HREF="libxml-tree.html#XMLNODESETNAME"
1046>xmlNodeSetName</A
1047>                  (<A
1048HREF="libxml-tree.html#XMLNODEPTR"
1049>xmlNodePtr</A
1050> cur,
1051                                             const <A
1052HREF="libxml-tree.html#XMLCHAR"
1053>xmlChar</A
1054> *name);
1055<A
1056HREF="libxml-tree.html#XMLNODEPTR"
1057>xmlNodePtr</A
1058>  <A
1059HREF="libxml-tree.html#XMLADDCHILD"
1060>xmlAddChild</A
1061>                     (<A
1062HREF="libxml-tree.html#XMLNODEPTR"
1063>xmlNodePtr</A
1064> parent,
1065                                             <A
1066HREF="libxml-tree.html#XMLNODEPTR"
1067>xmlNodePtr</A
1068> cur);
1069<A
1070HREF="libxml-tree.html#XMLNODEPTR"
1071>xmlNodePtr</A
1072>  <A
1073HREF="libxml-tree.html#XMLADDCHILDLIST"
1074>xmlAddChildList</A
1075>                 (<A
1076HREF="libxml-tree.html#XMLNODEPTR"
1077>xmlNodePtr</A
1078> parent,
1079                                             <A
1080HREF="libxml-tree.html#XMLNODEPTR"
1081>xmlNodePtr</A
1082> cur);
1083<A
1084HREF="libxml-tree.html#XMLNODEPTR"
1085>xmlNodePtr</A
1086>  <A
1087HREF="libxml-tree.html#XMLREPLACENODE"
1088>xmlReplaceNode</A
1089>                  (<A
1090HREF="libxml-tree.html#XMLNODEPTR"
1091>xmlNodePtr</A
1092> old,
1093                                             <A
1094HREF="libxml-tree.html#XMLNODEPTR"
1095>xmlNodePtr</A
1096> cur);
1097<A
1098HREF="libxml-tree.html#XMLNODEPTR"
1099>xmlNodePtr</A
1100>  <A
1101HREF="libxml-tree.html#XMLADDSIBLING"
1102>xmlAddSibling</A
1103>                   (<A
1104HREF="libxml-tree.html#XMLNODEPTR"
1105>xmlNodePtr</A
1106> cur,
1107                                             <A
1108HREF="libxml-tree.html#XMLNODEPTR"
1109>xmlNodePtr</A
1110> elem);
1111<A
1112HREF="libxml-tree.html#XMLNODEPTR"
1113>xmlNodePtr</A
1114>  <A
1115HREF="libxml-tree.html#XMLADDPREVSIBLING"
1116>xmlAddPrevSibling</A
1117>               (<A
1118HREF="libxml-tree.html#XMLNODEPTR"
1119>xmlNodePtr</A
1120> cur,
1121                                             <A
1122HREF="libxml-tree.html#XMLNODEPTR"
1123>xmlNodePtr</A
1124> elem);
1125<A
1126HREF="libxml-tree.html#XMLNODEPTR"
1127>xmlNodePtr</A
1128>  <A
1129HREF="libxml-tree.html#XMLADDNEXTSIBLING"
1130>xmlAddNextSibling</A
1131>               (<A
1132HREF="libxml-tree.html#XMLNODEPTR"
1133>xmlNodePtr</A
1134> cur,
1135                                             <A
1136HREF="libxml-tree.html#XMLNODEPTR"
1137>xmlNodePtr</A
1138> elem);
1139void        <A
1140HREF="libxml-tree.html#XMLUNLINKNODE"
1141>xmlUnlinkNode</A
1142>                   (<A
1143HREF="libxml-tree.html#XMLNODEPTR"
1144>xmlNodePtr</A
1145> cur);
1146<A
1147HREF="libxml-tree.html#XMLNODEPTR"
1148>xmlNodePtr</A
1149>  <A
1150HREF="libxml-tree.html#XMLTEXTMERGE"
1151>xmlTextMerge</A
1152>                    (<A
1153HREF="libxml-tree.html#XMLNODEPTR"
1154>xmlNodePtr</A
1155> first,
1156                                             <A
1157HREF="libxml-tree.html#XMLNODEPTR"
1158>xmlNodePtr</A
1159> second);
1160void        <A
1161HREF="libxml-tree.html#XMLTEXTCONCAT"
1162>xmlTextConcat</A
1163>                   (<A
1164HREF="libxml-tree.html#XMLNODEPTR"
1165>xmlNodePtr</A
1166> node,
1167                                             const <A
1168HREF="libxml-tree.html#XMLCHAR"
1169>xmlChar</A
1170> *content,
1171                                             int len);
1172void        <A
1173HREF="libxml-tree.html#XMLFREENODELIST"
1174>xmlFreeNodeList</A
1175>                 (<A
1176HREF="libxml-tree.html#XMLNODEPTR"
1177>xmlNodePtr</A
1178> cur);
1179void        <A
1180HREF="libxml-tree.html#XMLFREENODE"
1181>xmlFreeNode</A
1182>                     (<A
1183HREF="libxml-tree.html#XMLNODEPTR"
1184>xmlNodePtr</A
1185> cur);
1186void        <A
1187HREF="libxml-tree.html#XMLSETTREEDOC"
1188>xmlSetTreeDoc</A
1189>                   (<A
1190HREF="libxml-tree.html#XMLNODEPTR"
1191>xmlNodePtr</A
1192> tree,
1193                                             <A
1194HREF="libxml-tree.html#XMLDOCPTR"
1195>xmlDocPtr</A
1196> doc);
1197void        <A
1198HREF="libxml-tree.html#XMLSETLISTDOC"
1199>xmlSetListDoc</A
1200>                   (<A
1201HREF="libxml-tree.html#XMLNODEPTR"
1202>xmlNodePtr</A
1203> list,
1204                                             <A
1205HREF="libxml-tree.html#XMLDOCPTR"
1206>xmlDocPtr</A
1207> doc);
1208<A
1209HREF="libxml-tree.html#XMLNSPTR"
1210>xmlNsPtr</A
1211>    <A
1212HREF="libxml-tree.html#XMLSEARCHNS"
1213>xmlSearchNs</A
1214>                     (<A
1215HREF="libxml-tree.html#XMLDOCPTR"
1216>xmlDocPtr</A
1217> doc,
1218                                             <A
1219HREF="libxml-tree.html#XMLNODEPTR"
1220>xmlNodePtr</A
1221> node,
1222                                             const <A
1223HREF="libxml-tree.html#XMLCHAR"
1224>xmlChar</A
1225> *nameSpace);
1226<A
1227HREF="libxml-tree.html#XMLNSPTR"
1228>xmlNsPtr</A
1229>    <A
1230HREF="libxml-tree.html#XMLSEARCHNSBYHREF"
1231>xmlSearchNsByHref</A
1232>               (<A
1233HREF="libxml-tree.html#XMLDOCPTR"
1234>xmlDocPtr</A
1235> doc,
1236                                             <A
1237HREF="libxml-tree.html#XMLNODEPTR"
1238>xmlNodePtr</A
1239> node,
1240                                             const <A
1241HREF="libxml-tree.html#XMLCHAR"
1242>xmlChar</A
1243> *href);
1244<A
1245HREF="libxml-tree.html#XMLNSPTR"
1246>xmlNsPtr</A
1247>*   <A
1248HREF="libxml-tree.html#XMLGETNSLIST"
1249>xmlGetNsList</A
1250>                    (<A
1251HREF="libxml-tree.html#XMLDOCPTR"
1252>xmlDocPtr</A
1253> doc,
1254                                             <A
1255HREF="libxml-tree.html#XMLNODEPTR"
1256>xmlNodePtr</A
1257> node);
1258void        <A
1259HREF="libxml-tree.html#XMLSETNS"
1260>xmlSetNs</A
1261>                        (<A
1262HREF="libxml-tree.html#XMLNODEPTR"
1263>xmlNodePtr</A
1264> node,
1265                                             <A
1266HREF="libxml-tree.html#XMLNSPTR"
1267>xmlNsPtr</A
1268> ns);
1269<A
1270HREF="libxml-tree.html#XMLNSPTR"
1271>xmlNsPtr</A
1272>    <A
1273HREF="libxml-tree.html#XMLCOPYNAMESPACE"
1274>xmlCopyNamespace</A
1275>                (<A
1276HREF="libxml-tree.html#XMLNSPTR"
1277>xmlNsPtr</A
1278> cur);
1279<A
1280HREF="libxml-tree.html#XMLNSPTR"
1281>xmlNsPtr</A
1282>    <A
1283HREF="libxml-tree.html#XMLCOPYNAMESPACELIST"
1284>xmlCopyNamespaceList</A
1285>            (<A
1286HREF="libxml-tree.html#XMLNSPTR"
1287>xmlNsPtr</A
1288> cur);
1289<A
1290HREF="libxml-tree.html#XMLATTRPTR"
1291>xmlAttrPtr</A
1292>  <A
1293HREF="libxml-tree.html#XMLSETPROP"
1294>xmlSetProp</A
1295>                      (<A
1296HREF="libxml-tree.html#XMLNODEPTR"
1297>xmlNodePtr</A
1298> node,
1299                                             const <A
1300HREF="libxml-tree.html#XMLCHAR"
1301>xmlChar</A
1302> *name,
1303                                             const <A
1304HREF="libxml-tree.html#XMLCHAR"
1305>xmlChar</A
1306> *value);
1307<A
1308HREF="libxml-tree.html#XMLCHAR"
1309>xmlChar</A
1310>*    <A
1311HREF="libxml-tree.html#XMLGETPROP"
1312>xmlGetProp</A
1313>                      (<A
1314HREF="libxml-tree.html#XMLNODEPTR"
1315>xmlNodePtr</A
1316> node,
1317                                             const <A
1318HREF="libxml-tree.html#XMLCHAR"
1319>xmlChar</A
1320> *name);
1321<A
1322HREF="libxml-tree.html#XMLATTRPTR"
1323>xmlAttrPtr</A
1324>  <A
1325HREF="libxml-tree.html#XMLHASPROP"
1326>xmlHasProp</A
1327>                      (<A
1328HREF="libxml-tree.html#XMLNODEPTR"
1329>xmlNodePtr</A
1330> node,
1331                                             const <A
1332HREF="libxml-tree.html#XMLCHAR"
1333>xmlChar</A
1334> *name);
1335<A
1336HREF="libxml-tree.html#XMLATTRPTR"
1337>xmlAttrPtr</A
1338>  <A
1339HREF="libxml-tree.html#XMLHASNSPROP"
1340>xmlHasNsProp</A
1341>                    (<A
1342HREF="libxml-tree.html#XMLNODEPTR"
1343>xmlNodePtr</A
1344> node,
1345                                             const <A
1346HREF="libxml-tree.html#XMLCHAR"
1347>xmlChar</A
1348> *name,
1349                                             const <A
1350HREF="libxml-tree.html#XMLCHAR"
1351>xmlChar</A
1352> *nameSpace);
1353<A
1354HREF="libxml-tree.html#XMLATTRPTR"
1355>xmlAttrPtr</A
1356>  <A
1357HREF="libxml-tree.html#XMLSETNSPROP"
1358>xmlSetNsProp</A
1359>                    (<A
1360HREF="libxml-tree.html#XMLNODEPTR"
1361>xmlNodePtr</A
1362> node,
1363                                             <A
1364HREF="libxml-tree.html#XMLNSPTR"
1365>xmlNsPtr</A
1366> ns,
1367                                             const <A
1368HREF="libxml-tree.html#XMLCHAR"
1369>xmlChar</A
1370> *name,
1371                                             const <A
1372HREF="libxml-tree.html#XMLCHAR"
1373>xmlChar</A
1374> *value);
1375<A
1376HREF="libxml-tree.html#XMLCHAR"
1377>xmlChar</A
1378>*    <A
1379HREF="libxml-tree.html#XMLGETNSPROP"
1380>xmlGetNsProp</A
1381>                    (<A
1382HREF="libxml-tree.html#XMLNODEPTR"
1383>xmlNodePtr</A
1384> node,
1385                                             const <A
1386HREF="libxml-tree.html#XMLCHAR"
1387>xmlChar</A
1388> *name,
1389                                             const <A
1390HREF="libxml-tree.html#XMLCHAR"
1391>xmlChar</A
1392> *nameSpace);
1393<A
1394HREF="libxml-tree.html#XMLNODEPTR"
1395>xmlNodePtr</A
1396>  <A
1397HREF="libxml-tree.html#XMLSTRINGGETNODELIST"
1398>xmlStringGetNodeList</A
1399>            (<A
1400HREF="libxml-tree.html#XMLDOCPTR"
1401>xmlDocPtr</A
1402> doc,
1403                                             const <A
1404HREF="libxml-tree.html#XMLCHAR"
1405>xmlChar</A
1406> *value);
1407<A
1408HREF="libxml-tree.html#XMLNODEPTR"
1409>xmlNodePtr</A
1410>  <A
1411HREF="libxml-tree.html#XMLSTRINGLENGETNODELIST"
1412>xmlStringLenGetNodeList</A
1413>         (<A
1414HREF="libxml-tree.html#XMLDOCPTR"
1415>xmlDocPtr</A
1416> doc,
1417                                             const <A
1418HREF="libxml-tree.html#XMLCHAR"
1419>xmlChar</A
1420> *value,
1421                                             int len);
1422<A
1423HREF="libxml-tree.html#XMLCHAR"
1424>xmlChar</A
1425>*    <A
1426HREF="libxml-tree.html#XMLNODELISTGETSTRING"
1427>xmlNodeListGetString</A
1428>            (<A
1429HREF="libxml-tree.html#XMLDOCPTR"
1430>xmlDocPtr</A
1431> doc,
1432                                             <A
1433HREF="libxml-tree.html#XMLNODEPTR"
1434>xmlNodePtr</A
1435> list,
1436                                             int inLine);
1437<A
1438HREF="libxml-tree.html#XMLCHAR"
1439>xmlChar</A
1440>*    <A
1441HREF="libxml-tree.html#XMLNODELISTGETRAWSTRING"
1442>xmlNodeListGetRawString</A
1443>         (<A
1444HREF="libxml-tree.html#XMLDOCPTR"
1445>xmlDocPtr</A
1446> doc,
1447                                             <A
1448HREF="libxml-tree.html#XMLNODEPTR"
1449>xmlNodePtr</A
1450> list,
1451                                             int inLine);
1452void        <A
1453HREF="libxml-tree.html#XMLNODESETCONTENT"
1454>xmlNodeSetContent</A
1455>               (<A
1456HREF="libxml-tree.html#XMLNODEPTR"
1457>xmlNodePtr</A
1458> cur,
1459                                             const <A
1460HREF="libxml-tree.html#XMLCHAR"
1461>xmlChar</A
1462> *content);
1463void        <A
1464HREF="libxml-tree.html#XMLNODESETCONTENTLEN"
1465>xmlNodeSetContentLen</A
1466>            (<A
1467HREF="libxml-tree.html#XMLNODEPTR"
1468>xmlNodePtr</A
1469> cur,
1470                                             const <A
1471HREF="libxml-tree.html#XMLCHAR"
1472>xmlChar</A
1473> *content,
1474                                             int len);
1475void        <A
1476HREF="libxml-tree.html#XMLNODEADDCONTENT"
1477>xmlNodeAddContent</A
1478>               (<A
1479HREF="libxml-tree.html#XMLNODEPTR"
1480>xmlNodePtr</A
1481> cur,
1482                                             const <A
1483HREF="libxml-tree.html#XMLCHAR"
1484>xmlChar</A
1485> *content);
1486void        <A
1487HREF="libxml-tree.html#XMLNODEADDCONTENTLEN"
1488>xmlNodeAddContentLen</A
1489>            (<A
1490HREF="libxml-tree.html#XMLNODEPTR"
1491>xmlNodePtr</A
1492> cur,
1493                                             const <A
1494HREF="libxml-tree.html#XMLCHAR"
1495>xmlChar</A
1496> *content,
1497                                             int len);
1498<A
1499HREF="libxml-tree.html#XMLCHAR"
1500>xmlChar</A
1501>*    <A
1502HREF="libxml-tree.html#XMLNODEGETCONTENT"
1503>xmlNodeGetContent</A
1504>               (<A
1505HREF="libxml-tree.html#XMLNODEPTR"
1506>xmlNodePtr</A
1507> cur);
1508<A
1509HREF="libxml-tree.html#XMLCHAR"
1510>xmlChar</A
1511>*    <A
1512HREF="libxml-tree.html#XMLNODEGETLANG"
1513>xmlNodeGetLang</A
1514>                  (<A
1515HREF="libxml-tree.html#XMLNODEPTR"
1516>xmlNodePtr</A
1517> cur);
1518void        <A
1519HREF="libxml-tree.html#XMLNODESETLANG"
1520>xmlNodeSetLang</A
1521>                  (<A
1522HREF="libxml-tree.html#XMLNODEPTR"
1523>xmlNodePtr</A
1524> cur,
1525                                             const <A
1526HREF="libxml-tree.html#XMLCHAR"
1527>xmlChar</A
1528> *lang);
1529int         <A
1530HREF="libxml-tree.html#XMLNODEGETSPACEPRESERVE"
1531>xmlNodeGetSpacePreserve</A
1532>         (<A
1533HREF="libxml-tree.html#XMLNODEPTR"
1534>xmlNodePtr</A
1535> cur);
1536void        <A
1537HREF="libxml-tree.html#XMLNODESETSPACEPRESERVE"
1538>xmlNodeSetSpacePreserve</A
1539>         (<A
1540HREF="libxml-tree.html#XMLNODEPTR"
1541>xmlNodePtr</A
1542> cur,
1543                                             <GTKDOCLINK
1544HREF="INTVAL"
1545>intval</GTKDOCLINK
1546>);
1547<A
1548HREF="libxml-tree.html#XMLCHAR"
1549>xmlChar</A
1550>*    <A
1551HREF="libxml-tree.html#XMLNODEGETBASE"
1552>xmlNodeGetBase</A
1553>                  (<A
1554HREF="libxml-tree.html#XMLDOCPTR"
1555>xmlDocPtr</A
1556> doc,
1557                                             <A
1558HREF="libxml-tree.html#XMLNODEPTR"
1559>xmlNodePtr</A
1560> cur);
1561void        <A
1562HREF="libxml-tree.html#XMLNODESETBASE"
1563>xmlNodeSetBase</A
1564>                  (<A
1565HREF="libxml-tree.html#XMLNODEPTR"
1566>xmlNodePtr</A
1567> cur,
1568                                             <A
1569HREF="libxml-tree.html#XMLCHAR"
1570>xmlChar</A
1571> *uri);
1572int         <A
1573HREF="libxml-tree.html#XMLREMOVEPROP"
1574>xmlRemoveProp</A
1575>                   (<A
1576HREF="libxml-tree.html#XMLATTRPTR"
1577>xmlAttrPtr</A
1578> attr);
1579int         <A
1580HREF="libxml-tree.html#XMLUNSETPROP"
1581>xmlUnsetProp</A
1582>                    (<A
1583HREF="libxml-tree.html#XMLNODEPTR"
1584>xmlNodePtr</A
1585> node,
1586                                             const <A
1587HREF="libxml-tree.html#XMLCHAR"
1588>xmlChar</A
1589> *name);
1590int         <A
1591HREF="libxml-tree.html#XMLUNSETNSPROP"
1592>xmlUnsetNsProp</A
1593>                  (<A
1594HREF="libxml-tree.html#XMLNODEPTR"
1595>xmlNodePtr</A
1596> node,
1597                                             <A
1598HREF="libxml-tree.html#XMLNSPTR"
1599>xmlNsPtr</A
1600> ns,
1601                                             const <A
1602HREF="libxml-tree.html#XMLCHAR"
1603>xmlChar</A
1604> *name);
1605void        <A
1606HREF="libxml-tree.html#XMLBUFFERWRITEXMLCHAR"
1607>xmlBufferWriteXmlCHAR</A
1608>           (<A
1609HREF="libxml-tree.html#XMLBUFFERPTR"
1610>xmlBufferPtr</A
1611> buf,
1612                                             const <A
1613HREF="libxml-tree.html#XMLCHAR"
1614>xmlChar</A
1615> *string);
1616void        <A
1617HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
1618>xmlBufferWriteCHAR</A
1619>              (<A
1620HREF="libxml-tree.html#XMLBUFFERPTR"
1621>xmlBufferPtr</A
1622> buf,
1623                                             const <A
1624HREF="libxml-tree.html#XMLCHAR"
1625>xmlChar</A
1626> *string);
1627void        <A
1628HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
1629>xmlBufferWriteChar</A
1630>              (<A
1631HREF="libxml-tree.html#XMLBUFFERPTR"
1632>xmlBufferPtr</A
1633> buf,
1634                                             const char *string);
1635void        <A
1636HREF="libxml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"
1637>xmlBufferWriteQuotedString</A
1638>      (<A
1639HREF="libxml-tree.html#XMLBUFFERPTR"
1640>xmlBufferPtr</A
1641> buf,
1642                                             const <A
1643HREF="libxml-tree.html#XMLCHAR"
1644>xmlChar</A
1645> *string);
1646int         <A
1647HREF="libxml-tree.html#XMLRECONCILIATENS"
1648>xmlReconciliateNs</A
1649>               (<A
1650HREF="libxml-tree.html#XMLDOCPTR"
1651>xmlDocPtr</A
1652> doc,
1653                                             <A
1654HREF="libxml-tree.html#XMLNODEPTR"
1655>xmlNodePtr</A
1656> tree);
1657void        <A
1658HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORY"
1659>xmlDocDumpFormatMemory</A
1660>          (<A
1661HREF="libxml-tree.html#XMLDOCPTR"
1662>xmlDocPtr</A
1663> cur,
1664                                             <A
1665HREF="libxml-tree.html#XMLCHAR"
1666>xmlChar</A
1667> **mem,
1668                                             int *size,
1669                                             int format);
1670void        <A
1671HREF="libxml-tree.html#XMLDOCDUMPMEMORY"
1672>xmlDocDumpMemory</A
1673>                (<A
1674HREF="libxml-tree.html#XMLDOCPTR"
1675>xmlDocPtr</A
1676> cur,
1677                                             <A
1678HREF="libxml-tree.html#XMLCHAR"
1679>xmlChar</A
1680> **mem,
1681                                             int *size);
1682void        <A
1683HREF="libxml-tree.html#XMLDOCDUMPMEMORYENC"
1684>xmlDocDumpMemoryEnc</A
1685>             (<A
1686HREF="libxml-tree.html#XMLDOCPTR"
1687>xmlDocPtr</A
1688> out_doc,
1689                                             <A
1690HREF="libxml-tree.html#XMLCHAR"
1691>xmlChar</A
1692> **doc_txt_ptr,
1693                                             int *doc_txt_len,
1694                                             const char *txt_encoding);
1695void        <A
1696HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORYENC"
1697>xmlDocDumpFormatMemoryEnc</A
1698>       (<A
1699HREF="libxml-tree.html#XMLDOCPTR"
1700>xmlDocPtr</A
1701> out_doc,
1702                                             <A
1703HREF="libxml-tree.html#XMLCHAR"
1704>xmlChar</A
1705> **doc_txt_ptr,
1706                                             int *doc_txt_len,
1707                                             const char *txt_encoding,
1708                                             int format);
1709int         <A
1710HREF="libxml-tree.html#XMLDOCDUMP"
1711>xmlDocDump</A
1712>                      (<GTKDOCLINK
1713HREF="FILE-CAPS"
1714>FILE</GTKDOCLINK
1715> *f,
1716                                             <A
1717HREF="libxml-tree.html#XMLDOCPTR"
1718>xmlDocPtr</A
1719> cur);
1720void        <A
1721HREF="libxml-tree.html#XMLELEMDUMP"
1722>xmlElemDump</A
1723>                     (<GTKDOCLINK
1724HREF="FILE-CAPS"
1725>FILE</GTKDOCLINK
1726> *f,
1727                                             <A
1728HREF="libxml-tree.html#XMLDOCPTR"
1729>xmlDocPtr</A
1730> doc,
1731                                             <A
1732HREF="libxml-tree.html#XMLNODEPTR"
1733>xmlNodePtr</A
1734> cur);
1735int         <A
1736HREF="libxml-tree.html#XMLSAVEFILE"
1737>xmlSaveFile</A
1738>                     (const char *filename,
1739                                             <A
1740HREF="libxml-tree.html#XMLDOCPTR"
1741>xmlDocPtr</A
1742> cur);
1743int         <A
1744HREF="libxml-tree.html#XMLSAVEFORMATFILE"
1745>xmlSaveFormatFile</A
1746>               (const char *filename,
1747                                             <A
1748HREF="libxml-tree.html#XMLDOCPTR"
1749>xmlDocPtr</A
1750> cur,
1751                                             int format);
1752void        <A
1753HREF="libxml-tree.html#XMLNODEDUMP"
1754>xmlNodeDump</A
1755>                     (<A
1756HREF="libxml-tree.html#XMLBUFFERPTR"
1757>xmlBufferPtr</A
1758> buf,
1759                                             <A
1760HREF="libxml-tree.html#XMLDOCPTR"
1761>xmlDocPtr</A
1762> doc,
1763                                             <A
1764HREF="libxml-tree.html#XMLNODEPTR"
1765>xmlNodePtr</A
1766> cur,
1767                                             int level,
1768                                             int format);
1769int         <A
1770HREF="libxml-tree.html#XMLSAVEFORMATFILEENC"
1771>xmlSaveFormatFileEnc</A
1772>            (const char *filename,
1773                                             <A
1774HREF="libxml-tree.html#XMLDOCPTR"
1775>xmlDocPtr</A
1776> cur,
1777                                             const char *encoding,
1778                                             int format);
1779int         <A
1780HREF="libxml-tree.html#XMLSAVEFILEENC"
1781>xmlSaveFileEnc</A
1782>                  (const char *filename,
1783                                             <A
1784HREF="libxml-tree.html#XMLDOCPTR"
1785>xmlDocPtr</A
1786> cur,
1787                                             const char *encoding);
1788int         <A
1789HREF="libxml-tree.html#XMLGETDOCCOMPRESSMODE"
1790>xmlGetDocCompressMode</A
1791>           (<A
1792HREF="libxml-tree.html#XMLDOCPTR"
1793>xmlDocPtr</A
1794> doc);
1795void        <A
1796HREF="libxml-tree.html#XMLSETDOCCOMPRESSMODE"
1797>xmlSetDocCompressMode</A
1798>           (<A
1799HREF="libxml-tree.html#XMLDOCPTR"
1800>xmlDocPtr</A
1801> doc,
1802                                             int mode);
1803int         <A
1804HREF="libxml-tree.html#XMLGETCOMPRESSMODE"
1805>xmlGetCompressMode</A
1806>              (void);
1807void        <A
1808HREF="libxml-tree.html#XMLSETCOMPRESSMODE"
1809>xmlSetCompressMode</A
1810>              (int mode);</PRE
1811></TD
1812></TR
1813></TABLE
1814></DIV
1815><DIV
1816CLASS="REFSECT1"
1817><A
1818NAME="AEN4202"
1819></A
1820><H2
1821>Description</H2
1822><P
1823></P
1824></DIV
1825><DIV
1826CLASS="REFSECT1"
1827><A
1828NAME="AEN4205"
1829></A
1830><H2
1831>Details</H2
1832><DIV
1833CLASS="REFSECT2"
1834><A
1835NAME="AEN4207"
1836></A
1837><H3
1838><A
1839NAME="XML-XML-NAMESPACE-CAPS"
1840></A
1841>XML_XML_NAMESPACE</H3
1842><TABLE
1843BORDER="0"
1844BGCOLOR="#D6E8FF"
1845WIDTH="100%"
1846CELLPADDING="6"
1847><TR
1848><TD
1849><PRE
1850CLASS="PROGRAMLISTING"
1851>#define     XML_XML_NAMESPACE</PRE
1852></TD
1853></TR
1854></TABLE
1855><P
1856>This is the namespace for the special xml: prefix predefined in the
1857XML Namespace specification</P
1858><P
1859></P
1860></DIV
1861><HR><DIV
1862CLASS="REFSECT2"
1863><A
1864NAME="AEN4213"
1865></A
1866><H3
1867><A
1868NAME="XMLELEMENTTYPE"
1869></A
1870>enum xmlElementType</H3
1871><TABLE
1872BORDER="0"
1873BGCOLOR="#D6E8FF"
1874WIDTH="100%"
1875CELLPADDING="6"
1876><TR
1877><TD
1878><PRE
1879CLASS="PROGRAMLISTING"
1880>typedef enum {
1881    XML_ELEMENT_NODE=		1,
1882    XML_ATTRIBUTE_NODE=		2,
1883    XML_TEXT_NODE=		3,
1884    XML_CDATA_SECTION_NODE=	4,
1885    XML_ENTITY_REF_NODE=	5,
1886    XML_ENTITY_NODE=		6,
1887    XML_PI_NODE=		7,
1888    XML_COMMENT_NODE=		8,
1889    XML_DOCUMENT_NODE=		9,
1890    XML_DOCUMENT_TYPE_NODE=	10,
1891    XML_DOCUMENT_FRAG_NODE=	11,
1892    XML_NOTATION_NODE=		12,
1893    XML_HTML_DOCUMENT_NODE=	13,
1894    XML_DTD_NODE=		14,
1895    XML_ELEMENT_DECL=		15,
1896    XML_ATTRIBUTE_DECL=		16,
1897    XML_ENTITY_DECL=		17,
1898    XML_NAMESPACE_DECL=		18,
1899    XML_XINCLUDE_START=		19,
1900    XML_XINCLUDE_END=		20
1901#ifdef LIBXML_DOCB_ENABLED
1902   ,XML_DOCB_DOCUMENT_NODE=	21
1903#endif
1904} xmlElementType;</PRE
1905></TD
1906></TR
1907></TABLE
1908><P
1909></P
1910></DIV
1911><HR><DIV
1912CLASS="REFSECT2"
1913><A
1914NAME="AEN4218"
1915></A
1916><H3
1917><A
1918NAME="XMLCHAR"
1919></A
1920>xmlChar</H3
1921><TABLE
1922BORDER="0"
1923BGCOLOR="#D6E8FF"
1924WIDTH="100%"
1925CELLPADDING="6"
1926><TR
1927><TD
1928><PRE
1929CLASS="PROGRAMLISTING"
1930>typedef unsigned char xmlChar;</PRE
1931></TD
1932></TR
1933></TABLE
1934><P
1935>This is a basic byte in an UTF-8 encoded string.
1936It's unsigned allowing to pinpoint case where char * are assigned
1937to xmlChar * (possibly making serialization back impossible).</P
1938><P
1939></P
1940></DIV
1941><HR><DIV
1942CLASS="REFSECT2"
1943><A
1944NAME="AEN4224"
1945></A
1946><H3
1947><A
1948NAME="BAD-CAST-CAPS"
1949></A
1950>BAD_CAST</H3
1951><TABLE
1952BORDER="0"
1953BGCOLOR="#D6E8FF"
1954WIDTH="100%"
1955CELLPADDING="6"
1956><TR
1957><TD
1958><PRE
1959CLASS="PROGRAMLISTING"
1960>#define BAD_CAST (xmlChar *)</PRE
1961></TD
1962></TR
1963></TABLE
1964><P
1965>Macro to cast a string to an xmlChar * when one know its safe.</P
1966><P
1967></P
1968></DIV
1969><HR><DIV
1970CLASS="REFSECT2"
1971><A
1972NAME="AEN4230"
1973></A
1974><H3
1975><A
1976NAME="XMLNOTATION"
1977></A
1978>struct xmlNotation</H3
1979><TABLE
1980BORDER="0"
1981BGCOLOR="#D6E8FF"
1982WIDTH="100%"
1983CELLPADDING="6"
1984><TR
1985><TD
1986><PRE
1987CLASS="PROGRAMLISTING"
1988>struct xmlNotation {
1989    const xmlChar               *name;	        /* Notation name */
1990    const xmlChar               *PublicID;	/* Public identifier, if any */
1991    const xmlChar               *SystemID;	/* System identifier, if any */
1992};</PRE
1993></TD
1994></TR
1995></TABLE
1996><P
1997>a DTD Notation definition</P
1998><P
1999></P
2000></DIV
2001><HR><DIV
2002CLASS="REFSECT2"
2003><A
2004NAME="AEN4236"
2005></A
2006><H3
2007><A
2008NAME="XMLNOTATIONPTR"
2009></A
2010>xmlNotationPtr</H3
2011><TABLE
2012BORDER="0"
2013BGCOLOR="#D6E8FF"
2014WIDTH="100%"
2015CELLPADDING="6"
2016><TR
2017><TD
2018><PRE
2019CLASS="PROGRAMLISTING"
2020>typedef xmlNotation *xmlNotationPtr;</PRE
2021></TD
2022></TR
2023></TABLE
2024><P
2025></P
2026></DIV
2027><HR><DIV
2028CLASS="REFSECT2"
2029><A
2030NAME="AEN4241"
2031></A
2032><H3
2033><A
2034NAME="XMLATTRIBUTETYPE"
2035></A
2036>enum xmlAttributeType</H3
2037><TABLE
2038BORDER="0"
2039BGCOLOR="#D6E8FF"
2040WIDTH="100%"
2041CELLPADDING="6"
2042><TR
2043><TD
2044><PRE
2045CLASS="PROGRAMLISTING"
2046>typedef enum {
2047    XML_ATTRIBUTE_CDATA = 1,
2048    XML_ATTRIBUTE_ID,
2049    XML_ATTRIBUTE_IDREF	,
2050    XML_ATTRIBUTE_IDREFS,
2051    XML_ATTRIBUTE_ENTITY,
2052    XML_ATTRIBUTE_ENTITIES,
2053    XML_ATTRIBUTE_NMTOKEN,
2054    XML_ATTRIBUTE_NMTOKENS,
2055    XML_ATTRIBUTE_ENUMERATION,
2056    XML_ATTRIBUTE_NOTATION
2057} xmlAttributeType;</PRE
2058></TD
2059></TR
2060></TABLE
2061><P
2062>a DTD Attribute type definition</P
2063><P
2064></P
2065></DIV
2066><HR><DIV
2067CLASS="REFSECT2"
2068><A
2069NAME="AEN4247"
2070></A
2071><H3
2072><A
2073NAME="XMLATTRIBUTEDEFAULT"
2074></A
2075>enum xmlAttributeDefault</H3
2076><TABLE
2077BORDER="0"
2078BGCOLOR="#D6E8FF"
2079WIDTH="100%"
2080CELLPADDING="6"
2081><TR
2082><TD
2083><PRE
2084CLASS="PROGRAMLISTING"
2085>typedef enum {
2086    XML_ATTRIBUTE_NONE = 1,
2087    XML_ATTRIBUTE_REQUIRED,
2088    XML_ATTRIBUTE_IMPLIED,
2089    XML_ATTRIBUTE_FIXED
2090} xmlAttributeDefault;</PRE
2091></TD
2092></TR
2093></TABLE
2094><P
2095>a DTD Attribute default definition</P
2096><P
2097></P
2098></DIV
2099><HR><DIV
2100CLASS="REFSECT2"
2101><A
2102NAME="AEN4253"
2103></A
2104><H3
2105><A
2106NAME="XMLENUMERATION"
2107></A
2108>struct xmlEnumeration</H3
2109><TABLE
2110BORDER="0"
2111BGCOLOR="#D6E8FF"
2112WIDTH="100%"
2113CELLPADDING="6"
2114><TR
2115><TD
2116><PRE
2117CLASS="PROGRAMLISTING"
2118>struct xmlEnumeration {
2119    struct _xmlEnumeration    *next;	/* next one */
2120    const xmlChar            *name;	/* Enumeration name */
2121};</PRE
2122></TD
2123></TR
2124></TABLE
2125><P
2126>list structure used when there is an enumeration in DTDs</P
2127><P
2128></P
2129></DIV
2130><HR><DIV
2131CLASS="REFSECT2"
2132><A
2133NAME="AEN4259"
2134></A
2135><H3
2136><A
2137NAME="XMLENUMERATIONPTR"
2138></A
2139>xmlEnumerationPtr</H3
2140><TABLE
2141BORDER="0"
2142BGCOLOR="#D6E8FF"
2143WIDTH="100%"
2144CELLPADDING="6"
2145><TR
2146><TD
2147><PRE
2148CLASS="PROGRAMLISTING"
2149>typedef xmlEnumeration *xmlEnumerationPtr;</PRE
2150></TD
2151></TR
2152></TABLE
2153><P
2154></P
2155></DIV
2156><HR><DIV
2157CLASS="REFSECT2"
2158><A
2159NAME="AEN4264"
2160></A
2161><H3
2162><A
2163NAME="XMLATTRIBUTE"
2164></A
2165>struct xmlAttribute</H3
2166><TABLE
2167BORDER="0"
2168BGCOLOR="#D6E8FF"
2169WIDTH="100%"
2170CELLPADDING="6"
2171><TR
2172><TD
2173><PRE
2174CLASS="PROGRAMLISTING"
2175>struct xmlAttribute {
2176    void           *_private;	        /* for Corba, must be first ! */
2177    xmlElementType          type;       /* XML_ATTRIBUTE_DECL, must be second ! */
2178    const xmlChar          *name;	/* Attribute name */
2179    struct _xmlNode    *children;	/* NULL */
2180    struct _xmlNode        *last;	/* NULL */
2181    struct _xmlDtd       *parent;	/* -&gt; DTD */
2182    struct _xmlNode        *next;	/* next sibling link  */
2183    struct _xmlNode        *prev;	/* previous sibling link  */
2184    struct _xmlDoc          *doc;       /* the containing document */
2185
2186    struct _xmlAttribute  *nexth;	/* next in hash table */
2187    xmlAttributeType       atype;	/* The attribute type */
2188    xmlAttributeDefault      def;	/* the default */
2189    const xmlChar  *defaultValue;	/* or the default value */
2190    xmlEnumerationPtr       tree;       /* or the enumeration tree if any */
2191    const xmlChar        *prefix;	/* the namespace prefix if any */
2192    const xmlChar          *elem;	/* Element holding the attribute */
2193};</PRE
2194></TD
2195></TR
2196></TABLE
2197><P
2198>an Attribute declaration in a DTD</P
2199><P
2200></P
2201></DIV
2202><HR><DIV
2203CLASS="REFSECT2"
2204><A
2205NAME="AEN4270"
2206></A
2207><H3
2208><A
2209NAME="XMLATTRIBUTEPTR"
2210></A
2211>xmlAttributePtr</H3
2212><TABLE
2213BORDER="0"
2214BGCOLOR="#D6E8FF"
2215WIDTH="100%"
2216CELLPADDING="6"
2217><TR
2218><TD
2219><PRE
2220CLASS="PROGRAMLISTING"
2221>typedef xmlAttribute *xmlAttributePtr;</PRE
2222></TD
2223></TR
2224></TABLE
2225><P
2226></P
2227></DIV
2228><HR><DIV
2229CLASS="REFSECT2"
2230><A
2231NAME="AEN4275"
2232></A
2233><H3
2234><A
2235NAME="XMLELEMENTCONTENTTYPE"
2236></A
2237>enum xmlElementContentType</H3
2238><TABLE
2239BORDER="0"
2240BGCOLOR="#D6E8FF"
2241WIDTH="100%"
2242CELLPADDING="6"
2243><TR
2244><TD
2245><PRE
2246CLASS="PROGRAMLISTING"
2247>typedef enum {
2248    XML_ELEMENT_CONTENT_PCDATA = 1,
2249    XML_ELEMENT_CONTENT_ELEMENT,
2250    XML_ELEMENT_CONTENT_SEQ,
2251    XML_ELEMENT_CONTENT_OR
2252} xmlElementContentType;</PRE
2253></TD
2254></TR
2255></TABLE
2256><P
2257>Possible definitions of element content types</P
2258><P
2259></P
2260></DIV
2261><HR><DIV
2262CLASS="REFSECT2"
2263><A
2264NAME="AEN4281"
2265></A
2266><H3
2267><A
2268NAME="XMLELEMENTCONTENTOCCUR"
2269></A
2270>enum xmlElementContentOccur</H3
2271><TABLE
2272BORDER="0"
2273BGCOLOR="#D6E8FF"
2274WIDTH="100%"
2275CELLPADDING="6"
2276><TR
2277><TD
2278><PRE
2279CLASS="PROGRAMLISTING"
2280>typedef enum {
2281    XML_ELEMENT_CONTENT_ONCE = 1,
2282    XML_ELEMENT_CONTENT_OPT,
2283    XML_ELEMENT_CONTENT_MULT,
2284    XML_ELEMENT_CONTENT_PLUS
2285} xmlElementContentOccur;</PRE
2286></TD
2287></TR
2288></TABLE
2289><P
2290>Possible definitions of element content occurences</P
2291><P
2292></P
2293></DIV
2294><HR><DIV
2295CLASS="REFSECT2"
2296><A
2297NAME="AEN4287"
2298></A
2299><H3
2300><A
2301NAME="XMLELEMENTCONTENT"
2302></A
2303>struct xmlElementContent</H3
2304><TABLE
2305BORDER="0"
2306BGCOLOR="#D6E8FF"
2307WIDTH="100%"
2308CELLPADDING="6"
2309><TR
2310><TD
2311><PRE
2312CLASS="PROGRAMLISTING"
2313>struct xmlElementContent {
2314    xmlElementContentType     type;	/* PCDATA, ELEMENT, SEQ or OR */
2315    xmlElementContentOccur    ocur;	/* ONCE, OPT, MULT or PLUS */
2316    const xmlChar            *name;	/* Element name */
2317    struct _xmlElementContent *c1;	/* first child */
2318    struct _xmlElementContent *c2;	/* second child */
2319    struct _xmlElementContent *parent;	/* parent */
2320};</PRE
2321></TD
2322></TR
2323></TABLE
2324><P
2325>an XML Element content as stored after parsing an element definition
2326in a DTD.</P
2327><P
2328></P
2329></DIV
2330><HR><DIV
2331CLASS="REFSECT2"
2332><A
2333NAME="AEN4293"
2334></A
2335><H3
2336><A
2337NAME="XMLELEMENTCONTENTPTR"
2338></A
2339>xmlElementContentPtr</H3
2340><TABLE
2341BORDER="0"
2342BGCOLOR="#D6E8FF"
2343WIDTH="100%"
2344CELLPADDING="6"
2345><TR
2346><TD
2347><PRE
2348CLASS="PROGRAMLISTING"
2349>typedef xmlElementContent *xmlElementContentPtr;</PRE
2350></TD
2351></TR
2352></TABLE
2353><P
2354></P
2355></DIV
2356><HR><DIV
2357CLASS="REFSECT2"
2358><A
2359NAME="AEN4298"
2360></A
2361><H3
2362><A
2363NAME="XMLELEMENTTYPEVAL"
2364></A
2365>enum xmlElementTypeVal</H3
2366><TABLE
2367BORDER="0"
2368BGCOLOR="#D6E8FF"
2369WIDTH="100%"
2370CELLPADDING="6"
2371><TR
2372><TD
2373><PRE
2374CLASS="PROGRAMLISTING"
2375>typedef enum {
2376    XML_ELEMENT_TYPE_UNDEFINED = 0,
2377    XML_ELEMENT_TYPE_EMPTY = 1,
2378    XML_ELEMENT_TYPE_ANY,
2379    XML_ELEMENT_TYPE_MIXED,
2380    XML_ELEMENT_TYPE_ELEMENT
2381} xmlElementTypeVal;</PRE
2382></TD
2383></TR
2384></TABLE
2385><P
2386>the differnt possibility for an element content type</P
2387><P
2388></P
2389></DIV
2390><HR><DIV
2391CLASS="REFSECT2"
2392><A
2393NAME="AEN4304"
2394></A
2395><H3
2396><A
2397NAME="XMLELEMENT"
2398></A
2399>struct xmlElement</H3
2400><TABLE
2401BORDER="0"
2402BGCOLOR="#D6E8FF"
2403WIDTH="100%"
2404CELLPADDING="6"
2405><TR
2406><TD
2407><PRE
2408CLASS="PROGRAMLISTING"
2409>struct xmlElement {
2410    void           *_private;	        /* for Corba, must be first ! */
2411    xmlElementType          type;       /* XML_ELEMENT_DECL, must be second ! */
2412    const xmlChar          *name;	/* Element name */
2413    struct _xmlNode    *children;	/* NULL */
2414    struct _xmlNode        *last;	/* NULL */
2415    struct _xmlDtd       *parent;	/* -&gt; DTD */
2416    struct _xmlNode        *next;	/* next sibling link  */
2417    struct _xmlNode        *prev;	/* previous sibling link  */
2418    struct _xmlDoc          *doc;       /* the containing document */
2419
2420    xmlElementTypeVal      etype;	/* The type */
2421    xmlElementContentPtr content;	/* the allowed element content */
2422    xmlAttributePtr   attributes;	/* List of the declared attributes */
2423    const xmlChar        *prefix;	/* the namespace prefix if any */
2424};</PRE
2425></TD
2426></TR
2427></TABLE
2428><P
2429>an XML Element declaration from a DTD</P
2430><P
2431></P
2432></DIV
2433><HR><DIV
2434CLASS="REFSECT2"
2435><A
2436NAME="AEN4310"
2437></A
2438><H3
2439><A
2440NAME="XMLELEMENTPTR"
2441></A
2442>xmlElementPtr</H3
2443><TABLE
2444BORDER="0"
2445BGCOLOR="#D6E8FF"
2446WIDTH="100%"
2447CELLPADDING="6"
2448><TR
2449><TD
2450><PRE
2451CLASS="PROGRAMLISTING"
2452>typedef xmlElement *xmlElementPtr;</PRE
2453></TD
2454></TR
2455></TABLE
2456><P
2457></P
2458></DIV
2459><HR><DIV
2460CLASS="REFSECT2"
2461><A
2462NAME="AEN4315"
2463></A
2464><H3
2465><A
2466NAME="XML-LOCAL-NAMESPACE-CAPS"
2467></A
2468>XML_LOCAL_NAMESPACE</H3
2469><TABLE
2470BORDER="0"
2471BGCOLOR="#D6E8FF"
2472WIDTH="100%"
2473CELLPADDING="6"
2474><TR
2475><TD
2476><PRE
2477CLASS="PROGRAMLISTING"
2478>#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL</PRE
2479></TD
2480></TR
2481></TABLE
2482><P
2483>A namespace declaration node</P
2484><P
2485></P
2486></DIV
2487><HR><DIV
2488CLASS="REFSECT2"
2489><A
2490NAME="AEN4321"
2491></A
2492><H3
2493><A
2494NAME="XMLNSTYPE"
2495></A
2496>xmlNsType</H3
2497><TABLE
2498BORDER="0"
2499BGCOLOR="#D6E8FF"
2500WIDTH="100%"
2501CELLPADDING="6"
2502><TR
2503><TD
2504><PRE
2505CLASS="PROGRAMLISTING"
2506>typedef xmlElementType xmlNsType;</PRE
2507></TD
2508></TR
2509></TABLE
2510><P
2511></P
2512></DIV
2513><HR><DIV
2514CLASS="REFSECT2"
2515><A
2516NAME="AEN4326"
2517></A
2518><H3
2519><A
2520NAME="XMLNS"
2521></A
2522>struct xmlNs</H3
2523><TABLE
2524BORDER="0"
2525BGCOLOR="#D6E8FF"
2526WIDTH="100%"
2527CELLPADDING="6"
2528><TR
2529><TD
2530><PRE
2531CLASS="PROGRAMLISTING"
2532>struct xmlNs {
2533    struct _xmlNs  *next;	/* next Ns link for this node  */
2534    xmlNsType      type;	/* global or local */
2535    const xmlChar *href;	/* URL for the namespace */
2536    const xmlChar *prefix;	/* prefix for the namespace */
2537};</PRE
2538></TD
2539></TR
2540></TABLE
2541><P
2542>An XML namespace.
2543Note that prefix == NULL is valid, it defines the default namespace
2544within the subtree (until overriden).</P
2545><P
2546>xmlNsType is unified with xmlElementType</P
2547><P
2548></P
2549></DIV
2550><HR><DIV
2551CLASS="REFSECT2"
2552><A
2553NAME="AEN4333"
2554></A
2555><H3
2556><A
2557NAME="XMLNSPTR"
2558></A
2559>xmlNsPtr</H3
2560><TABLE
2561BORDER="0"
2562BGCOLOR="#D6E8FF"
2563WIDTH="100%"
2564CELLPADDING="6"
2565><TR
2566><TD
2567><PRE
2568CLASS="PROGRAMLISTING"
2569>typedef xmlNs *xmlNsPtr;</PRE
2570></TD
2571></TR
2572></TABLE
2573><P
2574></P
2575></DIV
2576><HR><DIV
2577CLASS="REFSECT2"
2578><A
2579NAME="AEN4338"
2580></A
2581><H3
2582><A
2583NAME="XMLDTD"
2584></A
2585>struct xmlDtd</H3
2586><TABLE
2587BORDER="0"
2588BGCOLOR="#D6E8FF"
2589WIDTH="100%"
2590CELLPADDING="6"
2591><TR
2592><TD
2593><PRE
2594CLASS="PROGRAMLISTING"
2595>struct xmlDtd {
2596    void           *_private;	/* for Corba, must be first ! */
2597    xmlElementType  type;       /* XML_DTD_NODE, must be second ! */
2598    const xmlChar *name;	/* Name of the DTD */
2599    struct _xmlNode *children;	/* the value of the property link */
2600    struct _xmlNode *last;	/* last child link */
2601    struct _xmlDoc  *parent;	/* child-&gt;parent link */
2602    struct _xmlNode *next;	/* next sibling link  */
2603    struct _xmlNode *prev;	/* previous sibling link  */
2604    struct _xmlDoc  *doc;	/* the containing document */
2605
2606    /* End of common part */
2607    void          *notations;   /* Hash table for notations if any */
2608    void          *elements;    /* Hash table for elements if any */
2609    void          *attributes;  /* Hash table for attributes if any */
2610    void          *entities;    /* Hash table for entities if any */
2611    const xmlChar *ExternalID;	/* External identifier for PUBLIC DTD */
2612    const xmlChar *SystemID;	/* URI for a SYSTEM or PUBLIC DTD */
2613    void          *pentities;   /* Hash table for param entities if any */
2614};</PRE
2615></TD
2616></TR
2617></TABLE
2618><P
2619>An XML DtD, as defined by &lt;!DOCTYPE ... There is actually one for
2620the internal subset and for the external subset</P
2621><P
2622></P
2623></DIV
2624><HR><DIV
2625CLASS="REFSECT2"
2626><A
2627NAME="AEN4344"
2628></A
2629><H3
2630><A
2631NAME="XMLDTDPTR"
2632></A
2633>xmlDtdPtr</H3
2634><TABLE
2635BORDER="0"
2636BGCOLOR="#D6E8FF"
2637WIDTH="100%"
2638CELLPADDING="6"
2639><TR
2640><TD
2641><PRE
2642CLASS="PROGRAMLISTING"
2643>typedef xmlDtd *xmlDtdPtr;</PRE
2644></TD
2645></TR
2646></TABLE
2647><P
2648></P
2649></DIV
2650><HR><DIV
2651CLASS="REFSECT2"
2652><A
2653NAME="AEN4349"
2654></A
2655><H3
2656><A
2657NAME="XMLATTR"
2658></A
2659>struct xmlAttr</H3
2660><TABLE
2661BORDER="0"
2662BGCOLOR="#D6E8FF"
2663WIDTH="100%"
2664CELLPADDING="6"
2665><TR
2666><TD
2667><PRE
2668CLASS="PROGRAMLISTING"
2669>struct xmlAttr {
2670    void           *_private;	/* for Corba, must be first ! */
2671    xmlElementType   type;      /* XML_ATTRIBUTE_NODE, must be second ! */
2672    const xmlChar   *name;      /* the name of the property */
2673    struct _xmlNode *children;	/* the value of the property */
2674    struct _xmlNode *last;	/* NULL */
2675    struct _xmlNode *parent;	/* child-&gt;parent link */
2676    struct _xmlAttr *next;	/* next sibling link  */
2677    struct _xmlAttr *prev;	/* previous sibling link  */
2678    struct _xmlDoc  *doc;	/* the containing document */
2679    xmlNs           *ns;        /* pointer to the associated namespace */
2680    xmlAttributeType atype;     /* the attribute type if validating */
2681};</PRE
2682></TD
2683></TR
2684></TABLE
2685><P
2686>A attribute on an XML node.</P
2687><P
2688></P
2689></DIV
2690><HR><DIV
2691CLASS="REFSECT2"
2692><A
2693NAME="AEN4355"
2694></A
2695><H3
2696><A
2697NAME="XMLATTRPTR"
2698></A
2699>xmlAttrPtr</H3
2700><TABLE
2701BORDER="0"
2702BGCOLOR="#D6E8FF"
2703WIDTH="100%"
2704CELLPADDING="6"
2705><TR
2706><TD
2707><PRE
2708CLASS="PROGRAMLISTING"
2709>typedef xmlAttr *xmlAttrPtr;</PRE
2710></TD
2711></TR
2712></TABLE
2713><P
2714></P
2715></DIV
2716><HR><DIV
2717CLASS="REFSECT2"
2718><A
2719NAME="AEN4360"
2720></A
2721><H3
2722><A
2723NAME="XMLID"
2724></A
2725>struct xmlID</H3
2726><TABLE
2727BORDER="0"
2728BGCOLOR="#D6E8FF"
2729WIDTH="100%"
2730CELLPADDING="6"
2731><TR
2732><TD
2733><PRE
2734CLASS="PROGRAMLISTING"
2735>struct xmlID {
2736    struct _xmlID    *next;	/* next ID */
2737    const xmlChar    *value;	/* The ID name */
2738    xmlAttrPtr        attr;	/* The attribut holding it */
2739};</PRE
2740></TD
2741></TR
2742></TABLE
2743><P
2744>An XML ID instance.</P
2745><P
2746></P
2747></DIV
2748><HR><DIV
2749CLASS="REFSECT2"
2750><A
2751NAME="AEN4366"
2752></A
2753><H3
2754><A
2755NAME="XMLIDPTR"
2756></A
2757>xmlIDPtr</H3
2758><TABLE
2759BORDER="0"
2760BGCOLOR="#D6E8FF"
2761WIDTH="100%"
2762CELLPADDING="6"
2763><TR
2764><TD
2765><PRE
2766CLASS="PROGRAMLISTING"
2767>typedef xmlID *xmlIDPtr;</PRE
2768></TD
2769></TR
2770></TABLE
2771><P
2772></P
2773></DIV
2774><HR><DIV
2775CLASS="REFSECT2"
2776><A
2777NAME="AEN4371"
2778></A
2779><H3
2780><A
2781NAME="XMLREF"
2782></A
2783>struct xmlRef</H3
2784><TABLE
2785BORDER="0"
2786BGCOLOR="#D6E8FF"
2787WIDTH="100%"
2788CELLPADDING="6"
2789><TR
2790><TD
2791><PRE
2792CLASS="PROGRAMLISTING"
2793>struct xmlRef {
2794    struct _xmlRef    *next;	/* next Ref */
2795    const xmlChar     *value;	/* The Ref name */
2796    xmlAttrPtr        attr;	/* The attribut holding it */
2797};</PRE
2798></TD
2799></TR
2800></TABLE
2801><P
2802>An XML IDREF instance.</P
2803><P
2804></P
2805></DIV
2806><HR><DIV
2807CLASS="REFSECT2"
2808><A
2809NAME="AEN4377"
2810></A
2811><H3
2812><A
2813NAME="XMLREFPTR"
2814></A
2815>xmlRefPtr</H3
2816><TABLE
2817BORDER="0"
2818BGCOLOR="#D6E8FF"
2819WIDTH="100%"
2820CELLPADDING="6"
2821><TR
2822><TD
2823><PRE
2824CLASS="PROGRAMLISTING"
2825>typedef xmlRef *xmlRefPtr;</PRE
2826></TD
2827></TR
2828></TABLE
2829><P
2830></P
2831></DIV
2832><HR><DIV
2833CLASS="REFSECT2"
2834><A
2835NAME="AEN4382"
2836></A
2837><H3
2838><A
2839NAME="XMLBUFFERALLOCATIONSCHEME"
2840></A
2841>enum xmlBufferAllocationScheme</H3
2842><TABLE
2843BORDER="0"
2844BGCOLOR="#D6E8FF"
2845WIDTH="100%"
2846CELLPADDING="6"
2847><TR
2848><TD
2849><PRE
2850CLASS="PROGRAMLISTING"
2851>typedef enum {
2852    XML_BUFFER_ALLOC_DOUBLEIT,
2853    XML_BUFFER_ALLOC_EXACT
2854} xmlBufferAllocationScheme;</PRE
2855></TD
2856></TR
2857></TABLE
2858><P
2859>A buffer allocation scheme can be defined to either match exactly the
2860need or double it's allocated size each time it is found too small</P
2861><P
2862></P
2863></DIV
2864><HR><DIV
2865CLASS="REFSECT2"
2866><A
2867NAME="AEN4388"
2868></A
2869><H3
2870><A
2871NAME="XMLBUFFER"
2872></A
2873>struct xmlBuffer</H3
2874><TABLE
2875BORDER="0"
2876BGCOLOR="#D6E8FF"
2877WIDTH="100%"
2878CELLPADDING="6"
2879><TR
2880><TD
2881><PRE
2882CLASS="PROGRAMLISTING"
2883>struct xmlBuffer {
2884    xmlChar *content;		/* The buffer content UTF8 */
2885    unsigned int use;		/* The buffer size used */
2886    unsigned int size;		/* The buffer size */
2887    xmlBufferAllocationScheme alloc; /* The realloc method */
2888};</PRE
2889></TD
2890></TR
2891></TABLE
2892><P
2893>A buffer structure</P
2894><P
2895></P
2896></DIV
2897><HR><DIV
2898CLASS="REFSECT2"
2899><A
2900NAME="AEN4394"
2901></A
2902><H3
2903><A
2904NAME="XMLBUFFERPTR"
2905></A
2906>xmlBufferPtr</H3
2907><TABLE
2908BORDER="0"
2909BGCOLOR="#D6E8FF"
2910WIDTH="100%"
2911CELLPADDING="6"
2912><TR
2913><TD
2914><PRE
2915CLASS="PROGRAMLISTING"
2916>typedef xmlBuffer *xmlBufferPtr;</PRE
2917></TD
2918></TR
2919></TABLE
2920><P
2921></P
2922></DIV
2923><HR><DIV
2924CLASS="REFSECT2"
2925><A
2926NAME="AEN4399"
2927></A
2928><H3
2929><A
2930NAME="XMLNODE"
2931></A
2932>struct xmlNode</H3
2933><TABLE
2934BORDER="0"
2935BGCOLOR="#D6E8FF"
2936WIDTH="100%"
2937CELLPADDING="6"
2938><TR
2939><TD
2940><PRE
2941CLASS="PROGRAMLISTING"
2942>struct xmlNode {
2943    void           *_private;	/* for Corba, must be first ! */
2944    xmlElementType   type;	/* type number, must be second ! */
2945    const xmlChar   *name;      /* the name of the node, or the entity */
2946    struct _xmlNode *children;	/* parent-&gt;childs link */
2947    struct _xmlNode *last;	/* last child link */
2948    struct _xmlNode *parent;	/* child-&gt;parent link */
2949    struct _xmlNode *next;	/* next sibling link  */
2950    struct _xmlNode *prev;	/* previous sibling link  */
2951    struct _xmlDoc  *doc;	/* the containing document */
2952    xmlNs           *ns;        /* pointer to the associated namespace */
2953#ifndef XML_USE_BUFFER_CONTENT    
2954    xmlChar         *content;   /* the content */
2955#else
2956    xmlBufferPtr     content;   /* the content in a buffer */
2957#endif
2958
2959    /* End of common part */
2960    struct _xmlAttr *properties;/* properties list */
2961    xmlNs           *nsDef;     /* namespace definitions on this node */
2962};</PRE
2963></TD
2964></TR
2965></TABLE
2966><P
2967>A node in an XML tree.</P
2968><P
2969></P
2970></DIV
2971><HR><DIV
2972CLASS="REFSECT2"
2973><A
2974NAME="AEN4405"
2975></A
2976><H3
2977><A
2978NAME="XMLNODEPTR"
2979></A
2980>xmlNodePtr</H3
2981><TABLE
2982BORDER="0"
2983BGCOLOR="#D6E8FF"
2984WIDTH="100%"
2985CELLPADDING="6"
2986><TR
2987><TD
2988><PRE
2989CLASS="PROGRAMLISTING"
2990>typedef xmlNode *xmlNodePtr;</PRE
2991></TD
2992></TR
2993></TABLE
2994><P
2995></P
2996></DIV
2997><HR><DIV
2998CLASS="REFSECT2"
2999><A
3000NAME="AEN4410"
3001></A
3002><H3
3003><A
3004NAME="XML-GET-CONTENT-CAPS"
3005></A
3006>XML_GET_CONTENT()</H3
3007><TABLE
3008BORDER="0"
3009BGCOLOR="#D6E8FF"
3010WIDTH="100%"
3011CELLPADDING="6"
3012><TR
3013><TD
3014><PRE
3015CLASS="PROGRAMLISTING"
3016>#define     XML_GET_CONTENT(n)</PRE
3017></TD
3018></TR
3019></TABLE
3020><P
3021>macro to extract the content pointer of a node</P
3022><P
3023></P
3024><DIV
3025CLASS="INFORMALTABLE"
3026><A
3027NAME="AEN4416"
3028></A
3029><P
3030></P
3031><TABLE
3032BORDER="0"
3033WIDTH="100%"
3034BGCOLOR="#FFD0D0"
3035CELLSPACING="0"
3036CELLPADDING="4"
3037CLASS="CALSTABLE"
3038><TBODY
3039><TR
3040><TD
3041WIDTH="20%"
3042ALIGN="RIGHT"
3043VALIGN="TOP"
3044><TT
3045CLASS="PARAMETER"
3046><I
3047>n</I
3048></TT
3049>&nbsp;:</TD
3050><TD
3051WIDTH="80%"
3052ALIGN="LEFT"
3053VALIGN="TOP"
3054>&nbsp;</TD
3055></TR
3056></TBODY
3057></TABLE
3058><P
3059></P
3060></DIV
3061></DIV
3062><HR><DIV
3063CLASS="REFSECT2"
3064><A
3065NAME="AEN4425"
3066></A
3067><H3
3068><A
3069NAME="XML-GET-LINE-CAPS"
3070></A
3071>XML_GET_LINE()</H3
3072><TABLE
3073BORDER="0"
3074BGCOLOR="#D6E8FF"
3075WIDTH="100%"
3076CELLPADDING="6"
3077><TR
3078><TD
3079><PRE
3080CLASS="PROGRAMLISTING"
3081>#define     XML_GET_LINE(n)</PRE
3082></TD
3083></TR
3084></TABLE
3085><P
3086>macro to extract the line number of an element node</P
3087><P
3088></P
3089><DIV
3090CLASS="INFORMALTABLE"
3091><A
3092NAME="AEN4431"
3093></A
3094><P
3095></P
3096><TABLE
3097BORDER="0"
3098WIDTH="100%"
3099BGCOLOR="#FFD0D0"
3100CELLSPACING="0"
3101CELLPADDING="4"
3102CLASS="CALSTABLE"
3103><TBODY
3104><TR
3105><TD
3106WIDTH="20%"
3107ALIGN="RIGHT"
3108VALIGN="TOP"
3109><TT
3110CLASS="PARAMETER"
3111><I
3112>n</I
3113></TT
3114>&nbsp;:</TD
3115><TD
3116WIDTH="80%"
3117ALIGN="LEFT"
3118VALIGN="TOP"
3119>&nbsp;</TD
3120></TR
3121></TBODY
3122></TABLE
3123><P
3124></P
3125></DIV
3126></DIV
3127><HR><DIV
3128CLASS="REFSECT2"
3129><A
3130NAME="AEN4440"
3131></A
3132><H3
3133><A
3134NAME="XMLDOC"
3135></A
3136>struct xmlDoc</H3
3137><TABLE
3138BORDER="0"
3139BGCOLOR="#D6E8FF"
3140WIDTH="100%"
3141CELLPADDING="6"
3142><TR
3143><TD
3144><PRE
3145CLASS="PROGRAMLISTING"
3146>struct xmlDoc {
3147    void           *_private;	/* for Corba, must be first ! */
3148    xmlElementType  type;       /* XML_DOCUMENT_NODE, must be second ! */
3149    char           *name;	/* name/filename/URI of the document */
3150    struct _xmlNode *children;	/* the document tree */
3151    struct _xmlNode *last;	/* last child link */
3152    struct _xmlNode *parent;	/* child-&gt;parent link */
3153    struct _xmlNode *next;	/* next sibling link  */
3154    struct _xmlNode *prev;	/* previous sibling link  */
3155    struct _xmlDoc  *doc;	/* autoreference to itself */
3156
3157    /* End of common part */
3158    int             compression;/* level of zlib compression */
3159    int             standalone; /* standalone document (no external refs) */
3160    struct _xmlDtd  *intSubset;	/* the document internal subset */
3161    struct _xmlDtd  *extSubset;	/* the document external subset */
3162    struct _xmlNs   *oldNs;	/* Global namespace, the old way */
3163    const xmlChar  *version;	/* the XML version string */
3164    const xmlChar  *encoding;   /* external initial encoding, if any */
3165    void           *ids;        /* Hash table for ID attributes if any */
3166    void           *refs;       /* Hash table for IDREFs attributes if any */
3167    const xmlChar  *URL;	/* The URI for that document */
3168    int             charset;    /* encoding of the in-memory content
3169				   actually an xmlCharEncoding */
3170};</PRE
3171></TD
3172></TR
3173></TABLE
3174><P
3175>An XML document.</P
3176><P
3177></P
3178></DIV
3179><HR><DIV
3180CLASS="REFSECT2"
3181><A
3182NAME="AEN4446"
3183></A
3184><H3
3185><A
3186NAME="XMLDOCPTR"
3187></A
3188>xmlDocPtr</H3
3189><TABLE
3190BORDER="0"
3191BGCOLOR="#D6E8FF"
3192WIDTH="100%"
3193CELLPADDING="6"
3194><TR
3195><TD
3196><PRE
3197CLASS="PROGRAMLISTING"
3198>typedef xmlDoc *xmlDocPtr;</PRE
3199></TD
3200></TR
3201></TABLE
3202><P
3203></P
3204></DIV
3205><HR><DIV
3206CLASS="REFSECT2"
3207><A
3208NAME="AEN4451"
3209></A
3210><H3
3211><A
3212NAME="XMLCHILDRENNODE"
3213></A
3214>xmlChildrenNode</H3
3215><TABLE
3216BORDER="0"
3217BGCOLOR="#D6E8FF"
3218WIDTH="100%"
3219CELLPADDING="6"
3220><TR
3221><TD
3222><PRE
3223CLASS="PROGRAMLISTING"
3224>#define xmlChildrenNode children</PRE
3225></TD
3226></TR
3227></TABLE
3228><P
3229>Macro for compatibility naming layer with libxml1</P
3230><P
3231></P
3232></DIV
3233><HR><DIV
3234CLASS="REFSECT2"
3235><A
3236NAME="AEN4457"
3237></A
3238><H3
3239><A
3240NAME="XMLROOTNODE"
3241></A
3242>xmlRootNode</H3
3243><TABLE
3244BORDER="0"
3245BGCOLOR="#D6E8FF"
3246WIDTH="100%"
3247CELLPADDING="6"
3248><TR
3249><TD
3250><PRE
3251CLASS="PROGRAMLISTING"
3252>#define xmlRootNode children</PRE
3253></TD
3254></TR
3255></TABLE
3256><P
3257>Macro for compatibility naming layer with libxml1</P
3258><P
3259></P
3260></DIV
3261><HR><DIV
3262CLASS="REFSECT2"
3263><A
3264NAME="AEN4463"
3265></A
3266><H3
3267><A
3268NAME="XMLSETBUFFERALLOCATIONSCHEME"
3269></A
3270>xmlSetBufferAllocationScheme ()</H3
3271><TABLE
3272BORDER="0"
3273BGCOLOR="#D6E8FF"
3274WIDTH="100%"
3275CELLPADDING="6"
3276><TR
3277><TD
3278><PRE
3279CLASS="PROGRAMLISTING"
3280>void        xmlSetBufferAllocationScheme    (<A
3281HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
3282>xmlBufferAllocationScheme</A
3283> scheme);</PRE
3284></TD
3285></TR
3286></TABLE
3287><P
3288>Set the buffer allocation method.  Types are
3289XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
3290XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, 
3291improves performance</P
3292><P
3293></P
3294><DIV
3295CLASS="INFORMALTABLE"
3296><A
3297NAME="AEN4470"
3298></A
3299><P
3300></P
3301><TABLE
3302BORDER="0"
3303WIDTH="100%"
3304BGCOLOR="#FFD0D0"
3305CELLSPACING="0"
3306CELLPADDING="4"
3307CLASS="CALSTABLE"
3308><TBODY
3309><TR
3310><TD
3311WIDTH="20%"
3312ALIGN="RIGHT"
3313VALIGN="TOP"
3314><TT
3315CLASS="PARAMETER"
3316><I
3317>scheme</I
3318></TT
3319>&nbsp;:</TD
3320><TD
3321WIDTH="80%"
3322ALIGN="LEFT"
3323VALIGN="TOP"
3324>  allocation method to use</TD
3325></TR
3326></TBODY
3327></TABLE
3328><P
3329></P
3330></DIV
3331></DIV
3332><HR><DIV
3333CLASS="REFSECT2"
3334><A
3335NAME="AEN4479"
3336></A
3337><H3
3338><A
3339NAME="XMLGETBUFFERALLOCATIONSCHEME"
3340></A
3341>xmlGetBufferAllocationScheme ()</H3
3342><TABLE
3343BORDER="0"
3344BGCOLOR="#D6E8FF"
3345WIDTH="100%"
3346CELLPADDING="6"
3347><TR
3348><TD
3349><PRE
3350CLASS="PROGRAMLISTING"
3351><A
3352HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
3353>xmlBufferAllocationScheme</A
3354> xmlGetBufferAllocationScheme
3355                                            (void);</PRE
3356></TD
3357></TR
3358></TABLE
3359><P
3360>Types are
3361XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
3362XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, 
3363improves performance</P
3364><P
3365></P
3366><DIV
3367CLASS="INFORMALTABLE"
3368><A
3369NAME="AEN4486"
3370></A
3371><P
3372></P
3373><TABLE
3374BORDER="0"
3375WIDTH="100%"
3376BGCOLOR="#FFD0D0"
3377CELLSPACING="0"
3378CELLPADDING="4"
3379CLASS="CALSTABLE"
3380><TBODY
3381><TR
3382><TD
3383WIDTH="20%"
3384ALIGN="RIGHT"
3385VALIGN="TOP"
3386><I
3387CLASS="EMPHASIS"
3388>Returns</I
3389> :</TD
3390><TD
3391WIDTH="80%"
3392ALIGN="LEFT"
3393VALIGN="TOP"
3394>the current allocation scheme</TD
3395></TR
3396></TBODY
3397></TABLE
3398><P
3399></P
3400></DIV
3401></DIV
3402><HR><DIV
3403CLASS="REFSECT2"
3404><A
3405NAME="AEN4495"
3406></A
3407><H3
3408><A
3409NAME="XMLBUFFERCREATE"
3410></A
3411>xmlBufferCreate ()</H3
3412><TABLE
3413BORDER="0"
3414BGCOLOR="#D6E8FF"
3415WIDTH="100%"
3416CELLPADDING="6"
3417><TR
3418><TD
3419><PRE
3420CLASS="PROGRAMLISTING"
3421><A
3422HREF="libxml-tree.html#XMLBUFFERPTR"
3423>xmlBufferPtr</A
3424> xmlBufferCreate                (void);</PRE
3425></TD
3426></TR
3427></TABLE
3428><P
3429>routine to create an XML buffer.</P
3430><P
3431></P
3432><DIV
3433CLASS="INFORMALTABLE"
3434><A
3435NAME="AEN4502"
3436></A
3437><P
3438></P
3439><TABLE
3440BORDER="0"
3441WIDTH="100%"
3442BGCOLOR="#FFD0D0"
3443CELLSPACING="0"
3444CELLPADDING="4"
3445CLASS="CALSTABLE"
3446><TBODY
3447><TR
3448><TD
3449WIDTH="20%"
3450ALIGN="RIGHT"
3451VALIGN="TOP"
3452><I
3453CLASS="EMPHASIS"
3454>Returns</I
3455> :</TD
3456><TD
3457WIDTH="80%"
3458ALIGN="LEFT"
3459VALIGN="TOP"
3460>the new structure.</TD
3461></TR
3462></TBODY
3463></TABLE
3464><P
3465></P
3466></DIV
3467></DIV
3468><HR><DIV
3469CLASS="REFSECT2"
3470><A
3471NAME="AEN4511"
3472></A
3473><H3
3474><A
3475NAME="XMLBUFFERCREATESIZE"
3476></A
3477>xmlBufferCreateSize ()</H3
3478><TABLE
3479BORDER="0"
3480BGCOLOR="#D6E8FF"
3481WIDTH="100%"
3482CELLPADDING="6"
3483><TR
3484><TD
3485><PRE
3486CLASS="PROGRAMLISTING"
3487><A
3488HREF="libxml-tree.html#XMLBUFFERPTR"
3489>xmlBufferPtr</A
3490> xmlBufferCreateSize            (<GTKDOCLINK
3491HREF="SIZE-T"
3492>size_t</GTKDOCLINK
3493> size);</PRE
3494></TD
3495></TR
3496></TABLE
3497><P
3498>routine to create an XML buffer.</P
3499><P
3500></P
3501><DIV
3502CLASS="INFORMALTABLE"
3503><A
3504NAME="AEN4519"
3505></A
3506><P
3507></P
3508><TABLE
3509BORDER="0"
3510WIDTH="100%"
3511BGCOLOR="#FFD0D0"
3512CELLSPACING="0"
3513CELLPADDING="4"
3514CLASS="CALSTABLE"
3515><TBODY
3516><TR
3517><TD
3518WIDTH="20%"
3519ALIGN="RIGHT"
3520VALIGN="TOP"
3521><TT
3522CLASS="PARAMETER"
3523><I
3524>size</I
3525></TT
3526>&nbsp;:</TD
3527><TD
3528WIDTH="80%"
3529ALIGN="LEFT"
3530VALIGN="TOP"
3531> initial size of buffer</TD
3532></TR
3533><TR
3534><TD
3535WIDTH="20%"
3536ALIGN="RIGHT"
3537VALIGN="TOP"
3538><I
3539CLASS="EMPHASIS"
3540>Returns</I
3541> :</TD
3542><TD
3543WIDTH="80%"
3544ALIGN="LEFT"
3545VALIGN="TOP"
3546>the new structure.</TD
3547></TR
3548></TBODY
3549></TABLE
3550><P
3551></P
3552></DIV
3553></DIV
3554><HR><DIV
3555CLASS="REFSECT2"
3556><A
3557NAME="AEN4532"
3558></A
3559><H3
3560><A
3561NAME="XMLBUFFERRESIZE"
3562></A
3563>xmlBufferResize ()</H3
3564><TABLE
3565BORDER="0"
3566BGCOLOR="#D6E8FF"
3567WIDTH="100%"
3568CELLPADDING="6"
3569><TR
3570><TD
3571><PRE
3572CLASS="PROGRAMLISTING"
3573>int         xmlBufferResize                 (<A
3574HREF="libxml-tree.html#XMLBUFFERPTR"
3575>xmlBufferPtr</A
3576> buf,
3577                                             unsigned int size);</PRE
3578></TD
3579></TR
3580></TABLE
3581><P
3582>Resize a buffer to accomodate minimum size of <TT
3583CLASS="PARAMETER"
3584><I
3585>size</I
3586></TT
3587>.</P
3588><P
3589></P
3590><DIV
3591CLASS="INFORMALTABLE"
3592><A
3593NAME="AEN4540"
3594></A
3595><P
3596></P
3597><TABLE
3598BORDER="0"
3599WIDTH="100%"
3600BGCOLOR="#FFD0D0"
3601CELLSPACING="0"
3602CELLPADDING="4"
3603CLASS="CALSTABLE"
3604><TBODY
3605><TR
3606><TD
3607WIDTH="20%"
3608ALIGN="RIGHT"
3609VALIGN="TOP"
3610><TT
3611CLASS="PARAMETER"
3612><I
3613>buf</I
3614></TT
3615>&nbsp;:</TD
3616><TD
3617WIDTH="80%"
3618ALIGN="LEFT"
3619VALIGN="TOP"
3620>  the buffer to resize</TD
3621></TR
3622><TR
3623><TD
3624WIDTH="20%"
3625ALIGN="RIGHT"
3626VALIGN="TOP"
3627><TT
3628CLASS="PARAMETER"
3629><I
3630>size</I
3631></TT
3632>&nbsp;:</TD
3633><TD
3634WIDTH="80%"
3635ALIGN="LEFT"
3636VALIGN="TOP"
3637>  the desired size</TD
3638></TR
3639><TR
3640><TD
3641WIDTH="20%"
3642ALIGN="RIGHT"
3643VALIGN="TOP"
3644><I
3645CLASS="EMPHASIS"
3646>Returns</I
3647> :</TD
3648><TD
3649WIDTH="80%"
3650ALIGN="LEFT"
3651VALIGN="TOP"
3652>0 in case of problems, 1 otherwise</TD
3653></TR
3654></TBODY
3655></TABLE
3656><P
3657></P
3658></DIV
3659></DIV
3660><HR><DIV
3661CLASS="REFSECT2"
3662><A
3663NAME="AEN4557"
3664></A
3665><H3
3666><A
3667NAME="XMLBUFFERFREE"
3668></A
3669>xmlBufferFree ()</H3
3670><TABLE
3671BORDER="0"
3672BGCOLOR="#D6E8FF"
3673WIDTH="100%"
3674CELLPADDING="6"
3675><TR
3676><TD
3677><PRE
3678CLASS="PROGRAMLISTING"
3679>void        xmlBufferFree                   (<A
3680HREF="libxml-tree.html#XMLBUFFERPTR"
3681>xmlBufferPtr</A
3682> buf);</PRE
3683></TD
3684></TR
3685></TABLE
3686><P
3687>Frees an XML buffer.</P
3688><P
3689></P
3690><DIV
3691CLASS="INFORMALTABLE"
3692><A
3693NAME="AEN4564"
3694></A
3695><P
3696></P
3697><TABLE
3698BORDER="0"
3699WIDTH="100%"
3700BGCOLOR="#FFD0D0"
3701CELLSPACING="0"
3702CELLPADDING="4"
3703CLASS="CALSTABLE"
3704><TBODY
3705><TR
3706><TD
3707WIDTH="20%"
3708ALIGN="RIGHT"
3709VALIGN="TOP"
3710><TT
3711CLASS="PARAMETER"
3712><I
3713>buf</I
3714></TT
3715>&nbsp;:</TD
3716><TD
3717WIDTH="80%"
3718ALIGN="LEFT"
3719VALIGN="TOP"
3720>  the buffer to free</TD
3721></TR
3722></TBODY
3723></TABLE
3724><P
3725></P
3726></DIV
3727></DIV
3728><HR><DIV
3729CLASS="REFSECT2"
3730><A
3731NAME="AEN4573"
3732></A
3733><H3
3734><A
3735NAME="XMLBUFFERDUMP"
3736></A
3737>xmlBufferDump ()</H3
3738><TABLE
3739BORDER="0"
3740BGCOLOR="#D6E8FF"
3741WIDTH="100%"
3742CELLPADDING="6"
3743><TR
3744><TD
3745><PRE
3746CLASS="PROGRAMLISTING"
3747>int         xmlBufferDump                   (<GTKDOCLINK
3748HREF="FILE-CAPS"
3749>FILE</GTKDOCLINK
3750> *file,
3751                                             <A
3752HREF="libxml-tree.html#XMLBUFFERPTR"
3753>xmlBufferPtr</A
3754> buf);</PRE
3755></TD
3756></TR
3757></TABLE
3758><P
3759>Dumps an XML buffer to  a FILE *.</P
3760><P
3761></P
3762><DIV
3763CLASS="INFORMALTABLE"
3764><A
3765NAME="AEN4581"
3766></A
3767><P
3768></P
3769><TABLE
3770BORDER="0"
3771WIDTH="100%"
3772BGCOLOR="#FFD0D0"
3773CELLSPACING="0"
3774CELLPADDING="4"
3775CLASS="CALSTABLE"
3776><TBODY
3777><TR
3778><TD
3779WIDTH="20%"
3780ALIGN="RIGHT"
3781VALIGN="TOP"
3782><TT
3783CLASS="PARAMETER"
3784><I
3785>file</I
3786></TT
3787>&nbsp;:</TD
3788><TD
3789WIDTH="80%"
3790ALIGN="LEFT"
3791VALIGN="TOP"
3792>  the file output</TD
3793></TR
3794><TR
3795><TD
3796WIDTH="20%"
3797ALIGN="RIGHT"
3798VALIGN="TOP"
3799><TT
3800CLASS="PARAMETER"
3801><I
3802>buf</I
3803></TT
3804>&nbsp;:</TD
3805><TD
3806WIDTH="80%"
3807ALIGN="LEFT"
3808VALIGN="TOP"
3809>  the buffer to dump</TD
3810></TR
3811><TR
3812><TD
3813WIDTH="20%"
3814ALIGN="RIGHT"
3815VALIGN="TOP"
3816><I
3817CLASS="EMPHASIS"
3818>Returns</I
3819> :</TD
3820><TD
3821WIDTH="80%"
3822ALIGN="LEFT"
3823VALIGN="TOP"
3824>the number of xmlChar written</TD
3825></TR
3826></TBODY
3827></TABLE
3828><P
3829></P
3830></DIV
3831></DIV
3832><HR><DIV
3833CLASS="REFSECT2"
3834><A
3835NAME="AEN4598"
3836></A
3837><H3
3838><A
3839NAME="XMLBUFFERADD"
3840></A
3841>xmlBufferAdd ()</H3
3842><TABLE
3843BORDER="0"
3844BGCOLOR="#D6E8FF"
3845WIDTH="100%"
3846CELLPADDING="6"
3847><TR
3848><TD
3849><PRE
3850CLASS="PROGRAMLISTING"
3851>void        xmlBufferAdd                    (<A
3852HREF="libxml-tree.html#XMLBUFFERPTR"
3853>xmlBufferPtr</A
3854> buf,
3855                                             const <A
3856HREF="libxml-tree.html#XMLCHAR"
3857>xmlChar</A
3858> *str,
3859                                             int len);</PRE
3860></TD
3861></TR
3862></TABLE
3863><P
3864>Add a string range to an XML buffer. if len == -1, the lenght of
3865str is recomputed.</P
3866><P
3867></P
3868><DIV
3869CLASS="INFORMALTABLE"
3870><A
3871NAME="AEN4606"
3872></A
3873><P
3874></P
3875><TABLE
3876BORDER="0"
3877WIDTH="100%"
3878BGCOLOR="#FFD0D0"
3879CELLSPACING="0"
3880CELLPADDING="4"
3881CLASS="CALSTABLE"
3882><TBODY
3883><TR
3884><TD
3885WIDTH="20%"
3886ALIGN="RIGHT"
3887VALIGN="TOP"
3888><TT
3889CLASS="PARAMETER"
3890><I
3891>buf</I
3892></TT
3893>&nbsp;:</TD
3894><TD
3895WIDTH="80%"
3896ALIGN="LEFT"
3897VALIGN="TOP"
3898>  the buffer to dump</TD
3899></TR
3900><TR
3901><TD
3902WIDTH="20%"
3903ALIGN="RIGHT"
3904VALIGN="TOP"
3905><TT
3906CLASS="PARAMETER"
3907><I
3908>str</I
3909></TT
3910>&nbsp;:</TD
3911><TD
3912WIDTH="80%"
3913ALIGN="LEFT"
3914VALIGN="TOP"
3915>  the xmlChar string</TD
3916></TR
3917><TR
3918><TD
3919WIDTH="20%"
3920ALIGN="RIGHT"
3921VALIGN="TOP"
3922><TT
3923CLASS="PARAMETER"
3924><I
3925>len</I
3926></TT
3927>&nbsp;:</TD
3928><TD
3929WIDTH="80%"
3930ALIGN="LEFT"
3931VALIGN="TOP"
3932>  the number of xmlChar to add</TD
3933></TR
3934></TBODY
3935></TABLE
3936><P
3937></P
3938></DIV
3939></DIV
3940><HR><DIV
3941CLASS="REFSECT2"
3942><A
3943NAME="AEN4623"
3944></A
3945><H3
3946><A
3947NAME="XMLBUFFERADDHEAD"
3948></A
3949>xmlBufferAddHead ()</H3
3950><TABLE
3951BORDER="0"
3952BGCOLOR="#D6E8FF"
3953WIDTH="100%"
3954CELLPADDING="6"
3955><TR
3956><TD
3957><PRE
3958CLASS="PROGRAMLISTING"
3959>void        xmlBufferAddHead                (<A
3960HREF="libxml-tree.html#XMLBUFFERPTR"
3961>xmlBufferPtr</A
3962> buf,
3963                                             const <A
3964HREF="libxml-tree.html#XMLCHAR"
3965>xmlChar</A
3966> *str,
3967                                             int len);</PRE
3968></TD
3969></TR
3970></TABLE
3971><P
3972>Add a string range to the beginning of an XML buffer.
3973if len == -1, the lenght of <TT
3974CLASS="PARAMETER"
3975><I
3976>str</I
3977></TT
3978> is recomputed.</P
3979><P
3980></P
3981><DIV
3982CLASS="INFORMALTABLE"
3983><A
3984NAME="AEN4632"
3985></A
3986><P
3987></P
3988><TABLE
3989BORDER="0"
3990WIDTH="100%"
3991BGCOLOR="#FFD0D0"
3992CELLSPACING="0"
3993CELLPADDING="4"
3994CLASS="CALSTABLE"
3995><TBODY
3996><TR
3997><TD
3998WIDTH="20%"
3999ALIGN="RIGHT"
4000VALIGN="TOP"
4001><TT
4002CLASS="PARAMETER"
4003><I
4004>buf</I
4005></TT
4006>&nbsp;:</TD
4007><TD
4008WIDTH="80%"
4009ALIGN="LEFT"
4010VALIGN="TOP"
4011>  the buffer</TD
4012></TR
4013><TR
4014><TD
4015WIDTH="20%"
4016ALIGN="RIGHT"
4017VALIGN="TOP"
4018><TT
4019CLASS="PARAMETER"
4020><I
4021>str</I
4022></TT
4023>&nbsp;:</TD
4024><TD
4025WIDTH="80%"
4026ALIGN="LEFT"
4027VALIGN="TOP"
4028>  the xmlChar string</TD
4029></TR
4030><TR
4031><TD
4032WIDTH="20%"
4033ALIGN="RIGHT"
4034VALIGN="TOP"
4035><TT
4036CLASS="PARAMETER"
4037><I
4038>len</I
4039></TT
4040>&nbsp;:</TD
4041><TD
4042WIDTH="80%"
4043ALIGN="LEFT"
4044VALIGN="TOP"
4045>  the number of xmlChar to add</TD
4046></TR
4047></TBODY
4048></TABLE
4049><P
4050></P
4051></DIV
4052></DIV
4053><HR><DIV
4054CLASS="REFSECT2"
4055><A
4056NAME="AEN4649"
4057></A
4058><H3
4059><A
4060NAME="XMLBUFFERCAT"
4061></A
4062>xmlBufferCat ()</H3
4063><TABLE
4064BORDER="0"
4065BGCOLOR="#D6E8FF"
4066WIDTH="100%"
4067CELLPADDING="6"
4068><TR
4069><TD
4070><PRE
4071CLASS="PROGRAMLISTING"
4072>void        xmlBufferCat                    (<A
4073HREF="libxml-tree.html#XMLBUFFERPTR"
4074>xmlBufferPtr</A
4075> buf,
4076                                             const <A
4077HREF="libxml-tree.html#XMLCHAR"
4078>xmlChar</A
4079> *str);</PRE
4080></TD
4081></TR
4082></TABLE
4083><P
4084>Append a zero terminated string to an XML buffer.</P
4085><P
4086></P
4087><DIV
4088CLASS="INFORMALTABLE"
4089><A
4090NAME="AEN4657"
4091></A
4092><P
4093></P
4094><TABLE
4095BORDER="0"
4096WIDTH="100%"
4097BGCOLOR="#FFD0D0"
4098CELLSPACING="0"
4099CELLPADDING="4"
4100CLASS="CALSTABLE"
4101><TBODY
4102><TR
4103><TD
4104WIDTH="20%"
4105ALIGN="RIGHT"
4106VALIGN="TOP"
4107><TT
4108CLASS="PARAMETER"
4109><I
4110>buf</I
4111></TT
4112>&nbsp;:</TD
4113><TD
4114WIDTH="80%"
4115ALIGN="LEFT"
4116VALIGN="TOP"
4117>  the buffer to dump</TD
4118></TR
4119><TR
4120><TD
4121WIDTH="20%"
4122ALIGN="RIGHT"
4123VALIGN="TOP"
4124><TT
4125CLASS="PARAMETER"
4126><I
4127>str</I
4128></TT
4129>&nbsp;:</TD
4130><TD
4131WIDTH="80%"
4132ALIGN="LEFT"
4133VALIGN="TOP"
4134>  the xmlChar string</TD
4135></TR
4136></TBODY
4137></TABLE
4138><P
4139></P
4140></DIV
4141></DIV
4142><HR><DIV
4143CLASS="REFSECT2"
4144><A
4145NAME="AEN4670"
4146></A
4147><H3
4148><A
4149NAME="XMLBUFFERCCAT"
4150></A
4151>xmlBufferCCat ()</H3
4152><TABLE
4153BORDER="0"
4154BGCOLOR="#D6E8FF"
4155WIDTH="100%"
4156CELLPADDING="6"
4157><TR
4158><TD
4159><PRE
4160CLASS="PROGRAMLISTING"
4161>void        xmlBufferCCat                   (<A
4162HREF="libxml-tree.html#XMLBUFFERPTR"
4163>xmlBufferPtr</A
4164> buf,
4165                                             const char *str);</PRE
4166></TD
4167></TR
4168></TABLE
4169><P
4170>Append a zero terminated C string to an XML buffer.</P
4171><P
4172></P
4173><DIV
4174CLASS="INFORMALTABLE"
4175><A
4176NAME="AEN4677"
4177></A
4178><P
4179></P
4180><TABLE
4181BORDER="0"
4182WIDTH="100%"
4183BGCOLOR="#FFD0D0"
4184CELLSPACING="0"
4185CELLPADDING="4"
4186CLASS="CALSTABLE"
4187><TBODY
4188><TR
4189><TD
4190WIDTH="20%"
4191ALIGN="RIGHT"
4192VALIGN="TOP"
4193><TT
4194CLASS="PARAMETER"
4195><I
4196>buf</I
4197></TT
4198>&nbsp;:</TD
4199><TD
4200WIDTH="80%"
4201ALIGN="LEFT"
4202VALIGN="TOP"
4203>  the buffer to dump</TD
4204></TR
4205><TR
4206><TD
4207WIDTH="20%"
4208ALIGN="RIGHT"
4209VALIGN="TOP"
4210><TT
4211CLASS="PARAMETER"
4212><I
4213>str</I
4214></TT
4215>&nbsp;:</TD
4216><TD
4217WIDTH="80%"
4218ALIGN="LEFT"
4219VALIGN="TOP"
4220>  the C char string</TD
4221></TR
4222></TBODY
4223></TABLE
4224><P
4225></P
4226></DIV
4227></DIV
4228><HR><DIV
4229CLASS="REFSECT2"
4230><A
4231NAME="AEN4690"
4232></A
4233><H3
4234><A
4235NAME="XMLBUFFERSHRINK"
4236></A
4237>xmlBufferShrink ()</H3
4238><TABLE
4239BORDER="0"
4240BGCOLOR="#D6E8FF"
4241WIDTH="100%"
4242CELLPADDING="6"
4243><TR
4244><TD
4245><PRE
4246CLASS="PROGRAMLISTING"
4247>int         xmlBufferShrink                 (<A
4248HREF="libxml-tree.html#XMLBUFFERPTR"
4249>xmlBufferPtr</A
4250> buf,
4251                                             unsigned int len);</PRE
4252></TD
4253></TR
4254></TABLE
4255><P
4256>Remove the beginning of an XML buffer.</P
4257><P
4258></P
4259><DIV
4260CLASS="INFORMALTABLE"
4261><A
4262NAME="AEN4697"
4263></A
4264><P
4265></P
4266><TABLE
4267BORDER="0"
4268WIDTH="100%"
4269BGCOLOR="#FFD0D0"
4270CELLSPACING="0"
4271CELLPADDING="4"
4272CLASS="CALSTABLE"
4273><TBODY
4274><TR
4275><TD
4276WIDTH="20%"
4277ALIGN="RIGHT"
4278VALIGN="TOP"
4279><TT
4280CLASS="PARAMETER"
4281><I
4282>buf</I
4283></TT
4284>&nbsp;:</TD
4285><TD
4286WIDTH="80%"
4287ALIGN="LEFT"
4288VALIGN="TOP"
4289>  the buffer to dump</TD
4290></TR
4291><TR
4292><TD
4293WIDTH="20%"
4294ALIGN="RIGHT"
4295VALIGN="TOP"
4296><TT
4297CLASS="PARAMETER"
4298><I
4299>len</I
4300></TT
4301>&nbsp;:</TD
4302><TD
4303WIDTH="80%"
4304ALIGN="LEFT"
4305VALIGN="TOP"
4306>  the number of xmlChar to remove</TD
4307></TR
4308><TR
4309><TD
4310WIDTH="20%"
4311ALIGN="RIGHT"
4312VALIGN="TOP"
4313><I
4314CLASS="EMPHASIS"
4315>Returns</I
4316> :</TD
4317><TD
4318WIDTH="80%"
4319ALIGN="LEFT"
4320VALIGN="TOP"
4321>the number of xmlChar removed, or -1 in case of failure.</TD
4322></TR
4323></TBODY
4324></TABLE
4325><P
4326></P
4327></DIV
4328></DIV
4329><HR><DIV
4330CLASS="REFSECT2"
4331><A
4332NAME="AEN4714"
4333></A
4334><H3
4335><A
4336NAME="XMLBUFFERGROW"
4337></A
4338>xmlBufferGrow ()</H3
4339><TABLE
4340BORDER="0"
4341BGCOLOR="#D6E8FF"
4342WIDTH="100%"
4343CELLPADDING="6"
4344><TR
4345><TD
4346><PRE
4347CLASS="PROGRAMLISTING"
4348>int         xmlBufferGrow                   (<A
4349HREF="libxml-tree.html#XMLBUFFERPTR"
4350>xmlBufferPtr</A
4351> buf,
4352                                             unsigned int len);</PRE
4353></TD
4354></TR
4355></TABLE
4356><P
4357>Grow the available space of an XML buffer.</P
4358><P
4359></P
4360><DIV
4361CLASS="INFORMALTABLE"
4362><A
4363NAME="AEN4721"
4364></A
4365><P
4366></P
4367><TABLE
4368BORDER="0"
4369WIDTH="100%"
4370BGCOLOR="#FFD0D0"
4371CELLSPACING="0"
4372CELLPADDING="4"
4373CLASS="CALSTABLE"
4374><TBODY
4375><TR
4376><TD
4377WIDTH="20%"
4378ALIGN="RIGHT"
4379VALIGN="TOP"
4380><TT
4381CLASS="PARAMETER"
4382><I
4383>buf</I
4384></TT
4385>&nbsp;:</TD
4386><TD
4387WIDTH="80%"
4388ALIGN="LEFT"
4389VALIGN="TOP"
4390>  the buffer</TD
4391></TR
4392><TR
4393><TD
4394WIDTH="20%"
4395ALIGN="RIGHT"
4396VALIGN="TOP"
4397><TT
4398CLASS="PARAMETER"
4399><I
4400>len</I
4401></TT
4402>&nbsp;:</TD
4403><TD
4404WIDTH="80%"
4405ALIGN="LEFT"
4406VALIGN="TOP"
4407>  the minimum free size to allocate</TD
4408></TR
4409><TR
4410><TD
4411WIDTH="20%"
4412ALIGN="RIGHT"
4413VALIGN="TOP"
4414><I
4415CLASS="EMPHASIS"
4416>Returns</I
4417> :</TD
4418><TD
4419WIDTH="80%"
4420ALIGN="LEFT"
4421VALIGN="TOP"
4422>the new available space or -1 in case of error</TD
4423></TR
4424></TBODY
4425></TABLE
4426><P
4427></P
4428></DIV
4429></DIV
4430><HR><DIV
4431CLASS="REFSECT2"
4432><A
4433NAME="AEN4738"
4434></A
4435><H3
4436><A
4437NAME="XMLBUFFEREMPTY"
4438></A
4439>xmlBufferEmpty ()</H3
4440><TABLE
4441BORDER="0"
4442BGCOLOR="#D6E8FF"
4443WIDTH="100%"
4444CELLPADDING="6"
4445><TR
4446><TD
4447><PRE
4448CLASS="PROGRAMLISTING"
4449>void        xmlBufferEmpty                  (<A
4450HREF="libxml-tree.html#XMLBUFFERPTR"
4451>xmlBufferPtr</A
4452> buf);</PRE
4453></TD
4454></TR
4455></TABLE
4456><P
4457>empty a buffer.</P
4458><P
4459></P
4460><DIV
4461CLASS="INFORMALTABLE"
4462><A
4463NAME="AEN4745"
4464></A
4465><P
4466></P
4467><TABLE
4468BORDER="0"
4469WIDTH="100%"
4470BGCOLOR="#FFD0D0"
4471CELLSPACING="0"
4472CELLPADDING="4"
4473CLASS="CALSTABLE"
4474><TBODY
4475><TR
4476><TD
4477WIDTH="20%"
4478ALIGN="RIGHT"
4479VALIGN="TOP"
4480><TT
4481CLASS="PARAMETER"
4482><I
4483>buf</I
4484></TT
4485>&nbsp;:</TD
4486><TD
4487WIDTH="80%"
4488ALIGN="LEFT"
4489VALIGN="TOP"
4490>  the buffer</TD
4491></TR
4492></TBODY
4493></TABLE
4494><P
4495></P
4496></DIV
4497></DIV
4498><HR><DIV
4499CLASS="REFSECT2"
4500><A
4501NAME="AEN4754"
4502></A
4503><H3
4504><A
4505NAME="XMLBUFFERCONTENT"
4506></A
4507>xmlBufferContent ()</H3
4508><TABLE
4509BORDER="0"
4510BGCOLOR="#D6E8FF"
4511WIDTH="100%"
4512CELLPADDING="6"
4513><TR
4514><TD
4515><PRE
4516CLASS="PROGRAMLISTING"
4517>const <A
4518HREF="libxml-tree.html#XMLCHAR"
4519>xmlChar</A
4520>* xmlBufferContent             (const <A
4521HREF="libxml-tree.html#XMLBUFFERPTR"
4522>xmlBufferPtr</A
4523> buf);</PRE
4524></TD
4525></TR
4526></TABLE
4527><P
4528>Function to extract the content of a buffer</P
4529><P
4530></P
4531><DIV
4532CLASS="INFORMALTABLE"
4533><A
4534NAME="AEN4762"
4535></A
4536><P
4537></P
4538><TABLE
4539BORDER="0"
4540WIDTH="100%"
4541BGCOLOR="#FFD0D0"
4542CELLSPACING="0"
4543CELLPADDING="4"
4544CLASS="CALSTABLE"
4545><TBODY
4546><TR
4547><TD
4548WIDTH="20%"
4549ALIGN="RIGHT"
4550VALIGN="TOP"
4551><TT
4552CLASS="PARAMETER"
4553><I
4554>buf</I
4555></TT
4556>&nbsp;:</TD
4557><TD
4558WIDTH="80%"
4559ALIGN="LEFT"
4560VALIGN="TOP"
4561>  the buffer</TD
4562></TR
4563><TR
4564><TD
4565WIDTH="20%"
4566ALIGN="RIGHT"
4567VALIGN="TOP"
4568><I
4569CLASS="EMPHASIS"
4570>Returns</I
4571> :</TD
4572><TD
4573WIDTH="80%"
4574ALIGN="LEFT"
4575VALIGN="TOP"
4576>the internal content</TD
4577></TR
4578></TBODY
4579></TABLE
4580><P
4581></P
4582></DIV
4583></DIV
4584><HR><DIV
4585CLASS="REFSECT2"
4586><A
4587NAME="AEN4775"
4588></A
4589><H3
4590><A
4591NAME="XMLBUFFERSETALLOCATIONSCHEME"
4592></A
4593>xmlBufferSetAllocationScheme ()</H3
4594><TABLE
4595BORDER="0"
4596BGCOLOR="#D6E8FF"
4597WIDTH="100%"
4598CELLPADDING="6"
4599><TR
4600><TD
4601><PRE
4602CLASS="PROGRAMLISTING"
4603>void        xmlBufferSetAllocationScheme    (<A
4604HREF="libxml-tree.html#XMLBUFFERPTR"
4605>xmlBufferPtr</A
4606> buf,
4607                                             <A
4608HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
4609>xmlBufferAllocationScheme</A
4610> scheme);</PRE
4611></TD
4612></TR
4613></TABLE
4614><P
4615>Sets the allocation scheme for this buffer</P
4616><P
4617></P
4618><DIV
4619CLASS="INFORMALTABLE"
4620><A
4621NAME="AEN4783"
4622></A
4623><P
4624></P
4625><TABLE
4626BORDER="0"
4627WIDTH="100%"
4628BGCOLOR="#FFD0D0"
4629CELLSPACING="0"
4630CELLPADDING="4"
4631CLASS="CALSTABLE"
4632><TBODY
4633><TR
4634><TD
4635WIDTH="20%"
4636ALIGN="RIGHT"
4637VALIGN="TOP"
4638><TT
4639CLASS="PARAMETER"
4640><I
4641>buf</I
4642></TT
4643>&nbsp;:</TD
4644><TD
4645WIDTH="80%"
4646ALIGN="LEFT"
4647VALIGN="TOP"
4648>  the buffer to free</TD
4649></TR
4650><TR
4651><TD
4652WIDTH="20%"
4653ALIGN="RIGHT"
4654VALIGN="TOP"
4655><TT
4656CLASS="PARAMETER"
4657><I
4658>scheme</I
4659></TT
4660>&nbsp;:</TD
4661><TD
4662WIDTH="80%"
4663ALIGN="LEFT"
4664VALIGN="TOP"
4665>  allocation scheme to use</TD
4666></TR
4667></TBODY
4668></TABLE
4669><P
4670></P
4671></DIV
4672></DIV
4673><HR><DIV
4674CLASS="REFSECT2"
4675><A
4676NAME="AEN4796"
4677></A
4678><H3
4679><A
4680NAME="XMLBUFFERLENGTH"
4681></A
4682>xmlBufferLength ()</H3
4683><TABLE
4684BORDER="0"
4685BGCOLOR="#D6E8FF"
4686WIDTH="100%"
4687CELLPADDING="6"
4688><TR
4689><TD
4690><PRE
4691CLASS="PROGRAMLISTING"
4692>int         xmlBufferLength                 (const <A
4693HREF="libxml-tree.html#XMLBUFFERPTR"
4694>xmlBufferPtr</A
4695> buf);</PRE
4696></TD
4697></TR
4698></TABLE
4699><P
4700>Function to get the length of a buffer</P
4701><P
4702></P
4703><DIV
4704CLASS="INFORMALTABLE"
4705><A
4706NAME="AEN4803"
4707></A
4708><P
4709></P
4710><TABLE
4711BORDER="0"
4712WIDTH="100%"
4713BGCOLOR="#FFD0D0"
4714CELLSPACING="0"
4715CELLPADDING="4"
4716CLASS="CALSTABLE"
4717><TBODY
4718><TR
4719><TD
4720WIDTH="20%"
4721ALIGN="RIGHT"
4722VALIGN="TOP"
4723><TT
4724CLASS="PARAMETER"
4725><I
4726>buf</I
4727></TT
4728>&nbsp;:</TD
4729><TD
4730WIDTH="80%"
4731ALIGN="LEFT"
4732VALIGN="TOP"
4733>  the buffer </TD
4734></TR
4735><TR
4736><TD
4737WIDTH="20%"
4738ALIGN="RIGHT"
4739VALIGN="TOP"
4740><I
4741CLASS="EMPHASIS"
4742>Returns</I
4743> :</TD
4744><TD
4745WIDTH="80%"
4746ALIGN="LEFT"
4747VALIGN="TOP"
4748>the length of data in the internal content</TD
4749></TR
4750></TBODY
4751></TABLE
4752><P
4753></P
4754></DIV
4755></DIV
4756><HR><DIV
4757CLASS="REFSECT2"
4758><A
4759NAME="AEN4816"
4760></A
4761><H3
4762><A
4763NAME="XMLCREATEINTSUBSET"
4764></A
4765>xmlCreateIntSubset ()</H3
4766><TABLE
4767BORDER="0"
4768BGCOLOR="#D6E8FF"
4769WIDTH="100%"
4770CELLPADDING="6"
4771><TR
4772><TD
4773><PRE
4774CLASS="PROGRAMLISTING"
4775><A
4776HREF="libxml-tree.html#XMLDTDPTR"
4777>xmlDtdPtr</A
4778>   xmlCreateIntSubset              (<A
4779HREF="libxml-tree.html#XMLDOCPTR"
4780>xmlDocPtr</A
4781> doc,
4782                                             const <A
4783HREF="libxml-tree.html#XMLCHAR"
4784>xmlChar</A
4785> *name,
4786                                             const <A
4787HREF="libxml-tree.html#XMLCHAR"
4788>xmlChar</A
4789> *ExternalID,
4790                                             const <A
4791HREF="libxml-tree.html#XMLCHAR"
4792>xmlChar</A
4793> *SystemID);</PRE
4794></TD
4795></TR
4796></TABLE
4797><P
4798>Create the internal subset of a document</P
4799><P
4800></P
4801><DIV
4802CLASS="INFORMALTABLE"
4803><A
4804NAME="AEN4827"
4805></A
4806><P
4807></P
4808><TABLE
4809BORDER="0"
4810WIDTH="100%"
4811BGCOLOR="#FFD0D0"
4812CELLSPACING="0"
4813CELLPADDING="4"
4814CLASS="CALSTABLE"
4815><TBODY
4816><TR
4817><TD
4818WIDTH="20%"
4819ALIGN="RIGHT"
4820VALIGN="TOP"
4821><TT
4822CLASS="PARAMETER"
4823><I
4824>doc</I
4825></TT
4826>&nbsp;:</TD
4827><TD
4828WIDTH="80%"
4829ALIGN="LEFT"
4830VALIGN="TOP"
4831>  the document pointer</TD
4832></TR
4833><TR
4834><TD
4835WIDTH="20%"
4836ALIGN="RIGHT"
4837VALIGN="TOP"
4838><TT
4839CLASS="PARAMETER"
4840><I
4841>name</I
4842></TT
4843>&nbsp;:</TD
4844><TD
4845WIDTH="80%"
4846ALIGN="LEFT"
4847VALIGN="TOP"
4848>  the DTD name</TD
4849></TR
4850><TR
4851><TD
4852WIDTH="20%"
4853ALIGN="RIGHT"
4854VALIGN="TOP"
4855><TT
4856CLASS="PARAMETER"
4857><I
4858>ExternalID</I
4859></TT
4860>&nbsp;:</TD
4861><TD
4862WIDTH="80%"
4863ALIGN="LEFT"
4864VALIGN="TOP"
4865>  the external (PUBLIC) ID</TD
4866></TR
4867><TR
4868><TD
4869WIDTH="20%"
4870ALIGN="RIGHT"
4871VALIGN="TOP"
4872><TT
4873CLASS="PARAMETER"
4874><I
4875>SystemID</I
4876></TT
4877>&nbsp;:</TD
4878><TD
4879WIDTH="80%"
4880ALIGN="LEFT"
4881VALIGN="TOP"
4882>  the system ID</TD
4883></TR
4884><TR
4885><TD
4886WIDTH="20%"
4887ALIGN="RIGHT"
4888VALIGN="TOP"
4889><I
4890CLASS="EMPHASIS"
4891>Returns</I
4892> :</TD
4893><TD
4894WIDTH="80%"
4895ALIGN="LEFT"
4896VALIGN="TOP"
4897>a pointer to the new DTD structure</TD
4898></TR
4899></TBODY
4900></TABLE
4901><P
4902></P
4903></DIV
4904></DIV
4905><HR><DIV
4906CLASS="REFSECT2"
4907><A
4908NAME="AEN4852"
4909></A
4910><H3
4911><A
4912NAME="XMLNEWDTD"
4913></A
4914>xmlNewDtd ()</H3
4915><TABLE
4916BORDER="0"
4917BGCOLOR="#D6E8FF"
4918WIDTH="100%"
4919CELLPADDING="6"
4920><TR
4921><TD
4922><PRE
4923CLASS="PROGRAMLISTING"
4924><A
4925HREF="libxml-tree.html#XMLDTDPTR"
4926>xmlDtdPtr</A
4927>   xmlNewDtd                       (<A
4928HREF="libxml-tree.html#XMLDOCPTR"
4929>xmlDocPtr</A
4930> doc,
4931                                             const <A
4932HREF="libxml-tree.html#XMLCHAR"
4933>xmlChar</A
4934> *name,
4935                                             const <A
4936HREF="libxml-tree.html#XMLCHAR"
4937>xmlChar</A
4938> *ExternalID,
4939                                             const <A
4940HREF="libxml-tree.html#XMLCHAR"
4941>xmlChar</A
4942> *SystemID);</PRE
4943></TD
4944></TR
4945></TABLE
4946><P
4947>Creation of a new DTD for the external subset. To create an
4948internal subset, use <A
4949HREF="libxml-tree.html#XMLCREATEINTSUBSET"
4950>xmlCreateIntSubset</A
4951>().</P
4952><P
4953></P
4954><DIV
4955CLASS="INFORMALTABLE"
4956><A
4957NAME="AEN4864"
4958></A
4959><P
4960></P
4961><TABLE
4962BORDER="0"
4963WIDTH="100%"
4964BGCOLOR="#FFD0D0"
4965CELLSPACING="0"
4966CELLPADDING="4"
4967CLASS="CALSTABLE"
4968><TBODY
4969><TR
4970><TD
4971WIDTH="20%"
4972ALIGN="RIGHT"
4973VALIGN="TOP"
4974><TT
4975CLASS="PARAMETER"
4976><I
4977>doc</I
4978></TT
4979>&nbsp;:</TD
4980><TD
4981WIDTH="80%"
4982ALIGN="LEFT"
4983VALIGN="TOP"
4984>  the document pointer</TD
4985></TR
4986><TR
4987><TD
4988WIDTH="20%"
4989ALIGN="RIGHT"
4990VALIGN="TOP"
4991><TT
4992CLASS="PARAMETER"
4993><I
4994>name</I
4995></TT
4996>&nbsp;:</TD
4997><TD
4998WIDTH="80%"
4999ALIGN="LEFT"
5000VALIGN="TOP"
5001>  the DTD name</TD
5002></TR
5003><TR
5004><TD
5005WIDTH="20%"
5006ALIGN="RIGHT"
5007VALIGN="TOP"
5008><TT
5009CLASS="PARAMETER"
5010><I
5011>ExternalID</I
5012></TT
5013>&nbsp;:</TD
5014><TD
5015WIDTH="80%"
5016ALIGN="LEFT"
5017VALIGN="TOP"
5018>  the external ID</TD
5019></TR
5020><TR
5021><TD
5022WIDTH="20%"
5023ALIGN="RIGHT"
5024VALIGN="TOP"
5025><TT
5026CLASS="PARAMETER"
5027><I
5028>SystemID</I
5029></TT
5030>&nbsp;:</TD
5031><TD
5032WIDTH="80%"
5033ALIGN="LEFT"
5034VALIGN="TOP"
5035>  the system ID</TD
5036></TR
5037><TR
5038><TD
5039WIDTH="20%"
5040ALIGN="RIGHT"
5041VALIGN="TOP"
5042><I
5043CLASS="EMPHASIS"
5044>Returns</I
5045> :</TD
5046><TD
5047WIDTH="80%"
5048ALIGN="LEFT"
5049VALIGN="TOP"
5050>a pointer to the new DTD structure</TD
5051></TR
5052></TBODY
5053></TABLE
5054><P
5055></P
5056></DIV
5057></DIV
5058><HR><DIV
5059CLASS="REFSECT2"
5060><A
5061NAME="AEN4889"
5062></A
5063><H3
5064><A
5065NAME="XMLGETINTSUBSET"
5066></A
5067>xmlGetIntSubset ()</H3
5068><TABLE
5069BORDER="0"
5070BGCOLOR="#D6E8FF"
5071WIDTH="100%"
5072CELLPADDING="6"
5073><TR
5074><TD
5075><PRE
5076CLASS="PROGRAMLISTING"
5077><A
5078HREF="libxml-tree.html#XMLDTDPTR"
5079>xmlDtdPtr</A
5080>   xmlGetIntSubset                 (<A
5081HREF="libxml-tree.html#XMLDOCPTR"
5082>xmlDocPtr</A
5083> doc);</PRE
5084></TD
5085></TR
5086></TABLE
5087><P
5088>Get the internal subset of a document</P
5089><P
5090></P
5091><DIV
5092CLASS="INFORMALTABLE"
5093><A
5094NAME="AEN4897"
5095></A
5096><P
5097></P
5098><TABLE
5099BORDER="0"
5100WIDTH="100%"
5101BGCOLOR="#FFD0D0"
5102CELLSPACING="0"
5103CELLPADDING="4"
5104CLASS="CALSTABLE"
5105><TBODY
5106><TR
5107><TD
5108WIDTH="20%"
5109ALIGN="RIGHT"
5110VALIGN="TOP"
5111><TT
5112CLASS="PARAMETER"
5113><I
5114>doc</I
5115></TT
5116>&nbsp;:</TD
5117><TD
5118WIDTH="80%"
5119ALIGN="LEFT"
5120VALIGN="TOP"
5121>  the document pointer</TD
5122></TR
5123><TR
5124><TD
5125WIDTH="20%"
5126ALIGN="RIGHT"
5127VALIGN="TOP"
5128><I
5129CLASS="EMPHASIS"
5130>Returns</I
5131> :</TD
5132><TD
5133WIDTH="80%"
5134ALIGN="LEFT"
5135VALIGN="TOP"
5136>a pointer to the DTD structure or NULL if not found</TD
5137></TR
5138></TBODY
5139></TABLE
5140><P
5141></P
5142></DIV
5143></DIV
5144><HR><DIV
5145CLASS="REFSECT2"
5146><A
5147NAME="AEN4910"
5148></A
5149><H3
5150><A
5151NAME="XMLFREEDTD"
5152></A
5153>xmlFreeDtd ()</H3
5154><TABLE
5155BORDER="0"
5156BGCOLOR="#D6E8FF"
5157WIDTH="100%"
5158CELLPADDING="6"
5159><TR
5160><TD
5161><PRE
5162CLASS="PROGRAMLISTING"
5163>void        xmlFreeDtd                      (<A
5164HREF="libxml-tree.html#XMLDTDPTR"
5165>xmlDtdPtr</A
5166> cur);</PRE
5167></TD
5168></TR
5169></TABLE
5170><P
5171>Free a DTD structure.</P
5172><P
5173></P
5174><DIV
5175CLASS="INFORMALTABLE"
5176><A
5177NAME="AEN4917"
5178></A
5179><P
5180></P
5181><TABLE
5182BORDER="0"
5183WIDTH="100%"
5184BGCOLOR="#FFD0D0"
5185CELLSPACING="0"
5186CELLPADDING="4"
5187CLASS="CALSTABLE"
5188><TBODY
5189><TR
5190><TD
5191WIDTH="20%"
5192ALIGN="RIGHT"
5193VALIGN="TOP"
5194><TT
5195CLASS="PARAMETER"
5196><I
5197>cur</I
5198></TT
5199>&nbsp;:</TD
5200><TD
5201WIDTH="80%"
5202ALIGN="LEFT"
5203VALIGN="TOP"
5204>  the DTD structure to free up</TD
5205></TR
5206></TBODY
5207></TABLE
5208><P
5209></P
5210></DIV
5211></DIV
5212><HR><DIV
5213CLASS="REFSECT2"
5214><A
5215NAME="AEN4926"
5216></A
5217><H3
5218><A
5219NAME="XMLNEWGLOBALNS"
5220></A
5221>xmlNewGlobalNs ()</H3
5222><TABLE
5223BORDER="0"
5224BGCOLOR="#D6E8FF"
5225WIDTH="100%"
5226CELLPADDING="6"
5227><TR
5228><TD
5229><PRE
5230CLASS="PROGRAMLISTING"
5231><A
5232HREF="libxml-tree.html#XMLNSPTR"
5233>xmlNsPtr</A
5234>    xmlNewGlobalNs                  (<A
5235HREF="libxml-tree.html#XMLDOCPTR"
5236>xmlDocPtr</A
5237> doc,
5238                                             const <A
5239HREF="libxml-tree.html#XMLCHAR"
5240>xmlChar</A
5241> *href,
5242                                             const <A
5243HREF="libxml-tree.html#XMLCHAR"
5244>xmlChar</A
5245> *prefix);</PRE
5246></TD
5247></TR
5248></TABLE
5249><P
5250>Creation of a Namespace, the old way using PI and without scoping
5251DEPRECATED !!!
5252It now create a namespace on the root element of the document if found.</P
5253><P
5254></P
5255><DIV
5256CLASS="INFORMALTABLE"
5257><A
5258NAME="AEN4936"
5259></A
5260><P
5261></P
5262><TABLE
5263BORDER="0"
5264WIDTH="100%"
5265BGCOLOR="#FFD0D0"
5266CELLSPACING="0"
5267CELLPADDING="4"
5268CLASS="CALSTABLE"
5269><TBODY
5270><TR
5271><TD
5272WIDTH="20%"
5273ALIGN="RIGHT"
5274VALIGN="TOP"
5275><TT
5276CLASS="PARAMETER"
5277><I
5278>doc</I
5279></TT
5280>&nbsp;:</TD
5281><TD
5282WIDTH="80%"
5283ALIGN="LEFT"
5284VALIGN="TOP"
5285>  the document carrying the namespace</TD
5286></TR
5287><TR
5288><TD
5289WIDTH="20%"
5290ALIGN="RIGHT"
5291VALIGN="TOP"
5292><TT
5293CLASS="PARAMETER"
5294><I
5295>href</I
5296></TT
5297>&nbsp;:</TD
5298><TD
5299WIDTH="80%"
5300ALIGN="LEFT"
5301VALIGN="TOP"
5302>  the URI associated</TD
5303></TR
5304><TR
5305><TD
5306WIDTH="20%"
5307ALIGN="RIGHT"
5308VALIGN="TOP"
5309><TT
5310CLASS="PARAMETER"
5311><I
5312>prefix</I
5313></TT
5314>&nbsp;:</TD
5315><TD
5316WIDTH="80%"
5317ALIGN="LEFT"
5318VALIGN="TOP"
5319>  the prefix for the namespace</TD
5320></TR
5321><TR
5322><TD
5323WIDTH="20%"
5324ALIGN="RIGHT"
5325VALIGN="TOP"
5326><I
5327CLASS="EMPHASIS"
5328>Returns</I
5329> :</TD
5330><TD
5331WIDTH="80%"
5332ALIGN="LEFT"
5333VALIGN="TOP"
5334>NULL this functionnality had been removed</TD
5335></TR
5336></TBODY
5337></TABLE
5338><P
5339></P
5340></DIV
5341></DIV
5342><HR><DIV
5343CLASS="REFSECT2"
5344><A
5345NAME="AEN4957"
5346></A
5347><H3
5348><A
5349NAME="XMLNEWNS"
5350></A
5351>xmlNewNs ()</H3
5352><TABLE
5353BORDER="0"
5354BGCOLOR="#D6E8FF"
5355WIDTH="100%"
5356CELLPADDING="6"
5357><TR
5358><TD
5359><PRE
5360CLASS="PROGRAMLISTING"
5361><A
5362HREF="libxml-tree.html#XMLNSPTR"
5363>xmlNsPtr</A
5364>    xmlNewNs                        (<A
5365HREF="libxml-tree.html#XMLNODEPTR"
5366>xmlNodePtr</A
5367> node,
5368                                             const <A
5369HREF="libxml-tree.html#XMLCHAR"
5370>xmlChar</A
5371> *href,
5372                                             const <A
5373HREF="libxml-tree.html#XMLCHAR"
5374>xmlChar</A
5375> *prefix);</PRE
5376></TD
5377></TR
5378></TABLE
5379><P
5380>Creation of a new Namespace. This function will refuse to create
5381a namespace with a similar prefix than an existing one present on this
5382node.
5383We use href==NULL in the case of an element creation where the namespace
5384was not defined.</P
5385><P
5386></P
5387><DIV
5388CLASS="INFORMALTABLE"
5389><A
5390NAME="AEN4967"
5391></A
5392><P
5393></P
5394><TABLE
5395BORDER="0"
5396WIDTH="100%"
5397BGCOLOR="#FFD0D0"
5398CELLSPACING="0"
5399CELLPADDING="4"
5400CLASS="CALSTABLE"
5401><TBODY
5402><TR
5403><TD
5404WIDTH="20%"
5405ALIGN="RIGHT"
5406VALIGN="TOP"
5407><TT
5408CLASS="PARAMETER"
5409><I
5410>node</I
5411></TT
5412>&nbsp;:</TD
5413><TD
5414WIDTH="80%"
5415ALIGN="LEFT"
5416VALIGN="TOP"
5417>  the element carrying the namespace</TD
5418></TR
5419><TR
5420><TD
5421WIDTH="20%"
5422ALIGN="RIGHT"
5423VALIGN="TOP"
5424><TT
5425CLASS="PARAMETER"
5426><I
5427>href</I
5428></TT
5429>&nbsp;:</TD
5430><TD
5431WIDTH="80%"
5432ALIGN="LEFT"
5433VALIGN="TOP"
5434>  the URI associated</TD
5435></TR
5436><TR
5437><TD
5438WIDTH="20%"
5439ALIGN="RIGHT"
5440VALIGN="TOP"
5441><TT
5442CLASS="PARAMETER"
5443><I
5444>prefix</I
5445></TT
5446>&nbsp;:</TD
5447><TD
5448WIDTH="80%"
5449ALIGN="LEFT"
5450VALIGN="TOP"
5451>  the prefix for the namespace</TD
5452></TR
5453><TR
5454><TD
5455WIDTH="20%"
5456ALIGN="RIGHT"
5457VALIGN="TOP"
5458><I
5459CLASS="EMPHASIS"
5460>Returns</I
5461> :</TD
5462><TD
5463WIDTH="80%"
5464ALIGN="LEFT"
5465VALIGN="TOP"
5466>returns a new namespace pointer or NULL</TD
5467></TR
5468></TBODY
5469></TABLE
5470><P
5471></P
5472></DIV
5473></DIV
5474><HR><DIV
5475CLASS="REFSECT2"
5476><A
5477NAME="AEN4988"
5478></A
5479><H3
5480><A
5481NAME="XMLFREENS"
5482></A
5483>xmlFreeNs ()</H3
5484><TABLE
5485BORDER="0"
5486BGCOLOR="#D6E8FF"
5487WIDTH="100%"
5488CELLPADDING="6"
5489><TR
5490><TD
5491><PRE
5492CLASS="PROGRAMLISTING"
5493>void        xmlFreeNs                       (<A
5494HREF="libxml-tree.html#XMLNSPTR"
5495>xmlNsPtr</A
5496> cur);</PRE
5497></TD
5498></TR
5499></TABLE
5500><P
5501>Free up the structures associated to a namespace</P
5502><P
5503></P
5504><DIV
5505CLASS="INFORMALTABLE"
5506><A
5507NAME="AEN4995"
5508></A
5509><P
5510></P
5511><TABLE
5512BORDER="0"
5513WIDTH="100%"
5514BGCOLOR="#FFD0D0"
5515CELLSPACING="0"
5516CELLPADDING="4"
5517CLASS="CALSTABLE"
5518><TBODY
5519><TR
5520><TD
5521WIDTH="20%"
5522ALIGN="RIGHT"
5523VALIGN="TOP"
5524><TT
5525CLASS="PARAMETER"
5526><I
5527>cur</I
5528></TT
5529>&nbsp;:</TD
5530><TD
5531WIDTH="80%"
5532ALIGN="LEFT"
5533VALIGN="TOP"
5534>  the namespace pointer</TD
5535></TR
5536></TBODY
5537></TABLE
5538><P
5539></P
5540></DIV
5541></DIV
5542><HR><DIV
5543CLASS="REFSECT2"
5544><A
5545NAME="AEN5004"
5546></A
5547><H3
5548><A
5549NAME="XMLFREENSLIST"
5550></A
5551>xmlFreeNsList ()</H3
5552><TABLE
5553BORDER="0"
5554BGCOLOR="#D6E8FF"
5555WIDTH="100%"
5556CELLPADDING="6"
5557><TR
5558><TD
5559><PRE
5560CLASS="PROGRAMLISTING"
5561>void        xmlFreeNsList                   (<A
5562HREF="libxml-tree.html#XMLNSPTR"
5563>xmlNsPtr</A
5564> cur);</PRE
5565></TD
5566></TR
5567></TABLE
5568><P
5569>Free up all the structures associated to the chained namespaces.</P
5570><P
5571></P
5572><DIV
5573CLASS="INFORMALTABLE"
5574><A
5575NAME="AEN5011"
5576></A
5577><P
5578></P
5579><TABLE
5580BORDER="0"
5581WIDTH="100%"
5582BGCOLOR="#FFD0D0"
5583CELLSPACING="0"
5584CELLPADDING="4"
5585CLASS="CALSTABLE"
5586><TBODY
5587><TR
5588><TD
5589WIDTH="20%"
5590ALIGN="RIGHT"
5591VALIGN="TOP"
5592><TT
5593CLASS="PARAMETER"
5594><I
5595>cur</I
5596></TT
5597>&nbsp;:</TD
5598><TD
5599WIDTH="80%"
5600ALIGN="LEFT"
5601VALIGN="TOP"
5602>  the first namespace pointer</TD
5603></TR
5604></TBODY
5605></TABLE
5606><P
5607></P
5608></DIV
5609></DIV
5610><HR><DIV
5611CLASS="REFSECT2"
5612><A
5613NAME="AEN5020"
5614></A
5615><H3
5616><A
5617NAME="XMLNEWDOC"
5618></A
5619>xmlNewDoc ()</H3
5620><TABLE
5621BORDER="0"
5622BGCOLOR="#D6E8FF"
5623WIDTH="100%"
5624CELLPADDING="6"
5625><TR
5626><TD
5627><PRE
5628CLASS="PROGRAMLISTING"
5629><A
5630HREF="libxml-tree.html#XMLDOCPTR"
5631>xmlDocPtr</A
5632>   xmlNewDoc                       (const <A
5633HREF="libxml-tree.html#XMLCHAR"
5634>xmlChar</A
5635> *version);</PRE
5636></TD
5637></TR
5638></TABLE
5639><P
5640>Creates a new XML document</P
5641><P
5642></P
5643><DIV
5644CLASS="INFORMALTABLE"
5645><A
5646NAME="AEN5028"
5647></A
5648><P
5649></P
5650><TABLE
5651BORDER="0"
5652WIDTH="100%"
5653BGCOLOR="#FFD0D0"
5654CELLSPACING="0"
5655CELLPADDING="4"
5656CLASS="CALSTABLE"
5657><TBODY
5658><TR
5659><TD
5660WIDTH="20%"
5661ALIGN="RIGHT"
5662VALIGN="TOP"
5663><TT
5664CLASS="PARAMETER"
5665><I
5666>version</I
5667></TT
5668>&nbsp;:</TD
5669><TD
5670WIDTH="80%"
5671ALIGN="LEFT"
5672VALIGN="TOP"
5673>  xmlChar string giving the version of XML "1.0"</TD
5674></TR
5675><TR
5676><TD
5677WIDTH="20%"
5678ALIGN="RIGHT"
5679VALIGN="TOP"
5680><I
5681CLASS="EMPHASIS"
5682>Returns</I
5683> :</TD
5684><TD
5685WIDTH="80%"
5686ALIGN="LEFT"
5687VALIGN="TOP"
5688>a new document</TD
5689></TR
5690></TBODY
5691></TABLE
5692><P
5693></P
5694></DIV
5695></DIV
5696><HR><DIV
5697CLASS="REFSECT2"
5698><A
5699NAME="AEN5041"
5700></A
5701><H3
5702><A
5703NAME="XMLFREEDOC"
5704></A
5705>xmlFreeDoc ()</H3
5706><TABLE
5707BORDER="0"
5708BGCOLOR="#D6E8FF"
5709WIDTH="100%"
5710CELLPADDING="6"
5711><TR
5712><TD
5713><PRE
5714CLASS="PROGRAMLISTING"
5715>void        xmlFreeDoc                      (<A
5716HREF="libxml-tree.html#XMLDOCPTR"
5717>xmlDocPtr</A
5718> cur);</PRE
5719></TD
5720></TR
5721></TABLE
5722><P
5723>Free up all the structures used by a document, tree included.</P
5724><P
5725></P
5726><DIV
5727CLASS="INFORMALTABLE"
5728><A
5729NAME="AEN5048"
5730></A
5731><P
5732></P
5733><TABLE
5734BORDER="0"
5735WIDTH="100%"
5736BGCOLOR="#FFD0D0"
5737CELLSPACING="0"
5738CELLPADDING="4"
5739CLASS="CALSTABLE"
5740><TBODY
5741><TR
5742><TD
5743WIDTH="20%"
5744ALIGN="RIGHT"
5745VALIGN="TOP"
5746><TT
5747CLASS="PARAMETER"
5748><I
5749>cur</I
5750></TT
5751>&nbsp;:</TD
5752><TD
5753WIDTH="80%"
5754ALIGN="LEFT"
5755VALIGN="TOP"
5756>  pointer to the document
5757@:  </TD
5758></TR
5759></TBODY
5760></TABLE
5761><P
5762></P
5763></DIV
5764></DIV
5765><HR><DIV
5766CLASS="REFSECT2"
5767><A
5768NAME="AEN5057"
5769></A
5770><H3
5771><A
5772NAME="XMLNEWDOCPROP"
5773></A
5774>xmlNewDocProp ()</H3
5775><TABLE
5776BORDER="0"
5777BGCOLOR="#D6E8FF"
5778WIDTH="100%"
5779CELLPADDING="6"
5780><TR
5781><TD
5782><PRE
5783CLASS="PROGRAMLISTING"
5784><A
5785HREF="libxml-tree.html#XMLATTRPTR"
5786>xmlAttrPtr</A
5787>  xmlNewDocProp                   (<A
5788HREF="libxml-tree.html#XMLDOCPTR"
5789>xmlDocPtr</A
5790> doc,
5791                                             const <A
5792HREF="libxml-tree.html#XMLCHAR"
5793>xmlChar</A
5794> *name,
5795                                             const <A
5796HREF="libxml-tree.html#XMLCHAR"
5797>xmlChar</A
5798> *value);</PRE
5799></TD
5800></TR
5801></TABLE
5802><P
5803>Create a new property carried by a document.</P
5804><P
5805></P
5806><DIV
5807CLASS="INFORMALTABLE"
5808><A
5809NAME="AEN5067"
5810></A
5811><P
5812></P
5813><TABLE
5814BORDER="0"
5815WIDTH="100%"
5816BGCOLOR="#FFD0D0"
5817CELLSPACING="0"
5818CELLPADDING="4"
5819CLASS="CALSTABLE"
5820><TBODY
5821><TR
5822><TD
5823WIDTH="20%"
5824ALIGN="RIGHT"
5825VALIGN="TOP"
5826><TT
5827CLASS="PARAMETER"
5828><I
5829>doc</I
5830></TT
5831>&nbsp;:</TD
5832><TD
5833WIDTH="80%"
5834ALIGN="LEFT"
5835VALIGN="TOP"
5836>  the document</TD
5837></TR
5838><TR
5839><TD
5840WIDTH="20%"
5841ALIGN="RIGHT"
5842VALIGN="TOP"
5843><TT
5844CLASS="PARAMETER"
5845><I
5846>name</I
5847></TT
5848>&nbsp;:</TD
5849><TD
5850WIDTH="80%"
5851ALIGN="LEFT"
5852VALIGN="TOP"
5853>  the name of the attribute</TD
5854></TR
5855><TR
5856><TD
5857WIDTH="20%"
5858ALIGN="RIGHT"
5859VALIGN="TOP"
5860><TT
5861CLASS="PARAMETER"
5862><I
5863>value</I
5864></TT
5865>&nbsp;:</TD
5866><TD
5867WIDTH="80%"
5868ALIGN="LEFT"
5869VALIGN="TOP"
5870>  the value of the attribute</TD
5871></TR
5872><TR
5873><TD
5874WIDTH="20%"
5875ALIGN="RIGHT"
5876VALIGN="TOP"
5877><I
5878CLASS="EMPHASIS"
5879>Returns</I
5880> :</TD
5881><TD
5882WIDTH="80%"
5883ALIGN="LEFT"
5884VALIGN="TOP"
5885>a pointer to the attribute</TD
5886></TR
5887></TBODY
5888></TABLE
5889><P
5890></P
5891></DIV
5892></DIV
5893><HR><DIV
5894CLASS="REFSECT2"
5895><A
5896NAME="AEN5088"
5897></A
5898><H3
5899><A
5900NAME="XMLNEWPROP"
5901></A
5902>xmlNewProp ()</H3
5903><TABLE
5904BORDER="0"
5905BGCOLOR="#D6E8FF"
5906WIDTH="100%"
5907CELLPADDING="6"
5908><TR
5909><TD
5910><PRE
5911CLASS="PROGRAMLISTING"
5912><A
5913HREF="libxml-tree.html#XMLATTRPTR"
5914>xmlAttrPtr</A
5915>  xmlNewProp                      (<A
5916HREF="libxml-tree.html#XMLNODEPTR"
5917>xmlNodePtr</A
5918> node,
5919                                             const <A
5920HREF="libxml-tree.html#XMLCHAR"
5921>xmlChar</A
5922> *name,
5923                                             const <A
5924HREF="libxml-tree.html#XMLCHAR"
5925>xmlChar</A
5926> *value);</PRE
5927></TD
5928></TR
5929></TABLE
5930><P
5931>Create a new property carried by a node.</P
5932><P
5933></P
5934><DIV
5935CLASS="INFORMALTABLE"
5936><A
5937NAME="AEN5098"
5938></A
5939><P
5940></P
5941><TABLE
5942BORDER="0"
5943WIDTH="100%"
5944BGCOLOR="#FFD0D0"
5945CELLSPACING="0"
5946CELLPADDING="4"
5947CLASS="CALSTABLE"
5948><TBODY
5949><TR
5950><TD
5951WIDTH="20%"
5952ALIGN="RIGHT"
5953VALIGN="TOP"
5954><TT
5955CLASS="PARAMETER"
5956><I
5957>node</I
5958></TT
5959>&nbsp;:</TD
5960><TD
5961WIDTH="80%"
5962ALIGN="LEFT"
5963VALIGN="TOP"
5964>  the holding node</TD
5965></TR
5966><TR
5967><TD
5968WIDTH="20%"
5969ALIGN="RIGHT"
5970VALIGN="TOP"
5971><TT
5972CLASS="PARAMETER"
5973><I
5974>name</I
5975></TT
5976>&nbsp;:</TD
5977><TD
5978WIDTH="80%"
5979ALIGN="LEFT"
5980VALIGN="TOP"
5981>  the name of the attribute</TD
5982></TR
5983><TR
5984><TD
5985WIDTH="20%"
5986ALIGN="RIGHT"
5987VALIGN="TOP"
5988><TT
5989CLASS="PARAMETER"
5990><I
5991>value</I
5992></TT
5993>&nbsp;:</TD
5994><TD
5995WIDTH="80%"
5996ALIGN="LEFT"
5997VALIGN="TOP"
5998>  the value of the attribute</TD
5999></TR
6000><TR
6001><TD
6002WIDTH="20%"
6003ALIGN="RIGHT"
6004VALIGN="TOP"
6005><I
6006CLASS="EMPHASIS"
6007>Returns</I
6008> :</TD
6009><TD
6010WIDTH="80%"
6011ALIGN="LEFT"
6012VALIGN="TOP"
6013>a pointer to the attribute</TD
6014></TR
6015></TBODY
6016></TABLE
6017><P
6018></P
6019></DIV
6020></DIV
6021><HR><DIV
6022CLASS="REFSECT2"
6023><A
6024NAME="AEN5119"
6025></A
6026><H3
6027><A
6028NAME="XMLNEWNSPROP"
6029></A
6030>xmlNewNsProp ()</H3
6031><TABLE
6032BORDER="0"
6033BGCOLOR="#D6E8FF"
6034WIDTH="100%"
6035CELLPADDING="6"
6036><TR
6037><TD
6038><PRE
6039CLASS="PROGRAMLISTING"
6040><A
6041HREF="libxml-tree.html#XMLATTRPTR"
6042>xmlAttrPtr</A
6043>  xmlNewNsProp                    (<A
6044HREF="libxml-tree.html#XMLNODEPTR"
6045>xmlNodePtr</A
6046> node,
6047                                             <A
6048HREF="libxml-tree.html#XMLNSPTR"
6049>xmlNsPtr</A
6050> ns,
6051                                             const <A
6052HREF="libxml-tree.html#XMLCHAR"
6053>xmlChar</A
6054> *name,
6055                                             const <A
6056HREF="libxml-tree.html#XMLCHAR"
6057>xmlChar</A
6058> *value);</PRE
6059></TD
6060></TR
6061></TABLE
6062><P
6063>Create a new property tagged with a namespace and carried by a node.</P
6064><P
6065></P
6066><DIV
6067CLASS="INFORMALTABLE"
6068><A
6069NAME="AEN5130"
6070></A
6071><P
6072></P
6073><TABLE
6074BORDER="0"
6075WIDTH="100%"
6076BGCOLOR="#FFD0D0"
6077CELLSPACING="0"
6078CELLPADDING="4"
6079CLASS="CALSTABLE"
6080><TBODY
6081><TR
6082><TD
6083WIDTH="20%"
6084ALIGN="RIGHT"
6085VALIGN="TOP"
6086><TT
6087CLASS="PARAMETER"
6088><I
6089>node</I
6090></TT
6091>&nbsp;:</TD
6092><TD
6093WIDTH="80%"
6094ALIGN="LEFT"
6095VALIGN="TOP"
6096>  the holding node</TD
6097></TR
6098><TR
6099><TD
6100WIDTH="20%"
6101ALIGN="RIGHT"
6102VALIGN="TOP"
6103><TT
6104CLASS="PARAMETER"
6105><I
6106>ns</I
6107></TT
6108>&nbsp;:</TD
6109><TD
6110WIDTH="80%"
6111ALIGN="LEFT"
6112VALIGN="TOP"
6113>  the namespace</TD
6114></TR
6115><TR
6116><TD
6117WIDTH="20%"
6118ALIGN="RIGHT"
6119VALIGN="TOP"
6120><TT
6121CLASS="PARAMETER"
6122><I
6123>name</I
6124></TT
6125>&nbsp;:</TD
6126><TD
6127WIDTH="80%"
6128ALIGN="LEFT"
6129VALIGN="TOP"
6130>  the name of the attribute</TD
6131></TR
6132><TR
6133><TD
6134WIDTH="20%"
6135ALIGN="RIGHT"
6136VALIGN="TOP"
6137><TT
6138CLASS="PARAMETER"
6139><I
6140>value</I
6141></TT
6142>&nbsp;:</TD
6143><TD
6144WIDTH="80%"
6145ALIGN="LEFT"
6146VALIGN="TOP"
6147>  the value of the attribute</TD
6148></TR
6149><TR
6150><TD
6151WIDTH="20%"
6152ALIGN="RIGHT"
6153VALIGN="TOP"
6154><I
6155CLASS="EMPHASIS"
6156>Returns</I
6157> :</TD
6158><TD
6159WIDTH="80%"
6160ALIGN="LEFT"
6161VALIGN="TOP"
6162>a pointer to the attribute</TD
6163></TR
6164></TBODY
6165></TABLE
6166><P
6167></P
6168></DIV
6169></DIV
6170><HR><DIV
6171CLASS="REFSECT2"
6172><A
6173NAME="AEN5155"
6174></A
6175><H3
6176><A
6177NAME="XMLFREEPROPLIST"
6178></A
6179>xmlFreePropList ()</H3
6180><TABLE
6181BORDER="0"
6182BGCOLOR="#D6E8FF"
6183WIDTH="100%"
6184CELLPADDING="6"
6185><TR
6186><TD
6187><PRE
6188CLASS="PROGRAMLISTING"
6189>void        xmlFreePropList                 (<A
6190HREF="libxml-tree.html#XMLATTRPTR"
6191>xmlAttrPtr</A
6192> cur);</PRE
6193></TD
6194></TR
6195></TABLE
6196><P
6197>Free a property and all its siblings, all the children are freed too.</P
6198><P
6199></P
6200><DIV
6201CLASS="INFORMALTABLE"
6202><A
6203NAME="AEN5162"
6204></A
6205><P
6206></P
6207><TABLE
6208BORDER="0"
6209WIDTH="100%"
6210BGCOLOR="#FFD0D0"
6211CELLSPACING="0"
6212CELLPADDING="4"
6213CLASS="CALSTABLE"
6214><TBODY
6215><TR
6216><TD
6217WIDTH="20%"
6218ALIGN="RIGHT"
6219VALIGN="TOP"
6220><TT
6221CLASS="PARAMETER"
6222><I
6223>cur</I
6224></TT
6225>&nbsp;:</TD
6226><TD
6227WIDTH="80%"
6228ALIGN="LEFT"
6229VALIGN="TOP"
6230>  the first property in the list</TD
6231></TR
6232></TBODY
6233></TABLE
6234><P
6235></P
6236></DIV
6237></DIV
6238><HR><DIV
6239CLASS="REFSECT2"
6240><A
6241NAME="AEN5171"
6242></A
6243><H3
6244><A
6245NAME="XMLFREEPROP"
6246></A
6247>xmlFreeProp ()</H3
6248><TABLE
6249BORDER="0"
6250BGCOLOR="#D6E8FF"
6251WIDTH="100%"
6252CELLPADDING="6"
6253><TR
6254><TD
6255><PRE
6256CLASS="PROGRAMLISTING"
6257>void        xmlFreeProp                     (<A
6258HREF="libxml-tree.html#XMLATTRPTR"
6259>xmlAttrPtr</A
6260> cur);</PRE
6261></TD
6262></TR
6263></TABLE
6264><P
6265>Free one attribute, all the content is freed too</P
6266><P
6267></P
6268><DIV
6269CLASS="INFORMALTABLE"
6270><A
6271NAME="AEN5178"
6272></A
6273><P
6274></P
6275><TABLE
6276BORDER="0"
6277WIDTH="100%"
6278BGCOLOR="#FFD0D0"
6279CELLSPACING="0"
6280CELLPADDING="4"
6281CLASS="CALSTABLE"
6282><TBODY
6283><TR
6284><TD
6285WIDTH="20%"
6286ALIGN="RIGHT"
6287VALIGN="TOP"
6288><TT
6289CLASS="PARAMETER"
6290><I
6291>cur</I
6292></TT
6293>&nbsp;:</TD
6294><TD
6295WIDTH="80%"
6296ALIGN="LEFT"
6297VALIGN="TOP"
6298>  an attribute</TD
6299></TR
6300></TBODY
6301></TABLE
6302><P
6303></P
6304></DIV
6305></DIV
6306><HR><DIV
6307CLASS="REFSECT2"
6308><A
6309NAME="AEN5187"
6310></A
6311><H3
6312><A
6313NAME="XMLCOPYPROP"
6314></A
6315>xmlCopyProp ()</H3
6316><TABLE
6317BORDER="0"
6318BGCOLOR="#D6E8FF"
6319WIDTH="100%"
6320CELLPADDING="6"
6321><TR
6322><TD
6323><PRE
6324CLASS="PROGRAMLISTING"
6325><A
6326HREF="libxml-tree.html#XMLATTRPTR"
6327>xmlAttrPtr</A
6328>  xmlCopyProp                     (<A
6329HREF="libxml-tree.html#XMLNODEPTR"
6330>xmlNodePtr</A
6331> target,
6332                                             <A
6333HREF="libxml-tree.html#XMLATTRPTR"
6334>xmlAttrPtr</A
6335> cur);</PRE
6336></TD
6337></TR
6338></TABLE
6339><P
6340>Do a copy of the attribute.</P
6341><P
6342></P
6343><DIV
6344CLASS="INFORMALTABLE"
6345><A
6346NAME="AEN5196"
6347></A
6348><P
6349></P
6350><TABLE
6351BORDER="0"
6352WIDTH="100%"
6353BGCOLOR="#FFD0D0"
6354CELLSPACING="0"
6355CELLPADDING="4"
6356CLASS="CALSTABLE"
6357><TBODY
6358><TR
6359><TD
6360WIDTH="20%"
6361ALIGN="RIGHT"
6362VALIGN="TOP"
6363><TT
6364CLASS="PARAMETER"
6365><I
6366>target</I
6367></TT
6368>&nbsp;:</TD
6369><TD
6370WIDTH="80%"
6371ALIGN="LEFT"
6372VALIGN="TOP"
6373>  the element where the attribute will be grafted</TD
6374></TR
6375><TR
6376><TD
6377WIDTH="20%"
6378ALIGN="RIGHT"
6379VALIGN="TOP"
6380><TT
6381CLASS="PARAMETER"
6382><I
6383>cur</I
6384></TT
6385>&nbsp;:</TD
6386><TD
6387WIDTH="80%"
6388ALIGN="LEFT"
6389VALIGN="TOP"
6390>  the attribute</TD
6391></TR
6392><TR
6393><TD
6394WIDTH="20%"
6395ALIGN="RIGHT"
6396VALIGN="TOP"
6397><I
6398CLASS="EMPHASIS"
6399>Returns</I
6400> :</TD
6401><TD
6402WIDTH="80%"
6403ALIGN="LEFT"
6404VALIGN="TOP"
6405> a new xmlAttrPtr, or NULL in case of error.</TD
6406></TR
6407></TBODY
6408></TABLE
6409><P
6410></P
6411></DIV
6412></DIV
6413><HR><DIV
6414CLASS="REFSECT2"
6415><A
6416NAME="AEN5213"
6417></A
6418><H3
6419><A
6420NAME="XMLCOPYPROPLIST"
6421></A
6422>xmlCopyPropList ()</H3
6423><TABLE
6424BORDER="0"
6425BGCOLOR="#D6E8FF"
6426WIDTH="100%"
6427CELLPADDING="6"
6428><TR
6429><TD
6430><PRE
6431CLASS="PROGRAMLISTING"
6432><A
6433HREF="libxml-tree.html#XMLATTRPTR"
6434>xmlAttrPtr</A
6435>  xmlCopyPropList                 (<A
6436HREF="libxml-tree.html#XMLNODEPTR"
6437>xmlNodePtr</A
6438> target,
6439                                             <A
6440HREF="libxml-tree.html#XMLATTRPTR"
6441>xmlAttrPtr</A
6442> cur);</PRE
6443></TD
6444></TR
6445></TABLE
6446><P
6447>Do a copy of an attribute list.</P
6448><P
6449></P
6450><DIV
6451CLASS="INFORMALTABLE"
6452><A
6453NAME="AEN5222"
6454></A
6455><P
6456></P
6457><TABLE
6458BORDER="0"
6459WIDTH="100%"
6460BGCOLOR="#FFD0D0"
6461CELLSPACING="0"
6462CELLPADDING="4"
6463CLASS="CALSTABLE"
6464><TBODY
6465><TR
6466><TD
6467WIDTH="20%"
6468ALIGN="RIGHT"
6469VALIGN="TOP"
6470><TT
6471CLASS="PARAMETER"
6472><I
6473>target</I
6474></TT
6475>&nbsp;:</TD
6476><TD
6477WIDTH="80%"
6478ALIGN="LEFT"
6479VALIGN="TOP"
6480>  the element where the attributes will be grafted</TD
6481></TR
6482><TR
6483><TD
6484WIDTH="20%"
6485ALIGN="RIGHT"
6486VALIGN="TOP"
6487><TT
6488CLASS="PARAMETER"
6489><I
6490>cur</I
6491></TT
6492>&nbsp;:</TD
6493><TD
6494WIDTH="80%"
6495ALIGN="LEFT"
6496VALIGN="TOP"
6497>  the first attribute</TD
6498></TR
6499><TR
6500><TD
6501WIDTH="20%"
6502ALIGN="RIGHT"
6503VALIGN="TOP"
6504><I
6505CLASS="EMPHASIS"
6506>Returns</I
6507> :</TD
6508><TD
6509WIDTH="80%"
6510ALIGN="LEFT"
6511VALIGN="TOP"
6512> a new xmlAttrPtr, or NULL in case of error.</TD
6513></TR
6514></TBODY
6515></TABLE
6516><P
6517></P
6518></DIV
6519></DIV
6520><HR><DIV
6521CLASS="REFSECT2"
6522><A
6523NAME="AEN5239"
6524></A
6525><H3
6526><A
6527NAME="XMLCOPYDTD"
6528></A
6529>xmlCopyDtd ()</H3
6530><TABLE
6531BORDER="0"
6532BGCOLOR="#D6E8FF"
6533WIDTH="100%"
6534CELLPADDING="6"
6535><TR
6536><TD
6537><PRE
6538CLASS="PROGRAMLISTING"
6539><A
6540HREF="libxml-tree.html#XMLDTDPTR"
6541>xmlDtdPtr</A
6542>   xmlCopyDtd                      (<A
6543HREF="libxml-tree.html#XMLDTDPTR"
6544>xmlDtdPtr</A
6545> dtd);</PRE
6546></TD
6547></TR
6548></TABLE
6549><P
6550>Do a copy of the dtd.</P
6551><P
6552></P
6553><DIV
6554CLASS="INFORMALTABLE"
6555><A
6556NAME="AEN5247"
6557></A
6558><P
6559></P
6560><TABLE
6561BORDER="0"
6562WIDTH="100%"
6563BGCOLOR="#FFD0D0"
6564CELLSPACING="0"
6565CELLPADDING="4"
6566CLASS="CALSTABLE"
6567><TBODY
6568><TR
6569><TD
6570WIDTH="20%"
6571ALIGN="RIGHT"
6572VALIGN="TOP"
6573><TT
6574CLASS="PARAMETER"
6575><I
6576>dtd</I
6577></TT
6578>&nbsp;:</TD
6579><TD
6580WIDTH="80%"
6581ALIGN="LEFT"
6582VALIGN="TOP"
6583>  the dtd</TD
6584></TR
6585><TR
6586><TD
6587WIDTH="20%"
6588ALIGN="RIGHT"
6589VALIGN="TOP"
6590><I
6591CLASS="EMPHASIS"
6592>Returns</I
6593> :</TD
6594><TD
6595WIDTH="80%"
6596ALIGN="LEFT"
6597VALIGN="TOP"
6598> a new xmlDtdPtr, or NULL in case of error.</TD
6599></TR
6600></TBODY
6601></TABLE
6602><P
6603></P
6604></DIV
6605></DIV
6606><HR><DIV
6607CLASS="REFSECT2"
6608><A
6609NAME="AEN5260"
6610></A
6611><H3
6612><A
6613NAME="XMLCOPYDOC"
6614></A
6615>xmlCopyDoc ()</H3
6616><TABLE
6617BORDER="0"
6618BGCOLOR="#D6E8FF"
6619WIDTH="100%"
6620CELLPADDING="6"
6621><TR
6622><TD
6623><PRE
6624CLASS="PROGRAMLISTING"
6625><A
6626HREF="libxml-tree.html#XMLDOCPTR"
6627>xmlDocPtr</A
6628>   xmlCopyDoc                      (<A
6629HREF="libxml-tree.html#XMLDOCPTR"
6630>xmlDocPtr</A
6631> doc,
6632                                             int recursive);</PRE
6633></TD
6634></TR
6635></TABLE
6636><P
6637>Do a copy of the document info. If recursive, the content tree will
6638be copied too as well as Dtd, namespaces and entities.</P
6639><P
6640></P
6641><DIV
6642CLASS="INFORMALTABLE"
6643><A
6644NAME="AEN5268"
6645></A
6646><P
6647></P
6648><TABLE
6649BORDER="0"
6650WIDTH="100%"
6651BGCOLOR="#FFD0D0"
6652CELLSPACING="0"
6653CELLPADDING="4"
6654CLASS="CALSTABLE"
6655><TBODY
6656><TR
6657><TD
6658WIDTH="20%"
6659ALIGN="RIGHT"
6660VALIGN="TOP"
6661><TT
6662CLASS="PARAMETER"
6663><I
6664>doc</I
6665></TT
6666>&nbsp;:</TD
6667><TD
6668WIDTH="80%"
6669ALIGN="LEFT"
6670VALIGN="TOP"
6671>  the document</TD
6672></TR
6673><TR
6674><TD
6675WIDTH="20%"
6676ALIGN="RIGHT"
6677VALIGN="TOP"
6678><TT
6679CLASS="PARAMETER"
6680><I
6681>recursive</I
6682></TT
6683>&nbsp;:</TD
6684><TD
6685WIDTH="80%"
6686ALIGN="LEFT"
6687VALIGN="TOP"
6688>  if 1 do a recursive copy.</TD
6689></TR
6690><TR
6691><TD
6692WIDTH="20%"
6693ALIGN="RIGHT"
6694VALIGN="TOP"
6695><I
6696CLASS="EMPHASIS"
6697>Returns</I
6698> :</TD
6699><TD
6700WIDTH="80%"
6701ALIGN="LEFT"
6702VALIGN="TOP"
6703> a new xmlDocPtr, or NULL in case of error.</TD
6704></TR
6705></TBODY
6706></TABLE
6707><P
6708></P
6709></DIV
6710></DIV
6711><HR><DIV
6712CLASS="REFSECT2"
6713><A
6714NAME="AEN5285"
6715></A
6716><H3
6717><A
6718NAME="XMLNEWDOCNODE"
6719></A
6720>xmlNewDocNode ()</H3
6721><TABLE
6722BORDER="0"
6723BGCOLOR="#D6E8FF"
6724WIDTH="100%"
6725CELLPADDING="6"
6726><TR
6727><TD
6728><PRE
6729CLASS="PROGRAMLISTING"
6730><A
6731HREF="libxml-tree.html#XMLNODEPTR"
6732>xmlNodePtr</A
6733>  xmlNewDocNode                   (<A
6734HREF="libxml-tree.html#XMLDOCPTR"
6735>xmlDocPtr</A
6736> doc,
6737                                             <A
6738HREF="libxml-tree.html#XMLNSPTR"
6739>xmlNsPtr</A
6740> ns,
6741                                             const <A
6742HREF="libxml-tree.html#XMLCHAR"
6743>xmlChar</A
6744> *name,
6745                                             const <A
6746HREF="libxml-tree.html#XMLCHAR"
6747>xmlChar</A
6748> *content);</PRE
6749></TD
6750></TR
6751></TABLE
6752><P
6753>Creation of a new node element within a document. <TT
6754CLASS="PARAMETER"
6755><I
6756>ns</I
6757></TT
6758> and <TT
6759CLASS="PARAMETER"
6760><I
6761>content</I
6762></TT
6763>
6764are optionnal (NULL).
6765NOTE: <TT
6766CLASS="PARAMETER"
6767><I
6768>content</I
6769></TT
6770> is supposed to be a piece of XML CDATA, so it allow entities
6771references, but XML special chars need to be escaped first by using
6772<A
6773HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
6774>xmlEncodeEntitiesReentrant</A
6775>(). Use <A
6776HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
6777>xmlNewDocRawNode</A
6778>() if you don't
6779need entities support.</P
6780><P
6781></P
6782><DIV
6783CLASS="INFORMALTABLE"
6784><A
6785NAME="AEN5301"
6786></A
6787><P
6788></P
6789><TABLE
6790BORDER="0"
6791WIDTH="100%"
6792BGCOLOR="#FFD0D0"
6793CELLSPACING="0"
6794CELLPADDING="4"
6795CLASS="CALSTABLE"
6796><TBODY
6797><TR
6798><TD
6799WIDTH="20%"
6800ALIGN="RIGHT"
6801VALIGN="TOP"
6802><TT
6803CLASS="PARAMETER"
6804><I
6805>doc</I
6806></TT
6807>&nbsp;:</TD
6808><TD
6809WIDTH="80%"
6810ALIGN="LEFT"
6811VALIGN="TOP"
6812>  the document</TD
6813></TR
6814><TR
6815><TD
6816WIDTH="20%"
6817ALIGN="RIGHT"
6818VALIGN="TOP"
6819><TT
6820CLASS="PARAMETER"
6821><I
6822>ns</I
6823></TT
6824>&nbsp;:</TD
6825><TD
6826WIDTH="80%"
6827ALIGN="LEFT"
6828VALIGN="TOP"
6829>  namespace if any</TD
6830></TR
6831><TR
6832><TD
6833WIDTH="20%"
6834ALIGN="RIGHT"
6835VALIGN="TOP"
6836><TT
6837CLASS="PARAMETER"
6838><I
6839>name</I
6840></TT
6841>&nbsp;:</TD
6842><TD
6843WIDTH="80%"
6844ALIGN="LEFT"
6845VALIGN="TOP"
6846>  the node name</TD
6847></TR
6848><TR
6849><TD
6850WIDTH="20%"
6851ALIGN="RIGHT"
6852VALIGN="TOP"
6853><TT
6854CLASS="PARAMETER"
6855><I
6856>content</I
6857></TT
6858>&nbsp;:</TD
6859><TD
6860WIDTH="80%"
6861ALIGN="LEFT"
6862VALIGN="TOP"
6863>  the XML text content if any</TD
6864></TR
6865><TR
6866><TD
6867WIDTH="20%"
6868ALIGN="RIGHT"
6869VALIGN="TOP"
6870><I
6871CLASS="EMPHASIS"
6872>Returns</I
6873> :</TD
6874><TD
6875WIDTH="80%"
6876ALIGN="LEFT"
6877VALIGN="TOP"
6878>a pointer to the new node object.</TD
6879></TR
6880></TBODY
6881></TABLE
6882><P
6883></P
6884></DIV
6885></DIV
6886><HR><DIV
6887CLASS="REFSECT2"
6888><A
6889NAME="AEN5326"
6890></A
6891><H3
6892><A
6893NAME="XMLNEWDOCRAWNODE"
6894></A
6895>xmlNewDocRawNode ()</H3
6896><TABLE
6897BORDER="0"
6898BGCOLOR="#D6E8FF"
6899WIDTH="100%"
6900CELLPADDING="6"
6901><TR
6902><TD
6903><PRE
6904CLASS="PROGRAMLISTING"
6905><A
6906HREF="libxml-tree.html#XMLNODEPTR"
6907>xmlNodePtr</A
6908>  xmlNewDocRawNode                (<A
6909HREF="libxml-tree.html#XMLDOCPTR"
6910>xmlDocPtr</A
6911> doc,
6912                                             <A
6913HREF="libxml-tree.html#XMLNSPTR"
6914>xmlNsPtr</A
6915> ns,
6916                                             const <A
6917HREF="libxml-tree.html#XMLCHAR"
6918>xmlChar</A
6919> *name,
6920                                             const <A
6921HREF="libxml-tree.html#XMLCHAR"
6922>xmlChar</A
6923> *content);</PRE
6924></TD
6925></TR
6926></TABLE
6927><P
6928>Creation of a new node element within a document. <TT
6929CLASS="PARAMETER"
6930><I
6931>ns</I
6932></TT
6933> and <TT
6934CLASS="PARAMETER"
6935><I
6936>content</I
6937></TT
6938>
6939are optionnal (NULL).</P
6940><P
6941></P
6942><DIV
6943CLASS="INFORMALTABLE"
6944><A
6945NAME="AEN5339"
6946></A
6947><P
6948></P
6949><TABLE
6950BORDER="0"
6951WIDTH="100%"
6952BGCOLOR="#FFD0D0"
6953CELLSPACING="0"
6954CELLPADDING="4"
6955CLASS="CALSTABLE"
6956><TBODY
6957><TR
6958><TD
6959WIDTH="20%"
6960ALIGN="RIGHT"
6961VALIGN="TOP"
6962><TT
6963CLASS="PARAMETER"
6964><I
6965>doc</I
6966></TT
6967>&nbsp;:</TD
6968><TD
6969WIDTH="80%"
6970ALIGN="LEFT"
6971VALIGN="TOP"
6972>  the document</TD
6973></TR
6974><TR
6975><TD
6976WIDTH="20%"
6977ALIGN="RIGHT"
6978VALIGN="TOP"
6979><TT
6980CLASS="PARAMETER"
6981><I
6982>ns</I
6983></TT
6984>&nbsp;:</TD
6985><TD
6986WIDTH="80%"
6987ALIGN="LEFT"
6988VALIGN="TOP"
6989>  namespace if any</TD
6990></TR
6991><TR
6992><TD
6993WIDTH="20%"
6994ALIGN="RIGHT"
6995VALIGN="TOP"
6996><TT
6997CLASS="PARAMETER"
6998><I
6999>name</I
7000></TT
7001>&nbsp;:</TD
7002><TD
7003WIDTH="80%"
7004ALIGN="LEFT"
7005VALIGN="TOP"
7006>  the node name</TD
7007></TR
7008><TR
7009><TD
7010WIDTH="20%"
7011ALIGN="RIGHT"
7012VALIGN="TOP"
7013><TT
7014CLASS="PARAMETER"
7015><I
7016>content</I
7017></TT
7018>&nbsp;:</TD
7019><TD
7020WIDTH="80%"
7021ALIGN="LEFT"
7022VALIGN="TOP"
7023>  the text content if any</TD
7024></TR
7025><TR
7026><TD
7027WIDTH="20%"
7028ALIGN="RIGHT"
7029VALIGN="TOP"
7030><I
7031CLASS="EMPHASIS"
7032>Returns</I
7033> :</TD
7034><TD
7035WIDTH="80%"
7036ALIGN="LEFT"
7037VALIGN="TOP"
7038>a pointer to the new node object.</TD
7039></TR
7040></TBODY
7041></TABLE
7042><P
7043></P
7044></DIV
7045></DIV
7046><HR><DIV
7047CLASS="REFSECT2"
7048><A
7049NAME="AEN5364"
7050></A
7051><H3
7052><A
7053NAME="XMLNEWNODE"
7054></A
7055>xmlNewNode ()</H3
7056><TABLE
7057BORDER="0"
7058BGCOLOR="#D6E8FF"
7059WIDTH="100%"
7060CELLPADDING="6"
7061><TR
7062><TD
7063><PRE
7064CLASS="PROGRAMLISTING"
7065><A
7066HREF="libxml-tree.html#XMLNODEPTR"
7067>xmlNodePtr</A
7068>  xmlNewNode                      (<A
7069HREF="libxml-tree.html#XMLNSPTR"
7070>xmlNsPtr</A
7071> ns,
7072                                             const <A
7073HREF="libxml-tree.html#XMLCHAR"
7074>xmlChar</A
7075> *name);</PRE
7076></TD
7077></TR
7078></TABLE
7079><P
7080>Creation of a new node element. <TT
7081CLASS="PARAMETER"
7082><I
7083>ns</I
7084></TT
7085> is optionnal (NULL).</P
7086><P
7087></P
7088><DIV
7089CLASS="INFORMALTABLE"
7090><A
7091NAME="AEN5374"
7092></A
7093><P
7094></P
7095><TABLE
7096BORDER="0"
7097WIDTH="100%"
7098BGCOLOR="#FFD0D0"
7099CELLSPACING="0"
7100CELLPADDING="4"
7101CLASS="CALSTABLE"
7102><TBODY
7103><TR
7104><TD
7105WIDTH="20%"
7106ALIGN="RIGHT"
7107VALIGN="TOP"
7108><TT
7109CLASS="PARAMETER"
7110><I
7111>ns</I
7112></TT
7113>&nbsp;:</TD
7114><TD
7115WIDTH="80%"
7116ALIGN="LEFT"
7117VALIGN="TOP"
7118>  namespace if any</TD
7119></TR
7120><TR
7121><TD
7122WIDTH="20%"
7123ALIGN="RIGHT"
7124VALIGN="TOP"
7125><TT
7126CLASS="PARAMETER"
7127><I
7128>name</I
7129></TT
7130>&nbsp;:</TD
7131><TD
7132WIDTH="80%"
7133ALIGN="LEFT"
7134VALIGN="TOP"
7135>  the node name</TD
7136></TR
7137><TR
7138><TD
7139WIDTH="20%"
7140ALIGN="RIGHT"
7141VALIGN="TOP"
7142><I
7143CLASS="EMPHASIS"
7144>Returns</I
7145> :</TD
7146><TD
7147WIDTH="80%"
7148ALIGN="LEFT"
7149VALIGN="TOP"
7150>a pointer to the new node object.</TD
7151></TR
7152></TBODY
7153></TABLE
7154><P
7155></P
7156></DIV
7157></DIV
7158><HR><DIV
7159CLASS="REFSECT2"
7160><A
7161NAME="AEN5391"
7162></A
7163><H3
7164><A
7165NAME="XMLNEWCHILD"
7166></A
7167>xmlNewChild ()</H3
7168><TABLE
7169BORDER="0"
7170BGCOLOR="#D6E8FF"
7171WIDTH="100%"
7172CELLPADDING="6"
7173><TR
7174><TD
7175><PRE
7176CLASS="PROGRAMLISTING"
7177><A
7178HREF="libxml-tree.html#XMLNODEPTR"
7179>xmlNodePtr</A
7180>  xmlNewChild                     (<A
7181HREF="libxml-tree.html#XMLNODEPTR"
7182>xmlNodePtr</A
7183> parent,
7184                                             <A
7185HREF="libxml-tree.html#XMLNSPTR"
7186>xmlNsPtr</A
7187> ns,
7188                                             const <A
7189HREF="libxml-tree.html#XMLCHAR"
7190>xmlChar</A
7191> *name,
7192                                             const <A
7193HREF="libxml-tree.html#XMLCHAR"
7194>xmlChar</A
7195> *content);</PRE
7196></TD
7197></TR
7198></TABLE
7199><P
7200>Creation of a new child element, added at the end of <TT
7201CLASS="PARAMETER"
7202><I
7203>parent</I
7204></TT
7205> children list.
7206<TT
7207CLASS="PARAMETER"
7208><I
7209>ns</I
7210></TT
7211> and <TT
7212CLASS="PARAMETER"
7213><I
7214>content</I
7215></TT
7216> parameters are optionnal (NULL). If content is non NULL,
7217a child list containing the TEXTs and ENTITY_REFs node will be created.
7218NOTE: <TT
7219CLASS="PARAMETER"
7220><I
7221>content</I
7222></TT
7223> is supposed to be a piece of XML CDATA, so it allow entities
7224references, but XML special chars need to be escaped first by using
7225<A
7226HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
7227>xmlEncodeEntitiesReentrant</A
7228>(). Use <A
7229HREF="libxml-tree.html#XMLNEWTEXTCHILD"
7230>xmlNewTextChild</A
7231>() if entities
7232support is not needed.</P
7233><P
7234></P
7235><DIV
7236CLASS="INFORMALTABLE"
7237><A
7238NAME="AEN5408"
7239></A
7240><P
7241></P
7242><TABLE
7243BORDER="0"
7244WIDTH="100%"
7245BGCOLOR="#FFD0D0"
7246CELLSPACING="0"
7247CELLPADDING="4"
7248CLASS="CALSTABLE"
7249><TBODY
7250><TR
7251><TD
7252WIDTH="20%"
7253ALIGN="RIGHT"
7254VALIGN="TOP"
7255><TT
7256CLASS="PARAMETER"
7257><I
7258>parent</I
7259></TT
7260>&nbsp;:</TD
7261><TD
7262WIDTH="80%"
7263ALIGN="LEFT"
7264VALIGN="TOP"
7265>  the parent node</TD
7266></TR
7267><TR
7268><TD
7269WIDTH="20%"
7270ALIGN="RIGHT"
7271VALIGN="TOP"
7272><TT
7273CLASS="PARAMETER"
7274><I
7275>ns</I
7276></TT
7277>&nbsp;:</TD
7278><TD
7279WIDTH="80%"
7280ALIGN="LEFT"
7281VALIGN="TOP"
7282>  a namespace if any</TD
7283></TR
7284><TR
7285><TD
7286WIDTH="20%"
7287ALIGN="RIGHT"
7288VALIGN="TOP"
7289><TT
7290CLASS="PARAMETER"
7291><I
7292>name</I
7293></TT
7294>&nbsp;:</TD
7295><TD
7296WIDTH="80%"
7297ALIGN="LEFT"
7298VALIGN="TOP"
7299>  the name of the child</TD
7300></TR
7301><TR
7302><TD
7303WIDTH="20%"
7304ALIGN="RIGHT"
7305VALIGN="TOP"
7306><TT
7307CLASS="PARAMETER"
7308><I
7309>content</I
7310></TT
7311>&nbsp;:</TD
7312><TD
7313WIDTH="80%"
7314ALIGN="LEFT"
7315VALIGN="TOP"
7316>  the XML content of the child if any.</TD
7317></TR
7318><TR
7319><TD
7320WIDTH="20%"
7321ALIGN="RIGHT"
7322VALIGN="TOP"
7323><I
7324CLASS="EMPHASIS"
7325>Returns</I
7326> :</TD
7327><TD
7328WIDTH="80%"
7329ALIGN="LEFT"
7330VALIGN="TOP"
7331>a pointer to the new node object.</TD
7332></TR
7333></TBODY
7334></TABLE
7335><P
7336></P
7337></DIV
7338></DIV
7339><HR><DIV
7340CLASS="REFSECT2"
7341><A
7342NAME="AEN5433"
7343></A
7344><H3
7345><A
7346NAME="XMLNEWTEXTCHILD"
7347></A
7348>xmlNewTextChild ()</H3
7349><TABLE
7350BORDER="0"
7351BGCOLOR="#D6E8FF"
7352WIDTH="100%"
7353CELLPADDING="6"
7354><TR
7355><TD
7356><PRE
7357CLASS="PROGRAMLISTING"
7358><A
7359HREF="libxml-tree.html#XMLNODEPTR"
7360>xmlNodePtr</A
7361>  xmlNewTextChild                 (<A
7362HREF="libxml-tree.html#XMLNODEPTR"
7363>xmlNodePtr</A
7364> parent,
7365                                             <A
7366HREF="libxml-tree.html#XMLNSPTR"
7367>xmlNsPtr</A
7368> ns,
7369                                             const <A
7370HREF="libxml-tree.html#XMLCHAR"
7371>xmlChar</A
7372> *name,
7373                                             const <A
7374HREF="libxml-tree.html#XMLCHAR"
7375>xmlChar</A
7376> *content);</PRE
7377></TD
7378></TR
7379></TABLE
7380><P
7381>Creation of a new child element, added at the end of <TT
7382CLASS="PARAMETER"
7383><I
7384>parent</I
7385></TT
7386> children list.
7387<TT
7388CLASS="PARAMETER"
7389><I
7390>ns</I
7391></TT
7392> and <TT
7393CLASS="PARAMETER"
7394><I
7395>content</I
7396></TT
7397> parameters are optionnal (NULL). If content is non NULL,
7398a child TEXT node will be created containing the string content.</P
7399><P
7400></P
7401><DIV
7402CLASS="INFORMALTABLE"
7403><A
7404NAME="AEN5447"
7405></A
7406><P
7407></P
7408><TABLE
7409BORDER="0"
7410WIDTH="100%"
7411BGCOLOR="#FFD0D0"
7412CELLSPACING="0"
7413CELLPADDING="4"
7414CLASS="CALSTABLE"
7415><TBODY
7416><TR
7417><TD
7418WIDTH="20%"
7419ALIGN="RIGHT"
7420VALIGN="TOP"
7421><TT
7422CLASS="PARAMETER"
7423><I
7424>parent</I
7425></TT
7426>&nbsp;:</TD
7427><TD
7428WIDTH="80%"
7429ALIGN="LEFT"
7430VALIGN="TOP"
7431>  the parent node</TD
7432></TR
7433><TR
7434><TD
7435WIDTH="20%"
7436ALIGN="RIGHT"
7437VALIGN="TOP"
7438><TT
7439CLASS="PARAMETER"
7440><I
7441>ns</I
7442></TT
7443>&nbsp;:</TD
7444><TD
7445WIDTH="80%"
7446ALIGN="LEFT"
7447VALIGN="TOP"
7448>  a namespace if any</TD
7449></TR
7450><TR
7451><TD
7452WIDTH="20%"
7453ALIGN="RIGHT"
7454VALIGN="TOP"
7455><TT
7456CLASS="PARAMETER"
7457><I
7458>name</I
7459></TT
7460>&nbsp;:</TD
7461><TD
7462WIDTH="80%"
7463ALIGN="LEFT"
7464VALIGN="TOP"
7465>  the name of the child</TD
7466></TR
7467><TR
7468><TD
7469WIDTH="20%"
7470ALIGN="RIGHT"
7471VALIGN="TOP"
7472><TT
7473CLASS="PARAMETER"
7474><I
7475>content</I
7476></TT
7477>&nbsp;:</TD
7478><TD
7479WIDTH="80%"
7480ALIGN="LEFT"
7481VALIGN="TOP"
7482>  the text content of the child if any.</TD
7483></TR
7484><TR
7485><TD
7486WIDTH="20%"
7487ALIGN="RIGHT"
7488VALIGN="TOP"
7489><I
7490CLASS="EMPHASIS"
7491>Returns</I
7492> :</TD
7493><TD
7494WIDTH="80%"
7495ALIGN="LEFT"
7496VALIGN="TOP"
7497>a pointer to the new node object.</TD
7498></TR
7499></TBODY
7500></TABLE
7501><P
7502></P
7503></DIV
7504></DIV
7505><HR><DIV
7506CLASS="REFSECT2"
7507><A
7508NAME="AEN5472"
7509></A
7510><H3
7511><A
7512NAME="XMLNEWDOCTEXT"
7513></A
7514>xmlNewDocText ()</H3
7515><TABLE
7516BORDER="0"
7517BGCOLOR="#D6E8FF"
7518WIDTH="100%"
7519CELLPADDING="6"
7520><TR
7521><TD
7522><PRE
7523CLASS="PROGRAMLISTING"
7524><A
7525HREF="libxml-tree.html#XMLNODEPTR"
7526>xmlNodePtr</A
7527>  xmlNewDocText                   (<A
7528HREF="libxml-tree.html#XMLDOCPTR"
7529>xmlDocPtr</A
7530> doc,
7531                                             const <A
7532HREF="libxml-tree.html#XMLCHAR"
7533>xmlChar</A
7534> *content);</PRE
7535></TD
7536></TR
7537></TABLE
7538><P
7539>Creation of a new text node within a document.</P
7540><P
7541></P
7542><DIV
7543CLASS="INFORMALTABLE"
7544><A
7545NAME="AEN5481"
7546></A
7547><P
7548></P
7549><TABLE
7550BORDER="0"
7551WIDTH="100%"
7552BGCOLOR="#FFD0D0"
7553CELLSPACING="0"
7554CELLPADDING="4"
7555CLASS="CALSTABLE"
7556><TBODY
7557><TR
7558><TD
7559WIDTH="20%"
7560ALIGN="RIGHT"
7561VALIGN="TOP"
7562><TT
7563CLASS="PARAMETER"
7564><I
7565>doc</I
7566></TT
7567>&nbsp;:</TD
7568><TD
7569WIDTH="80%"
7570ALIGN="LEFT"
7571VALIGN="TOP"
7572> the document</TD
7573></TR
7574><TR
7575><TD
7576WIDTH="20%"
7577ALIGN="RIGHT"
7578VALIGN="TOP"
7579><TT
7580CLASS="PARAMETER"
7581><I
7582>content</I
7583></TT
7584>&nbsp;:</TD
7585><TD
7586WIDTH="80%"
7587ALIGN="LEFT"
7588VALIGN="TOP"
7589>  the text content</TD
7590></TR
7591><TR
7592><TD
7593WIDTH="20%"
7594ALIGN="RIGHT"
7595VALIGN="TOP"
7596><I
7597CLASS="EMPHASIS"
7598>Returns</I
7599> :</TD
7600><TD
7601WIDTH="80%"
7602ALIGN="LEFT"
7603VALIGN="TOP"
7604>a pointer to the new node object.</TD
7605></TR
7606></TBODY
7607></TABLE
7608><P
7609></P
7610></DIV
7611></DIV
7612><HR><DIV
7613CLASS="REFSECT2"
7614><A
7615NAME="AEN5498"
7616></A
7617><H3
7618><A
7619NAME="XMLNEWTEXT"
7620></A
7621>xmlNewText ()</H3
7622><TABLE
7623BORDER="0"
7624BGCOLOR="#D6E8FF"
7625WIDTH="100%"
7626CELLPADDING="6"
7627><TR
7628><TD
7629><PRE
7630CLASS="PROGRAMLISTING"
7631><A
7632HREF="libxml-tree.html#XMLNODEPTR"
7633>xmlNodePtr</A
7634>  xmlNewText                      (const <A
7635HREF="libxml-tree.html#XMLCHAR"
7636>xmlChar</A
7637> *content);</PRE
7638></TD
7639></TR
7640></TABLE
7641><P
7642>Creation of a new text node.</P
7643><P
7644></P
7645><DIV
7646CLASS="INFORMALTABLE"
7647><A
7648NAME="AEN5506"
7649></A
7650><P
7651></P
7652><TABLE
7653BORDER="0"
7654WIDTH="100%"
7655BGCOLOR="#FFD0D0"
7656CELLSPACING="0"
7657CELLPADDING="4"
7658CLASS="CALSTABLE"
7659><TBODY
7660><TR
7661><TD
7662WIDTH="20%"
7663ALIGN="RIGHT"
7664VALIGN="TOP"
7665><TT
7666CLASS="PARAMETER"
7667><I
7668>content</I
7669></TT
7670>&nbsp;:</TD
7671><TD
7672WIDTH="80%"
7673ALIGN="LEFT"
7674VALIGN="TOP"
7675>  the text content</TD
7676></TR
7677><TR
7678><TD
7679WIDTH="20%"
7680ALIGN="RIGHT"
7681VALIGN="TOP"
7682><I
7683CLASS="EMPHASIS"
7684>Returns</I
7685> :</TD
7686><TD
7687WIDTH="80%"
7688ALIGN="LEFT"
7689VALIGN="TOP"
7690>a pointer to the new node object.</TD
7691></TR
7692></TBODY
7693></TABLE
7694><P
7695></P
7696></DIV
7697></DIV
7698><HR><DIV
7699CLASS="REFSECT2"
7700><A
7701NAME="AEN5519"
7702></A
7703><H3
7704><A
7705NAME="XMLNEWPI"
7706></A
7707>xmlNewPI ()</H3
7708><TABLE
7709BORDER="0"
7710BGCOLOR="#D6E8FF"
7711WIDTH="100%"
7712CELLPADDING="6"
7713><TR
7714><TD
7715><PRE
7716CLASS="PROGRAMLISTING"
7717><A
7718HREF="libxml-tree.html#XMLNODEPTR"
7719>xmlNodePtr</A
7720>  xmlNewPI                        (const <A
7721HREF="libxml-tree.html#XMLCHAR"
7722>xmlChar</A
7723> *name,
7724                                             const <A
7725HREF="libxml-tree.html#XMLCHAR"
7726>xmlChar</A
7727> *content);</PRE
7728></TD
7729></TR
7730></TABLE
7731><P
7732>Creation of a processing instruction element.</P
7733><P
7734></P
7735><DIV
7736CLASS="INFORMALTABLE"
7737><A
7738NAME="AEN5528"
7739></A
7740><P
7741></P
7742><TABLE
7743BORDER="0"
7744WIDTH="100%"
7745BGCOLOR="#FFD0D0"
7746CELLSPACING="0"
7747CELLPADDING="4"
7748CLASS="CALSTABLE"
7749><TBODY
7750><TR
7751><TD
7752WIDTH="20%"
7753ALIGN="RIGHT"
7754VALIGN="TOP"
7755><TT
7756CLASS="PARAMETER"
7757><I
7758>name</I
7759></TT
7760>&nbsp;:</TD
7761><TD
7762WIDTH="80%"
7763ALIGN="LEFT"
7764VALIGN="TOP"
7765>  the processing instruction name</TD
7766></TR
7767><TR
7768><TD
7769WIDTH="20%"
7770ALIGN="RIGHT"
7771VALIGN="TOP"
7772><TT
7773CLASS="PARAMETER"
7774><I
7775>content</I
7776></TT
7777>&nbsp;:</TD
7778><TD
7779WIDTH="80%"
7780ALIGN="LEFT"
7781VALIGN="TOP"
7782>  the PI content</TD
7783></TR
7784><TR
7785><TD
7786WIDTH="20%"
7787ALIGN="RIGHT"
7788VALIGN="TOP"
7789><I
7790CLASS="EMPHASIS"
7791>Returns</I
7792> :</TD
7793><TD
7794WIDTH="80%"
7795ALIGN="LEFT"
7796VALIGN="TOP"
7797>a pointer to the new node object.</TD
7798></TR
7799></TBODY
7800></TABLE
7801><P
7802></P
7803></DIV
7804></DIV
7805><HR><DIV
7806CLASS="REFSECT2"
7807><A
7808NAME="AEN5545"
7809></A
7810><H3
7811><A
7812NAME="XMLNEWDOCTEXTLEN"
7813></A
7814>xmlNewDocTextLen ()</H3
7815><TABLE
7816BORDER="0"
7817BGCOLOR="#D6E8FF"
7818WIDTH="100%"
7819CELLPADDING="6"
7820><TR
7821><TD
7822><PRE
7823CLASS="PROGRAMLISTING"
7824><A
7825HREF="libxml-tree.html#XMLNODEPTR"
7826>xmlNodePtr</A
7827>  xmlNewDocTextLen                (<A
7828HREF="libxml-tree.html#XMLDOCPTR"
7829>xmlDocPtr</A
7830> doc,
7831                                             const <A
7832HREF="libxml-tree.html#XMLCHAR"
7833>xmlChar</A
7834> *content,
7835                                             int len);</PRE
7836></TD
7837></TR
7838></TABLE
7839><P
7840>Creation of a new text node with an extra content lenght parameter. The
7841text node pertain to a given document.</P
7842><P
7843></P
7844><DIV
7845CLASS="INFORMALTABLE"
7846><A
7847NAME="AEN5554"
7848></A
7849><P
7850></P
7851><TABLE
7852BORDER="0"
7853WIDTH="100%"
7854BGCOLOR="#FFD0D0"
7855CELLSPACING="0"
7856CELLPADDING="4"
7857CLASS="CALSTABLE"
7858><TBODY
7859><TR
7860><TD
7861WIDTH="20%"
7862ALIGN="RIGHT"
7863VALIGN="TOP"
7864><TT
7865CLASS="PARAMETER"
7866><I
7867>doc</I
7868></TT
7869>&nbsp;:</TD
7870><TD
7871WIDTH="80%"
7872ALIGN="LEFT"
7873VALIGN="TOP"
7874> the document</TD
7875></TR
7876><TR
7877><TD
7878WIDTH="20%"
7879ALIGN="RIGHT"
7880VALIGN="TOP"
7881><TT
7882CLASS="PARAMETER"
7883><I
7884>content</I
7885></TT
7886>&nbsp;:</TD
7887><TD
7888WIDTH="80%"
7889ALIGN="LEFT"
7890VALIGN="TOP"
7891>  the text content</TD
7892></TR
7893><TR
7894><TD
7895WIDTH="20%"
7896ALIGN="RIGHT"
7897VALIGN="TOP"
7898><TT
7899CLASS="PARAMETER"
7900><I
7901>len</I
7902></TT
7903>&nbsp;:</TD
7904><TD
7905WIDTH="80%"
7906ALIGN="LEFT"
7907VALIGN="TOP"
7908>  the text len.</TD
7909></TR
7910><TR
7911><TD
7912WIDTH="20%"
7913ALIGN="RIGHT"
7914VALIGN="TOP"
7915><I
7916CLASS="EMPHASIS"
7917>Returns</I
7918> :</TD
7919><TD
7920WIDTH="80%"
7921ALIGN="LEFT"
7922VALIGN="TOP"
7923>a pointer to the new node object.</TD
7924></TR
7925></TBODY
7926></TABLE
7927><P
7928></P
7929></DIV
7930></DIV
7931><HR><DIV
7932CLASS="REFSECT2"
7933><A
7934NAME="AEN5575"
7935></A
7936><H3
7937><A
7938NAME="XMLNEWTEXTLEN"
7939></A
7940>xmlNewTextLen ()</H3
7941><TABLE
7942BORDER="0"
7943BGCOLOR="#D6E8FF"
7944WIDTH="100%"
7945CELLPADDING="6"
7946><TR
7947><TD
7948><PRE
7949CLASS="PROGRAMLISTING"
7950><A
7951HREF="libxml-tree.html#XMLNODEPTR"
7952>xmlNodePtr</A
7953>  xmlNewTextLen                   (const <A
7954HREF="libxml-tree.html#XMLCHAR"
7955>xmlChar</A
7956> *content,
7957                                             int len);</PRE
7958></TD
7959></TR
7960></TABLE
7961><P
7962>Creation of a new text node with an extra parameter for the content's lenght</P
7963><P
7964></P
7965><DIV
7966CLASS="INFORMALTABLE"
7967><A
7968NAME="AEN5583"
7969></A
7970><P
7971></P
7972><TABLE
7973BORDER="0"
7974WIDTH="100%"
7975BGCOLOR="#FFD0D0"
7976CELLSPACING="0"
7977CELLPADDING="4"
7978CLASS="CALSTABLE"
7979><TBODY
7980><TR
7981><TD
7982WIDTH="20%"
7983ALIGN="RIGHT"
7984VALIGN="TOP"
7985><TT
7986CLASS="PARAMETER"
7987><I
7988>content</I
7989></TT
7990>&nbsp;:</TD
7991><TD
7992WIDTH="80%"
7993ALIGN="LEFT"
7994VALIGN="TOP"
7995>  the text content</TD
7996></TR
7997><TR
7998><TD
7999WIDTH="20%"
8000ALIGN="RIGHT"
8001VALIGN="TOP"
8002><TT
8003CLASS="PARAMETER"
8004><I
8005>len</I
8006></TT
8007>&nbsp;:</TD
8008><TD
8009WIDTH="80%"
8010ALIGN="LEFT"
8011VALIGN="TOP"
8012>  the text len.</TD
8013></TR
8014><TR
8015><TD
8016WIDTH="20%"
8017ALIGN="RIGHT"
8018VALIGN="TOP"
8019><I
8020CLASS="EMPHASIS"
8021>Returns</I
8022> :</TD
8023><TD
8024WIDTH="80%"
8025ALIGN="LEFT"
8026VALIGN="TOP"
8027>a pointer to the new node object.</TD
8028></TR
8029></TBODY
8030></TABLE
8031><P
8032></P
8033></DIV
8034></DIV
8035><HR><DIV
8036CLASS="REFSECT2"
8037><A
8038NAME="AEN5600"
8039></A
8040><H3
8041><A
8042NAME="XMLNEWDOCCOMMENT"
8043></A
8044>xmlNewDocComment ()</H3
8045><TABLE
8046BORDER="0"
8047BGCOLOR="#D6E8FF"
8048WIDTH="100%"
8049CELLPADDING="6"
8050><TR
8051><TD
8052><PRE
8053CLASS="PROGRAMLISTING"
8054><A
8055HREF="libxml-tree.html#XMLNODEPTR"
8056>xmlNodePtr</A
8057>  xmlNewDocComment                (<A
8058HREF="libxml-tree.html#XMLDOCPTR"
8059>xmlDocPtr</A
8060> doc,
8061                                             const <A
8062HREF="libxml-tree.html#XMLCHAR"
8063>xmlChar</A
8064> *content);</PRE
8065></TD
8066></TR
8067></TABLE
8068><P
8069>Creation of a new node containing a commentwithin a document.</P
8070><P
8071></P
8072><DIV
8073CLASS="INFORMALTABLE"
8074><A
8075NAME="AEN5609"
8076></A
8077><P
8078></P
8079><TABLE
8080BORDER="0"
8081WIDTH="100%"
8082BGCOLOR="#FFD0D0"
8083CELLSPACING="0"
8084CELLPADDING="4"
8085CLASS="CALSTABLE"
8086><TBODY
8087><TR
8088><TD
8089WIDTH="20%"
8090ALIGN="RIGHT"
8091VALIGN="TOP"
8092><TT
8093CLASS="PARAMETER"
8094><I
8095>doc</I
8096></TT
8097>&nbsp;:</TD
8098><TD
8099WIDTH="80%"
8100ALIGN="LEFT"
8101VALIGN="TOP"
8102>  the document</TD
8103></TR
8104><TR
8105><TD
8106WIDTH="20%"
8107ALIGN="RIGHT"
8108VALIGN="TOP"
8109><TT
8110CLASS="PARAMETER"
8111><I
8112>content</I
8113></TT
8114>&nbsp;:</TD
8115><TD
8116WIDTH="80%"
8117ALIGN="LEFT"
8118VALIGN="TOP"
8119>  the comment content</TD
8120></TR
8121><TR
8122><TD
8123WIDTH="20%"
8124ALIGN="RIGHT"
8125VALIGN="TOP"
8126><I
8127CLASS="EMPHASIS"
8128>Returns</I
8129> :</TD
8130><TD
8131WIDTH="80%"
8132ALIGN="LEFT"
8133VALIGN="TOP"
8134>a pointer to the new node object.</TD
8135></TR
8136></TBODY
8137></TABLE
8138><P
8139></P
8140></DIV
8141></DIV
8142><HR><DIV
8143CLASS="REFSECT2"
8144><A
8145NAME="AEN5626"
8146></A
8147><H3
8148><A
8149NAME="XMLNEWCOMMENT"
8150></A
8151>xmlNewComment ()</H3
8152><TABLE
8153BORDER="0"
8154BGCOLOR="#D6E8FF"
8155WIDTH="100%"
8156CELLPADDING="6"
8157><TR
8158><TD
8159><PRE
8160CLASS="PROGRAMLISTING"
8161><A
8162HREF="libxml-tree.html#XMLNODEPTR"
8163>xmlNodePtr</A
8164>  xmlNewComment                   (const <A
8165HREF="libxml-tree.html#XMLCHAR"
8166>xmlChar</A
8167> *content);</PRE
8168></TD
8169></TR
8170></TABLE
8171><P
8172>Creation of a new node containing a comment.</P
8173><P
8174></P
8175><DIV
8176CLASS="INFORMALTABLE"
8177><A
8178NAME="AEN5634"
8179></A
8180><P
8181></P
8182><TABLE
8183BORDER="0"
8184WIDTH="100%"
8185BGCOLOR="#FFD0D0"
8186CELLSPACING="0"
8187CELLPADDING="4"
8188CLASS="CALSTABLE"
8189><TBODY
8190><TR
8191><TD
8192WIDTH="20%"
8193ALIGN="RIGHT"
8194VALIGN="TOP"
8195><TT
8196CLASS="PARAMETER"
8197><I
8198>content</I
8199></TT
8200>&nbsp;:</TD
8201><TD
8202WIDTH="80%"
8203ALIGN="LEFT"
8204VALIGN="TOP"
8205>  the comment content</TD
8206></TR
8207><TR
8208><TD
8209WIDTH="20%"
8210ALIGN="RIGHT"
8211VALIGN="TOP"
8212><I
8213CLASS="EMPHASIS"
8214>Returns</I
8215> :</TD
8216><TD
8217WIDTH="80%"
8218ALIGN="LEFT"
8219VALIGN="TOP"
8220>a pointer to the new node object.</TD
8221></TR
8222></TBODY
8223></TABLE
8224><P
8225></P
8226></DIV
8227></DIV
8228><HR><DIV
8229CLASS="REFSECT2"
8230><A
8231NAME="AEN5647"
8232></A
8233><H3
8234><A
8235NAME="XMLNEWCDATABLOCK"
8236></A
8237>xmlNewCDataBlock ()</H3
8238><TABLE
8239BORDER="0"
8240BGCOLOR="#D6E8FF"
8241WIDTH="100%"
8242CELLPADDING="6"
8243><TR
8244><TD
8245><PRE
8246CLASS="PROGRAMLISTING"
8247><A
8248HREF="libxml-tree.html#XMLNODEPTR"
8249>xmlNodePtr</A
8250>  xmlNewCDataBlock                (<A
8251HREF="libxml-tree.html#XMLDOCPTR"
8252>xmlDocPtr</A
8253> doc,
8254                                             const <A
8255HREF="libxml-tree.html#XMLCHAR"
8256>xmlChar</A
8257> *content,
8258                                             int len);</PRE
8259></TD
8260></TR
8261></TABLE
8262><P
8263>Creation of a new node containing a CData block.</P
8264><P
8265></P
8266><DIV
8267CLASS="INFORMALTABLE"
8268><A
8269NAME="AEN5656"
8270></A
8271><P
8272></P
8273><TABLE
8274BORDER="0"
8275WIDTH="100%"
8276BGCOLOR="#FFD0D0"
8277CELLSPACING="0"
8278CELLPADDING="4"
8279CLASS="CALSTABLE"
8280><TBODY
8281><TR
8282><TD
8283WIDTH="20%"
8284ALIGN="RIGHT"
8285VALIGN="TOP"
8286><TT
8287CLASS="PARAMETER"
8288><I
8289>doc</I
8290></TT
8291>&nbsp;:</TD
8292><TD
8293WIDTH="80%"
8294ALIGN="LEFT"
8295VALIGN="TOP"
8296>  the document</TD
8297></TR
8298><TR
8299><TD
8300WIDTH="20%"
8301ALIGN="RIGHT"
8302VALIGN="TOP"
8303><TT
8304CLASS="PARAMETER"
8305><I
8306>content</I
8307></TT
8308>&nbsp;:</TD
8309><TD
8310WIDTH="80%"
8311ALIGN="LEFT"
8312VALIGN="TOP"
8313>  the CData block content content</TD
8314></TR
8315><TR
8316><TD
8317WIDTH="20%"
8318ALIGN="RIGHT"
8319VALIGN="TOP"
8320><TT
8321CLASS="PARAMETER"
8322><I
8323>len</I
8324></TT
8325>&nbsp;:</TD
8326><TD
8327WIDTH="80%"
8328ALIGN="LEFT"
8329VALIGN="TOP"
8330>  the length of the block</TD
8331></TR
8332><TR
8333><TD
8334WIDTH="20%"
8335ALIGN="RIGHT"
8336VALIGN="TOP"
8337><I
8338CLASS="EMPHASIS"
8339>Returns</I
8340> :</TD
8341><TD
8342WIDTH="80%"
8343ALIGN="LEFT"
8344VALIGN="TOP"
8345>a pointer to the new node object.</TD
8346></TR
8347></TBODY
8348></TABLE
8349><P
8350></P
8351></DIV
8352></DIV
8353><HR><DIV
8354CLASS="REFSECT2"
8355><A
8356NAME="AEN5677"
8357></A
8358><H3
8359><A
8360NAME="XMLNEWCHARREF"
8361></A
8362>xmlNewCharRef ()</H3
8363><TABLE
8364BORDER="0"
8365BGCOLOR="#D6E8FF"
8366WIDTH="100%"
8367CELLPADDING="6"
8368><TR
8369><TD
8370><PRE
8371CLASS="PROGRAMLISTING"
8372><A
8373HREF="libxml-tree.html#XMLNODEPTR"
8374>xmlNodePtr</A
8375>  xmlNewCharRef                   (<A
8376HREF="libxml-tree.html#XMLDOCPTR"
8377>xmlDocPtr</A
8378> doc,
8379                                             const <A
8380HREF="libxml-tree.html#XMLCHAR"
8381>xmlChar</A
8382> *name);</PRE
8383></TD
8384></TR
8385></TABLE
8386><P
8387>Creation of a new character reference node.</P
8388><P
8389></P
8390><DIV
8391CLASS="INFORMALTABLE"
8392><A
8393NAME="AEN5686"
8394></A
8395><P
8396></P
8397><TABLE
8398BORDER="0"
8399WIDTH="100%"
8400BGCOLOR="#FFD0D0"
8401CELLSPACING="0"
8402CELLPADDING="4"
8403CLASS="CALSTABLE"
8404><TBODY
8405><TR
8406><TD
8407WIDTH="20%"
8408ALIGN="RIGHT"
8409VALIGN="TOP"
8410><TT
8411CLASS="PARAMETER"
8412><I
8413>doc</I
8414></TT
8415>&nbsp;:</TD
8416><TD
8417WIDTH="80%"
8418ALIGN="LEFT"
8419VALIGN="TOP"
8420> the document</TD
8421></TR
8422><TR
8423><TD
8424WIDTH="20%"
8425ALIGN="RIGHT"
8426VALIGN="TOP"
8427><TT
8428CLASS="PARAMETER"
8429><I
8430>name</I
8431></TT
8432>&nbsp;:</TD
8433><TD
8434WIDTH="80%"
8435ALIGN="LEFT"
8436VALIGN="TOP"
8437>  the char ref string, starting with # or "&amp;# ... ;"</TD
8438></TR
8439><TR
8440><TD
8441WIDTH="20%"
8442ALIGN="RIGHT"
8443VALIGN="TOP"
8444><I
8445CLASS="EMPHASIS"
8446>Returns</I
8447> :</TD
8448><TD
8449WIDTH="80%"
8450ALIGN="LEFT"
8451VALIGN="TOP"
8452>a pointer to the new node object.</TD
8453></TR
8454></TBODY
8455></TABLE
8456><P
8457></P
8458></DIV
8459></DIV
8460><HR><DIV
8461CLASS="REFSECT2"
8462><A
8463NAME="AEN5703"
8464></A
8465><H3
8466><A
8467NAME="XMLNEWREFERENCE"
8468></A
8469>xmlNewReference ()</H3
8470><TABLE
8471BORDER="0"
8472BGCOLOR="#D6E8FF"
8473WIDTH="100%"
8474CELLPADDING="6"
8475><TR
8476><TD
8477><PRE
8478CLASS="PROGRAMLISTING"
8479><A
8480HREF="libxml-tree.html#XMLNODEPTR"
8481>xmlNodePtr</A
8482>  xmlNewReference                 (<A
8483HREF="libxml-tree.html#XMLDOCPTR"
8484>xmlDocPtr</A
8485> doc,
8486                                             const <A
8487HREF="libxml-tree.html#XMLCHAR"
8488>xmlChar</A
8489> *name);</PRE
8490></TD
8491></TR
8492></TABLE
8493><P
8494>Creation of a new reference node.</P
8495><P
8496></P
8497><DIV
8498CLASS="INFORMALTABLE"
8499><A
8500NAME="AEN5712"
8501></A
8502><P
8503></P
8504><TABLE
8505BORDER="0"
8506WIDTH="100%"
8507BGCOLOR="#FFD0D0"
8508CELLSPACING="0"
8509CELLPADDING="4"
8510CLASS="CALSTABLE"
8511><TBODY
8512><TR
8513><TD
8514WIDTH="20%"
8515ALIGN="RIGHT"
8516VALIGN="TOP"
8517><TT
8518CLASS="PARAMETER"
8519><I
8520>doc</I
8521></TT
8522>&nbsp;:</TD
8523><TD
8524WIDTH="80%"
8525ALIGN="LEFT"
8526VALIGN="TOP"
8527> the document</TD
8528></TR
8529><TR
8530><TD
8531WIDTH="20%"
8532ALIGN="RIGHT"
8533VALIGN="TOP"
8534><TT
8535CLASS="PARAMETER"
8536><I
8537>name</I
8538></TT
8539>&nbsp;:</TD
8540><TD
8541WIDTH="80%"
8542ALIGN="LEFT"
8543VALIGN="TOP"
8544>  the reference name, or the reference string with &amp; and ;</TD
8545></TR
8546><TR
8547><TD
8548WIDTH="20%"
8549ALIGN="RIGHT"
8550VALIGN="TOP"
8551><I
8552CLASS="EMPHASIS"
8553>Returns</I
8554> :</TD
8555><TD
8556WIDTH="80%"
8557ALIGN="LEFT"
8558VALIGN="TOP"
8559>a pointer to the new node object.</TD
8560></TR
8561></TBODY
8562></TABLE
8563><P
8564></P
8565></DIV
8566></DIV
8567><HR><DIV
8568CLASS="REFSECT2"
8569><A
8570NAME="AEN5729"
8571></A
8572><H3
8573><A
8574NAME="XMLCOPYNODE"
8575></A
8576>xmlCopyNode ()</H3
8577><TABLE
8578BORDER="0"
8579BGCOLOR="#D6E8FF"
8580WIDTH="100%"
8581CELLPADDING="6"
8582><TR
8583><TD
8584><PRE
8585CLASS="PROGRAMLISTING"
8586><A
8587HREF="libxml-tree.html#XMLNODEPTR"
8588>xmlNodePtr</A
8589>  xmlCopyNode                     (<A
8590HREF="libxml-tree.html#XMLNODEPTR"
8591>xmlNodePtr</A
8592> node,
8593                                             int recursive);</PRE
8594></TD
8595></TR
8596></TABLE
8597><P
8598>Do a copy of the node.</P
8599><P
8600></P
8601><DIV
8602CLASS="INFORMALTABLE"
8603><A
8604NAME="AEN5737"
8605></A
8606><P
8607></P
8608><TABLE
8609BORDER="0"
8610WIDTH="100%"
8611BGCOLOR="#FFD0D0"
8612CELLSPACING="0"
8613CELLPADDING="4"
8614CLASS="CALSTABLE"
8615><TBODY
8616><TR
8617><TD
8618WIDTH="20%"
8619ALIGN="RIGHT"
8620VALIGN="TOP"
8621><TT
8622CLASS="PARAMETER"
8623><I
8624>node</I
8625></TT
8626>&nbsp;:</TD
8627><TD
8628WIDTH="80%"
8629ALIGN="LEFT"
8630VALIGN="TOP"
8631>  the node</TD
8632></TR
8633><TR
8634><TD
8635WIDTH="20%"
8636ALIGN="RIGHT"
8637VALIGN="TOP"
8638><TT
8639CLASS="PARAMETER"
8640><I
8641>recursive</I
8642></TT
8643>&nbsp;:</TD
8644><TD
8645WIDTH="80%"
8646ALIGN="LEFT"
8647VALIGN="TOP"
8648>  if 1 do a recursive copy.</TD
8649></TR
8650><TR
8651><TD
8652WIDTH="20%"
8653ALIGN="RIGHT"
8654VALIGN="TOP"
8655><I
8656CLASS="EMPHASIS"
8657>Returns</I
8658> :</TD
8659><TD
8660WIDTH="80%"
8661ALIGN="LEFT"
8662VALIGN="TOP"
8663> a new xmlNodePtr, or NULL in case of error.</TD
8664></TR
8665></TBODY
8666></TABLE
8667><P
8668></P
8669></DIV
8670></DIV
8671><HR><DIV
8672CLASS="REFSECT2"
8673><A
8674NAME="AEN5754"
8675></A
8676><H3
8677><A
8678NAME="XMLDOCCOPYNODE"
8679></A
8680>xmlDocCopyNode ()</H3
8681><TABLE
8682BORDER="0"
8683BGCOLOR="#D6E8FF"
8684WIDTH="100%"
8685CELLPADDING="6"
8686><TR
8687><TD
8688><PRE
8689CLASS="PROGRAMLISTING"
8690><A
8691HREF="libxml-tree.html#XMLNODEPTR"
8692>xmlNodePtr</A
8693>  xmlDocCopyNode                  (<A
8694HREF="libxml-tree.html#XMLNODEPTR"
8695>xmlNodePtr</A
8696> node,
8697                                             <A
8698HREF="libxml-tree.html#XMLDOCPTR"
8699>xmlDocPtr</A
8700> doc,
8701                                             int recursive);</PRE
8702></TD
8703></TR
8704></TABLE
8705><P
8706>Do a copy of the node to a given document.</P
8707><P
8708></P
8709><DIV
8710CLASS="INFORMALTABLE"
8711><A
8712NAME="AEN5763"
8713></A
8714><P
8715></P
8716><TABLE
8717BORDER="0"
8718WIDTH="100%"
8719BGCOLOR="#FFD0D0"
8720CELLSPACING="0"
8721CELLPADDING="4"
8722CLASS="CALSTABLE"
8723><TBODY
8724><TR
8725><TD
8726WIDTH="20%"
8727ALIGN="RIGHT"
8728VALIGN="TOP"
8729><TT
8730CLASS="PARAMETER"
8731><I
8732>node</I
8733></TT
8734>&nbsp;:</TD
8735><TD
8736WIDTH="80%"
8737ALIGN="LEFT"
8738VALIGN="TOP"
8739>  the node</TD
8740></TR
8741><TR
8742><TD
8743WIDTH="20%"
8744ALIGN="RIGHT"
8745VALIGN="TOP"
8746><TT
8747CLASS="PARAMETER"
8748><I
8749>doc</I
8750></TT
8751>&nbsp;:</TD
8752><TD
8753WIDTH="80%"
8754ALIGN="LEFT"
8755VALIGN="TOP"
8756>&nbsp;</TD
8757></TR
8758><TR
8759><TD
8760WIDTH="20%"
8761ALIGN="RIGHT"
8762VALIGN="TOP"
8763><TT
8764CLASS="PARAMETER"
8765><I
8766>recursive</I
8767></TT
8768>&nbsp;:</TD
8769><TD
8770WIDTH="80%"
8771ALIGN="LEFT"
8772VALIGN="TOP"
8773>  if 1 do a recursive copy.</TD
8774></TR
8775><TR
8776><TD
8777WIDTH="20%"
8778ALIGN="RIGHT"
8779VALIGN="TOP"
8780><I
8781CLASS="EMPHASIS"
8782>Returns</I
8783> :</TD
8784><TD
8785WIDTH="80%"
8786ALIGN="LEFT"
8787VALIGN="TOP"
8788> a new xmlNodePtr, or NULL in case of error.</TD
8789></TR
8790></TBODY
8791></TABLE
8792><P
8793></P
8794></DIV
8795></DIV
8796><HR><DIV
8797CLASS="REFSECT2"
8798><A
8799NAME="AEN5784"
8800></A
8801><H3
8802><A
8803NAME="XMLCOPYNODELIST"
8804></A
8805>xmlCopyNodeList ()</H3
8806><TABLE
8807BORDER="0"
8808BGCOLOR="#D6E8FF"
8809WIDTH="100%"
8810CELLPADDING="6"
8811><TR
8812><TD
8813><PRE
8814CLASS="PROGRAMLISTING"
8815><A
8816HREF="libxml-tree.html#XMLNODEPTR"
8817>xmlNodePtr</A
8818>  xmlCopyNodeList                 (<A
8819HREF="libxml-tree.html#XMLNODEPTR"
8820>xmlNodePtr</A
8821> node);</PRE
8822></TD
8823></TR
8824></TABLE
8825><P
8826>Do a recursive copy of the node list.</P
8827><P
8828></P
8829><DIV
8830CLASS="INFORMALTABLE"
8831><A
8832NAME="AEN5792"
8833></A
8834><P
8835></P
8836><TABLE
8837BORDER="0"
8838WIDTH="100%"
8839BGCOLOR="#FFD0D0"
8840CELLSPACING="0"
8841CELLPADDING="4"
8842CLASS="CALSTABLE"
8843><TBODY
8844><TR
8845><TD
8846WIDTH="20%"
8847ALIGN="RIGHT"
8848VALIGN="TOP"
8849><TT
8850CLASS="PARAMETER"
8851><I
8852>node</I
8853></TT
8854>&nbsp;:</TD
8855><TD
8856WIDTH="80%"
8857ALIGN="LEFT"
8858VALIGN="TOP"
8859>  the first node in the list.</TD
8860></TR
8861><TR
8862><TD
8863WIDTH="20%"
8864ALIGN="RIGHT"
8865VALIGN="TOP"
8866><I
8867CLASS="EMPHASIS"
8868>Returns</I
8869> :</TD
8870><TD
8871WIDTH="80%"
8872ALIGN="LEFT"
8873VALIGN="TOP"
8874> a new xmlNodePtr, or NULL in case of error.</TD
8875></TR
8876></TBODY
8877></TABLE
8878><P
8879></P
8880></DIV
8881></DIV
8882><HR><DIV
8883CLASS="REFSECT2"
8884><A
8885NAME="AEN5805"
8886></A
8887><H3
8888><A
8889NAME="XMLNEWDOCFRAGMENT"
8890></A
8891>xmlNewDocFragment ()</H3
8892><TABLE
8893BORDER="0"
8894BGCOLOR="#D6E8FF"
8895WIDTH="100%"
8896CELLPADDING="6"
8897><TR
8898><TD
8899><PRE
8900CLASS="PROGRAMLISTING"
8901><A
8902HREF="libxml-tree.html#XMLNODEPTR"
8903>xmlNodePtr</A
8904>  xmlNewDocFragment               (<A
8905HREF="libxml-tree.html#XMLDOCPTR"
8906>xmlDocPtr</A
8907> doc);</PRE
8908></TD
8909></TR
8910></TABLE
8911><P
8912>Creation of a new Fragment node.</P
8913><P
8914></P
8915><DIV
8916CLASS="INFORMALTABLE"
8917><A
8918NAME="AEN5813"
8919></A
8920><P
8921></P
8922><TABLE
8923BORDER="0"
8924WIDTH="100%"
8925BGCOLOR="#FFD0D0"
8926CELLSPACING="0"
8927CELLPADDING="4"
8928CLASS="CALSTABLE"
8929><TBODY
8930><TR
8931><TD
8932WIDTH="20%"
8933ALIGN="RIGHT"
8934VALIGN="TOP"
8935><TT
8936CLASS="PARAMETER"
8937><I
8938>doc</I
8939></TT
8940>&nbsp;:</TD
8941><TD
8942WIDTH="80%"
8943ALIGN="LEFT"
8944VALIGN="TOP"
8945>  the document owning the fragment</TD
8946></TR
8947><TR
8948><TD
8949WIDTH="20%"
8950ALIGN="RIGHT"
8951VALIGN="TOP"
8952><I
8953CLASS="EMPHASIS"
8954>Returns</I
8955> :</TD
8956><TD
8957WIDTH="80%"
8958ALIGN="LEFT"
8959VALIGN="TOP"
8960>a pointer to the new node object.</TD
8961></TR
8962></TBODY
8963></TABLE
8964><P
8965></P
8966></DIV
8967></DIV
8968><HR><DIV
8969CLASS="REFSECT2"
8970><A
8971NAME="AEN5826"
8972></A
8973><H3
8974><A
8975NAME="XMLDOCGETROOTELEMENT"
8976></A
8977>xmlDocGetRootElement ()</H3
8978><TABLE
8979BORDER="0"
8980BGCOLOR="#D6E8FF"
8981WIDTH="100%"
8982CELLPADDING="6"
8983><TR
8984><TD
8985><PRE
8986CLASS="PROGRAMLISTING"
8987><A
8988HREF="libxml-tree.html#XMLNODEPTR"
8989>xmlNodePtr</A
8990>  xmlDocGetRootElement            (<A
8991HREF="libxml-tree.html#XMLDOCPTR"
8992>xmlDocPtr</A
8993> doc);</PRE
8994></TD
8995></TR
8996></TABLE
8997><P
8998>Get the root element of the document (doc-&gt;children is a list
8999containing possibly comments, PIs, etc ...).</P
9000><P
9001></P
9002><DIV
9003CLASS="INFORMALTABLE"
9004><A
9005NAME="AEN5834"
9006></A
9007><P
9008></P
9009><TABLE
9010BORDER="0"
9011WIDTH="100%"
9012BGCOLOR="#FFD0D0"
9013CELLSPACING="0"
9014CELLPADDING="4"
9015CLASS="CALSTABLE"
9016><TBODY
9017><TR
9018><TD
9019WIDTH="20%"
9020ALIGN="RIGHT"
9021VALIGN="TOP"
9022><TT
9023CLASS="PARAMETER"
9024><I
9025>doc</I
9026></TT
9027>&nbsp;:</TD
9028><TD
9029WIDTH="80%"
9030ALIGN="LEFT"
9031VALIGN="TOP"
9032>  the document</TD
9033></TR
9034><TR
9035><TD
9036WIDTH="20%"
9037ALIGN="RIGHT"
9038VALIGN="TOP"
9039><I
9040CLASS="EMPHASIS"
9041>Returns</I
9042> :</TD
9043><TD
9044WIDTH="80%"
9045ALIGN="LEFT"
9046VALIGN="TOP"
9047>the xmlNodePtr for the root or NULL</TD
9048></TR
9049></TBODY
9050></TABLE
9051><P
9052></P
9053></DIV
9054></DIV
9055><HR><DIV
9056CLASS="REFSECT2"
9057><A
9058NAME="AEN5847"
9059></A
9060><H3
9061><A
9062NAME="XMLGETLASTCHILD"
9063></A
9064>xmlGetLastChild ()</H3
9065><TABLE
9066BORDER="0"
9067BGCOLOR="#D6E8FF"
9068WIDTH="100%"
9069CELLPADDING="6"
9070><TR
9071><TD
9072><PRE
9073CLASS="PROGRAMLISTING"
9074><A
9075HREF="libxml-tree.html#XMLNODEPTR"
9076>xmlNodePtr</A
9077>  xmlGetLastChild                 (<A
9078HREF="libxml-tree.html#XMLNODEPTR"
9079>xmlNodePtr</A
9080> parent);</PRE
9081></TD
9082></TR
9083></TABLE
9084><P
9085>Search the last child of a node.</P
9086><P
9087></P
9088><DIV
9089CLASS="INFORMALTABLE"
9090><A
9091NAME="AEN5855"
9092></A
9093><P
9094></P
9095><TABLE
9096BORDER="0"
9097WIDTH="100%"
9098BGCOLOR="#FFD0D0"
9099CELLSPACING="0"
9100CELLPADDING="4"
9101CLASS="CALSTABLE"
9102><TBODY
9103><TR
9104><TD
9105WIDTH="20%"
9106ALIGN="RIGHT"
9107VALIGN="TOP"
9108><TT
9109CLASS="PARAMETER"
9110><I
9111>parent</I
9112></TT
9113>&nbsp;:</TD
9114><TD
9115WIDTH="80%"
9116ALIGN="LEFT"
9117VALIGN="TOP"
9118>  the parent node</TD
9119></TR
9120><TR
9121><TD
9122WIDTH="20%"
9123ALIGN="RIGHT"
9124VALIGN="TOP"
9125><I
9126CLASS="EMPHASIS"
9127>Returns</I
9128> :</TD
9129><TD
9130WIDTH="80%"
9131ALIGN="LEFT"
9132VALIGN="TOP"
9133>the last child or NULL if none.</TD
9134></TR
9135></TBODY
9136></TABLE
9137><P
9138></P
9139></DIV
9140></DIV
9141><HR><DIV
9142CLASS="REFSECT2"
9143><A
9144NAME="AEN5868"
9145></A
9146><H3
9147><A
9148NAME="XMLNODEISTEXT"
9149></A
9150>xmlNodeIsText ()</H3
9151><TABLE
9152BORDER="0"
9153BGCOLOR="#D6E8FF"
9154WIDTH="100%"
9155CELLPADDING="6"
9156><TR
9157><TD
9158><PRE
9159CLASS="PROGRAMLISTING"
9160>int         xmlNodeIsText                   (<A
9161HREF="libxml-tree.html#XMLNODEPTR"
9162>xmlNodePtr</A
9163> node);</PRE
9164></TD
9165></TR
9166></TABLE
9167><P
9168>Is this node a Text node ?</P
9169><P
9170></P
9171><DIV
9172CLASS="INFORMALTABLE"
9173><A
9174NAME="AEN5875"
9175></A
9176><P
9177></P
9178><TABLE
9179BORDER="0"
9180WIDTH="100%"
9181BGCOLOR="#FFD0D0"
9182CELLSPACING="0"
9183CELLPADDING="4"
9184CLASS="CALSTABLE"
9185><TBODY
9186><TR
9187><TD
9188WIDTH="20%"
9189ALIGN="RIGHT"
9190VALIGN="TOP"
9191><TT
9192CLASS="PARAMETER"
9193><I
9194>node</I
9195></TT
9196>&nbsp;:</TD
9197><TD
9198WIDTH="80%"
9199ALIGN="LEFT"
9200VALIGN="TOP"
9201>  the node</TD
9202></TR
9203><TR
9204><TD
9205WIDTH="20%"
9206ALIGN="RIGHT"
9207VALIGN="TOP"
9208><I
9209CLASS="EMPHASIS"
9210>Returns</I
9211> :</TD
9212><TD
9213WIDTH="80%"
9214ALIGN="LEFT"
9215VALIGN="TOP"
9216>1 yes, 0 no</TD
9217></TR
9218></TBODY
9219></TABLE
9220><P
9221></P
9222></DIV
9223></DIV
9224><HR><DIV
9225CLASS="REFSECT2"
9226><A
9227NAME="AEN5888"
9228></A
9229><H3
9230><A
9231NAME="XMLISBLANKNODE"
9232></A
9233>xmlIsBlankNode ()</H3
9234><TABLE
9235BORDER="0"
9236BGCOLOR="#D6E8FF"
9237WIDTH="100%"
9238CELLPADDING="6"
9239><TR
9240><TD
9241><PRE
9242CLASS="PROGRAMLISTING"
9243>int         xmlIsBlankNode                  (<A
9244HREF="libxml-tree.html#XMLNODEPTR"
9245>xmlNodePtr</A
9246> node);</PRE
9247></TD
9248></TR
9249></TABLE
9250><P
9251>Checks whether this node is an empty or whitespace only
9252(and possibly ignorable) text-node.</P
9253><P
9254></P
9255><DIV
9256CLASS="INFORMALTABLE"
9257><A
9258NAME="AEN5895"
9259></A
9260><P
9261></P
9262><TABLE
9263BORDER="0"
9264WIDTH="100%"
9265BGCOLOR="#FFD0D0"
9266CELLSPACING="0"
9267CELLPADDING="4"
9268CLASS="CALSTABLE"
9269><TBODY
9270><TR
9271><TD
9272WIDTH="20%"
9273ALIGN="RIGHT"
9274VALIGN="TOP"
9275><TT
9276CLASS="PARAMETER"
9277><I
9278>node</I
9279></TT
9280>&nbsp;:</TD
9281><TD
9282WIDTH="80%"
9283ALIGN="LEFT"
9284VALIGN="TOP"
9285>  the node</TD
9286></TR
9287><TR
9288><TD
9289WIDTH="20%"
9290ALIGN="RIGHT"
9291VALIGN="TOP"
9292><I
9293CLASS="EMPHASIS"
9294>Returns</I
9295> :</TD
9296><TD
9297WIDTH="80%"
9298ALIGN="LEFT"
9299VALIGN="TOP"
9300>1 yes, 0 no</TD
9301></TR
9302></TBODY
9303></TABLE
9304><P
9305></P
9306></DIV
9307></DIV
9308><HR><DIV
9309CLASS="REFSECT2"
9310><A
9311NAME="AEN5908"
9312></A
9313><H3
9314><A
9315NAME="XMLDOCSETROOTELEMENT"
9316></A
9317>xmlDocSetRootElement ()</H3
9318><TABLE
9319BORDER="0"
9320BGCOLOR="#D6E8FF"
9321WIDTH="100%"
9322CELLPADDING="6"
9323><TR
9324><TD
9325><PRE
9326CLASS="PROGRAMLISTING"
9327><A
9328HREF="libxml-tree.html#XMLNODEPTR"
9329>xmlNodePtr</A
9330>  xmlDocSetRootElement            (<A
9331HREF="libxml-tree.html#XMLDOCPTR"
9332>xmlDocPtr</A
9333> doc,
9334                                             <A
9335HREF="libxml-tree.html#XMLNODEPTR"
9336>xmlNodePtr</A
9337> root);</PRE
9338></TD
9339></TR
9340></TABLE
9341><P
9342>Set the root element of the document (doc-&gt;children is a list
9343containing possibly comments, PIs, etc ...).</P
9344><P
9345></P
9346><DIV
9347CLASS="INFORMALTABLE"
9348><A
9349NAME="AEN5917"
9350></A
9351><P
9352></P
9353><TABLE
9354BORDER="0"
9355WIDTH="100%"
9356BGCOLOR="#FFD0D0"
9357CELLSPACING="0"
9358CELLPADDING="4"
9359CLASS="CALSTABLE"
9360><TBODY
9361><TR
9362><TD
9363WIDTH="20%"
9364ALIGN="RIGHT"
9365VALIGN="TOP"
9366><TT
9367CLASS="PARAMETER"
9368><I
9369>doc</I
9370></TT
9371>&nbsp;:</TD
9372><TD
9373WIDTH="80%"
9374ALIGN="LEFT"
9375VALIGN="TOP"
9376>  the document</TD
9377></TR
9378><TR
9379><TD
9380WIDTH="20%"
9381ALIGN="RIGHT"
9382VALIGN="TOP"
9383><TT
9384CLASS="PARAMETER"
9385><I
9386>root</I
9387></TT
9388>&nbsp;:</TD
9389><TD
9390WIDTH="80%"
9391ALIGN="LEFT"
9392VALIGN="TOP"
9393>  the new document root element</TD
9394></TR
9395><TR
9396><TD
9397WIDTH="20%"
9398ALIGN="RIGHT"
9399VALIGN="TOP"
9400><I
9401CLASS="EMPHASIS"
9402>Returns</I
9403> :</TD
9404><TD
9405WIDTH="80%"
9406ALIGN="LEFT"
9407VALIGN="TOP"
9408>the old root element if any was found</TD
9409></TR
9410></TBODY
9411></TABLE
9412><P
9413></P
9414></DIV
9415></DIV
9416><HR><DIV
9417CLASS="REFSECT2"
9418><A
9419NAME="AEN5934"
9420></A
9421><H3
9422><A
9423NAME="XMLNODESETNAME"
9424></A
9425>xmlNodeSetName ()</H3
9426><TABLE
9427BORDER="0"
9428BGCOLOR="#D6E8FF"
9429WIDTH="100%"
9430CELLPADDING="6"
9431><TR
9432><TD
9433><PRE
9434CLASS="PROGRAMLISTING"
9435>void        xmlNodeSetName                  (<A
9436HREF="libxml-tree.html#XMLNODEPTR"
9437>xmlNodePtr</A
9438> cur,
9439                                             const <A
9440HREF="libxml-tree.html#XMLCHAR"
9441>xmlChar</A
9442> *name);</PRE
9443></TD
9444></TR
9445></TABLE
9446><P
9447>Set (or reset) the name of a node.</P
9448><P
9449></P
9450><DIV
9451CLASS="INFORMALTABLE"
9452><A
9453NAME="AEN5942"
9454></A
9455><P
9456></P
9457><TABLE
9458BORDER="0"
9459WIDTH="100%"
9460BGCOLOR="#FFD0D0"
9461CELLSPACING="0"
9462CELLPADDING="4"
9463CLASS="CALSTABLE"
9464><TBODY
9465><TR
9466><TD
9467WIDTH="20%"
9468ALIGN="RIGHT"
9469VALIGN="TOP"
9470><TT
9471CLASS="PARAMETER"
9472><I
9473>cur</I
9474></TT
9475>&nbsp;:</TD
9476><TD
9477WIDTH="80%"
9478ALIGN="LEFT"
9479VALIGN="TOP"
9480>  the node being changed</TD
9481></TR
9482><TR
9483><TD
9484WIDTH="20%"
9485ALIGN="RIGHT"
9486VALIGN="TOP"
9487><TT
9488CLASS="PARAMETER"
9489><I
9490>name</I
9491></TT
9492>&nbsp;:</TD
9493><TD
9494WIDTH="80%"
9495ALIGN="LEFT"
9496VALIGN="TOP"
9497>  the new tag name</TD
9498></TR
9499></TBODY
9500></TABLE
9501><P
9502></P
9503></DIV
9504></DIV
9505><HR><DIV
9506CLASS="REFSECT2"
9507><A
9508NAME="AEN5955"
9509></A
9510><H3
9511><A
9512NAME="XMLADDCHILD"
9513></A
9514>xmlAddChild ()</H3
9515><TABLE
9516BORDER="0"
9517BGCOLOR="#D6E8FF"
9518WIDTH="100%"
9519CELLPADDING="6"
9520><TR
9521><TD
9522><PRE
9523CLASS="PROGRAMLISTING"
9524><A
9525HREF="libxml-tree.html#XMLNODEPTR"
9526>xmlNodePtr</A
9527>  xmlAddChild                     (<A
9528HREF="libxml-tree.html#XMLNODEPTR"
9529>xmlNodePtr</A
9530> parent,
9531                                             <A
9532HREF="libxml-tree.html#XMLNODEPTR"
9533>xmlNodePtr</A
9534> cur);</PRE
9535></TD
9536></TR
9537></TABLE
9538><P
9539>Add a new child element, to <TT
9540CLASS="PARAMETER"
9541><I
9542>parent</I
9543></TT
9544>, at the end of the child list
9545merging adjacent TEXT nodes (in which case <TT
9546CLASS="PARAMETER"
9547><I
9548>cur</I
9549></TT
9550> is freed)</P
9551><P
9552></P
9553><DIV
9554CLASS="INFORMALTABLE"
9555><A
9556NAME="AEN5966"
9557></A
9558><P
9559></P
9560><TABLE
9561BORDER="0"
9562WIDTH="100%"
9563BGCOLOR="#FFD0D0"
9564CELLSPACING="0"
9565CELLPADDING="4"
9566CLASS="CALSTABLE"
9567><TBODY
9568><TR
9569><TD
9570WIDTH="20%"
9571ALIGN="RIGHT"
9572VALIGN="TOP"
9573><TT
9574CLASS="PARAMETER"
9575><I
9576>parent</I
9577></TT
9578>&nbsp;:</TD
9579><TD
9580WIDTH="80%"
9581ALIGN="LEFT"
9582VALIGN="TOP"
9583>  the parent node</TD
9584></TR
9585><TR
9586><TD
9587WIDTH="20%"
9588ALIGN="RIGHT"
9589VALIGN="TOP"
9590><TT
9591CLASS="PARAMETER"
9592><I
9593>cur</I
9594></TT
9595>&nbsp;:</TD
9596><TD
9597WIDTH="80%"
9598ALIGN="LEFT"
9599VALIGN="TOP"
9600>  the child node</TD
9601></TR
9602><TR
9603><TD
9604WIDTH="20%"
9605ALIGN="RIGHT"
9606VALIGN="TOP"
9607><I
9608CLASS="EMPHASIS"
9609>Returns</I
9610> :</TD
9611><TD
9612WIDTH="80%"
9613ALIGN="LEFT"
9614VALIGN="TOP"
9615>the child or NULL in case of error.</TD
9616></TR
9617></TBODY
9618></TABLE
9619><P
9620></P
9621></DIV
9622></DIV
9623><HR><DIV
9624CLASS="REFSECT2"
9625><A
9626NAME="AEN5983"
9627></A
9628><H3
9629><A
9630NAME="XMLADDCHILDLIST"
9631></A
9632>xmlAddChildList ()</H3
9633><TABLE
9634BORDER="0"
9635BGCOLOR="#D6E8FF"
9636WIDTH="100%"
9637CELLPADDING="6"
9638><TR
9639><TD
9640><PRE
9641CLASS="PROGRAMLISTING"
9642><A
9643HREF="libxml-tree.html#XMLNODEPTR"
9644>xmlNodePtr</A
9645>  xmlAddChildList                 (<A
9646HREF="libxml-tree.html#XMLNODEPTR"
9647>xmlNodePtr</A
9648> parent,
9649                                             <A
9650HREF="libxml-tree.html#XMLNODEPTR"
9651>xmlNodePtr</A
9652> cur);</PRE
9653></TD
9654></TR
9655></TABLE
9656><P
9657>Add a list of node at the end of the child list of the parent
9658merging adjacent TEXT nodes (<TT
9659CLASS="PARAMETER"
9660><I
9661>cur</I
9662></TT
9663> may be freed)</P
9664><P
9665></P
9666><DIV
9667CLASS="INFORMALTABLE"
9668><A
9669NAME="AEN5993"
9670></A
9671><P
9672></P
9673><TABLE
9674BORDER="0"
9675WIDTH="100%"
9676BGCOLOR="#FFD0D0"
9677CELLSPACING="0"
9678CELLPADDING="4"
9679CLASS="CALSTABLE"
9680><TBODY
9681><TR
9682><TD
9683WIDTH="20%"
9684ALIGN="RIGHT"
9685VALIGN="TOP"
9686><TT
9687CLASS="PARAMETER"
9688><I
9689>parent</I
9690></TT
9691>&nbsp;:</TD
9692><TD
9693WIDTH="80%"
9694ALIGN="LEFT"
9695VALIGN="TOP"
9696>  the parent node</TD
9697></TR
9698><TR
9699><TD
9700WIDTH="20%"
9701ALIGN="RIGHT"
9702VALIGN="TOP"
9703><TT
9704CLASS="PARAMETER"
9705><I
9706>cur</I
9707></TT
9708>&nbsp;:</TD
9709><TD
9710WIDTH="80%"
9711ALIGN="LEFT"
9712VALIGN="TOP"
9713>  the first node in the list</TD
9714></TR
9715><TR
9716><TD
9717WIDTH="20%"
9718ALIGN="RIGHT"
9719VALIGN="TOP"
9720><I
9721CLASS="EMPHASIS"
9722>Returns</I
9723> :</TD
9724><TD
9725WIDTH="80%"
9726ALIGN="LEFT"
9727VALIGN="TOP"
9728>the last child or NULL in case of error.</TD
9729></TR
9730></TBODY
9731></TABLE
9732><P
9733></P
9734></DIV
9735></DIV
9736><HR><DIV
9737CLASS="REFSECT2"
9738><A
9739NAME="AEN6010"
9740></A
9741><H3
9742><A
9743NAME="XMLREPLACENODE"
9744></A
9745>xmlReplaceNode ()</H3
9746><TABLE
9747BORDER="0"
9748BGCOLOR="#D6E8FF"
9749WIDTH="100%"
9750CELLPADDING="6"
9751><TR
9752><TD
9753><PRE
9754CLASS="PROGRAMLISTING"
9755><A
9756HREF="libxml-tree.html#XMLNODEPTR"
9757>xmlNodePtr</A
9758>  xmlReplaceNode                  (<A
9759HREF="libxml-tree.html#XMLNODEPTR"
9760>xmlNodePtr</A
9761> old,
9762                                             <A
9763HREF="libxml-tree.html#XMLNODEPTR"
9764>xmlNodePtr</A
9765> cur);</PRE
9766></TD
9767></TR
9768></TABLE
9769><P
9770>Unlink the old node from it's current context, prune the new one
9771at the same place. If cur was already inserted in a document it is
9772first unlinked from its existing context.</P
9773><P
9774></P
9775><DIV
9776CLASS="INFORMALTABLE"
9777><A
9778NAME="AEN6019"
9779></A
9780><P
9781></P
9782><TABLE
9783BORDER="0"
9784WIDTH="100%"
9785BGCOLOR="#FFD0D0"
9786CELLSPACING="0"
9787CELLPADDING="4"
9788CLASS="CALSTABLE"
9789><TBODY
9790><TR
9791><TD
9792WIDTH="20%"
9793ALIGN="RIGHT"
9794VALIGN="TOP"
9795><TT
9796CLASS="PARAMETER"
9797><I
9798>old</I
9799></TT
9800>&nbsp;:</TD
9801><TD
9802WIDTH="80%"
9803ALIGN="LEFT"
9804VALIGN="TOP"
9805>  the old node</TD
9806></TR
9807><TR
9808><TD
9809WIDTH="20%"
9810ALIGN="RIGHT"
9811VALIGN="TOP"
9812><TT
9813CLASS="PARAMETER"
9814><I
9815>cur</I
9816></TT
9817>&nbsp;:</TD
9818><TD
9819WIDTH="80%"
9820ALIGN="LEFT"
9821VALIGN="TOP"
9822>  the node</TD
9823></TR
9824><TR
9825><TD
9826WIDTH="20%"
9827ALIGN="RIGHT"
9828VALIGN="TOP"
9829><I
9830CLASS="EMPHASIS"
9831>Returns</I
9832> :</TD
9833><TD
9834WIDTH="80%"
9835ALIGN="LEFT"
9836VALIGN="TOP"
9837>the old node</TD
9838></TR
9839></TBODY
9840></TABLE
9841><P
9842></P
9843></DIV
9844></DIV
9845><HR><DIV
9846CLASS="REFSECT2"
9847><A
9848NAME="AEN6036"
9849></A
9850><H3
9851><A
9852NAME="XMLADDSIBLING"
9853></A
9854>xmlAddSibling ()</H3
9855><TABLE
9856BORDER="0"
9857BGCOLOR="#D6E8FF"
9858WIDTH="100%"
9859CELLPADDING="6"
9860><TR
9861><TD
9862><PRE
9863CLASS="PROGRAMLISTING"
9864><A
9865HREF="libxml-tree.html#XMLNODEPTR"
9866>xmlNodePtr</A
9867>  xmlAddSibling                   (<A
9868HREF="libxml-tree.html#XMLNODEPTR"
9869>xmlNodePtr</A
9870> cur,
9871                                             <A
9872HREF="libxml-tree.html#XMLNODEPTR"
9873>xmlNodePtr</A
9874> elem);</PRE
9875></TD
9876></TR
9877></TABLE
9878><P
9879>Add a new element <TT
9880CLASS="PARAMETER"
9881><I
9882>elem</I
9883></TT
9884> to the list of siblings of <TT
9885CLASS="PARAMETER"
9886><I
9887>cur</I
9888></TT
9889>
9890merging adjacent TEXT nodes (<TT
9891CLASS="PARAMETER"
9892><I
9893>elem</I
9894></TT
9895> may be freed)
9896If the new element was already inserted in a document it is
9897first unlinked from its existing context.</P
9898><P
9899></P
9900><DIV
9901CLASS="INFORMALTABLE"
9902><A
9903NAME="AEN6048"
9904></A
9905><P
9906></P
9907><TABLE
9908BORDER="0"
9909WIDTH="100%"
9910BGCOLOR="#FFD0D0"
9911CELLSPACING="0"
9912CELLPADDING="4"
9913CLASS="CALSTABLE"
9914><TBODY
9915><TR
9916><TD
9917WIDTH="20%"
9918ALIGN="RIGHT"
9919VALIGN="TOP"
9920><TT
9921CLASS="PARAMETER"
9922><I
9923>cur</I
9924></TT
9925>&nbsp;:</TD
9926><TD
9927WIDTH="80%"
9928ALIGN="LEFT"
9929VALIGN="TOP"
9930>  the child node</TD
9931></TR
9932><TR
9933><TD
9934WIDTH="20%"
9935ALIGN="RIGHT"
9936VALIGN="TOP"
9937><TT
9938CLASS="PARAMETER"
9939><I
9940>elem</I
9941></TT
9942>&nbsp;:</TD
9943><TD
9944WIDTH="80%"
9945ALIGN="LEFT"
9946VALIGN="TOP"
9947>  the new node</TD
9948></TR
9949><TR
9950><TD
9951WIDTH="20%"
9952ALIGN="RIGHT"
9953VALIGN="TOP"
9954><I
9955CLASS="EMPHASIS"
9956>Returns</I
9957> :</TD
9958><TD
9959WIDTH="80%"
9960ALIGN="LEFT"
9961VALIGN="TOP"
9962>the new element or NULL in case of error.</TD
9963></TR
9964></TBODY
9965></TABLE
9966><P
9967></P
9968></DIV
9969></DIV
9970><HR><DIV
9971CLASS="REFSECT2"
9972><A
9973NAME="AEN6065"
9974></A
9975><H3
9976><A
9977NAME="XMLADDPREVSIBLING"
9978></A
9979>xmlAddPrevSibling ()</H3
9980><TABLE
9981BORDER="0"
9982BGCOLOR="#D6E8FF"
9983WIDTH="100%"
9984CELLPADDING="6"
9985><TR
9986><TD
9987><PRE
9988CLASS="PROGRAMLISTING"
9989><A
9990HREF="libxml-tree.html#XMLNODEPTR"
9991>xmlNodePtr</A
9992>  xmlAddPrevSibling               (<A
9993HREF="libxml-tree.html#XMLNODEPTR"
9994>xmlNodePtr</A
9995> cur,
9996                                             <A
9997HREF="libxml-tree.html#XMLNODEPTR"
9998>xmlNodePtr</A
9999> elem);</PRE
10000></TD
10001></TR
10002></TABLE
10003><P
10004>Add a new element <TT
10005CLASS="PARAMETER"
10006><I
10007>elem</I
10008></TT
10009> as the previous siblings of <TT
10010CLASS="PARAMETER"
10011><I
10012>cur</I
10013></TT
10014>
10015merging adjacent TEXT nodes (<TT
10016CLASS="PARAMETER"
10017><I
10018>elem</I
10019></TT
10020> may be freed)
10021If the new element was already inserted in a document it is
10022first unlinked from its existing context.</P
10023><P
10024></P
10025><DIV
10026CLASS="INFORMALTABLE"
10027><A
10028NAME="AEN6077"
10029></A
10030><P
10031></P
10032><TABLE
10033BORDER="0"
10034WIDTH="100%"
10035BGCOLOR="#FFD0D0"
10036CELLSPACING="0"
10037CELLPADDING="4"
10038CLASS="CALSTABLE"
10039><TBODY
10040><TR
10041><TD
10042WIDTH="20%"
10043ALIGN="RIGHT"
10044VALIGN="TOP"
10045><TT
10046CLASS="PARAMETER"
10047><I
10048>cur</I
10049></TT
10050>&nbsp;:</TD
10051><TD
10052WIDTH="80%"
10053ALIGN="LEFT"
10054VALIGN="TOP"
10055>  the child node</TD
10056></TR
10057><TR
10058><TD
10059WIDTH="20%"
10060ALIGN="RIGHT"
10061VALIGN="TOP"
10062><TT
10063CLASS="PARAMETER"
10064><I
10065>elem</I
10066></TT
10067>&nbsp;:</TD
10068><TD
10069WIDTH="80%"
10070ALIGN="LEFT"
10071VALIGN="TOP"
10072>  the new node</TD
10073></TR
10074><TR
10075><TD
10076WIDTH="20%"
10077ALIGN="RIGHT"
10078VALIGN="TOP"
10079><I
10080CLASS="EMPHASIS"
10081>Returns</I
10082> :</TD
10083><TD
10084WIDTH="80%"
10085ALIGN="LEFT"
10086VALIGN="TOP"
10087>the new element or NULL in case of error.</TD
10088></TR
10089></TBODY
10090></TABLE
10091><P
10092></P
10093></DIV
10094></DIV
10095><HR><DIV
10096CLASS="REFSECT2"
10097><A
10098NAME="AEN6094"
10099></A
10100><H3
10101><A
10102NAME="XMLADDNEXTSIBLING"
10103></A
10104>xmlAddNextSibling ()</H3
10105><TABLE
10106BORDER="0"
10107BGCOLOR="#D6E8FF"
10108WIDTH="100%"
10109CELLPADDING="6"
10110><TR
10111><TD
10112><PRE
10113CLASS="PROGRAMLISTING"
10114><A
10115HREF="libxml-tree.html#XMLNODEPTR"
10116>xmlNodePtr</A
10117>  xmlAddNextSibling               (<A
10118HREF="libxml-tree.html#XMLNODEPTR"
10119>xmlNodePtr</A
10120> cur,
10121                                             <A
10122HREF="libxml-tree.html#XMLNODEPTR"
10123>xmlNodePtr</A
10124> elem);</PRE
10125></TD
10126></TR
10127></TABLE
10128><P
10129>Add a new element <TT
10130CLASS="PARAMETER"
10131><I
10132>elem</I
10133></TT
10134> as the next siblings of <TT
10135CLASS="PARAMETER"
10136><I
10137>cur</I
10138></TT
10139>
10140If the new element was already inserted in a document it is
10141first unlinked from its existing context.
10142As a result of text merging <TT
10143CLASS="PARAMETER"
10144><I
10145>elem</I
10146></TT
10147> may be freed.</P
10148><P
10149></P
10150><DIV
10151CLASS="INFORMALTABLE"
10152><A
10153NAME="AEN6106"
10154></A
10155><P
10156></P
10157><TABLE
10158BORDER="0"
10159WIDTH="100%"
10160BGCOLOR="#FFD0D0"
10161CELLSPACING="0"
10162CELLPADDING="4"
10163CLASS="CALSTABLE"
10164><TBODY
10165><TR
10166><TD
10167WIDTH="20%"
10168ALIGN="RIGHT"
10169VALIGN="TOP"
10170><TT
10171CLASS="PARAMETER"
10172><I
10173>cur</I
10174></TT
10175>&nbsp;:</TD
10176><TD
10177WIDTH="80%"
10178ALIGN="LEFT"
10179VALIGN="TOP"
10180>  the child node</TD
10181></TR
10182><TR
10183><TD
10184WIDTH="20%"
10185ALIGN="RIGHT"
10186VALIGN="TOP"
10187><TT
10188CLASS="PARAMETER"
10189><I
10190>elem</I
10191></TT
10192>&nbsp;:</TD
10193><TD
10194WIDTH="80%"
10195ALIGN="LEFT"
10196VALIGN="TOP"
10197>  the new node</TD
10198></TR
10199><TR
10200><TD
10201WIDTH="20%"
10202ALIGN="RIGHT"
10203VALIGN="TOP"
10204><I
10205CLASS="EMPHASIS"
10206>Returns</I
10207> :</TD
10208><TD
10209WIDTH="80%"
10210ALIGN="LEFT"
10211VALIGN="TOP"
10212>the new element or NULL in case of error.</TD
10213></TR
10214></TBODY
10215></TABLE
10216><P
10217></P
10218></DIV
10219></DIV
10220><HR><DIV
10221CLASS="REFSECT2"
10222><A
10223NAME="AEN6123"
10224></A
10225><H3
10226><A
10227NAME="XMLUNLINKNODE"
10228></A
10229>xmlUnlinkNode ()</H3
10230><TABLE
10231BORDER="0"
10232BGCOLOR="#D6E8FF"
10233WIDTH="100%"
10234CELLPADDING="6"
10235><TR
10236><TD
10237><PRE
10238CLASS="PROGRAMLISTING"
10239>void        xmlUnlinkNode                   (<A
10240HREF="libxml-tree.html#XMLNODEPTR"
10241>xmlNodePtr</A
10242> cur);</PRE
10243></TD
10244></TR
10245></TABLE
10246><P
10247>Unlink a node from it's current context, the node is not freed</P
10248><P
10249></P
10250><DIV
10251CLASS="INFORMALTABLE"
10252><A
10253NAME="AEN6130"
10254></A
10255><P
10256></P
10257><TABLE
10258BORDER="0"
10259WIDTH="100%"
10260BGCOLOR="#FFD0D0"
10261CELLSPACING="0"
10262CELLPADDING="4"
10263CLASS="CALSTABLE"
10264><TBODY
10265><TR
10266><TD
10267WIDTH="20%"
10268ALIGN="RIGHT"
10269VALIGN="TOP"
10270><TT
10271CLASS="PARAMETER"
10272><I
10273>cur</I
10274></TT
10275>&nbsp;:</TD
10276><TD
10277WIDTH="80%"
10278ALIGN="LEFT"
10279VALIGN="TOP"
10280>  the node</TD
10281></TR
10282></TBODY
10283></TABLE
10284><P
10285></P
10286></DIV
10287></DIV
10288><HR><DIV
10289CLASS="REFSECT2"
10290><A
10291NAME="AEN6139"
10292></A
10293><H3
10294><A
10295NAME="XMLTEXTMERGE"
10296></A
10297>xmlTextMerge ()</H3
10298><TABLE
10299BORDER="0"
10300BGCOLOR="#D6E8FF"
10301WIDTH="100%"
10302CELLPADDING="6"
10303><TR
10304><TD
10305><PRE
10306CLASS="PROGRAMLISTING"
10307><A
10308HREF="libxml-tree.html#XMLNODEPTR"
10309>xmlNodePtr</A
10310>  xmlTextMerge                    (<A
10311HREF="libxml-tree.html#XMLNODEPTR"
10312>xmlNodePtr</A
10313> first,
10314                                             <A
10315HREF="libxml-tree.html#XMLNODEPTR"
10316>xmlNodePtr</A
10317> second);</PRE
10318></TD
10319></TR
10320></TABLE
10321><P
10322>Merge two text nodes into one</P
10323><P
10324></P
10325><DIV
10326CLASS="INFORMALTABLE"
10327><A
10328NAME="AEN6148"
10329></A
10330><P
10331></P
10332><TABLE
10333BORDER="0"
10334WIDTH="100%"
10335BGCOLOR="#FFD0D0"
10336CELLSPACING="0"
10337CELLPADDING="4"
10338CLASS="CALSTABLE"
10339><TBODY
10340><TR
10341><TD
10342WIDTH="20%"
10343ALIGN="RIGHT"
10344VALIGN="TOP"
10345><TT
10346CLASS="PARAMETER"
10347><I
10348>first</I
10349></TT
10350>&nbsp;:</TD
10351><TD
10352WIDTH="80%"
10353ALIGN="LEFT"
10354VALIGN="TOP"
10355>  the first text node</TD
10356></TR
10357><TR
10358><TD
10359WIDTH="20%"
10360ALIGN="RIGHT"
10361VALIGN="TOP"
10362><TT
10363CLASS="PARAMETER"
10364><I
10365>second</I
10366></TT
10367>&nbsp;:</TD
10368><TD
10369WIDTH="80%"
10370ALIGN="LEFT"
10371VALIGN="TOP"
10372>  the second text node being merged</TD
10373></TR
10374><TR
10375><TD
10376WIDTH="20%"
10377ALIGN="RIGHT"
10378VALIGN="TOP"
10379><I
10380CLASS="EMPHASIS"
10381>Returns</I
10382> :</TD
10383><TD
10384WIDTH="80%"
10385ALIGN="LEFT"
10386VALIGN="TOP"
10387>the first text node augmented</TD
10388></TR
10389></TBODY
10390></TABLE
10391><P
10392></P
10393></DIV
10394></DIV
10395><HR><DIV
10396CLASS="REFSECT2"
10397><A
10398NAME="AEN6165"
10399></A
10400><H3
10401><A
10402NAME="XMLTEXTCONCAT"
10403></A
10404>xmlTextConcat ()</H3
10405><TABLE
10406BORDER="0"
10407BGCOLOR="#D6E8FF"
10408WIDTH="100%"
10409CELLPADDING="6"
10410><TR
10411><TD
10412><PRE
10413CLASS="PROGRAMLISTING"
10414>void        xmlTextConcat                   (<A
10415HREF="libxml-tree.html#XMLNODEPTR"
10416>xmlNodePtr</A
10417> node,
10418                                             const <A
10419HREF="libxml-tree.html#XMLCHAR"
10420>xmlChar</A
10421> *content,
10422                                             int len);</PRE
10423></TD
10424></TR
10425></TABLE
10426><P
10427>Concat the given string at the end of the existing node content</P
10428><P
10429></P
10430><DIV
10431CLASS="INFORMALTABLE"
10432><A
10433NAME="AEN6173"
10434></A
10435><P
10436></P
10437><TABLE
10438BORDER="0"
10439WIDTH="100%"
10440BGCOLOR="#FFD0D0"
10441CELLSPACING="0"
10442CELLPADDING="4"
10443CLASS="CALSTABLE"
10444><TBODY
10445><TR
10446><TD
10447WIDTH="20%"
10448ALIGN="RIGHT"
10449VALIGN="TOP"
10450><TT
10451CLASS="PARAMETER"
10452><I
10453>node</I
10454></TT
10455>&nbsp;:</TD
10456><TD
10457WIDTH="80%"
10458ALIGN="LEFT"
10459VALIGN="TOP"
10460>  the node</TD
10461></TR
10462><TR
10463><TD
10464WIDTH="20%"
10465ALIGN="RIGHT"
10466VALIGN="TOP"
10467><TT
10468CLASS="PARAMETER"
10469><I
10470>content</I
10471></TT
10472>&nbsp;:</TD
10473><TD
10474WIDTH="80%"
10475ALIGN="LEFT"
10476VALIGN="TOP"
10477>  the content</TD
10478></TR
10479><TR
10480><TD
10481WIDTH="20%"
10482ALIGN="RIGHT"
10483VALIGN="TOP"
10484><TT
10485CLASS="PARAMETER"
10486><I
10487>len</I
10488></TT
10489>&nbsp;:</TD
10490><TD
10491WIDTH="80%"
10492ALIGN="LEFT"
10493VALIGN="TOP"
10494>  <TT
10495CLASS="PARAMETER"
10496><I
10497>content</I
10498></TT
10499> lenght</TD
10500></TR
10501></TBODY
10502></TABLE
10503><P
10504></P
10505></DIV
10506></DIV
10507><HR><DIV
10508CLASS="REFSECT2"
10509><A
10510NAME="AEN6191"
10511></A
10512><H3
10513><A
10514NAME="XMLFREENODELIST"
10515></A
10516>xmlFreeNodeList ()</H3
10517><TABLE
10518BORDER="0"
10519BGCOLOR="#D6E8FF"
10520WIDTH="100%"
10521CELLPADDING="6"
10522><TR
10523><TD
10524><PRE
10525CLASS="PROGRAMLISTING"
10526>void        xmlFreeNodeList                 (<A
10527HREF="libxml-tree.html#XMLNODEPTR"
10528>xmlNodePtr</A
10529> cur);</PRE
10530></TD
10531></TR
10532></TABLE
10533><P
10534>Free a node and all its siblings, this is a recursive behaviour, all
10535the children are freed too.</P
10536><P
10537></P
10538><DIV
10539CLASS="INFORMALTABLE"
10540><A
10541NAME="AEN6198"
10542></A
10543><P
10544></P
10545><TABLE
10546BORDER="0"
10547WIDTH="100%"
10548BGCOLOR="#FFD0D0"
10549CELLSPACING="0"
10550CELLPADDING="4"
10551CLASS="CALSTABLE"
10552><TBODY
10553><TR
10554><TD
10555WIDTH="20%"
10556ALIGN="RIGHT"
10557VALIGN="TOP"
10558><TT
10559CLASS="PARAMETER"
10560><I
10561>cur</I
10562></TT
10563>&nbsp;:</TD
10564><TD
10565WIDTH="80%"
10566ALIGN="LEFT"
10567VALIGN="TOP"
10568>  the first node in the list</TD
10569></TR
10570></TBODY
10571></TABLE
10572><P
10573></P
10574></DIV
10575></DIV
10576><HR><DIV
10577CLASS="REFSECT2"
10578><A
10579NAME="AEN6207"
10580></A
10581><H3
10582><A
10583NAME="XMLFREENODE"
10584></A
10585>xmlFreeNode ()</H3
10586><TABLE
10587BORDER="0"
10588BGCOLOR="#D6E8FF"
10589WIDTH="100%"
10590CELLPADDING="6"
10591><TR
10592><TD
10593><PRE
10594CLASS="PROGRAMLISTING"
10595>void        xmlFreeNode                     (<A
10596HREF="libxml-tree.html#XMLNODEPTR"
10597>xmlNodePtr</A
10598> cur);</PRE
10599></TD
10600></TR
10601></TABLE
10602><P
10603>Free a node, this is a recursive behaviour, all the children are freed too.
10604This doesn't unlink the child from the list, use <A
10605HREF="libxml-tree.html#XMLUNLINKNODE"
10606>xmlUnlinkNode</A
10607>() first.</P
10608><P
10609></P
10610><DIV
10611CLASS="INFORMALTABLE"
10612><A
10613NAME="AEN6215"
10614></A
10615><P
10616></P
10617><TABLE
10618BORDER="0"
10619WIDTH="100%"
10620BGCOLOR="#FFD0D0"
10621CELLSPACING="0"
10622CELLPADDING="4"
10623CLASS="CALSTABLE"
10624><TBODY
10625><TR
10626><TD
10627WIDTH="20%"
10628ALIGN="RIGHT"
10629VALIGN="TOP"
10630><TT
10631CLASS="PARAMETER"
10632><I
10633>cur</I
10634></TT
10635>&nbsp;:</TD
10636><TD
10637WIDTH="80%"
10638ALIGN="LEFT"
10639VALIGN="TOP"
10640>  the node</TD
10641></TR
10642></TBODY
10643></TABLE
10644><P
10645></P
10646></DIV
10647></DIV
10648><HR><DIV
10649CLASS="REFSECT2"
10650><A
10651NAME="AEN6224"
10652></A
10653><H3
10654><A
10655NAME="XMLSETTREEDOC"
10656></A
10657>xmlSetTreeDoc ()</H3
10658><TABLE
10659BORDER="0"
10660BGCOLOR="#D6E8FF"
10661WIDTH="100%"
10662CELLPADDING="6"
10663><TR
10664><TD
10665><PRE
10666CLASS="PROGRAMLISTING"
10667>void        xmlSetTreeDoc                   (<A
10668HREF="libxml-tree.html#XMLNODEPTR"
10669>xmlNodePtr</A
10670> tree,
10671                                             <A
10672HREF="libxml-tree.html#XMLDOCPTR"
10673>xmlDocPtr</A
10674> doc);</PRE
10675></TD
10676></TR
10677></TABLE
10678><P
10679>update all nodes under the tree to point to the right document</P
10680><P
10681></P
10682><DIV
10683CLASS="INFORMALTABLE"
10684><A
10685NAME="AEN6232"
10686></A
10687><P
10688></P
10689><TABLE
10690BORDER="0"
10691WIDTH="100%"
10692BGCOLOR="#FFD0D0"
10693CELLSPACING="0"
10694CELLPADDING="4"
10695CLASS="CALSTABLE"
10696><TBODY
10697><TR
10698><TD
10699WIDTH="20%"
10700ALIGN="RIGHT"
10701VALIGN="TOP"
10702><TT
10703CLASS="PARAMETER"
10704><I
10705>tree</I
10706></TT
10707>&nbsp;:</TD
10708><TD
10709WIDTH="80%"
10710ALIGN="LEFT"
10711VALIGN="TOP"
10712>  the top element</TD
10713></TR
10714><TR
10715><TD
10716WIDTH="20%"
10717ALIGN="RIGHT"
10718VALIGN="TOP"
10719><TT
10720CLASS="PARAMETER"
10721><I
10722>doc</I
10723></TT
10724>&nbsp;:</TD
10725><TD
10726WIDTH="80%"
10727ALIGN="LEFT"
10728VALIGN="TOP"
10729>  the document</TD
10730></TR
10731></TBODY
10732></TABLE
10733><P
10734></P
10735></DIV
10736></DIV
10737><HR><DIV
10738CLASS="REFSECT2"
10739><A
10740NAME="AEN6245"
10741></A
10742><H3
10743><A
10744NAME="XMLSETLISTDOC"
10745></A
10746>xmlSetListDoc ()</H3
10747><TABLE
10748BORDER="0"
10749BGCOLOR="#D6E8FF"
10750WIDTH="100%"
10751CELLPADDING="6"
10752><TR
10753><TD
10754><PRE
10755CLASS="PROGRAMLISTING"
10756>void        xmlSetListDoc                   (<A
10757HREF="libxml-tree.html#XMLNODEPTR"
10758>xmlNodePtr</A
10759> list,
10760                                             <A
10761HREF="libxml-tree.html#XMLDOCPTR"
10762>xmlDocPtr</A
10763> doc);</PRE
10764></TD
10765></TR
10766></TABLE
10767><P
10768>update all nodes in the list to point to the right document</P
10769><P
10770></P
10771><DIV
10772CLASS="INFORMALTABLE"
10773><A
10774NAME="AEN6253"
10775></A
10776><P
10777></P
10778><TABLE
10779BORDER="0"
10780WIDTH="100%"
10781BGCOLOR="#FFD0D0"
10782CELLSPACING="0"
10783CELLPADDING="4"
10784CLASS="CALSTABLE"
10785><TBODY
10786><TR
10787><TD
10788WIDTH="20%"
10789ALIGN="RIGHT"
10790VALIGN="TOP"
10791><TT
10792CLASS="PARAMETER"
10793><I
10794>list</I
10795></TT
10796>&nbsp;:</TD
10797><TD
10798WIDTH="80%"
10799ALIGN="LEFT"
10800VALIGN="TOP"
10801>&nbsp;</TD
10802></TR
10803><TR
10804><TD
10805WIDTH="20%"
10806ALIGN="RIGHT"
10807VALIGN="TOP"
10808><TT
10809CLASS="PARAMETER"
10810><I
10811>doc</I
10812></TT
10813>&nbsp;:</TD
10814><TD
10815WIDTH="80%"
10816ALIGN="LEFT"
10817VALIGN="TOP"
10818>  the document</TD
10819></TR
10820></TBODY
10821></TABLE
10822><P
10823></P
10824></DIV
10825></DIV
10826><HR><DIV
10827CLASS="REFSECT2"
10828><A
10829NAME="AEN6266"
10830></A
10831><H3
10832><A
10833NAME="XMLSEARCHNS"
10834></A
10835>xmlSearchNs ()</H3
10836><TABLE
10837BORDER="0"
10838BGCOLOR="#D6E8FF"
10839WIDTH="100%"
10840CELLPADDING="6"
10841><TR
10842><TD
10843><PRE
10844CLASS="PROGRAMLISTING"
10845><A
10846HREF="libxml-tree.html#XMLNSPTR"
10847>xmlNsPtr</A
10848>    xmlSearchNs                     (<A
10849HREF="libxml-tree.html#XMLDOCPTR"
10850>xmlDocPtr</A
10851> doc,
10852                                             <A
10853HREF="libxml-tree.html#XMLNODEPTR"
10854>xmlNodePtr</A
10855> node,
10856                                             const <A
10857HREF="libxml-tree.html#XMLCHAR"
10858>xmlChar</A
10859> *nameSpace);</PRE
10860></TD
10861></TR
10862></TABLE
10863><P
10864>Search a Ns registered under a given name space for a document.
10865recurse on the parents until it finds the defined namespace
10866or return NULL otherwise.
10867<TT
10868CLASS="PARAMETER"
10869><I
10870>nameSpace</I
10871></TT
10872> can be NULL, this is a search for the default namespace.
10873We don't allow to cross entities boundaries. If you don't declare
10874the namespace within those you will be in troubles !!! A warning
10875is generated to cover this case.</P
10876><P
10877></P
10878><DIV
10879CLASS="INFORMALTABLE"
10880><A
10881NAME="AEN6277"
10882></A
10883><P
10884></P
10885><TABLE
10886BORDER="0"
10887WIDTH="100%"
10888BGCOLOR="#FFD0D0"
10889CELLSPACING="0"
10890CELLPADDING="4"
10891CLASS="CALSTABLE"
10892><TBODY
10893><TR
10894><TD
10895WIDTH="20%"
10896ALIGN="RIGHT"
10897VALIGN="TOP"
10898><TT
10899CLASS="PARAMETER"
10900><I
10901>doc</I
10902></TT
10903>&nbsp;:</TD
10904><TD
10905WIDTH="80%"
10906ALIGN="LEFT"
10907VALIGN="TOP"
10908>  the document</TD
10909></TR
10910><TR
10911><TD
10912WIDTH="20%"
10913ALIGN="RIGHT"
10914VALIGN="TOP"
10915><TT
10916CLASS="PARAMETER"
10917><I
10918>node</I
10919></TT
10920>&nbsp;:</TD
10921><TD
10922WIDTH="80%"
10923ALIGN="LEFT"
10924VALIGN="TOP"
10925>  the current node</TD
10926></TR
10927><TR
10928><TD
10929WIDTH="20%"
10930ALIGN="RIGHT"
10931VALIGN="TOP"
10932><TT
10933CLASS="PARAMETER"
10934><I
10935>nameSpace</I
10936></TT
10937>&nbsp;:</TD
10938><TD
10939WIDTH="80%"
10940ALIGN="LEFT"
10941VALIGN="TOP"
10942>  the namespace prefix</TD
10943></TR
10944><TR
10945><TD
10946WIDTH="20%"
10947ALIGN="RIGHT"
10948VALIGN="TOP"
10949><I
10950CLASS="EMPHASIS"
10951>Returns</I
10952> :</TD
10953><TD
10954WIDTH="80%"
10955ALIGN="LEFT"
10956VALIGN="TOP"
10957>the namespace pointer or NULL.</TD
10958></TR
10959></TBODY
10960></TABLE
10961><P
10962></P
10963></DIV
10964></DIV
10965><HR><DIV
10966CLASS="REFSECT2"
10967><A
10968NAME="AEN6298"
10969></A
10970><H3
10971><A
10972NAME="XMLSEARCHNSBYHREF"
10973></A
10974>xmlSearchNsByHref ()</H3
10975><TABLE
10976BORDER="0"
10977BGCOLOR="#D6E8FF"
10978WIDTH="100%"
10979CELLPADDING="6"
10980><TR
10981><TD
10982><PRE
10983CLASS="PROGRAMLISTING"
10984><A
10985HREF="libxml-tree.html#XMLNSPTR"
10986>xmlNsPtr</A
10987>    xmlSearchNsByHref               (<A
10988HREF="libxml-tree.html#XMLDOCPTR"
10989>xmlDocPtr</A
10990> doc,
10991                                             <A
10992HREF="libxml-tree.html#XMLNODEPTR"
10993>xmlNodePtr</A
10994> node,
10995                                             const <A
10996HREF="libxml-tree.html#XMLCHAR"
10997>xmlChar</A
10998> *href);</PRE
10999></TD
11000></TR
11001></TABLE
11002><P
11003>Search a Ns aliasing a given URI. Recurse on the parents until it finds
11004the defined namespace or return NULL otherwise.</P
11005><P
11006></P
11007><DIV
11008CLASS="INFORMALTABLE"
11009><A
11010NAME="AEN6308"
11011></A
11012><P
11013></P
11014><TABLE
11015BORDER="0"
11016WIDTH="100%"
11017BGCOLOR="#FFD0D0"
11018CELLSPACING="0"
11019CELLPADDING="4"
11020CLASS="CALSTABLE"
11021><TBODY
11022><TR
11023><TD
11024WIDTH="20%"
11025ALIGN="RIGHT"
11026VALIGN="TOP"
11027><TT
11028CLASS="PARAMETER"
11029><I
11030>doc</I
11031></TT
11032>&nbsp;:</TD
11033><TD
11034WIDTH="80%"
11035ALIGN="LEFT"
11036VALIGN="TOP"
11037>  the document</TD
11038></TR
11039><TR
11040><TD
11041WIDTH="20%"
11042ALIGN="RIGHT"
11043VALIGN="TOP"
11044><TT
11045CLASS="PARAMETER"
11046><I
11047>node</I
11048></TT
11049>&nbsp;:</TD
11050><TD
11051WIDTH="80%"
11052ALIGN="LEFT"
11053VALIGN="TOP"
11054>  the current node</TD
11055></TR
11056><TR
11057><TD
11058WIDTH="20%"
11059ALIGN="RIGHT"
11060VALIGN="TOP"
11061><TT
11062CLASS="PARAMETER"
11063><I
11064>href</I
11065></TT
11066>&nbsp;:</TD
11067><TD
11068WIDTH="80%"
11069ALIGN="LEFT"
11070VALIGN="TOP"
11071>  the namespace value</TD
11072></TR
11073><TR
11074><TD
11075WIDTH="20%"
11076ALIGN="RIGHT"
11077VALIGN="TOP"
11078><I
11079CLASS="EMPHASIS"
11080>Returns</I
11081> :</TD
11082><TD
11083WIDTH="80%"
11084ALIGN="LEFT"
11085VALIGN="TOP"
11086>the namespace pointer or NULL.</TD
11087></TR
11088></TBODY
11089></TABLE
11090><P
11091></P
11092></DIV
11093></DIV
11094><HR><DIV
11095CLASS="REFSECT2"
11096><A
11097NAME="AEN6329"
11098></A
11099><H3
11100><A
11101NAME="XMLGETNSLIST"
11102></A
11103>xmlGetNsList ()</H3
11104><TABLE
11105BORDER="0"
11106BGCOLOR="#D6E8FF"
11107WIDTH="100%"
11108CELLPADDING="6"
11109><TR
11110><TD
11111><PRE
11112CLASS="PROGRAMLISTING"
11113><A
11114HREF="libxml-tree.html#XMLNSPTR"
11115>xmlNsPtr</A
11116>*   xmlGetNsList                    (<A
11117HREF="libxml-tree.html#XMLDOCPTR"
11118>xmlDocPtr</A
11119> doc,
11120                                             <A
11121HREF="libxml-tree.html#XMLNODEPTR"
11122>xmlNodePtr</A
11123> node);</PRE
11124></TD
11125></TR
11126></TABLE
11127><P
11128>Search all the namespace applying to a given element.</P
11129><P
11130></P
11131><DIV
11132CLASS="INFORMALTABLE"
11133><A
11134NAME="AEN6338"
11135></A
11136><P
11137></P
11138><TABLE
11139BORDER="0"
11140WIDTH="100%"
11141BGCOLOR="#FFD0D0"
11142CELLSPACING="0"
11143CELLPADDING="4"
11144CLASS="CALSTABLE"
11145><TBODY
11146><TR
11147><TD
11148WIDTH="20%"
11149ALIGN="RIGHT"
11150VALIGN="TOP"
11151><TT
11152CLASS="PARAMETER"
11153><I
11154>doc</I
11155></TT
11156>&nbsp;:</TD
11157><TD
11158WIDTH="80%"
11159ALIGN="LEFT"
11160VALIGN="TOP"
11161>  the document</TD
11162></TR
11163><TR
11164><TD
11165WIDTH="20%"
11166ALIGN="RIGHT"
11167VALIGN="TOP"
11168><TT
11169CLASS="PARAMETER"
11170><I
11171>node</I
11172></TT
11173>&nbsp;:</TD
11174><TD
11175WIDTH="80%"
11176ALIGN="LEFT"
11177VALIGN="TOP"
11178>  the current node</TD
11179></TR
11180><TR
11181><TD
11182WIDTH="20%"
11183ALIGN="RIGHT"
11184VALIGN="TOP"
11185><I
11186CLASS="EMPHASIS"
11187>Returns</I
11188> :</TD
11189><TD
11190WIDTH="80%"
11191ALIGN="LEFT"
11192VALIGN="TOP"
11193>an NULL terminated array of all the xmlNsPtr found
11194that need to be freed by the caller or NULL if no
11195namespace if defined</TD
11196></TR
11197></TBODY
11198></TABLE
11199><P
11200></P
11201></DIV
11202></DIV
11203><HR><DIV
11204CLASS="REFSECT2"
11205><A
11206NAME="AEN6355"
11207></A
11208><H3
11209><A
11210NAME="XMLSETNS"
11211></A
11212>xmlSetNs ()</H3
11213><TABLE
11214BORDER="0"
11215BGCOLOR="#D6E8FF"
11216WIDTH="100%"
11217CELLPADDING="6"
11218><TR
11219><TD
11220><PRE
11221CLASS="PROGRAMLISTING"
11222>void        xmlSetNs                        (<A
11223HREF="libxml-tree.html#XMLNODEPTR"
11224>xmlNodePtr</A
11225> node,
11226                                             <A
11227HREF="libxml-tree.html#XMLNSPTR"
11228>xmlNsPtr</A
11229> ns);</PRE
11230></TD
11231></TR
11232></TABLE
11233><P
11234>Associate a namespace to a node, a posteriori.</P
11235><P
11236></P
11237><DIV
11238CLASS="INFORMALTABLE"
11239><A
11240NAME="AEN6363"
11241></A
11242><P
11243></P
11244><TABLE
11245BORDER="0"
11246WIDTH="100%"
11247BGCOLOR="#FFD0D0"
11248CELLSPACING="0"
11249CELLPADDING="4"
11250CLASS="CALSTABLE"
11251><TBODY
11252><TR
11253><TD
11254WIDTH="20%"
11255ALIGN="RIGHT"
11256VALIGN="TOP"
11257><TT
11258CLASS="PARAMETER"
11259><I
11260>node</I
11261></TT
11262>&nbsp;:</TD
11263><TD
11264WIDTH="80%"
11265ALIGN="LEFT"
11266VALIGN="TOP"
11267>  a node in the document</TD
11268></TR
11269><TR
11270><TD
11271WIDTH="20%"
11272ALIGN="RIGHT"
11273VALIGN="TOP"
11274><TT
11275CLASS="PARAMETER"
11276><I
11277>ns</I
11278></TT
11279>&nbsp;:</TD
11280><TD
11281WIDTH="80%"
11282ALIGN="LEFT"
11283VALIGN="TOP"
11284>  a namespace pointer</TD
11285></TR
11286></TBODY
11287></TABLE
11288><P
11289></P
11290></DIV
11291></DIV
11292><HR><DIV
11293CLASS="REFSECT2"
11294><A
11295NAME="AEN6376"
11296></A
11297><H3
11298><A
11299NAME="XMLCOPYNAMESPACE"
11300></A
11301>xmlCopyNamespace ()</H3
11302><TABLE
11303BORDER="0"
11304BGCOLOR="#D6E8FF"
11305WIDTH="100%"
11306CELLPADDING="6"
11307><TR
11308><TD
11309><PRE
11310CLASS="PROGRAMLISTING"
11311><A
11312HREF="libxml-tree.html#XMLNSPTR"
11313>xmlNsPtr</A
11314>    xmlCopyNamespace                (<A
11315HREF="libxml-tree.html#XMLNSPTR"
11316>xmlNsPtr</A
11317> cur);</PRE
11318></TD
11319></TR
11320></TABLE
11321><P
11322>Do a copy of the namespace.</P
11323><P
11324></P
11325><DIV
11326CLASS="INFORMALTABLE"
11327><A
11328NAME="AEN6384"
11329></A
11330><P
11331></P
11332><TABLE
11333BORDER="0"
11334WIDTH="100%"
11335BGCOLOR="#FFD0D0"
11336CELLSPACING="0"
11337CELLPADDING="4"
11338CLASS="CALSTABLE"
11339><TBODY
11340><TR
11341><TD
11342WIDTH="20%"
11343ALIGN="RIGHT"
11344VALIGN="TOP"
11345><TT
11346CLASS="PARAMETER"
11347><I
11348>cur</I
11349></TT
11350>&nbsp;:</TD
11351><TD
11352WIDTH="80%"
11353ALIGN="LEFT"
11354VALIGN="TOP"
11355>  the namespace</TD
11356></TR
11357><TR
11358><TD
11359WIDTH="20%"
11360ALIGN="RIGHT"
11361VALIGN="TOP"
11362><I
11363CLASS="EMPHASIS"
11364>Returns</I
11365> :</TD
11366><TD
11367WIDTH="80%"
11368ALIGN="LEFT"
11369VALIGN="TOP"
11370> a new xmlNsPtr, or NULL in case of error.</TD
11371></TR
11372></TBODY
11373></TABLE
11374><P
11375></P
11376></DIV
11377></DIV
11378><HR><DIV
11379CLASS="REFSECT2"
11380><A
11381NAME="AEN6397"
11382></A
11383><H3
11384><A
11385NAME="XMLCOPYNAMESPACELIST"
11386></A
11387>xmlCopyNamespaceList ()</H3
11388><TABLE
11389BORDER="0"
11390BGCOLOR="#D6E8FF"
11391WIDTH="100%"
11392CELLPADDING="6"
11393><TR
11394><TD
11395><PRE
11396CLASS="PROGRAMLISTING"
11397><A
11398HREF="libxml-tree.html#XMLNSPTR"
11399>xmlNsPtr</A
11400>    xmlCopyNamespaceList            (<A
11401HREF="libxml-tree.html#XMLNSPTR"
11402>xmlNsPtr</A
11403> cur);</PRE
11404></TD
11405></TR
11406></TABLE
11407><P
11408>Do a copy of an namespace list.</P
11409><P
11410></P
11411><DIV
11412CLASS="INFORMALTABLE"
11413><A
11414NAME="AEN6405"
11415></A
11416><P
11417></P
11418><TABLE
11419BORDER="0"
11420WIDTH="100%"
11421BGCOLOR="#FFD0D0"
11422CELLSPACING="0"
11423CELLPADDING="4"
11424CLASS="CALSTABLE"
11425><TBODY
11426><TR
11427><TD
11428WIDTH="20%"
11429ALIGN="RIGHT"
11430VALIGN="TOP"
11431><TT
11432CLASS="PARAMETER"
11433><I
11434>cur</I
11435></TT
11436>&nbsp;:</TD
11437><TD
11438WIDTH="80%"
11439ALIGN="LEFT"
11440VALIGN="TOP"
11441>  the first namespace</TD
11442></TR
11443><TR
11444><TD
11445WIDTH="20%"
11446ALIGN="RIGHT"
11447VALIGN="TOP"
11448><I
11449CLASS="EMPHASIS"
11450>Returns</I
11451> :</TD
11452><TD
11453WIDTH="80%"
11454ALIGN="LEFT"
11455VALIGN="TOP"
11456> a new xmlNsPtr, or NULL in case of error.</TD
11457></TR
11458></TBODY
11459></TABLE
11460><P
11461></P
11462></DIV
11463></DIV
11464><HR><DIV
11465CLASS="REFSECT2"
11466><A
11467NAME="AEN6418"
11468></A
11469><H3
11470><A
11471NAME="XMLSETPROP"
11472></A
11473>xmlSetProp ()</H3
11474><TABLE
11475BORDER="0"
11476BGCOLOR="#D6E8FF"
11477WIDTH="100%"
11478CELLPADDING="6"
11479><TR
11480><TD
11481><PRE
11482CLASS="PROGRAMLISTING"
11483><A
11484HREF="libxml-tree.html#XMLATTRPTR"
11485>xmlAttrPtr</A
11486>  xmlSetProp                      (<A
11487HREF="libxml-tree.html#XMLNODEPTR"
11488>xmlNodePtr</A
11489> node,
11490                                             const <A
11491HREF="libxml-tree.html#XMLCHAR"
11492>xmlChar</A
11493> *name,
11494                                             const <A
11495HREF="libxml-tree.html#XMLCHAR"
11496>xmlChar</A
11497> *value);</PRE
11498></TD
11499></TR
11500></TABLE
11501><P
11502>Set (or reset) an attribute carried by a node.</P
11503><P
11504></P
11505><DIV
11506CLASS="INFORMALTABLE"
11507><A
11508NAME="AEN6428"
11509></A
11510><P
11511></P
11512><TABLE
11513BORDER="0"
11514WIDTH="100%"
11515BGCOLOR="#FFD0D0"
11516CELLSPACING="0"
11517CELLPADDING="4"
11518CLASS="CALSTABLE"
11519><TBODY
11520><TR
11521><TD
11522WIDTH="20%"
11523ALIGN="RIGHT"
11524VALIGN="TOP"
11525><TT
11526CLASS="PARAMETER"
11527><I
11528>node</I
11529></TT
11530>&nbsp;:</TD
11531><TD
11532WIDTH="80%"
11533ALIGN="LEFT"
11534VALIGN="TOP"
11535>  the node</TD
11536></TR
11537><TR
11538><TD
11539WIDTH="20%"
11540ALIGN="RIGHT"
11541VALIGN="TOP"
11542><TT
11543CLASS="PARAMETER"
11544><I
11545>name</I
11546></TT
11547>&nbsp;:</TD
11548><TD
11549WIDTH="80%"
11550ALIGN="LEFT"
11551VALIGN="TOP"
11552>  the attribute name</TD
11553></TR
11554><TR
11555><TD
11556WIDTH="20%"
11557ALIGN="RIGHT"
11558VALIGN="TOP"
11559><TT
11560CLASS="PARAMETER"
11561><I
11562>value</I
11563></TT
11564>&nbsp;:</TD
11565><TD
11566WIDTH="80%"
11567ALIGN="LEFT"
11568VALIGN="TOP"
11569>  the attribute value</TD
11570></TR
11571><TR
11572><TD
11573WIDTH="20%"
11574ALIGN="RIGHT"
11575VALIGN="TOP"
11576><I
11577CLASS="EMPHASIS"
11578>Returns</I
11579> :</TD
11580><TD
11581WIDTH="80%"
11582ALIGN="LEFT"
11583VALIGN="TOP"
11584>the attribute pointer.</TD
11585></TR
11586></TBODY
11587></TABLE
11588><P
11589></P
11590></DIV
11591></DIV
11592><HR><DIV
11593CLASS="REFSECT2"
11594><A
11595NAME="AEN6449"
11596></A
11597><H3
11598><A
11599NAME="XMLGETPROP"
11600></A
11601>xmlGetProp ()</H3
11602><TABLE
11603BORDER="0"
11604BGCOLOR="#D6E8FF"
11605WIDTH="100%"
11606CELLPADDING="6"
11607><TR
11608><TD
11609><PRE
11610CLASS="PROGRAMLISTING"
11611><A
11612HREF="libxml-tree.html#XMLCHAR"
11613>xmlChar</A
11614>*    xmlGetProp                      (<A
11615HREF="libxml-tree.html#XMLNODEPTR"
11616>xmlNodePtr</A
11617> node,
11618                                             const <A
11619HREF="libxml-tree.html#XMLCHAR"
11620>xmlChar</A
11621> *name);</PRE
11622></TD
11623></TR
11624></TABLE
11625><P
11626>Search and get the value of an attribute associated to a node
11627This does the entity substitution.
11628This function looks in DTD attribute declaration for <GTKDOCLINK
11629HREF="FIXED-CAPS"
11630>FIXED</GTKDOCLINK
11631> or
11632default declaration values unless DTD use has been turned off.</P
11633><P
11634></P
11635><DIV
11636CLASS="INFORMALTABLE"
11637><A
11638NAME="AEN6459"
11639></A
11640><P
11641></P
11642><TABLE
11643BORDER="0"
11644WIDTH="100%"
11645BGCOLOR="#FFD0D0"
11646CELLSPACING="0"
11647CELLPADDING="4"
11648CLASS="CALSTABLE"
11649><TBODY
11650><TR
11651><TD
11652WIDTH="20%"
11653ALIGN="RIGHT"
11654VALIGN="TOP"
11655><TT
11656CLASS="PARAMETER"
11657><I
11658>node</I
11659></TT
11660>&nbsp;:</TD
11661><TD
11662WIDTH="80%"
11663ALIGN="LEFT"
11664VALIGN="TOP"
11665>  the node</TD
11666></TR
11667><TR
11668><TD
11669WIDTH="20%"
11670ALIGN="RIGHT"
11671VALIGN="TOP"
11672><TT
11673CLASS="PARAMETER"
11674><I
11675>name</I
11676></TT
11677>&nbsp;:</TD
11678><TD
11679WIDTH="80%"
11680ALIGN="LEFT"
11681VALIGN="TOP"
11682>  the attribute name</TD
11683></TR
11684><TR
11685><TD
11686WIDTH="20%"
11687ALIGN="RIGHT"
11688VALIGN="TOP"
11689><I
11690CLASS="EMPHASIS"
11691>Returns</I
11692> :</TD
11693><TD
11694WIDTH="80%"
11695ALIGN="LEFT"
11696VALIGN="TOP"
11697>the attribute value or NULL if not found.
11698It's up to the caller to free the memory.</TD
11699></TR
11700></TBODY
11701></TABLE
11702><P
11703></P
11704></DIV
11705></DIV
11706><HR><DIV
11707CLASS="REFSECT2"
11708><A
11709NAME="AEN6476"
11710></A
11711><H3
11712><A
11713NAME="XMLHASPROP"
11714></A
11715>xmlHasProp ()</H3
11716><TABLE
11717BORDER="0"
11718BGCOLOR="#D6E8FF"
11719WIDTH="100%"
11720CELLPADDING="6"
11721><TR
11722><TD
11723><PRE
11724CLASS="PROGRAMLISTING"
11725><A
11726HREF="libxml-tree.html#XMLATTRPTR"
11727>xmlAttrPtr</A
11728>  xmlHasProp                      (<A
11729HREF="libxml-tree.html#XMLNODEPTR"
11730>xmlNodePtr</A
11731> node,
11732                                             const <A
11733HREF="libxml-tree.html#XMLCHAR"
11734>xmlChar</A
11735> *name);</PRE
11736></TD
11737></TR
11738></TABLE
11739><P
11740>Search an attribute associated to a node
11741This function also looks in DTD attribute declaration for <GTKDOCLINK
11742HREF="FIXED-CAPS"
11743>FIXED</GTKDOCLINK
11744> or
11745default declaration values unless DTD use has been turned off.</P
11746><P
11747></P
11748><DIV
11749CLASS="INFORMALTABLE"
11750><A
11751NAME="AEN6486"
11752></A
11753><P
11754></P
11755><TABLE
11756BORDER="0"
11757WIDTH="100%"
11758BGCOLOR="#FFD0D0"
11759CELLSPACING="0"
11760CELLPADDING="4"
11761CLASS="CALSTABLE"
11762><TBODY
11763><TR
11764><TD
11765WIDTH="20%"
11766ALIGN="RIGHT"
11767VALIGN="TOP"
11768><TT
11769CLASS="PARAMETER"
11770><I
11771>node</I
11772></TT
11773>&nbsp;:</TD
11774><TD
11775WIDTH="80%"
11776ALIGN="LEFT"
11777VALIGN="TOP"
11778>  the node</TD
11779></TR
11780><TR
11781><TD
11782WIDTH="20%"
11783ALIGN="RIGHT"
11784VALIGN="TOP"
11785><TT
11786CLASS="PARAMETER"
11787><I
11788>name</I
11789></TT
11790>&nbsp;:</TD
11791><TD
11792WIDTH="80%"
11793ALIGN="LEFT"
11794VALIGN="TOP"
11795>  the attribute name</TD
11796></TR
11797><TR
11798><TD
11799WIDTH="20%"
11800ALIGN="RIGHT"
11801VALIGN="TOP"
11802><I
11803CLASS="EMPHASIS"
11804>Returns</I
11805> :</TD
11806><TD
11807WIDTH="80%"
11808ALIGN="LEFT"
11809VALIGN="TOP"
11810>the attribute or the attribute declaration or NULL if 
11811neither was found.</TD
11812></TR
11813></TBODY
11814></TABLE
11815><P
11816></P
11817></DIV
11818></DIV
11819><HR><DIV
11820CLASS="REFSECT2"
11821><A
11822NAME="AEN6503"
11823></A
11824><H3
11825><A
11826NAME="XMLHASNSPROP"
11827></A
11828>xmlHasNsProp ()</H3
11829><TABLE
11830BORDER="0"
11831BGCOLOR="#D6E8FF"
11832WIDTH="100%"
11833CELLPADDING="6"
11834><TR
11835><TD
11836><PRE
11837CLASS="PROGRAMLISTING"
11838><A
11839HREF="libxml-tree.html#XMLATTRPTR"
11840>xmlAttrPtr</A
11841>  xmlHasNsProp                    (<A
11842HREF="libxml-tree.html#XMLNODEPTR"
11843>xmlNodePtr</A
11844> node,
11845                                             const <A
11846HREF="libxml-tree.html#XMLCHAR"
11847>xmlChar</A
11848> *name,
11849                                             const <A
11850HREF="libxml-tree.html#XMLCHAR"
11851>xmlChar</A
11852> *nameSpace);</PRE
11853></TD
11854></TR
11855></TABLE
11856><P
11857>Search for an attribute associated to a node
11858This attribute has to be anchored in the namespace specified.
11859This does the entity substitution.
11860This function looks in DTD attribute declaration for <GTKDOCLINK
11861HREF="FIXED-CAPS"
11862>FIXED</GTKDOCLINK
11863> or
11864default declaration values unless DTD use has been turned off.</P
11865><P
11866></P
11867><DIV
11868CLASS="INFORMALTABLE"
11869><A
11870NAME="AEN6514"
11871></A
11872><P
11873></P
11874><TABLE
11875BORDER="0"
11876WIDTH="100%"
11877BGCOLOR="#FFD0D0"
11878CELLSPACING="0"
11879CELLPADDING="4"
11880CLASS="CALSTABLE"
11881><TBODY
11882><TR
11883><TD
11884WIDTH="20%"
11885ALIGN="RIGHT"
11886VALIGN="TOP"
11887><TT
11888CLASS="PARAMETER"
11889><I
11890>node</I
11891></TT
11892>&nbsp;:</TD
11893><TD
11894WIDTH="80%"
11895ALIGN="LEFT"
11896VALIGN="TOP"
11897>  the node</TD
11898></TR
11899><TR
11900><TD
11901WIDTH="20%"
11902ALIGN="RIGHT"
11903VALIGN="TOP"
11904><TT
11905CLASS="PARAMETER"
11906><I
11907>name</I
11908></TT
11909>&nbsp;:</TD
11910><TD
11911WIDTH="80%"
11912ALIGN="LEFT"
11913VALIGN="TOP"
11914>  the attribute name</TD
11915></TR
11916><TR
11917><TD
11918WIDTH="20%"
11919ALIGN="RIGHT"
11920VALIGN="TOP"
11921><TT
11922CLASS="PARAMETER"
11923><I
11924>nameSpace</I
11925></TT
11926>&nbsp;:</TD
11927><TD
11928WIDTH="80%"
11929ALIGN="LEFT"
11930VALIGN="TOP"
11931>  the URI of the namespace</TD
11932></TR
11933><TR
11934><TD
11935WIDTH="20%"
11936ALIGN="RIGHT"
11937VALIGN="TOP"
11938><I
11939CLASS="EMPHASIS"
11940>Returns</I
11941> :</TD
11942><TD
11943WIDTH="80%"
11944ALIGN="LEFT"
11945VALIGN="TOP"
11946>the attribute or the attribute declaration or NULL
11947if neither was found.</TD
11948></TR
11949></TBODY
11950></TABLE
11951><P
11952></P
11953></DIV
11954></DIV
11955><HR><DIV
11956CLASS="REFSECT2"
11957><A
11958NAME="AEN6535"
11959></A
11960><H3
11961><A
11962NAME="XMLSETNSPROP"
11963></A
11964>xmlSetNsProp ()</H3
11965><TABLE
11966BORDER="0"
11967BGCOLOR="#D6E8FF"
11968WIDTH="100%"
11969CELLPADDING="6"
11970><TR
11971><TD
11972><PRE
11973CLASS="PROGRAMLISTING"
11974><A
11975HREF="libxml-tree.html#XMLATTRPTR"
11976>xmlAttrPtr</A
11977>  xmlSetNsProp                    (<A
11978HREF="libxml-tree.html#XMLNODEPTR"
11979>xmlNodePtr</A
11980> node,
11981                                             <A
11982HREF="libxml-tree.html#XMLNSPTR"
11983>xmlNsPtr</A
11984> ns,
11985                                             const <A
11986HREF="libxml-tree.html#XMLCHAR"
11987>xmlChar</A
11988> *name,
11989                                             const <A
11990HREF="libxml-tree.html#XMLCHAR"
11991>xmlChar</A
11992> *value);</PRE
11993></TD
11994></TR
11995></TABLE
11996><P
11997>Set (or reset) an attribute carried by a node.
11998The ns structure must be in scope, this is not checked.</P
11999><P
12000></P
12001><DIV
12002CLASS="INFORMALTABLE"
12003><A
12004NAME="AEN6546"
12005></A
12006><P
12007></P
12008><TABLE
12009BORDER="0"
12010WIDTH="100%"
12011BGCOLOR="#FFD0D0"
12012CELLSPACING="0"
12013CELLPADDING="4"
12014CLASS="CALSTABLE"
12015><TBODY
12016><TR
12017><TD
12018WIDTH="20%"
12019ALIGN="RIGHT"
12020VALIGN="TOP"
12021><TT
12022CLASS="PARAMETER"
12023><I
12024>node</I
12025></TT
12026>&nbsp;:</TD
12027><TD
12028WIDTH="80%"
12029ALIGN="LEFT"
12030VALIGN="TOP"
12031>  the node</TD
12032></TR
12033><TR
12034><TD
12035WIDTH="20%"
12036ALIGN="RIGHT"
12037VALIGN="TOP"
12038><TT
12039CLASS="PARAMETER"
12040><I
12041>ns</I
12042></TT
12043>&nbsp;:</TD
12044><TD
12045WIDTH="80%"
12046ALIGN="LEFT"
12047VALIGN="TOP"
12048>  the namespace definition</TD
12049></TR
12050><TR
12051><TD
12052WIDTH="20%"
12053ALIGN="RIGHT"
12054VALIGN="TOP"
12055><TT
12056CLASS="PARAMETER"
12057><I
12058>name</I
12059></TT
12060>&nbsp;:</TD
12061><TD
12062WIDTH="80%"
12063ALIGN="LEFT"
12064VALIGN="TOP"
12065>  the attribute name</TD
12066></TR
12067><TR
12068><TD
12069WIDTH="20%"
12070ALIGN="RIGHT"
12071VALIGN="TOP"
12072><TT
12073CLASS="PARAMETER"
12074><I
12075>value</I
12076></TT
12077>&nbsp;:</TD
12078><TD
12079WIDTH="80%"
12080ALIGN="LEFT"
12081VALIGN="TOP"
12082>  the attribute value</TD
12083></TR
12084><TR
12085><TD
12086WIDTH="20%"
12087ALIGN="RIGHT"
12088VALIGN="TOP"
12089><I
12090CLASS="EMPHASIS"
12091>Returns</I
12092> :</TD
12093><TD
12094WIDTH="80%"
12095ALIGN="LEFT"
12096VALIGN="TOP"
12097>the attribute pointer.</TD
12098></TR
12099></TBODY
12100></TABLE
12101><P
12102></P
12103></DIV
12104></DIV
12105><HR><DIV
12106CLASS="REFSECT2"
12107><A
12108NAME="AEN6571"
12109></A
12110><H3
12111><A
12112NAME="XMLGETNSPROP"
12113></A
12114>xmlGetNsProp ()</H3
12115><TABLE
12116BORDER="0"
12117BGCOLOR="#D6E8FF"
12118WIDTH="100%"
12119CELLPADDING="6"
12120><TR
12121><TD
12122><PRE
12123CLASS="PROGRAMLISTING"
12124><A
12125HREF="libxml-tree.html#XMLCHAR"
12126>xmlChar</A
12127>*    xmlGetNsProp                    (<A
12128HREF="libxml-tree.html#XMLNODEPTR"
12129>xmlNodePtr</A
12130> node,
12131                                             const <A
12132HREF="libxml-tree.html#XMLCHAR"
12133>xmlChar</A
12134> *name,
12135                                             const <A
12136HREF="libxml-tree.html#XMLCHAR"
12137>xmlChar</A
12138> *nameSpace);</PRE
12139></TD
12140></TR
12141></TABLE
12142><P
12143>Search and get the value of an attribute associated to a node
12144This attribute has to be anchored in the namespace specified.
12145This does the entity substitution.
12146This function looks in DTD attribute declaration for <GTKDOCLINK
12147HREF="FIXED-CAPS"
12148>FIXED</GTKDOCLINK
12149> or
12150default declaration values unless DTD use has been turned off.</P
12151><P
12152></P
12153><DIV
12154CLASS="INFORMALTABLE"
12155><A
12156NAME="AEN6582"
12157></A
12158><P
12159></P
12160><TABLE
12161BORDER="0"
12162WIDTH="100%"
12163BGCOLOR="#FFD0D0"
12164CELLSPACING="0"
12165CELLPADDING="4"
12166CLASS="CALSTABLE"
12167><TBODY
12168><TR
12169><TD
12170WIDTH="20%"
12171ALIGN="RIGHT"
12172VALIGN="TOP"
12173><TT
12174CLASS="PARAMETER"
12175><I
12176>node</I
12177></TT
12178>&nbsp;:</TD
12179><TD
12180WIDTH="80%"
12181ALIGN="LEFT"
12182VALIGN="TOP"
12183>  the node</TD
12184></TR
12185><TR
12186><TD
12187WIDTH="20%"
12188ALIGN="RIGHT"
12189VALIGN="TOP"
12190><TT
12191CLASS="PARAMETER"
12192><I
12193>name</I
12194></TT
12195>&nbsp;:</TD
12196><TD
12197WIDTH="80%"
12198ALIGN="LEFT"
12199VALIGN="TOP"
12200>  the attribute name</TD
12201></TR
12202><TR
12203><TD
12204WIDTH="20%"
12205ALIGN="RIGHT"
12206VALIGN="TOP"
12207><TT
12208CLASS="PARAMETER"
12209><I
12210>nameSpace</I
12211></TT
12212>&nbsp;:</TD
12213><TD
12214WIDTH="80%"
12215ALIGN="LEFT"
12216VALIGN="TOP"
12217>  the URI of the namespace</TD
12218></TR
12219><TR
12220><TD
12221WIDTH="20%"
12222ALIGN="RIGHT"
12223VALIGN="TOP"
12224><I
12225CLASS="EMPHASIS"
12226>Returns</I
12227> :</TD
12228><TD
12229WIDTH="80%"
12230ALIGN="LEFT"
12231VALIGN="TOP"
12232>the attribute value or NULL if not found.
12233It's up to the caller to free the memory.</TD
12234></TR
12235></TBODY
12236></TABLE
12237><P
12238></P
12239></DIV
12240></DIV
12241><HR><DIV
12242CLASS="REFSECT2"
12243><A
12244NAME="AEN6603"
12245></A
12246><H3
12247><A
12248NAME="XMLSTRINGGETNODELIST"
12249></A
12250>xmlStringGetNodeList ()</H3
12251><TABLE
12252BORDER="0"
12253BGCOLOR="#D6E8FF"
12254WIDTH="100%"
12255CELLPADDING="6"
12256><TR
12257><TD
12258><PRE
12259CLASS="PROGRAMLISTING"
12260><A
12261HREF="libxml-tree.html#XMLNODEPTR"
12262>xmlNodePtr</A
12263>  xmlStringGetNodeList            (<A
12264HREF="libxml-tree.html#XMLDOCPTR"
12265>xmlDocPtr</A
12266> doc,
12267                                             const <A
12268HREF="libxml-tree.html#XMLCHAR"
12269>xmlChar</A
12270> *value);</PRE
12271></TD
12272></TR
12273></TABLE
12274><P
12275>Parse the value string and build the node list associated. Should
12276produce a flat tree with only TEXTs and ENTITY_REFs.</P
12277><P
12278></P
12279><DIV
12280CLASS="INFORMALTABLE"
12281><A
12282NAME="AEN6612"
12283></A
12284><P
12285></P
12286><TABLE
12287BORDER="0"
12288WIDTH="100%"
12289BGCOLOR="#FFD0D0"
12290CELLSPACING="0"
12291CELLPADDING="4"
12292CLASS="CALSTABLE"
12293><TBODY
12294><TR
12295><TD
12296WIDTH="20%"
12297ALIGN="RIGHT"
12298VALIGN="TOP"
12299><TT
12300CLASS="PARAMETER"
12301><I
12302>doc</I
12303></TT
12304>&nbsp;:</TD
12305><TD
12306WIDTH="80%"
12307ALIGN="LEFT"
12308VALIGN="TOP"
12309>  the document</TD
12310></TR
12311><TR
12312><TD
12313WIDTH="20%"
12314ALIGN="RIGHT"
12315VALIGN="TOP"
12316><TT
12317CLASS="PARAMETER"
12318><I
12319>value</I
12320></TT
12321>&nbsp;:</TD
12322><TD
12323WIDTH="80%"
12324ALIGN="LEFT"
12325VALIGN="TOP"
12326>  the value of the attribute</TD
12327></TR
12328><TR
12329><TD
12330WIDTH="20%"
12331ALIGN="RIGHT"
12332VALIGN="TOP"
12333><I
12334CLASS="EMPHASIS"
12335>Returns</I
12336> :</TD
12337><TD
12338WIDTH="80%"
12339ALIGN="LEFT"
12340VALIGN="TOP"
12341>a pointer to the first child</TD
12342></TR
12343></TBODY
12344></TABLE
12345><P
12346></P
12347></DIV
12348></DIV
12349><HR><DIV
12350CLASS="REFSECT2"
12351><A
12352NAME="AEN6629"
12353></A
12354><H3
12355><A
12356NAME="XMLSTRINGLENGETNODELIST"
12357></A
12358>xmlStringLenGetNodeList ()</H3
12359><TABLE
12360BORDER="0"
12361BGCOLOR="#D6E8FF"
12362WIDTH="100%"
12363CELLPADDING="6"
12364><TR
12365><TD
12366><PRE
12367CLASS="PROGRAMLISTING"
12368><A
12369HREF="libxml-tree.html#XMLNODEPTR"
12370>xmlNodePtr</A
12371>  xmlStringLenGetNodeList         (<A
12372HREF="libxml-tree.html#XMLDOCPTR"
12373>xmlDocPtr</A
12374> doc,
12375                                             const <A
12376HREF="libxml-tree.html#XMLCHAR"
12377>xmlChar</A
12378> *value,
12379                                             int len);</PRE
12380></TD
12381></TR
12382></TABLE
12383><P
12384>Parse the value string and build the node list associated. Should
12385produce a flat tree with only TEXTs and ENTITY_REFs.</P
12386><P
12387></P
12388><DIV
12389CLASS="INFORMALTABLE"
12390><A
12391NAME="AEN6638"
12392></A
12393><P
12394></P
12395><TABLE
12396BORDER="0"
12397WIDTH="100%"
12398BGCOLOR="#FFD0D0"
12399CELLSPACING="0"
12400CELLPADDING="4"
12401CLASS="CALSTABLE"
12402><TBODY
12403><TR
12404><TD
12405WIDTH="20%"
12406ALIGN="RIGHT"
12407VALIGN="TOP"
12408><TT
12409CLASS="PARAMETER"
12410><I
12411>doc</I
12412></TT
12413>&nbsp;:</TD
12414><TD
12415WIDTH="80%"
12416ALIGN="LEFT"
12417VALIGN="TOP"
12418>  the document</TD
12419></TR
12420><TR
12421><TD
12422WIDTH="20%"
12423ALIGN="RIGHT"
12424VALIGN="TOP"
12425><TT
12426CLASS="PARAMETER"
12427><I
12428>value</I
12429></TT
12430>&nbsp;:</TD
12431><TD
12432WIDTH="80%"
12433ALIGN="LEFT"
12434VALIGN="TOP"
12435>  the value of the text</TD
12436></TR
12437><TR
12438><TD
12439WIDTH="20%"
12440ALIGN="RIGHT"
12441VALIGN="TOP"
12442><TT
12443CLASS="PARAMETER"
12444><I
12445>len</I
12446></TT
12447>&nbsp;:</TD
12448><TD
12449WIDTH="80%"
12450ALIGN="LEFT"
12451VALIGN="TOP"
12452>  the length of the string value</TD
12453></TR
12454><TR
12455><TD
12456WIDTH="20%"
12457ALIGN="RIGHT"
12458VALIGN="TOP"
12459><I
12460CLASS="EMPHASIS"
12461>Returns</I
12462> :</TD
12463><TD
12464WIDTH="80%"
12465ALIGN="LEFT"
12466VALIGN="TOP"
12467>a pointer to the first child</TD
12468></TR
12469></TBODY
12470></TABLE
12471><P
12472></P
12473></DIV
12474></DIV
12475><HR><DIV
12476CLASS="REFSECT2"
12477><A
12478NAME="AEN6659"
12479></A
12480><H3
12481><A
12482NAME="XMLNODELISTGETSTRING"
12483></A
12484>xmlNodeListGetString ()</H3
12485><TABLE
12486BORDER="0"
12487BGCOLOR="#D6E8FF"
12488WIDTH="100%"
12489CELLPADDING="6"
12490><TR
12491><TD
12492><PRE
12493CLASS="PROGRAMLISTING"
12494><A
12495HREF="libxml-tree.html#XMLCHAR"
12496>xmlChar</A
12497>*    xmlNodeListGetString            (<A
12498HREF="libxml-tree.html#XMLDOCPTR"
12499>xmlDocPtr</A
12500> doc,
12501                                             <A
12502HREF="libxml-tree.html#XMLNODEPTR"
12503>xmlNodePtr</A
12504> list,
12505                                             int inLine);</PRE
12506></TD
12507></TR
12508></TABLE
12509><P
12510>Returns the string equivalent to the text contained in the Node list
12511made of TEXTs and ENTITY_REFs</P
12512><P
12513></P
12514><DIV
12515CLASS="INFORMALTABLE"
12516><A
12517NAME="AEN6668"
12518></A
12519><P
12520></P
12521><TABLE
12522BORDER="0"
12523WIDTH="100%"
12524BGCOLOR="#FFD0D0"
12525CELLSPACING="0"
12526CELLPADDING="4"
12527CLASS="CALSTABLE"
12528><TBODY
12529><TR
12530><TD
12531WIDTH="20%"
12532ALIGN="RIGHT"
12533VALIGN="TOP"
12534><TT
12535CLASS="PARAMETER"
12536><I
12537>doc</I
12538></TT
12539>&nbsp;:</TD
12540><TD
12541WIDTH="80%"
12542ALIGN="LEFT"
12543VALIGN="TOP"
12544>  the document</TD
12545></TR
12546><TR
12547><TD
12548WIDTH="20%"
12549ALIGN="RIGHT"
12550VALIGN="TOP"
12551><TT
12552CLASS="PARAMETER"
12553><I
12554>list</I
12555></TT
12556>&nbsp;:</TD
12557><TD
12558WIDTH="80%"
12559ALIGN="LEFT"
12560VALIGN="TOP"
12561>  a Node list</TD
12562></TR
12563><TR
12564><TD
12565WIDTH="20%"
12566ALIGN="RIGHT"
12567VALIGN="TOP"
12568><TT
12569CLASS="PARAMETER"
12570><I
12571>inLine</I
12572></TT
12573>&nbsp;:</TD
12574><TD
12575WIDTH="80%"
12576ALIGN="LEFT"
12577VALIGN="TOP"
12578>  should we replace entity contents or show their external form</TD
12579></TR
12580><TR
12581><TD
12582WIDTH="20%"
12583ALIGN="RIGHT"
12584VALIGN="TOP"
12585><I
12586CLASS="EMPHASIS"
12587>Returns</I
12588> :</TD
12589><TD
12590WIDTH="80%"
12591ALIGN="LEFT"
12592VALIGN="TOP"
12593>a pointer to the string copy, the calller must free it.</TD
12594></TR
12595></TBODY
12596></TABLE
12597><P
12598></P
12599></DIV
12600></DIV
12601><HR><DIV
12602CLASS="REFSECT2"
12603><A
12604NAME="AEN6689"
12605></A
12606><H3
12607><A
12608NAME="XMLNODELISTGETRAWSTRING"
12609></A
12610>xmlNodeListGetRawString ()</H3
12611><TABLE
12612BORDER="0"
12613BGCOLOR="#D6E8FF"
12614WIDTH="100%"
12615CELLPADDING="6"
12616><TR
12617><TD
12618><PRE
12619CLASS="PROGRAMLISTING"
12620><A
12621HREF="libxml-tree.html#XMLCHAR"
12622>xmlChar</A
12623>*    xmlNodeListGetRawString         (<A
12624HREF="libxml-tree.html#XMLDOCPTR"
12625>xmlDocPtr</A
12626> doc,
12627                                             <A
12628HREF="libxml-tree.html#XMLNODEPTR"
12629>xmlNodePtr</A
12630> list,
12631                                             int inLine);</PRE
12632></TD
12633></TR
12634></TABLE
12635><P
12636>Returns the string equivalent to the text contained in the Node list
12637made of TEXTs and ENTITY_REFs, contrary to <A
12638HREF="libxml-tree.html#XMLNODELISTGETSTRING"
12639>xmlNodeListGetString</A
12640>()
12641this function doesn't do any character encoding handling.</P
12642><P
12643></P
12644><DIV
12645CLASS="INFORMALTABLE"
12646><A
12647NAME="AEN6699"
12648></A
12649><P
12650></P
12651><TABLE
12652BORDER="0"
12653WIDTH="100%"
12654BGCOLOR="#FFD0D0"
12655CELLSPACING="0"
12656CELLPADDING="4"
12657CLASS="CALSTABLE"
12658><TBODY
12659><TR
12660><TD
12661WIDTH="20%"
12662ALIGN="RIGHT"
12663VALIGN="TOP"
12664><TT
12665CLASS="PARAMETER"
12666><I
12667>doc</I
12668></TT
12669>&nbsp;:</TD
12670><TD
12671WIDTH="80%"
12672ALIGN="LEFT"
12673VALIGN="TOP"
12674>  the document</TD
12675></TR
12676><TR
12677><TD
12678WIDTH="20%"
12679ALIGN="RIGHT"
12680VALIGN="TOP"
12681><TT
12682CLASS="PARAMETER"
12683><I
12684>list</I
12685></TT
12686>&nbsp;:</TD
12687><TD
12688WIDTH="80%"
12689ALIGN="LEFT"
12690VALIGN="TOP"
12691>  a Node list</TD
12692></TR
12693><TR
12694><TD
12695WIDTH="20%"
12696ALIGN="RIGHT"
12697VALIGN="TOP"
12698><TT
12699CLASS="PARAMETER"
12700><I
12701>inLine</I
12702></TT
12703>&nbsp;:</TD
12704><TD
12705WIDTH="80%"
12706ALIGN="LEFT"
12707VALIGN="TOP"
12708>  should we replace entity contents or show their external form</TD
12709></TR
12710><TR
12711><TD
12712WIDTH="20%"
12713ALIGN="RIGHT"
12714VALIGN="TOP"
12715><I
12716CLASS="EMPHASIS"
12717>Returns</I
12718> :</TD
12719><TD
12720WIDTH="80%"
12721ALIGN="LEFT"
12722VALIGN="TOP"
12723>a pointer to the string copy, the calller must free it.</TD
12724></TR
12725></TBODY
12726></TABLE
12727><P
12728></P
12729></DIV
12730></DIV
12731><HR><DIV
12732CLASS="REFSECT2"
12733><A
12734NAME="AEN6720"
12735></A
12736><H3
12737><A
12738NAME="XMLNODESETCONTENT"
12739></A
12740>xmlNodeSetContent ()</H3
12741><TABLE
12742BORDER="0"
12743BGCOLOR="#D6E8FF"
12744WIDTH="100%"
12745CELLPADDING="6"
12746><TR
12747><TD
12748><PRE
12749CLASS="PROGRAMLISTING"
12750>void        xmlNodeSetContent               (<A
12751HREF="libxml-tree.html#XMLNODEPTR"
12752>xmlNodePtr</A
12753> cur,
12754                                             const <A
12755HREF="libxml-tree.html#XMLCHAR"
12756>xmlChar</A
12757> *content);</PRE
12758></TD
12759></TR
12760></TABLE
12761><P
12762>Replace the content of a node.</P
12763><P
12764></P
12765><DIV
12766CLASS="INFORMALTABLE"
12767><A
12768NAME="AEN6728"
12769></A
12770><P
12771></P
12772><TABLE
12773BORDER="0"
12774WIDTH="100%"
12775BGCOLOR="#FFD0D0"
12776CELLSPACING="0"
12777CELLPADDING="4"
12778CLASS="CALSTABLE"
12779><TBODY
12780><TR
12781><TD
12782WIDTH="20%"
12783ALIGN="RIGHT"
12784VALIGN="TOP"
12785><TT
12786CLASS="PARAMETER"
12787><I
12788>cur</I
12789></TT
12790>&nbsp;:</TD
12791><TD
12792WIDTH="80%"
12793ALIGN="LEFT"
12794VALIGN="TOP"
12795>  the node being modified</TD
12796></TR
12797><TR
12798><TD
12799WIDTH="20%"
12800ALIGN="RIGHT"
12801VALIGN="TOP"
12802><TT
12803CLASS="PARAMETER"
12804><I
12805>content</I
12806></TT
12807>&nbsp;:</TD
12808><TD
12809WIDTH="80%"
12810ALIGN="LEFT"
12811VALIGN="TOP"
12812>  the new value of the content</TD
12813></TR
12814></TBODY
12815></TABLE
12816><P
12817></P
12818></DIV
12819></DIV
12820><HR><DIV
12821CLASS="REFSECT2"
12822><A
12823NAME="AEN6741"
12824></A
12825><H3
12826><A
12827NAME="XMLNODESETCONTENTLEN"
12828></A
12829>xmlNodeSetContentLen ()</H3
12830><TABLE
12831BORDER="0"
12832BGCOLOR="#D6E8FF"
12833WIDTH="100%"
12834CELLPADDING="6"
12835><TR
12836><TD
12837><PRE
12838CLASS="PROGRAMLISTING"
12839>void        xmlNodeSetContentLen            (<A
12840HREF="libxml-tree.html#XMLNODEPTR"
12841>xmlNodePtr</A
12842> cur,
12843                                             const <A
12844HREF="libxml-tree.html#XMLCHAR"
12845>xmlChar</A
12846> *content,
12847                                             int len);</PRE
12848></TD
12849></TR
12850></TABLE
12851><P
12852>Replace the content of a node.</P
12853><P
12854></P
12855><DIV
12856CLASS="INFORMALTABLE"
12857><A
12858NAME="AEN6749"
12859></A
12860><P
12861></P
12862><TABLE
12863BORDER="0"
12864WIDTH="100%"
12865BGCOLOR="#FFD0D0"
12866CELLSPACING="0"
12867CELLPADDING="4"
12868CLASS="CALSTABLE"
12869><TBODY
12870><TR
12871><TD
12872WIDTH="20%"
12873ALIGN="RIGHT"
12874VALIGN="TOP"
12875><TT
12876CLASS="PARAMETER"
12877><I
12878>cur</I
12879></TT
12880>&nbsp;:</TD
12881><TD
12882WIDTH="80%"
12883ALIGN="LEFT"
12884VALIGN="TOP"
12885>  the node being modified</TD
12886></TR
12887><TR
12888><TD
12889WIDTH="20%"
12890ALIGN="RIGHT"
12891VALIGN="TOP"
12892><TT
12893CLASS="PARAMETER"
12894><I
12895>content</I
12896></TT
12897>&nbsp;:</TD
12898><TD
12899WIDTH="80%"
12900ALIGN="LEFT"
12901VALIGN="TOP"
12902>  the new value of the content</TD
12903></TR
12904><TR
12905><TD
12906WIDTH="20%"
12907ALIGN="RIGHT"
12908VALIGN="TOP"
12909><TT
12910CLASS="PARAMETER"
12911><I
12912>len</I
12913></TT
12914>&nbsp;:</TD
12915><TD
12916WIDTH="80%"
12917ALIGN="LEFT"
12918VALIGN="TOP"
12919>  the size of <TT
12920CLASS="PARAMETER"
12921><I
12922>content</I
12923></TT
12924></TD
12925></TR
12926></TBODY
12927></TABLE
12928><P
12929></P
12930></DIV
12931></DIV
12932><HR><DIV
12933CLASS="REFSECT2"
12934><A
12935NAME="AEN6767"
12936></A
12937><H3
12938><A
12939NAME="XMLNODEADDCONTENT"
12940></A
12941>xmlNodeAddContent ()</H3
12942><TABLE
12943BORDER="0"
12944BGCOLOR="#D6E8FF"
12945WIDTH="100%"
12946CELLPADDING="6"
12947><TR
12948><TD
12949><PRE
12950CLASS="PROGRAMLISTING"
12951>void        xmlNodeAddContent               (<A
12952HREF="libxml-tree.html#XMLNODEPTR"
12953>xmlNodePtr</A
12954> cur,
12955                                             const <A
12956HREF="libxml-tree.html#XMLCHAR"
12957>xmlChar</A
12958> *content);</PRE
12959></TD
12960></TR
12961></TABLE
12962><P
12963>Append the extra substring to the node content.</P
12964><P
12965></P
12966><DIV
12967CLASS="INFORMALTABLE"
12968><A
12969NAME="AEN6775"
12970></A
12971><P
12972></P
12973><TABLE
12974BORDER="0"
12975WIDTH="100%"
12976BGCOLOR="#FFD0D0"
12977CELLSPACING="0"
12978CELLPADDING="4"
12979CLASS="CALSTABLE"
12980><TBODY
12981><TR
12982><TD
12983WIDTH="20%"
12984ALIGN="RIGHT"
12985VALIGN="TOP"
12986><TT
12987CLASS="PARAMETER"
12988><I
12989>cur</I
12990></TT
12991>&nbsp;:</TD
12992><TD
12993WIDTH="80%"
12994ALIGN="LEFT"
12995VALIGN="TOP"
12996>  the node being modified</TD
12997></TR
12998><TR
12999><TD
13000WIDTH="20%"
13001ALIGN="RIGHT"
13002VALIGN="TOP"
13003><TT
13004CLASS="PARAMETER"
13005><I
13006>content</I
13007></TT
13008>&nbsp;:</TD
13009><TD
13010WIDTH="80%"
13011ALIGN="LEFT"
13012VALIGN="TOP"
13013>  extra content</TD
13014></TR
13015></TBODY
13016></TABLE
13017><P
13018></P
13019></DIV
13020></DIV
13021><HR><DIV
13022CLASS="REFSECT2"
13023><A
13024NAME="AEN6788"
13025></A
13026><H3
13027><A
13028NAME="XMLNODEADDCONTENTLEN"
13029></A
13030>xmlNodeAddContentLen ()</H3
13031><TABLE
13032BORDER="0"
13033BGCOLOR="#D6E8FF"
13034WIDTH="100%"
13035CELLPADDING="6"
13036><TR
13037><TD
13038><PRE
13039CLASS="PROGRAMLISTING"
13040>void        xmlNodeAddContentLen            (<A
13041HREF="libxml-tree.html#XMLNODEPTR"
13042>xmlNodePtr</A
13043> cur,
13044                                             const <A
13045HREF="libxml-tree.html#XMLCHAR"
13046>xmlChar</A
13047> *content,
13048                                             int len);</PRE
13049></TD
13050></TR
13051></TABLE
13052><P
13053>Append the extra substring to the node content.</P
13054><P
13055></P
13056><DIV
13057CLASS="INFORMALTABLE"
13058><A
13059NAME="AEN6796"
13060></A
13061><P
13062></P
13063><TABLE
13064BORDER="0"
13065WIDTH="100%"
13066BGCOLOR="#FFD0D0"
13067CELLSPACING="0"
13068CELLPADDING="4"
13069CLASS="CALSTABLE"
13070><TBODY
13071><TR
13072><TD
13073WIDTH="20%"
13074ALIGN="RIGHT"
13075VALIGN="TOP"
13076><TT
13077CLASS="PARAMETER"
13078><I
13079>cur</I
13080></TT
13081>&nbsp;:</TD
13082><TD
13083WIDTH="80%"
13084ALIGN="LEFT"
13085VALIGN="TOP"
13086>  the node being modified</TD
13087></TR
13088><TR
13089><TD
13090WIDTH="20%"
13091ALIGN="RIGHT"
13092VALIGN="TOP"
13093><TT
13094CLASS="PARAMETER"
13095><I
13096>content</I
13097></TT
13098>&nbsp;:</TD
13099><TD
13100WIDTH="80%"
13101ALIGN="LEFT"
13102VALIGN="TOP"
13103>  extra content</TD
13104></TR
13105><TR
13106><TD
13107WIDTH="20%"
13108ALIGN="RIGHT"
13109VALIGN="TOP"
13110><TT
13111CLASS="PARAMETER"
13112><I
13113>len</I
13114></TT
13115>&nbsp;:</TD
13116><TD
13117WIDTH="80%"
13118ALIGN="LEFT"
13119VALIGN="TOP"
13120>  the size of <TT
13121CLASS="PARAMETER"
13122><I
13123>content</I
13124></TT
13125></TD
13126></TR
13127></TBODY
13128></TABLE
13129><P
13130></P
13131></DIV
13132></DIV
13133><HR><DIV
13134CLASS="REFSECT2"
13135><A
13136NAME="AEN6814"
13137></A
13138><H3
13139><A
13140NAME="XMLNODEGETCONTENT"
13141></A
13142>xmlNodeGetContent ()</H3
13143><TABLE
13144BORDER="0"
13145BGCOLOR="#D6E8FF"
13146WIDTH="100%"
13147CELLPADDING="6"
13148><TR
13149><TD
13150><PRE
13151CLASS="PROGRAMLISTING"
13152><A
13153HREF="libxml-tree.html#XMLCHAR"
13154>xmlChar</A
13155>*    xmlNodeGetContent               (<A
13156HREF="libxml-tree.html#XMLNODEPTR"
13157>xmlNodePtr</A
13158> cur);</PRE
13159></TD
13160></TR
13161></TABLE
13162><P
13163>Read the value of a node, this can be either the text carried
13164directly by this node if it's a TEXT node or the aggregate string
13165of the values carried by this node child's (TEXT and ENTITY_REF).
13166Entity references are substitued.</P
13167><P
13168></P
13169><DIV
13170CLASS="INFORMALTABLE"
13171><A
13172NAME="AEN6822"
13173></A
13174><P
13175></P
13176><TABLE
13177BORDER="0"
13178WIDTH="100%"
13179BGCOLOR="#FFD0D0"
13180CELLSPACING="0"
13181CELLPADDING="4"
13182CLASS="CALSTABLE"
13183><TBODY
13184><TR
13185><TD
13186WIDTH="20%"
13187ALIGN="RIGHT"
13188VALIGN="TOP"
13189><TT
13190CLASS="PARAMETER"
13191><I
13192>cur</I
13193></TT
13194>&nbsp;:</TD
13195><TD
13196WIDTH="80%"
13197ALIGN="LEFT"
13198VALIGN="TOP"
13199>  the node being read</TD
13200></TR
13201><TR
13202><TD
13203WIDTH="20%"
13204ALIGN="RIGHT"
13205VALIGN="TOP"
13206><I
13207CLASS="EMPHASIS"
13208>Returns</I
13209> :</TD
13210><TD
13211WIDTH="80%"
13212ALIGN="LEFT"
13213VALIGN="TOP"
13214>a new xmlChar * or NULL if no content is available.
13215It's up to the caller to free the memory.</TD
13216></TR
13217></TBODY
13218></TABLE
13219><P
13220></P
13221></DIV
13222></DIV
13223><HR><DIV
13224CLASS="REFSECT2"
13225><A
13226NAME="AEN6835"
13227></A
13228><H3
13229><A
13230NAME="XMLNODEGETLANG"
13231></A
13232>xmlNodeGetLang ()</H3
13233><TABLE
13234BORDER="0"
13235BGCOLOR="#D6E8FF"
13236WIDTH="100%"
13237CELLPADDING="6"
13238><TR
13239><TD
13240><PRE
13241CLASS="PROGRAMLISTING"
13242><A
13243HREF="libxml-tree.html#XMLCHAR"
13244>xmlChar</A
13245>*    xmlNodeGetLang                  (<A
13246HREF="libxml-tree.html#XMLNODEPTR"
13247>xmlNodePtr</A
13248> cur);</PRE
13249></TD
13250></TR
13251></TABLE
13252><P
13253>Searches the language of a node, i.e. the values of the xml:lang
13254attribute or the one carried by the nearest ancestor.</P
13255><P
13256></P
13257><DIV
13258CLASS="INFORMALTABLE"
13259><A
13260NAME="AEN6843"
13261></A
13262><P
13263></P
13264><TABLE
13265BORDER="0"
13266WIDTH="100%"
13267BGCOLOR="#FFD0D0"
13268CELLSPACING="0"
13269CELLPADDING="4"
13270CLASS="CALSTABLE"
13271><TBODY
13272><TR
13273><TD
13274WIDTH="20%"
13275ALIGN="RIGHT"
13276VALIGN="TOP"
13277><TT
13278CLASS="PARAMETER"
13279><I
13280>cur</I
13281></TT
13282>&nbsp;:</TD
13283><TD
13284WIDTH="80%"
13285ALIGN="LEFT"
13286VALIGN="TOP"
13287>  the node being checked</TD
13288></TR
13289><TR
13290><TD
13291WIDTH="20%"
13292ALIGN="RIGHT"
13293VALIGN="TOP"
13294><I
13295CLASS="EMPHASIS"
13296>Returns</I
13297> :</TD
13298><TD
13299WIDTH="80%"
13300ALIGN="LEFT"
13301VALIGN="TOP"
13302>a pointer to the lang value, or NULL if not found
13303It's up to the caller to free the memory.</TD
13304></TR
13305></TBODY
13306></TABLE
13307><P
13308></P
13309></DIV
13310></DIV
13311><HR><DIV
13312CLASS="REFSECT2"
13313><A
13314NAME="AEN6856"
13315></A
13316><H3
13317><A
13318NAME="XMLNODESETLANG"
13319></A
13320>xmlNodeSetLang ()</H3
13321><TABLE
13322BORDER="0"
13323BGCOLOR="#D6E8FF"
13324WIDTH="100%"
13325CELLPADDING="6"
13326><TR
13327><TD
13328><PRE
13329CLASS="PROGRAMLISTING"
13330>void        xmlNodeSetLang                  (<A
13331HREF="libxml-tree.html#XMLNODEPTR"
13332>xmlNodePtr</A
13333> cur,
13334                                             const <A
13335HREF="libxml-tree.html#XMLCHAR"
13336>xmlChar</A
13337> *lang);</PRE
13338></TD
13339></TR
13340></TABLE
13341><P
13342>Set the language of a node, i.e. the values of the xml:lang
13343attribute.</P
13344><P
13345></P
13346><DIV
13347CLASS="INFORMALTABLE"
13348><A
13349NAME="AEN6864"
13350></A
13351><P
13352></P
13353><TABLE
13354BORDER="0"
13355WIDTH="100%"
13356BGCOLOR="#FFD0D0"
13357CELLSPACING="0"
13358CELLPADDING="4"
13359CLASS="CALSTABLE"
13360><TBODY
13361><TR
13362><TD
13363WIDTH="20%"
13364ALIGN="RIGHT"
13365VALIGN="TOP"
13366><TT
13367CLASS="PARAMETER"
13368><I
13369>cur</I
13370></TT
13371>&nbsp;:</TD
13372><TD
13373WIDTH="80%"
13374ALIGN="LEFT"
13375VALIGN="TOP"
13376>  the node being changed</TD
13377></TR
13378><TR
13379><TD
13380WIDTH="20%"
13381ALIGN="RIGHT"
13382VALIGN="TOP"
13383><TT
13384CLASS="PARAMETER"
13385><I
13386>lang</I
13387></TT
13388>&nbsp;:</TD
13389><TD
13390WIDTH="80%"
13391ALIGN="LEFT"
13392VALIGN="TOP"
13393>  the langage description</TD
13394></TR
13395></TBODY
13396></TABLE
13397><P
13398></P
13399></DIV
13400></DIV
13401><HR><DIV
13402CLASS="REFSECT2"
13403><A
13404NAME="AEN6877"
13405></A
13406><H3
13407><A
13408NAME="XMLNODEGETSPACEPRESERVE"
13409></A
13410>xmlNodeGetSpacePreserve ()</H3
13411><TABLE
13412BORDER="0"
13413BGCOLOR="#D6E8FF"
13414WIDTH="100%"
13415CELLPADDING="6"
13416><TR
13417><TD
13418><PRE
13419CLASS="PROGRAMLISTING"
13420>int         xmlNodeGetSpacePreserve         (<A
13421HREF="libxml-tree.html#XMLNODEPTR"
13422>xmlNodePtr</A
13423> cur);</PRE
13424></TD
13425></TR
13426></TABLE
13427><P
13428>Searches the space preserving behaviour of a node, i.e. the values
13429of the xml:space attribute or the one carried by the nearest
13430ancestor.</P
13431><P
13432></P
13433><DIV
13434CLASS="INFORMALTABLE"
13435><A
13436NAME="AEN6884"
13437></A
13438><P
13439></P
13440><TABLE
13441BORDER="0"
13442WIDTH="100%"
13443BGCOLOR="#FFD0D0"
13444CELLSPACING="0"
13445CELLPADDING="4"
13446CLASS="CALSTABLE"
13447><TBODY
13448><TR
13449><TD
13450WIDTH="20%"
13451ALIGN="RIGHT"
13452VALIGN="TOP"
13453><TT
13454CLASS="PARAMETER"
13455><I
13456>cur</I
13457></TT
13458>&nbsp;:</TD
13459><TD
13460WIDTH="80%"
13461ALIGN="LEFT"
13462VALIGN="TOP"
13463>  the node being checked</TD
13464></TR
13465><TR
13466><TD
13467WIDTH="20%"
13468ALIGN="RIGHT"
13469VALIGN="TOP"
13470><I
13471CLASS="EMPHASIS"
13472>Returns</I
13473> :</TD
13474><TD
13475WIDTH="80%"
13476ALIGN="LEFT"
13477VALIGN="TOP"
13478>-1 if xml:space is not inheried, 0 if "default", 1 if "preserve"</TD
13479></TR
13480></TBODY
13481></TABLE
13482><P
13483></P
13484></DIV
13485></DIV
13486><HR><DIV
13487CLASS="REFSECT2"
13488><A
13489NAME="AEN6897"
13490></A
13491><H3
13492><A
13493NAME="XMLNODESETSPACEPRESERVE"
13494></A
13495>xmlNodeSetSpacePreserve ()</H3
13496><TABLE
13497BORDER="0"
13498BGCOLOR="#D6E8FF"
13499WIDTH="100%"
13500CELLPADDING="6"
13501><TR
13502><TD
13503><PRE
13504CLASS="PROGRAMLISTING"
13505>void        xmlNodeSetSpacePreserve         (<A
13506HREF="libxml-tree.html#XMLNODEPTR"
13507>xmlNodePtr</A
13508> cur,
13509                                             <GTKDOCLINK
13510HREF="INTVAL"
13511>intval</GTKDOCLINK
13512>);</PRE
13513></TD
13514></TR
13515></TABLE
13516><P
13517>Set (or reset) the space preserving behaviour of a node, i.e. the
13518value of the xml:space attribute.</P
13519><P
13520></P
13521><DIV
13522CLASS="INFORMALTABLE"
13523><A
13524NAME="AEN6905"
13525></A
13526><P
13527></P
13528><TABLE
13529BORDER="0"
13530WIDTH="100%"
13531BGCOLOR="#FFD0D0"
13532CELLSPACING="0"
13533CELLPADDING="4"
13534CLASS="CALSTABLE"
13535><TBODY
13536><TR
13537><TD
13538WIDTH="20%"
13539ALIGN="RIGHT"
13540VALIGN="TOP"
13541><TT
13542CLASS="PARAMETER"
13543><I
13544>cur</I
13545></TT
13546>&nbsp;:</TD
13547><TD
13548WIDTH="80%"
13549ALIGN="LEFT"
13550VALIGN="TOP"
13551>  the node being changed</TD
13552></TR
13553><TR
13554><TD
13555WIDTH="20%"
13556ALIGN="RIGHT"
13557VALIGN="TOP"
13558><TT
13559CLASS="PARAMETER"
13560><I
13561>Param2</I
13562></TT
13563>&nbsp;:</TD
13564><TD
13565WIDTH="80%"
13566ALIGN="LEFT"
13567VALIGN="TOP"
13568>&nbsp;</TD
13569></TR
13570></TBODY
13571></TABLE
13572><P
13573></P
13574></DIV
13575></DIV
13576><HR><DIV
13577CLASS="REFSECT2"
13578><A
13579NAME="AEN6918"
13580></A
13581><H3
13582><A
13583NAME="XMLNODEGETBASE"
13584></A
13585>xmlNodeGetBase ()</H3
13586><TABLE
13587BORDER="0"
13588BGCOLOR="#D6E8FF"
13589WIDTH="100%"
13590CELLPADDING="6"
13591><TR
13592><TD
13593><PRE
13594CLASS="PROGRAMLISTING"
13595><A
13596HREF="libxml-tree.html#XMLCHAR"
13597>xmlChar</A
13598>*    xmlNodeGetBase                  (<A
13599HREF="libxml-tree.html#XMLDOCPTR"
13600>xmlDocPtr</A
13601> doc,
13602                                             <A
13603HREF="libxml-tree.html#XMLNODEPTR"
13604>xmlNodePtr</A
13605> cur);</PRE
13606></TD
13607></TR
13608></TABLE
13609><P
13610>Searches for the BASE URL. The code should work on both XML
13611and HTML document even if base mechanisms are completely different.
13612It returns the base as defined in RFC 2396 sections
136135.1.1. Base URI within Document Content
13614and
136155.1.2. Base URI from the Encapsulating Entity
13616However it does not return the document base (5.1.3), use
13617<GTKDOCLINK
13618HREF="XMLDOCUMENTGETBASE"
13619>xmlDocumentGetBase</GTKDOCLINK
13620>() for this</P
13621><P
13622></P
13623><DIV
13624CLASS="INFORMALTABLE"
13625><A
13626NAME="AEN6928"
13627></A
13628><P
13629></P
13630><TABLE
13631BORDER="0"
13632WIDTH="100%"
13633BGCOLOR="#FFD0D0"
13634CELLSPACING="0"
13635CELLPADDING="4"
13636CLASS="CALSTABLE"
13637><TBODY
13638><TR
13639><TD
13640WIDTH="20%"
13641ALIGN="RIGHT"
13642VALIGN="TOP"
13643><TT
13644CLASS="PARAMETER"
13645><I
13646>doc</I
13647></TT
13648>&nbsp;:</TD
13649><TD
13650WIDTH="80%"
13651ALIGN="LEFT"
13652VALIGN="TOP"
13653>  the document the node pertains to</TD
13654></TR
13655><TR
13656><TD
13657WIDTH="20%"
13658ALIGN="RIGHT"
13659VALIGN="TOP"
13660><TT
13661CLASS="PARAMETER"
13662><I
13663>cur</I
13664></TT
13665>&nbsp;:</TD
13666><TD
13667WIDTH="80%"
13668ALIGN="LEFT"
13669VALIGN="TOP"
13670>  the node being checked</TD
13671></TR
13672><TR
13673><TD
13674WIDTH="20%"
13675ALIGN="RIGHT"
13676VALIGN="TOP"
13677><I
13678CLASS="EMPHASIS"
13679>Returns</I
13680> :</TD
13681><TD
13682WIDTH="80%"
13683ALIGN="LEFT"
13684VALIGN="TOP"
13685>a pointer to the base URL, or NULL if not found
13686It's up to the caller to free the memory.</TD
13687></TR
13688></TBODY
13689></TABLE
13690><P
13691></P
13692></DIV
13693></DIV
13694><HR><DIV
13695CLASS="REFSECT2"
13696><A
13697NAME="AEN6945"
13698></A
13699><H3
13700><A
13701NAME="XMLNODESETBASE"
13702></A
13703>xmlNodeSetBase ()</H3
13704><TABLE
13705BORDER="0"
13706BGCOLOR="#D6E8FF"
13707WIDTH="100%"
13708CELLPADDING="6"
13709><TR
13710><TD
13711><PRE
13712CLASS="PROGRAMLISTING"
13713>void        xmlNodeSetBase                  (<A
13714HREF="libxml-tree.html#XMLNODEPTR"
13715>xmlNodePtr</A
13716> cur,
13717                                             <A
13718HREF="libxml-tree.html#XMLCHAR"
13719>xmlChar</A
13720> *uri);</PRE
13721></TD
13722></TR
13723></TABLE
13724><P
13725>Set (or reset) the base URI of a node, i.e. the value of the
13726xml:base attribute.</P
13727><P
13728></P
13729><DIV
13730CLASS="INFORMALTABLE"
13731><A
13732NAME="AEN6953"
13733></A
13734><P
13735></P
13736><TABLE
13737BORDER="0"
13738WIDTH="100%"
13739BGCOLOR="#FFD0D0"
13740CELLSPACING="0"
13741CELLPADDING="4"
13742CLASS="CALSTABLE"
13743><TBODY
13744><TR
13745><TD
13746WIDTH="20%"
13747ALIGN="RIGHT"
13748VALIGN="TOP"
13749><TT
13750CLASS="PARAMETER"
13751><I
13752>cur</I
13753></TT
13754>&nbsp;:</TD
13755><TD
13756WIDTH="80%"
13757ALIGN="LEFT"
13758VALIGN="TOP"
13759>  the node being changed</TD
13760></TR
13761><TR
13762><TD
13763WIDTH="20%"
13764ALIGN="RIGHT"
13765VALIGN="TOP"
13766><TT
13767CLASS="PARAMETER"
13768><I
13769>uri</I
13770></TT
13771>&nbsp;:</TD
13772><TD
13773WIDTH="80%"
13774ALIGN="LEFT"
13775VALIGN="TOP"
13776>  the new base URI</TD
13777></TR
13778></TBODY
13779></TABLE
13780><P
13781></P
13782></DIV
13783></DIV
13784><HR><DIV
13785CLASS="REFSECT2"
13786><A
13787NAME="AEN6966"
13788></A
13789><H3
13790><A
13791NAME="XMLREMOVEPROP"
13792></A
13793>xmlRemoveProp ()</H3
13794><TABLE
13795BORDER="0"
13796BGCOLOR="#D6E8FF"
13797WIDTH="100%"
13798CELLPADDING="6"
13799><TR
13800><TD
13801><PRE
13802CLASS="PROGRAMLISTING"
13803>int         xmlRemoveProp                   (<A
13804HREF="libxml-tree.html#XMLATTRPTR"
13805>xmlAttrPtr</A
13806> attr);</PRE
13807></TD
13808></TR
13809></TABLE
13810><P
13811>Unlink and free one attribute, all the content is freed too
13812Note this doesn't work for namespace definition attributes</P
13813><P
13814></P
13815><DIV
13816CLASS="INFORMALTABLE"
13817><A
13818NAME="AEN6973"
13819></A
13820><P
13821></P
13822><TABLE
13823BORDER="0"
13824WIDTH="100%"
13825BGCOLOR="#FFD0D0"
13826CELLSPACING="0"
13827CELLPADDING="4"
13828CLASS="CALSTABLE"
13829><TBODY
13830><TR
13831><TD
13832WIDTH="20%"
13833ALIGN="RIGHT"
13834VALIGN="TOP"
13835><TT
13836CLASS="PARAMETER"
13837><I
13838>attr</I
13839></TT
13840>&nbsp;:</TD
13841><TD
13842WIDTH="80%"
13843ALIGN="LEFT"
13844VALIGN="TOP"
13845>&nbsp;</TD
13846></TR
13847><TR
13848><TD
13849WIDTH="20%"
13850ALIGN="RIGHT"
13851VALIGN="TOP"
13852><I
13853CLASS="EMPHASIS"
13854>Returns</I
13855> :</TD
13856><TD
13857WIDTH="80%"
13858ALIGN="LEFT"
13859VALIGN="TOP"
13860>0 if success and -1 in case of error.</TD
13861></TR
13862></TBODY
13863></TABLE
13864><P
13865></P
13866></DIV
13867></DIV
13868><HR><DIV
13869CLASS="REFSECT2"
13870><A
13871NAME="AEN6986"
13872></A
13873><H3
13874><A
13875NAME="XMLUNSETPROP"
13876></A
13877>xmlUnsetProp ()</H3
13878><TABLE
13879BORDER="0"
13880BGCOLOR="#D6E8FF"
13881WIDTH="100%"
13882CELLPADDING="6"
13883><TR
13884><TD
13885><PRE
13886CLASS="PROGRAMLISTING"
13887>int         xmlUnsetProp                    (<A
13888HREF="libxml-tree.html#XMLNODEPTR"
13889>xmlNodePtr</A
13890> node,
13891                                             const <A
13892HREF="libxml-tree.html#XMLCHAR"
13893>xmlChar</A
13894> *name);</PRE
13895></TD
13896></TR
13897></TABLE
13898><P
13899>Remove an attribute carried by a node.</P
13900><P
13901></P
13902><DIV
13903CLASS="INFORMALTABLE"
13904><A
13905NAME="AEN6994"
13906></A
13907><P
13908></P
13909><TABLE
13910BORDER="0"
13911WIDTH="100%"
13912BGCOLOR="#FFD0D0"
13913CELLSPACING="0"
13914CELLPADDING="4"
13915CLASS="CALSTABLE"
13916><TBODY
13917><TR
13918><TD
13919WIDTH="20%"
13920ALIGN="RIGHT"
13921VALIGN="TOP"
13922><TT
13923CLASS="PARAMETER"
13924><I
13925>node</I
13926></TT
13927>&nbsp;:</TD
13928><TD
13929WIDTH="80%"
13930ALIGN="LEFT"
13931VALIGN="TOP"
13932>  the node</TD
13933></TR
13934><TR
13935><TD
13936WIDTH="20%"
13937ALIGN="RIGHT"
13938VALIGN="TOP"
13939><TT
13940CLASS="PARAMETER"
13941><I
13942>name</I
13943></TT
13944>&nbsp;:</TD
13945><TD
13946WIDTH="80%"
13947ALIGN="LEFT"
13948VALIGN="TOP"
13949>  the attribute name</TD
13950></TR
13951><TR
13952><TD
13953WIDTH="20%"
13954ALIGN="RIGHT"
13955VALIGN="TOP"
13956><I
13957CLASS="EMPHASIS"
13958>Returns</I
13959> :</TD
13960><TD
13961WIDTH="80%"
13962ALIGN="LEFT"
13963VALIGN="TOP"
13964>0 if successful, -1 if not found</TD
13965></TR
13966></TBODY
13967></TABLE
13968><P
13969></P
13970></DIV
13971></DIV
13972><HR><DIV
13973CLASS="REFSECT2"
13974><A
13975NAME="AEN7011"
13976></A
13977><H3
13978><A
13979NAME="XMLUNSETNSPROP"
13980></A
13981>xmlUnsetNsProp ()</H3
13982><TABLE
13983BORDER="0"
13984BGCOLOR="#D6E8FF"
13985WIDTH="100%"
13986CELLPADDING="6"
13987><TR
13988><TD
13989><PRE
13990CLASS="PROGRAMLISTING"
13991>int         xmlUnsetNsProp                  (<A
13992HREF="libxml-tree.html#XMLNODEPTR"
13993>xmlNodePtr</A
13994> node,
13995                                             <A
13996HREF="libxml-tree.html#XMLNSPTR"
13997>xmlNsPtr</A
13998> ns,
13999                                             const <A
14000HREF="libxml-tree.html#XMLCHAR"
14001>xmlChar</A
14002> *name);</PRE
14003></TD
14004></TR
14005></TABLE
14006><P
14007>Remove an attribute carried by a node.</P
14008><P
14009></P
14010><DIV
14011CLASS="INFORMALTABLE"
14012><A
14013NAME="AEN7020"
14014></A
14015><P
14016></P
14017><TABLE
14018BORDER="0"
14019WIDTH="100%"
14020BGCOLOR="#FFD0D0"
14021CELLSPACING="0"
14022CELLPADDING="4"
14023CLASS="CALSTABLE"
14024><TBODY
14025><TR
14026><TD
14027WIDTH="20%"
14028ALIGN="RIGHT"
14029VALIGN="TOP"
14030><TT
14031CLASS="PARAMETER"
14032><I
14033>node</I
14034></TT
14035>&nbsp;:</TD
14036><TD
14037WIDTH="80%"
14038ALIGN="LEFT"
14039VALIGN="TOP"
14040>  the node</TD
14041></TR
14042><TR
14043><TD
14044WIDTH="20%"
14045ALIGN="RIGHT"
14046VALIGN="TOP"
14047><TT
14048CLASS="PARAMETER"
14049><I
14050>ns</I
14051></TT
14052>&nbsp;:</TD
14053><TD
14054WIDTH="80%"
14055ALIGN="LEFT"
14056VALIGN="TOP"
14057>  the namespace definition</TD
14058></TR
14059><TR
14060><TD
14061WIDTH="20%"
14062ALIGN="RIGHT"
14063VALIGN="TOP"
14064><TT
14065CLASS="PARAMETER"
14066><I
14067>name</I
14068></TT
14069>&nbsp;:</TD
14070><TD
14071WIDTH="80%"
14072ALIGN="LEFT"
14073VALIGN="TOP"
14074>  the attribute name</TD
14075></TR
14076><TR
14077><TD
14078WIDTH="20%"
14079ALIGN="RIGHT"
14080VALIGN="TOP"
14081><I
14082CLASS="EMPHASIS"
14083>Returns</I
14084> :</TD
14085><TD
14086WIDTH="80%"
14087ALIGN="LEFT"
14088VALIGN="TOP"
14089>0 if successful, -1 if not found</TD
14090></TR
14091></TBODY
14092></TABLE
14093><P
14094></P
14095></DIV
14096></DIV
14097><HR><DIV
14098CLASS="REFSECT2"
14099><A
14100NAME="AEN7041"
14101></A
14102><H3
14103><A
14104NAME="XMLBUFFERWRITEXMLCHAR"
14105></A
14106>xmlBufferWriteXmlCHAR ()</H3
14107><TABLE
14108BORDER="0"
14109BGCOLOR="#D6E8FF"
14110WIDTH="100%"
14111CELLPADDING="6"
14112><TR
14113><TD
14114><PRE
14115CLASS="PROGRAMLISTING"
14116>void        xmlBufferWriteXmlCHAR           (<A
14117HREF="libxml-tree.html#XMLBUFFERPTR"
14118>xmlBufferPtr</A
14119> buf,
14120                                             const <A
14121HREF="libxml-tree.html#XMLCHAR"
14122>xmlChar</A
14123> *string);</PRE
14124></TD
14125></TR
14126></TABLE
14127><P
14128>For VMS only.
14129routine which manages and grows an output buffer. This one adds
14130xmlChars at the end of the buffer.</P
14131><P
14132></P
14133><DIV
14134CLASS="INFORMALTABLE"
14135><A
14136NAME="AEN7049"
14137></A
14138><P
14139></P
14140><TABLE
14141BORDER="0"
14142WIDTH="100%"
14143BGCOLOR="#FFD0D0"
14144CELLSPACING="0"
14145CELLPADDING="4"
14146CLASS="CALSTABLE"
14147><TBODY
14148><TR
14149><TD
14150WIDTH="20%"
14151ALIGN="RIGHT"
14152VALIGN="TOP"
14153><TT
14154CLASS="PARAMETER"
14155><I
14156>buf</I
14157></TT
14158>&nbsp;:</TD
14159><TD
14160WIDTH="80%"
14161ALIGN="LEFT"
14162VALIGN="TOP"
14163>  the XML buffer</TD
14164></TR
14165><TR
14166><TD
14167WIDTH="20%"
14168ALIGN="RIGHT"
14169VALIGN="TOP"
14170><TT
14171CLASS="PARAMETER"
14172><I
14173>string</I
14174></TT
14175>&nbsp;:</TD
14176><TD
14177WIDTH="80%"
14178ALIGN="LEFT"
14179VALIGN="TOP"
14180>  the string to add</TD
14181></TR
14182></TBODY
14183></TABLE
14184><P
14185></P
14186></DIV
14187></DIV
14188><HR><DIV
14189CLASS="REFSECT2"
14190><A
14191NAME="AEN7062"
14192></A
14193><H3
14194><A
14195NAME="XMLBUFFERWRITECHAR"
14196></A
14197>xmlBufferWriteCHAR ()</H3
14198><TABLE
14199BORDER="0"
14200BGCOLOR="#D6E8FF"
14201WIDTH="100%"
14202CELLPADDING="6"
14203><TR
14204><TD
14205><PRE
14206CLASS="PROGRAMLISTING"
14207>void        xmlBufferWriteCHAR              (<A
14208HREF="libxml-tree.html#XMLBUFFERPTR"
14209>xmlBufferPtr</A
14210> buf,
14211                                             const <A
14212HREF="libxml-tree.html#XMLCHAR"
14213>xmlChar</A
14214> *string);</PRE
14215></TD
14216></TR
14217></TABLE
14218><P
14219>routine which manages and grows an output buffer. This one adds
14220xmlChars at the end of the buffer.</P
14221><P
14222></P
14223><DIV
14224CLASS="INFORMALTABLE"
14225><A
14226NAME="AEN7070"
14227></A
14228><P
14229></P
14230><TABLE
14231BORDER="0"
14232WIDTH="100%"
14233BGCOLOR="#FFD0D0"
14234CELLSPACING="0"
14235CELLPADDING="4"
14236CLASS="CALSTABLE"
14237><TBODY
14238><TR
14239><TD
14240WIDTH="20%"
14241ALIGN="RIGHT"
14242VALIGN="TOP"
14243><TT
14244CLASS="PARAMETER"
14245><I
14246>buf</I
14247></TT
14248>&nbsp;:</TD
14249><TD
14250WIDTH="80%"
14251ALIGN="LEFT"
14252VALIGN="TOP"
14253>  the XML buffer</TD
14254></TR
14255><TR
14256><TD
14257WIDTH="20%"
14258ALIGN="RIGHT"
14259VALIGN="TOP"
14260><TT
14261CLASS="PARAMETER"
14262><I
14263>string</I
14264></TT
14265>&nbsp;:</TD
14266><TD
14267WIDTH="80%"
14268ALIGN="LEFT"
14269VALIGN="TOP"
14270>  the string to add</TD
14271></TR
14272></TBODY
14273></TABLE
14274><P
14275></P
14276></DIV
14277></DIV
14278><HR><DIV
14279CLASS="REFSECT2"
14280><A
14281NAME="AEN7083"
14282></A
14283><H3
14284><A
14285NAME="XMLBUFFERWRITECHAR"
14286></A
14287>xmlBufferWriteChar ()</H3
14288><TABLE
14289BORDER="0"
14290BGCOLOR="#D6E8FF"
14291WIDTH="100%"
14292CELLPADDING="6"
14293><TR
14294><TD
14295><PRE
14296CLASS="PROGRAMLISTING"
14297>void        xmlBufferWriteChar              (<A
14298HREF="libxml-tree.html#XMLBUFFERPTR"
14299>xmlBufferPtr</A
14300> buf,
14301                                             const char *string);</PRE
14302></TD
14303></TR
14304></TABLE
14305><P
14306>routine which manage and grows an output buffer. This one add
14307C chars at the end of the array.</P
14308><P
14309></P
14310><DIV
14311CLASS="INFORMALTABLE"
14312><A
14313NAME="AEN7090"
14314></A
14315><P
14316></P
14317><TABLE
14318BORDER="0"
14319WIDTH="100%"
14320BGCOLOR="#FFD0D0"
14321CELLSPACING="0"
14322CELLPADDING="4"
14323CLASS="CALSTABLE"
14324><TBODY
14325><TR
14326><TD
14327WIDTH="20%"
14328ALIGN="RIGHT"
14329VALIGN="TOP"
14330><TT
14331CLASS="PARAMETER"
14332><I
14333>buf</I
14334></TT
14335>&nbsp;:</TD
14336><TD
14337WIDTH="80%"
14338ALIGN="LEFT"
14339VALIGN="TOP"
14340>  the XML buffer output</TD
14341></TR
14342><TR
14343><TD
14344WIDTH="20%"
14345ALIGN="RIGHT"
14346VALIGN="TOP"
14347><TT
14348CLASS="PARAMETER"
14349><I
14350>string</I
14351></TT
14352>&nbsp;:</TD
14353><TD
14354WIDTH="80%"
14355ALIGN="LEFT"
14356VALIGN="TOP"
14357>  the string to add</TD
14358></TR
14359></TBODY
14360></TABLE
14361><P
14362></P
14363></DIV
14364></DIV
14365><HR><DIV
14366CLASS="REFSECT2"
14367><A
14368NAME="AEN7103"
14369></A
14370><H3
14371><A
14372NAME="XMLBUFFERWRITEQUOTEDSTRING"
14373></A
14374>xmlBufferWriteQuotedString ()</H3
14375><TABLE
14376BORDER="0"
14377BGCOLOR="#D6E8FF"
14378WIDTH="100%"
14379CELLPADDING="6"
14380><TR
14381><TD
14382><PRE
14383CLASS="PROGRAMLISTING"
14384>void        xmlBufferWriteQuotedString      (<A
14385HREF="libxml-tree.html#XMLBUFFERPTR"
14386>xmlBufferPtr</A
14387> buf,
14388                                             const <A
14389HREF="libxml-tree.html#XMLCHAR"
14390>xmlChar</A
14391> *string);</PRE
14392></TD
14393></TR
14394></TABLE
14395><P
14396>routine which manage and grows an output buffer. This one writes
14397a quoted or double quoted xmlChar string, checking first if it holds
14398quote or double-quotes internally</P
14399><P
14400></P
14401><DIV
14402CLASS="INFORMALTABLE"
14403><A
14404NAME="AEN7111"
14405></A
14406><P
14407></P
14408><TABLE
14409BORDER="0"
14410WIDTH="100%"
14411BGCOLOR="#FFD0D0"
14412CELLSPACING="0"
14413CELLPADDING="4"
14414CLASS="CALSTABLE"
14415><TBODY
14416><TR
14417><TD
14418WIDTH="20%"
14419ALIGN="RIGHT"
14420VALIGN="TOP"
14421><TT
14422CLASS="PARAMETER"
14423><I
14424>buf</I
14425></TT
14426>&nbsp;:</TD
14427><TD
14428WIDTH="80%"
14429ALIGN="LEFT"
14430VALIGN="TOP"
14431>  the XML buffer output</TD
14432></TR
14433><TR
14434><TD
14435WIDTH="20%"
14436ALIGN="RIGHT"
14437VALIGN="TOP"
14438><TT
14439CLASS="PARAMETER"
14440><I
14441>string</I
14442></TT
14443>&nbsp;:</TD
14444><TD
14445WIDTH="80%"
14446ALIGN="LEFT"
14447VALIGN="TOP"
14448>  the string to add</TD
14449></TR
14450></TBODY
14451></TABLE
14452><P
14453></P
14454></DIV
14455></DIV
14456><HR><DIV
14457CLASS="REFSECT2"
14458><A
14459NAME="AEN7124"
14460></A
14461><H3
14462><A
14463NAME="XMLRECONCILIATENS"
14464></A
14465>xmlReconciliateNs ()</H3
14466><TABLE
14467BORDER="0"
14468BGCOLOR="#D6E8FF"
14469WIDTH="100%"
14470CELLPADDING="6"
14471><TR
14472><TD
14473><PRE
14474CLASS="PROGRAMLISTING"
14475>int         xmlReconciliateNs               (<A
14476HREF="libxml-tree.html#XMLDOCPTR"
14477>xmlDocPtr</A
14478> doc,
14479                                             <A
14480HREF="libxml-tree.html#XMLNODEPTR"
14481>xmlNodePtr</A
14482> tree);</PRE
14483></TD
14484></TR
14485></TABLE
14486><P
14487>This function checks that all the namespaces declared within the given
14488tree are properly declared. This is needed for example after Copy or Cut
14489and then paste operations. The subtree may still hold pointers to
14490namespace declarations outside the subtree or invalid/masked. As much
14491as possible the function try tu reuse the existing namespaces found in
14492the new environment. If not possible the new namespaces are redeclared
14493on <TT
14494CLASS="PARAMETER"
14495><I
14496>tree</I
14497></TT
14498> at the top of the given subtree.</P
14499><P
14500></P
14501><DIV
14502CLASS="INFORMALTABLE"
14503><A
14504NAME="AEN7133"
14505></A
14506><P
14507></P
14508><TABLE
14509BORDER="0"
14510WIDTH="100%"
14511BGCOLOR="#FFD0D0"
14512CELLSPACING="0"
14513CELLPADDING="4"
14514CLASS="CALSTABLE"
14515><TBODY
14516><TR
14517><TD
14518WIDTH="20%"
14519ALIGN="RIGHT"
14520VALIGN="TOP"
14521><TT
14522CLASS="PARAMETER"
14523><I
14524>doc</I
14525></TT
14526>&nbsp;:</TD
14527><TD
14528WIDTH="80%"
14529ALIGN="LEFT"
14530VALIGN="TOP"
14531>  the document</TD
14532></TR
14533><TR
14534><TD
14535WIDTH="20%"
14536ALIGN="RIGHT"
14537VALIGN="TOP"
14538><TT
14539CLASS="PARAMETER"
14540><I
14541>tree</I
14542></TT
14543>&nbsp;:</TD
14544><TD
14545WIDTH="80%"
14546ALIGN="LEFT"
14547VALIGN="TOP"
14548>  a node defining the subtree to reconciliate</TD
14549></TR
14550><TR
14551><TD
14552WIDTH="20%"
14553ALIGN="RIGHT"
14554VALIGN="TOP"
14555><I
14556CLASS="EMPHASIS"
14557>Returns</I
14558> :</TD
14559><TD
14560WIDTH="80%"
14561ALIGN="LEFT"
14562VALIGN="TOP"
14563>the number of namespace declarations created or -1 in case of error.</TD
14564></TR
14565></TBODY
14566></TABLE
14567><P
14568></P
14569></DIV
14570></DIV
14571><HR><DIV
14572CLASS="REFSECT2"
14573><A
14574NAME="AEN7150"
14575></A
14576><H3
14577><A
14578NAME="XMLDOCDUMPFORMATMEMORY"
14579></A
14580>xmlDocDumpFormatMemory ()</H3
14581><TABLE
14582BORDER="0"
14583BGCOLOR="#D6E8FF"
14584WIDTH="100%"
14585CELLPADDING="6"
14586><TR
14587><TD
14588><PRE
14589CLASS="PROGRAMLISTING"
14590>void        xmlDocDumpFormatMemory          (<A
14591HREF="libxml-tree.html#XMLDOCPTR"
14592>xmlDocPtr</A
14593> cur,
14594                                             <A
14595HREF="libxml-tree.html#XMLCHAR"
14596>xmlChar</A
14597> **mem,
14598                                             int *size,
14599                                             int format);</PRE
14600></TD
14601></TR
14602></TABLE
14603><P
14604>Dump an XML document in memory and return the xmlChar * and it's size.
14605It's up to the caller to free the memory.</P
14606><P
14607></P
14608><DIV
14609CLASS="INFORMALTABLE"
14610><A
14611NAME="AEN7158"
14612></A
14613><P
14614></P
14615><TABLE
14616BORDER="0"
14617WIDTH="100%"
14618BGCOLOR="#FFD0D0"
14619CELLSPACING="0"
14620CELLPADDING="4"
14621CLASS="CALSTABLE"
14622><TBODY
14623><TR
14624><TD
14625WIDTH="20%"
14626ALIGN="RIGHT"
14627VALIGN="TOP"
14628><TT
14629CLASS="PARAMETER"
14630><I
14631>cur</I
14632></TT
14633>&nbsp;:</TD
14634><TD
14635WIDTH="80%"
14636ALIGN="LEFT"
14637VALIGN="TOP"
14638>  the document</TD
14639></TR
14640><TR
14641><TD
14642WIDTH="20%"
14643ALIGN="RIGHT"
14644VALIGN="TOP"
14645><TT
14646CLASS="PARAMETER"
14647><I
14648>mem</I
14649></TT
14650>&nbsp;:</TD
14651><TD
14652WIDTH="80%"
14653ALIGN="LEFT"
14654VALIGN="TOP"
14655>  OUT: the memory pointer</TD
14656></TR
14657><TR
14658><TD
14659WIDTH="20%"
14660ALIGN="RIGHT"
14661VALIGN="TOP"
14662><TT
14663CLASS="PARAMETER"
14664><I
14665>size</I
14666></TT
14667>&nbsp;:</TD
14668><TD
14669WIDTH="80%"
14670ALIGN="LEFT"
14671VALIGN="TOP"
14672>  OUT: the memory lenght</TD
14673></TR
14674><TR
14675><TD
14676WIDTH="20%"
14677ALIGN="RIGHT"
14678VALIGN="TOP"
14679><TT
14680CLASS="PARAMETER"
14681><I
14682>format</I
14683></TT
14684>&nbsp;:</TD
14685><TD
14686WIDTH="80%"
14687ALIGN="LEFT"
14688VALIGN="TOP"
14689>  should formatting spaces been added</TD
14690></TR
14691></TBODY
14692></TABLE
14693><P
14694></P
14695></DIV
14696></DIV
14697><HR><DIV
14698CLASS="REFSECT2"
14699><A
14700NAME="AEN7179"
14701></A
14702><H3
14703><A
14704NAME="XMLDOCDUMPMEMORY"
14705></A
14706>xmlDocDumpMemory ()</H3
14707><TABLE
14708BORDER="0"
14709BGCOLOR="#D6E8FF"
14710WIDTH="100%"
14711CELLPADDING="6"
14712><TR
14713><TD
14714><PRE
14715CLASS="PROGRAMLISTING"
14716>void        xmlDocDumpMemory                (<A
14717HREF="libxml-tree.html#XMLDOCPTR"
14718>xmlDocPtr</A
14719> cur,
14720                                             <A
14721HREF="libxml-tree.html#XMLCHAR"
14722>xmlChar</A
14723> **mem,
14724                                             int *size);</PRE
14725></TD
14726></TR
14727></TABLE
14728><P
14729>Dump an XML document in memory and return the xmlChar * and it's size.
14730It's up to the caller to free the memory.</P
14731><P
14732></P
14733><DIV
14734CLASS="INFORMALTABLE"
14735><A
14736NAME="AEN7187"
14737></A
14738><P
14739></P
14740><TABLE
14741BORDER="0"
14742WIDTH="100%"
14743BGCOLOR="#FFD0D0"
14744CELLSPACING="0"
14745CELLPADDING="4"
14746CLASS="CALSTABLE"
14747><TBODY
14748><TR
14749><TD
14750WIDTH="20%"
14751ALIGN="RIGHT"
14752VALIGN="TOP"
14753><TT
14754CLASS="PARAMETER"
14755><I
14756>cur</I
14757></TT
14758>&nbsp;:</TD
14759><TD
14760WIDTH="80%"
14761ALIGN="LEFT"
14762VALIGN="TOP"
14763>  the document</TD
14764></TR
14765><TR
14766><TD
14767WIDTH="20%"
14768ALIGN="RIGHT"
14769VALIGN="TOP"
14770><TT
14771CLASS="PARAMETER"
14772><I
14773>mem</I
14774></TT
14775>&nbsp;:</TD
14776><TD
14777WIDTH="80%"
14778ALIGN="LEFT"
14779VALIGN="TOP"
14780>  OUT: the memory pointer</TD
14781></TR
14782><TR
14783><TD
14784WIDTH="20%"
14785ALIGN="RIGHT"
14786VALIGN="TOP"
14787><TT
14788CLASS="PARAMETER"
14789><I
14790>size</I
14791></TT
14792>&nbsp;:</TD
14793><TD
14794WIDTH="80%"
14795ALIGN="LEFT"
14796VALIGN="TOP"
14797>  OUT: the memory lenght</TD
14798></TR
14799></TBODY
14800></TABLE
14801><P
14802></P
14803></DIV
14804></DIV
14805><HR><DIV
14806CLASS="REFSECT2"
14807><A
14808NAME="AEN7204"
14809></A
14810><H3
14811><A
14812NAME="XMLDOCDUMPMEMORYENC"
14813></A
14814>xmlDocDumpMemoryEnc ()</H3
14815><TABLE
14816BORDER="0"
14817BGCOLOR="#D6E8FF"
14818WIDTH="100%"
14819CELLPADDING="6"
14820><TR
14821><TD
14822><PRE
14823CLASS="PROGRAMLISTING"
14824>void        xmlDocDumpMemoryEnc             (<A
14825HREF="libxml-tree.html#XMLDOCPTR"
14826>xmlDocPtr</A
14827> out_doc,
14828                                             <A
14829HREF="libxml-tree.html#XMLCHAR"
14830>xmlChar</A
14831> **doc_txt_ptr,
14832                                             int *doc_txt_len,
14833                                             const char *txt_encoding);</PRE
14834></TD
14835></TR
14836></TABLE
14837><P
14838>Dump the current DOM tree into memory using the character encoding specified
14839by the caller.  Note it is up to the caller of this function to free the
14840allocated memory.</P
14841><P
14842></P
14843><DIV
14844CLASS="INFORMALTABLE"
14845><A
14846NAME="AEN7212"
14847></A
14848><P
14849></P
14850><TABLE
14851BORDER="0"
14852WIDTH="100%"
14853BGCOLOR="#FFD0D0"
14854CELLSPACING="0"
14855CELLPADDING="4"
14856CLASS="CALSTABLE"
14857><TBODY
14858><TR
14859><TD
14860WIDTH="20%"
14861ALIGN="RIGHT"
14862VALIGN="TOP"
14863><TT
14864CLASS="PARAMETER"
14865><I
14866>out_doc</I
14867></TT
14868>&nbsp;:</TD
14869><TD
14870WIDTH="80%"
14871ALIGN="LEFT"
14872VALIGN="TOP"
14873>  Document to generate XML text from</TD
14874></TR
14875><TR
14876><TD
14877WIDTH="20%"
14878ALIGN="RIGHT"
14879VALIGN="TOP"
14880><TT
14881CLASS="PARAMETER"
14882><I
14883>doc_txt_ptr</I
14884></TT
14885>&nbsp;:</TD
14886><TD
14887WIDTH="80%"
14888ALIGN="LEFT"
14889VALIGN="TOP"
14890>  Memory pointer for allocated XML text</TD
14891></TR
14892><TR
14893><TD
14894WIDTH="20%"
14895ALIGN="RIGHT"
14896VALIGN="TOP"
14897><TT
14898CLASS="PARAMETER"
14899><I
14900>doc_txt_len</I
14901></TT
14902>&nbsp;:</TD
14903><TD
14904WIDTH="80%"
14905ALIGN="LEFT"
14906VALIGN="TOP"
14907>  Length of the generated XML text</TD
14908></TR
14909><TR
14910><TD
14911WIDTH="20%"
14912ALIGN="RIGHT"
14913VALIGN="TOP"
14914><TT
14915CLASS="PARAMETER"
14916><I
14917>txt_encoding</I
14918></TT
14919>&nbsp;:</TD
14920><TD
14921WIDTH="80%"
14922ALIGN="LEFT"
14923VALIGN="TOP"
14924>  Character encoding to use when generating XML text</TD
14925></TR
14926></TBODY
14927></TABLE
14928><P
14929></P
14930></DIV
14931></DIV
14932><HR><DIV
14933CLASS="REFSECT2"
14934><A
14935NAME="AEN7233"
14936></A
14937><H3
14938><A
14939NAME="XMLDOCDUMPFORMATMEMORYENC"
14940></A
14941>xmlDocDumpFormatMemoryEnc ()</H3
14942><TABLE
14943BORDER="0"
14944BGCOLOR="#D6E8FF"
14945WIDTH="100%"
14946CELLPADDING="6"
14947><TR
14948><TD
14949><PRE
14950CLASS="PROGRAMLISTING"
14951>void        xmlDocDumpFormatMemoryEnc       (<A
14952HREF="libxml-tree.html#XMLDOCPTR"
14953>xmlDocPtr</A
14954> out_doc,
14955                                             <A
14956HREF="libxml-tree.html#XMLCHAR"
14957>xmlChar</A
14958> **doc_txt_ptr,
14959                                             int *doc_txt_len,
14960                                             const char *txt_encoding,
14961                                             int format);</PRE
14962></TD
14963></TR
14964></TABLE
14965><P
14966>Dump the current DOM tree into memory using the character encoding specified
14967by the caller.  Note it is up to the caller of this function to free the
14968allocated memory.</P
14969><P
14970></P
14971><DIV
14972CLASS="INFORMALTABLE"
14973><A
14974NAME="AEN7241"
14975></A
14976><P
14977></P
14978><TABLE
14979BORDER="0"
14980WIDTH="100%"
14981BGCOLOR="#FFD0D0"
14982CELLSPACING="0"
14983CELLPADDING="4"
14984CLASS="CALSTABLE"
14985><TBODY
14986><TR
14987><TD
14988WIDTH="20%"
14989ALIGN="RIGHT"
14990VALIGN="TOP"
14991><TT
14992CLASS="PARAMETER"
14993><I
14994>out_doc</I
14995></TT
14996>&nbsp;:</TD
14997><TD
14998WIDTH="80%"
14999ALIGN="LEFT"
15000VALIGN="TOP"
15001>  Document to generate XML text from</TD
15002></TR
15003><TR
15004><TD
15005WIDTH="20%"
15006ALIGN="RIGHT"
15007VALIGN="TOP"
15008><TT
15009CLASS="PARAMETER"
15010><I
15011>doc_txt_ptr</I
15012></TT
15013>&nbsp;:</TD
15014><TD
15015WIDTH="80%"
15016ALIGN="LEFT"
15017VALIGN="TOP"
15018>  Memory pointer for allocated XML text</TD
15019></TR
15020><TR
15021><TD
15022WIDTH="20%"
15023ALIGN="RIGHT"
15024VALIGN="TOP"
15025><TT
15026CLASS="PARAMETER"
15027><I
15028>doc_txt_len</I
15029></TT
15030>&nbsp;:</TD
15031><TD
15032WIDTH="80%"
15033ALIGN="LEFT"
15034VALIGN="TOP"
15035>  Length of the generated XML text</TD
15036></TR
15037><TR
15038><TD
15039WIDTH="20%"
15040ALIGN="RIGHT"
15041VALIGN="TOP"
15042><TT
15043CLASS="PARAMETER"
15044><I
15045>txt_encoding</I
15046></TT
15047>&nbsp;:</TD
15048><TD
15049WIDTH="80%"
15050ALIGN="LEFT"
15051VALIGN="TOP"
15052>  Character encoding to use when generating XML text</TD
15053></TR
15054><TR
15055><TD
15056WIDTH="20%"
15057ALIGN="RIGHT"
15058VALIGN="TOP"
15059><TT
15060CLASS="PARAMETER"
15061><I
15062>format</I
15063></TT
15064>&nbsp;:</TD
15065><TD
15066WIDTH="80%"
15067ALIGN="LEFT"
15068VALIGN="TOP"
15069>  should formatting spaces been added</TD
15070></TR
15071></TBODY
15072></TABLE
15073><P
15074></P
15075></DIV
15076></DIV
15077><HR><DIV
15078CLASS="REFSECT2"
15079><A
15080NAME="AEN7266"
15081></A
15082><H3
15083><A
15084NAME="XMLDOCDUMP"
15085></A
15086>xmlDocDump ()</H3
15087><TABLE
15088BORDER="0"
15089BGCOLOR="#D6E8FF"
15090WIDTH="100%"
15091CELLPADDING="6"
15092><TR
15093><TD
15094><PRE
15095CLASS="PROGRAMLISTING"
15096>int         xmlDocDump                      (<GTKDOCLINK
15097HREF="FILE-CAPS"
15098>FILE</GTKDOCLINK
15099> *f,
15100                                             <A
15101HREF="libxml-tree.html#XMLDOCPTR"
15102>xmlDocPtr</A
15103> cur);</PRE
15104></TD
15105></TR
15106></TABLE
15107><P
15108>Dump an XML document to an open FILE.</P
15109><P
15110></P
15111><DIV
15112CLASS="INFORMALTABLE"
15113><A
15114NAME="AEN7274"
15115></A
15116><P
15117></P
15118><TABLE
15119BORDER="0"
15120WIDTH="100%"
15121BGCOLOR="#FFD0D0"
15122CELLSPACING="0"
15123CELLPADDING="4"
15124CLASS="CALSTABLE"
15125><TBODY
15126><TR
15127><TD
15128WIDTH="20%"
15129ALIGN="RIGHT"
15130VALIGN="TOP"
15131><TT
15132CLASS="PARAMETER"
15133><I
15134>f</I
15135></TT
15136>&nbsp;:</TD
15137><TD
15138WIDTH="80%"
15139ALIGN="LEFT"
15140VALIGN="TOP"
15141>  the FILE*</TD
15142></TR
15143><TR
15144><TD
15145WIDTH="20%"
15146ALIGN="RIGHT"
15147VALIGN="TOP"
15148><TT
15149CLASS="PARAMETER"
15150><I
15151>cur</I
15152></TT
15153>&nbsp;:</TD
15154><TD
15155WIDTH="80%"
15156ALIGN="LEFT"
15157VALIGN="TOP"
15158>  the document</TD
15159></TR
15160><TR
15161><TD
15162WIDTH="20%"
15163ALIGN="RIGHT"
15164VALIGN="TOP"
15165><I
15166CLASS="EMPHASIS"
15167>Returns</I
15168> :</TD
15169><TD
15170WIDTH="80%"
15171ALIGN="LEFT"
15172VALIGN="TOP"
15173> the number of byte written or -1 in case of failure.</TD
15174></TR
15175></TBODY
15176></TABLE
15177><P
15178></P
15179></DIV
15180></DIV
15181><HR><DIV
15182CLASS="REFSECT2"
15183><A
15184NAME="AEN7291"
15185></A
15186><H3
15187><A
15188NAME="XMLELEMDUMP"
15189></A
15190>xmlElemDump ()</H3
15191><TABLE
15192BORDER="0"
15193BGCOLOR="#D6E8FF"
15194WIDTH="100%"
15195CELLPADDING="6"
15196><TR
15197><TD
15198><PRE
15199CLASS="PROGRAMLISTING"
15200>void        xmlElemDump                     (<GTKDOCLINK
15201HREF="FILE-CAPS"
15202>FILE</GTKDOCLINK
15203> *f,
15204                                             <A
15205HREF="libxml-tree.html#XMLDOCPTR"
15206>xmlDocPtr</A
15207> doc,
15208                                             <A
15209HREF="libxml-tree.html#XMLNODEPTR"
15210>xmlNodePtr</A
15211> cur);</PRE
15212></TD
15213></TR
15214></TABLE
15215><P
15216>Dump an XML/HTML node, recursive behaviour,children are printed too.</P
15217><P
15218></P
15219><DIV
15220CLASS="INFORMALTABLE"
15221><A
15222NAME="AEN7300"
15223></A
15224><P
15225></P
15226><TABLE
15227BORDER="0"
15228WIDTH="100%"
15229BGCOLOR="#FFD0D0"
15230CELLSPACING="0"
15231CELLPADDING="4"
15232CLASS="CALSTABLE"
15233><TBODY
15234><TR
15235><TD
15236WIDTH="20%"
15237ALIGN="RIGHT"
15238VALIGN="TOP"
15239><TT
15240CLASS="PARAMETER"
15241><I
15242>f</I
15243></TT
15244>&nbsp;:</TD
15245><TD
15246WIDTH="80%"
15247ALIGN="LEFT"
15248VALIGN="TOP"
15249>  the FILE * for the output</TD
15250></TR
15251><TR
15252><TD
15253WIDTH="20%"
15254ALIGN="RIGHT"
15255VALIGN="TOP"
15256><TT
15257CLASS="PARAMETER"
15258><I
15259>doc</I
15260></TT
15261>&nbsp;:</TD
15262><TD
15263WIDTH="80%"
15264ALIGN="LEFT"
15265VALIGN="TOP"
15266>  the document</TD
15267></TR
15268><TR
15269><TD
15270WIDTH="20%"
15271ALIGN="RIGHT"
15272VALIGN="TOP"
15273><TT
15274CLASS="PARAMETER"
15275><I
15276>cur</I
15277></TT
15278>&nbsp;:</TD
15279><TD
15280WIDTH="80%"
15281ALIGN="LEFT"
15282VALIGN="TOP"
15283>  the current node</TD
15284></TR
15285></TBODY
15286></TABLE
15287><P
15288></P
15289></DIV
15290></DIV
15291><HR><DIV
15292CLASS="REFSECT2"
15293><A
15294NAME="AEN7317"
15295></A
15296><H3
15297><A
15298NAME="XMLSAVEFILE"
15299></A
15300>xmlSaveFile ()</H3
15301><TABLE
15302BORDER="0"
15303BGCOLOR="#D6E8FF"
15304WIDTH="100%"
15305CELLPADDING="6"
15306><TR
15307><TD
15308><PRE
15309CLASS="PROGRAMLISTING"
15310>int         xmlSaveFile                     (const char *filename,
15311                                             <A
15312HREF="libxml-tree.html#XMLDOCPTR"
15313>xmlDocPtr</A
15314> cur);</PRE
15315></TD
15316></TR
15317></TABLE
15318><P
15319>Dump an XML document to a file. Will use compression if
15320compiled in and enabled. If <TT
15321CLASS="PARAMETER"
15322><I
15323>filename</I
15324></TT
15325> is "-" the stdout file is
15326used.</P
15327><P
15328></P
15329><DIV
15330CLASS="INFORMALTABLE"
15331><A
15332NAME="AEN7325"
15333></A
15334><P
15335></P
15336><TABLE
15337BORDER="0"
15338WIDTH="100%"
15339BGCOLOR="#FFD0D0"
15340CELLSPACING="0"
15341CELLPADDING="4"
15342CLASS="CALSTABLE"
15343><TBODY
15344><TR
15345><TD
15346WIDTH="20%"
15347ALIGN="RIGHT"
15348VALIGN="TOP"
15349><TT
15350CLASS="PARAMETER"
15351><I
15352>filename</I
15353></TT
15354>&nbsp;:</TD
15355><TD
15356WIDTH="80%"
15357ALIGN="LEFT"
15358VALIGN="TOP"
15359>  the filename (or URL)</TD
15360></TR
15361><TR
15362><TD
15363WIDTH="20%"
15364ALIGN="RIGHT"
15365VALIGN="TOP"
15366><TT
15367CLASS="PARAMETER"
15368><I
15369>cur</I
15370></TT
15371>&nbsp;:</TD
15372><TD
15373WIDTH="80%"
15374ALIGN="LEFT"
15375VALIGN="TOP"
15376>  the document</TD
15377></TR
15378><TR
15379><TD
15380WIDTH="20%"
15381ALIGN="RIGHT"
15382VALIGN="TOP"
15383><I
15384CLASS="EMPHASIS"
15385>Returns</I
15386> :</TD
15387><TD
15388WIDTH="80%"
15389ALIGN="LEFT"
15390VALIGN="TOP"
15391> the number of byte written or -1 in case of failure.</TD
15392></TR
15393></TBODY
15394></TABLE
15395><P
15396></P
15397></DIV
15398></DIV
15399><HR><DIV
15400CLASS="REFSECT2"
15401><A
15402NAME="AEN7342"
15403></A
15404><H3
15405><A
15406NAME="XMLSAVEFORMATFILE"
15407></A
15408>xmlSaveFormatFile ()</H3
15409><TABLE
15410BORDER="0"
15411BGCOLOR="#D6E8FF"
15412WIDTH="100%"
15413CELLPADDING="6"
15414><TR
15415><TD
15416><PRE
15417CLASS="PROGRAMLISTING"
15418>int         xmlSaveFormatFile               (const char *filename,
15419                                             <A
15420HREF="libxml-tree.html#XMLDOCPTR"
15421>xmlDocPtr</A
15422> cur,
15423                                             int format);</PRE
15424></TD
15425></TR
15426></TABLE
15427><P
15428>Dump an XML document to a file. Will use compression if
15429compiled in and enabled. If <TT
15430CLASS="PARAMETER"
15431><I
15432>filename</I
15433></TT
15434> is "-" the stdout file is
15435used. If format is set then the document will be indented on output.</P
15436><P
15437></P
15438><DIV
15439CLASS="INFORMALTABLE"
15440><A
15441NAME="AEN7350"
15442></A
15443><P
15444></P
15445><TABLE
15446BORDER="0"
15447WIDTH="100%"
15448BGCOLOR="#FFD0D0"
15449CELLSPACING="0"
15450CELLPADDING="4"
15451CLASS="CALSTABLE"
15452><TBODY
15453><TR
15454><TD
15455WIDTH="20%"
15456ALIGN="RIGHT"
15457VALIGN="TOP"
15458><TT
15459CLASS="PARAMETER"
15460><I
15461>filename</I
15462></TT
15463>&nbsp;:</TD
15464><TD
15465WIDTH="80%"
15466ALIGN="LEFT"
15467VALIGN="TOP"
15468>  the filename (or URL)</TD
15469></TR
15470><TR
15471><TD
15472WIDTH="20%"
15473ALIGN="RIGHT"
15474VALIGN="TOP"
15475><TT
15476CLASS="PARAMETER"
15477><I
15478>cur</I
15479></TT
15480>&nbsp;:</TD
15481><TD
15482WIDTH="80%"
15483ALIGN="LEFT"
15484VALIGN="TOP"
15485>  the document</TD
15486></TR
15487><TR
15488><TD
15489WIDTH="20%"
15490ALIGN="RIGHT"
15491VALIGN="TOP"
15492><TT
15493CLASS="PARAMETER"
15494><I
15495>format</I
15496></TT
15497>&nbsp;:</TD
15498><TD
15499WIDTH="80%"
15500ALIGN="LEFT"
15501VALIGN="TOP"
15502>  should formatting spaces been added</TD
15503></TR
15504><TR
15505><TD
15506WIDTH="20%"
15507ALIGN="RIGHT"
15508VALIGN="TOP"
15509><I
15510CLASS="EMPHASIS"
15511>Returns</I
15512> :</TD
15513><TD
15514WIDTH="80%"
15515ALIGN="LEFT"
15516VALIGN="TOP"
15517> the number of byte written or -1 in case of failure.</TD
15518></TR
15519></TBODY
15520></TABLE
15521><P
15522></P
15523></DIV
15524></DIV
15525><HR><DIV
15526CLASS="REFSECT2"
15527><A
15528NAME="AEN7371"
15529></A
15530><H3
15531><A
15532NAME="XMLNODEDUMP"
15533></A
15534>xmlNodeDump ()</H3
15535><TABLE
15536BORDER="0"
15537BGCOLOR="#D6E8FF"
15538WIDTH="100%"
15539CELLPADDING="6"
15540><TR
15541><TD
15542><PRE
15543CLASS="PROGRAMLISTING"
15544>void        xmlNodeDump                     (<A
15545HREF="libxml-tree.html#XMLBUFFERPTR"
15546>xmlBufferPtr</A
15547> buf,
15548                                             <A
15549HREF="libxml-tree.html#XMLDOCPTR"
15550>xmlDocPtr</A
15551> doc,
15552                                             <A
15553HREF="libxml-tree.html#XMLNODEPTR"
15554>xmlNodePtr</A
15555> cur,
15556                                             int level,
15557                                             int format);</PRE
15558></TD
15559></TR
15560></TABLE
15561><P
15562>Dump an XML node, recursive behaviour,children are printed too.</P
15563><P
15564></P
15565><DIV
15566CLASS="INFORMALTABLE"
15567><A
15568NAME="AEN7380"
15569></A
15570><P
15571></P
15572><TABLE
15573BORDER="0"
15574WIDTH="100%"
15575BGCOLOR="#FFD0D0"
15576CELLSPACING="0"
15577CELLPADDING="4"
15578CLASS="CALSTABLE"
15579><TBODY
15580><TR
15581><TD
15582WIDTH="20%"
15583ALIGN="RIGHT"
15584VALIGN="TOP"
15585><TT
15586CLASS="PARAMETER"
15587><I
15588>buf</I
15589></TT
15590>&nbsp;:</TD
15591><TD
15592WIDTH="80%"
15593ALIGN="LEFT"
15594VALIGN="TOP"
15595>  the XML buffer output</TD
15596></TR
15597><TR
15598><TD
15599WIDTH="20%"
15600ALIGN="RIGHT"
15601VALIGN="TOP"
15602><TT
15603CLASS="PARAMETER"
15604><I
15605>doc</I
15606></TT
15607>&nbsp;:</TD
15608><TD
15609WIDTH="80%"
15610ALIGN="LEFT"
15611VALIGN="TOP"
15612>  the document</TD
15613></TR
15614><TR
15615><TD
15616WIDTH="20%"
15617ALIGN="RIGHT"
15618VALIGN="TOP"
15619><TT
15620CLASS="PARAMETER"
15621><I
15622>cur</I
15623></TT
15624>&nbsp;:</TD
15625><TD
15626WIDTH="80%"
15627ALIGN="LEFT"
15628VALIGN="TOP"
15629>  the current node</TD
15630></TR
15631><TR
15632><TD
15633WIDTH="20%"
15634ALIGN="RIGHT"
15635VALIGN="TOP"
15636><TT
15637CLASS="PARAMETER"
15638><I
15639>level</I
15640></TT
15641>&nbsp;:</TD
15642><TD
15643WIDTH="80%"
15644ALIGN="LEFT"
15645VALIGN="TOP"
15646> the imbrication level for indenting</TD
15647></TR
15648><TR
15649><TD
15650WIDTH="20%"
15651ALIGN="RIGHT"
15652VALIGN="TOP"
15653><TT
15654CLASS="PARAMETER"
15655><I
15656>format</I
15657></TT
15658>&nbsp;:</TD
15659><TD
15660WIDTH="80%"
15661ALIGN="LEFT"
15662VALIGN="TOP"
15663> is formatting allowed</TD
15664></TR
15665></TBODY
15666></TABLE
15667><P
15668></P
15669></DIV
15670></DIV
15671><HR><DIV
15672CLASS="REFSECT2"
15673><A
15674NAME="AEN7405"
15675></A
15676><H3
15677><A
15678NAME="XMLSAVEFORMATFILEENC"
15679></A
15680>xmlSaveFormatFileEnc ()</H3
15681><TABLE
15682BORDER="0"
15683BGCOLOR="#D6E8FF"
15684WIDTH="100%"
15685CELLPADDING="6"
15686><TR
15687><TD
15688><PRE
15689CLASS="PROGRAMLISTING"
15690>int         xmlSaveFormatFileEnc            (const char *filename,
15691                                             <A
15692HREF="libxml-tree.html#XMLDOCPTR"
15693>xmlDocPtr</A
15694> cur,
15695                                             const char *encoding,
15696                                             int format);</PRE
15697></TD
15698></TR
15699></TABLE
15700><P
15701></P
15702><P
15703></P
15704><DIV
15705CLASS="INFORMALTABLE"
15706><A
15707NAME="AEN7412"
15708></A
15709><P
15710></P
15711><TABLE
15712BORDER="0"
15713WIDTH="100%"
15714BGCOLOR="#FFD0D0"
15715CELLSPACING="0"
15716CELLPADDING="4"
15717CLASS="CALSTABLE"
15718><TBODY
15719><TR
15720><TD
15721WIDTH="20%"
15722ALIGN="RIGHT"
15723VALIGN="TOP"
15724><TT
15725CLASS="PARAMETER"
15726><I
15727>filename</I
15728></TT
15729>&nbsp;:</TD
15730><TD
15731WIDTH="80%"
15732ALIGN="LEFT"
15733VALIGN="TOP"
15734>  the filename or URL to output</TD
15735></TR
15736><TR
15737><TD
15738WIDTH="20%"
15739ALIGN="RIGHT"
15740VALIGN="TOP"
15741><TT
15742CLASS="PARAMETER"
15743><I
15744>cur</I
15745></TT
15746>&nbsp;:</TD
15747><TD
15748WIDTH="80%"
15749ALIGN="LEFT"
15750VALIGN="TOP"
15751>  the document being saved</TD
15752></TR
15753><TR
15754><TD
15755WIDTH="20%"
15756ALIGN="RIGHT"
15757VALIGN="TOP"
15758><TT
15759CLASS="PARAMETER"
15760><I
15761>encoding</I
15762></TT
15763>&nbsp;:</TD
15764><TD
15765WIDTH="80%"
15766ALIGN="LEFT"
15767VALIGN="TOP"
15768>  the name of the encoding to use or NULL.</TD
15769></TR
15770><TR
15771><TD
15772WIDTH="20%"
15773ALIGN="RIGHT"
15774VALIGN="TOP"
15775><TT
15776CLASS="PARAMETER"
15777><I
15778>format</I
15779></TT
15780>&nbsp;:</TD
15781><TD
15782WIDTH="80%"
15783ALIGN="LEFT"
15784VALIGN="TOP"
15785>  should formatting spaces be added.</TD
15786></TR
15787><TR
15788><TD
15789WIDTH="20%"
15790ALIGN="RIGHT"
15791VALIGN="TOP"
15792><I
15793CLASS="EMPHASIS"
15794>Returns</I
15795> :</TD
15796><TD
15797WIDTH="80%"
15798ALIGN="LEFT"
15799VALIGN="TOP"
15800>&nbsp;</TD
15801></TR
15802></TBODY
15803></TABLE
15804><P
15805></P
15806></DIV
15807></DIV
15808><HR><DIV
15809CLASS="REFSECT2"
15810><A
15811NAME="AEN7437"
15812></A
15813><H3
15814><A
15815NAME="XMLSAVEFILEENC"
15816></A
15817>xmlSaveFileEnc ()</H3
15818><TABLE
15819BORDER="0"
15820BGCOLOR="#D6E8FF"
15821WIDTH="100%"
15822CELLPADDING="6"
15823><TR
15824><TD
15825><PRE
15826CLASS="PROGRAMLISTING"
15827>int         xmlSaveFileEnc                  (const char *filename,
15828                                             <A
15829HREF="libxml-tree.html#XMLDOCPTR"
15830>xmlDocPtr</A
15831> cur,
15832                                             const char *encoding);</PRE
15833></TD
15834></TR
15835></TABLE
15836><P
15837>Dump an XML document, converting it to the given encoding</P
15838><P
15839></P
15840><DIV
15841CLASS="INFORMALTABLE"
15842><A
15843NAME="AEN7444"
15844></A
15845><P
15846></P
15847><TABLE
15848BORDER="0"
15849WIDTH="100%"
15850BGCOLOR="#FFD0D0"
15851CELLSPACING="0"
15852CELLPADDING="4"
15853CLASS="CALSTABLE"
15854><TBODY
15855><TR
15856><TD
15857WIDTH="20%"
15858ALIGN="RIGHT"
15859VALIGN="TOP"
15860><TT
15861CLASS="PARAMETER"
15862><I
15863>filename</I
15864></TT
15865>&nbsp;:</TD
15866><TD
15867WIDTH="80%"
15868ALIGN="LEFT"
15869VALIGN="TOP"
15870>  the filename (or URL)</TD
15871></TR
15872><TR
15873><TD
15874WIDTH="20%"
15875ALIGN="RIGHT"
15876VALIGN="TOP"
15877><TT
15878CLASS="PARAMETER"
15879><I
15880>cur</I
15881></TT
15882>&nbsp;:</TD
15883><TD
15884WIDTH="80%"
15885ALIGN="LEFT"
15886VALIGN="TOP"
15887>  the document</TD
15888></TR
15889><TR
15890><TD
15891WIDTH="20%"
15892ALIGN="RIGHT"
15893VALIGN="TOP"
15894><TT
15895CLASS="PARAMETER"
15896><I
15897>encoding</I
15898></TT
15899>&nbsp;:</TD
15900><TD
15901WIDTH="80%"
15902ALIGN="LEFT"
15903VALIGN="TOP"
15904>  the name of an encoding (or NULL)</TD
15905></TR
15906><TR
15907><TD
15908WIDTH="20%"
15909ALIGN="RIGHT"
15910VALIGN="TOP"
15911><I
15912CLASS="EMPHASIS"
15913>Returns</I
15914> :</TD
15915><TD
15916WIDTH="80%"
15917ALIGN="LEFT"
15918VALIGN="TOP"
15919> the number of byte written or -1 in case of failure.</TD
15920></TR
15921></TBODY
15922></TABLE
15923><P
15924></P
15925></DIV
15926></DIV
15927><HR><DIV
15928CLASS="REFSECT2"
15929><A
15930NAME="AEN7465"
15931></A
15932><H3
15933><A
15934NAME="XMLGETDOCCOMPRESSMODE"
15935></A
15936>xmlGetDocCompressMode ()</H3
15937><TABLE
15938BORDER="0"
15939BGCOLOR="#D6E8FF"
15940WIDTH="100%"
15941CELLPADDING="6"
15942><TR
15943><TD
15944><PRE
15945CLASS="PROGRAMLISTING"
15946>int         xmlGetDocCompressMode           (<A
15947HREF="libxml-tree.html#XMLDOCPTR"
15948>xmlDocPtr</A
15949> doc);</PRE
15950></TD
15951></TR
15952></TABLE
15953><P
15954>get the compression ratio for a document, ZLIB based</P
15955><P
15956></P
15957><DIV
15958CLASS="INFORMALTABLE"
15959><A
15960NAME="AEN7472"
15961></A
15962><P
15963></P
15964><TABLE
15965BORDER="0"
15966WIDTH="100%"
15967BGCOLOR="#FFD0D0"
15968CELLSPACING="0"
15969CELLPADDING="4"
15970CLASS="CALSTABLE"
15971><TBODY
15972><TR
15973><TD
15974WIDTH="20%"
15975ALIGN="RIGHT"
15976VALIGN="TOP"
15977><TT
15978CLASS="PARAMETER"
15979><I
15980>doc</I
15981></TT
15982>&nbsp;:</TD
15983><TD
15984WIDTH="80%"
15985ALIGN="LEFT"
15986VALIGN="TOP"
15987>  the document</TD
15988></TR
15989><TR
15990><TD
15991WIDTH="20%"
15992ALIGN="RIGHT"
15993VALIGN="TOP"
15994><I
15995CLASS="EMPHASIS"
15996>Returns</I
15997> :</TD
15998><TD
15999WIDTH="80%"
16000ALIGN="LEFT"
16001VALIGN="TOP"
16002>0 (uncompressed) to 9 (max compression)</TD
16003></TR
16004></TBODY
16005></TABLE
16006><P
16007></P
16008></DIV
16009></DIV
16010><HR><DIV
16011CLASS="REFSECT2"
16012><A
16013NAME="AEN7485"
16014></A
16015><H3
16016><A
16017NAME="XMLSETDOCCOMPRESSMODE"
16018></A
16019>xmlSetDocCompressMode ()</H3
16020><TABLE
16021BORDER="0"
16022BGCOLOR="#D6E8FF"
16023WIDTH="100%"
16024CELLPADDING="6"
16025><TR
16026><TD
16027><PRE
16028CLASS="PROGRAMLISTING"
16029>void        xmlSetDocCompressMode           (<A
16030HREF="libxml-tree.html#XMLDOCPTR"
16031>xmlDocPtr</A
16032> doc,
16033                                             int mode);</PRE
16034></TD
16035></TR
16036></TABLE
16037><P
16038>set the compression ratio for a document, ZLIB based
16039Correct values: 0 (uncompressed) to 9 (max compression)</P
16040><P
16041></P
16042><DIV
16043CLASS="INFORMALTABLE"
16044><A
16045NAME="AEN7492"
16046></A
16047><P
16048></P
16049><TABLE
16050BORDER="0"
16051WIDTH="100%"
16052BGCOLOR="#FFD0D0"
16053CELLSPACING="0"
16054CELLPADDING="4"
16055CLASS="CALSTABLE"
16056><TBODY
16057><TR
16058><TD
16059WIDTH="20%"
16060ALIGN="RIGHT"
16061VALIGN="TOP"
16062><TT
16063CLASS="PARAMETER"
16064><I
16065>doc</I
16066></TT
16067>&nbsp;:</TD
16068><TD
16069WIDTH="80%"
16070ALIGN="LEFT"
16071VALIGN="TOP"
16072>  the document</TD
16073></TR
16074><TR
16075><TD
16076WIDTH="20%"
16077ALIGN="RIGHT"
16078VALIGN="TOP"
16079><TT
16080CLASS="PARAMETER"
16081><I
16082>mode</I
16083></TT
16084>&nbsp;:</TD
16085><TD
16086WIDTH="80%"
16087ALIGN="LEFT"
16088VALIGN="TOP"
16089>  the compression ratio</TD
16090></TR
16091></TBODY
16092></TABLE
16093><P
16094></P
16095></DIV
16096></DIV
16097><HR><DIV
16098CLASS="REFSECT2"
16099><A
16100NAME="AEN7505"
16101></A
16102><H3
16103><A
16104NAME="XMLGETCOMPRESSMODE"
16105></A
16106>xmlGetCompressMode ()</H3
16107><TABLE
16108BORDER="0"
16109BGCOLOR="#D6E8FF"
16110WIDTH="100%"
16111CELLPADDING="6"
16112><TR
16113><TD
16114><PRE
16115CLASS="PROGRAMLISTING"
16116>int         xmlGetCompressMode              (void);</PRE
16117></TD
16118></TR
16119></TABLE
16120><P
16121>get the default compression mode used, ZLIB based.</P
16122><P
16123></P
16124><DIV
16125CLASS="INFORMALTABLE"
16126><A
16127NAME="AEN7511"
16128></A
16129><P
16130></P
16131><TABLE
16132BORDER="0"
16133WIDTH="100%"
16134BGCOLOR="#FFD0D0"
16135CELLSPACING="0"
16136CELLPADDING="4"
16137CLASS="CALSTABLE"
16138><TBODY
16139><TR
16140><TD
16141WIDTH="20%"
16142ALIGN="RIGHT"
16143VALIGN="TOP"
16144><I
16145CLASS="EMPHASIS"
16146>Returns</I
16147> :</TD
16148><TD
16149WIDTH="80%"
16150ALIGN="LEFT"
16151VALIGN="TOP"
16152>0 (uncompressed) to 9 (max compression)</TD
16153></TR
16154></TBODY
16155></TABLE
16156><P
16157></P
16158></DIV
16159></DIV
16160><HR><DIV
16161CLASS="REFSECT2"
16162><A
16163NAME="AEN7520"
16164></A
16165><H3
16166><A
16167NAME="XMLSETCOMPRESSMODE"
16168></A
16169>xmlSetCompressMode ()</H3
16170><TABLE
16171BORDER="0"
16172BGCOLOR="#D6E8FF"
16173WIDTH="100%"
16174CELLPADDING="6"
16175><TR
16176><TD
16177><PRE
16178CLASS="PROGRAMLISTING"
16179>void        xmlSetCompressMode              (int mode);</PRE
16180></TD
16181></TR
16182></TABLE
16183><P
16184>set the default compression mode used, ZLIB based
16185Correct values: 0 (uncompressed) to 9 (max compression)</P
16186><P
16187></P
16188><DIV
16189CLASS="INFORMALTABLE"
16190><A
16191NAME="AEN7526"
16192></A
16193><P
16194></P
16195><TABLE
16196BORDER="0"
16197WIDTH="100%"
16198BGCOLOR="#FFD0D0"
16199CELLSPACING="0"
16200CELLPADDING="4"
16201CLASS="CALSTABLE"
16202><TBODY
16203><TR
16204><TD
16205WIDTH="20%"
16206ALIGN="RIGHT"
16207VALIGN="TOP"
16208><TT
16209CLASS="PARAMETER"
16210><I
16211>mode</I
16212></TT
16213>&nbsp;:</TD
16214><TD
16215WIDTH="80%"
16216ALIGN="LEFT"
16217VALIGN="TOP"
16218>  the compression ratio</TD
16219></TR
16220></TBODY
16221></TABLE
16222><P
16223></P
16224></DIV
16225></DIV
16226></DIV
16227><DIV
16228CLASS="NAVFOOTER"
16229><BR
16230CLEAR="all"><BR><TABLE
16231WIDTH="100%"
16232BORDER="0"
16233BGCOLOR="#000000"
16234CELLPADDING="1"
16235CELLSPACING="0"
16236><TR
16237><TD
16238WIDTH="25%"
16239BGCOLOR="#C00000"
16240ALIGN="left"
16241><A
16242HREF="libxml-sax.html"
16243><FONT
16244COLOR="#FFFFFF"
16245SIZE="3"
16246><B
16247>&#60;&#60;&#60; Previous Page</B
16248></FONT
16249></A
16250></TD
16251><TD
16252WIDTH="25%"
16253BGCOLOR="#0000C0"
16254ALIGN="center"
16255><FONT
16256COLOR="#FFFFFF"
16257SIZE="3"
16258><B
16259><A
16260HREF="book1.html"
16261><FONT
16262COLOR="#FFFFFF"
16263SIZE="3"
16264><B
16265>Home</B
16266></FONT
16267></A
16268></B
16269></FONT
16270></TD
16271><TD
16272WIDTH="25%"
16273BGCOLOR="#00C000"
16274ALIGN="center"
16275><FONT
16276COLOR="#FFFFFF"
16277SIZE="3"
16278><B
16279><A
16280HREF="libxml-lib.html"
16281><FONT
16282COLOR="#FFFFFF"
16283SIZE="3"
16284><B
16285>Up</B
16286></FONT
16287></A
16288></B
16289></FONT
16290></TD
16291><TD
16292WIDTH="25%"
16293BGCOLOR="#C00000"
16294ALIGN="right"
16295><A
16296HREF="libxml-entities.html"
16297><FONT
16298COLOR="#FFFFFF"
16299SIZE="3"
16300><B
16301>Next Page &#62;&#62;&#62;</B
16302></FONT
16303></A
16304></TD
16305></TR
16306><TR
16307><TD
16308COLSPAN="2"
16309ALIGN="left"
16310><FONT
16311COLOR="#FFFFFF"
16312SIZE="3"
16313><B
16314>SAX</B
16315></FONT
16316></TD
16317><TD
16318COLSPAN="2"
16319ALIGN="right"
16320><FONT
16321COLOR="#FFFFFF"
16322SIZE="3"
16323><B
16324>entities</B
16325></FONT
16326></TD
16327></TR
16328></TABLE
16329></DIV
16330></BODY
16331></HTML
16332>