blob: 95f35d3eec1a0a6d48939c058cd9dc9af6d46ab8 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>tree</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard539638b2002-07-06 19:55:14 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
Daniel Veillard60087f32001-10-10 09:45:09 +00008"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000013TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000015REL="PREVIOUS"
Daniel Veillard294cbca1999-12-03 13:19:09 +000016TITLE="SAX"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017HREF="libxml-sax.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000018REL="NEXT"
19TITLE="entities"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-entities.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard35925471999-02-25 08:46:07 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000033BGCOLOR="#000000"
34CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000035CELLSPACING="0"
36><TR
37><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000038COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000039ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000040><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
Daniel Veillard35925471999-02-25 08:46:07 +000045></TR
46><TR
47><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000048WIDTH="25%"
49BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000050ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000051><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000052HREF="libxml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
Daniel Veillard35925471999-02-25 08:46:07 +000060></TD
61><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000062WIDTH="25%"
63BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000064ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000065><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000080></TD
81><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000082WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
Daniel Veillard35008381999-10-25 13:15:52 +000090HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000091><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000104ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
Daniel Veillard35925471999-02-25 08:46:07 +0000114></TD
115></TR
116></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000117></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000120NAME="LIBXML-TREE">tree</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000124NAME="AEN3833"
Daniel Veillard35925471999-02-25 08:46:07 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>tree&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000132NAME="AEN3836"><H2
Daniel Veillard35925471999-02-25 08:46:07 +0000133>Synopsis</H2
134><TABLE
135BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000136BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000137WIDTH="100%"
138CELLPADDING="6"
139><TR
140><TD
141><PRE
142CLASS="SYNOPSIS"
143>&#13;
144
Daniel Veillard43d3f612001-11-10 11:57:23 +0000145struct <A
146HREF="libxml-tree.html#XMLPARSERINPUTBUFFER"
147>xmlParserInputBuffer</A
148>;
149typedef <A
150HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
151>xmlParserInputBufferPtr</A
152>;
153struct <A
154HREF="libxml-tree.html#XMLOUTPUTBUFFER"
155>xmlOutputBuffer</A
156>;
157typedef <A
158HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
159>xmlOutputBufferPtr</A
160>;
161struct <A
162HREF="libxml-parser.html#XMLPARSERINPUT"
163>xmlParserInput</A
164>;
165typedef <A
166HREF="libxml-tree.html#XMLPARSERINPUTPTR"
167>xmlParserInputPtr</A
168>;
169struct <A
170HREF="libxml-parser.html#XMLPARSERCTXT"
171>xmlParserCtxt</A
172>;
173typedef <A
174HREF="libxml-tree.html#XMLPARSERCTXTPTR"
175>xmlParserCtxtPtr</A
176>;
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000177struct <A
178HREF="libxml-parser.html#XMLSAXLOCATOR"
179>xmlSAXLocator</A
180>;
181typedef <A
182HREF="libxml-tree.html#XMLSAXLOCATORPTR"
183>xmlSAXLocatorPtr</A
184>;
185struct <A
186HREF="libxml-parser.html#XMLSAXHANDLER"
187>xmlSAXHandler</A
188>;
189typedef <A
190HREF="libxml-tree.html#XMLSAXHANDLERPTR"
191>xmlSAXHandlerPtr</A
192>;
193struct <A
194HREF="libxml-tree.html#XMLENTITY"
195>xmlEntity</A
196>;
197typedef <A
198HREF="libxml-tree.html#XMLENTITYPTR"
199>xmlEntityPtr</A
200>;
Daniel Veillarde356c282001-03-10 12:32:04 +0000201#define <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000202HREF="libxml-tree.html#BASE-BUFFER-SIZE-CAPS"
203>BASE_BUFFER_SIZE</A
204>
205#define <A
Daniel Veillarde356c282001-03-10 12:32:04 +0000206HREF="libxml-tree.html#XML-XML-NAMESPACE-CAPS"
207>XML_XML_NAMESPACE</A
208>
Daniel Veillard35925471999-02-25 08:46:07 +0000209enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000210HREF="libxml-tree.html#XMLELEMENTTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000211>xmlElementType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000212>;
Daniel Veillard35925471999-02-25 08:46:07 +0000213typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000215>xmlChar</A
216>;
217#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-tree.html#BAD-CAST-CAPS"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000219>BAD_CAST</A
220>
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000221struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-tree.html#XMLNOTATION"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000223>xmlNotation</A
224>;
Daniel Veillard35925471999-02-25 08:46:07 +0000225typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000227>xmlNotationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000228>;
Daniel Veillard35925471999-02-25 08:46:07 +0000229enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000230HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000231>xmlAttributeType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000232>;
Daniel Veillard35925471999-02-25 08:46:07 +0000233enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000234HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillard35925471999-02-25 08:46:07 +0000235>xmlAttributeDefault</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000236>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000237struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000238HREF="libxml-tree.html#XMLENUMERATION"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000239>xmlEnumeration</A
240>;
Daniel Veillard35925471999-02-25 08:46:07 +0000241typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000242HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000243>xmlEnumerationPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000244>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000245struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000246HREF="libxml-tree.html#XMLATTRIBUTE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000247>xmlAttribute</A
248>;
Daniel Veillard35925471999-02-25 08:46:07 +0000249typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000251>xmlAttributePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000252>;
Daniel Veillard35925471999-02-25 08:46:07 +0000253enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000255>xmlElementContentType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000256>;
Daniel Veillard35925471999-02-25 08:46:07 +0000257enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-tree.html#XMLELEMENTCONTENTOCCUR"
Daniel Veillard35925471999-02-25 08:46:07 +0000259>xmlElementContentOccur</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000260>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000261struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000263>xmlElementContent</A
264>;
Daniel Veillard35925471999-02-25 08:46:07 +0000265typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000267>xmlElementContentPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000268>;
Daniel Veillard35925471999-02-25 08:46:07 +0000269enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000271>xmlElementTypeVal</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000272>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000273struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-tree.html#XMLELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000275>xmlElement</A
276>;
Daniel Veillard35925471999-02-25 08:46:07 +0000277typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000278HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000279>xmlElementPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000280>;
Daniel Veillarda4964b72000-10-31 18:23:44 +0000281#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000282HREF="libxml-tree.html#XML-LOCAL-NAMESPACE-CAPS"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000283>XML_LOCAL_NAMESPACE</A
284>
285typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000286HREF="libxml-tree.html#XMLNSTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000287>xmlNsType</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000288>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000289struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000290HREF="libxml-tree.html#XMLNS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000291>xmlNs</A
292>;
Daniel Veillard35925471999-02-25 08:46:07 +0000293typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000294HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000295>xmlNsPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000296>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000297struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000298HREF="libxml-tree.html#XMLDTD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000299>xmlDtd</A
300>;
Daniel Veillard35925471999-02-25 08:46:07 +0000301typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000302HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000303>xmlDtdPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000304>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000305struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000306HREF="libxml-tree.html#XMLATTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000307>xmlAttr</A
308>;
Daniel Veillard35925471999-02-25 08:46:07 +0000309typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000310HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000311>xmlAttrPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000312>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000313struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000314HREF="libxml-tree.html#XMLID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000315>xmlID</A
316>;
Daniel Veillard35925471999-02-25 08:46:07 +0000317typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000318HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000319>xmlIDPtr</A
320>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000321struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000322HREF="libxml-tree.html#XMLREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000323>xmlRef</A
324>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000325typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000326HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000327>xmlRefPtr</A
328>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000329enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000330HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000331>xmlBufferAllocationScheme</A
332>;
333struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000334HREF="libxml-tree.html#XMLBUFFER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000335>xmlBuffer</A
336>;
337typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000338HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000339>xmlBufferPtr</A
340>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000341struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000342HREF="libxml-tree.html#XMLNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000343>xmlNode</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000344>;
Daniel Veillard35925471999-02-25 08:46:07 +0000345typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000346HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000347>xmlNodePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000348>;
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000349#define <A
350HREF="libxml-tree.html#XML-GET-CONTENT-CAPS"
351>XML_GET_CONTENT</A
352> (n)
353#define <A
354HREF="libxml-tree.html#XML-GET-LINE-CAPS"
355>XML_GET_LINE</A
356> (n)
Daniel Veillard71b656e2000-01-05 14:46:17 +0000357struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-tree.html#XMLDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000359>xmlDoc</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000360>;
Daniel Veillard35925471999-02-25 08:46:07 +0000361typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000363>xmlDocPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000364>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000365#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-tree.html#XMLCHILDRENNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000367>xmlChildrenNode</A
368>
369#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000370HREF="libxml-tree.html#XMLROOTNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000371>xmlRootNode</A
372>
Daniel Veillarda41123c2001-04-22 19:31:20 +0000373void <A
374HREF="libxml-tree.html#XMLSETBUFFERALLOCATIONSCHEME"
375>xmlSetBufferAllocationScheme</A
376> (<A
377HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
378>xmlBufferAllocationScheme</A
379> scheme);
380<A
381HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
382>xmlBufferAllocationScheme</A
383> <A
384HREF="libxml-tree.html#XMLGETBUFFERALLOCATIONSCHEME"
385>xmlGetBufferAllocationScheme</A
386>
387 (void);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000388<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000389HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000390>xmlBufferPtr</A
391> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000392HREF="libxml-tree.html#XMLBUFFERCREATE"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000393>xmlBufferCreate</A
394> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000395<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000396HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000397>xmlBufferPtr</A
398> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000399HREF="libxml-tree.html#XMLBUFFERCREATESIZE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000400>xmlBufferCreateSize</A
401> (<GTKDOCLINK
402HREF="SIZE-T"
403>size_t</GTKDOCLINK
404> size);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000405int <A
406HREF="libxml-tree.html#XMLBUFFERRESIZE"
407>xmlBufferResize</A
408> (<A
409HREF="libxml-tree.html#XMLBUFFERPTR"
410>xmlBufferPtr</A
411> buf,
412 unsigned int size);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000413void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000414HREF="libxml-tree.html#XMLBUFFERFREE"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000415>xmlBufferFree</A
416> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000417HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000418>xmlBufferPtr</A
419> buf);
420int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-tree.html#XMLBUFFERDUMP"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000422>xmlBufferDump</A
423> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000424HREF="FILE-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000425>FILE</GTKDOCLINK
426> *file,
427 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000428HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000429>xmlBufferPtr</A
430> buf);
431void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000432HREF="libxml-tree.html#XMLBUFFERADD"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000433>xmlBufferAdd</A
434> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000435HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000436>xmlBufferPtr</A
437> buf,
438 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000439HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000440>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000441> *str,
442 int len);
443void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000444HREF="libxml-tree.html#XMLBUFFERADDHEAD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000445>xmlBufferAddHead</A
446> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000447HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000448>xmlBufferPtr</A
449> buf,
450 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000451HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000452>xmlChar</A
453> *str,
454 int len);
455void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000456HREF="libxml-tree.html#XMLBUFFERCAT"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000457>xmlBufferCat</A
458> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000459HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000460>xmlBufferPtr</A
461> buf,
462 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000463HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000464>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000465> *str);
466void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000467HREF="libxml-tree.html#XMLBUFFERCCAT"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000468>xmlBufferCCat</A
469> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000470HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000471>xmlBufferPtr</A
472> buf,
473 const char *str);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000474int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000475HREF="libxml-tree.html#XMLBUFFERSHRINK"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000476>xmlBufferShrink</A
477> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000478HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000479>xmlBufferPtr</A
480> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000481 unsigned int len);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000482int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000483HREF="libxml-tree.html#XMLBUFFERGROW"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000484>xmlBufferGrow</A
485> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000486HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000487>xmlBufferPtr</A
488> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000489 unsigned int len);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000490void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000491HREF="libxml-tree.html#XMLBUFFEREMPTY"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000492>xmlBufferEmpty</A
493> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000494HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000495>xmlBufferPtr</A
496> buf);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000497const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000498HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000499>xmlChar</A
500>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000501HREF="libxml-tree.html#XMLBUFFERCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000502>xmlBufferContent</A
503> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000504HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000505>xmlBufferPtr</A
506> buf);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000507void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000508HREF="libxml-tree.html#XMLBUFFERSETALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000509>xmlBufferSetAllocationScheme</A
510> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000511HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000512>xmlBufferPtr</A
513> buf,
514 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000515HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000516>xmlBufferAllocationScheme</A
517> scheme);
518int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000519HREF="libxml-tree.html#XMLBUFFERLENGTH"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000520>xmlBufferLength</A
521> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000522HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000523>xmlBufferPtr</A
524> buf);
Daniel Veillard35925471999-02-25 08:46:07 +0000525<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000526HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000527>xmlDtdPtr</A
528> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000529HREF="libxml-tree.html#XMLCREATEINTSUBSET"
Daniel Veillard35925471999-02-25 08:46:07 +0000530>xmlCreateIntSubset</A
531> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000532HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000533>xmlDocPtr</A
534> doc,
535 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000536HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000537>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000538> *name,
539 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000540HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000541>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000542> *ExternalID,
543 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000544HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000545>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000546> *SystemID);
547<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000548HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000549>xmlDtdPtr</A
550> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000551HREF="libxml-tree.html#XMLNEWDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000552>xmlNewDtd</A
553> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000555>xmlDocPtr</A
556> doc,
557 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000558HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000559>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000560> *name,
561 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000562HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000563>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000564> *ExternalID,
565 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000566HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000567>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000568> *SystemID);
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000569<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000570HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000571>xmlDtdPtr</A
572> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000573HREF="libxml-tree.html#XMLGETINTSUBSET"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000574>xmlGetIntSubset</A
575> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000576HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000577>xmlDocPtr</A
578> doc);
Daniel Veillard35925471999-02-25 08:46:07 +0000579void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000580HREF="libxml-tree.html#XMLFREEDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000581>xmlFreeDtd</A
582> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000584>xmlDtdPtr</A
585> cur);
586<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000588>xmlNsPtr</A
589> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000590HREF="libxml-tree.html#XMLNEWGLOBALNS"
Daniel Veillard35925471999-02-25 08:46:07 +0000591>xmlNewGlobalNs</A
592> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000593HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000594>xmlDocPtr</A
595> doc,
596 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000597HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000598>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000599> *href,
600 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000602>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000603> *prefix);
604<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000606>xmlNsPtr</A
607> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000608HREF="libxml-tree.html#XMLNEWNS"
Daniel Veillard35925471999-02-25 08:46:07 +0000609>xmlNewNs</A
610> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000611HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000612>xmlNodePtr</A
613> node,
614 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000615HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000616>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000617> *href,
618 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000619HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000620>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000621> *prefix);
622void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000623HREF="libxml-tree.html#XMLFREENS"
Daniel Veillard35925471999-02-25 08:46:07 +0000624>xmlFreeNs</A
625> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000626HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000627>xmlNsPtr</A
628> cur);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000629void <A
630HREF="libxml-tree.html#XMLFREENSLIST"
631>xmlFreeNsList</A
632> (<A
633HREF="libxml-tree.html#XMLNSPTR"
634>xmlNsPtr</A
635> cur);
Daniel Veillard35925471999-02-25 08:46:07 +0000636<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000638>xmlDocPtr</A
639> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000640HREF="libxml-tree.html#XMLNEWDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000641>xmlNewDoc</A
642> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000643HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000644>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000645> *version);
646void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000647HREF="libxml-tree.html#XMLFREEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000648>xmlFreeDoc</A
649> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000650HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000651>xmlDocPtr</A
652> cur);
653<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000654HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000655>xmlAttrPtr</A
656> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000657HREF="libxml-tree.html#XMLNEWDOCPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000658>xmlNewDocProp</A
659> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000661>xmlDocPtr</A
662> doc,
663 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000665>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000666> *name,
667 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000668HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000669>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000670> *value);
671<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000672HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000673>xmlAttrPtr</A
674> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000675HREF="libxml-tree.html#XMLNEWPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000676>xmlNewProp</A
677> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000678HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000679>xmlNodePtr</A
680> node,
681 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000682HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000683>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000684> *name,
685 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000686HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000687>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000688> *value);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000689<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000691>xmlAttrPtr</A
692> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000693HREF="libxml-tree.html#XMLNEWNSPROP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000694>xmlNewNsProp</A
695> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000696HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000697>xmlNodePtr</A
698> node,
699 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000700HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000701>xmlNsPtr</A
702> ns,
703 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000704HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000705>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000706> *name,
707 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000708HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000709>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000710> *value);
Daniel Veillard539638b2002-07-06 19:55:14 +0000711<A
712HREF="libxml-tree.html#XMLATTRPTR"
713>xmlAttrPtr</A
714> <A
715HREF="libxml-tree.html#XMLNEWNSPROPEATNAME"
716>xmlNewNsPropEatName</A
717> (<A
718HREF="libxml-tree.html#XMLNODEPTR"
719>xmlNodePtr</A
720> node,
721 <A
722HREF="libxml-tree.html#XMLNSPTR"
723>xmlNsPtr</A
724> ns,
725 <A
726HREF="libxml-tree.html#XMLCHAR"
727>xmlChar</A
728> *name,
729 const <A
730HREF="libxml-tree.html#XMLCHAR"
731>xmlChar</A
732> *value);
Daniel Veillard35925471999-02-25 08:46:07 +0000733void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000734HREF="libxml-tree.html#XMLFREEPROPLIST"
Daniel Veillard35925471999-02-25 08:46:07 +0000735>xmlFreePropList</A
736> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000737HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000738>xmlAttrPtr</A
739> cur);
740void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000741HREF="libxml-tree.html#XMLFREEPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000742>xmlFreeProp</A
743> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000744HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000745>xmlAttrPtr</A
746> cur);
747<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000748HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000749>xmlAttrPtr</A
750> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000751HREF="libxml-tree.html#XMLCOPYPROP"
Daniel Veillard35925471999-02-25 08:46:07 +0000752>xmlCopyProp</A
753> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000754HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000755>xmlNodePtr</A
756> target,
757 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000758HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000759>xmlAttrPtr</A
760> cur);
761<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000762HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000763>xmlAttrPtr</A
764> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000765HREF="libxml-tree.html#XMLCOPYPROPLIST"
Daniel Veillard35925471999-02-25 08:46:07 +0000766>xmlCopyPropList</A
767> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000768HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000769>xmlNodePtr</A
770> target,
771 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000772HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000773>xmlAttrPtr</A
774> cur);
775<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000777>xmlDtdPtr</A
778> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000779HREF="libxml-tree.html#XMLCOPYDTD"
Daniel Veillard35925471999-02-25 08:46:07 +0000780>xmlCopyDtd</A
781> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000782HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000783>xmlDtdPtr</A
784> dtd);
785<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000786HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000787>xmlDocPtr</A
788> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000789HREF="libxml-tree.html#XMLCOPYDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000790>xmlCopyDoc</A
791> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000792HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000793>xmlDocPtr</A
794> doc,
795 int recursive);
796<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000797HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000798>xmlNodePtr</A
799> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000800HREF="libxml-tree.html#XMLNEWDOCNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000801>xmlNewDocNode</A
802> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000803HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000804>xmlDocPtr</A
805> doc,
806 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000807HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000808>xmlNsPtr</A
809> ns,
810 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000811HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000812>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000813> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000814 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000815HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000816>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000817> *content);
818<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000819HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000820>xmlNodePtr</A
821> <A
Daniel Veillard539638b2002-07-06 19:55:14 +0000822HREF="libxml-tree.html#XMLNEWDOCNODEEATNAME"
823>xmlNewDocNodeEatName</A
824> (<A
825HREF="libxml-tree.html#XMLDOCPTR"
826>xmlDocPtr</A
827> doc,
828 <A
829HREF="libxml-tree.html#XMLNSPTR"
830>xmlNsPtr</A
831> ns,
832 <A
833HREF="libxml-tree.html#XMLCHAR"
834>xmlChar</A
835> *name,
836 const <A
837HREF="libxml-tree.html#XMLCHAR"
838>xmlChar</A
839> *content);
840<A
841HREF="libxml-tree.html#XMLNODEPTR"
842>xmlNodePtr</A
843> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000844HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000845>xmlNewDocRawNode</A
846> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000847HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000848>xmlDocPtr</A
849> doc,
850 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000851HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000852>xmlNsPtr</A
853> ns,
854 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000855HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000856>xmlChar</A
857> *name,
858 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000859HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000860>xmlChar</A
861> *content);
862<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000863HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000864>xmlNodePtr</A
865> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000866HREF="libxml-tree.html#XMLNEWNODE"
Daniel Veillard35925471999-02-25 08:46:07 +0000867>xmlNewNode</A
868> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000869HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000870>xmlNsPtr</A
871> ns,
872 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000873HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000874>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000875> *name);
876<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000878>xmlNodePtr</A
879> <A
Daniel Veillard539638b2002-07-06 19:55:14 +0000880HREF="libxml-tree.html#XMLNEWNODEEATNAME"
881>xmlNewNodeEatName</A
882> (<A
883HREF="libxml-tree.html#XMLNSPTR"
884>xmlNsPtr</A
885> ns,
886 <A
887HREF="libxml-tree.html#XMLCHAR"
888>xmlChar</A
889> *name);
890<A
891HREF="libxml-tree.html#XMLNODEPTR"
892>xmlNodePtr</A
893> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000894HREF="libxml-tree.html#XMLNEWCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +0000895>xmlNewChild</A
896> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000897HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000898>xmlNodePtr</A
899> parent,
900 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000901HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000902>xmlNsPtr</A
903> ns,
904 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000905HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000906>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000907> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000908 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000909HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000910>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000911> *content);
912<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000913HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000914>xmlNodePtr</A
915> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000916HREF="libxml-tree.html#XMLNEWTEXTCHILD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000917>xmlNewTextChild</A
918> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000919HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000920>xmlNodePtr</A
921> parent,
922 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000923HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000924>xmlNsPtr</A
925> ns,
926 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000927HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000928>xmlChar</A
929> *name,
930 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000932>xmlChar</A
933> *content);
934<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000935HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000936>xmlNodePtr</A
937> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000938HREF="libxml-tree.html#XMLNEWDOCTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000939>xmlNewDocText</A
940> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000941HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000942>xmlDocPtr</A
943> doc,
944 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000945HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000946>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000947> *content);
948<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000949HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000950>xmlNodePtr</A
951> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000952HREF="libxml-tree.html#XMLNEWTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000953>xmlNewText</A
954> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000955HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000956>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000957> *content);
958<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000959HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000960>xmlNodePtr</A
961> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000962HREF="libxml-tree.html#XMLNEWPI"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000963>xmlNewPI</A
964> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000965HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000966>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000967> *name,
968 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000969HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000970>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000971> *content);
972<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000973HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000974>xmlNodePtr</A
975> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000976HREF="libxml-tree.html#XMLNEWDOCTEXTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000977>xmlNewDocTextLen</A
978> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000979HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000980>xmlDocPtr</A
981> doc,
982 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000983HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000984>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000985> *content,
986 int len);
987<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000988HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000989>xmlNodePtr</A
990> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000991HREF="libxml-tree.html#XMLNEWTEXTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000992>xmlNewTextLen</A
993> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000994HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000995>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000996> *content,
997 int len);
998<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000999HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001000>xmlNodePtr</A
1001> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001002HREF="libxml-tree.html#XMLNEWDOCCOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001003>xmlNewDocComment</A
1004> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001005HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001006>xmlDocPtr</A
1007> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001008 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001009HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001010>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001011> *content);
1012<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001013HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001014>xmlNodePtr</A
1015> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001016HREF="libxml-tree.html#XMLNEWCOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001017>xmlNewComment</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001018> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001019HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001020>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001021> *content);
1022<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001023HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001024>xmlNodePtr</A
1025> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001026HREF="libxml-tree.html#XMLNEWCDATABLOCK"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001027>xmlNewCDataBlock</A
1028> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001029HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001030>xmlDocPtr</A
1031> doc,
1032 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001033HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001034>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001035> *content,
1036 int len);
1037<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001038HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001039>xmlNodePtr</A
1040> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001041HREF="libxml-tree.html#XMLNEWCHARREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001042>xmlNewCharRef</A
1043> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001044HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001045>xmlDocPtr</A
1046> doc,
1047 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001048HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001049>xmlChar</A
1050> *name);
1051<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001052HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001053>xmlNodePtr</A
1054> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001055HREF="libxml-tree.html#XMLNEWREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +00001056>xmlNewReference</A
1057> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001058HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001059>xmlDocPtr</A
1060> doc,
1061 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001062HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001063>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001064> *name);
1065<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001066HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001067>xmlNodePtr</A
1068> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001069HREF="libxml-tree.html#XMLCOPYNODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001070>xmlCopyNode</A
Daniel Veillard04382ae2001-09-12 18:51:30 +00001071> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001072HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001073>xmlNodePtr</A
1074> node,
1075 int recursive);
1076<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001077HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001078>xmlNodePtr</A
1079> <A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001080HREF="libxml-tree.html#XMLDOCCOPYNODE"
1081>xmlDocCopyNode</A
Daniel Veillardfc57b412002-04-29 15:50:14 +00001082> (const <A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001083HREF="libxml-tree.html#XMLNODEPTR"
1084>xmlNodePtr</A
1085> node,
1086 <A
1087HREF="libxml-tree.html#XMLDOCPTR"
1088>xmlDocPtr</A
1089> doc,
1090 int recursive);
1091<A
1092HREF="libxml-tree.html#XMLNODEPTR"
1093>xmlNodePtr</A
1094> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001095HREF="libxml-tree.html#XMLCOPYNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001096>xmlCopyNodeList</A
Daniel Veillardfc57b412002-04-29 15:50:14 +00001097> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001098HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001099>xmlNodePtr</A
1100> node);
1101<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001102HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001103>xmlNodePtr</A
1104> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001105HREF="libxml-tree.html#XMLNEWDOCFRAGMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001106>xmlNewDocFragment</A
1107> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001108HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001109>xmlDocPtr</A
1110> doc);
Daniel Veillardef90ba72001-12-07 14:24:22 +00001111<GTKDOCLINK
1112HREF="LONG"
1113>long</GTKDOCLINK
1114> <A
1115HREF="libxml-tree.html#XMLGETLINENO"
1116>xmlGetLineNo</A
1117> (<A
1118HREF="libxml-tree.html#XMLNODEPTR"
1119>xmlNodePtr</A
1120> node);
1121<A
1122HREF="libxml-tree.html#XMLCHAR"
1123>xmlChar</A
1124>* <A
1125HREF="libxml-tree.html#XMLGETNODEPATH"
1126>xmlGetNodePath</A
1127> (<A
1128HREF="libxml-tree.html#XMLNODEPTR"
1129>xmlNodePtr</A
1130> node);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001131<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001132HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001133>xmlNodePtr</A
1134> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001135HREF="libxml-tree.html#XMLDOCGETROOTELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001136>xmlDocGetRootElement</A
1137> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001138HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001139>xmlDocPtr</A
1140> doc);
1141<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001142HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001143>xmlNodePtr</A
1144> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001145HREF="libxml-tree.html#XMLGETLASTCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +00001146>xmlGetLastChild</A
1147> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001148HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001149>xmlNodePtr</A
1150> parent);
1151int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001152HREF="libxml-tree.html#XMLNODEISTEXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001153>xmlNodeIsText</A
1154> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001155HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001156>xmlNodePtr</A
1157> node);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001158int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001159HREF="libxml-tree.html#XMLISBLANKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001160>xmlIsBlankNode</A
1161> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001162HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001163>xmlNodePtr</A
1164> node);
1165<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001166HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001167>xmlNodePtr</A
1168> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001169HREF="libxml-tree.html#XMLDOCSETROOTELEMENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001170>xmlDocSetRootElement</A
1171> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001172HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001173>xmlDocPtr</A
1174> doc,
1175 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001176HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001177>xmlNodePtr</A
1178> root);
1179void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001180HREF="libxml-tree.html#XMLNODESETNAME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001181>xmlNodeSetName</A
1182> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001183HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001184>xmlNodePtr</A
1185> cur,
1186 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001187HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001188>xmlChar</A
1189> *name);
Daniel Veillardf3a73582000-01-05 14:58:39 +00001190<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001191HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001192>xmlNodePtr</A
1193> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001194HREF="libxml-tree.html#XMLADDCHILD"
Daniel Veillard35925471999-02-25 08:46:07 +00001195>xmlAddChild</A
1196> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001197HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001198>xmlNodePtr</A
1199> parent,
1200 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001201HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001202>xmlNodePtr</A
1203> cur);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001204<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001205HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001206>xmlNodePtr</A
1207> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001208HREF="libxml-tree.html#XMLADDCHILDLIST"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001209>xmlAddChildList</A
1210> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001211HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001212>xmlNodePtr</A
1213> parent,
1214 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001215HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001216>xmlNodePtr</A
1217> cur);
1218<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001219HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001220>xmlNodePtr</A
1221> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001222HREF="libxml-tree.html#XMLREPLACENODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001223>xmlReplaceNode</A
1224> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001225HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001226>xmlNodePtr</A
1227> old,
1228 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001229HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001230>xmlNodePtr</A
1231> cur);
1232<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001233HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001234>xmlNodePtr</A
1235> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001236HREF="libxml-tree.html#XMLADDSIBLING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001237>xmlAddSibling</A
1238> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001239HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001240>xmlNodePtr</A
1241> cur,
1242 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001243HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001244>xmlNodePtr</A
1245> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001246<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001247HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001248>xmlNodePtr</A
1249> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001250HREF="libxml-tree.html#XMLADDPREVSIBLING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001251>xmlAddPrevSibling</A
1252> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001253HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001254>xmlNodePtr</A
1255> cur,
1256 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001257HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001258>xmlNodePtr</A
1259> elem);
1260<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001261HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001262>xmlNodePtr</A
1263> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001264HREF="libxml-tree.html#XMLADDNEXTSIBLING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001265>xmlAddNextSibling</A
1266> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001267HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001268>xmlNodePtr</A
1269> cur,
1270 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001271HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001272>xmlNodePtr</A
1273> elem);
Daniel Veillard35925471999-02-25 08:46:07 +00001274void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001275HREF="libxml-tree.html#XMLUNLINKNODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001276>xmlUnlinkNode</A
1277> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001278HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001279>xmlNodePtr</A
1280> cur);
1281<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001282HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001283>xmlNodePtr</A
1284> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001285HREF="libxml-tree.html#XMLTEXTMERGE"
Daniel Veillard35925471999-02-25 08:46:07 +00001286>xmlTextMerge</A
1287> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001288HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001289>xmlNodePtr</A
1290> first,
1291 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001292HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001293>xmlNodePtr</A
1294> second);
1295void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001296HREF="libxml-tree.html#XMLTEXTCONCAT"
Daniel Veillard35925471999-02-25 08:46:07 +00001297>xmlTextConcat</A
1298> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001299HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001300>xmlNodePtr</A
1301> node,
1302 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001303HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001304>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001305> *content,
1306 int len);
1307void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001308HREF="libxml-tree.html#XMLFREENODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001309>xmlFreeNodeList</A
1310> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001311HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001312>xmlNodePtr</A
1313> cur);
1314void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001315HREF="libxml-tree.html#XMLFREENODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001316>xmlFreeNode</A
1317> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001318HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001319>xmlNodePtr</A
1320> cur);
Daniel Veillard28929b22000-11-13 18:22:49 +00001321void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001322HREF="libxml-tree.html#XMLSETTREEDOC"
Daniel Veillard28929b22000-11-13 18:22:49 +00001323>xmlSetTreeDoc</A
1324> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001325HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001326>xmlNodePtr</A
1327> tree,
1328 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001329HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001330>xmlDocPtr</A
1331> doc);
1332void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001333HREF="libxml-tree.html#XMLSETLISTDOC"
Daniel Veillard28929b22000-11-13 18:22:49 +00001334>xmlSetListDoc</A
1335> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001336HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001337>xmlNodePtr</A
1338> list,
1339 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001340HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001341>xmlDocPtr</A
1342> doc);
Daniel Veillard35925471999-02-25 08:46:07 +00001343<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001344HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001345>xmlNsPtr</A
1346> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001347HREF="libxml-tree.html#XMLSEARCHNS"
Daniel Veillard35925471999-02-25 08:46:07 +00001348>xmlSearchNs</A
1349> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001350HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001351>xmlDocPtr</A
1352> doc,
1353 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001354HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001355>xmlNodePtr</A
1356> node,
1357 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001358HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001359>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001360> *nameSpace);
1361<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001362HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001363>xmlNsPtr</A
1364> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001365HREF="libxml-tree.html#XMLSEARCHNSBYHREF"
Daniel Veillard35925471999-02-25 08:46:07 +00001366>xmlSearchNsByHref</A
1367> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001368HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001369>xmlDocPtr</A
1370> doc,
1371 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001372HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001373>xmlNodePtr</A
1374> node,
1375 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001376HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001377>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001378> *href);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001379<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001380HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001381>xmlNsPtr</A
1382>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001383HREF="libxml-tree.html#XMLGETNSLIST"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001384>xmlGetNsList</A
1385> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001386HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001387>xmlDocPtr</A
1388> doc,
1389 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001390HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001391>xmlNodePtr</A
1392> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001393void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001394HREF="libxml-tree.html#XMLSETNS"
Daniel Veillard35925471999-02-25 08:46:07 +00001395>xmlSetNs</A
1396> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001397HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001398>xmlNodePtr</A
1399> node,
1400 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001401HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001402>xmlNsPtr</A
1403> ns);
1404<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001405HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001406>xmlNsPtr</A
1407> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001408HREF="libxml-tree.html#XMLCOPYNAMESPACE"
Daniel Veillard35925471999-02-25 08:46:07 +00001409>xmlCopyNamespace</A
1410> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001411HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001412>xmlNsPtr</A
1413> cur);
1414<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001415HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001416>xmlNsPtr</A
1417> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001418HREF="libxml-tree.html#XMLCOPYNAMESPACELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001419>xmlCopyNamespaceList</A
1420> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001421HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001422>xmlNsPtr</A
1423> cur);
1424<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001425HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001426>xmlAttrPtr</A
1427> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001428HREF="libxml-tree.html#XMLSETPROP"
Daniel Veillard35925471999-02-25 08:46:07 +00001429>xmlSetProp</A
1430> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001431HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001432>xmlNodePtr</A
1433> node,
1434 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001435HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001436>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001437> *name,
1438 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001439HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001440>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001441> *value);
1442<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001443HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001444>xmlChar</A
1445>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001446HREF="libxml-tree.html#XMLGETPROP"
Daniel Veillard35925471999-02-25 08:46:07 +00001447>xmlGetProp</A
1448> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001449HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001450>xmlNodePtr</A
1451> node,
1452 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001453HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001454>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001455> *name);
1456<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001457HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001458>xmlAttrPtr</A
1459> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001460HREF="libxml-tree.html#XMLHASPROP"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001461>xmlHasProp</A
1462> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001463HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001464>xmlNodePtr</A
1465> node,
1466 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001467HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001468>xmlChar</A
1469> *name);
1470<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001471HREF="libxml-tree.html#XMLATTRPTR"
1472>xmlAttrPtr</A
1473> <A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001474HREF="libxml-tree.html#XMLHASNSPROP"
1475>xmlHasNsProp</A
1476> (<A
1477HREF="libxml-tree.html#XMLNODEPTR"
1478>xmlNodePtr</A
1479> node,
1480 const <A
1481HREF="libxml-tree.html#XMLCHAR"
1482>xmlChar</A
1483> *name,
1484 const <A
1485HREF="libxml-tree.html#XMLCHAR"
1486>xmlChar</A
1487> *nameSpace);
1488<A
1489HREF="libxml-tree.html#XMLATTRPTR"
1490>xmlAttrPtr</A
1491> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001492HREF="libxml-tree.html#XMLSETNSPROP"
1493>xmlSetNsProp</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001494> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001495HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001496>xmlNodePtr</A
1497> node,
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001498 <A
1499HREF="libxml-tree.html#XMLNSPTR"
1500>xmlNsPtr</A
1501> ns,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001502 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001503HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001504>xmlChar</A
1505> *name,
1506 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001507HREF="libxml-tree.html#XMLCHAR"
1508>xmlChar</A
1509> *value);
1510<A
1511HREF="libxml-tree.html#XMLCHAR"
1512>xmlChar</A
1513>* <A
1514HREF="libxml-tree.html#XMLGETNSPROP"
1515>xmlGetNsProp</A
1516> (<A
1517HREF="libxml-tree.html#XMLNODEPTR"
1518>xmlNodePtr</A
1519> node,
1520 const <A
1521HREF="libxml-tree.html#XMLCHAR"
1522>xmlChar</A
1523> *name,
1524 const <A
1525HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001526>xmlChar</A
1527> *nameSpace);
1528<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001529HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001530>xmlNodePtr</A
1531> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001532HREF="libxml-tree.html#XMLSTRINGGETNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001533>xmlStringGetNodeList</A
1534> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001535HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001536>xmlDocPtr</A
1537> doc,
1538 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001539HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001540>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001541> *value);
1542<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001543HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001544>xmlNodePtr</A
1545> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001546HREF="libxml-tree.html#XMLSTRINGLENGETNODELIST"
Daniel Veillard35925471999-02-25 08:46:07 +00001547>xmlStringLenGetNodeList</A
1548> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001549HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001550>xmlDocPtr</A
1551> doc,
1552 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001553HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001554>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001555> *value,
1556 int len);
1557<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001558HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001559>xmlChar</A
1560>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001561HREF="libxml-tree.html#XMLNODELISTGETSTRING"
Daniel Veillard35925471999-02-25 08:46:07 +00001562>xmlNodeListGetString</A
1563> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001564HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001565>xmlDocPtr</A
1566> doc,
1567 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001568HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001569>xmlNodePtr</A
1570> list,
1571 int inLine);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001572<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001573HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001574>xmlChar</A
1575>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001576HREF="libxml-tree.html#XMLNODELISTGETRAWSTRING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001577>xmlNodeListGetRawString</A
1578> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001579HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001580>xmlDocPtr</A
1581> doc,
1582 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001583HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001584>xmlNodePtr</A
1585> list,
1586 int inLine);
Daniel Veillard35925471999-02-25 08:46:07 +00001587void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001588HREF="libxml-tree.html#XMLNODESETCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001589>xmlNodeSetContent</A
1590> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001591HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001592>xmlNodePtr</A
1593> cur,
1594 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001595HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001596>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001597> *content);
1598void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001599HREF="libxml-tree.html#XMLNODESETCONTENTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +00001600>xmlNodeSetContentLen</A
1601> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001602HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001603>xmlNodePtr</A
1604> cur,
1605 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001606HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001607>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001608> *content,
1609 int len);
1610void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001611HREF="libxml-tree.html#XMLNODEADDCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001612>xmlNodeAddContent</A
1613> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001614HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001615>xmlNodePtr</A
1616> cur,
1617 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001618HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001619>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001620> *content);
1621void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001622HREF="libxml-tree.html#XMLNODEADDCONTENTLEN"
Daniel Veillard35925471999-02-25 08:46:07 +00001623>xmlNodeAddContentLen</A
1624> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001625HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001626>xmlNodePtr</A
1627> cur,
1628 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001629HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001630>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001631> *content,
1632 int len);
1633<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001634HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001635>xmlChar</A
1636>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001637HREF="libxml-tree.html#XMLNODEGETCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +00001638>xmlNodeGetContent</A
1639> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001640HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001641>xmlNodePtr</A
1642> cur);
Daniel Veillarda819dac1999-11-24 18:04:22 +00001643<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001644HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001645>xmlChar</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001646>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001647HREF="libxml-tree.html#XMLNODEGETLANG"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001648>xmlNodeGetLang</A
Daniel Veillarda819dac1999-11-24 18:04:22 +00001649> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001650HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001651>xmlNodePtr</A
1652> cur);
1653void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001654HREF="libxml-tree.html#XMLNODESETLANG"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001655>xmlNodeSetLang</A
1656> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001657HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001658>xmlNodePtr</A
1659> cur,
1660 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001661HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001662>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001663> *lang);
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001664int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001665HREF="libxml-tree.html#XMLNODEGETSPACEPRESERVE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001666>xmlNodeGetSpacePreserve</A
1667> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001668HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001669>xmlNodePtr</A
1670> cur);
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001671void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001672HREF="libxml-tree.html#XMLNODESETSPACEPRESERVE"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001673>xmlNodeSetSpacePreserve</A
1674> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001675HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001676>xmlNodePtr</A
1677> cur,
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001678 int val);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001679<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001680HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001681>xmlChar</A
1682>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001683HREF="libxml-tree.html#XMLNODEGETBASE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001684>xmlNodeGetBase</A
1685> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001686HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001687>xmlDocPtr</A
1688> doc,
1689 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001690HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001691>xmlNodePtr</A
1692> cur);
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001693void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001694HREF="libxml-tree.html#XMLNODESETBASE"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001695>xmlNodeSetBase</A
1696> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001697HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001698>xmlNodePtr</A
1699> cur,
1700 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001701HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001702>xmlChar</A
1703> *uri);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001704int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001705HREF="libxml-tree.html#XMLREMOVEPROP"
Daniel Veillard06047432000-04-24 11:33:38 +00001706>xmlRemoveProp</A
1707> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001708HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard06047432000-04-24 11:33:38 +00001709>xmlAttrPtr</A
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001710> cur);
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001711int <A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001712HREF="libxml-tree.html#XMLUNSETPROP"
1713>xmlUnsetProp</A
1714> (<A
1715HREF="libxml-tree.html#XMLNODEPTR"
1716>xmlNodePtr</A
1717> node,
1718 const <A
1719HREF="libxml-tree.html#XMLCHAR"
1720>xmlChar</A
1721> *name);
1722int <A
1723HREF="libxml-tree.html#XMLUNSETNSPROP"
1724>xmlUnsetNsProp</A
1725> (<A
1726HREF="libxml-tree.html#XMLNODEPTR"
1727>xmlNodePtr</A
1728> node,
1729 <A
1730HREF="libxml-tree.html#XMLNSPTR"
1731>xmlNsPtr</A
1732> ns,
1733 const <A
1734HREF="libxml-tree.html#XMLCHAR"
1735>xmlChar</A
1736> *name);
Daniel Veillard35925471999-02-25 08:46:07 +00001737void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001738HREF="libxml-tree.html#XMLBUFFERWRITEXMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001739>xmlBufferWriteXmlCHAR</A
1740> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001741HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001742>xmlBufferPtr</A
1743> buf,
1744 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001745HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001746>xmlChar</A
1747> *string);
1748void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001749HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001750>xmlBufferWriteCHAR</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001751> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001752HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001753>xmlBufferPtr</A
1754> buf,
1755 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001756HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001757>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001758> *string);
1759void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001760HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00001761>xmlBufferWriteChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001762> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001763HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001764>xmlBufferPtr</A
1765> buf,
1766 const char *string);
Daniel Veillard35925471999-02-25 08:46:07 +00001767void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001768HREF="libxml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001769>xmlBufferWriteQuotedString</A
1770> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001771HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001772>xmlBufferPtr</A
1773> buf,
1774 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001775HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001776>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001777> *string);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001778int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001779HREF="libxml-tree.html#XMLRECONCILIATENS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001780>xmlReconciliateNs</A
1781> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001782HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001783>xmlDocPtr</A
1784> doc,
1785 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001786HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001787>xmlNodePtr</A
1788> tree);
Daniel Veillard011b63c1999-06-02 17:44:04 +00001789void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001790HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORY"
Daniel Veillard503b8932001-01-05 06:36:31 +00001791>xmlDocDumpFormatMemory</A
1792> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001793HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001794>xmlDocPtr</A
1795> cur,
1796 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001797HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001798>xmlChar</A
1799> **mem,
1800 int *size,
1801 int format);
1802void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001803HREF="libxml-tree.html#XMLDOCDUMPMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +00001804>xmlDocDumpMemory</A
1805> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001806HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001807>xmlDocPtr</A
1808> cur,
1809 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001810HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001811>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001812> **mem,
1813 int *size);
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001814void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001815HREF="libxml-tree.html#XMLDOCDUMPMEMORYENC"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001816>xmlDocDumpMemoryEnc</A
1817> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001818HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001819>xmlDocPtr</A
1820> out_doc,
1821 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001822HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001823>xmlChar</A
1824> **doc_txt_ptr,
1825 int *doc_txt_len,
1826 const char *txt_encoding);
Daniel Veillard503b8932001-01-05 06:36:31 +00001827void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001828HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORYENC"
Daniel Veillard503b8932001-01-05 06:36:31 +00001829>xmlDocDumpFormatMemoryEnc</A
1830> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001831HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001832>xmlDocPtr</A
1833> out_doc,
1834 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001835HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +00001836>xmlChar</A
1837> **doc_txt_ptr,
1838 int *doc_txt_len,
1839 const char *txt_encoding,
1840 int format);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001841int <A
Daniel Veillard539638b2002-07-06 19:55:14 +00001842HREF="libxml-tree.html#XMLDOCFORMATDUMP"
1843>xmlDocFormatDump</A
1844> (<GTKDOCLINK
1845HREF="FILE-CAPS"
1846>FILE</GTKDOCLINK
1847> *f,
1848 <A
1849HREF="libxml-tree.html#XMLDOCPTR"
1850>xmlDocPtr</A
1851> cur,
1852 int format);
1853int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001854HREF="libxml-tree.html#XMLDOCDUMP"
Daniel Veillard35925471999-02-25 08:46:07 +00001855>xmlDocDump</A
1856> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001857HREF="FILE-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001858>FILE</GTKDOCLINK
1859> *f,
1860 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001861HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001862>xmlDocPtr</A
1863> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001864void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001865HREF="libxml-tree.html#XMLELEMDUMP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001866>xmlElemDump</A
1867> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001868HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001869>FILE</GTKDOCLINK
1870> *f,
1871 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001872HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001873>xmlDocPtr</A
1874> doc,
1875 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001876HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001877>xmlNodePtr</A
1878> cur);
Daniel Veillard35925471999-02-25 08:46:07 +00001879int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001880HREF="libxml-tree.html#XMLSAVEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +00001881>xmlSaveFile</A
1882> (const char *filename,
1883 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001884HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001885>xmlDocPtr</A
1886> cur);
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001887int <A
1888HREF="libxml-tree.html#XMLSAVEFORMATFILE"
1889>xmlSaveFormatFile</A
1890> (const char *filename,
1891 <A
1892HREF="libxml-tree.html#XMLDOCPTR"
1893>xmlDocPtr</A
1894> cur,
1895 int format);
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001896void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001897HREF="libxml-tree.html#XMLNODEDUMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001898>xmlNodeDump</A
1899> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001900HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001901>xmlBufferPtr</A
1902> buf,
1903 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001904HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001905>xmlDocPtr</A
1906> doc,
1907 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001908HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001909>xmlNodePtr</A
1910> cur,
1911 int level,
1912 int format);
Daniel Veillard35925471999-02-25 08:46:07 +00001913int <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001914HREF="libxml-tree.html#XMLSAVEFILETO"
1915>xmlSaveFileTo</A
1916> (<A
1917HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
1918>xmlOutputBufferPtr</A
1919> buf,
1920 <A
1921HREF="libxml-tree.html#XMLDOCPTR"
1922>xmlDocPtr</A
1923> cur,
1924 const char *encoding);
1925int <A
1926HREF="libxml-tree.html#XMLSAVEFORMATFILETO"
1927>xmlSaveFormatFileTo</A
1928> (<A
1929HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
1930>xmlOutputBufferPtr</A
1931> buf,
1932 <A
1933HREF="libxml-tree.html#XMLDOCPTR"
1934>xmlDocPtr</A
1935> cur,
1936 const char *encoding,
1937 int format);
1938void <A
1939HREF="libxml-tree.html#XMLNODEDUMPOUTPUT"
1940>xmlNodeDumpOutput</A
1941> (<A
1942HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
1943>xmlOutputBufferPtr</A
1944> buf,
1945 <A
1946HREF="libxml-tree.html#XMLDOCPTR"
1947>xmlDocPtr</A
1948> doc,
1949 <A
1950HREF="libxml-tree.html#XMLNODEPTR"
1951>xmlNodePtr</A
1952> cur,
1953 int level,
1954 int format,
1955 const char *encoding);
1956int <A
Daniel Veillardf012a642001-07-23 19:10:52 +00001957HREF="libxml-tree.html#XMLSAVEFORMATFILEENC"
1958>xmlSaveFormatFileEnc</A
1959> (const char *filename,
1960 <A
1961HREF="libxml-tree.html#XMLDOCPTR"
1962>xmlDocPtr</A
1963> cur,
1964 const char *encoding,
1965 int format);
1966int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001967HREF="libxml-tree.html#XMLSAVEFILEENC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001968>xmlSaveFileEnc</A
1969> (const char *filename,
1970 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001971HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001972>xmlDocPtr</A
1973> cur,
1974 const char *encoding);
1975int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001976HREF="libxml-tree.html#XMLGETDOCCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001977>xmlGetDocCompressMode</A
1978> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001979HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001980>xmlDocPtr</A
1981> doc);
1982void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001983HREF="libxml-tree.html#XMLSETDOCCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001984>xmlSetDocCompressMode</A
1985> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001986HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001987>xmlDocPtr</A
1988> doc,
1989 int mode);
1990int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001991HREF="libxml-tree.html#XMLGETCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001992>xmlGetCompressMode</A
1993> (void);
1994void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001995HREF="libxml-tree.html#XMLSETCOMPRESSMODE"
Daniel Veillard35925471999-02-25 08:46:07 +00001996>xmlSetCompressMode</A
1997> (int mode);</PRE
1998></TD
1999></TR
2000></TABLE
2001></DIV
2002><DIV
2003CLASS="REFSECT1"
2004><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002005NAME="AEN4340"
Daniel Veillard35925471999-02-25 08:46:07 +00002006></A
2007><H2
2008>Description</H2
2009><P
2010></P
2011></DIV
2012><DIV
2013CLASS="REFSECT1"
2014><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002015NAME="AEN4343"
Daniel Veillard35925471999-02-25 08:46:07 +00002016></A
2017><H2
2018>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00002019><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00002020CLASS="REFSECT2"
2021><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002022NAME="AEN4345"
Daniel Veillard43d3f612001-11-10 11:57:23 +00002023></A
2024><H3
2025><A
2026NAME="XMLPARSERINPUTBUFFER"
2027></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002028>struct xmlParserInputBuffer</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +00002029><TABLE
2030BORDER="0"
2031BGCOLOR="#D6E8FF"
2032WIDTH="100%"
2033CELLPADDING="6"
2034><TR
2035><TD
2036><PRE
2037CLASS="PROGRAMLISTING"
2038>struct xmlParserInputBuffer {
2039 void* context;
2040 xmlInputReadCallback readcallback;
2041 xmlInputCloseCallback closecallback;
2042
2043 xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */
2044
2045 xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 */
2046 xmlBufferPtr raw; /* if encoder != NULL buffer for raw input */
2047};</PRE
2048></TD
2049></TR
2050></TABLE
2051><P
2052></P
2053></DIV
2054><HR><DIV
2055CLASS="REFSECT2"
2056><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002057NAME="AEN4350"
Daniel Veillard43d3f612001-11-10 11:57:23 +00002058></A
2059><H3
2060><A
2061NAME="XMLPARSERINPUTBUFFERPTR"
2062></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002063>xmlParserInputBufferPtr</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +00002064><TABLE
2065BORDER="0"
2066BGCOLOR="#D6E8FF"
2067WIDTH="100%"
2068CELLPADDING="6"
2069><TR
2070><TD
2071><PRE
2072CLASS="PROGRAMLISTING"
2073>typedef xmlParserInputBuffer *xmlParserInputBufferPtr;</PRE
2074></TD
2075></TR
2076></TABLE
2077><P
2078></P
2079></DIV
2080><HR><DIV
2081CLASS="REFSECT2"
2082><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002083NAME="AEN4355"
Daniel Veillard43d3f612001-11-10 11:57:23 +00002084></A
2085><H3
2086><A
2087NAME="XMLOUTPUTBUFFER"
2088></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002089>struct xmlOutputBuffer</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +00002090><TABLE
2091BORDER="0"
2092BGCOLOR="#D6E8FF"
2093WIDTH="100%"
2094CELLPADDING="6"
2095><TR
2096><TD
2097><PRE
2098CLASS="PROGRAMLISTING"
2099>struct xmlOutputBuffer {
2100 void* context;
2101 xmlOutputWriteCallback writecallback;
2102 xmlOutputCloseCallback closecallback;
2103
2104 xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */
2105
2106 xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */
2107 xmlBufferPtr conv; /* if encoder != NULL buffer for output */
2108 int written; /* total number of byte written */
2109};</PRE
2110></TD
2111></TR
2112></TABLE
2113><P
2114></P
2115></DIV
2116><HR><DIV
2117CLASS="REFSECT2"
2118><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002119NAME="AEN4360"
Daniel Veillard43d3f612001-11-10 11:57:23 +00002120></A
2121><H3
2122><A
2123NAME="XMLOUTPUTBUFFERPTR"
2124></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002125>xmlOutputBufferPtr</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +00002126><TABLE
2127BORDER="0"
2128BGCOLOR="#D6E8FF"
2129WIDTH="100%"
2130CELLPADDING="6"
2131><TR
2132><TD
2133><PRE
2134CLASS="PROGRAMLISTING"
2135>typedef xmlOutputBuffer *xmlOutputBufferPtr;</PRE
2136></TD
2137></TR
2138></TABLE
2139><P
2140></P
2141></DIV
2142><HR><DIV
2143CLASS="REFSECT2"
2144><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002145NAME="AEN4365"
Daniel Veillard43d3f612001-11-10 11:57:23 +00002146></A
2147><H3
2148><A
2149NAME="XMLPARSERINPUT"
2150></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002151>struct xmlParserInput</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +00002152><TABLE
2153BORDER="0"
2154BGCOLOR="#D6E8FF"
2155WIDTH="100%"
2156CELLPADDING="6"
2157><TR
2158><TD
2159><PRE
2160CLASS="PROGRAMLISTING"
2161>struct xmlParserInput {
2162 /* Input buffer */
2163 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
2164
2165 const char *filename; /* The file analyzed, if any */
2166 const char *directory; /* the directory/base of the file */
2167 const xmlChar *base; /* Base of the array to parse */
2168 const xmlChar *cur; /* Current char being parsed */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002169 const xmlChar *end; /* end of the array to parse */
Daniel Veillard43d3f612001-11-10 11:57:23 +00002170 int length; /* length if known */
2171 int line; /* Current line */
2172 int col; /* Current column */
2173 int consumed; /* How many xmlChars already consumed */
2174 xmlParserInputDeallocate free; /* function to deallocate the base */
2175 const xmlChar *encoding; /* the encoding string for entity */
2176 const xmlChar *version; /* the version string for entity */
2177 int standalone; /* Was that entity marked standalone */
2178};</PRE
2179></TD
2180></TR
2181></TABLE
2182><P
Daniel Veillard19274092002-03-25 16:48:03 +00002183>An xmlParserInput is an input flow for the XML processor.
Daniel Veillard43d3f612001-11-10 11:57:23 +00002184Each entity parsed is associated an xmlParserInput (except the
2185few predefined ones). This is the case both for internal entities
2186- in which case the flow is already completely in memory - or
2187external entities - in which case we use the buf structure for
2188progressive reading and I18N conversions to the internal UTF-8 format.</P
2189><P
2190></P
2191></DIV
2192><HR><DIV
2193CLASS="REFSECT2"
2194><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002195NAME="AEN4371"
Daniel Veillard43d3f612001-11-10 11:57:23 +00002196></A
2197><H3
2198><A
2199NAME="XMLPARSERINPUTPTR"
2200></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002201>xmlParserInputPtr</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +00002202><TABLE
2203BORDER="0"
2204BGCOLOR="#D6E8FF"
2205WIDTH="100%"
2206CELLPADDING="6"
2207><TR
2208><TD
2209><PRE
2210CLASS="PROGRAMLISTING"
2211>typedef xmlParserInput *xmlParserInputPtr;</PRE
2212></TD
2213></TR
2214></TABLE
2215><P
2216></P
2217></DIV
2218><HR><DIV
2219CLASS="REFSECT2"
2220><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002221NAME="AEN4376"
Daniel Veillard43d3f612001-11-10 11:57:23 +00002222></A
2223><H3
2224><A
2225NAME="XMLPARSERCTXT"
2226></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002227>struct xmlParserCtxt</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +00002228><TABLE
2229BORDER="0"
2230BGCOLOR="#D6E8FF"
2231WIDTH="100%"
2232CELLPADDING="6"
2233><TR
2234><TD
2235><PRE
2236CLASS="PROGRAMLISTING"
2237>struct xmlParserCtxt {
2238 struct _xmlSAXHandler *sax; /* The SAX handler */
2239 void *userData; /* For SAX interface only, used by DOM build */
2240 xmlDocPtr myDoc; /* the document being built */
2241 int wellFormed; /* is the document well formed */
2242 int replaceEntities; /* shall we replace entities ? */
2243 const xmlChar *version; /* the XML version string */
2244 const xmlChar *encoding; /* the declared encoding, if any */
2245 int standalone; /* standalone document */
2246 int html; /* an HTML(1)/Docbook(2) document */
2247
2248 /* Input stream stack */
2249 xmlParserInputPtr input; /* Current input stream */
2250 int inputNr; /* Number of current input streams */
2251 int inputMax; /* Max number of input streams */
2252 xmlParserInputPtr *inputTab; /* stack of inputs */
2253
2254 /* Node analysis stack only used for DOM building */
2255 xmlNodePtr node; /* Current parsed Node */
2256 int nodeNr; /* Depth of the parsing stack */
2257 int nodeMax; /* Max depth of the parsing stack */
2258 xmlNodePtr *nodeTab; /* array of nodes */
2259
2260 int record_info; /* Whether node info should be kept */
2261 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
2262
2263 int errNo; /* error code */
2264
2265 int hasExternalSubset; /* reference and external subset */
2266 int hasPErefs; /* the internal subset has PE refs */
2267 int external; /* are we parsing an external entity */
2268
2269 int valid; /* is the document valid */
2270 int validate; /* shall we try to validate ? */
2271 xmlValidCtxt vctxt; /* The validity context */
2272
2273 xmlParserInputState instate; /* current type of input */
2274 int token; /* next char look-ahead */
2275
2276 char *directory; /* the data directory */
2277
2278 /* Node name stack */
2279 xmlChar *name; /* Current parsed Node */
2280 int nameNr; /* Depth of the parsing stack */
2281 int nameMax; /* Max depth of the parsing stack */
2282 xmlChar * *nameTab; /* array of nodes */
2283
2284 long nbChars; /* number of xmlChar processed */
2285 long checkIndex; /* used by progressive parsing lookup */
2286 int keepBlanks; /* ugly but ... */
2287 int disableSAX; /* SAX callbacks are disabled */
2288 int inSubset; /* Parsing is in int 1/ext 2 subset */
2289 xmlChar * intSubName; /* name of subset */
2290 xmlChar * extSubURI; /* URI of external subset */
2291 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
2292
2293 /* xml:space values */
2294 int * space; /* Should the parser preserve spaces */
2295 int spaceNr; /* Depth of the parsing stack */
2296 int spaceMax; /* Max depth of the parsing stack */
2297 int * spaceTab; /* array of space infos */
2298
2299 int depth; /* to prevent entity substitution loops */
2300 xmlParserInputPtr entity; /* used to check entities boundaries */
2301 int charset; /* encoding of the in-memory content
2302 actually an xmlCharEncoding */
2303 int nodelen; /* Those two fields are there to */
2304 int nodemem; /* Speed up large node parsing */
2305 int pedantic; /* signal pedantic warnings */
2306 void *_private; /* For user data, libxml won't touch it */
2307
2308 int loadsubset; /* should the external subset be loaded */
2309 int linenumbers; /* set line number in element content */
2310 void *catalogs; /* document's own catalog */
2311};</PRE
2312></TD
2313></TR
2314></TABLE
2315><P
2316>The parser context.
Daniel Veillard19274092002-03-25 16:48:03 +00002317NOTE This doesn't completely define the parser state, the (current ?)
Daniel Veillardaf43f632002-03-08 15:05:20 +00002318design of the parser uses recursive function calls since this allow
2319and easy mapping from the production rules of the specification
2320to the actual code. The drawback is that the actual function call
2321also reflect the parser state. However most of the parsing routines
2322takes as the only argument the parser context pointer, so migrating
2323to a state based parser for progressive parsing shouldn't be too hard.</P
Daniel Veillard43d3f612001-11-10 11:57:23 +00002324><P
2325></P
2326></DIV
2327><HR><DIV
2328CLASS="REFSECT2"
2329><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002330NAME="AEN4382"
Daniel Veillard43d3f612001-11-10 11:57:23 +00002331></A
2332><H3
2333><A
2334NAME="XMLPARSERCTXTPTR"
2335></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002336>xmlParserCtxtPtr</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +00002337><TABLE
2338BORDER="0"
2339BGCOLOR="#D6E8FF"
2340WIDTH="100%"
2341CELLPADDING="6"
2342><TR
2343><TD
2344><PRE
2345CLASS="PROGRAMLISTING"
2346>typedef xmlParserCtxt *xmlParserCtxtPtr;</PRE
2347></TD
2348></TR
2349></TABLE
2350><P
2351></P
2352></DIV
2353><HR><DIV
2354CLASS="REFSECT2"
2355><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002356NAME="AEN4387"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002357></A
2358><H3
2359><A
2360NAME="XMLSAXLOCATOR"
2361></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002362>struct xmlSAXLocator</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002363><TABLE
2364BORDER="0"
2365BGCOLOR="#D6E8FF"
2366WIDTH="100%"
2367CELLPADDING="6"
2368><TR
2369><TD
2370><PRE
2371CLASS="PROGRAMLISTING"
2372>struct xmlSAXLocator {
2373 const xmlChar *(*getPublicId)(void *ctx);
2374 const xmlChar *(*getSystemId)(void *ctx);
2375 int (*getLineNumber)(void *ctx);
2376 int (*getColumnNumber)(void *ctx);
2377};</PRE
2378></TD
2379></TR
2380></TABLE
2381><P
Daniel Veillard19274092002-03-25 16:48:03 +00002382>A SAX Locator.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002383><P
2384></P
2385></DIV
2386><HR><DIV
2387CLASS="REFSECT2"
2388><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002389NAME="AEN4393"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002390></A
2391><H3
2392><A
2393NAME="XMLSAXLOCATORPTR"
2394></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002395>xmlSAXLocatorPtr</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002396><TABLE
2397BORDER="0"
2398BGCOLOR="#D6E8FF"
2399WIDTH="100%"
2400CELLPADDING="6"
2401><TR
2402><TD
2403><PRE
2404CLASS="PROGRAMLISTING"
2405>typedef xmlSAXLocator *xmlSAXLocatorPtr;</PRE
2406></TD
2407></TR
2408></TABLE
2409><P
2410></P
2411></DIV
2412><HR><DIV
2413CLASS="REFSECT2"
2414><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002415NAME="AEN4398"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002416></A
2417><H3
2418><A
2419NAME="XMLSAXHANDLER"
2420></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002421>struct xmlSAXHandler</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002422><TABLE
2423BORDER="0"
2424BGCOLOR="#D6E8FF"
2425WIDTH="100%"
2426CELLPADDING="6"
2427><TR
2428><TD
2429><PRE
2430CLASS="PROGRAMLISTING"
2431>struct xmlSAXHandler {
2432 internalSubsetSAXFunc internalSubset;
2433 isStandaloneSAXFunc isStandalone;
2434 hasInternalSubsetSAXFunc hasInternalSubset;
2435 hasExternalSubsetSAXFunc hasExternalSubset;
2436 resolveEntitySAXFunc resolveEntity;
2437 getEntitySAXFunc getEntity;
2438 entityDeclSAXFunc entityDecl;
2439 notationDeclSAXFunc notationDecl;
2440 attributeDeclSAXFunc attributeDecl;
2441 elementDeclSAXFunc elementDecl;
2442 unparsedEntityDeclSAXFunc unparsedEntityDecl;
2443 setDocumentLocatorSAXFunc setDocumentLocator;
2444 startDocumentSAXFunc startDocument;
2445 endDocumentSAXFunc endDocument;
2446 startElementSAXFunc startElement;
2447 endElementSAXFunc endElement;
2448 referenceSAXFunc reference;
2449 charactersSAXFunc characters;
2450 ignorableWhitespaceSAXFunc ignorableWhitespace;
2451 processingInstructionSAXFunc processingInstruction;
2452 commentSAXFunc comment;
2453 warningSAXFunc warning;
2454 errorSAXFunc error;
2455 fatalErrorSAXFunc fatalError;
2456 getParameterEntitySAXFunc getParameterEntity;
2457 cdataBlockSAXFunc cdataBlock;
2458 externalSubsetSAXFunc externalSubset;
2459 int initialized;
2460};</PRE
2461></TD
2462></TR
2463></TABLE
2464><P
Daniel Veillard19274092002-03-25 16:48:03 +00002465>A SAX handler is bunch of callbacks called by the parser when processing
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002466of the input generate data or structure informations.</P
2467><P
2468></P
2469></DIV
2470><HR><DIV
2471CLASS="REFSECT2"
2472><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002473NAME="AEN4404"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002474></A
2475><H3
2476><A
2477NAME="XMLSAXHANDLERPTR"
2478></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002479>xmlSAXHandlerPtr</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002480><TABLE
2481BORDER="0"
2482BGCOLOR="#D6E8FF"
2483WIDTH="100%"
2484CELLPADDING="6"
2485><TR
2486><TD
2487><PRE
2488CLASS="PROGRAMLISTING"
2489>typedef xmlSAXHandler *xmlSAXHandlerPtr;</PRE
2490></TD
2491></TR
2492></TABLE
2493><P
2494></P
2495></DIV
2496><HR><DIV
2497CLASS="REFSECT2"
2498><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002499NAME="AEN4409"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002500></A
2501><H3
2502><A
2503NAME="XMLENTITY"
2504></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002505>struct xmlEntity</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002506><TABLE
2507BORDER="0"
2508BGCOLOR="#D6E8FF"
2509WIDTH="100%"
2510CELLPADDING="6"
2511><TR
2512><TD
2513><PRE
2514CLASS="PROGRAMLISTING"
2515>struct xmlEntity {
2516 void *_private; /* application data */
2517 xmlElementType type; /* XML_ENTITY_DECL, must be second ! */
2518 const xmlChar *name; /* Entity name */
2519 struct _xmlNode *children; /* First child link */
2520 struct _xmlNode *last; /* Last child link */
2521 struct _xmlDtd *parent; /* -&gt; DTD */
2522 struct _xmlNode *next; /* next sibling link */
2523 struct _xmlNode *prev; /* previous sibling link */
2524 struct _xmlDoc *doc; /* the containing document */
2525
2526 xmlChar *orig; /* content without ref substitution */
2527 xmlChar *content; /* content or ndata if unparsed */
2528 int length; /* the content length */
2529 xmlEntityType etype; /* The entity type */
2530 const xmlChar *ExternalID; /* External identifier for PUBLIC */
2531 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */
2532
2533 struct _xmlEntity *nexte; /* unused */
2534 const xmlChar *URI; /* the full URI as computed */
2535};</PRE
2536></TD
2537></TR
2538></TABLE
2539><P
2540></P
2541></DIV
2542><HR><DIV
2543CLASS="REFSECT2"
2544><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002545NAME="AEN4414"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002546></A
2547><H3
2548><A
2549NAME="XMLENTITYPTR"
2550></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002551>xmlEntityPtr</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002552><TABLE
2553BORDER="0"
2554BGCOLOR="#D6E8FF"
2555WIDTH="100%"
2556CELLPADDING="6"
2557><TR
2558><TD
2559><PRE
2560CLASS="PROGRAMLISTING"
2561>typedef xmlEntity *xmlEntityPtr;</PRE
2562></TD
2563></TR
2564></TABLE
2565><P
2566></P
2567></DIV
2568><HR><DIV
2569CLASS="REFSECT2"
2570><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002571NAME="AEN4419"
Daniel Veillard52dcab32001-10-30 12:51:17 +00002572></A
2573><H3
2574><A
2575NAME="BASE-BUFFER-SIZE-CAPS"
2576></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002577>BASE_BUFFER_SIZE</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00002578><TABLE
2579BORDER="0"
2580BGCOLOR="#D6E8FF"
2581WIDTH="100%"
2582CELLPADDING="6"
2583><TR
2584><TD
2585><PRE
2586CLASS="PROGRAMLISTING"
2587>#define BASE_BUFFER_SIZE 4000</PRE
2588></TD
2589></TR
2590></TABLE
2591><P
Daniel Veillard19274092002-03-25 16:48:03 +00002592>default buffer size 4000.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002593><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00002594></P
2595></DIV
2596><HR><DIV
2597CLASS="REFSECT2"
2598><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002599NAME="AEN4425"
Daniel Veillarde356c282001-03-10 12:32:04 +00002600></A
2601><H3
2602><A
2603NAME="XML-XML-NAMESPACE-CAPS"
2604></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002605>XML_XML_NAMESPACE</H3
Daniel Veillarde356c282001-03-10 12:32:04 +00002606><TABLE
2607BORDER="0"
2608BGCOLOR="#D6E8FF"
2609WIDTH="100%"
2610CELLPADDING="6"
2611><TR
2612><TD
2613><PRE
2614CLASS="PROGRAMLISTING"
2615>#define XML_XML_NAMESPACE</PRE
2616></TD
2617></TR
2618></TABLE
2619><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002620>This is the namespace for the special xml: prefix predefined in the
Daniel Veillard19274092002-03-25 16:48:03 +00002621XML Namespace specification.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002622><P
Daniel Veillarde356c282001-03-10 12:32:04 +00002623></P
2624></DIV
2625><HR><DIV
2626CLASS="REFSECT2"
2627><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002628NAME="AEN4431"
Daniel Veillard35925471999-02-25 08:46:07 +00002629></A
2630><H3
2631><A
2632NAME="XMLELEMENTTYPE"
2633></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002634>enum xmlElementType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002635><TABLE
2636BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002637BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002638WIDTH="100%"
2639CELLPADDING="6"
2640><TR
2641><TD
2642><PRE
2643CLASS="PROGRAMLISTING"
2644>typedef enum {
2645 XML_ELEMENT_NODE= 1,
2646 XML_ATTRIBUTE_NODE= 2,
2647 XML_TEXT_NODE= 3,
2648 XML_CDATA_SECTION_NODE= 4,
2649 XML_ENTITY_REF_NODE= 5,
2650 XML_ENTITY_NODE= 6,
2651 XML_PI_NODE= 7,
2652 XML_COMMENT_NODE= 8,
2653 XML_DOCUMENT_NODE= 9,
2654 XML_DOCUMENT_TYPE_NODE= 10,
2655 XML_DOCUMENT_FRAG_NODE= 11,
Daniel Veillard35008381999-10-25 13:15:52 +00002656 XML_NOTATION_NODE= 12,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002657 XML_HTML_DOCUMENT_NODE= 13,
2658 XML_DTD_NODE= 14,
2659 XML_ELEMENT_DECL= 15,
2660 XML_ATTRIBUTE_DECL= 16,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002661 XML_ENTITY_DECL= 17,
Daniel Veillard28929b22000-11-13 18:22:49 +00002662 XML_NAMESPACE_DECL= 18,
2663 XML_XINCLUDE_START= 19,
2664 XML_XINCLUDE_END= 20
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002665#ifdef LIBXML_DOCB_ENABLED
2666 ,XML_DOCB_DOCUMENT_NODE= 21
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002667#endif
Daniel Veillard35925471999-02-25 08:46:07 +00002668} xmlElementType;</PRE
2669></TD
2670></TR
2671></TABLE
2672><P
2673></P
2674></DIV
2675><HR><DIV
2676CLASS="REFSECT2"
2677><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002678NAME="AEN4436"
Daniel Veillard35925471999-02-25 08:46:07 +00002679></A
2680><H3
2681><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002682NAME="XMLCHAR"
Daniel Veillard35925471999-02-25 08:46:07 +00002683></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002684>xmlChar</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002685><TABLE
2686BORDER="0"
2687BGCOLOR="#D6E8FF"
2688WIDTH="100%"
2689CELLPADDING="6"
2690><TR
2691><TD
2692><PRE
2693CLASS="PROGRAMLISTING"
2694>typedef unsigned char xmlChar;</PRE
2695></TD
2696></TR
2697></TABLE
2698><P
2699>This is a basic byte in an UTF-8 encoded string.
2700It's unsigned allowing to pinpoint case where char * are assigned
2701to xmlChar * (possibly making serialization back impossible).</P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002702><P
2703></P
2704></DIV
2705><HR><DIV
2706CLASS="REFSECT2"
2707><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002708NAME="AEN4442"
Daniel Veillard35925471999-02-25 08:46:07 +00002709></A
2710><H3
2711><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002712NAME="BAD-CAST-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00002713></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002714>BAD_CAST</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002715><TABLE
2716BORDER="0"
2717BGCOLOR="#D6E8FF"
2718WIDTH="100%"
2719CELLPADDING="6"
2720><TR
2721><TD
2722><PRE
2723CLASS="PROGRAMLISTING"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002724>#define BAD_CAST (xmlChar *)</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002725></TD
2726></TR
2727></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002728><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002729>Macro to cast a string to an xmlChar * when one know its safe.</P
2730><P
Daniel Veillard35925471999-02-25 08:46:07 +00002731></P
2732></DIV
2733><HR><DIV
2734CLASS="REFSECT2"
2735><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002736NAME="AEN4448"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002737></A
2738><H3
2739><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002740NAME="XMLNOTATION"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002741></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002742>struct xmlNotation</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002743><TABLE
2744BORDER="0"
2745BGCOLOR="#D6E8FF"
2746WIDTH="100%"
2747CELLPADDING="6"
2748><TR
2749><TD
2750><PRE
2751CLASS="PROGRAMLISTING"
2752>struct xmlNotation {
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002753 const xmlChar *name; /* Notation name */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002754 const xmlChar *PublicID; /* Public identifier, if any */
2755 const xmlChar *SystemID; /* System identifier, if any */
2756};</PRE
2757></TD
2758></TR
2759></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00002760><P
Daniel Veillard19274092002-03-25 16:48:03 +00002761>A DTD Notation definition.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002762><P
2763></P
2764></DIV
2765><HR><DIV
2766CLASS="REFSECT2"
2767><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002768NAME="AEN4454"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002769></A
2770><H3
2771><A
2772NAME="XMLNOTATIONPTR"
2773></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002774>xmlNotationPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002775><TABLE
2776BORDER="0"
2777BGCOLOR="#D6E8FF"
2778WIDTH="100%"
2779CELLPADDING="6"
2780><TR
2781><TD
2782><PRE
2783CLASS="PROGRAMLISTING"
2784>typedef xmlNotation *xmlNotationPtr;</PRE
2785></TD
2786></TR
2787></TABLE
2788><P
2789></P
2790></DIV
2791><HR><DIV
2792CLASS="REFSECT2"
2793><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002794NAME="AEN4459"
Daniel Veillard35925471999-02-25 08:46:07 +00002795></A
2796><H3
2797><A
2798NAME="XMLATTRIBUTETYPE"
2799></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002800>enum xmlAttributeType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002801><TABLE
2802BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002803BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002804WIDTH="100%"
2805CELLPADDING="6"
2806><TR
2807><TD
2808><PRE
2809CLASS="PROGRAMLISTING"
2810>typedef enum {
2811 XML_ATTRIBUTE_CDATA = 1,
2812 XML_ATTRIBUTE_ID,
2813 XML_ATTRIBUTE_IDREF ,
2814 XML_ATTRIBUTE_IDREFS,
2815 XML_ATTRIBUTE_ENTITY,
2816 XML_ATTRIBUTE_ENTITIES,
2817 XML_ATTRIBUTE_NMTOKEN,
2818 XML_ATTRIBUTE_NMTOKENS,
2819 XML_ATTRIBUTE_ENUMERATION,
2820 XML_ATTRIBUTE_NOTATION
2821} xmlAttributeType;</PRE
2822></TD
2823></TR
2824></TABLE
2825><P
Daniel Veillard19274092002-03-25 16:48:03 +00002826>A DTD Attribute type definition.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002827><P
Daniel Veillard35925471999-02-25 08:46:07 +00002828></P
2829></DIV
2830><HR><DIV
2831CLASS="REFSECT2"
2832><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002833NAME="AEN4465"
Daniel Veillard35925471999-02-25 08:46:07 +00002834></A
2835><H3
2836><A
2837NAME="XMLATTRIBUTEDEFAULT"
2838></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002839>enum xmlAttributeDefault</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002840><TABLE
2841BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002842BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002843WIDTH="100%"
2844CELLPADDING="6"
2845><TR
2846><TD
2847><PRE
2848CLASS="PROGRAMLISTING"
2849>typedef enum {
2850 XML_ATTRIBUTE_NONE = 1,
2851 XML_ATTRIBUTE_REQUIRED,
2852 XML_ATTRIBUTE_IMPLIED,
2853 XML_ATTRIBUTE_FIXED
2854} xmlAttributeDefault;</PRE
2855></TD
2856></TR
2857></TABLE
2858><P
Daniel Veillard19274092002-03-25 16:48:03 +00002859>A DTD Attribute default definition.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002860><P
Daniel Veillard35925471999-02-25 08:46:07 +00002861></P
2862></DIV
2863><HR><DIV
2864CLASS="REFSECT2"
2865><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002866NAME="AEN4471"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002867></A
2868><H3
2869><A
2870NAME="XMLENUMERATION"
2871></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002872>struct xmlEnumeration</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002873><TABLE
2874BORDER="0"
2875BGCOLOR="#D6E8FF"
2876WIDTH="100%"
2877CELLPADDING="6"
2878><TR
2879><TD
2880><PRE
2881CLASS="PROGRAMLISTING"
2882>struct xmlEnumeration {
2883 struct _xmlEnumeration *next; /* next one */
2884 const xmlChar *name; /* Enumeration name */
2885};</PRE
2886></TD
2887></TR
2888></TABLE
2889><P
Daniel Veillard19274092002-03-25 16:48:03 +00002890>List structure used when there is an enumeration in DTDs.</P
Daniel Veillard35925471999-02-25 08:46:07 +00002891><P
2892></P
2893></DIV
2894><HR><DIV
2895CLASS="REFSECT2"
2896><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002897NAME="AEN4477"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002898></A
2899><H3
2900><A
2901NAME="XMLENUMERATIONPTR"
2902></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002903>xmlEnumerationPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002904><TABLE
2905BORDER="0"
2906BGCOLOR="#D6E8FF"
2907WIDTH="100%"
2908CELLPADDING="6"
2909><TR
2910><TD
2911><PRE
2912CLASS="PROGRAMLISTING"
2913>typedef xmlEnumeration *xmlEnumerationPtr;</PRE
2914></TD
2915></TR
2916></TABLE
2917><P
2918></P
2919></DIV
2920><HR><DIV
2921CLASS="REFSECT2"
2922><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002923NAME="AEN4482"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002924></A
2925><H3
2926><A
2927NAME="XMLATTRIBUTE"
2928></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002929>struct xmlAttribute</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002930><TABLE
2931BORDER="0"
2932BGCOLOR="#D6E8FF"
2933WIDTH="100%"
2934CELLPADDING="6"
2935><TR
2936><TD
2937><PRE
2938CLASS="PROGRAMLISTING"
2939>struct xmlAttribute {
Daniel Veillarda4871052001-11-26 13:19:48 +00002940 void *_private; /* application data */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002941 xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */
2942 const xmlChar *name; /* Attribute name */
2943 struct _xmlNode *children; /* NULL */
2944 struct _xmlNode *last; /* NULL */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002945 struct _xmlDtd *parent; /* -&gt; DTD */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002946 struct _xmlNode *next; /* next sibling link */
2947 struct _xmlNode *prev; /* previous sibling link */
2948 struct _xmlDoc *doc; /* the containing document */
2949
2950 struct _xmlAttribute *nexth; /* next in hash table */
2951 xmlAttributeType atype; /* The attribute type */
2952 xmlAttributeDefault def; /* the default */
2953 const xmlChar *defaultValue; /* or the default value */
2954 xmlEnumerationPtr tree; /* or the enumeration tree if any */
2955 const xmlChar *prefix; /* the namespace prefix if any */
2956 const xmlChar *elem; /* Element holding the attribute */
2957};</PRE
2958></TD
2959></TR
2960></TABLE
2961><P
Daniel Veillard19274092002-03-25 16:48:03 +00002962>An Attribute declaration in a DTD.</P
Daniel Veillard35925471999-02-25 08:46:07 +00002963><P
2964></P
2965></DIV
2966><HR><DIV
2967CLASS="REFSECT2"
2968><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002969NAME="AEN4488"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002970></A
2971><H3
2972><A
2973NAME="XMLATTRIBUTEPTR"
2974></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002975>xmlAttributePtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002976><TABLE
2977BORDER="0"
2978BGCOLOR="#D6E8FF"
2979WIDTH="100%"
2980CELLPADDING="6"
2981><TR
2982><TD
2983><PRE
2984CLASS="PROGRAMLISTING"
2985>typedef xmlAttribute *xmlAttributePtr;</PRE
2986></TD
2987></TR
2988></TABLE
2989><P
2990></P
2991></DIV
2992><HR><DIV
2993CLASS="REFSECT2"
2994><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002995NAME="AEN4493"
Daniel Veillard35925471999-02-25 08:46:07 +00002996></A
2997><H3
2998><A
2999NAME="XMLELEMENTCONTENTTYPE"
3000></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003001>enum xmlElementContentType</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003002><TABLE
3003BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003004BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003005WIDTH="100%"
3006CELLPADDING="6"
3007><TR
3008><TD
3009><PRE
3010CLASS="PROGRAMLISTING"
3011>typedef enum {
3012 XML_ELEMENT_CONTENT_PCDATA = 1,
3013 XML_ELEMENT_CONTENT_ELEMENT,
3014 XML_ELEMENT_CONTENT_SEQ,
3015 XML_ELEMENT_CONTENT_OR
3016} xmlElementContentType;</PRE
3017></TD
3018></TR
3019></TABLE
3020><P
Daniel Veillard19274092002-03-25 16:48:03 +00003021>Possible definitions of element content types.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003022><P
Daniel Veillard35925471999-02-25 08:46:07 +00003023></P
3024></DIV
3025><HR><DIV
3026CLASS="REFSECT2"
3027><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003028NAME="AEN4499"
Daniel Veillard35925471999-02-25 08:46:07 +00003029></A
3030><H3
3031><A
3032NAME="XMLELEMENTCONTENTOCCUR"
3033></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003034>enum xmlElementContentOccur</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003035><TABLE
3036BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003037BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003038WIDTH="100%"
3039CELLPADDING="6"
3040><TR
3041><TD
3042><PRE
3043CLASS="PROGRAMLISTING"
3044>typedef enum {
3045 XML_ELEMENT_CONTENT_ONCE = 1,
3046 XML_ELEMENT_CONTENT_OPT,
3047 XML_ELEMENT_CONTENT_MULT,
3048 XML_ELEMENT_CONTENT_PLUS
3049} xmlElementContentOccur;</PRE
3050></TD
3051></TR
3052></TABLE
3053><P
Daniel Veillard19274092002-03-25 16:48:03 +00003054>Possible definitions of element content occurrences.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003055><P
Daniel Veillard35925471999-02-25 08:46:07 +00003056></P
3057></DIV
3058><HR><DIV
3059CLASS="REFSECT2"
3060><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003061NAME="AEN4505"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003062></A
3063><H3
3064><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003065NAME="XMLELEMENTCONTENT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003066></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003067>struct xmlElementContent</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003068><TABLE
3069BORDER="0"
3070BGCOLOR="#D6E8FF"
3071WIDTH="100%"
3072CELLPADDING="6"
3073><TR
3074><TD
3075><PRE
3076CLASS="PROGRAMLISTING"
3077>struct xmlElementContent {
3078 xmlElementContentType type; /* PCDATA, ELEMENT, SEQ or OR */
3079 xmlElementContentOccur ocur; /* ONCE, OPT, MULT or PLUS */
Daniel Veillard43d3f612001-11-10 11:57:23 +00003080 const xmlChar *name; /* Element name */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003081 struct _xmlElementContent *c1; /* first child */
3082 struct _xmlElementContent *c2; /* second child */
Daniel Veillarda41123c2001-04-22 19:31:20 +00003083 struct _xmlElementContent *parent; /* parent */
Daniel Veillard43d3f612001-11-10 11:57:23 +00003084 const xmlChar *prefix; /* Element name */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003085};</PRE
3086></TD
3087></TR
3088></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00003089><P
Daniel Veillard19274092002-03-25 16:48:03 +00003090>An XML Element content as stored after parsing an element definition
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003091in a DTD.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003092><P
3093></P
3094></DIV
3095><HR><DIV
3096CLASS="REFSECT2"
3097><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003098NAME="AEN4511"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003099></A
3100><H3
3101><A
3102NAME="XMLELEMENTCONTENTPTR"
3103></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003104>xmlElementContentPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003105><TABLE
3106BORDER="0"
3107BGCOLOR="#D6E8FF"
3108WIDTH="100%"
3109CELLPADDING="6"
3110><TR
3111><TD
3112><PRE
3113CLASS="PROGRAMLISTING"
3114>typedef xmlElementContent *xmlElementContentPtr;</PRE
3115></TD
3116></TR
3117></TABLE
3118><P
3119></P
3120></DIV
3121><HR><DIV
3122CLASS="REFSECT2"
3123><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003124NAME="AEN4516"
Daniel Veillard35925471999-02-25 08:46:07 +00003125></A
3126><H3
3127><A
3128NAME="XMLELEMENTTYPEVAL"
3129></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003130>enum xmlElementTypeVal</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003131><TABLE
3132BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003133BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003134WIDTH="100%"
3135CELLPADDING="6"
3136><TR
3137><TD
3138><PRE
3139CLASS="PROGRAMLISTING"
3140>typedef enum {
Daniel Veillarda41123c2001-04-22 19:31:20 +00003141 XML_ELEMENT_TYPE_UNDEFINED = 0,
Daniel Veillard35925471999-02-25 08:46:07 +00003142 XML_ELEMENT_TYPE_EMPTY = 1,
3143 XML_ELEMENT_TYPE_ANY,
3144 XML_ELEMENT_TYPE_MIXED,
3145 XML_ELEMENT_TYPE_ELEMENT
3146} xmlElementTypeVal;</PRE
3147></TD
3148></TR
3149></TABLE
3150><P
Daniel Veillard19274092002-03-25 16:48:03 +00003151>The different possibilities for an element content type.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003152><P
Daniel Veillard35925471999-02-25 08:46:07 +00003153></P
3154></DIV
3155><HR><DIV
3156CLASS="REFSECT2"
3157><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003158NAME="AEN4522"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003159></A
3160><H3
3161><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003162NAME="XMLELEMENT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003163></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003164>struct xmlElement</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003165><TABLE
3166BORDER="0"
3167BGCOLOR="#D6E8FF"
3168WIDTH="100%"
3169CELLPADDING="6"
3170><TR
3171><TD
3172><PRE
3173CLASS="PROGRAMLISTING"
3174>struct xmlElement {
Daniel Veillarda4871052001-11-26 13:19:48 +00003175 void *_private; /* application data */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003176 xmlElementType type; /* XML_ELEMENT_DECL, must be second ! */
3177 const xmlChar *name; /* Element name */
3178 struct _xmlNode *children; /* NULL */
3179 struct _xmlNode *last; /* NULL */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003180 struct _xmlDtd *parent; /* -&gt; DTD */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003181 struct _xmlNode *next; /* next sibling link */
3182 struct _xmlNode *prev; /* previous sibling link */
3183 struct _xmlDoc *doc; /* the containing document */
3184
3185 xmlElementTypeVal etype; /* The type */
3186 xmlElementContentPtr content; /* the allowed element content */
3187 xmlAttributePtr attributes; /* List of the declared attributes */
3188 const xmlChar *prefix; /* the namespace prefix if any */
3189};</PRE
3190></TD
3191></TR
3192></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00003193><P
Daniel Veillard19274092002-03-25 16:48:03 +00003194>An XML Element declaration from a DTD.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003195><P
3196></P
3197></DIV
3198><HR><DIV
3199CLASS="REFSECT2"
3200><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003201NAME="AEN4528"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003202></A
3203><H3
3204><A
3205NAME="XMLELEMENTPTR"
3206></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003207>xmlElementPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003208><TABLE
3209BORDER="0"
3210BGCOLOR="#D6E8FF"
3211WIDTH="100%"
3212CELLPADDING="6"
3213><TR
3214><TD
3215><PRE
3216CLASS="PROGRAMLISTING"
3217>typedef xmlElement *xmlElementPtr;</PRE
3218></TD
3219></TR
3220></TABLE
3221><P
3222></P
3223></DIV
3224><HR><DIV
3225CLASS="REFSECT2"
3226><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003227NAME="AEN4533"
Daniel Veillard35925471999-02-25 08:46:07 +00003228></A
3229><H3
3230><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003231NAME="XML-LOCAL-NAMESPACE-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00003232></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003233>XML_LOCAL_NAMESPACE</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003234><TABLE
3235BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003236BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003237WIDTH="100%"
3238CELLPADDING="6"
3239><TR
3240><TD
3241><PRE
3242CLASS="PROGRAMLISTING"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003243>#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL</PRE
3244></TD
3245></TR
3246></TABLE
3247><P
Daniel Veillard19274092002-03-25 16:48:03 +00003248>A namespace declaration node.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003249><P
3250></P
3251></DIV
3252><HR><DIV
3253CLASS="REFSECT2"
3254><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003255NAME="AEN4539"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003256></A
3257><H3
3258><A
3259NAME="XMLNSTYPE"
3260></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003261>xmlNsType</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003262><TABLE
3263BORDER="0"
3264BGCOLOR="#D6E8FF"
3265WIDTH="100%"
3266CELLPADDING="6"
3267><TR
3268><TD
3269><PRE
3270CLASS="PROGRAMLISTING"
3271>typedef xmlElementType xmlNsType;</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003272></TD
3273></TR
3274></TABLE
3275><P
3276></P
3277></DIV
3278><HR><DIV
3279CLASS="REFSECT2"
3280><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003281NAME="AEN4544"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003282></A
3283><H3
3284><A
3285NAME="XMLNS"
3286></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003287>struct xmlNs</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003288><TABLE
3289BORDER="0"
3290BGCOLOR="#D6E8FF"
3291WIDTH="100%"
3292CELLPADDING="6"
3293><TR
3294><TD
3295><PRE
3296CLASS="PROGRAMLISTING"
3297>struct xmlNs {
3298 struct _xmlNs *next; /* next Ns link for this node */
3299 xmlNsType type; /* global or local */
3300 const xmlChar *href; /* URL for the namespace */
3301 const xmlChar *prefix; /* prefix for the namespace */
3302};</PRE
3303></TD
3304></TR
3305></TABLE
3306><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003307>An XML namespace.
3308Note that prefix == NULL is valid, it defines the default namespace
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003309within the subtree (until overridden).</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003310><P
Daniel Veillard19274092002-03-25 16:48:03 +00003311>xmlNsType is unified with xmlElementType.</P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003312><P
3313></P
3314></DIV
3315><HR><DIV
3316CLASS="REFSECT2"
3317><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003318NAME="AEN4551"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003319></A
3320><H3
3321><A
3322NAME="XMLNSPTR"
3323></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003324>xmlNsPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003325><TABLE
3326BORDER="0"
3327BGCOLOR="#D6E8FF"
3328WIDTH="100%"
3329CELLPADDING="6"
3330><TR
3331><TD
3332><PRE
3333CLASS="PROGRAMLISTING"
3334>typedef xmlNs *xmlNsPtr;</PRE
3335></TD
3336></TR
3337></TABLE
3338><P
3339></P
3340></DIV
3341><HR><DIV
3342CLASS="REFSECT2"
3343><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003344NAME="AEN4556"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003345></A
3346><H3
3347><A
3348NAME="XMLDTD"
3349></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003350>struct xmlDtd</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003351><TABLE
3352BORDER="0"
3353BGCOLOR="#D6E8FF"
3354WIDTH="100%"
3355CELLPADDING="6"
3356><TR
3357><TD
3358><PRE
3359CLASS="PROGRAMLISTING"
3360>struct xmlDtd {
Daniel Veillarda4871052001-11-26 13:19:48 +00003361 void *_private; /* application data */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003362 xmlElementType type; /* XML_DTD_NODE, must be second ! */
3363 const xmlChar *name; /* Name of the DTD */
3364 struct _xmlNode *children; /* the value of the property link */
3365 struct _xmlNode *last; /* last child link */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003366 struct _xmlDoc *parent; /* child-&gt;parent link */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003367 struct _xmlNode *next; /* next sibling link */
3368 struct _xmlNode *prev; /* previous sibling link */
3369 struct _xmlDoc *doc; /* the containing document */
3370
3371 /* End of common part */
3372 void *notations; /* Hash table for notations if any */
3373 void *elements; /* Hash table for elements if any */
3374 void *attributes; /* Hash table for attributes if any */
3375 void *entities; /* Hash table for entities if any */
3376 const xmlChar *ExternalID; /* External identifier for PUBLIC DTD */
3377 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC DTD */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003378 void *pentities; /* Hash table for param entities if any */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003379};</PRE
3380></TD
3381></TR
3382></TABLE
3383><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003384>An XML DTD, as defined by &lt;!DOCTYPE ... There is actually one for
Daniel Veillard19274092002-03-25 16:48:03 +00003385the internal subset and for the external subset.</P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003386><P
3387></P
3388></DIV
3389><HR><DIV
3390CLASS="REFSECT2"
3391><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003392NAME="AEN4562"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003393></A
3394><H3
3395><A
3396NAME="XMLDTDPTR"
3397></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003398>xmlDtdPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003399><TABLE
3400BORDER="0"
3401BGCOLOR="#D6E8FF"
3402WIDTH="100%"
3403CELLPADDING="6"
3404><TR
3405><TD
3406><PRE
3407CLASS="PROGRAMLISTING"
3408>typedef xmlDtd *xmlDtdPtr;</PRE
3409></TD
3410></TR
3411></TABLE
3412><P
3413></P
3414></DIV
3415><HR><DIV
3416CLASS="REFSECT2"
3417><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003418NAME="AEN4567"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003419></A
3420><H3
3421><A
3422NAME="XMLATTR"
3423></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003424>struct xmlAttr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003425><TABLE
3426BORDER="0"
3427BGCOLOR="#D6E8FF"
3428WIDTH="100%"
3429CELLPADDING="6"
3430><TR
3431><TD
3432><PRE
3433CLASS="PROGRAMLISTING"
3434>struct xmlAttr {
Daniel Veillarda4871052001-11-26 13:19:48 +00003435 void *_private; /* application data */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003436 xmlElementType type; /* XML_ATTRIBUTE_NODE, must be second ! */
3437 const xmlChar *name; /* the name of the property */
3438 struct _xmlNode *children; /* the value of the property */
3439 struct _xmlNode *last; /* NULL */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003440 struct _xmlNode *parent; /* child-&gt;parent link */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003441 struct _xmlAttr *next; /* next sibling link */
3442 struct _xmlAttr *prev; /* previous sibling link */
3443 struct _xmlDoc *doc; /* the containing document */
3444 xmlNs *ns; /* pointer to the associated namespace */
3445 xmlAttributeType atype; /* the attribute type if validating */
3446};</PRE
3447></TD
3448></TR
3449></TABLE
3450><P
Daniel Veillard19274092002-03-25 16:48:03 +00003451>An attribute on an XML node.</P
Daniel Veillard35925471999-02-25 08:46:07 +00003452><P
3453></P
3454></DIV
3455><HR><DIV
3456CLASS="REFSECT2"
3457><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003458NAME="AEN4573"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003459></A
3460><H3
3461><A
3462NAME="XMLATTRPTR"
3463></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003464>xmlAttrPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003465><TABLE
3466BORDER="0"
3467BGCOLOR="#D6E8FF"
3468WIDTH="100%"
3469CELLPADDING="6"
3470><TR
3471><TD
3472><PRE
3473CLASS="PROGRAMLISTING"
3474>typedef xmlAttr *xmlAttrPtr;</PRE
3475></TD
3476></TR
3477></TABLE
3478><P
3479></P
3480></DIV
3481><HR><DIV
3482CLASS="REFSECT2"
3483><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003484NAME="AEN4578"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003485></A
3486><H3
3487><A
3488NAME="XMLID"
3489></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003490>struct xmlID</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003491><TABLE
3492BORDER="0"
3493BGCOLOR="#D6E8FF"
3494WIDTH="100%"
3495CELLPADDING="6"
3496><TR
3497><TD
3498><PRE
3499CLASS="PROGRAMLISTING"
3500>struct xmlID {
3501 struct _xmlID *next; /* next ID */
3502 const xmlChar *value; /* The ID name */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003503 xmlAttrPtr attr; /* The attribute holding it */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003504};</PRE
3505></TD
3506></TR
3507></TABLE
3508><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003509>An XML ID instance.</P
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003510><P
3511></P
3512></DIV
3513><HR><DIV
3514CLASS="REFSECT2"
3515><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003516NAME="AEN4584"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003517></A
3518><H3
3519><A
3520NAME="XMLIDPTR"
3521></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003522>xmlIDPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003523><TABLE
3524BORDER="0"
3525BGCOLOR="#D6E8FF"
3526WIDTH="100%"
3527CELLPADDING="6"
3528><TR
3529><TD
3530><PRE
3531CLASS="PROGRAMLISTING"
3532>typedef xmlID *xmlIDPtr;</PRE
3533></TD
3534></TR
3535></TABLE
3536><P
3537></P
3538></DIV
3539><HR><DIV
3540CLASS="REFSECT2"
3541><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003542NAME="AEN4589"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003543></A
3544><H3
3545><A
3546NAME="XMLREF"
3547></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003548>struct xmlRef</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003549><TABLE
3550BORDER="0"
3551BGCOLOR="#D6E8FF"
3552WIDTH="100%"
3553CELLPADDING="6"
3554><TR
3555><TD
3556><PRE
3557CLASS="PROGRAMLISTING"
3558>struct xmlRef {
3559 struct _xmlRef *next; /* next Ref */
3560 const xmlChar *value; /* The Ref name */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003561 xmlAttrPtr attr; /* The attribute holding it */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003562};</PRE
3563></TD
3564></TR
3565></TABLE
3566><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003567>An XML IDREF instance.</P
Daniel Veillard35925471999-02-25 08:46:07 +00003568><P
3569></P
3570></DIV
3571><HR><DIV
3572CLASS="REFSECT2"
3573><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003574NAME="AEN4595"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003575></A
3576><H3
3577><A
3578NAME="XMLREFPTR"
3579></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003580>xmlRefPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003581><TABLE
3582BORDER="0"
3583BGCOLOR="#D6E8FF"
3584WIDTH="100%"
3585CELLPADDING="6"
3586><TR
3587><TD
3588><PRE
3589CLASS="PROGRAMLISTING"
3590>typedef xmlRef *xmlRefPtr;</PRE
3591></TD
3592></TR
3593></TABLE
3594><P
3595></P
3596></DIV
3597><HR><DIV
3598CLASS="REFSECT2"
3599><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003600NAME="AEN4600"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003601></A
3602><H3
3603><A
3604NAME="XMLBUFFERALLOCATIONSCHEME"
3605></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003606>enum xmlBufferAllocationScheme</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003607><TABLE
3608BORDER="0"
3609BGCOLOR="#D6E8FF"
3610WIDTH="100%"
3611CELLPADDING="6"
3612><TR
3613><TD
3614><PRE
3615CLASS="PROGRAMLISTING"
3616>typedef enum {
3617 XML_BUFFER_ALLOC_DOUBLEIT,
3618 XML_BUFFER_ALLOC_EXACT
3619} xmlBufferAllocationScheme;</PRE
3620></TD
3621></TR
3622></TABLE
3623><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003624>A buffer allocation scheme can be defined to either match exactly the
Daniel Veillard19274092002-03-25 16:48:03 +00003625need or double it's allocated size each time it is found too small.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003626><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003627></P
3628></DIV
3629><HR><DIV
3630CLASS="REFSECT2"
3631><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003632NAME="AEN4606"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003633></A
3634><H3
3635><A
3636NAME="XMLBUFFER"
3637></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003638>struct xmlBuffer</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003639><TABLE
3640BORDER="0"
3641BGCOLOR="#D6E8FF"
3642WIDTH="100%"
3643CELLPADDING="6"
3644><TR
3645><TD
3646><PRE
3647CLASS="PROGRAMLISTING"
3648>struct xmlBuffer {
3649 xmlChar *content; /* The buffer content UTF8 */
3650 unsigned int use; /* The buffer size used */
3651 unsigned int size; /* The buffer size */
3652 xmlBufferAllocationScheme alloc; /* The realloc method */
3653};</PRE
3654></TD
3655></TR
3656></TABLE
3657><P
Daniel Veillard19274092002-03-25 16:48:03 +00003658>A buffer structure.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003659><P
3660></P
3661></DIV
3662><HR><DIV
3663CLASS="REFSECT2"
3664><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003665NAME="AEN4612"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003666></A
3667><H3
3668><A
3669NAME="XMLBUFFERPTR"
3670></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003671>xmlBufferPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003672><TABLE
3673BORDER="0"
3674BGCOLOR="#D6E8FF"
3675WIDTH="100%"
3676CELLPADDING="6"
3677><TR
3678><TD
3679><PRE
3680CLASS="PROGRAMLISTING"
3681>typedef xmlBuffer *xmlBufferPtr;</PRE
3682></TD
3683></TR
3684></TABLE
3685><P
3686></P
3687></DIV
3688><HR><DIV
3689CLASS="REFSECT2"
3690><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003691NAME="AEN4617"
Daniel Veillard294cbca1999-12-03 13:19:09 +00003692></A
3693><H3
3694><A
3695NAME="XMLNODE"
3696></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003697>struct xmlNode</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00003698><TABLE
3699BORDER="0"
3700BGCOLOR="#D6E8FF"
3701WIDTH="100%"
3702CELLPADDING="6"
3703><TR
3704><TD
3705><PRE
3706CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003707>struct xmlNode {
Daniel Veillarda4871052001-11-26 13:19:48 +00003708 void *_private; /* application data */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003709 xmlElementType type; /* type number, must be second ! */
3710 const xmlChar *name; /* the name of the node, or the entity */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003711 struct _xmlNode *children; /* parent-&gt;childs link */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003712 struct _xmlNode *last; /* last child link */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003713 struct _xmlNode *parent; /* child-&gt;parent link */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003714 struct _xmlNode *next; /* next sibling link */
3715 struct _xmlNode *prev; /* previous sibling link */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003716 struct _xmlDoc *doc; /* the containing document */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003717
3718 /* End of common part */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003719 xmlNs *ns; /* pointer to the associated namespace */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003720 xmlChar *content; /* the content */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003721 struct _xmlAttr *properties;/* properties list */
3722 xmlNs *nsDef; /* namespace definitions on this node */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003723};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00003724></TD
3725></TR
3726></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00003727><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003728>A node in an XML tree.</P
Daniel Veillard294cbca1999-12-03 13:19:09 +00003729><P
3730></P
3731></DIV
3732><HR><DIV
3733CLASS="REFSECT2"
3734><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003735NAME="AEN4623"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003736></A
3737><H3
3738><A
3739NAME="XMLNODEPTR"
3740></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003741>xmlNodePtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003742><TABLE
3743BORDER="0"
3744BGCOLOR="#D6E8FF"
3745WIDTH="100%"
3746CELLPADDING="6"
3747><TR
3748><TD
3749><PRE
3750CLASS="PROGRAMLISTING"
3751>typedef xmlNode *xmlNodePtr;</PRE
3752></TD
3753></TR
3754></TABLE
3755><P
3756></P
3757></DIV
3758><HR><DIV
3759CLASS="REFSECT2"
3760><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003761NAME="AEN4628"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003762></A
3763><H3
3764><A
3765NAME="XML-GET-CONTENT-CAPS"
3766></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003767>XML_GET_CONTENT()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003768><TABLE
3769BORDER="0"
3770BGCOLOR="#D6E8FF"
3771WIDTH="100%"
3772CELLPADDING="6"
3773><TR
3774><TD
3775><PRE
3776CLASS="PROGRAMLISTING"
3777>#define XML_GET_CONTENT(n)</PRE
3778></TD
3779></TR
3780></TABLE
3781><P
Daniel Veillard19274092002-03-25 16:48:03 +00003782>Macro to extract the content pointer of a node.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003783><P
3784></P
3785><DIV
3786CLASS="INFORMALTABLE"
3787><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003788NAME="AEN4634"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003789></P
3790><TABLE
3791BORDER="0"
3792WIDTH="100%"
3793BGCOLOR="#FFD0D0"
3794CELLSPACING="0"
3795CELLPADDING="4"
3796CLASS="CALSTABLE"
3797><TBODY
3798><TR
3799><TD
3800WIDTH="20%"
3801ALIGN="RIGHT"
3802VALIGN="TOP"
3803><TT
3804CLASS="PARAMETER"
3805><I
3806>n</I
3807></TT
3808>&nbsp;:</TD
3809><TD
3810WIDTH="80%"
3811ALIGN="LEFT"
3812VALIGN="TOP"
3813>&nbsp;</TD
3814></TR
3815></TBODY
3816></TABLE
3817><P
3818></P
3819></DIV
3820></DIV
3821><HR><DIV
3822CLASS="REFSECT2"
3823><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003824NAME="AEN4643"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003825></A
3826><H3
3827><A
3828NAME="XML-GET-LINE-CAPS"
3829></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003830>XML_GET_LINE()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003831><TABLE
3832BORDER="0"
3833BGCOLOR="#D6E8FF"
3834WIDTH="100%"
3835CELLPADDING="6"
3836><TR
3837><TD
3838><PRE
3839CLASS="PROGRAMLISTING"
3840>#define XML_GET_LINE(n)</PRE
3841></TD
3842></TR
3843></TABLE
3844><P
Daniel Veillard19274092002-03-25 16:48:03 +00003845>Macro to extract the line number of an element node.
Daniel Veillarda4871052001-11-26 13:19:48 +00003846This will work only if line numbering is activated by
Daniel Veillard19274092002-03-25 16:48:03 +00003847calling xmlLineNumbersDefault(1) before parsing.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003848><P
3849></P
3850><DIV
3851CLASS="INFORMALTABLE"
3852><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003853NAME="AEN4649"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003854></P
3855><TABLE
3856BORDER="0"
3857WIDTH="100%"
3858BGCOLOR="#FFD0D0"
3859CELLSPACING="0"
3860CELLPADDING="4"
3861CLASS="CALSTABLE"
3862><TBODY
3863><TR
3864><TD
3865WIDTH="20%"
3866ALIGN="RIGHT"
3867VALIGN="TOP"
3868><TT
3869CLASS="PARAMETER"
3870><I
3871>n</I
3872></TT
3873>&nbsp;:</TD
3874><TD
3875WIDTH="80%"
3876ALIGN="LEFT"
3877VALIGN="TOP"
3878>&nbsp;</TD
3879></TR
3880></TBODY
3881></TABLE
3882><P
3883></P
3884></DIV
3885></DIV
3886><HR><DIV
3887CLASS="REFSECT2"
3888><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003889NAME="AEN4658"
Daniel Veillard294cbca1999-12-03 13:19:09 +00003890></A
3891><H3
3892><A
3893NAME="XMLDOC"
3894></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003895>struct xmlDoc</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00003896><TABLE
3897BORDER="0"
3898BGCOLOR="#D6E8FF"
3899WIDTH="100%"
3900CELLPADDING="6"
3901><TR
3902><TD
3903><PRE
3904CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003905>struct xmlDoc {
Daniel Veillarda4871052001-11-26 13:19:48 +00003906 void *_private; /* application data */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003907 xmlElementType type; /* XML_DOCUMENT_NODE, must be second ! */
3908 char *name; /* name/filename/URI of the document */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003909 struct _xmlNode *children; /* the document tree */
3910 struct _xmlNode *last; /* last child link */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003911 struct _xmlNode *parent; /* child-&gt;parent link */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003912 struct _xmlNode *next; /* next sibling link */
3913 struct _xmlNode *prev; /* previous sibling link */
3914 struct _xmlDoc *doc; /* autoreference to itself */
3915
3916 /* End of common part */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003917 int compression;/* level of zlib compression */
3918 int standalone; /* standalone document (no external refs) */
3919 struct _xmlDtd *intSubset; /* the document internal subset */
3920 struct _xmlDtd *extSubset; /* the document external subset */
3921 struct _xmlNs *oldNs; /* Global namespace, the old way */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003922 const xmlChar *version; /* the XML version string */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003923 const xmlChar *encoding; /* external initial encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003924 void *ids; /* Hash table for ID attributes if any */
3925 void *refs; /* Hash table for IDREFs attributes if any */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003926 const xmlChar *URL; /* The URI for that document */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003927 int charset; /* encoding of the in-memory content
3928 actually an xmlCharEncoding */
Daniel Veillard71b656e2000-01-05 14:46:17 +00003929};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00003930></TD
3931></TR
3932></TABLE
Daniel Veillard294cbca1999-12-03 13:19:09 +00003933><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003934>An XML document.</P
Daniel Veillard294cbca1999-12-03 13:19:09 +00003935><P
3936></P
3937></DIV
3938><HR><DIV
3939CLASS="REFSECT2"
3940><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003941NAME="AEN4664"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003942></A
3943><H3
3944><A
3945NAME="XMLDOCPTR"
3946></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003947>xmlDocPtr</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003948><TABLE
3949BORDER="0"
3950BGCOLOR="#D6E8FF"
3951WIDTH="100%"
3952CELLPADDING="6"
3953><TR
3954><TD
3955><PRE
3956CLASS="PROGRAMLISTING"
3957>typedef xmlDoc *xmlDocPtr;</PRE
3958></TD
3959></TR
3960></TABLE
3961><P
3962></P
3963></DIV
3964><HR><DIV
3965CLASS="REFSECT2"
3966><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003967NAME="AEN4669"
Daniel Veillard06047432000-04-24 11:33:38 +00003968></A
3969><H3
3970><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003971NAME="XMLCHILDRENNODE"
Daniel Veillard06047432000-04-24 11:33:38 +00003972></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003973>xmlChildrenNode</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003974><TABLE
3975BORDER="0"
3976BGCOLOR="#D6E8FF"
3977WIDTH="100%"
3978CELLPADDING="6"
3979><TR
3980><TD
3981><PRE
3982CLASS="PROGRAMLISTING"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003983>#define xmlChildrenNode children</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003984></TD
3985></TR
3986></TABLE
Daniel Veillard06047432000-04-24 11:33:38 +00003987><P
Daniel Veillard19274092002-03-25 16:48:03 +00003988>Macro for compatibility naming layer with libxml1.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00003989><P
Daniel Veillard06047432000-04-24 11:33:38 +00003990></P
3991></DIV
3992><HR><DIV
3993CLASS="REFSECT2"
3994><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003995NAME="AEN4675"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003996></A
3997><H3
3998><A
3999NAME="XMLROOTNODE"
4000></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004001>xmlRootNode</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004002><TABLE
4003BORDER="0"
4004BGCOLOR="#D6E8FF"
4005WIDTH="100%"
4006CELLPADDING="6"
4007><TR
4008><TD
4009><PRE
4010CLASS="PROGRAMLISTING"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004011>#define xmlRootNode children</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004012></TD
4013></TR
4014></TABLE
4015><P
Daniel Veillard19274092002-03-25 16:48:03 +00004016>Macro for compatibility naming layer with libxml1.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004017><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004018></P
4019></DIV
4020><HR><DIV
4021CLASS="REFSECT2"
4022><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004023NAME="AEN4681"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004024></A
4025><H3
4026><A
4027NAME="XMLSETBUFFERALLOCATIONSCHEME"
4028></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004029>xmlSetBufferAllocationScheme ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004030><TABLE
4031BORDER="0"
4032BGCOLOR="#D6E8FF"
4033WIDTH="100%"
4034CELLPADDING="6"
4035><TR
4036><TD
4037><PRE
4038CLASS="PROGRAMLISTING"
4039>void xmlSetBufferAllocationScheme (<A
4040HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
4041>xmlBufferAllocationScheme</A
4042> scheme);</PRE
4043></TD
4044></TR
4045></TABLE
4046><P
4047>Set the buffer allocation method. Types are
4048XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
4049XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed,
Daniel Veillardaf43f632002-03-08 15:05:20 +00004050improves performance</P
Daniel Veillarda41123c2001-04-22 19:31:20 +00004051><P
4052></P
4053><DIV
4054CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004055><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004056NAME="AEN4688"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00004057></P
4058><TABLE
4059BORDER="0"
4060WIDTH="100%"
4061BGCOLOR="#FFD0D0"
4062CELLSPACING="0"
4063CELLPADDING="4"
4064CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004065><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004066><TR
4067><TD
4068WIDTH="20%"
4069ALIGN="RIGHT"
4070VALIGN="TOP"
4071><TT
4072CLASS="PARAMETER"
4073><I
4074>scheme</I
4075></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004076>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004077><TD
4078WIDTH="80%"
4079ALIGN="LEFT"
4080VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004081> allocation method to use</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004082></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004083></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004084></TABLE
4085><P
4086></P
4087></DIV
4088></DIV
4089><HR><DIV
4090CLASS="REFSECT2"
4091><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004092NAME="AEN4697"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004093></A
4094><H3
4095><A
4096NAME="XMLGETBUFFERALLOCATIONSCHEME"
4097></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004098>xmlGetBufferAllocationScheme ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004099><TABLE
4100BORDER="0"
4101BGCOLOR="#D6E8FF"
4102WIDTH="100%"
4103CELLPADDING="6"
4104><TR
4105><TD
4106><PRE
4107CLASS="PROGRAMLISTING"
4108><A
4109HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
4110>xmlBufferAllocationScheme</A
4111> xmlGetBufferAllocationScheme
4112 (void);</PRE
4113></TD
4114></TR
4115></TABLE
4116><P
4117>Types are
4118XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
4119XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed,
Daniel Veillardaf43f632002-03-08 15:05:20 +00004120improves performance</P
Daniel Veillarda41123c2001-04-22 19:31:20 +00004121><P
4122></P
4123><DIV
4124CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004125><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004126NAME="AEN4704"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00004127></P
4128><TABLE
4129BORDER="0"
4130WIDTH="100%"
4131BGCOLOR="#FFD0D0"
4132CELLSPACING="0"
4133CELLPADDING="4"
4134CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004135><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004136><TR
4137><TD
4138WIDTH="20%"
4139ALIGN="RIGHT"
4140VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004141><SPAN
4142CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004143><I
4144CLASS="EMPHASIS"
4145>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004146></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00004147> :</TD
4148><TD
4149WIDTH="80%"
4150ALIGN="LEFT"
4151VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004152>the current allocation scheme</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004153></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004154></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004155></TABLE
4156><P
4157></P
4158></DIV
4159></DIV
4160><HR><DIV
4161CLASS="REFSECT2"
4162><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004163NAME="AEN4713"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004164></A
4165><H3
4166><A
4167NAME="XMLBUFFERCREATE"
4168></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004169>xmlBufferCreate ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004170><TABLE
4171BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004172BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004173WIDTH="100%"
4174CELLPADDING="6"
4175><TR
4176><TD
4177><PRE
4178CLASS="PROGRAMLISTING"
4179><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004180HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004181>xmlBufferPtr</A
4182> xmlBufferCreate (void);</PRE
4183></TD
4184></TR
4185></TABLE
4186><P
4187>routine to create an XML buffer.</P
4188><P
4189></P
4190><DIV
4191CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004192><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004193NAME="AEN4720"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004194></P
4195><TABLE
4196BORDER="0"
4197WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004198BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004199CELLSPACING="0"
4200CELLPADDING="4"
4201CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004202><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004203><TR
4204><TD
4205WIDTH="20%"
4206ALIGN="RIGHT"
4207VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004208><SPAN
4209CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004210><I
4211CLASS="EMPHASIS"
4212>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004213></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004214> :</TD
4215><TD
4216WIDTH="80%"
4217ALIGN="LEFT"
4218VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004219>the new structure.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004220></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004221></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004222></TABLE
4223><P
4224></P
4225></DIV
4226></DIV
4227><HR><DIV
4228CLASS="REFSECT2"
4229><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004230NAME="AEN4729"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004231></A
4232><H3
4233><A
4234NAME="XMLBUFFERCREATESIZE"
4235></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004236>xmlBufferCreateSize ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004237><TABLE
4238BORDER="0"
4239BGCOLOR="#D6E8FF"
4240WIDTH="100%"
4241CELLPADDING="6"
4242><TR
4243><TD
4244><PRE
4245CLASS="PROGRAMLISTING"
4246><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004247HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004248>xmlBufferPtr</A
4249> xmlBufferCreateSize (<GTKDOCLINK
4250HREF="SIZE-T"
4251>size_t</GTKDOCLINK
4252> size);</PRE
4253></TD
4254></TR
4255></TABLE
4256><P
4257>routine to create an XML buffer.</P
4258><P
4259></P
4260><DIV
4261CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004262><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004263NAME="AEN4737"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004264></P
4265><TABLE
4266BORDER="0"
4267WIDTH="100%"
4268BGCOLOR="#FFD0D0"
4269CELLSPACING="0"
4270CELLPADDING="4"
4271CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004272><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004273><TR
4274><TD
4275WIDTH="20%"
4276ALIGN="RIGHT"
4277VALIGN="TOP"
4278><TT
4279CLASS="PARAMETER"
4280><I
4281>size</I
4282></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004283>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004284><TD
4285WIDTH="80%"
4286ALIGN="LEFT"
4287VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004288> initial size of buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004289></TR
4290><TR
4291><TD
4292WIDTH="20%"
4293ALIGN="RIGHT"
4294VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004295><SPAN
4296CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004297><I
4298CLASS="EMPHASIS"
4299>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004300></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004301> :</TD
4302><TD
4303WIDTH="80%"
4304ALIGN="LEFT"
4305VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004306>the new structure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004307></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004308></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004309></TABLE
4310><P
4311></P
4312></DIV
4313></DIV
4314><HR><DIV
4315CLASS="REFSECT2"
4316><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004317NAME="AEN4750"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004318></A
4319><H3
4320><A
4321NAME="XMLBUFFERRESIZE"
4322></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004323>xmlBufferResize ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004324><TABLE
4325BORDER="0"
4326BGCOLOR="#D6E8FF"
4327WIDTH="100%"
4328CELLPADDING="6"
4329><TR
4330><TD
4331><PRE
4332CLASS="PROGRAMLISTING"
4333>int xmlBufferResize (<A
4334HREF="libxml-tree.html#XMLBUFFERPTR"
4335>xmlBufferPtr</A
4336> buf,
4337 unsigned int size);</PRE
4338></TD
4339></TR
4340></TABLE
4341><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004342>Resize a buffer to accommodate minimum size of <TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004343CLASS="PARAMETER"
4344><I
4345>size</I
4346></TT
4347>.</P
4348><P
4349></P
4350><DIV
4351CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004352><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004353NAME="AEN4758"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00004354></P
4355><TABLE
4356BORDER="0"
4357WIDTH="100%"
4358BGCOLOR="#FFD0D0"
4359CELLSPACING="0"
4360CELLPADDING="4"
4361CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004362><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004363><TR
4364><TD
4365WIDTH="20%"
4366ALIGN="RIGHT"
4367VALIGN="TOP"
4368><TT
4369CLASS="PARAMETER"
4370><I
4371>buf</I
4372></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004373>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004374><TD
4375WIDTH="80%"
4376ALIGN="LEFT"
4377VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004378> the buffer to resize</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004379></TR
4380><TR
4381><TD
4382WIDTH="20%"
4383ALIGN="RIGHT"
4384VALIGN="TOP"
4385><TT
4386CLASS="PARAMETER"
4387><I
4388>size</I
4389></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004390>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004391><TD
4392WIDTH="80%"
4393ALIGN="LEFT"
4394VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004395> the desired size</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004396></TR
4397><TR
4398><TD
4399WIDTH="20%"
4400ALIGN="RIGHT"
4401VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004402><SPAN
4403CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004404><I
4405CLASS="EMPHASIS"
4406>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004407></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00004408> :</TD
4409><TD
4410WIDTH="80%"
4411ALIGN="LEFT"
4412VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004413>0 in case of problems, 1 otherwise</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004414></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004415></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004416></TABLE
4417><P
4418></P
4419></DIV
4420></DIV
4421><HR><DIV
4422CLASS="REFSECT2"
4423><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004424NAME="AEN4775"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004425></A
4426><H3
4427><A
4428NAME="XMLBUFFERFREE"
4429></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004430>xmlBufferFree ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004431><TABLE
4432BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004433BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004434WIDTH="100%"
4435CELLPADDING="6"
4436><TR
4437><TD
4438><PRE
4439CLASS="PROGRAMLISTING"
4440>void xmlBufferFree (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004441HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004442>xmlBufferPtr</A
4443> buf);</PRE
4444></TD
4445></TR
4446></TABLE
4447><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004448>Frees an XML buffer. It frees both the content and the structure which
4449encapsulate it.</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004450><P
4451></P
4452><DIV
4453CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004454><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004455NAME="AEN4782"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004456></P
4457><TABLE
4458BORDER="0"
4459WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004460BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004461CELLSPACING="0"
4462CELLPADDING="4"
4463CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004464><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004465><TR
4466><TD
4467WIDTH="20%"
4468ALIGN="RIGHT"
4469VALIGN="TOP"
4470><TT
4471CLASS="PARAMETER"
4472><I
4473>buf</I
4474></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004475>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004476><TD
4477WIDTH="80%"
4478ALIGN="LEFT"
4479VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004480> the buffer to free</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004481></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004482></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004483></TABLE
4484><P
4485></P
4486></DIV
4487></DIV
4488><HR><DIV
4489CLASS="REFSECT2"
4490><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004491NAME="AEN4791"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004492></A
4493><H3
4494><A
4495NAME="XMLBUFFERDUMP"
4496></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004497>xmlBufferDump ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004498><TABLE
4499BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004500BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004501WIDTH="100%"
4502CELLPADDING="6"
4503><TR
4504><TD
4505><PRE
4506CLASS="PROGRAMLISTING"
4507>int xmlBufferDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00004508HREF="FILE-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004509>FILE</GTKDOCLINK
4510> *file,
4511 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004512HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004513>xmlBufferPtr</A
4514> buf);</PRE
4515></TD
4516></TR
4517></TABLE
4518><P
4519>Dumps an XML buffer to a FILE *.</P
4520><P
4521></P
4522><DIV
4523CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004524><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004525NAME="AEN4799"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004526></P
4527><TABLE
4528BORDER="0"
4529WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004530BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004531CELLSPACING="0"
4532CELLPADDING="4"
4533CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004534><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004535><TR
4536><TD
4537WIDTH="20%"
4538ALIGN="RIGHT"
4539VALIGN="TOP"
4540><TT
4541CLASS="PARAMETER"
4542><I
4543>file</I
4544></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004545>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004546><TD
4547WIDTH="80%"
4548ALIGN="LEFT"
4549VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004550> the file output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004551></TR
4552><TR
4553><TD
4554WIDTH="20%"
4555ALIGN="RIGHT"
4556VALIGN="TOP"
4557><TT
4558CLASS="PARAMETER"
4559><I
4560>buf</I
4561></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004562>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004563><TD
4564WIDTH="80%"
4565ALIGN="LEFT"
4566VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004567> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004568></TR
4569><TR
4570><TD
4571WIDTH="20%"
4572ALIGN="RIGHT"
4573VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004574><SPAN
4575CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004576><I
4577CLASS="EMPHASIS"
4578>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004579></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004580> :</TD
4581><TD
4582WIDTH="80%"
4583ALIGN="LEFT"
4584VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004585>the number of <A
4586HREF="libxml-tree.html#XMLCHAR"
4587>xmlChar</A
4588> written</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004589></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004590></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004591></TABLE
4592><P
4593></P
4594></DIV
4595></DIV
4596><HR><DIV
4597CLASS="REFSECT2"
4598><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004599NAME="AEN4817"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004600></A
4601><H3
4602><A
4603NAME="XMLBUFFERADD"
4604></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004605>xmlBufferAdd ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004606><TABLE
4607BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004608BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004609WIDTH="100%"
4610CELLPADDING="6"
4611><TR
4612><TD
4613><PRE
4614CLASS="PROGRAMLISTING"
4615>void xmlBufferAdd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004616HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004617>xmlBufferPtr</A
4618> buf,
4619 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004620HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004621>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004622> *str,
4623 int len);</PRE
4624></TD
4625></TR
4626></TABLE
4627><P
Daniel Veillard60087f32001-10-10 09:45:09 +00004628>Add a string range to an XML buffer. if len == -1, the length of
Daniel Veillardf3a73582000-01-05 14:58:39 +00004629str is recomputed.</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004630><P
4631></P
4632><DIV
4633CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004634><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004635NAME="AEN4825"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004636></P
4637><TABLE
4638BORDER="0"
4639WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004640BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004641CELLSPACING="0"
4642CELLPADDING="4"
4643CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004644><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004645><TR
4646><TD
4647WIDTH="20%"
4648ALIGN="RIGHT"
4649VALIGN="TOP"
4650><TT
4651CLASS="PARAMETER"
4652><I
4653>buf</I
4654></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004655>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004656><TD
4657WIDTH="80%"
4658ALIGN="LEFT"
4659VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004660> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004661></TR
4662><TR
4663><TD
4664WIDTH="20%"
4665ALIGN="RIGHT"
4666VALIGN="TOP"
4667><TT
4668CLASS="PARAMETER"
4669><I
4670>str</I
4671></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004672>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004673><TD
4674WIDTH="80%"
4675ALIGN="LEFT"
4676VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004677> the <A
4678HREF="libxml-tree.html#XMLCHAR"
4679>xmlChar</A
4680> string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004681></TR
4682><TR
4683><TD
4684WIDTH="20%"
4685ALIGN="RIGHT"
4686VALIGN="TOP"
4687><TT
4688CLASS="PARAMETER"
4689><I
4690>len</I
4691></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004692>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004693><TD
4694WIDTH="80%"
4695ALIGN="LEFT"
4696VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004697> the number of <A
4698HREF="libxml-tree.html#XMLCHAR"
4699>xmlChar</A
4700> to add</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004701></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004702></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004703></TABLE
4704><P
4705></P
4706></DIV
4707></DIV
4708><HR><DIV
4709CLASS="REFSECT2"
4710><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004711NAME="AEN4844"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004712></A
4713><H3
4714><A
4715NAME="XMLBUFFERADDHEAD"
4716></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004717>xmlBufferAddHead ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004718><TABLE
4719BORDER="0"
4720BGCOLOR="#D6E8FF"
4721WIDTH="100%"
4722CELLPADDING="6"
4723><TR
4724><TD
4725><PRE
4726CLASS="PROGRAMLISTING"
4727>void xmlBufferAddHead (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004728HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004729>xmlBufferPtr</A
4730> buf,
4731 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004732HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004733>xmlChar</A
4734> *str,
4735 int len);</PRE
4736></TD
4737></TR
4738></TABLE
4739><P
4740>Add a string range to the beginning of an XML buffer.
Daniel Veillard60087f32001-10-10 09:45:09 +00004741if len == -1, the length of <TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004742CLASS="PARAMETER"
4743><I
4744>str</I
4745></TT
4746> is recomputed.</P
4747><P
4748></P
4749><DIV
4750CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004751><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004752NAME="AEN4853"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004753></P
4754><TABLE
4755BORDER="0"
4756WIDTH="100%"
4757BGCOLOR="#FFD0D0"
4758CELLSPACING="0"
4759CELLPADDING="4"
4760CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004761><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004762><TR
4763><TD
4764WIDTH="20%"
4765ALIGN="RIGHT"
4766VALIGN="TOP"
4767><TT
4768CLASS="PARAMETER"
4769><I
4770>buf</I
4771></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004772>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004773><TD
4774WIDTH="80%"
4775ALIGN="LEFT"
4776VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004777> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004778></TR
4779><TR
4780><TD
4781WIDTH="20%"
4782ALIGN="RIGHT"
4783VALIGN="TOP"
4784><TT
4785CLASS="PARAMETER"
4786><I
4787>str</I
4788></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004789>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004790><TD
4791WIDTH="80%"
4792ALIGN="LEFT"
4793VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004794> the <A
4795HREF="libxml-tree.html#XMLCHAR"
4796>xmlChar</A
4797> string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004798></TR
4799><TR
4800><TD
4801WIDTH="20%"
4802ALIGN="RIGHT"
4803VALIGN="TOP"
4804><TT
4805CLASS="PARAMETER"
4806><I
4807>len</I
4808></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004809>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004810><TD
4811WIDTH="80%"
4812ALIGN="LEFT"
4813VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004814> the number of <A
4815HREF="libxml-tree.html#XMLCHAR"
4816>xmlChar</A
4817> to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004818></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004819></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004820></TABLE
4821><P
4822></P
4823></DIV
4824></DIV
4825><HR><DIV
4826CLASS="REFSECT2"
4827><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004828NAME="AEN4872"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004829></A
4830><H3
4831><A
4832NAME="XMLBUFFERCAT"
4833></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004834>xmlBufferCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004835><TABLE
4836BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004837BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004838WIDTH="100%"
4839CELLPADDING="6"
4840><TR
4841><TD
4842><PRE
4843CLASS="PROGRAMLISTING"
4844>void xmlBufferCat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004845HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004846>xmlBufferPtr</A
4847> buf,
4848 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004849HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004850>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004851> *str);</PRE
4852></TD
4853></TR
4854></TABLE
4855><P
4856>Append a zero terminated string to an XML buffer.</P
4857><P
4858></P
4859><DIV
4860CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004861><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004862NAME="AEN4880"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004863></P
4864><TABLE
4865BORDER="0"
4866WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004867BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004868CELLSPACING="0"
4869CELLPADDING="4"
4870CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004871><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004872><TR
4873><TD
4874WIDTH="20%"
4875ALIGN="RIGHT"
4876VALIGN="TOP"
4877><TT
4878CLASS="PARAMETER"
4879><I
4880>buf</I
4881></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004882>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004883><TD
4884WIDTH="80%"
4885ALIGN="LEFT"
4886VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004887> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004888></TR
4889><TR
4890><TD
4891WIDTH="20%"
4892ALIGN="RIGHT"
4893VALIGN="TOP"
4894><TT
4895CLASS="PARAMETER"
4896><I
4897>str</I
4898></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004899>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004900><TD
4901WIDTH="80%"
4902ALIGN="LEFT"
4903VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004904> the <A
4905HREF="libxml-tree.html#XMLCHAR"
4906>xmlChar</A
4907> string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004908></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004909></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004910></TABLE
4911><P
4912></P
4913></DIV
4914></DIV
4915><HR><DIV
4916CLASS="REFSECT2"
4917><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004918NAME="AEN4894"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004919></A
4920><H3
4921><A
4922NAME="XMLBUFFERCCAT"
4923></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004924>xmlBufferCCat ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004925><TABLE
4926BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004927BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004928WIDTH="100%"
4929CELLPADDING="6"
4930><TR
4931><TD
4932><PRE
4933CLASS="PROGRAMLISTING"
4934>void xmlBufferCCat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004935HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004936>xmlBufferPtr</A
4937> buf,
4938 const char *str);</PRE
4939></TD
4940></TR
4941></TABLE
4942><P
4943>Append a zero terminated C string to an XML buffer.</P
4944><P
4945></P
4946><DIV
4947CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004948><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004949NAME="AEN4901"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004950></P
4951><TABLE
4952BORDER="0"
4953WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004954BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004955CELLSPACING="0"
4956CELLPADDING="4"
4957CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004958><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004959><TR
4960><TD
4961WIDTH="20%"
4962ALIGN="RIGHT"
4963VALIGN="TOP"
4964><TT
4965CLASS="PARAMETER"
4966><I
4967>buf</I
4968></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004969>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004970><TD
4971WIDTH="80%"
4972ALIGN="LEFT"
4973VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004974> the buffer to dump</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004975></TR
4976><TR
4977><TD
4978WIDTH="20%"
4979ALIGN="RIGHT"
4980VALIGN="TOP"
4981><TT
4982CLASS="PARAMETER"
4983><I
4984>str</I
4985></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004986>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004987><TD
4988WIDTH="80%"
4989ALIGN="LEFT"
4990VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004991> the C char string</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004992></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004993></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004994></TABLE
4995><P
4996></P
4997></DIV
4998></DIV
4999><HR><DIV
5000CLASS="REFSECT2"
5001><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005002NAME="AEN4914"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005003></A
5004><H3
5005><A
5006NAME="XMLBUFFERSHRINK"
5007></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005008>xmlBufferShrink ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005009><TABLE
5010BORDER="0"
5011BGCOLOR="#D6E8FF"
5012WIDTH="100%"
5013CELLPADDING="6"
5014><TR
5015><TD
5016><PRE
5017CLASS="PROGRAMLISTING"
5018>int xmlBufferShrink (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005019HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005020>xmlBufferPtr</A
5021> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005022 unsigned int len);</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005023></TD
5024></TR
5025></TABLE
5026><P
5027>Remove the beginning of an XML buffer.</P
5028><P
5029></P
5030><DIV
5031CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005032><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005033NAME="AEN4921"><P
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005034></P
5035><TABLE
5036BORDER="0"
5037WIDTH="100%"
5038BGCOLOR="#FFD0D0"
5039CELLSPACING="0"
5040CELLPADDING="4"
5041CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005042><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005043><TR
5044><TD
5045WIDTH="20%"
5046ALIGN="RIGHT"
5047VALIGN="TOP"
5048><TT
5049CLASS="PARAMETER"
5050><I
5051>buf</I
5052></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005053>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005054><TD
5055WIDTH="80%"
5056ALIGN="LEFT"
5057VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005058> the buffer to dump</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005059></TR
5060><TR
5061><TD
5062WIDTH="20%"
5063ALIGN="RIGHT"
5064VALIGN="TOP"
5065><TT
5066CLASS="PARAMETER"
5067><I
5068>len</I
5069></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005070>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005071><TD
5072WIDTH="80%"
5073ALIGN="LEFT"
5074VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005075> the number of xmlChar to remove</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005076></TR
5077><TR
5078><TD
5079WIDTH="20%"
5080ALIGN="RIGHT"
5081VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005082><SPAN
5083CLASS="emphasis"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005084><I
5085CLASS="EMPHASIS"
5086>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005087></SPAN
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005088> :</TD
5089><TD
5090WIDTH="80%"
5091ALIGN="LEFT"
5092VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005093>the number of <A
5094HREF="libxml-tree.html#XMLCHAR"
5095>xmlChar</A
5096> removed, or -1 in case of failure.</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005097></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005098></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005099></TABLE
5100><P
5101></P
5102></DIV
5103></DIV
5104><HR><DIV
5105CLASS="REFSECT2"
5106><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005107NAME="AEN4939"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005108></A
5109><H3
5110><A
5111NAME="XMLBUFFERGROW"
5112></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005113>xmlBufferGrow ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005114><TABLE
5115BORDER="0"
5116BGCOLOR="#D6E8FF"
5117WIDTH="100%"
5118CELLPADDING="6"
5119><TR
5120><TD
5121><PRE
5122CLASS="PROGRAMLISTING"
5123>int xmlBufferGrow (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005124HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005125>xmlBufferPtr</A
5126> buf,
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005127 unsigned int len);</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005128></TD
5129></TR
5130></TABLE
5131><P
5132>Grow the available space of an XML buffer.</P
5133><P
5134></P
5135><DIV
5136CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005137><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005138NAME="AEN4946"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005139></P
5140><TABLE
5141BORDER="0"
5142WIDTH="100%"
5143BGCOLOR="#FFD0D0"
5144CELLSPACING="0"
5145CELLPADDING="4"
5146CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005147><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005148><TR
5149><TD
5150WIDTH="20%"
5151ALIGN="RIGHT"
5152VALIGN="TOP"
5153><TT
5154CLASS="PARAMETER"
5155><I
5156>buf</I
5157></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005158>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005159><TD
5160WIDTH="80%"
5161ALIGN="LEFT"
5162VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005163> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005164></TR
5165><TR
5166><TD
5167WIDTH="20%"
5168ALIGN="RIGHT"
5169VALIGN="TOP"
5170><TT
5171CLASS="PARAMETER"
5172><I
5173>len</I
5174></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005175>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005176><TD
5177WIDTH="80%"
5178ALIGN="LEFT"
5179VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005180> the minimum free size to allocate</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005181></TR
5182><TR
5183><TD
5184WIDTH="20%"
5185ALIGN="RIGHT"
5186VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005187><SPAN
5188CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005189><I
5190CLASS="EMPHASIS"
5191>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005192></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005193> :</TD
5194><TD
5195WIDTH="80%"
5196ALIGN="LEFT"
5197VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005198>the new available space or -1 in case of error</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005199></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005200></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005201></TABLE
5202><P
5203></P
5204></DIV
5205></DIV
5206><HR><DIV
5207CLASS="REFSECT2"
5208><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005209NAME="AEN4963"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005210></A
5211><H3
5212><A
5213NAME="XMLBUFFEREMPTY"
5214></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005215>xmlBufferEmpty ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005216><TABLE
5217BORDER="0"
5218BGCOLOR="#D6E8FF"
5219WIDTH="100%"
5220CELLPADDING="6"
5221><TR
5222><TD
5223><PRE
5224CLASS="PROGRAMLISTING"
5225>void xmlBufferEmpty (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005226HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005227>xmlBufferPtr</A
5228> buf);</PRE
5229></TD
5230></TR
5231></TABLE
5232><P
5233>empty a buffer.</P
5234><P
5235></P
5236><DIV
5237CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005238><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005239NAME="AEN4970"><P
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005240></P
5241><TABLE
5242BORDER="0"
5243WIDTH="100%"
5244BGCOLOR="#FFD0D0"
5245CELLSPACING="0"
5246CELLPADDING="4"
5247CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005248><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005249><TR
5250><TD
5251WIDTH="20%"
5252ALIGN="RIGHT"
5253VALIGN="TOP"
5254><TT
5255CLASS="PARAMETER"
5256><I
5257>buf</I
5258></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005259>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005260><TD
5261WIDTH="80%"
5262ALIGN="LEFT"
5263VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005264> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005265></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005266></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005267></TABLE
5268><P
5269></P
5270></DIV
5271></DIV
5272><HR><DIV
5273CLASS="REFSECT2"
5274><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005275NAME="AEN4979"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005276></A
5277><H3
5278><A
5279NAME="XMLBUFFERCONTENT"
5280></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005281>xmlBufferContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005282><TABLE
5283BORDER="0"
5284BGCOLOR="#D6E8FF"
5285WIDTH="100%"
5286CELLPADDING="6"
5287><TR
5288><TD
5289><PRE
5290CLASS="PROGRAMLISTING"
5291>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005292HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005293>xmlChar</A
5294>* xmlBufferContent (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005295HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005296>xmlBufferPtr</A
5297> buf);</PRE
5298></TD
5299></TR
5300></TABLE
5301><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005302>Function to extract the content of a buffer</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005303><P
5304></P
5305><DIV
5306CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005307><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005308NAME="AEN4987"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005309></P
5310><TABLE
5311BORDER="0"
5312WIDTH="100%"
5313BGCOLOR="#FFD0D0"
5314CELLSPACING="0"
5315CELLPADDING="4"
5316CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005317><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005318><TR
5319><TD
5320WIDTH="20%"
5321ALIGN="RIGHT"
5322VALIGN="TOP"
5323><TT
5324CLASS="PARAMETER"
5325><I
5326>buf</I
5327></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005328>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005329><TD
5330WIDTH="80%"
5331ALIGN="LEFT"
5332VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005333> the buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005334></TR
5335><TR
5336><TD
5337WIDTH="20%"
5338ALIGN="RIGHT"
5339VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005340><SPAN
5341CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005342><I
5343CLASS="EMPHASIS"
5344>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005345></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005346> :</TD
5347><TD
5348WIDTH="80%"
5349ALIGN="LEFT"
5350VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005351>the internal content</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005352></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005353></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005354></TABLE
5355><P
5356></P
5357></DIV
5358></DIV
5359><HR><DIV
5360CLASS="REFSECT2"
5361><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005362NAME="AEN5000"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005363></A
5364><H3
5365><A
5366NAME="XMLBUFFERSETALLOCATIONSCHEME"
5367></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005368>xmlBufferSetAllocationScheme ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005369><TABLE
5370BORDER="0"
5371BGCOLOR="#D6E8FF"
5372WIDTH="100%"
5373CELLPADDING="6"
5374><TR
5375><TD
5376><PRE
5377CLASS="PROGRAMLISTING"
5378>void xmlBufferSetAllocationScheme (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005379HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005380>xmlBufferPtr</A
5381> buf,
5382 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005383HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005384>xmlBufferAllocationScheme</A
5385> scheme);</PRE
5386></TD
5387></TR
5388></TABLE
5389><P
5390>Sets the allocation scheme for this buffer</P
5391><P
5392></P
5393><DIV
5394CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005395><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005396NAME="AEN5008"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005397></P
5398><TABLE
5399BORDER="0"
5400WIDTH="100%"
5401BGCOLOR="#FFD0D0"
5402CELLSPACING="0"
5403CELLPADDING="4"
5404CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005405><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005406><TR
5407><TD
5408WIDTH="20%"
5409ALIGN="RIGHT"
5410VALIGN="TOP"
5411><TT
5412CLASS="PARAMETER"
5413><I
5414>buf</I
5415></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005416>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005417><TD
5418WIDTH="80%"
5419ALIGN="LEFT"
5420VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005421> the buffer to free</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005422></TR
5423><TR
5424><TD
5425WIDTH="20%"
5426ALIGN="RIGHT"
5427VALIGN="TOP"
5428><TT
5429CLASS="PARAMETER"
5430><I
5431>scheme</I
5432></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005433>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005434><TD
5435WIDTH="80%"
5436ALIGN="LEFT"
5437VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005438> allocation scheme to use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005439></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005440></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005441></TABLE
5442><P
5443></P
5444></DIV
5445></DIV
5446><HR><DIV
5447CLASS="REFSECT2"
5448><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005449NAME="AEN5021"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005450></A
5451><H3
5452><A
5453NAME="XMLBUFFERLENGTH"
5454></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005455>xmlBufferLength ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005456><TABLE
5457BORDER="0"
5458BGCOLOR="#D6E8FF"
5459WIDTH="100%"
5460CELLPADDING="6"
5461><TR
5462><TD
5463><PRE
5464CLASS="PROGRAMLISTING"
5465>int xmlBufferLength (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005466HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005467>xmlBufferPtr</A
5468> buf);</PRE
5469></TD
5470></TR
5471></TABLE
5472><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005473>Function to get the length of a buffer</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005474><P
5475></P
5476><DIV
5477CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005478><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005479NAME="AEN5028"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005480></P
5481><TABLE
5482BORDER="0"
5483WIDTH="100%"
5484BGCOLOR="#FFD0D0"
5485CELLSPACING="0"
5486CELLPADDING="4"
5487CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005488><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005489><TR
5490><TD
5491WIDTH="20%"
5492ALIGN="RIGHT"
5493VALIGN="TOP"
5494><TT
5495CLASS="PARAMETER"
5496><I
5497>buf</I
5498></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005499>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005500><TD
5501WIDTH="80%"
5502ALIGN="LEFT"
5503VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005504> the buffer </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005505></TR
5506><TR
5507><TD
5508WIDTH="20%"
5509ALIGN="RIGHT"
5510VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005511><SPAN
5512CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005513><I
5514CLASS="EMPHASIS"
5515>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005516></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005517> :</TD
5518><TD
5519WIDTH="80%"
5520ALIGN="LEFT"
5521VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005522>the length of data in the internal content</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005523></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005524></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005525></TABLE
5526><P
5527></P
5528></DIV
5529></DIV
5530><HR><DIV
5531CLASS="REFSECT2"
5532><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005533NAME="AEN5041"
Daniel Veillard35925471999-02-25 08:46:07 +00005534></A
5535><H3
5536><A
5537NAME="XMLCREATEINTSUBSET"
5538></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005539>xmlCreateIntSubset ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005540><TABLE
5541BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005542BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005543WIDTH="100%"
5544CELLPADDING="6"
5545><TR
5546><TD
5547><PRE
5548CLASS="PROGRAMLISTING"
5549><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005550HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005551>xmlDtdPtr</A
5552> xmlCreateIntSubset (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005553HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005554>xmlDocPtr</A
5555> doc,
5556 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005557HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005558>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005559> *name,
5560 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005561HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005562>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005563> *ExternalID,
5564 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005565HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005566>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005567> *SystemID);</PRE
5568></TD
5569></TR
5570></TABLE
5571><P
5572>Create the internal subset of a document</P
5573><P
5574></P
5575><DIV
5576CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005577><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005578NAME="AEN5052"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005579></P
5580><TABLE
5581BORDER="0"
5582WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005583BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005584CELLSPACING="0"
5585CELLPADDING="4"
5586CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005587><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005588><TR
5589><TD
5590WIDTH="20%"
5591ALIGN="RIGHT"
5592VALIGN="TOP"
5593><TT
5594CLASS="PARAMETER"
5595><I
5596>doc</I
5597></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005598>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005599><TD
5600WIDTH="80%"
5601ALIGN="LEFT"
5602VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005603> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005604></TR
5605><TR
5606><TD
5607WIDTH="20%"
5608ALIGN="RIGHT"
5609VALIGN="TOP"
5610><TT
5611CLASS="PARAMETER"
5612><I
5613>name</I
5614></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005615>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005616><TD
5617WIDTH="80%"
5618ALIGN="LEFT"
5619VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005620> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005621></TR
5622><TR
5623><TD
5624WIDTH="20%"
5625ALIGN="RIGHT"
5626VALIGN="TOP"
5627><TT
5628CLASS="PARAMETER"
5629><I
5630>ExternalID</I
5631></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005632>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005633><TD
5634WIDTH="80%"
5635ALIGN="LEFT"
5636VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005637> the external (PUBLIC) ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005638></TR
5639><TR
5640><TD
5641WIDTH="20%"
5642ALIGN="RIGHT"
5643VALIGN="TOP"
5644><TT
5645CLASS="PARAMETER"
5646><I
5647>SystemID</I
5648></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005649>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005650><TD
5651WIDTH="80%"
5652ALIGN="LEFT"
5653VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005654> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005655></TR
5656><TR
5657><TD
5658WIDTH="20%"
5659ALIGN="RIGHT"
5660VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005661><SPAN
5662CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005663><I
5664CLASS="EMPHASIS"
5665>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005666></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005667> :</TD
5668><TD
5669WIDTH="80%"
5670ALIGN="LEFT"
5671VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005672>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005673></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005674></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005675></TABLE
5676><P
5677></P
5678></DIV
5679></DIV
5680><HR><DIV
5681CLASS="REFSECT2"
5682><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005683NAME="AEN5077"
Daniel Veillard35925471999-02-25 08:46:07 +00005684></A
5685><H3
5686><A
5687NAME="XMLNEWDTD"
5688></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005689>xmlNewDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005690><TABLE
5691BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005692BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005693WIDTH="100%"
5694CELLPADDING="6"
5695><TR
5696><TD
5697><PRE
5698CLASS="PROGRAMLISTING"
5699><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005700HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005701>xmlDtdPtr</A
5702> xmlNewDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005703HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005704>xmlDocPtr</A
5705> doc,
5706 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005707HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005708>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005709> *name,
5710 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005711HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005712>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005713> *ExternalID,
5714 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005715HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005716>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005717> *SystemID);</PRE
5718></TD
5719></TR
5720></TABLE
5721><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005722>Creation of a new DTD for the external subset. To create an
5723internal subset, use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005724HREF="libxml-tree.html#XMLCREATEINTSUBSET"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005725>xmlCreateIntSubset</A
5726>().</P
Daniel Veillard35925471999-02-25 08:46:07 +00005727><P
5728></P
5729><DIV
5730CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005731><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005732NAME="AEN5089"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005733></P
5734><TABLE
5735BORDER="0"
5736WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005737BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005738CELLSPACING="0"
5739CELLPADDING="4"
5740CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005741><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005742><TR
5743><TD
5744WIDTH="20%"
5745ALIGN="RIGHT"
5746VALIGN="TOP"
5747><TT
5748CLASS="PARAMETER"
5749><I
5750>doc</I
5751></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005752>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005753><TD
5754WIDTH="80%"
5755ALIGN="LEFT"
5756VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005757> the document pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005758></TR
5759><TR
5760><TD
5761WIDTH="20%"
5762ALIGN="RIGHT"
5763VALIGN="TOP"
5764><TT
5765CLASS="PARAMETER"
5766><I
5767>name</I
5768></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005769>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005770><TD
5771WIDTH="80%"
5772ALIGN="LEFT"
5773VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005774> the DTD name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005775></TR
5776><TR
5777><TD
5778WIDTH="20%"
5779ALIGN="RIGHT"
5780VALIGN="TOP"
5781><TT
5782CLASS="PARAMETER"
5783><I
5784>ExternalID</I
5785></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005786>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005787><TD
5788WIDTH="80%"
5789ALIGN="LEFT"
5790VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005791> the external ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005792></TR
5793><TR
5794><TD
5795WIDTH="20%"
5796ALIGN="RIGHT"
5797VALIGN="TOP"
5798><TT
5799CLASS="PARAMETER"
5800><I
5801>SystemID</I
5802></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005803>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005804><TD
5805WIDTH="80%"
5806ALIGN="LEFT"
5807VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005808> the system ID</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005809></TR
5810><TR
5811><TD
5812WIDTH="20%"
5813ALIGN="RIGHT"
5814VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005815><SPAN
5816CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005817><I
5818CLASS="EMPHASIS"
5819>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005820></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005821> :</TD
5822><TD
5823WIDTH="80%"
5824ALIGN="LEFT"
5825VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005826>a pointer to the new DTD structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005827></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005828></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005829></TABLE
5830><P
5831></P
5832></DIV
5833></DIV
5834><HR><DIV
5835CLASS="REFSECT2"
5836><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005837NAME="AEN5114"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005838></A
5839><H3
5840><A
5841NAME="XMLGETINTSUBSET"
5842></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005843>xmlGetIntSubset ()</H3
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005844><TABLE
5845BORDER="0"
5846BGCOLOR="#D6E8FF"
5847WIDTH="100%"
5848CELLPADDING="6"
5849><TR
5850><TD
5851><PRE
5852CLASS="PROGRAMLISTING"
5853><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005854HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005855>xmlDtdPtr</A
5856> xmlGetIntSubset (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005857HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005858>xmlDocPtr</A
5859> doc);</PRE
5860></TD
5861></TR
5862></TABLE
5863><P
5864>Get the internal subset of a document</P
5865><P
5866></P
5867><DIV
5868CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005869><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005870NAME="AEN5122"><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005871></P
5872><TABLE
5873BORDER="0"
5874WIDTH="100%"
5875BGCOLOR="#FFD0D0"
5876CELLSPACING="0"
5877CELLPADDING="4"
5878CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005879><TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005880><TR
5881><TD
5882WIDTH="20%"
5883ALIGN="RIGHT"
5884VALIGN="TOP"
5885><TT
5886CLASS="PARAMETER"
5887><I
5888>doc</I
5889></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005890>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005891><TD
5892WIDTH="80%"
5893ALIGN="LEFT"
5894VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005895> the document pointer</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005896></TR
5897><TR
5898><TD
5899WIDTH="20%"
5900ALIGN="RIGHT"
5901VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005902><SPAN
5903CLASS="emphasis"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005904><I
5905CLASS="EMPHASIS"
5906>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005907></SPAN
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005908> :</TD
5909><TD
5910WIDTH="80%"
5911ALIGN="LEFT"
5912VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005913>a pointer to the DTD structure or NULL if not found</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005914></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005915></TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005916></TABLE
5917><P
5918></P
5919></DIV
5920></DIV
5921><HR><DIV
5922CLASS="REFSECT2"
5923><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005924NAME="AEN5135"
Daniel Veillard35925471999-02-25 08:46:07 +00005925></A
5926><H3
5927><A
5928NAME="XMLFREEDTD"
5929></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005930>xmlFreeDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005931><TABLE
5932BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005933BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005934WIDTH="100%"
5935CELLPADDING="6"
5936><TR
5937><TD
5938><PRE
5939CLASS="PROGRAMLISTING"
5940>void xmlFreeDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005941HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005942>xmlDtdPtr</A
5943> cur);</PRE
5944></TD
5945></TR
5946></TABLE
5947><P
5948>Free a DTD structure.</P
5949><P
5950></P
5951><DIV
5952CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005953><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005954NAME="AEN5142"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005955></P
5956><TABLE
5957BORDER="0"
5958WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005959BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005960CELLSPACING="0"
5961CELLPADDING="4"
5962CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005963><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005964><TR
5965><TD
5966WIDTH="20%"
5967ALIGN="RIGHT"
5968VALIGN="TOP"
5969><TT
5970CLASS="PARAMETER"
5971><I
5972>cur</I
5973></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005974>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005975><TD
5976WIDTH="80%"
5977ALIGN="LEFT"
5978VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005979> the DTD structure to free up</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005980></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005981></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005982></TABLE
5983><P
5984></P
5985></DIV
5986></DIV
5987><HR><DIV
5988CLASS="REFSECT2"
5989><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005990NAME="AEN5151"
Daniel Veillard35925471999-02-25 08:46:07 +00005991></A
5992><H3
5993><A
5994NAME="XMLNEWGLOBALNS"
5995></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005996>xmlNewGlobalNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005997><TABLE
5998BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005999BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006000WIDTH="100%"
6001CELLPADDING="6"
6002><TR
6003><TD
6004><PRE
6005CLASS="PROGRAMLISTING"
6006><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006007HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006008>xmlNsPtr</A
6009> xmlNewGlobalNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006010HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006011>xmlDocPtr</A
6012> doc,
6013 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006014HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006015>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006016> *href,
6017 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006018HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006019>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006020> *prefix);</PRE
6021></TD
6022></TR
6023></TABLE
6024><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00006025>Creation of a Namespace, the old way using PI and without scoping
Daniel Veillardaf43f632002-03-08 15:05:20 +00006026DEPRECATED !!!
Daniel Veillard0142b842000-01-14 14:45:24 +00006027It now create a namespace on the root element of the document if found.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006028><P
6029></P
6030><DIV
6031CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006032><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006033NAME="AEN5161"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006034></P
6035><TABLE
6036BORDER="0"
6037WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006038BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006039CELLSPACING="0"
6040CELLPADDING="4"
6041CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006042><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006043><TR
6044><TD
6045WIDTH="20%"
6046ALIGN="RIGHT"
6047VALIGN="TOP"
6048><TT
6049CLASS="PARAMETER"
6050><I
6051>doc</I
6052></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006053>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006054><TD
6055WIDTH="80%"
6056ALIGN="LEFT"
6057VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006058> the document carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006059></TR
6060><TR
6061><TD
6062WIDTH="20%"
6063ALIGN="RIGHT"
6064VALIGN="TOP"
6065><TT
6066CLASS="PARAMETER"
6067><I
6068>href</I
6069></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006070>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006071><TD
6072WIDTH="80%"
6073ALIGN="LEFT"
6074VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006075> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006076></TR
6077><TR
6078><TD
6079WIDTH="20%"
6080ALIGN="RIGHT"
6081VALIGN="TOP"
6082><TT
6083CLASS="PARAMETER"
6084><I
6085>prefix</I
6086></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006087>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006088><TD
6089WIDTH="80%"
6090ALIGN="LEFT"
6091VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006092> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006093></TR
6094><TR
6095><TD
6096WIDTH="20%"
6097ALIGN="RIGHT"
6098VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006099><SPAN
6100CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006101><I
6102CLASS="EMPHASIS"
6103>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006104></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006105> :</TD
6106><TD
6107WIDTH="80%"
6108ALIGN="LEFT"
6109VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006110>NULL this functionality had been removed</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006111></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006112></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006113></TABLE
6114><P
6115></P
6116></DIV
6117></DIV
6118><HR><DIV
6119CLASS="REFSECT2"
6120><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006121NAME="AEN5182"
Daniel Veillard35925471999-02-25 08:46:07 +00006122></A
6123><H3
6124><A
6125NAME="XMLNEWNS"
6126></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006127>xmlNewNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006128><TABLE
6129BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006130BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006131WIDTH="100%"
6132CELLPADDING="6"
6133><TR
6134><TD
6135><PRE
6136CLASS="PROGRAMLISTING"
6137><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006138HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006139>xmlNsPtr</A
6140> xmlNewNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006141HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006142>xmlNodePtr</A
6143> node,
6144 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006145HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006146>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006147> *href,
6148 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006149HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006150>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006151> *prefix);</PRE
6152></TD
6153></TR
6154></TABLE
6155><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00006156>Creation of a new Namespace. This function will refuse to create
6157a namespace with a similar prefix than an existing one present on this
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006158node.
6159We use href==NULL in the case of an element creation where the namespace
6160was not defined.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006161><P
6162></P
6163><DIV
6164CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006165><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006166NAME="AEN5192"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006167></P
6168><TABLE
6169BORDER="0"
6170WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006171BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006172CELLSPACING="0"
6173CELLPADDING="4"
6174CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006175><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006176><TR
6177><TD
6178WIDTH="20%"
6179ALIGN="RIGHT"
6180VALIGN="TOP"
6181><TT
6182CLASS="PARAMETER"
6183><I
6184>node</I
6185></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006186>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006187><TD
6188WIDTH="80%"
6189ALIGN="LEFT"
6190VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006191> the element carrying the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006192></TR
6193><TR
6194><TD
6195WIDTH="20%"
6196ALIGN="RIGHT"
6197VALIGN="TOP"
6198><TT
6199CLASS="PARAMETER"
6200><I
6201>href</I
6202></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006203>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006204><TD
6205WIDTH="80%"
6206ALIGN="LEFT"
6207VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006208> the URI associated</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006209></TR
6210><TR
6211><TD
6212WIDTH="20%"
6213ALIGN="RIGHT"
6214VALIGN="TOP"
6215><TT
6216CLASS="PARAMETER"
6217><I
6218>prefix</I
6219></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006220>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006221><TD
6222WIDTH="80%"
6223ALIGN="LEFT"
6224VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006225> the prefix for the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006226></TR
6227><TR
6228><TD
6229WIDTH="20%"
6230ALIGN="RIGHT"
6231VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006232><SPAN
6233CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006234><I
6235CLASS="EMPHASIS"
6236>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006237></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006238> :</TD
6239><TD
6240WIDTH="80%"
6241ALIGN="LEFT"
6242VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006243>a new namespace pointer or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006244></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006245></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006246></TABLE
6247><P
6248></P
6249></DIV
6250></DIV
6251><HR><DIV
6252CLASS="REFSECT2"
6253><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006254NAME="AEN5213"
Daniel Veillard35925471999-02-25 08:46:07 +00006255></A
6256><H3
6257><A
6258NAME="XMLFREENS"
6259></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006260>xmlFreeNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006261><TABLE
6262BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006263BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006264WIDTH="100%"
6265CELLPADDING="6"
6266><TR
6267><TD
6268><PRE
6269CLASS="PROGRAMLISTING"
6270>void xmlFreeNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006271HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006272>xmlNsPtr</A
6273> cur);</PRE
6274></TD
6275></TR
6276></TABLE
6277><P
6278>Free up the structures associated to a namespace</P
6279><P
6280></P
6281><DIV
6282CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006283><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006284NAME="AEN5220"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006285></P
6286><TABLE
6287BORDER="0"
6288WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006289BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006290CELLSPACING="0"
6291CELLPADDING="4"
6292CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006293><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006294><TR
6295><TD
6296WIDTH="20%"
6297ALIGN="RIGHT"
6298VALIGN="TOP"
6299><TT
6300CLASS="PARAMETER"
6301><I
6302>cur</I
6303></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006304>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006305><TD
6306WIDTH="80%"
6307ALIGN="LEFT"
6308VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006309> the namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006310></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006311></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006312></TABLE
6313><P
6314></P
6315></DIV
6316></DIV
6317><HR><DIV
6318CLASS="REFSECT2"
6319><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006320NAME="AEN5229"
Daniel Veillarda41123c2001-04-22 19:31:20 +00006321></A
6322><H3
6323><A
6324NAME="XMLFREENSLIST"
6325></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006326>xmlFreeNsList ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00006327><TABLE
6328BORDER="0"
6329BGCOLOR="#D6E8FF"
6330WIDTH="100%"
6331CELLPADDING="6"
6332><TR
6333><TD
6334><PRE
6335CLASS="PROGRAMLISTING"
6336>void xmlFreeNsList (<A
6337HREF="libxml-tree.html#XMLNSPTR"
6338>xmlNsPtr</A
6339> cur);</PRE
6340></TD
6341></TR
6342></TABLE
6343><P
6344>Free up all the structures associated to the chained namespaces.</P
6345><P
6346></P
6347><DIV
6348CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006349><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006350NAME="AEN5236"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00006351></P
6352><TABLE
6353BORDER="0"
6354WIDTH="100%"
6355BGCOLOR="#FFD0D0"
6356CELLSPACING="0"
6357CELLPADDING="4"
6358CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006359><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00006360><TR
6361><TD
6362WIDTH="20%"
6363ALIGN="RIGHT"
6364VALIGN="TOP"
6365><TT
6366CLASS="PARAMETER"
6367><I
6368>cur</I
6369></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006370>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00006371><TD
6372WIDTH="80%"
6373ALIGN="LEFT"
6374VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006375> the first namespace pointer</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00006376></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006377></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00006378></TABLE
6379><P
6380></P
6381></DIV
6382></DIV
6383><HR><DIV
6384CLASS="REFSECT2"
6385><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006386NAME="AEN5245"
Daniel Veillard35925471999-02-25 08:46:07 +00006387></A
6388><H3
6389><A
6390NAME="XMLNEWDOC"
6391></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006392>xmlNewDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006393><TABLE
6394BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006395BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006396WIDTH="100%"
6397CELLPADDING="6"
6398><TR
6399><TD
6400><PRE
6401CLASS="PROGRAMLISTING"
6402><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006403HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006404>xmlDocPtr</A
6405> xmlNewDoc (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006406HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006407>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006408> *version);</PRE
6409></TD
6410></TR
6411></TABLE
6412><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006413>Creates a new XML document</P
Daniel Veillard35925471999-02-25 08:46:07 +00006414><P
6415></P
6416><DIV
6417CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006418><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006419NAME="AEN5253"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006420></P
6421><TABLE
6422BORDER="0"
6423WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006424BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006425CELLSPACING="0"
6426CELLPADDING="4"
6427CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006428><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006429><TR
6430><TD
6431WIDTH="20%"
6432ALIGN="RIGHT"
6433VALIGN="TOP"
6434><TT
6435CLASS="PARAMETER"
6436><I
6437>version</I
6438></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006439>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006440><TD
6441WIDTH="80%"
6442ALIGN="LEFT"
6443VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006444> xmlChar string giving the version of XML "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006445></TR
6446><TR
6447><TD
6448WIDTH="20%"
6449ALIGN="RIGHT"
6450VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006451><SPAN
6452CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006453><I
6454CLASS="EMPHASIS"
6455>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006456></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006457> :</TD
6458><TD
6459WIDTH="80%"
6460ALIGN="LEFT"
6461VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006462>a new document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006463></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006464></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006465></TABLE
6466><P
6467></P
6468></DIV
6469></DIV
6470><HR><DIV
6471CLASS="REFSECT2"
6472><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006473NAME="AEN5266"
Daniel Veillard35925471999-02-25 08:46:07 +00006474></A
6475><H3
6476><A
6477NAME="XMLFREEDOC"
6478></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006479>xmlFreeDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006480><TABLE
6481BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006482BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006483WIDTH="100%"
6484CELLPADDING="6"
6485><TR
6486><TD
6487><PRE
6488CLASS="PROGRAMLISTING"
6489>void xmlFreeDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006490HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006491>xmlDocPtr</A
6492> cur);</PRE
6493></TD
6494></TR
6495></TABLE
6496><P
6497>Free up all the structures used by a document, tree included.</P
6498><P
6499></P
6500><DIV
6501CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006502><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006503NAME="AEN5273"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006504></P
6505><TABLE
6506BORDER="0"
6507WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006508BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006509CELLSPACING="0"
6510CELLPADDING="4"
6511CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006512><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006513><TR
6514><TD
6515WIDTH="20%"
6516ALIGN="RIGHT"
6517VALIGN="TOP"
6518><TT
6519CLASS="PARAMETER"
6520><I
6521>cur</I
6522></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006523>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006524><TD
6525WIDTH="80%"
6526ALIGN="LEFT"
6527VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006528> pointer to the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006529></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006530></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006531></TABLE
6532><P
6533></P
6534></DIV
6535></DIV
6536><HR><DIV
6537CLASS="REFSECT2"
6538><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006539NAME="AEN5282"
Daniel Veillard35925471999-02-25 08:46:07 +00006540></A
6541><H3
6542><A
6543NAME="XMLNEWDOCPROP"
6544></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006545>xmlNewDocProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006546><TABLE
6547BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006548BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006549WIDTH="100%"
6550CELLPADDING="6"
6551><TR
6552><TD
6553><PRE
6554CLASS="PROGRAMLISTING"
6555><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006556HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006557>xmlAttrPtr</A
6558> xmlNewDocProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006559HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006560>xmlDocPtr</A
6561> doc,
6562 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006563HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006564>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006565> *name,
6566 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006567HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006568>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006569> *value);</PRE
6570></TD
6571></TR
6572></TABLE
6573><P
6574>Create a new property carried by a document.</P
6575><P
6576></P
6577><DIV
6578CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006579><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006580NAME="AEN5292"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006581></P
6582><TABLE
6583BORDER="0"
6584WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006585BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006586CELLSPACING="0"
6587CELLPADDING="4"
6588CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006589><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006590><TR
6591><TD
6592WIDTH="20%"
6593ALIGN="RIGHT"
6594VALIGN="TOP"
6595><TT
6596CLASS="PARAMETER"
6597><I
6598>doc</I
6599></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006600>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006601><TD
6602WIDTH="80%"
6603ALIGN="LEFT"
6604VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006605> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006606></TR
6607><TR
6608><TD
6609WIDTH="20%"
6610ALIGN="RIGHT"
6611VALIGN="TOP"
6612><TT
6613CLASS="PARAMETER"
6614><I
6615>name</I
6616></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006617>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006618><TD
6619WIDTH="80%"
6620ALIGN="LEFT"
6621VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006622> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006623></TR
6624><TR
6625><TD
6626WIDTH="20%"
6627ALIGN="RIGHT"
6628VALIGN="TOP"
6629><TT
6630CLASS="PARAMETER"
6631><I
6632>value</I
6633></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006634>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006635><TD
6636WIDTH="80%"
6637ALIGN="LEFT"
6638VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006639> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006640></TR
6641><TR
6642><TD
6643WIDTH="20%"
6644ALIGN="RIGHT"
6645VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006646><SPAN
6647CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006648><I
6649CLASS="EMPHASIS"
6650>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006651></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006652> :</TD
6653><TD
6654WIDTH="80%"
6655ALIGN="LEFT"
6656VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006657>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006658></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006659></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006660></TABLE
6661><P
6662></P
6663></DIV
6664></DIV
6665><HR><DIV
6666CLASS="REFSECT2"
6667><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006668NAME="AEN5313"
Daniel Veillard35925471999-02-25 08:46:07 +00006669></A
6670><H3
6671><A
6672NAME="XMLNEWPROP"
6673></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006674>xmlNewProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006675><TABLE
6676BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006677BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006678WIDTH="100%"
6679CELLPADDING="6"
6680><TR
6681><TD
6682><PRE
6683CLASS="PROGRAMLISTING"
6684><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006685HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006686>xmlAttrPtr</A
6687> xmlNewProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006688HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006689>xmlNodePtr</A
6690> node,
6691 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006692HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006693>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006694> *name,
6695 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006696HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006697>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006698> *value);</PRE
6699></TD
6700></TR
6701></TABLE
6702><P
6703>Create a new property carried by a node.</P
6704><P
6705></P
6706><DIV
6707CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006708><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006709NAME="AEN5323"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006710></P
6711><TABLE
6712BORDER="0"
6713WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006714BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006715CELLSPACING="0"
6716CELLPADDING="4"
6717CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006718><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006719><TR
6720><TD
6721WIDTH="20%"
6722ALIGN="RIGHT"
6723VALIGN="TOP"
6724><TT
6725CLASS="PARAMETER"
6726><I
6727>node</I
6728></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006729>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006730><TD
6731WIDTH="80%"
6732ALIGN="LEFT"
6733VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006734> the holding node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006735></TR
6736><TR
6737><TD
6738WIDTH="20%"
6739ALIGN="RIGHT"
6740VALIGN="TOP"
6741><TT
6742CLASS="PARAMETER"
6743><I
6744>name</I
6745></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006746>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006747><TD
6748WIDTH="80%"
6749ALIGN="LEFT"
6750VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006751> the name of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006752></TR
6753><TR
6754><TD
6755WIDTH="20%"
6756ALIGN="RIGHT"
6757VALIGN="TOP"
6758><TT
6759CLASS="PARAMETER"
6760><I
6761>value</I
6762></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006763>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006764><TD
6765WIDTH="80%"
6766ALIGN="LEFT"
6767VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006768> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006769></TR
6770><TR
6771><TD
6772WIDTH="20%"
6773ALIGN="RIGHT"
6774VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006775><SPAN
6776CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006777><I
6778CLASS="EMPHASIS"
6779>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006780></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006781> :</TD
6782><TD
6783WIDTH="80%"
6784ALIGN="LEFT"
6785VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006786>a pointer to the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006787></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006788></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006789></TABLE
6790><P
6791></P
6792></DIV
6793></DIV
6794><HR><DIV
6795CLASS="REFSECT2"
6796><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006797NAME="AEN5344"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006798></A
6799><H3
6800><A
6801NAME="XMLNEWNSPROP"
6802></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006803>xmlNewNsProp ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006804><TABLE
6805BORDER="0"
6806BGCOLOR="#D6E8FF"
6807WIDTH="100%"
6808CELLPADDING="6"
6809><TR
6810><TD
6811><PRE
6812CLASS="PROGRAMLISTING"
6813><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006814HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006815>xmlAttrPtr</A
6816> xmlNewNsProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006817HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006818>xmlNodePtr</A
6819> node,
6820 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006821HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006822>xmlNsPtr</A
6823> ns,
6824 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006825HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006826>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006827> *name,
6828 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006829HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006830>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006831> *value);</PRE
6832></TD
6833></TR
6834></TABLE
6835><P
6836>Create a new property tagged with a namespace and carried by a node.</P
6837><P
6838></P
6839><DIV
6840CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006841><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006842NAME="AEN5355"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006843></P
6844><TABLE
6845BORDER="0"
6846WIDTH="100%"
6847BGCOLOR="#FFD0D0"
6848CELLSPACING="0"
6849CELLPADDING="4"
6850CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006851><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006852><TR
6853><TD
6854WIDTH="20%"
6855ALIGN="RIGHT"
6856VALIGN="TOP"
6857><TT
6858CLASS="PARAMETER"
6859><I
6860>node</I
6861></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006862>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006863><TD
6864WIDTH="80%"
6865ALIGN="LEFT"
6866VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006867> the holding node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006868></TR
6869><TR
6870><TD
6871WIDTH="20%"
6872ALIGN="RIGHT"
6873VALIGN="TOP"
6874><TT
6875CLASS="PARAMETER"
6876><I
6877>ns</I
6878></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006879>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006880><TD
6881WIDTH="80%"
6882ALIGN="LEFT"
6883VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006884> the namespace</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006885></TR
6886><TR
6887><TD
6888WIDTH="20%"
6889ALIGN="RIGHT"
6890VALIGN="TOP"
6891><TT
6892CLASS="PARAMETER"
6893><I
6894>name</I
6895></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006896>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006897><TD
6898WIDTH="80%"
6899ALIGN="LEFT"
6900VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006901> the name of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006902></TR
6903><TR
6904><TD
6905WIDTH="20%"
6906ALIGN="RIGHT"
6907VALIGN="TOP"
6908><TT
6909CLASS="PARAMETER"
6910><I
6911>value</I
6912></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006913>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006914><TD
6915WIDTH="80%"
6916ALIGN="LEFT"
6917VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006918> the value of the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006919></TR
6920><TR
6921><TD
6922WIDTH="20%"
6923ALIGN="RIGHT"
6924VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006925><SPAN
6926CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006927><I
6928CLASS="EMPHASIS"
6929>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006930></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006931> :</TD
6932><TD
6933WIDTH="80%"
6934ALIGN="LEFT"
6935VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00006936>a pointer to the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006937></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006938></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006939></TABLE
6940><P
6941></P
6942></DIV
6943></DIV
6944><HR><DIV
6945CLASS="REFSECT2"
6946><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006947NAME="AEN5380"
6948></A
6949><H3
6950><A
6951NAME="XMLNEWNSPROPEATNAME"
6952></A
6953>xmlNewNsPropEatName ()</H3
6954><TABLE
6955BORDER="0"
6956BGCOLOR="#D6E8FF"
6957WIDTH="100%"
6958CELLPADDING="6"
6959><TR
6960><TD
6961><PRE
6962CLASS="PROGRAMLISTING"
6963><A
6964HREF="libxml-tree.html#XMLATTRPTR"
6965>xmlAttrPtr</A
6966> xmlNewNsPropEatName (<A
6967HREF="libxml-tree.html#XMLNODEPTR"
6968>xmlNodePtr</A
6969> node,
6970 <A
6971HREF="libxml-tree.html#XMLNSPTR"
6972>xmlNsPtr</A
6973> ns,
6974 <A
6975HREF="libxml-tree.html#XMLCHAR"
6976>xmlChar</A
6977> *name,
6978 const <A
6979HREF="libxml-tree.html#XMLCHAR"
6980>xmlChar</A
6981> *value);</PRE
6982></TD
6983></TR
6984></TABLE
6985><P
6986>Create a new property tagged with a namespace and carried by a node.</P
6987><P
6988></P
6989><DIV
6990CLASS="INFORMALTABLE"
6991><A
6992NAME="AEN5391"><P
6993></P
6994><TABLE
6995BORDER="0"
6996WIDTH="100%"
6997BGCOLOR="#FFD0D0"
6998CELLSPACING="0"
6999CELLPADDING="4"
7000CLASS="CALSTABLE"
7001><TBODY
7002><TR
7003><TD
7004WIDTH="20%"
7005ALIGN="RIGHT"
7006VALIGN="TOP"
7007><TT
7008CLASS="PARAMETER"
7009><I
7010>node</I
7011></TT
7012>&nbsp;:</TD
7013><TD
7014WIDTH="80%"
7015ALIGN="LEFT"
7016VALIGN="TOP"
7017> the holding node</TD
7018></TR
7019><TR
7020><TD
7021WIDTH="20%"
7022ALIGN="RIGHT"
7023VALIGN="TOP"
7024><TT
7025CLASS="PARAMETER"
7026><I
7027>ns</I
7028></TT
7029>&nbsp;:</TD
7030><TD
7031WIDTH="80%"
7032ALIGN="LEFT"
7033VALIGN="TOP"
7034> the namespace</TD
7035></TR
7036><TR
7037><TD
7038WIDTH="20%"
7039ALIGN="RIGHT"
7040VALIGN="TOP"
7041><TT
7042CLASS="PARAMETER"
7043><I
7044>name</I
7045></TT
7046>&nbsp;:</TD
7047><TD
7048WIDTH="80%"
7049ALIGN="LEFT"
7050VALIGN="TOP"
7051> the name of the attribute</TD
7052></TR
7053><TR
7054><TD
7055WIDTH="20%"
7056ALIGN="RIGHT"
7057VALIGN="TOP"
7058><TT
7059CLASS="PARAMETER"
7060><I
7061>value</I
7062></TT
7063>&nbsp;:</TD
7064><TD
7065WIDTH="80%"
7066ALIGN="LEFT"
7067VALIGN="TOP"
7068> the value of the attribute</TD
7069></TR
7070><TR
7071><TD
7072WIDTH="20%"
7073ALIGN="RIGHT"
7074VALIGN="TOP"
7075><SPAN
7076CLASS="emphasis"
7077><I
7078CLASS="EMPHASIS"
7079>Returns</I
7080></SPAN
7081> :</TD
7082><TD
7083WIDTH="80%"
7084ALIGN="LEFT"
7085VALIGN="TOP"
7086>a pointer to the attribute</TD
7087></TR
7088></TBODY
7089></TABLE
7090><P
7091></P
7092></DIV
7093></DIV
7094><HR><DIV
7095CLASS="REFSECT2"
7096><A
7097NAME="AEN5416"
Daniel Veillard35925471999-02-25 08:46:07 +00007098></A
7099><H3
7100><A
7101NAME="XMLFREEPROPLIST"
7102></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007103>xmlFreePropList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007104><TABLE
7105BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007106BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007107WIDTH="100%"
7108CELLPADDING="6"
7109><TR
7110><TD
7111><PRE
7112CLASS="PROGRAMLISTING"
7113>void xmlFreePropList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007114HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007115>xmlAttrPtr</A
7116> cur);</PRE
7117></TD
7118></TR
7119></TABLE
7120><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007121>Free a property and all its siblings, all the children are freed too.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007122><P
7123></P
7124><DIV
7125CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007126><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007127NAME="AEN5423"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007128></P
7129><TABLE
7130BORDER="0"
7131WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007132BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007133CELLSPACING="0"
7134CELLPADDING="4"
7135CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007136><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007137><TR
7138><TD
7139WIDTH="20%"
7140ALIGN="RIGHT"
7141VALIGN="TOP"
7142><TT
7143CLASS="PARAMETER"
7144><I
7145>cur</I
7146></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007147>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007148><TD
7149WIDTH="80%"
7150ALIGN="LEFT"
7151VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007152> the first property in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007153></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007154></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007155></TABLE
7156><P
7157></P
7158></DIV
7159></DIV
7160><HR><DIV
7161CLASS="REFSECT2"
7162><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007163NAME="AEN5432"
Daniel Veillard35925471999-02-25 08:46:07 +00007164></A
7165><H3
7166><A
7167NAME="XMLFREEPROP"
7168></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007169>xmlFreeProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007170><TABLE
7171BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007172BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007173WIDTH="100%"
7174CELLPADDING="6"
7175><TR
7176><TD
7177><PRE
7178CLASS="PROGRAMLISTING"
7179>void xmlFreeProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007180HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007181>xmlAttrPtr</A
7182> cur);</PRE
7183></TD
7184></TR
7185></TABLE
7186><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00007187>Free one attribute, all the content is freed too</P
Daniel Veillard35925471999-02-25 08:46:07 +00007188><P
7189></P
7190><DIV
7191CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007192><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007193NAME="AEN5439"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007194></P
7195><TABLE
7196BORDER="0"
7197WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007198BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007199CELLSPACING="0"
7200CELLPADDING="4"
7201CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007202><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007203><TR
7204><TD
7205WIDTH="20%"
7206ALIGN="RIGHT"
7207VALIGN="TOP"
7208><TT
7209CLASS="PARAMETER"
7210><I
7211>cur</I
7212></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007213>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007214><TD
7215WIDTH="80%"
7216ALIGN="LEFT"
7217VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007218> an attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007219></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007220></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007221></TABLE
7222><P
7223></P
7224></DIV
7225></DIV
7226><HR><DIV
7227CLASS="REFSECT2"
7228><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007229NAME="AEN5448"
Daniel Veillard35925471999-02-25 08:46:07 +00007230></A
7231><H3
7232><A
7233NAME="XMLCOPYPROP"
7234></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007235>xmlCopyProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007236><TABLE
7237BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007238BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007239WIDTH="100%"
7240CELLPADDING="6"
7241><TR
7242><TD
7243><PRE
7244CLASS="PROGRAMLISTING"
7245><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007246HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007247>xmlAttrPtr</A
7248> xmlCopyProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007249HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007250>xmlNodePtr</A
7251> target,
7252 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007253HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007254>xmlAttrPtr</A
7255> cur);</PRE
7256></TD
7257></TR
7258></TABLE
7259><P
7260>Do a copy of the attribute.</P
7261><P
7262></P
7263><DIV
7264CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007265><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007266NAME="AEN5457"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007267></P
7268><TABLE
7269BORDER="0"
7270WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007271BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007272CELLSPACING="0"
7273CELLPADDING="4"
7274CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007275><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007276><TR
7277><TD
7278WIDTH="20%"
7279ALIGN="RIGHT"
7280VALIGN="TOP"
7281><TT
7282CLASS="PARAMETER"
7283><I
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007284>target</I
Daniel Veillard35925471999-02-25 08:46:07 +00007285></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007286>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007287><TD
7288WIDTH="80%"
7289ALIGN="LEFT"
7290VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007291> the element where the attribute will be grafted</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007292></TR
7293><TR
7294><TD
7295WIDTH="20%"
7296ALIGN="RIGHT"
7297VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00007298><TT
7299CLASS="PARAMETER"
7300><I
7301>cur</I
7302></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007303>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007304><TD
7305WIDTH="80%"
7306ALIGN="LEFT"
7307VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007308> the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007309></TR
7310><TR
7311><TD
7312WIDTH="20%"
7313ALIGN="RIGHT"
7314VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007315><SPAN
7316CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007317><I
7318CLASS="EMPHASIS"
7319>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007320></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007321> :</TD
7322><TD
7323WIDTH="80%"
7324ALIGN="LEFT"
7325VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007326> a new <A
7327HREF="libxml-tree.html#XMLATTRPTR"
7328>xmlAttrPtr</A
7329>, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007330></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007331></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007332></TABLE
7333><P
7334></P
7335></DIV
7336></DIV
7337><HR><DIV
7338CLASS="REFSECT2"
7339><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007340NAME="AEN5475"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007341></A
7342><H3
7343><A
7344NAME="XMLCOPYPROPLIST"
7345></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007346>xmlCopyPropList ()</H3
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007347><TABLE
7348BORDER="0"
7349BGCOLOR="#D6E8FF"
7350WIDTH="100%"
7351CELLPADDING="6"
7352><TR
7353><TD
7354><PRE
7355CLASS="PROGRAMLISTING"
7356><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007357HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007358>xmlAttrPtr</A
7359> xmlCopyPropList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007360HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007361>xmlNodePtr</A
7362> target,
7363 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007364HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007365>xmlAttrPtr</A
7366> cur);</PRE
7367></TD
7368></TR
7369></TABLE
7370><P
7371>Do a copy of an attribute list.</P
7372><P
7373></P
7374><DIV
7375CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007376><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007377NAME="AEN5484"><P
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007378></P
7379><TABLE
7380BORDER="0"
7381WIDTH="100%"
7382BGCOLOR="#FFD0D0"
7383CELLSPACING="0"
7384CELLPADDING="4"
7385CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007386><TBODY
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007387><TR
7388><TD
7389WIDTH="20%"
7390ALIGN="RIGHT"
7391VALIGN="TOP"
7392><TT
7393CLASS="PARAMETER"
7394><I
7395>target</I
7396></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007397>&nbsp;:</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007398><TD
7399WIDTH="80%"
7400ALIGN="LEFT"
7401VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007402> the element where the attributes will be grafted</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007403></TR
7404><TR
7405><TD
7406WIDTH="20%"
7407ALIGN="RIGHT"
7408VALIGN="TOP"
7409><TT
7410CLASS="PARAMETER"
7411><I
7412>cur</I
7413></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007414>&nbsp;:</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007415><TD
7416WIDTH="80%"
7417ALIGN="LEFT"
7418VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007419> the first attribute</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007420></TR
7421><TR
7422><TD
7423WIDTH="20%"
7424ALIGN="RIGHT"
7425VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007426><SPAN
7427CLASS="emphasis"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007428><I
7429CLASS="EMPHASIS"
7430>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007431></SPAN
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007432> :</TD
7433><TD
7434WIDTH="80%"
7435ALIGN="LEFT"
7436VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007437> a new <A
7438HREF="libxml-tree.html#XMLATTRPTR"
7439>xmlAttrPtr</A
7440>, or NULL in case of error.</TD
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007441></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007442></TBODY
Daniel Veillardd2d38e91999-08-30 11:42:36 +00007443></TABLE
7444><P
7445></P
7446></DIV
7447></DIV
7448><HR><DIV
7449CLASS="REFSECT2"
7450><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007451NAME="AEN5502"
Daniel Veillard35925471999-02-25 08:46:07 +00007452></A
7453><H3
7454><A
7455NAME="XMLCOPYDTD"
7456></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007457>xmlCopyDtd ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007458><TABLE
7459BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007460BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007461WIDTH="100%"
7462CELLPADDING="6"
7463><TR
7464><TD
7465><PRE
7466CLASS="PROGRAMLISTING"
7467><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007468HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007469>xmlDtdPtr</A
7470> xmlCopyDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007471HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007472>xmlDtdPtr</A
7473> dtd);</PRE
7474></TD
7475></TR
7476></TABLE
7477><P
7478>Do a copy of the dtd.</P
7479><P
7480></P
7481><DIV
7482CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007483><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007484NAME="AEN5510"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007485></P
7486><TABLE
7487BORDER="0"
7488WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007489BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007490CELLSPACING="0"
7491CELLPADDING="4"
7492CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007493><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007494><TR
7495><TD
7496WIDTH="20%"
7497ALIGN="RIGHT"
7498VALIGN="TOP"
7499><TT
7500CLASS="PARAMETER"
7501><I
7502>dtd</I
7503></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007504>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007505><TD
7506WIDTH="80%"
7507ALIGN="LEFT"
7508VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007509> the dtd</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007510></TR
7511><TR
7512><TD
7513WIDTH="20%"
7514ALIGN="RIGHT"
7515VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007516><SPAN
7517CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007518><I
7519CLASS="EMPHASIS"
7520>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007521></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007522> :</TD
7523><TD
7524WIDTH="80%"
7525ALIGN="LEFT"
7526VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007527> a new <A
7528HREF="libxml-tree.html#XMLDTDPTR"
7529>xmlDtdPtr</A
7530>, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007531></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007532></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007533></TABLE
7534><P
7535></P
7536></DIV
7537></DIV
7538><HR><DIV
7539CLASS="REFSECT2"
7540><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007541NAME="AEN5524"
Daniel Veillard35925471999-02-25 08:46:07 +00007542></A
7543><H3
7544><A
7545NAME="XMLCOPYDOC"
7546></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007547>xmlCopyDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007548><TABLE
7549BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007550BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007551WIDTH="100%"
7552CELLPADDING="6"
7553><TR
7554><TD
7555><PRE
7556CLASS="PROGRAMLISTING"
7557><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007558HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007559>xmlDocPtr</A
7560> xmlCopyDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007561HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007562>xmlDocPtr</A
7563> doc,
7564 int recursive);</PRE
7565></TD
7566></TR
7567></TABLE
7568><P
7569>Do a copy of the document info. If recursive, the content tree will
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007570be copied too as well as DTD, namespaces and entities.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007571><P
7572></P
7573><DIV
7574CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007575><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007576NAME="AEN5532"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007577></P
7578><TABLE
7579BORDER="0"
7580WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007581BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007582CELLSPACING="0"
7583CELLPADDING="4"
7584CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007585><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007586><TR
7587><TD
7588WIDTH="20%"
7589ALIGN="RIGHT"
7590VALIGN="TOP"
7591><TT
7592CLASS="PARAMETER"
7593><I
7594>doc</I
7595></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007596>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007597><TD
7598WIDTH="80%"
7599ALIGN="LEFT"
7600VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007601> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007602></TR
7603><TR
7604><TD
7605WIDTH="20%"
7606ALIGN="RIGHT"
7607VALIGN="TOP"
7608><TT
7609CLASS="PARAMETER"
7610><I
7611>recursive</I
7612></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007613>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007614><TD
7615WIDTH="80%"
7616ALIGN="LEFT"
7617VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007618> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007619></TR
7620><TR
7621><TD
7622WIDTH="20%"
7623ALIGN="RIGHT"
7624VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007625><SPAN
7626CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007627><I
7628CLASS="EMPHASIS"
7629>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007630></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007631> :</TD
7632><TD
7633WIDTH="80%"
7634ALIGN="LEFT"
7635VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007636> a new <A
7637HREF="libxml-tree.html#XMLDOCPTR"
7638>xmlDocPtr</A
7639>, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007640></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007641></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007642></TABLE
7643><P
7644></P
7645></DIV
7646></DIV
7647><HR><DIV
7648CLASS="REFSECT2"
7649><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007650NAME="AEN5550"
Daniel Veillard35925471999-02-25 08:46:07 +00007651></A
7652><H3
7653><A
7654NAME="XMLNEWDOCNODE"
7655></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007656>xmlNewDocNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007657><TABLE
7658BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007659BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007660WIDTH="100%"
7661CELLPADDING="6"
7662><TR
7663><TD
7664><PRE
7665CLASS="PROGRAMLISTING"
7666><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007667HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007668>xmlNodePtr</A
7669> xmlNewDocNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007670HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007671>xmlDocPtr</A
7672> doc,
7673 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007674HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007675>xmlNsPtr</A
7676> ns,
7677 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007678HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007679>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007680> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00007681 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007682HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007683>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007684> *content);</PRE
7685></TD
7686></TR
7687></TABLE
7688><P
7689>Creation of a new node element within a document. <TT
7690CLASS="PARAMETER"
7691><I
7692>ns</I
7693></TT
7694> and <TT
7695CLASS="PARAMETER"
7696><I
7697>content</I
7698></TT
7699>
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007700are optional (NULL).
Daniel Veillardf3a73582000-01-05 14:58:39 +00007701NOTE: <TT
7702CLASS="PARAMETER"
7703><I
7704>content</I
7705></TT
7706> is supposed to be a piece of XML CDATA, so it allow entities
Daniel Veillardaf43f632002-03-08 15:05:20 +00007707references, but XML special chars need to be escaped first by using
7708<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007709HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007710>xmlEncodeEntitiesReentrant</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007711>(). Use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007712HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007713>xmlNewDocRawNode</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007714>() if you don't
Daniel Veillardaf43f632002-03-08 15:05:20 +00007715need entities support.</P
Daniel Veillardf3a73582000-01-05 14:58:39 +00007716><P
7717></P
7718><DIV
7719CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007720><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007721NAME="AEN5566"><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00007722></P
7723><TABLE
7724BORDER="0"
7725WIDTH="100%"
7726BGCOLOR="#FFD0D0"
7727CELLSPACING="0"
7728CELLPADDING="4"
7729CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007730><TBODY
Daniel Veillardf3a73582000-01-05 14:58:39 +00007731><TR
7732><TD
7733WIDTH="20%"
7734ALIGN="RIGHT"
7735VALIGN="TOP"
7736><TT
7737CLASS="PARAMETER"
7738><I
7739>doc</I
7740></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007741>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007742><TD
7743WIDTH="80%"
7744ALIGN="LEFT"
7745VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007746> the document</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007747></TR
7748><TR
7749><TD
7750WIDTH="20%"
7751ALIGN="RIGHT"
7752VALIGN="TOP"
7753><TT
7754CLASS="PARAMETER"
7755><I
7756>ns</I
7757></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007758>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007759><TD
7760WIDTH="80%"
7761ALIGN="LEFT"
7762VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007763> namespace if any</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007764></TR
7765><TR
7766><TD
7767WIDTH="20%"
7768ALIGN="RIGHT"
7769VALIGN="TOP"
7770><TT
7771CLASS="PARAMETER"
7772><I
7773>name</I
7774></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007775>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007776><TD
7777WIDTH="80%"
7778ALIGN="LEFT"
7779VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007780> the node name</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007781></TR
7782><TR
7783><TD
7784WIDTH="20%"
7785ALIGN="RIGHT"
7786VALIGN="TOP"
7787><TT
7788CLASS="PARAMETER"
7789><I
7790>content</I
7791></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007792>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007793><TD
7794WIDTH="80%"
7795ALIGN="LEFT"
7796VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007797> the XML text content if any</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007798></TR
7799><TR
7800><TD
7801WIDTH="20%"
7802ALIGN="RIGHT"
7803VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007804><SPAN
7805CLASS="emphasis"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007806><I
7807CLASS="EMPHASIS"
7808>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007809></SPAN
Daniel Veillardf3a73582000-01-05 14:58:39 +00007810> :</TD
7811><TD
7812WIDTH="80%"
7813ALIGN="LEFT"
7814VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007815>a pointer to the new node object.</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00007816></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007817></TBODY
Daniel Veillardf3a73582000-01-05 14:58:39 +00007818></TABLE
7819><P
7820></P
7821></DIV
7822></DIV
7823><HR><DIV
7824CLASS="REFSECT2"
7825><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007826NAME="AEN5591"
7827></A
7828><H3
7829><A
7830NAME="XMLNEWDOCNODEEATNAME"
7831></A
7832>xmlNewDocNodeEatName ()</H3
7833><TABLE
7834BORDER="0"
7835BGCOLOR="#D6E8FF"
7836WIDTH="100%"
7837CELLPADDING="6"
7838><TR
7839><TD
7840><PRE
7841CLASS="PROGRAMLISTING"
7842><A
7843HREF="libxml-tree.html#XMLNODEPTR"
7844>xmlNodePtr</A
7845> xmlNewDocNodeEatName (<A
7846HREF="libxml-tree.html#XMLDOCPTR"
7847>xmlDocPtr</A
7848> doc,
7849 <A
7850HREF="libxml-tree.html#XMLNSPTR"
7851>xmlNsPtr</A
7852> ns,
7853 <A
7854HREF="libxml-tree.html#XMLCHAR"
7855>xmlChar</A
7856> *name,
7857 const <A
7858HREF="libxml-tree.html#XMLCHAR"
7859>xmlChar</A
7860> *content);</PRE
7861></TD
7862></TR
7863></TABLE
7864><P
7865>Creation of a new node element within a document. <TT
7866CLASS="PARAMETER"
7867><I
7868>ns</I
7869></TT
7870> and <TT
7871CLASS="PARAMETER"
7872><I
7873>content</I
7874></TT
7875>
7876are optional (NULL).
7877NOTE: <TT
7878CLASS="PARAMETER"
7879><I
7880>content</I
7881></TT
7882> is supposed to be a piece of XML CDATA, so it allow entities
7883references, but XML special chars need to be escaped first by using
7884<A
7885HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
7886>xmlEncodeEntitiesReentrant</A
7887>(). Use <A
7888HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
7889>xmlNewDocRawNode</A
7890>() if you don't
7891need entities support.</P
7892><P
7893></P
7894><DIV
7895CLASS="INFORMALTABLE"
7896><A
7897NAME="AEN5607"><P
7898></P
7899><TABLE
7900BORDER="0"
7901WIDTH="100%"
7902BGCOLOR="#FFD0D0"
7903CELLSPACING="0"
7904CELLPADDING="4"
7905CLASS="CALSTABLE"
7906><TBODY
7907><TR
7908><TD
7909WIDTH="20%"
7910ALIGN="RIGHT"
7911VALIGN="TOP"
7912><TT
7913CLASS="PARAMETER"
7914><I
7915>doc</I
7916></TT
7917>&nbsp;:</TD
7918><TD
7919WIDTH="80%"
7920ALIGN="LEFT"
7921VALIGN="TOP"
7922> the document</TD
7923></TR
7924><TR
7925><TD
7926WIDTH="20%"
7927ALIGN="RIGHT"
7928VALIGN="TOP"
7929><TT
7930CLASS="PARAMETER"
7931><I
7932>ns</I
7933></TT
7934>&nbsp;:</TD
7935><TD
7936WIDTH="80%"
7937ALIGN="LEFT"
7938VALIGN="TOP"
7939> namespace if any</TD
7940></TR
7941><TR
7942><TD
7943WIDTH="20%"
7944ALIGN="RIGHT"
7945VALIGN="TOP"
7946><TT
7947CLASS="PARAMETER"
7948><I
7949>name</I
7950></TT
7951>&nbsp;:</TD
7952><TD
7953WIDTH="80%"
7954ALIGN="LEFT"
7955VALIGN="TOP"
7956> the node name</TD
7957></TR
7958><TR
7959><TD
7960WIDTH="20%"
7961ALIGN="RIGHT"
7962VALIGN="TOP"
7963><TT
7964CLASS="PARAMETER"
7965><I
7966>content</I
7967></TT
7968>&nbsp;:</TD
7969><TD
7970WIDTH="80%"
7971ALIGN="LEFT"
7972VALIGN="TOP"
7973> the XML text content if any</TD
7974></TR
7975><TR
7976><TD
7977WIDTH="20%"
7978ALIGN="RIGHT"
7979VALIGN="TOP"
7980><SPAN
7981CLASS="emphasis"
7982><I
7983CLASS="EMPHASIS"
7984>Returns</I
7985></SPAN
7986> :</TD
7987><TD
7988WIDTH="80%"
7989ALIGN="LEFT"
7990VALIGN="TOP"
7991>a pointer to the new node object.</TD
7992></TR
7993></TBODY
7994></TABLE
7995><P
7996></P
7997></DIV
7998></DIV
7999><HR><DIV
8000CLASS="REFSECT2"
8001><A
8002NAME="AEN5632"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008003></A
8004><H3
8005><A
8006NAME="XMLNEWDOCRAWNODE"
8007></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008008>xmlNewDocRawNode ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008009><TABLE
8010BORDER="0"
8011BGCOLOR="#D6E8FF"
8012WIDTH="100%"
8013CELLPADDING="6"
8014><TR
8015><TD
8016><PRE
8017CLASS="PROGRAMLISTING"
8018><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008019HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008020>xmlNodePtr</A
8021> xmlNewDocRawNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008022HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008023>xmlDocPtr</A
8024> doc,
8025 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008026HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008027>xmlNsPtr</A
8028> ns,
8029 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008030HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008031>xmlChar</A
8032> *name,
8033 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008034HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008035>xmlChar</A
8036> *content);</PRE
8037></TD
8038></TR
8039></TABLE
8040><P
8041>Creation of a new node element within a document. <TT
8042CLASS="PARAMETER"
8043><I
8044>ns</I
8045></TT
8046> and <TT
8047CLASS="PARAMETER"
8048><I
8049>content</I
8050></TT
8051>
Daniel Veillardcbaf3992001-12-31 16:16:02 +00008052are optional (NULL).</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008053><P
8054></P
8055><DIV
8056CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008057><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008058NAME="AEN5645"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008059></P
8060><TABLE
8061BORDER="0"
8062WIDTH="100%"
8063BGCOLOR="#FFD0D0"
8064CELLSPACING="0"
8065CELLPADDING="4"
8066CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008067><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008068><TR
8069><TD
8070WIDTH="20%"
8071ALIGN="RIGHT"
8072VALIGN="TOP"
8073><TT
8074CLASS="PARAMETER"
8075><I
8076>doc</I
8077></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008078>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008079><TD
8080WIDTH="80%"
8081ALIGN="LEFT"
8082VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008083> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008084></TR
8085><TR
8086><TD
8087WIDTH="20%"
8088ALIGN="RIGHT"
8089VALIGN="TOP"
8090><TT
8091CLASS="PARAMETER"
8092><I
8093>ns</I
8094></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008095>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008096><TD
8097WIDTH="80%"
8098ALIGN="LEFT"
8099VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008100> namespace if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008101></TR
8102><TR
8103><TD
8104WIDTH="20%"
8105ALIGN="RIGHT"
8106VALIGN="TOP"
8107><TT
8108CLASS="PARAMETER"
8109><I
8110>name</I
8111></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008112>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008113><TD
8114WIDTH="80%"
8115ALIGN="LEFT"
8116VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008117> the node name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008118></TR
8119><TR
8120><TD
8121WIDTH="20%"
8122ALIGN="RIGHT"
8123VALIGN="TOP"
8124><TT
8125CLASS="PARAMETER"
8126><I
8127>content</I
8128></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008129>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008130><TD
8131WIDTH="80%"
8132ALIGN="LEFT"
8133VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008134> the text content if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008135></TR
8136><TR
8137><TD
8138WIDTH="20%"
8139ALIGN="RIGHT"
8140VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008141><SPAN
8142CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008143><I
8144CLASS="EMPHASIS"
8145>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008146></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008147> :</TD
8148><TD
8149WIDTH="80%"
8150ALIGN="LEFT"
8151VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008152>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008153></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008154></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008155></TABLE
8156><P
8157></P
8158></DIV
8159></DIV
8160><HR><DIV
8161CLASS="REFSECT2"
8162><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008163NAME="AEN5670"
Daniel Veillard35925471999-02-25 08:46:07 +00008164></A
8165><H3
8166><A
8167NAME="XMLNEWNODE"
8168></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008169>xmlNewNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008170><TABLE
8171BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008172BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008173WIDTH="100%"
8174CELLPADDING="6"
8175><TR
8176><TD
8177><PRE
8178CLASS="PROGRAMLISTING"
8179><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008180HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008181>xmlNodePtr</A
8182> xmlNewNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008183HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008184>xmlNsPtr</A
8185> ns,
8186 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008187HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008188>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008189> *name);</PRE
8190></TD
8191></TR
8192></TABLE
8193><P
8194>Creation of a new node element. <TT
8195CLASS="PARAMETER"
8196><I
8197>ns</I
8198></TT
Daniel Veillardcbaf3992001-12-31 16:16:02 +00008199> is optional (NULL).</P
Daniel Veillard35925471999-02-25 08:46:07 +00008200><P
8201></P
8202><DIV
8203CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008204><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008205NAME="AEN5680"><P
Daniel Veillard35925471999-02-25 08:46:07 +00008206></P
8207><TABLE
8208BORDER="0"
8209WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008210BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008211CELLSPACING="0"
8212CELLPADDING="4"
8213CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008214><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008215><TR
8216><TD
8217WIDTH="20%"
8218ALIGN="RIGHT"
8219VALIGN="TOP"
8220><TT
8221CLASS="PARAMETER"
8222><I
8223>ns</I
8224></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008225>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008226><TD
8227WIDTH="80%"
8228ALIGN="LEFT"
8229VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008230> namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008231></TR
8232><TR
8233><TD
8234WIDTH="20%"
8235ALIGN="RIGHT"
8236VALIGN="TOP"
8237><TT
8238CLASS="PARAMETER"
8239><I
8240>name</I
8241></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008242>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008243><TD
8244WIDTH="80%"
8245ALIGN="LEFT"
8246VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008247> the node name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008248></TR
8249><TR
8250><TD
8251WIDTH="20%"
8252ALIGN="RIGHT"
8253VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008254><SPAN
8255CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00008256><I
8257CLASS="EMPHASIS"
8258>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008259></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00008260> :</TD
8261><TD
8262WIDTH="80%"
8263ALIGN="LEFT"
8264VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008265>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008266></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008267></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008268></TABLE
8269><P
8270></P
8271></DIV
8272></DIV
8273><HR><DIV
8274CLASS="REFSECT2"
8275><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008276NAME="AEN5697"
8277></A
8278><H3
8279><A
8280NAME="XMLNEWNODEEATNAME"
8281></A
8282>xmlNewNodeEatName ()</H3
8283><TABLE
8284BORDER="0"
8285BGCOLOR="#D6E8FF"
8286WIDTH="100%"
8287CELLPADDING="6"
8288><TR
8289><TD
8290><PRE
8291CLASS="PROGRAMLISTING"
8292><A
8293HREF="libxml-tree.html#XMLNODEPTR"
8294>xmlNodePtr</A
8295> xmlNewNodeEatName (<A
8296HREF="libxml-tree.html#XMLNSPTR"
8297>xmlNsPtr</A
8298> ns,
8299 <A
8300HREF="libxml-tree.html#XMLCHAR"
8301>xmlChar</A
8302> *name);</PRE
8303></TD
8304></TR
8305></TABLE
8306><P
8307>Creation of a new node element. <TT
8308CLASS="PARAMETER"
8309><I
8310>ns</I
8311></TT
8312> is optional (NULL).</P
8313><P
8314></P
8315><DIV
8316CLASS="INFORMALTABLE"
8317><A
8318NAME="AEN5707"><P
8319></P
8320><TABLE
8321BORDER="0"
8322WIDTH="100%"
8323BGCOLOR="#FFD0D0"
8324CELLSPACING="0"
8325CELLPADDING="4"
8326CLASS="CALSTABLE"
8327><TBODY
8328><TR
8329><TD
8330WIDTH="20%"
8331ALIGN="RIGHT"
8332VALIGN="TOP"
8333><TT
8334CLASS="PARAMETER"
8335><I
8336>ns</I
8337></TT
8338>&nbsp;:</TD
8339><TD
8340WIDTH="80%"
8341ALIGN="LEFT"
8342VALIGN="TOP"
8343> namespace if any</TD
8344></TR
8345><TR
8346><TD
8347WIDTH="20%"
8348ALIGN="RIGHT"
8349VALIGN="TOP"
8350><TT
8351CLASS="PARAMETER"
8352><I
8353>name</I
8354></TT
8355>&nbsp;:</TD
8356><TD
8357WIDTH="80%"
8358ALIGN="LEFT"
8359VALIGN="TOP"
8360> the node name</TD
8361></TR
8362><TR
8363><TD
8364WIDTH="20%"
8365ALIGN="RIGHT"
8366VALIGN="TOP"
8367><SPAN
8368CLASS="emphasis"
8369><I
8370CLASS="EMPHASIS"
8371>Returns</I
8372></SPAN
8373> :</TD
8374><TD
8375WIDTH="80%"
8376ALIGN="LEFT"
8377VALIGN="TOP"
8378>a pointer to the new node object.</TD
8379></TR
8380></TBODY
8381></TABLE
8382><P
8383></P
8384></DIV
8385></DIV
8386><HR><DIV
8387CLASS="REFSECT2"
8388><A
8389NAME="AEN5724"
Daniel Veillard35925471999-02-25 08:46:07 +00008390></A
8391><H3
8392><A
8393NAME="XMLNEWCHILD"
8394></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008395>xmlNewChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008396><TABLE
8397BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008398BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008399WIDTH="100%"
8400CELLPADDING="6"
8401><TR
8402><TD
8403><PRE
8404CLASS="PROGRAMLISTING"
8405><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008406HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008407>xmlNodePtr</A
8408> xmlNewChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008409HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008410>xmlNodePtr</A
8411> parent,
8412 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008413HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008414>xmlNsPtr</A
8415> ns,
8416 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008417HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008418>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008419> *name,
Daniel Veillarde2d034d1999-07-27 19:52:06 +00008420 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008421HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008422>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008423> *content);</PRE
8424></TD
8425></TR
8426></TABLE
8427><P
8428>Creation of a new child element, added at the end of <TT
8429CLASS="PARAMETER"
8430><I
8431>parent</I
8432></TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008433> children list.
Daniel Veillard35925471999-02-25 08:46:07 +00008434<TT
8435CLASS="PARAMETER"
8436><I
8437>ns</I
8438></TT
8439> and <TT
8440CLASS="PARAMETER"
8441><I
8442>content</I
8443></TT
Daniel Veillardcbaf3992001-12-31 16:16:02 +00008444> parameters are optional (NULL). If content is non NULL,
Daniel Veillardf3a73582000-01-05 14:58:39 +00008445a child list containing the TEXTs and ENTITY_REFs node will be created.
8446NOTE: <TT
8447CLASS="PARAMETER"
8448><I
8449>content</I
8450></TT
8451> is supposed to be a piece of XML CDATA, so it allow entities
Daniel Veillardaf43f632002-03-08 15:05:20 +00008452references, but XML special chars need to be escaped first by using
8453<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008454HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillardf3a73582000-01-05 14:58:39 +00008455>xmlEncodeEntitiesReentrant</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008456>(). Use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008457HREF="libxml-tree.html#XMLNEWTEXTCHILD"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008458>xmlNewTextChild</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00008459>() if entities
Daniel Veillardaf43f632002-03-08 15:05:20 +00008460support is not needed.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008461><P
8462></P
8463><DIV
8464CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008465><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008466NAME="AEN5741"><P
Daniel Veillard35925471999-02-25 08:46:07 +00008467></P
8468><TABLE
8469BORDER="0"
8470WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008471BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008472CELLSPACING="0"
8473CELLPADDING="4"
8474CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008475><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008476><TR
8477><TD
8478WIDTH="20%"
8479ALIGN="RIGHT"
8480VALIGN="TOP"
8481><TT
8482CLASS="PARAMETER"
8483><I
8484>parent</I
8485></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008486>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008487><TD
8488WIDTH="80%"
8489ALIGN="LEFT"
8490VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008491> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008492></TR
8493><TR
8494><TD
8495WIDTH="20%"
8496ALIGN="RIGHT"
8497VALIGN="TOP"
8498><TT
8499CLASS="PARAMETER"
8500><I
8501>ns</I
8502></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008503>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008504><TD
8505WIDTH="80%"
8506ALIGN="LEFT"
8507VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008508> a namespace if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008509></TR
8510><TR
8511><TD
8512WIDTH="20%"
8513ALIGN="RIGHT"
8514VALIGN="TOP"
8515><TT
8516CLASS="PARAMETER"
8517><I
8518>name</I
8519></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008520>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008521><TD
8522WIDTH="80%"
8523ALIGN="LEFT"
8524VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008525> the name of the child</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008526></TR
8527><TR
8528><TD
8529WIDTH="20%"
8530ALIGN="RIGHT"
8531VALIGN="TOP"
8532><TT
8533CLASS="PARAMETER"
8534><I
8535>content</I
8536></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008537>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008538><TD
8539WIDTH="80%"
8540ALIGN="LEFT"
8541VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008542> the XML content of the child if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008543></TR
8544><TR
8545><TD
8546WIDTH="20%"
8547ALIGN="RIGHT"
8548VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008549><SPAN
8550CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00008551><I
8552CLASS="EMPHASIS"
8553>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008554></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00008555> :</TD
8556><TD
8557WIDTH="80%"
8558ALIGN="LEFT"
8559VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008560>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008561></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008562></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008563></TABLE
8564><P
8565></P
8566></DIV
8567></DIV
8568><HR><DIV
8569CLASS="REFSECT2"
8570><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008571NAME="AEN5766"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008572></A
8573><H3
8574><A
8575NAME="XMLNEWTEXTCHILD"
8576></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008577>xmlNewTextChild ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008578><TABLE
8579BORDER="0"
8580BGCOLOR="#D6E8FF"
8581WIDTH="100%"
8582CELLPADDING="6"
8583><TR
8584><TD
8585><PRE
8586CLASS="PROGRAMLISTING"
8587><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008588HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008589>xmlNodePtr</A
8590> xmlNewTextChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008591HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008592>xmlNodePtr</A
8593> parent,
8594 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008595HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008596>xmlNsPtr</A
8597> ns,
8598 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008599HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008600>xmlChar</A
8601> *name,
8602 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008603HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008604>xmlChar</A
8605> *content);</PRE
8606></TD
8607></TR
8608></TABLE
8609><P
8610>Creation of a new child element, added at the end of <TT
8611CLASS="PARAMETER"
8612><I
8613>parent</I
8614></TT
8615> children list.
8616<TT
8617CLASS="PARAMETER"
8618><I
8619>ns</I
8620></TT
8621> and <TT
8622CLASS="PARAMETER"
8623><I
8624>content</I
8625></TT
Daniel Veillardcbaf3992001-12-31 16:16:02 +00008626> parameters are optional (NULL). If content is non NULL,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008627a child TEXT node will be created containing the string content.</P
8628><P
8629></P
8630><DIV
8631CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008632><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008633NAME="AEN5780"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008634></P
8635><TABLE
8636BORDER="0"
8637WIDTH="100%"
8638BGCOLOR="#FFD0D0"
8639CELLSPACING="0"
8640CELLPADDING="4"
8641CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008642><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008643><TR
8644><TD
8645WIDTH="20%"
8646ALIGN="RIGHT"
8647VALIGN="TOP"
8648><TT
8649CLASS="PARAMETER"
8650><I
8651>parent</I
8652></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008653>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008654><TD
8655WIDTH="80%"
8656ALIGN="LEFT"
8657VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008658> the parent node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008659></TR
8660><TR
8661><TD
8662WIDTH="20%"
8663ALIGN="RIGHT"
8664VALIGN="TOP"
8665><TT
8666CLASS="PARAMETER"
8667><I
8668>ns</I
8669></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008670>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008671><TD
8672WIDTH="80%"
8673ALIGN="LEFT"
8674VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008675> a namespace if any</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008676></TR
8677><TR
8678><TD
8679WIDTH="20%"
8680ALIGN="RIGHT"
8681VALIGN="TOP"
8682><TT
8683CLASS="PARAMETER"
8684><I
8685>name</I
8686></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008687>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008688><TD
8689WIDTH="80%"
8690ALIGN="LEFT"
8691VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008692> the name of the child</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008693></TR
8694><TR
8695><TD
8696WIDTH="20%"
8697ALIGN="RIGHT"
8698VALIGN="TOP"
8699><TT
8700CLASS="PARAMETER"
8701><I
8702>content</I
8703></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008704>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008705><TD
8706WIDTH="80%"
8707ALIGN="LEFT"
8708VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008709> the text content of the child if any.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008710></TR
8711><TR
8712><TD
8713WIDTH="20%"
8714ALIGN="RIGHT"
8715VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008716><SPAN
8717CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008718><I
8719CLASS="EMPHASIS"
8720>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008721></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008722> :</TD
8723><TD
8724WIDTH="80%"
8725ALIGN="LEFT"
8726VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008727>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008728></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008729></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008730></TABLE
8731><P
8732></P
8733></DIV
8734></DIV
8735><HR><DIV
8736CLASS="REFSECT2"
8737><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008738NAME="AEN5805"
Daniel Veillard35925471999-02-25 08:46:07 +00008739></A
8740><H3
8741><A
8742NAME="XMLNEWDOCTEXT"
8743></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008744>xmlNewDocText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008745><TABLE
8746BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008747BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008748WIDTH="100%"
8749CELLPADDING="6"
8750><TR
8751><TD
8752><PRE
8753CLASS="PROGRAMLISTING"
8754><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008755HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008756>xmlNodePtr</A
8757> xmlNewDocText (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008758HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008759>xmlDocPtr</A
8760> doc,
8761 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008762HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008763>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008764> *content);</PRE
8765></TD
8766></TR
8767></TABLE
8768><P
8769>Creation of a new text node within a document.</P
8770><P
8771></P
8772><DIV
8773CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008774><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008775NAME="AEN5814"><P
Daniel Veillard35925471999-02-25 08:46:07 +00008776></P
8777><TABLE
8778BORDER="0"
8779WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008780BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008781CELLSPACING="0"
8782CELLPADDING="4"
8783CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008784><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008785><TR
8786><TD
8787WIDTH="20%"
8788ALIGN="RIGHT"
8789VALIGN="TOP"
8790><TT
8791CLASS="PARAMETER"
8792><I
8793>doc</I
8794></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008795>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008796><TD
8797WIDTH="80%"
8798ALIGN="LEFT"
8799VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008800> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008801></TR
8802><TR
8803><TD
8804WIDTH="20%"
8805ALIGN="RIGHT"
8806VALIGN="TOP"
8807><TT
8808CLASS="PARAMETER"
8809><I
8810>content</I
8811></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008812>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008813><TD
8814WIDTH="80%"
8815ALIGN="LEFT"
8816VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008817> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008818></TR
8819><TR
8820><TD
8821WIDTH="20%"
8822ALIGN="RIGHT"
8823VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008824><SPAN
8825CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00008826><I
8827CLASS="EMPHASIS"
8828>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008829></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00008830> :</TD
8831><TD
8832WIDTH="80%"
8833ALIGN="LEFT"
8834VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008835>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008836></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008837></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008838></TABLE
8839><P
8840></P
8841></DIV
8842></DIV
8843><HR><DIV
8844CLASS="REFSECT2"
8845><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008846NAME="AEN5831"
Daniel Veillard35925471999-02-25 08:46:07 +00008847></A
8848><H3
8849><A
8850NAME="XMLNEWTEXT"
8851></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008852>xmlNewText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008853><TABLE
8854BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008855BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008856WIDTH="100%"
8857CELLPADDING="6"
8858><TR
8859><TD
8860><PRE
8861CLASS="PROGRAMLISTING"
8862><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008863HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008864>xmlNodePtr</A
8865> xmlNewText (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008866HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008867>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00008868> *content);</PRE
8869></TD
8870></TR
8871></TABLE
8872><P
8873>Creation of a new text node.</P
8874><P
8875></P
8876><DIV
8877CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008878><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008879NAME="AEN5839"><P
Daniel Veillard35925471999-02-25 08:46:07 +00008880></P
8881><TABLE
8882BORDER="0"
8883WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008884BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008885CELLSPACING="0"
8886CELLPADDING="4"
8887CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008888><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008889><TR
8890><TD
8891WIDTH="20%"
8892ALIGN="RIGHT"
8893VALIGN="TOP"
8894><TT
8895CLASS="PARAMETER"
8896><I
8897>content</I
8898></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008899>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008900><TD
8901WIDTH="80%"
8902ALIGN="LEFT"
8903VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008904> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008905></TR
8906><TR
8907><TD
8908WIDTH="20%"
8909ALIGN="RIGHT"
8910VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008911><SPAN
8912CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00008913><I
8914CLASS="EMPHASIS"
8915>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008916></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00008917> :</TD
8918><TD
8919WIDTH="80%"
8920ALIGN="LEFT"
8921VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008922>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008923></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008924></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008925></TABLE
8926><P
8927></P
8928></DIV
8929></DIV
8930><HR><DIV
8931CLASS="REFSECT2"
8932><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008933NAME="AEN5852"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008934></A
8935><H3
8936><A
8937NAME="XMLNEWPI"
8938></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008939>xmlNewPI ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008940><TABLE
8941BORDER="0"
8942BGCOLOR="#D6E8FF"
8943WIDTH="100%"
8944CELLPADDING="6"
8945><TR
8946><TD
8947><PRE
8948CLASS="PROGRAMLISTING"
8949><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008950HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008951>xmlNodePtr</A
8952> xmlNewPI (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008953HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008954>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008955> *name,
8956 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008957HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008958>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008959> *content);</PRE
8960></TD
8961></TR
8962></TABLE
8963><P
8964>Creation of a processing instruction element.</P
8965><P
8966></P
8967><DIV
8968CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008969><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008970NAME="AEN5861"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008971></P
8972><TABLE
8973BORDER="0"
8974WIDTH="100%"
8975BGCOLOR="#FFD0D0"
8976CELLSPACING="0"
8977CELLPADDING="4"
8978CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008979><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008980><TR
8981><TD
8982WIDTH="20%"
8983ALIGN="RIGHT"
8984VALIGN="TOP"
8985><TT
8986CLASS="PARAMETER"
8987><I
8988>name</I
8989></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008990>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008991><TD
8992WIDTH="80%"
8993ALIGN="LEFT"
8994VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008995> the processing instruction name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008996></TR
8997><TR
8998><TD
8999WIDTH="20%"
9000ALIGN="RIGHT"
9001VALIGN="TOP"
9002><TT
9003CLASS="PARAMETER"
9004><I
9005>content</I
9006></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009007>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009008><TD
9009WIDTH="80%"
9010ALIGN="LEFT"
9011VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009012> the PI content</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009013></TR
9014><TR
9015><TD
9016WIDTH="20%"
9017ALIGN="RIGHT"
9018VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009019><SPAN
9020CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009021><I
9022CLASS="EMPHASIS"
9023>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009024></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009025> :</TD
9026><TD
9027WIDTH="80%"
9028ALIGN="LEFT"
9029VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009030>a pointer to the new node object.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009031></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009032></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009033></TABLE
9034><P
9035></P
9036></DIV
9037></DIV
9038><HR><DIV
9039CLASS="REFSECT2"
9040><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009041NAME="AEN5878"
Daniel Veillard35925471999-02-25 08:46:07 +00009042></A
9043><H3
9044><A
9045NAME="XMLNEWDOCTEXTLEN"
9046></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009047>xmlNewDocTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009048><TABLE
9049BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009050BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009051WIDTH="100%"
9052CELLPADDING="6"
9053><TR
9054><TD
9055><PRE
9056CLASS="PROGRAMLISTING"
9057><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009058HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009059>xmlNodePtr</A
9060> xmlNewDocTextLen (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009061HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009062>xmlDocPtr</A
9063> doc,
9064 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009065HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009066>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009067> *content,
9068 int len);</PRE
9069></TD
9070></TR
9071></TABLE
9072><P
Daniel Veillard60087f32001-10-10 09:45:09 +00009073>Creation of a new text node with an extra content length parameter. The
Daniel Veillard35925471999-02-25 08:46:07 +00009074text node pertain to a given document.</P
9075><P
9076></P
9077><DIV
9078CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009079><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009080NAME="AEN5887"><P
Daniel Veillard35925471999-02-25 08:46:07 +00009081></P
9082><TABLE
9083BORDER="0"
9084WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009085BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009086CELLSPACING="0"
9087CELLPADDING="4"
9088CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009089><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009090><TR
9091><TD
9092WIDTH="20%"
9093ALIGN="RIGHT"
9094VALIGN="TOP"
9095><TT
9096CLASS="PARAMETER"
9097><I
9098>doc</I
9099></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009100>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009101><TD
9102WIDTH="80%"
9103ALIGN="LEFT"
9104VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009105> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009106></TR
9107><TR
9108><TD
9109WIDTH="20%"
9110ALIGN="RIGHT"
9111VALIGN="TOP"
9112><TT
9113CLASS="PARAMETER"
9114><I
9115>content</I
9116></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009117>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009118><TD
9119WIDTH="80%"
9120ALIGN="LEFT"
9121VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009122> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009123></TR
9124><TR
9125><TD
9126WIDTH="20%"
9127ALIGN="RIGHT"
9128VALIGN="TOP"
9129><TT
9130CLASS="PARAMETER"
9131><I
9132>len</I
9133></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009134>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009135><TD
9136WIDTH="80%"
9137ALIGN="LEFT"
9138VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009139> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009140></TR
9141><TR
9142><TD
9143WIDTH="20%"
9144ALIGN="RIGHT"
9145VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009146><SPAN
9147CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00009148><I
9149CLASS="EMPHASIS"
9150>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009151></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00009152> :</TD
9153><TD
9154WIDTH="80%"
9155ALIGN="LEFT"
9156VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009157>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009158></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009159></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009160></TABLE
9161><P
9162></P
9163></DIV
9164></DIV
9165><HR><DIV
9166CLASS="REFSECT2"
9167><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009168NAME="AEN5908"
Daniel Veillard35925471999-02-25 08:46:07 +00009169></A
9170><H3
9171><A
9172NAME="XMLNEWTEXTLEN"
9173></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009174>xmlNewTextLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009175><TABLE
9176BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009177BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009178WIDTH="100%"
9179CELLPADDING="6"
9180><TR
9181><TD
9182><PRE
9183CLASS="PROGRAMLISTING"
9184><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009185HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009186>xmlNodePtr</A
9187> xmlNewTextLen (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009188HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009189>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009190> *content,
9191 int len);</PRE
9192></TD
9193></TR
9194></TABLE
9195><P
Daniel Veillard60087f32001-10-10 09:45:09 +00009196>Creation of a new text node with an extra parameter for the content's length</P
Daniel Veillard35925471999-02-25 08:46:07 +00009197><P
9198></P
9199><DIV
9200CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009201><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009202NAME="AEN5916"><P
Daniel Veillard35925471999-02-25 08:46:07 +00009203></P
9204><TABLE
9205BORDER="0"
9206WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009207BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009208CELLSPACING="0"
9209CELLPADDING="4"
9210CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009211><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009212><TR
9213><TD
9214WIDTH="20%"
9215ALIGN="RIGHT"
9216VALIGN="TOP"
9217><TT
9218CLASS="PARAMETER"
9219><I
9220>content</I
9221></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009222>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009223><TD
9224WIDTH="80%"
9225ALIGN="LEFT"
9226VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009227> the text content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009228></TR
9229><TR
9230><TD
9231WIDTH="20%"
9232ALIGN="RIGHT"
9233VALIGN="TOP"
9234><TT
9235CLASS="PARAMETER"
9236><I
9237>len</I
9238></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009239>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009240><TD
9241WIDTH="80%"
9242ALIGN="LEFT"
9243VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009244> the text len.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009245></TR
9246><TR
9247><TD
9248WIDTH="20%"
9249ALIGN="RIGHT"
9250VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009251><SPAN
9252CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00009253><I
9254CLASS="EMPHASIS"
9255>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009256></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00009257> :</TD
9258><TD
9259WIDTH="80%"
9260ALIGN="LEFT"
9261VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009262>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009263></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009264></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009265></TABLE
9266><P
9267></P
9268></DIV
9269></DIV
9270><HR><DIV
9271CLASS="REFSECT2"
9272><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009273NAME="AEN5933"
Daniel Veillard35925471999-02-25 08:46:07 +00009274></A
9275><H3
9276><A
9277NAME="XMLNEWDOCCOMMENT"
9278></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009279>xmlNewDocComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009280><TABLE
9281BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009282BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009283WIDTH="100%"
9284CELLPADDING="6"
9285><TR
9286><TD
9287><PRE
9288CLASS="PROGRAMLISTING"
9289><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009290HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009291>xmlNodePtr</A
9292> xmlNewDocComment (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009293HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009294>xmlDocPtr</A
9295> doc,
Daniel Veillard5099ae81999-04-21 20:12:07 +00009296 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009297HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009298>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009299> *content);</PRE
9300></TD
9301></TR
9302></TABLE
9303><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00009304>Creation of a new node containing a comment within a document.</P
Daniel Veillard35925471999-02-25 08:46:07 +00009305><P
9306></P
9307><DIV
9308CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009309><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009310NAME="AEN5942"><P
Daniel Veillard35925471999-02-25 08:46:07 +00009311></P
9312><TABLE
9313BORDER="0"
9314WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009315BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009316CELLSPACING="0"
9317CELLPADDING="4"
9318CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009319><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009320><TR
9321><TD
9322WIDTH="20%"
9323ALIGN="RIGHT"
9324VALIGN="TOP"
9325><TT
9326CLASS="PARAMETER"
9327><I
9328>doc</I
9329></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009330>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009331><TD
9332WIDTH="80%"
9333ALIGN="LEFT"
9334VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009335> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009336></TR
9337><TR
9338><TD
9339WIDTH="20%"
9340ALIGN="RIGHT"
9341VALIGN="TOP"
9342><TT
9343CLASS="PARAMETER"
9344><I
9345>content</I
9346></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009347>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009348><TD
9349WIDTH="80%"
9350ALIGN="LEFT"
9351VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009352> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009353></TR
9354><TR
9355><TD
9356WIDTH="20%"
9357ALIGN="RIGHT"
9358VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009359><SPAN
9360CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00009361><I
9362CLASS="EMPHASIS"
9363>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009364></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00009365> :</TD
9366><TD
9367WIDTH="80%"
9368ALIGN="LEFT"
9369VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009370>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009371></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009372></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009373></TABLE
9374><P
9375></P
9376></DIV
9377></DIV
9378><HR><DIV
9379CLASS="REFSECT2"
9380><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009381NAME="AEN5959"
Daniel Veillard35925471999-02-25 08:46:07 +00009382></A
9383><H3
9384><A
9385NAME="XMLNEWCOMMENT"
9386></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009387>xmlNewComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009388><TABLE
9389BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009390BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009391WIDTH="100%"
9392CELLPADDING="6"
9393><TR
9394><TD
9395><PRE
9396CLASS="PROGRAMLISTING"
9397><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009398HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009399>xmlNodePtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00009400> xmlNewComment (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009401HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009402>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009403> *content);</PRE
9404></TD
9405></TR
9406></TABLE
9407><P
9408>Creation of a new node containing a comment.</P
9409><P
9410></P
9411><DIV
9412CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009413><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009414NAME="AEN5967"><P
Daniel Veillard35925471999-02-25 08:46:07 +00009415></P
9416><TABLE
9417BORDER="0"
9418WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009419BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009420CELLSPACING="0"
9421CELLPADDING="4"
9422CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009423><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009424><TR
9425><TD
9426WIDTH="20%"
9427ALIGN="RIGHT"
9428VALIGN="TOP"
9429><TT
9430CLASS="PARAMETER"
9431><I
9432>content</I
9433></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009434>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009435><TD
9436WIDTH="80%"
9437ALIGN="LEFT"
9438VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009439> the comment content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009440></TR
9441><TR
9442><TD
9443WIDTH="20%"
9444ALIGN="RIGHT"
9445VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009446><SPAN
9447CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00009448><I
9449CLASS="EMPHASIS"
9450>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009451></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00009452> :</TD
9453><TD
9454WIDTH="80%"
9455ALIGN="LEFT"
9456VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009457>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009458></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009459></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009460></TABLE
9461><P
9462></P
9463></DIV
9464></DIV
9465><HR><DIV
9466CLASS="REFSECT2"
9467><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009468NAME="AEN5980"
Daniel Veillardb05deb71999-08-10 19:04:08 +00009469></A
9470><H3
9471><A
9472NAME="XMLNEWCDATABLOCK"
9473></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009474>xmlNewCDataBlock ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00009475><TABLE
9476BORDER="0"
9477BGCOLOR="#D6E8FF"
9478WIDTH="100%"
9479CELLPADDING="6"
9480><TR
9481><TD
9482><PRE
9483CLASS="PROGRAMLISTING"
9484><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009485HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00009486>xmlNodePtr</A
9487> xmlNewCDataBlock (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009488HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00009489>xmlDocPtr</A
9490> doc,
9491 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009492HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009493>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00009494> *content,
9495 int len);</PRE
9496></TD
9497></TR
9498></TABLE
9499><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00009500>Creation of a new node containing a CDATA block.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00009501><P
9502></P
9503><DIV
9504CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009505><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009506NAME="AEN5989"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00009507></P
9508><TABLE
9509BORDER="0"
9510WIDTH="100%"
9511BGCOLOR="#FFD0D0"
9512CELLSPACING="0"
9513CELLPADDING="4"
9514CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009515><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00009516><TR
9517><TD
9518WIDTH="20%"
9519ALIGN="RIGHT"
9520VALIGN="TOP"
9521><TT
9522CLASS="PARAMETER"
9523><I
9524>doc</I
9525></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009526>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009527><TD
9528WIDTH="80%"
9529ALIGN="LEFT"
9530VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009531> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009532></TR
9533><TR
9534><TD
9535WIDTH="20%"
9536ALIGN="RIGHT"
9537VALIGN="TOP"
9538><TT
9539CLASS="PARAMETER"
9540><I
9541>content</I
9542></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009543>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009544><TD
9545WIDTH="80%"
9546ALIGN="LEFT"
9547VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00009548> the CDATA block content content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009549></TR
9550><TR
9551><TD
9552WIDTH="20%"
9553ALIGN="RIGHT"
9554VALIGN="TOP"
9555><TT
9556CLASS="PARAMETER"
9557><I
9558>len</I
9559></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009560>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009561><TD
9562WIDTH="80%"
9563ALIGN="LEFT"
9564VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009565> the length of the block</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009566></TR
9567><TR
9568><TD
9569WIDTH="20%"
9570ALIGN="RIGHT"
9571VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009572><SPAN
9573CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00009574><I
9575CLASS="EMPHASIS"
9576>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009577></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00009578> :</TD
9579><TD
9580WIDTH="80%"
9581ALIGN="LEFT"
9582VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009583>a pointer to the new node object.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009584></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009585></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00009586></TABLE
9587><P
9588></P
9589></DIV
9590></DIV
9591><HR><DIV
9592CLASS="REFSECT2"
9593><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009594NAME="AEN6010"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009595></A
9596><H3
9597><A
9598NAME="XMLNEWCHARREF"
9599></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009600>xmlNewCharRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009601><TABLE
9602BORDER="0"
9603BGCOLOR="#D6E8FF"
9604WIDTH="100%"
9605CELLPADDING="6"
9606><TR
9607><TD
9608><PRE
9609CLASS="PROGRAMLISTING"
9610><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009611HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009612>xmlNodePtr</A
9613> xmlNewCharRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009614HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009615>xmlDocPtr</A
9616> doc,
9617 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009618HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009619>xmlChar</A
9620> *name);</PRE
9621></TD
9622></TR
9623></TABLE
9624><P
9625>Creation of a new character reference node.</P
9626><P
9627></P
9628><DIV
9629CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009630><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009631NAME="AEN6019"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009632></P
9633><TABLE
9634BORDER="0"
9635WIDTH="100%"
9636BGCOLOR="#FFD0D0"
9637CELLSPACING="0"
9638CELLPADDING="4"
9639CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009640><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009641><TR
9642><TD
9643WIDTH="20%"
9644ALIGN="RIGHT"
9645VALIGN="TOP"
9646><TT
9647CLASS="PARAMETER"
9648><I
9649>doc</I
9650></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009651>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009652><TD
9653WIDTH="80%"
9654ALIGN="LEFT"
9655VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009656> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009657></TR
9658><TR
9659><TD
9660WIDTH="20%"
9661ALIGN="RIGHT"
9662VALIGN="TOP"
9663><TT
9664CLASS="PARAMETER"
9665><I
9666>name</I
9667></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009668>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009669><TD
9670WIDTH="80%"
9671ALIGN="LEFT"
9672VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009673> the char ref string, starting with # or "&amp;# ... ;"</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009674></TR
9675><TR
9676><TD
9677WIDTH="20%"
9678ALIGN="RIGHT"
9679VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009680><SPAN
9681CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009682><I
9683CLASS="EMPHASIS"
9684>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009685></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009686> :</TD
9687><TD
9688WIDTH="80%"
9689ALIGN="LEFT"
9690VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009691>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009692></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009693></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009694></TABLE
9695><P
9696></P
9697></DIV
9698></DIV
9699><HR><DIV
9700CLASS="REFSECT2"
9701><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009702NAME="AEN6036"
Daniel Veillard35925471999-02-25 08:46:07 +00009703></A
9704><H3
9705><A
9706NAME="XMLNEWREFERENCE"
9707></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009708>xmlNewReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009709><TABLE
9710BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009711BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009712WIDTH="100%"
9713CELLPADDING="6"
9714><TR
9715><TD
9716><PRE
9717CLASS="PROGRAMLISTING"
9718><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009719HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009720>xmlNodePtr</A
9721> xmlNewReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009722HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009723>xmlDocPtr</A
9724> doc,
9725 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009726HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009727>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009728> *name);</PRE
9729></TD
9730></TR
9731></TABLE
9732><P
9733>Creation of a new reference node.</P
9734><P
9735></P
9736><DIV
9737CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009738><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009739NAME="AEN6045"><P
Daniel Veillard35925471999-02-25 08:46:07 +00009740></P
9741><TABLE
9742BORDER="0"
9743WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009744BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009745CELLSPACING="0"
9746CELLPADDING="4"
9747CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009748><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009749><TR
9750><TD
9751WIDTH="20%"
9752ALIGN="RIGHT"
9753VALIGN="TOP"
9754><TT
9755CLASS="PARAMETER"
9756><I
9757>doc</I
9758></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009759>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009760><TD
9761WIDTH="80%"
9762ALIGN="LEFT"
9763VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009764> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009765></TR
9766><TR
9767><TD
9768WIDTH="20%"
9769ALIGN="RIGHT"
9770VALIGN="TOP"
9771><TT
9772CLASS="PARAMETER"
9773><I
9774>name</I
9775></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009776>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009777><TD
9778WIDTH="80%"
9779ALIGN="LEFT"
9780VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009781> the reference name, or the reference string with &amp; and ;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009782></TR
9783><TR
9784><TD
9785WIDTH="20%"
9786ALIGN="RIGHT"
9787VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009788><SPAN
9789CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00009790><I
9791CLASS="EMPHASIS"
9792>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009793></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00009794> :</TD
9795><TD
9796WIDTH="80%"
9797ALIGN="LEFT"
9798VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009799>a pointer to the new node object.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009800></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009801></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009802></TABLE
9803><P
9804></P
9805></DIV
9806></DIV
9807><HR><DIV
9808CLASS="REFSECT2"
9809><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009810NAME="AEN6062"
Daniel Veillard35925471999-02-25 08:46:07 +00009811></A
9812><H3
9813><A
9814NAME="XMLCOPYNODE"
9815></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009816>xmlCopyNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009817><TABLE
9818BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009819BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009820WIDTH="100%"
9821CELLPADDING="6"
9822><TR
9823><TD
9824><PRE
9825CLASS="PROGRAMLISTING"
9826><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009827HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009828>xmlNodePtr</A
Daniel Veillard04382ae2001-09-12 18:51:30 +00009829> xmlCopyNode (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009830HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009831>xmlNodePtr</A
9832> node,
9833 int recursive);</PRE
9834></TD
9835></TR
9836></TABLE
9837><P
9838>Do a copy of the node.</P
9839><P
9840></P
9841><DIV
9842CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009843><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009844NAME="AEN6070"><P
Daniel Veillard35925471999-02-25 08:46:07 +00009845></P
9846><TABLE
9847BORDER="0"
9848WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009849BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009850CELLSPACING="0"
9851CELLPADDING="4"
9852CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009853><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009854><TR
9855><TD
9856WIDTH="20%"
9857ALIGN="RIGHT"
9858VALIGN="TOP"
9859><TT
9860CLASS="PARAMETER"
9861><I
9862>node</I
9863></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009864>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009865><TD
9866WIDTH="80%"
9867ALIGN="LEFT"
9868VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009869> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009870></TR
9871><TR
9872><TD
9873WIDTH="20%"
9874ALIGN="RIGHT"
9875VALIGN="TOP"
9876><TT
9877CLASS="PARAMETER"
9878><I
9879>recursive</I
9880></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009881>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009882><TD
9883WIDTH="80%"
9884ALIGN="LEFT"
9885VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009886> if 1 do a recursive copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009887></TR
9888><TR
9889><TD
9890WIDTH="20%"
9891ALIGN="RIGHT"
9892VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009893><SPAN
9894CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00009895><I
9896CLASS="EMPHASIS"
9897>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009898></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00009899> :</TD
9900><TD
9901WIDTH="80%"
9902ALIGN="LEFT"
9903VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00009904> a new <A
9905HREF="libxml-tree.html#XMLNODEPTR"
9906>xmlNodePtr</A
9907>, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009908></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009909></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009910></TABLE
9911><P
9912></P
9913></DIV
9914></DIV
9915><HR><DIV
9916CLASS="REFSECT2"
9917><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009918NAME="AEN6088"
Daniel Veillarda41123c2001-04-22 19:31:20 +00009919></A
9920><H3
9921><A
9922NAME="XMLDOCCOPYNODE"
9923></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009924>xmlDocCopyNode ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00009925><TABLE
9926BORDER="0"
9927BGCOLOR="#D6E8FF"
9928WIDTH="100%"
9929CELLPADDING="6"
9930><TR
9931><TD
9932><PRE
9933CLASS="PROGRAMLISTING"
9934><A
9935HREF="libxml-tree.html#XMLNODEPTR"
9936>xmlNodePtr</A
Daniel Veillardfc57b412002-04-29 15:50:14 +00009937> xmlDocCopyNode (const <A
Daniel Veillarda41123c2001-04-22 19:31:20 +00009938HREF="libxml-tree.html#XMLNODEPTR"
9939>xmlNodePtr</A
9940> node,
9941 <A
9942HREF="libxml-tree.html#XMLDOCPTR"
9943>xmlDocPtr</A
9944> doc,
9945 int recursive);</PRE
9946></TD
9947></TR
9948></TABLE
9949><P
9950>Do a copy of the node to a given document.</P
9951><P
9952></P
9953><DIV
9954CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009955><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009956NAME="AEN6097"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00009957></P
9958><TABLE
9959BORDER="0"
9960WIDTH="100%"
9961BGCOLOR="#FFD0D0"
9962CELLSPACING="0"
9963CELLPADDING="4"
9964CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009965><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00009966><TR
9967><TD
9968WIDTH="20%"
9969ALIGN="RIGHT"
9970VALIGN="TOP"
9971><TT
9972CLASS="PARAMETER"
9973><I
9974>node</I
9975></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009976>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00009977><TD
9978WIDTH="80%"
9979ALIGN="LEFT"
9980VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009981> the node</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00009982></TR
9983><TR
9984><TD
9985WIDTH="20%"
9986ALIGN="RIGHT"
9987VALIGN="TOP"
9988><TT
9989CLASS="PARAMETER"
9990><I
9991>doc</I
9992></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009993>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00009994><TD
9995WIDTH="80%"
9996ALIGN="LEFT"
9997VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00009998> the document</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00009999></TR
10000><TR
10001><TD
10002WIDTH="20%"
10003ALIGN="RIGHT"
10004VALIGN="TOP"
10005><TT
10006CLASS="PARAMETER"
10007><I
10008>recursive</I
10009></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010010>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010011><TD
10012WIDTH="80%"
10013ALIGN="LEFT"
10014VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010015> if 1 do a recursive copy.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010016></TR
10017><TR
10018><TD
10019WIDTH="20%"
10020ALIGN="RIGHT"
10021VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010022><SPAN
10023CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010024><I
10025CLASS="EMPHASIS"
10026>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010027></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +000010028> :</TD
10029><TD
10030WIDTH="80%"
10031ALIGN="LEFT"
10032VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010033> a new <A
10034HREF="libxml-tree.html#XMLNODEPTR"
10035>xmlNodePtr</A
10036>, or NULL in case of error.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010037></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010038></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000010039></TABLE
10040><P
10041></P
10042></DIV
10043></DIV
10044><HR><DIV
10045CLASS="REFSECT2"
10046><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010047NAME="AEN6119"
Daniel Veillard35925471999-02-25 08:46:07 +000010048></A
10049><H3
10050><A
10051NAME="XMLCOPYNODELIST"
10052></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010053>xmlCopyNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010054><TABLE
10055BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010056BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010057WIDTH="100%"
10058CELLPADDING="6"
10059><TR
10060><TD
10061><PRE
10062CLASS="PROGRAMLISTING"
10063><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010064HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010065>xmlNodePtr</A
Daniel Veillardfc57b412002-04-29 15:50:14 +000010066> xmlCopyNodeList (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010067HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010068>xmlNodePtr</A
10069> node);</PRE
10070></TD
10071></TR
10072></TABLE
10073><P
10074>Do a recursive copy of the node list.</P
10075><P
10076></P
10077><DIV
10078CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010079><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010080NAME="AEN6127"><P
Daniel Veillard35925471999-02-25 08:46:07 +000010081></P
10082><TABLE
10083BORDER="0"
10084WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010085BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010086CELLSPACING="0"
10087CELLPADDING="4"
10088CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010089><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010090><TR
10091><TD
10092WIDTH="20%"
10093ALIGN="RIGHT"
10094VALIGN="TOP"
10095><TT
10096CLASS="PARAMETER"
10097><I
10098>node</I
10099></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010100>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010101><TD
10102WIDTH="80%"
10103ALIGN="LEFT"
10104VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010105> the first node in the list.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010106></TR
10107><TR
10108><TD
10109WIDTH="20%"
10110ALIGN="RIGHT"
10111VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010112><SPAN
10113CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000010114><I
10115CLASS="EMPHASIS"
10116>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010117></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000010118> :</TD
10119><TD
10120WIDTH="80%"
10121ALIGN="LEFT"
10122VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010123> a new <A
10124HREF="libxml-tree.html#XMLNODEPTR"
10125>xmlNodePtr</A
10126>, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010127></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010128></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010129></TABLE
10130><P
10131></P
10132></DIV
10133></DIV
10134><HR><DIV
10135CLASS="REFSECT2"
10136><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010137NAME="AEN6141"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010138></A
10139><H3
10140><A
10141NAME="XMLNEWDOCFRAGMENT"
10142></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010143>xmlNewDocFragment ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010144><TABLE
10145BORDER="0"
10146BGCOLOR="#D6E8FF"
10147WIDTH="100%"
10148CELLPADDING="6"
10149><TR
10150><TD
10151><PRE
10152CLASS="PROGRAMLISTING"
10153><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010154HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010155>xmlNodePtr</A
10156> xmlNewDocFragment (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010157HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010158>xmlDocPtr</A
10159> doc);</PRE
10160></TD
10161></TR
10162></TABLE
10163><P
10164>Creation of a new Fragment node.</P
10165><P
10166></P
10167><DIV
10168CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010169><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010170NAME="AEN6149"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010171></P
10172><TABLE
10173BORDER="0"
10174WIDTH="100%"
10175BGCOLOR="#FFD0D0"
10176CELLSPACING="0"
10177CELLPADDING="4"
10178CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010179><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010180><TR
10181><TD
10182WIDTH="20%"
10183ALIGN="RIGHT"
10184VALIGN="TOP"
10185><TT
10186CLASS="PARAMETER"
10187><I
10188>doc</I
10189></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010190>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010191><TD
10192WIDTH="80%"
10193ALIGN="LEFT"
10194VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010195> the document owning the fragment</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010196></TR
10197><TR
10198><TD
10199WIDTH="20%"
10200ALIGN="RIGHT"
10201VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010202><SPAN
10203CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010204><I
10205CLASS="EMPHASIS"
10206>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010207></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010208> :</TD
10209><TD
10210WIDTH="80%"
10211ALIGN="LEFT"
10212VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010213>a pointer to the new node object.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010214></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010215></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010216></TABLE
10217><P
10218></P
10219></DIV
10220></DIV
10221><HR><DIV
10222CLASS="REFSECT2"
10223><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010224NAME="AEN6162"
Daniel Veillardef90ba72001-12-07 14:24:22 +000010225></A
10226><H3
10227><A
10228NAME="XMLGETLINENO"
10229></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010230>xmlGetLineNo ()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +000010231><TABLE
10232BORDER="0"
10233BGCOLOR="#D6E8FF"
10234WIDTH="100%"
10235CELLPADDING="6"
10236><TR
10237><TD
10238><PRE
10239CLASS="PROGRAMLISTING"
10240><GTKDOCLINK
10241HREF="LONG"
10242>long</GTKDOCLINK
10243> xmlGetLineNo (<A
10244HREF="libxml-tree.html#XMLNODEPTR"
10245>xmlNodePtr</A
10246> node);</PRE
10247></TD
10248></TR
10249></TABLE
10250><P
10251>Get line number of node. this requires activation of this option
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010252before invoking the parser by calling xmlLineNumbersDefault(1)</P
Daniel Veillardef90ba72001-12-07 14:24:22 +000010253><P
10254></P
10255><DIV
10256CLASS="INFORMALTABLE"
10257><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010258NAME="AEN6170"><P
Daniel Veillardef90ba72001-12-07 14:24:22 +000010259></P
10260><TABLE
10261BORDER="0"
10262WIDTH="100%"
10263BGCOLOR="#FFD0D0"
10264CELLSPACING="0"
10265CELLPADDING="4"
10266CLASS="CALSTABLE"
10267><TBODY
10268><TR
10269><TD
10270WIDTH="20%"
10271ALIGN="RIGHT"
10272VALIGN="TOP"
10273><TT
10274CLASS="PARAMETER"
10275><I
10276>node</I
10277></TT
10278>&nbsp;:</TD
10279><TD
10280WIDTH="80%"
10281ALIGN="LEFT"
10282VALIGN="TOP"
10283> valid node</TD
10284></TR
10285><TR
10286><TD
10287WIDTH="20%"
10288ALIGN="RIGHT"
10289VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010290><SPAN
10291CLASS="emphasis"
Daniel Veillardef90ba72001-12-07 14:24:22 +000010292><I
10293CLASS="EMPHASIS"
10294>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010295></SPAN
Daniel Veillardef90ba72001-12-07 14:24:22 +000010296> :</TD
10297><TD
10298WIDTH="80%"
10299ALIGN="LEFT"
10300VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010301>the line number if successful, -1 otherwise</TD
Daniel Veillardef90ba72001-12-07 14:24:22 +000010302></TR
10303></TBODY
10304></TABLE
10305><P
10306></P
10307></DIV
10308></DIV
10309><HR><DIV
10310CLASS="REFSECT2"
10311><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010312NAME="AEN6183"
Daniel Veillardef90ba72001-12-07 14:24:22 +000010313></A
10314><H3
10315><A
10316NAME="XMLGETNODEPATH"
10317></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010318>xmlGetNodePath ()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +000010319><TABLE
10320BORDER="0"
10321BGCOLOR="#D6E8FF"
10322WIDTH="100%"
10323CELLPADDING="6"
10324><TR
10325><TD
10326><PRE
10327CLASS="PROGRAMLISTING"
10328><A
10329HREF="libxml-tree.html#XMLCHAR"
10330>xmlChar</A
10331>* xmlGetNodePath (<A
10332HREF="libxml-tree.html#XMLNODEPTR"
10333>xmlNodePtr</A
10334> node);</PRE
10335></TD
10336></TR
10337></TABLE
10338><P
10339>Build a structure based Path for the given node</P
10340><P
10341></P
10342><DIV
10343CLASS="INFORMALTABLE"
10344><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010345NAME="AEN6191"><P
Daniel Veillardef90ba72001-12-07 14:24:22 +000010346></P
10347><TABLE
10348BORDER="0"
10349WIDTH="100%"
10350BGCOLOR="#FFD0D0"
10351CELLSPACING="0"
10352CELLPADDING="4"
10353CLASS="CALSTABLE"
10354><TBODY
10355><TR
10356><TD
10357WIDTH="20%"
10358ALIGN="RIGHT"
10359VALIGN="TOP"
10360><TT
10361CLASS="PARAMETER"
10362><I
10363>node</I
10364></TT
10365>&nbsp;:</TD
10366><TD
10367WIDTH="80%"
10368ALIGN="LEFT"
10369VALIGN="TOP"
10370> a node</TD
10371></TR
10372><TR
10373><TD
10374WIDTH="20%"
10375ALIGN="RIGHT"
10376VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010377><SPAN
10378CLASS="emphasis"
Daniel Veillardef90ba72001-12-07 14:24:22 +000010379><I
10380CLASS="EMPHASIS"
10381>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010382></SPAN
Daniel Veillardef90ba72001-12-07 14:24:22 +000010383> :</TD
10384><TD
10385WIDTH="80%"
10386ALIGN="LEFT"
10387VALIGN="TOP"
10388>the new path or NULL in case of error. The caller must free
Daniel Veillardaf43f632002-03-08 15:05:20 +000010389the returned string</TD
Daniel Veillardef90ba72001-12-07 14:24:22 +000010390></TR
10391></TBODY
10392></TABLE
10393><P
10394></P
10395></DIV
10396></DIV
10397><HR><DIV
10398CLASS="REFSECT2"
10399><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010400NAME="AEN6204"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010401></A
10402><H3
10403><A
10404NAME="XMLDOCGETROOTELEMENT"
10405></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010406>xmlDocGetRootElement ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010407><TABLE
10408BORDER="0"
10409BGCOLOR="#D6E8FF"
10410WIDTH="100%"
10411CELLPADDING="6"
10412><TR
10413><TD
10414><PRE
10415CLASS="PROGRAMLISTING"
10416><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010417HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010418>xmlNodePtr</A
10419> xmlDocGetRootElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010420HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010421>xmlDocPtr</A
10422> doc);</PRE
10423></TD
10424></TR
10425></TABLE
10426><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010427>Get the root element of the document (doc-&gt;children is a list
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010428containing possibly comments, PIs, etc ...).</P
10429><P
10430></P
10431><DIV
10432CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010433><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010434NAME="AEN6212"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010435></P
10436><TABLE
10437BORDER="0"
10438WIDTH="100%"
10439BGCOLOR="#FFD0D0"
10440CELLSPACING="0"
10441CELLPADDING="4"
10442CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010443><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010444><TR
10445><TD
10446WIDTH="20%"
10447ALIGN="RIGHT"
10448VALIGN="TOP"
10449><TT
10450CLASS="PARAMETER"
10451><I
10452>doc</I
10453></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010454>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010455><TD
10456WIDTH="80%"
10457ALIGN="LEFT"
10458VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010459> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010460></TR
10461><TR
10462><TD
10463WIDTH="20%"
10464ALIGN="RIGHT"
10465VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010466><SPAN
10467CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010468><I
10469CLASS="EMPHASIS"
10470>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010471></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010472> :</TD
10473><TD
10474WIDTH="80%"
10475ALIGN="LEFT"
10476VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010477>the <A
10478HREF="libxml-tree.html#XMLNODEPTR"
10479>xmlNodePtr</A
10480> for the root or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010481></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010482></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010483></TABLE
10484><P
10485></P
10486></DIV
10487></DIV
10488><HR><DIV
10489CLASS="REFSECT2"
10490><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010491NAME="AEN6226"
Daniel Veillard35925471999-02-25 08:46:07 +000010492></A
10493><H3
10494><A
10495NAME="XMLGETLASTCHILD"
10496></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010497>xmlGetLastChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010498><TABLE
10499BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010500BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010501WIDTH="100%"
10502CELLPADDING="6"
10503><TR
10504><TD
10505><PRE
10506CLASS="PROGRAMLISTING"
10507><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010508HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010509>xmlNodePtr</A
10510> xmlGetLastChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010511HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010512>xmlNodePtr</A
10513> parent);</PRE
10514></TD
10515></TR
10516></TABLE
10517><P
10518>Search the last child of a node.</P
10519><P
10520></P
10521><DIV
10522CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010523><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010524NAME="AEN6234"><P
Daniel Veillard35925471999-02-25 08:46:07 +000010525></P
10526><TABLE
10527BORDER="0"
10528WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010529BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010530CELLSPACING="0"
10531CELLPADDING="4"
10532CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010533><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010534><TR
10535><TD
10536WIDTH="20%"
10537ALIGN="RIGHT"
10538VALIGN="TOP"
10539><TT
10540CLASS="PARAMETER"
10541><I
10542>parent</I
10543></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010544>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010545><TD
10546WIDTH="80%"
10547ALIGN="LEFT"
10548VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010549> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010550></TR
10551><TR
10552><TD
10553WIDTH="20%"
10554ALIGN="RIGHT"
10555VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010556><SPAN
10557CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000010558><I
10559CLASS="EMPHASIS"
10560>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010561></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000010562> :</TD
10563><TD
10564WIDTH="80%"
10565ALIGN="LEFT"
10566VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010567>the last child or NULL if none.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010568></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010569></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010570></TABLE
10571><P
10572></P
10573></DIV
10574></DIV
10575><HR><DIV
10576CLASS="REFSECT2"
10577><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010578NAME="AEN6247"
Daniel Veillard35925471999-02-25 08:46:07 +000010579></A
10580><H3
10581><A
10582NAME="XMLNODEISTEXT"
10583></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010584>xmlNodeIsText ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010585><TABLE
10586BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010587BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010588WIDTH="100%"
10589CELLPADDING="6"
10590><TR
10591><TD
10592><PRE
10593CLASS="PROGRAMLISTING"
10594>int xmlNodeIsText (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010595HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010596>xmlNodePtr</A
10597> node);</PRE
10598></TD
10599></TR
10600></TABLE
10601><P
10602>Is this node a Text node ?</P
10603><P
10604></P
10605><DIV
10606CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010607><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010608NAME="AEN6254"><P
Daniel Veillard35925471999-02-25 08:46:07 +000010609></P
10610><TABLE
10611BORDER="0"
10612WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010613BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010614CELLSPACING="0"
10615CELLPADDING="4"
10616CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010617><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010618><TR
10619><TD
10620WIDTH="20%"
10621ALIGN="RIGHT"
10622VALIGN="TOP"
10623><TT
10624CLASS="PARAMETER"
10625><I
10626>node</I
10627></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010628>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010629><TD
10630WIDTH="80%"
10631ALIGN="LEFT"
10632VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010633> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010634></TR
10635><TR
10636><TD
10637WIDTH="20%"
10638ALIGN="RIGHT"
10639VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010640><SPAN
10641CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000010642><I
10643CLASS="EMPHASIS"
10644>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010645></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000010646> :</TD
10647><TD
10648WIDTH="80%"
10649ALIGN="LEFT"
10650VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010651>1 yes, 0 no</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010652></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010653></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000010654></TABLE
10655><P
10656></P
10657></DIV
10658></DIV
10659><HR><DIV
10660CLASS="REFSECT2"
10661><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010662NAME="AEN6267"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010663></A
10664><H3
10665><A
10666NAME="XMLISBLANKNODE"
10667></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010668>xmlIsBlankNode ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010669><TABLE
10670BORDER="0"
10671BGCOLOR="#D6E8FF"
10672WIDTH="100%"
10673CELLPADDING="6"
10674><TR
10675><TD
10676><PRE
10677CLASS="PROGRAMLISTING"
10678>int xmlIsBlankNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010679HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010680>xmlNodePtr</A
10681> node);</PRE
10682></TD
10683></TR
10684></TABLE
10685><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010686>Checks whether this node is an empty or whitespace only
10687(and possibly ignorable) text-node.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010688><P
10689></P
10690><DIV
10691CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010692><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010693NAME="AEN6274"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010694></P
10695><TABLE
10696BORDER="0"
10697WIDTH="100%"
10698BGCOLOR="#FFD0D0"
10699CELLSPACING="0"
10700CELLPADDING="4"
10701CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010702><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010703><TR
10704><TD
10705WIDTH="20%"
10706ALIGN="RIGHT"
10707VALIGN="TOP"
10708><TT
10709CLASS="PARAMETER"
10710><I
10711>node</I
10712></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010713>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010714><TD
10715WIDTH="80%"
10716ALIGN="LEFT"
10717VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010718> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010719></TR
10720><TR
10721><TD
10722WIDTH="20%"
10723ALIGN="RIGHT"
10724VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010725><SPAN
10726CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010727><I
10728CLASS="EMPHASIS"
10729>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010730></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010731> :</TD
10732><TD
10733WIDTH="80%"
10734ALIGN="LEFT"
10735VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010736>1 yes, 0 no</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010737></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010738></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010739></TABLE
10740><P
10741></P
10742></DIV
10743></DIV
10744><HR><DIV
10745CLASS="REFSECT2"
10746><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010747NAME="AEN6287"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010748></A
10749><H3
10750><A
10751NAME="XMLDOCSETROOTELEMENT"
10752></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010753>xmlDocSetRootElement ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010754><TABLE
10755BORDER="0"
10756BGCOLOR="#D6E8FF"
10757WIDTH="100%"
10758CELLPADDING="6"
10759><TR
10760><TD
10761><PRE
10762CLASS="PROGRAMLISTING"
10763><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010764HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010765>xmlNodePtr</A
10766> xmlDocSetRootElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010767HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010768>xmlDocPtr</A
10769> doc,
10770 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010771HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010772>xmlNodePtr</A
10773> root);</PRE
10774></TD
10775></TR
10776></TABLE
10777><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010778>Set the root element of the document (doc-&gt;children is a list
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010779containing possibly comments, PIs, etc ...).</P
10780><P
10781></P
10782><DIV
10783CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010784><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010785NAME="AEN6296"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010786></P
10787><TABLE
10788BORDER="0"
10789WIDTH="100%"
10790BGCOLOR="#FFD0D0"
10791CELLSPACING="0"
10792CELLPADDING="4"
10793CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010794><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010795><TR
10796><TD
10797WIDTH="20%"
10798ALIGN="RIGHT"
10799VALIGN="TOP"
10800><TT
10801CLASS="PARAMETER"
10802><I
10803>doc</I
10804></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010805>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010806><TD
10807WIDTH="80%"
10808ALIGN="LEFT"
10809VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010810> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010811></TR
10812><TR
10813><TD
10814WIDTH="20%"
10815ALIGN="RIGHT"
10816VALIGN="TOP"
10817><TT
10818CLASS="PARAMETER"
10819><I
10820>root</I
10821></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010822>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010823><TD
10824WIDTH="80%"
10825ALIGN="LEFT"
10826VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010827> the new document root element</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010828></TR
10829><TR
10830><TD
10831WIDTH="20%"
10832ALIGN="RIGHT"
10833VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010834><SPAN
10835CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010836><I
10837CLASS="EMPHASIS"
10838>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010839></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010840> :</TD
10841><TD
10842WIDTH="80%"
10843ALIGN="LEFT"
10844VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010845>the old root element if any was found</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010846></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010847></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010848></TABLE
10849><P
10850></P
10851></DIV
10852></DIV
10853><HR><DIV
10854CLASS="REFSECT2"
10855><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010856NAME="AEN6313"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010857></A
10858><H3
10859><A
10860NAME="XMLNODESETNAME"
10861></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010862>xmlNodeSetName ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010863><TABLE
10864BORDER="0"
10865BGCOLOR="#D6E8FF"
10866WIDTH="100%"
10867CELLPADDING="6"
10868><TR
10869><TD
10870><PRE
10871CLASS="PROGRAMLISTING"
10872>void xmlNodeSetName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010873HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010874>xmlNodePtr</A
10875> cur,
10876 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010877HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010878>xmlChar</A
10879> *name);</PRE
10880></TD
10881></TR
10882></TABLE
10883><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +000010884>Set (or reset) the name of a node.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010885><P
10886></P
10887><DIV
10888CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010889><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010890NAME="AEN6321"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010891></P
10892><TABLE
10893BORDER="0"
10894WIDTH="100%"
10895BGCOLOR="#FFD0D0"
10896CELLSPACING="0"
10897CELLPADDING="4"
10898CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010899><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010900><TR
10901><TD
10902WIDTH="20%"
10903ALIGN="RIGHT"
10904VALIGN="TOP"
10905><TT
10906CLASS="PARAMETER"
10907><I
10908>cur</I
10909></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010910>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010911><TD
10912WIDTH="80%"
10913ALIGN="LEFT"
10914VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010915> the node being changed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010916></TR
10917><TR
10918><TD
10919WIDTH="20%"
10920ALIGN="RIGHT"
10921VALIGN="TOP"
10922><TT
10923CLASS="PARAMETER"
10924><I
10925>name</I
10926></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010927>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010928><TD
10929WIDTH="80%"
10930ALIGN="LEFT"
10931VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000010932> the new tag name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010933></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010934></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010935></TABLE
10936><P
10937></P
10938></DIV
10939></DIV
10940><HR><DIV
10941CLASS="REFSECT2"
10942><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010943NAME="AEN6334"
Daniel Veillard35925471999-02-25 08:46:07 +000010944></A
10945><H3
10946><A
10947NAME="XMLADDCHILD"
10948></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010949>xmlAddChild ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010950><TABLE
10951BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010952BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010953WIDTH="100%"
10954CELLPADDING="6"
10955><TR
10956><TD
10957><PRE
10958CLASS="PROGRAMLISTING"
10959><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010960HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010961>xmlNodePtr</A
10962> xmlAddChild (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010963HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010964>xmlNodePtr</A
10965> parent,
10966 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010967HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000010968>xmlNodePtr</A
10969> cur);</PRE
10970></TD
10971></TR
10972></TABLE
10973><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010974>Add a new node to <TT
Daniel Veillard35925471999-02-25 08:46:07 +000010975CLASS="PARAMETER"
10976><I
10977>parent</I
10978></TT
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010979>, at the end of the child (or property) list
Daniel Veillard29a11cc2000-10-25 13:32:39 +000010980merging adjacent TEXT nodes (in which case <TT
10981CLASS="PARAMETER"
10982><I
10983>cur</I
10984></TT
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010985> is freed)
10986If the new node was already inserted in a document it is
10987first unlinked from its existing context.
10988If the new node is ATTRIBUTE, it is added into properties instead of children.
10989If there is an attribute with equal name, it is first destroyed.</P
Daniel Veillard35925471999-02-25 08:46:07 +000010990><P
10991></P
10992><DIV
10993CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010994><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010995NAME="AEN6345"><P
Daniel Veillard35925471999-02-25 08:46:07 +000010996></P
10997><TABLE
10998BORDER="0"
10999WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011000BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011001CELLSPACING="0"
11002CELLPADDING="4"
11003CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011004><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011005><TR
11006><TD
11007WIDTH="20%"
11008ALIGN="RIGHT"
11009VALIGN="TOP"
11010><TT
11011CLASS="PARAMETER"
11012><I
11013>parent</I
11014></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011015>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011016><TD
11017WIDTH="80%"
11018ALIGN="LEFT"
11019VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011020> the parent node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011021></TR
11022><TR
11023><TD
11024WIDTH="20%"
11025ALIGN="RIGHT"
11026VALIGN="TOP"
11027><TT
11028CLASS="PARAMETER"
11029><I
11030>cur</I
11031></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011032>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011033><TD
11034WIDTH="80%"
11035ALIGN="LEFT"
11036VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011037> the child node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011038></TR
11039><TR
11040><TD
11041WIDTH="20%"
11042ALIGN="RIGHT"
11043VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011044><SPAN
11045CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000011046><I
11047CLASS="EMPHASIS"
11048>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011049></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000011050> :</TD
11051><TD
11052WIDTH="80%"
11053ALIGN="LEFT"
11054VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011055>the child or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011056></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011057></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011058></TABLE
11059><P
11060></P
11061></DIV
11062></DIV
11063><HR><DIV
11064CLASS="REFSECT2"
11065><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011066NAME="AEN6362"
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011067></A
11068><H3
11069><A
11070NAME="XMLADDCHILDLIST"
11071></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011072>xmlAddChildList ()</H3
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011073><TABLE
11074BORDER="0"
11075BGCOLOR="#D6E8FF"
11076WIDTH="100%"
11077CELLPADDING="6"
11078><TR
11079><TD
11080><PRE
11081CLASS="PROGRAMLISTING"
11082><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011083HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011084>xmlNodePtr</A
11085> xmlAddChildList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011086HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011087>xmlNodePtr</A
11088> parent,
11089 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011090HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011091>xmlNodePtr</A
11092> cur);</PRE
11093></TD
11094></TR
11095></TABLE
11096><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +000011097>Add a list of node at the end of the child list of the parent
11098merging adjacent TEXT nodes (<TT
11099CLASS="PARAMETER"
11100><I
11101>cur</I
11102></TT
11103> may be freed)</P
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011104><P
11105></P
11106><DIV
11107CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011108><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011109NAME="AEN6372"><P
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011110></P
11111><TABLE
11112BORDER="0"
11113WIDTH="100%"
11114BGCOLOR="#FFD0D0"
11115CELLSPACING="0"
11116CELLPADDING="4"
11117CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011118><TBODY
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011119><TR
11120><TD
11121WIDTH="20%"
11122ALIGN="RIGHT"
11123VALIGN="TOP"
11124><TT
11125CLASS="PARAMETER"
11126><I
11127>parent</I
11128></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011129>&nbsp;:</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011130><TD
11131WIDTH="80%"
11132ALIGN="LEFT"
11133VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011134> the parent node</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011135></TR
11136><TR
11137><TD
11138WIDTH="20%"
11139ALIGN="RIGHT"
11140VALIGN="TOP"
11141><TT
11142CLASS="PARAMETER"
11143><I
11144>cur</I
11145></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011146>&nbsp;:</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011147><TD
11148WIDTH="80%"
11149ALIGN="LEFT"
11150VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011151> the first node in the list</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011152></TR
11153><TR
11154><TD
11155WIDTH="20%"
11156ALIGN="RIGHT"
11157VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011158><SPAN
11159CLASS="emphasis"
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011160><I
11161CLASS="EMPHASIS"
11162>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011163></SPAN
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011164> :</TD
11165><TD
11166WIDTH="80%"
11167ALIGN="LEFT"
11168VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011169>the last child or NULL in case of error.</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011170></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011171></TBODY
Daniel Veillard7c29ce22000-08-12 21:20:53 +000011172></TABLE
11173><P
11174></P
11175></DIV
11176></DIV
11177><HR><DIV
11178CLASS="REFSECT2"
11179><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011180NAME="AEN6389"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011181></A
11182><H3
11183><A
11184NAME="XMLREPLACENODE"
11185></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011186>xmlReplaceNode ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011187><TABLE
11188BORDER="0"
11189BGCOLOR="#D6E8FF"
11190WIDTH="100%"
11191CELLPADDING="6"
11192><TR
11193><TD
11194><PRE
11195CLASS="PROGRAMLISTING"
11196><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011197HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011198>xmlNodePtr</A
11199> xmlReplaceNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011200HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011201>xmlNodePtr</A
11202> old,
11203 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011204HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011205>xmlNodePtr</A
11206> cur);</PRE
11207></TD
11208></TR
11209></TABLE
11210><P
11211>Unlink the old node from it's current context, prune the new one
Daniel Veillardcbaf3992001-12-31 16:16:02 +000011212at the same place. If <TT
11213CLASS="PARAMETER"
11214><I
11215>cur</I
11216></TT
11217> was already inserted in a document it is
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011218first unlinked from its existing context.</P
11219><P
11220></P
11221><DIV
11222CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011223><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011224NAME="AEN6399"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011225></P
11226><TABLE
11227BORDER="0"
11228WIDTH="100%"
11229BGCOLOR="#FFD0D0"
11230CELLSPACING="0"
11231CELLPADDING="4"
11232CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011233><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011234><TR
11235><TD
11236WIDTH="20%"
11237ALIGN="RIGHT"
11238VALIGN="TOP"
11239><TT
11240CLASS="PARAMETER"
11241><I
11242>old</I
11243></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011244>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011245><TD
11246WIDTH="80%"
11247ALIGN="LEFT"
11248VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011249> the old node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011250></TR
11251><TR
11252><TD
11253WIDTH="20%"
11254ALIGN="RIGHT"
11255VALIGN="TOP"
11256><TT
11257CLASS="PARAMETER"
11258><I
11259>cur</I
11260></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011261>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011262><TD
11263WIDTH="80%"
11264ALIGN="LEFT"
11265VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011266> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011267></TR
11268><TR
11269><TD
11270WIDTH="20%"
11271ALIGN="RIGHT"
11272VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011273><SPAN
11274CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011275><I
11276CLASS="EMPHASIS"
11277>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011278></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011279> :</TD
11280><TD
11281WIDTH="80%"
11282ALIGN="LEFT"
11283VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000011284>the <TT
11285CLASS="PARAMETER"
11286><I
11287>old</I
11288></TT
11289> node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011290></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011291></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011292></TABLE
11293><P
11294></P
11295></DIV
11296></DIV
11297><HR><DIV
11298CLASS="REFSECT2"
11299><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011300NAME="AEN6417"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011301></A
11302><H3
11303><A
11304NAME="XMLADDSIBLING"
11305></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011306>xmlAddSibling ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011307><TABLE
11308BORDER="0"
11309BGCOLOR="#D6E8FF"
11310WIDTH="100%"
11311CELLPADDING="6"
11312><TR
11313><TD
11314><PRE
11315CLASS="PROGRAMLISTING"
11316><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011317HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011318>xmlNodePtr</A
11319> xmlAddSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011320HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011321>xmlNodePtr</A
11322> cur,
11323 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011324HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011325>xmlNodePtr</A
11326> elem);</PRE
11327></TD
11328></TR
11329></TABLE
11330><P
Daniel Veillardf3a73582000-01-05 14:58:39 +000011331>Add a new element <TT
11332CLASS="PARAMETER"
11333><I
11334>elem</I
11335></TT
11336> to the list of siblings of <TT
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011337CLASS="PARAMETER"
11338><I
11339>cur</I
11340></TT
Daniel Veillardf3a73582000-01-05 14:58:39 +000011341>
Daniel Veillard29a11cc2000-10-25 13:32:39 +000011342merging adjacent TEXT nodes (<TT
11343CLASS="PARAMETER"
11344><I
11345>elem</I
11346></TT
11347> may be freed)
Daniel Veillardf3a73582000-01-05 14:58:39 +000011348If the new element was already inserted in a document it is
11349first unlinked from its existing context.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011350><P
11351></P
11352><DIV
11353CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011354><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011355NAME="AEN6429"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011356></P
11357><TABLE
11358BORDER="0"
11359WIDTH="100%"
11360BGCOLOR="#FFD0D0"
11361CELLSPACING="0"
11362CELLPADDING="4"
11363CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011364><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011365><TR
11366><TD
11367WIDTH="20%"
11368ALIGN="RIGHT"
11369VALIGN="TOP"
11370><TT
11371CLASS="PARAMETER"
11372><I
11373>cur</I
11374></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011375>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011376><TD
11377WIDTH="80%"
11378ALIGN="LEFT"
11379VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011380> the child node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011381></TR
11382><TR
11383><TD
11384WIDTH="20%"
11385ALIGN="RIGHT"
11386VALIGN="TOP"
11387><TT
11388CLASS="PARAMETER"
11389><I
11390>elem</I
11391></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011392>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011393><TD
11394WIDTH="80%"
11395ALIGN="LEFT"
11396VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011397> the new node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011398></TR
11399><TR
11400><TD
11401WIDTH="20%"
11402ALIGN="RIGHT"
11403VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011404><SPAN
11405CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011406><I
11407CLASS="EMPHASIS"
11408>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011409></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011410> :</TD
11411><TD
11412WIDTH="80%"
11413ALIGN="LEFT"
11414VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011415>the new element or NULL in case of error.</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011416></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011417></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011418></TABLE
11419><P
11420></P
11421></DIV
11422></DIV
11423><HR><DIV
11424CLASS="REFSECT2"
11425><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011426NAME="AEN6446"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011427></A
11428><H3
11429><A
11430NAME="XMLADDPREVSIBLING"
11431></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011432>xmlAddPrevSibling ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011433><TABLE
11434BORDER="0"
11435BGCOLOR="#D6E8FF"
11436WIDTH="100%"
11437CELLPADDING="6"
11438><TR
11439><TD
11440><PRE
11441CLASS="PROGRAMLISTING"
11442><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011443HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011444>xmlNodePtr</A
11445> xmlAddPrevSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011446HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011447>xmlNodePtr</A
11448> cur,
11449 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011450HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011451>xmlNodePtr</A
11452> elem);</PRE
11453></TD
11454></TR
11455></TABLE
11456><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011457>Add a new node <TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011458CLASS="PARAMETER"
11459><I
11460>elem</I
11461></TT
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011462> as the previous sibling of <TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011463CLASS="PARAMETER"
11464><I
11465>cur</I
11466></TT
11467>
Daniel Veillard29a11cc2000-10-25 13:32:39 +000011468merging adjacent TEXT nodes (<TT
11469CLASS="PARAMETER"
11470><I
11471>elem</I
11472></TT
11473> may be freed)
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011474If the new node was already inserted in a document it is
11475first unlinked from its existing context.
11476If the new node is ATTRIBUTE, it is added into properties instead of children.
11477If there is an attribute with equal name, it is first destroyed.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011478><P
11479></P
11480><DIV
11481CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011482><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011483NAME="AEN6458"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011484></P
11485><TABLE
11486BORDER="0"
11487WIDTH="100%"
11488BGCOLOR="#FFD0D0"
11489CELLSPACING="0"
11490CELLPADDING="4"
11491CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011492><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011493><TR
11494><TD
11495WIDTH="20%"
11496ALIGN="RIGHT"
11497VALIGN="TOP"
11498><TT
11499CLASS="PARAMETER"
11500><I
11501>cur</I
11502></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011503>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011504><TD
11505WIDTH="80%"
11506ALIGN="LEFT"
11507VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011508> the child node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011509></TR
11510><TR
11511><TD
11512WIDTH="20%"
11513ALIGN="RIGHT"
11514VALIGN="TOP"
11515><TT
11516CLASS="PARAMETER"
11517><I
11518>elem</I
11519></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011520>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011521><TD
11522WIDTH="80%"
11523ALIGN="LEFT"
11524VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011525> the new node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011526></TR
11527><TR
11528><TD
11529WIDTH="20%"
11530ALIGN="RIGHT"
11531VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011532><SPAN
11533CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011534><I
11535CLASS="EMPHASIS"
11536>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011537></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011538> :</TD
11539><TD
11540WIDTH="80%"
11541ALIGN="LEFT"
11542VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011543>the new node or NULL in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011544></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011545></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011546></TABLE
11547><P
11548></P
11549></DIV
11550></DIV
11551><HR><DIV
11552CLASS="REFSECT2"
11553><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011554NAME="AEN6475"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011555></A
11556><H3
11557><A
11558NAME="XMLADDNEXTSIBLING"
11559></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011560>xmlAddNextSibling ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011561><TABLE
11562BORDER="0"
11563BGCOLOR="#D6E8FF"
11564WIDTH="100%"
11565CELLPADDING="6"
11566><TR
11567><TD
11568><PRE
11569CLASS="PROGRAMLISTING"
11570><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011571HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011572>xmlNodePtr</A
11573> xmlAddNextSibling (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011574HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011575>xmlNodePtr</A
11576> cur,
11577 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011578HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011579>xmlNodePtr</A
11580> elem);</PRE
11581></TD
11582></TR
11583></TABLE
11584><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011585>Add a new node <TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011586CLASS="PARAMETER"
11587><I
11588>elem</I
11589></TT
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011590> as the next sibling of <TT
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011591CLASS="PARAMETER"
11592><I
11593>cur</I
11594></TT
11595>
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011596If the new node was already inserted in a document it is
Daniel Veillard29a11cc2000-10-25 13:32:39 +000011597first unlinked from its existing context.
11598As a result of text merging <TT
11599CLASS="PARAMETER"
11600><I
11601>elem</I
11602></TT
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011603> may be freed.
11604If the new node is ATTRIBUTE, it is added into properties instead of children.
11605If there is an attribute with equal name, it is first destroyed.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011606><P
11607></P
11608><DIV
11609CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011610><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011611NAME="AEN6487"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011612></P
11613><TABLE
11614BORDER="0"
11615WIDTH="100%"
11616BGCOLOR="#FFD0D0"
11617CELLSPACING="0"
11618CELLPADDING="4"
11619CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011620><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011621><TR
11622><TD
11623WIDTH="20%"
11624ALIGN="RIGHT"
11625VALIGN="TOP"
11626><TT
11627CLASS="PARAMETER"
11628><I
11629>cur</I
11630></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011631>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011632><TD
11633WIDTH="80%"
11634ALIGN="LEFT"
11635VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011636> the child node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011637></TR
11638><TR
11639><TD
11640WIDTH="20%"
11641ALIGN="RIGHT"
11642VALIGN="TOP"
11643><TT
11644CLASS="PARAMETER"
11645><I
11646>elem</I
11647></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011648>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011649><TD
11650WIDTH="80%"
11651ALIGN="LEFT"
11652VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011653> the new node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011654></TR
11655><TR
11656><TD
11657WIDTH="20%"
11658ALIGN="RIGHT"
11659VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011660><SPAN
11661CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011662><I
11663CLASS="EMPHASIS"
11664>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011665></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011666> :</TD
11667><TD
11668WIDTH="80%"
11669ALIGN="LEFT"
11670VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011671>the new node or NULL in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011672></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011673></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011674></TABLE
11675><P
11676></P
11677></DIV
11678></DIV
11679><HR><DIV
11680CLASS="REFSECT2"
11681><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011682NAME="AEN6504"
Daniel Veillard35925471999-02-25 08:46:07 +000011683></A
11684><H3
11685><A
11686NAME="XMLUNLINKNODE"
11687></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011688>xmlUnlinkNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011689><TABLE
11690BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011691BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011692WIDTH="100%"
11693CELLPADDING="6"
11694><TR
11695><TD
11696><PRE
11697CLASS="PROGRAMLISTING"
11698>void xmlUnlinkNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011699HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011700>xmlNodePtr</A
11701> cur);</PRE
11702></TD
11703></TR
11704></TABLE
11705><P
11706>Unlink a node from it's current context, the node is not freed</P
11707><P
11708></P
11709><DIV
11710CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011711><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011712NAME="AEN6511"><P
Daniel Veillard35925471999-02-25 08:46:07 +000011713></P
11714><TABLE
11715BORDER="0"
11716WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011717BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011718CELLSPACING="0"
11719CELLPADDING="4"
11720CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011721><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011722><TR
11723><TD
11724WIDTH="20%"
11725ALIGN="RIGHT"
11726VALIGN="TOP"
11727><TT
11728CLASS="PARAMETER"
11729><I
11730>cur</I
11731></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011732>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011733><TD
11734WIDTH="80%"
11735ALIGN="LEFT"
11736VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011737> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011738></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011739></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011740></TABLE
11741><P
11742></P
11743></DIV
11744></DIV
11745><HR><DIV
11746CLASS="REFSECT2"
11747><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011748NAME="AEN6520"
Daniel Veillard35925471999-02-25 08:46:07 +000011749></A
11750><H3
11751><A
11752NAME="XMLTEXTMERGE"
11753></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011754>xmlTextMerge ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011755><TABLE
11756BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011757BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011758WIDTH="100%"
11759CELLPADDING="6"
11760><TR
11761><TD
11762><PRE
11763CLASS="PROGRAMLISTING"
11764><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011765HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011766>xmlNodePtr</A
11767> xmlTextMerge (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011768HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011769>xmlNodePtr</A
11770> first,
11771 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011772HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011773>xmlNodePtr</A
11774> second);</PRE
11775></TD
11776></TR
11777></TABLE
11778><P
11779>Merge two text nodes into one</P
11780><P
11781></P
11782><DIV
11783CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011784><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011785NAME="AEN6529"><P
Daniel Veillard35925471999-02-25 08:46:07 +000011786></P
11787><TABLE
11788BORDER="0"
11789WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011790BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011791CELLSPACING="0"
11792CELLPADDING="4"
11793CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011794><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011795><TR
11796><TD
11797WIDTH="20%"
11798ALIGN="RIGHT"
11799VALIGN="TOP"
11800><TT
11801CLASS="PARAMETER"
11802><I
11803>first</I
11804></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011805>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011806><TD
11807WIDTH="80%"
11808ALIGN="LEFT"
11809VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011810> the first text node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011811></TR
11812><TR
11813><TD
11814WIDTH="20%"
11815ALIGN="RIGHT"
11816VALIGN="TOP"
11817><TT
11818CLASS="PARAMETER"
11819><I
11820>second</I
11821></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011822>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011823><TD
11824WIDTH="80%"
11825ALIGN="LEFT"
11826VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011827> the second text node being merged</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011828></TR
11829><TR
11830><TD
11831WIDTH="20%"
11832ALIGN="RIGHT"
11833VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011834><SPAN
11835CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000011836><I
11837CLASS="EMPHASIS"
11838>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011839></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000011840> :</TD
11841><TD
11842WIDTH="80%"
11843ALIGN="LEFT"
11844VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011845>the first text node augmented</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011846></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011847></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011848></TABLE
11849><P
11850></P
11851></DIV
11852></DIV
11853><HR><DIV
11854CLASS="REFSECT2"
11855><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011856NAME="AEN6546"
Daniel Veillard35925471999-02-25 08:46:07 +000011857></A
11858><H3
11859><A
11860NAME="XMLTEXTCONCAT"
11861></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011862>xmlTextConcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011863><TABLE
11864BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011865BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011866WIDTH="100%"
11867CELLPADDING="6"
11868><TR
11869><TD
11870><PRE
11871CLASS="PROGRAMLISTING"
11872>void xmlTextConcat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011873HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011874>xmlNodePtr</A
11875> node,
11876 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011877HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000011878>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000011879> *content,
11880 int len);</PRE
11881></TD
11882></TR
11883></TABLE
11884><P
11885>Concat the given string at the end of the existing node content</P
11886><P
11887></P
11888><DIV
11889CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011890><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011891NAME="AEN6554"><P
Daniel Veillard35925471999-02-25 08:46:07 +000011892></P
11893><TABLE
11894BORDER="0"
11895WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011896BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011897CELLSPACING="0"
11898CELLPADDING="4"
11899CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011900><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011901><TR
11902><TD
11903WIDTH="20%"
11904ALIGN="RIGHT"
11905VALIGN="TOP"
11906><TT
11907CLASS="PARAMETER"
11908><I
11909>node</I
11910></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011911>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011912><TD
11913WIDTH="80%"
11914ALIGN="LEFT"
11915VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011916> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011917></TR
11918><TR
11919><TD
11920WIDTH="20%"
11921ALIGN="RIGHT"
11922VALIGN="TOP"
11923><TT
11924CLASS="PARAMETER"
11925><I
11926>content</I
11927></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011928>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011929><TD
11930WIDTH="80%"
11931ALIGN="LEFT"
11932VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011933> the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011934></TR
11935><TR
11936><TD
11937WIDTH="20%"
11938ALIGN="RIGHT"
11939VALIGN="TOP"
11940><TT
11941CLASS="PARAMETER"
11942><I
11943>len</I
11944></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011945>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011946><TD
11947WIDTH="80%"
11948ALIGN="LEFT"
11949VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000011950> <TT
11951CLASS="PARAMETER"
11952><I
11953>content</I
11954></TT
Daniel Veillard60087f32001-10-10 09:45:09 +000011955> length</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011956></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011957></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000011958></TABLE
11959><P
11960></P
11961></DIV
11962></DIV
11963><HR><DIV
11964CLASS="REFSECT2"
11965><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011966NAME="AEN6572"
Daniel Veillard35925471999-02-25 08:46:07 +000011967></A
11968><H3
11969><A
11970NAME="XMLFREENODELIST"
11971></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011972>xmlFreeNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011973><TABLE
11974BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011975BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011976WIDTH="100%"
11977CELLPADDING="6"
11978><TR
11979><TD
11980><PRE
11981CLASS="PROGRAMLISTING"
11982>void xmlFreeNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011983HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000011984>xmlNodePtr</A
11985> cur);</PRE
11986></TD
11987></TR
11988></TABLE
11989><P
11990>Free a node and all its siblings, this is a recursive behaviour, all
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000011991the children are freed too.</P
Daniel Veillard35925471999-02-25 08:46:07 +000011992><P
11993></P
11994><DIV
11995CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011996><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011997NAME="AEN6579"><P
Daniel Veillard35925471999-02-25 08:46:07 +000011998></P
11999><TABLE
12000BORDER="0"
12001WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012002BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012003CELLSPACING="0"
12004CELLPADDING="4"
12005CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012006><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012007><TR
12008><TD
12009WIDTH="20%"
12010ALIGN="RIGHT"
12011VALIGN="TOP"
12012><TT
12013CLASS="PARAMETER"
12014><I
12015>cur</I
12016></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012017>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012018><TD
12019WIDTH="80%"
12020ALIGN="LEFT"
12021VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012022> the first node in the list</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012023></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012024></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012025></TABLE
12026><P
12027></P
12028></DIV
12029></DIV
12030><HR><DIV
12031CLASS="REFSECT2"
12032><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012033NAME="AEN6588"
Daniel Veillard35925471999-02-25 08:46:07 +000012034></A
12035><H3
12036><A
12037NAME="XMLFREENODE"
12038></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012039>xmlFreeNode ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012040><TABLE
12041BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012042BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012043WIDTH="100%"
12044CELLPADDING="6"
12045><TR
12046><TD
12047><PRE
12048CLASS="PROGRAMLISTING"
12049>void xmlFreeNode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012050HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012051>xmlNodePtr</A
12052> cur);</PRE
12053></TD
12054></TR
12055></TABLE
12056><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012057>Free a node, this is a recursive behaviour, all the children are freed too.
12058This doesn't unlink the child from the list, use <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012059HREF="libxml-tree.html#XMLUNLINKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000012060>xmlUnlinkNode</A
12061>() first.</P
Daniel Veillard35925471999-02-25 08:46:07 +000012062><P
12063></P
12064><DIV
12065CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012066><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012067NAME="AEN6596"><P
Daniel Veillard35925471999-02-25 08:46:07 +000012068></P
12069><TABLE
12070BORDER="0"
12071WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012072BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012073CELLSPACING="0"
12074CELLPADDING="4"
12075CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012076><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012077><TR
12078><TD
12079WIDTH="20%"
12080ALIGN="RIGHT"
12081VALIGN="TOP"
12082><TT
12083CLASS="PARAMETER"
12084><I
12085>cur</I
12086></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012087>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012088><TD
12089WIDTH="80%"
12090ALIGN="LEFT"
12091VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012092> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012093></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012094></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012095></TABLE
12096><P
12097></P
12098></DIV
12099></DIV
12100><HR><DIV
12101CLASS="REFSECT2"
12102><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012103NAME="AEN6605"
Daniel Veillard28929b22000-11-13 18:22:49 +000012104></A
12105><H3
12106><A
12107NAME="XMLSETTREEDOC"
12108></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012109>xmlSetTreeDoc ()</H3
Daniel Veillard28929b22000-11-13 18:22:49 +000012110><TABLE
12111BORDER="0"
12112BGCOLOR="#D6E8FF"
12113WIDTH="100%"
12114CELLPADDING="6"
12115><TR
12116><TD
12117><PRE
12118CLASS="PROGRAMLISTING"
12119>void xmlSetTreeDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012120HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +000012121>xmlNodePtr</A
12122> tree,
12123 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012124HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +000012125>xmlDocPtr</A
12126> doc);</PRE
12127></TD
12128></TR
12129></TABLE
12130><P
12131>update all nodes under the tree to point to the right document</P
12132><P
12133></P
12134><DIV
12135CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012136><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012137NAME="AEN6613"><P
Daniel Veillard28929b22000-11-13 18:22:49 +000012138></P
12139><TABLE
12140BORDER="0"
12141WIDTH="100%"
12142BGCOLOR="#FFD0D0"
12143CELLSPACING="0"
12144CELLPADDING="4"
12145CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012146><TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +000012147><TR
12148><TD
12149WIDTH="20%"
12150ALIGN="RIGHT"
12151VALIGN="TOP"
12152><TT
12153CLASS="PARAMETER"
12154><I
12155>tree</I
12156></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012157>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000012158><TD
12159WIDTH="80%"
12160ALIGN="LEFT"
12161VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012162> the top element</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000012163></TR
12164><TR
12165><TD
12166WIDTH="20%"
12167ALIGN="RIGHT"
12168VALIGN="TOP"
12169><TT
12170CLASS="PARAMETER"
12171><I
12172>doc</I
12173></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012174>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000012175><TD
12176WIDTH="80%"
12177ALIGN="LEFT"
12178VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012179> the document</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000012180></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012181></TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +000012182></TABLE
12183><P
12184></P
12185></DIV
12186></DIV
12187><HR><DIV
12188CLASS="REFSECT2"
12189><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012190NAME="AEN6626"
Daniel Veillard28929b22000-11-13 18:22:49 +000012191></A
12192><H3
12193><A
12194NAME="XMLSETLISTDOC"
12195></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012196>xmlSetListDoc ()</H3
Daniel Veillard28929b22000-11-13 18:22:49 +000012197><TABLE
12198BORDER="0"
12199BGCOLOR="#D6E8FF"
12200WIDTH="100%"
12201CELLPADDING="6"
12202><TR
12203><TD
12204><PRE
12205CLASS="PROGRAMLISTING"
12206>void xmlSetListDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012207HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +000012208>xmlNodePtr</A
12209> list,
12210 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012211HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard28929b22000-11-13 18:22:49 +000012212>xmlDocPtr</A
12213> doc);</PRE
12214></TD
12215></TR
12216></TABLE
12217><P
12218>update all nodes in the list to point to the right document</P
12219><P
12220></P
12221><DIV
12222CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012223><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012224NAME="AEN6634"><P
Daniel Veillard28929b22000-11-13 18:22:49 +000012225></P
12226><TABLE
12227BORDER="0"
12228WIDTH="100%"
12229BGCOLOR="#FFD0D0"
12230CELLSPACING="0"
12231CELLPADDING="4"
12232CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012233><TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +000012234><TR
12235><TD
12236WIDTH="20%"
12237ALIGN="RIGHT"
12238VALIGN="TOP"
12239><TT
12240CLASS="PARAMETER"
12241><I
12242>list</I
12243></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012244>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000012245><TD
12246WIDTH="80%"
12247ALIGN="LEFT"
12248VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000012249> the first element</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000012250></TR
12251><TR
12252><TD
12253WIDTH="20%"
12254ALIGN="RIGHT"
12255VALIGN="TOP"
12256><TT
12257CLASS="PARAMETER"
12258><I
12259>doc</I
12260></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012261>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000012262><TD
12263WIDTH="80%"
12264ALIGN="LEFT"
12265VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012266> the document</TD
Daniel Veillard28929b22000-11-13 18:22:49 +000012267></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012268></TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +000012269></TABLE
12270><P
12271></P
12272></DIV
12273></DIV
12274><HR><DIV
12275CLASS="REFSECT2"
12276><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012277NAME="AEN6647"
Daniel Veillard35925471999-02-25 08:46:07 +000012278></A
12279><H3
12280><A
12281NAME="XMLSEARCHNS"
12282></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012283>xmlSearchNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012284><TABLE
12285BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012286BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012287WIDTH="100%"
12288CELLPADDING="6"
12289><TR
12290><TD
12291><PRE
12292CLASS="PROGRAMLISTING"
12293><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012294HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012295>xmlNsPtr</A
12296> xmlSearchNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012297HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012298>xmlDocPtr</A
12299> doc,
12300 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012301HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012302>xmlNodePtr</A
12303> node,
12304 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012305HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012306>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012307> *nameSpace);</PRE
12308></TD
12309></TR
12310></TABLE
12311><P
12312>Search a Ns registered under a given name space for a document.
12313recurse on the parents until it finds the defined namespace
12314or return NULL otherwise.
12315<TT
12316CLASS="PARAMETER"
12317><I
12318>nameSpace</I
12319></TT
Daniel Veillard3bff2b02000-10-01 20:33:47 +000012320> can be NULL, this is a search for the default namespace.
12321We don't allow to cross entities boundaries. If you don't declare
12322the namespace within those you will be in troubles !!! A warning
12323is generated to cover this case.</P
Daniel Veillard35925471999-02-25 08:46:07 +000012324><P
12325></P
12326><DIV
12327CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012328><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012329NAME="AEN6658"><P
Daniel Veillard35925471999-02-25 08:46:07 +000012330></P
12331><TABLE
12332BORDER="0"
12333WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012334BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012335CELLSPACING="0"
12336CELLPADDING="4"
12337CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012338><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012339><TR
12340><TD
12341WIDTH="20%"
12342ALIGN="RIGHT"
12343VALIGN="TOP"
12344><TT
12345CLASS="PARAMETER"
12346><I
12347>doc</I
12348></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012349>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012350><TD
12351WIDTH="80%"
12352ALIGN="LEFT"
12353VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012354> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012355></TR
12356><TR
12357><TD
12358WIDTH="20%"
12359ALIGN="RIGHT"
12360VALIGN="TOP"
12361><TT
12362CLASS="PARAMETER"
12363><I
12364>node</I
12365></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012366>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012367><TD
12368WIDTH="80%"
12369ALIGN="LEFT"
12370VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012371> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012372></TR
12373><TR
12374><TD
12375WIDTH="20%"
12376ALIGN="RIGHT"
12377VALIGN="TOP"
12378><TT
12379CLASS="PARAMETER"
12380><I
12381>nameSpace</I
12382></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012383>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012384><TD
12385WIDTH="80%"
12386ALIGN="LEFT"
12387VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012388> the namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012389></TR
12390><TR
12391><TD
12392WIDTH="20%"
12393ALIGN="RIGHT"
12394VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012395><SPAN
12396CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000012397><I
12398CLASS="EMPHASIS"
12399>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012400></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000012401> :</TD
12402><TD
12403WIDTH="80%"
12404ALIGN="LEFT"
12405VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012406>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012407></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012408></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012409></TABLE
12410><P
12411></P
12412></DIV
12413></DIV
12414><HR><DIV
12415CLASS="REFSECT2"
12416><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012417NAME="AEN6679"
Daniel Veillard35925471999-02-25 08:46:07 +000012418></A
12419><H3
12420><A
12421NAME="XMLSEARCHNSBYHREF"
12422></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012423>xmlSearchNsByHref ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012424><TABLE
12425BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012426BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012427WIDTH="100%"
12428CELLPADDING="6"
12429><TR
12430><TD
12431><PRE
12432CLASS="PROGRAMLISTING"
12433><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012434HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012435>xmlNsPtr</A
12436> xmlSearchNsByHref (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012437HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012438>xmlDocPtr</A
12439> doc,
12440 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012441HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012442>xmlNodePtr</A
12443> node,
12444 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012445HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012446>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012447> *href);</PRE
12448></TD
12449></TR
12450></TABLE
12451><P
12452>Search a Ns aliasing a given URI. Recurse on the parents until it finds
12453the defined namespace or return NULL otherwise.</P
12454><P
12455></P
12456><DIV
12457CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012458><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012459NAME="AEN6689"><P
Daniel Veillard35925471999-02-25 08:46:07 +000012460></P
12461><TABLE
12462BORDER="0"
12463WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012464BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012465CELLSPACING="0"
12466CELLPADDING="4"
12467CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012468><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012469><TR
12470><TD
12471WIDTH="20%"
12472ALIGN="RIGHT"
12473VALIGN="TOP"
12474><TT
12475CLASS="PARAMETER"
12476><I
12477>doc</I
12478></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012479>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012480><TD
12481WIDTH="80%"
12482ALIGN="LEFT"
12483VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012484> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012485></TR
12486><TR
12487><TD
12488WIDTH="20%"
12489ALIGN="RIGHT"
12490VALIGN="TOP"
12491><TT
12492CLASS="PARAMETER"
12493><I
12494>node</I
12495></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012496>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012497><TD
12498WIDTH="80%"
12499ALIGN="LEFT"
12500VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012501> the current node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012502></TR
12503><TR
12504><TD
12505WIDTH="20%"
12506ALIGN="RIGHT"
12507VALIGN="TOP"
12508><TT
12509CLASS="PARAMETER"
12510><I
12511>href</I
12512></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012513>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012514><TD
12515WIDTH="80%"
12516ALIGN="LEFT"
12517VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012518> the namespace value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012519></TR
12520><TR
12521><TD
12522WIDTH="20%"
12523ALIGN="RIGHT"
12524VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012525><SPAN
12526CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000012527><I
12528CLASS="EMPHASIS"
12529>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012530></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000012531> :</TD
12532><TD
12533WIDTH="80%"
12534ALIGN="LEFT"
12535VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012536>the namespace pointer or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012537></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012538></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012539></TABLE
12540><P
12541></P
12542></DIV
12543></DIV
12544><HR><DIV
12545CLASS="REFSECT2"
12546><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012547NAME="AEN6710"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012548></A
12549><H3
12550><A
12551NAME="XMLGETNSLIST"
12552></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012553>xmlGetNsList ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012554><TABLE
12555BORDER="0"
12556BGCOLOR="#D6E8FF"
12557WIDTH="100%"
12558CELLPADDING="6"
12559><TR
12560><TD
12561><PRE
12562CLASS="PROGRAMLISTING"
12563><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012564HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012565>xmlNsPtr</A
12566>* xmlGetNsList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012567HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012568>xmlDocPtr</A
12569> doc,
12570 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012571HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012572>xmlNodePtr</A
12573> node);</PRE
12574></TD
12575></TR
12576></TABLE
12577><P
12578>Search all the namespace applying to a given element.</P
12579><P
12580></P
12581><DIV
12582CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012583><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012584NAME="AEN6719"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012585></P
12586><TABLE
12587BORDER="0"
12588WIDTH="100%"
12589BGCOLOR="#FFD0D0"
12590CELLSPACING="0"
12591CELLPADDING="4"
12592CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012593><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012594><TR
12595><TD
12596WIDTH="20%"
12597ALIGN="RIGHT"
12598VALIGN="TOP"
12599><TT
12600CLASS="PARAMETER"
12601><I
12602>doc</I
12603></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012604>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012605><TD
12606WIDTH="80%"
12607ALIGN="LEFT"
12608VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012609> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012610></TR
12611><TR
12612><TD
12613WIDTH="20%"
12614ALIGN="RIGHT"
12615VALIGN="TOP"
12616><TT
12617CLASS="PARAMETER"
12618><I
12619>node</I
12620></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012621>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012622><TD
12623WIDTH="80%"
12624ALIGN="LEFT"
12625VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012626> the current node</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012627></TR
12628><TR
12629><TD
12630WIDTH="20%"
12631ALIGN="RIGHT"
12632VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012633><SPAN
12634CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012635><I
12636CLASS="EMPHASIS"
12637>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012638></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012639> :</TD
12640><TD
12641WIDTH="80%"
12642ALIGN="LEFT"
12643VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000012644>an NULL terminated array of all the <A
12645HREF="libxml-tree.html#XMLNSPTR"
12646>xmlNsPtr</A
12647> found
Daniel Veillardaf43f632002-03-08 15:05:20 +000012648that need to be freed by the caller or NULL if no
12649namespace if defined</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012650></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012651></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000012652></TABLE
12653><P
12654></P
12655></DIV
12656></DIV
12657><HR><DIV
12658CLASS="REFSECT2"
12659><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012660NAME="AEN6737"
Daniel Veillard35925471999-02-25 08:46:07 +000012661></A
12662><H3
12663><A
12664NAME="XMLSETNS"
12665></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012666>xmlSetNs ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012667><TABLE
12668BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012669BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012670WIDTH="100%"
12671CELLPADDING="6"
12672><TR
12673><TD
12674><PRE
12675CLASS="PROGRAMLISTING"
12676>void xmlSetNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012677HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012678>xmlNodePtr</A
12679> node,
12680 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012681HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012682>xmlNsPtr</A
12683> ns);</PRE
12684></TD
12685></TR
12686></TABLE
12687><P
12688>Associate a namespace to a node, a posteriori.</P
12689><P
12690></P
12691><DIV
12692CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012693><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012694NAME="AEN6745"><P
Daniel Veillard35925471999-02-25 08:46:07 +000012695></P
12696><TABLE
12697BORDER="0"
12698WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012699BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012700CELLSPACING="0"
12701CELLPADDING="4"
12702CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012703><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012704><TR
12705><TD
12706WIDTH="20%"
12707ALIGN="RIGHT"
12708VALIGN="TOP"
12709><TT
12710CLASS="PARAMETER"
12711><I
12712>node</I
12713></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012714>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012715><TD
12716WIDTH="80%"
12717ALIGN="LEFT"
12718VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012719> a node in the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012720></TR
12721><TR
12722><TD
12723WIDTH="20%"
12724ALIGN="RIGHT"
12725VALIGN="TOP"
12726><TT
12727CLASS="PARAMETER"
12728><I
12729>ns</I
12730></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012731>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012732><TD
12733WIDTH="80%"
12734ALIGN="LEFT"
12735VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012736> a namespace pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012737></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012738></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012739></TABLE
12740><P
12741></P
12742></DIV
12743></DIV
12744><HR><DIV
12745CLASS="REFSECT2"
12746><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012747NAME="AEN6758"
Daniel Veillard35925471999-02-25 08:46:07 +000012748></A
12749><H3
12750><A
12751NAME="XMLCOPYNAMESPACE"
12752></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012753>xmlCopyNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012754><TABLE
12755BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012756BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012757WIDTH="100%"
12758CELLPADDING="6"
12759><TR
12760><TD
12761><PRE
12762CLASS="PROGRAMLISTING"
12763><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012764HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012765>xmlNsPtr</A
12766> xmlCopyNamespace (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012767HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012768>xmlNsPtr</A
12769> cur);</PRE
12770></TD
12771></TR
12772></TABLE
12773><P
12774>Do a copy of the namespace.</P
12775><P
12776></P
12777><DIV
12778CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012779><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012780NAME="AEN6766"><P
Daniel Veillard35925471999-02-25 08:46:07 +000012781></P
12782><TABLE
12783BORDER="0"
12784WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012785BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012786CELLSPACING="0"
12787CELLPADDING="4"
12788CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012789><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012790><TR
12791><TD
12792WIDTH="20%"
12793ALIGN="RIGHT"
12794VALIGN="TOP"
12795><TT
12796CLASS="PARAMETER"
12797><I
12798>cur</I
12799></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012800>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012801><TD
12802WIDTH="80%"
12803ALIGN="LEFT"
12804VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012805> the namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012806></TR
12807><TR
12808><TD
12809WIDTH="20%"
12810ALIGN="RIGHT"
12811VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012812><SPAN
12813CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000012814><I
12815CLASS="EMPHASIS"
12816>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012817></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000012818> :</TD
12819><TD
12820WIDTH="80%"
12821ALIGN="LEFT"
12822VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000012823> a new <A
12824HREF="libxml-tree.html#XMLNSPTR"
12825>xmlNsPtr</A
12826>, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012827></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012828></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012829></TABLE
12830><P
12831></P
12832></DIV
12833></DIV
12834><HR><DIV
12835CLASS="REFSECT2"
12836><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012837NAME="AEN6780"
Daniel Veillard35925471999-02-25 08:46:07 +000012838></A
12839><H3
12840><A
12841NAME="XMLCOPYNAMESPACELIST"
12842></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012843>xmlCopyNamespaceList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012844><TABLE
12845BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012846BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012847WIDTH="100%"
12848CELLPADDING="6"
12849><TR
12850><TD
12851><PRE
12852CLASS="PROGRAMLISTING"
12853><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012854HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012855>xmlNsPtr</A
12856> xmlCopyNamespaceList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012857HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012858>xmlNsPtr</A
12859> cur);</PRE
12860></TD
12861></TR
12862></TABLE
12863><P
12864>Do a copy of an namespace list.</P
12865><P
12866></P
12867><DIV
12868CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012869><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012870NAME="AEN6788"><P
Daniel Veillard35925471999-02-25 08:46:07 +000012871></P
12872><TABLE
12873BORDER="0"
12874WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012875BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012876CELLSPACING="0"
12877CELLPADDING="4"
12878CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012879><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012880><TR
12881><TD
12882WIDTH="20%"
12883ALIGN="RIGHT"
12884VALIGN="TOP"
12885><TT
12886CLASS="PARAMETER"
12887><I
12888>cur</I
12889></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012890>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012891><TD
12892WIDTH="80%"
12893ALIGN="LEFT"
12894VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012895> the first namespace</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012896></TR
12897><TR
12898><TD
12899WIDTH="20%"
12900ALIGN="RIGHT"
12901VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012902><SPAN
12903CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000012904><I
12905CLASS="EMPHASIS"
12906>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012907></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000012908> :</TD
12909><TD
12910WIDTH="80%"
12911ALIGN="LEFT"
12912VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000012913> a new <A
12914HREF="libxml-tree.html#XMLNSPTR"
12915>xmlNsPtr</A
12916>, or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012917></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000012918></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012919></TABLE
12920><P
12921></P
12922></DIV
12923></DIV
12924><HR><DIV
12925CLASS="REFSECT2"
12926><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012927NAME="AEN6802"
Daniel Veillard35925471999-02-25 08:46:07 +000012928></A
12929><H3
12930><A
12931NAME="XMLSETPROP"
12932></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012933>xmlSetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000012934><TABLE
12935BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000012936BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000012937WIDTH="100%"
12938CELLPADDING="6"
12939><TR
12940><TD
12941><PRE
12942CLASS="PROGRAMLISTING"
12943><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012944HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012945>xmlAttrPtr</A
12946> xmlSetProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012947HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000012948>xmlNodePtr</A
12949> node,
12950 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012951HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012952>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012953> *name,
12954 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000012955HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000012956>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000012957> *value);</PRE
12958></TD
12959></TR
12960></TABLE
12961><P
12962>Set (or reset) an attribute carried by a node.</P
12963><P
12964></P
12965><DIV
12966CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012967><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012968NAME="AEN6812"><P
Daniel Veillard35925471999-02-25 08:46:07 +000012969></P
12970><TABLE
12971BORDER="0"
12972WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000012973BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000012974CELLSPACING="0"
12975CELLPADDING="4"
12976CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000012977><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000012978><TR
12979><TD
12980WIDTH="20%"
12981ALIGN="RIGHT"
12982VALIGN="TOP"
12983><TT
12984CLASS="PARAMETER"
12985><I
12986>node</I
12987></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000012988>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012989><TD
12990WIDTH="80%"
12991ALIGN="LEFT"
12992VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000012993> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000012994></TR
12995><TR
12996><TD
12997WIDTH="20%"
12998ALIGN="RIGHT"
12999VALIGN="TOP"
13000><TT
13001CLASS="PARAMETER"
13002><I
13003>name</I
13004></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013005>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013006><TD
13007WIDTH="80%"
13008ALIGN="LEFT"
13009VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013010> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013011></TR
13012><TR
13013><TD
13014WIDTH="20%"
13015ALIGN="RIGHT"
13016VALIGN="TOP"
13017><TT
13018CLASS="PARAMETER"
13019><I
13020>value</I
13021></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013022>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013023><TD
13024WIDTH="80%"
13025ALIGN="LEFT"
13026VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013027> the attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013028></TR
13029><TR
13030><TD
13031WIDTH="20%"
13032ALIGN="RIGHT"
13033VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000013034><SPAN
13035CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000013036><I
13037CLASS="EMPHASIS"
13038>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000013039></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000013040> :</TD
13041><TD
13042WIDTH="80%"
13043ALIGN="LEFT"
13044VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013045>the attribute pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013046></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013047></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013048></TABLE
13049><P
13050></P
13051></DIV
13052></DIV
13053><HR><DIV
13054CLASS="REFSECT2"
13055><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013056NAME="AEN6833"
Daniel Veillard35925471999-02-25 08:46:07 +000013057></A
13058><H3
13059><A
13060NAME="XMLGETPROP"
13061></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000013062>xmlGetProp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000013063><TABLE
13064BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000013065BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000013066WIDTH="100%"
13067CELLPADDING="6"
13068><TR
13069><TD
13070><PRE
13071CLASS="PROGRAMLISTING"
13072><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013073HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000013074>xmlChar</A
13075>* xmlGetProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013076HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000013077>xmlNodePtr</A
13078> node,
13079 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013080HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000013081>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000013082> *name);</PRE
13083></TD
13084></TR
13085></TABLE
13086><P
13087>Search and get the value of an attribute associated to a node
Daniel Veillardf3a73582000-01-05 14:58:39 +000013088This does the entity substitution.
13089This function looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000013090HREF="FIXED-CAPS"
Daniel Veillardf3a73582000-01-05 14:58:39 +000013091>FIXED</GTKDOCLINK
13092> or
13093default declaration values unless DTD use has been turned off.</P
Daniel Veillard35925471999-02-25 08:46:07 +000013094><P
13095></P
13096><DIV
13097CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013098><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013099NAME="AEN6843"><P
Daniel Veillard35925471999-02-25 08:46:07 +000013100></P
13101><TABLE
13102BORDER="0"
13103WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000013104BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000013105CELLSPACING="0"
13106CELLPADDING="4"
13107CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013108><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013109><TR
13110><TD
13111WIDTH="20%"
13112ALIGN="RIGHT"
13113VALIGN="TOP"
13114><TT
13115CLASS="PARAMETER"
13116><I
13117>node</I
13118></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013119>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013120><TD
13121WIDTH="80%"
13122ALIGN="LEFT"
13123VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013124> the node</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013125></TR
13126><TR
13127><TD
13128WIDTH="20%"
13129ALIGN="RIGHT"
13130VALIGN="TOP"
13131><TT
13132CLASS="PARAMETER"
13133><I
13134>name</I
13135></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013136>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013137><TD
13138WIDTH="80%"
13139ALIGN="LEFT"
13140VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013141> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013142></TR
13143><TR
13144><TD
13145WIDTH="20%"
13146ALIGN="RIGHT"
13147VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000013148><SPAN
13149CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000013150><I
13151CLASS="EMPHASIS"
13152>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000013153></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000013154> :</TD
13155><TD
13156WIDTH="80%"
13157ALIGN="LEFT"
13158VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013159>the attribute value or NULL if not found.
Daniel Veillardaf43f632002-03-08 15:05:20 +000013160It's up to the caller to free the memory.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013161></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013162></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013163></TABLE
13164><P
13165></P
13166></DIV
13167></DIV
13168><HR><DIV
13169CLASS="REFSECT2"
13170><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013171NAME="AEN6860"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013172></A
13173><H3
13174><A
13175NAME="XMLHASPROP"
13176></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000013177>xmlHasProp ()</H3
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013178><TABLE
13179BORDER="0"
13180BGCOLOR="#D6E8FF"
13181WIDTH="100%"
13182CELLPADDING="6"
13183><TR
13184><TD
13185><PRE
13186CLASS="PROGRAMLISTING"
13187><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013188HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013189>xmlAttrPtr</A
13190> xmlHasProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013191HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013192>xmlNodePtr</A
13193> node,
13194 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013195HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013196>xmlChar</A
13197> *name);</PRE
13198></TD
13199></TR
13200></TABLE
13201><P
13202>Search an attribute associated to a node
13203This function also looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000013204HREF="FIXED-CAPS"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013205>FIXED</GTKDOCLINK
13206> or
13207default declaration values unless DTD use has been turned off.</P
13208><P
13209></P
13210><DIV
13211CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013212><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013213NAME="AEN6870"><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013214></P
13215><TABLE
13216BORDER="0"
13217WIDTH="100%"
13218BGCOLOR="#FFD0D0"
13219CELLSPACING="0"
13220CELLPADDING="4"
13221CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013222><TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013223><TR
13224><TD
13225WIDTH="20%"
13226ALIGN="RIGHT"
13227VALIGN="TOP"
13228><TT
13229CLASS="PARAMETER"
13230><I
13231>node</I
13232></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013233>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013234><TD
13235WIDTH="80%"
13236ALIGN="LEFT"
13237VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013238> the node</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013239></TR
13240><TR
13241><TD
13242WIDTH="20%"
13243ALIGN="RIGHT"
13244VALIGN="TOP"
13245><TT
13246CLASS="PARAMETER"
13247><I
13248>name</I
13249></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013250>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013251><TD
13252WIDTH="80%"
13253ALIGN="LEFT"
13254VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013255> the attribute name</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013256></TR
13257><TR
13258><TD
13259WIDTH="20%"
13260ALIGN="RIGHT"
13261VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000013262><SPAN
13263CLASS="emphasis"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013264><I
13265CLASS="EMPHASIS"
13266>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000013267></SPAN
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013268> :</TD
13269><TD
13270WIDTH="80%"
13271ALIGN="LEFT"
13272VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013273>the attribute or the attribute declaration or NULL if
Daniel Veillardaf43f632002-03-08 15:05:20 +000013274neither was found.</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013275></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013276></TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000013277></TABLE
13278><P
13279></P
13280></DIV
13281></DIV
13282><HR><DIV
13283CLASS="REFSECT2"
13284><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013285NAME="AEN6887"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013286></A
13287><H3
13288><A
13289NAME="XMLHASNSPROP"
13290></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000013291>xmlHasNsProp ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013292><TABLE
13293BORDER="0"
13294BGCOLOR="#D6E8FF"
13295WIDTH="100%"
13296CELLPADDING="6"
13297><TR
13298><TD
13299><PRE
13300CLASS="PROGRAMLISTING"
13301><A
13302HREF="libxml-tree.html#XMLATTRPTR"
13303>xmlAttrPtr</A
13304> xmlHasNsProp (<A
13305HREF="libxml-tree.html#XMLNODEPTR"
13306>xmlNodePtr</A
13307> node,
13308 const <A
13309HREF="libxml-tree.html#XMLCHAR"
13310>xmlChar</A
13311> *name,
13312 const <A
13313HREF="libxml-tree.html#XMLCHAR"
13314>xmlChar</A
13315> *nameSpace);</PRE
13316></TD
13317></TR
13318></TABLE
13319><P
13320>Search for an attribute associated to a node
13321This attribute has to be anchored in the namespace specified.
13322This does the entity substitution.
13323This function looks in DTD attribute declaration for <GTKDOCLINK
13324HREF="FIXED-CAPS"
13325>FIXED</GTKDOCLINK
13326> or
13327default declaration values unless DTD use has been turned off.</P
13328><P
13329></P
13330><DIV
13331CLASS="INFORMALTABLE"
13332><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013333NAME="AEN6898"><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013334></P
13335><TABLE
13336BORDER="0"
13337WIDTH="100%"
13338BGCOLOR="#FFD0D0"
13339CELLSPACING="0"
13340CELLPADDING="4"
13341CLASS="CALSTABLE"
13342><TBODY
13343><TR
13344><TD
13345WIDTH="20%"
13346ALIGN="RIGHT"
13347VALIGN="TOP"
13348><TT
13349CLASS="PARAMETER"
13350><I
13351>node</I
13352></TT
13353>&nbsp;:</TD
13354><TD
13355WIDTH="80%"
13356ALIGN="LEFT"
13357VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013358> the node</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013359></TR
13360><TR
13361><TD
13362WIDTH="20%"
13363ALIGN="RIGHT"
13364VALIGN="TOP"
13365><TT
13366CLASS="PARAMETER"
13367><I
13368>name</I
13369></TT
13370>&nbsp;:</TD
13371><TD
13372WIDTH="80%"
13373ALIGN="LEFT"
13374VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013375> the attribute name</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013376></TR
13377><TR
13378><TD
13379WIDTH="20%"
13380ALIGN="RIGHT"
13381VALIGN="TOP"
13382><TT
13383CLASS="PARAMETER"
13384><I
13385>nameSpace</I
13386></TT
13387>&nbsp;:</TD
13388><TD
13389WIDTH="80%"
13390ALIGN="LEFT"
13391VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013392> the URI of the namespace</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013393></TR
13394><TR
13395><TD
13396WIDTH="20%"
13397ALIGN="RIGHT"
13398VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000013399><SPAN
13400CLASS="emphasis"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013401><I
13402CLASS="EMPHASIS"
13403>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000013404></SPAN
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013405> :</TD
13406><TD
13407WIDTH="80%"
13408ALIGN="LEFT"
13409VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013410>the attribute or the attribute declaration or NULL
Daniel Veillardaf43f632002-03-08 15:05:20 +000013411if neither was found.</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000013412></TR
13413></TBODY
13414></TABLE
13415><P
13416></P
13417></DIV
13418></DIV
13419><HR><DIV
13420CLASS="REFSECT2"
13421><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013422NAME="AEN6919"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013423></A
13424><H3
13425><A
13426NAME="XMLSETNSPROP"
13427></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000013428>xmlSetNsProp ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013429><TABLE
13430BORDER="0"
13431BGCOLOR="#D6E8FF"
13432WIDTH="100%"
13433CELLPADDING="6"
13434><TR
13435><TD
13436><PRE
13437CLASS="PROGRAMLISTING"
13438><A
13439HREF="libxml-tree.html#XMLATTRPTR"
13440>xmlAttrPtr</A
13441> xmlSetNsProp (<A
13442HREF="libxml-tree.html#XMLNODEPTR"
13443>xmlNodePtr</A
13444> node,
13445 <A
13446HREF="libxml-tree.html#XMLNSPTR"
13447>xmlNsPtr</A
13448> ns,
13449 const <A
13450HREF="libxml-tree.html#XMLCHAR"
13451>xmlChar</A
13452> *name,
13453 const <A
13454HREF="libxml-tree.html#XMLCHAR"
13455>xmlChar</A
13456> *value);</PRE
13457></TD
13458></TR
13459></TABLE
13460><P
13461>Set (or reset) an attribute carried by a node.
13462The ns structure must be in scope, this is not checked.</P
13463><P
13464></P
13465><DIV
13466CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013467><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013468NAME="AEN6930"><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013469></P
13470><TABLE
13471BORDER="0"
13472WIDTH="100%"
13473BGCOLOR="#FFD0D0"
13474CELLSPACING="0"
13475CELLPADDING="4"
13476CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013477><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013478><TR
13479><TD
13480WIDTH="20%"
13481ALIGN="RIGHT"
13482VALIGN="TOP"
13483><TT
13484CLASS="PARAMETER"
13485><I
13486>node</I
13487></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013488>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013489><TD
13490WIDTH="80%"
13491ALIGN="LEFT"
13492VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013493> the node</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013494></TR
13495><TR
13496><TD
13497WIDTH="20%"
13498ALIGN="RIGHT"
13499VALIGN="TOP"
13500><TT
13501CLASS="PARAMETER"
13502><I
13503>ns</I
13504></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013505>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013506><TD
13507WIDTH="80%"
13508ALIGN="LEFT"
13509VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013510> the namespace definition</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013511></TR
13512><TR
13513><TD
13514WIDTH="20%"
13515ALIGN="RIGHT"
13516VALIGN="TOP"
13517><TT
13518CLASS="PARAMETER"
13519><I
13520>name</I
13521></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013522>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013523><TD
13524WIDTH="80%"
13525ALIGN="LEFT"
13526VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013527> the attribute name</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013528></TR
13529><TR
13530><TD
13531WIDTH="20%"
13532ALIGN="RIGHT"
13533VALIGN="TOP"
13534><TT
13535CLASS="PARAMETER"
13536><I
13537>value</I
13538></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013539>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013540><TD
13541WIDTH="80%"
13542ALIGN="LEFT"
13543VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013544> the attribute value</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013545></TR
13546><TR
13547><TD
13548WIDTH="20%"
13549ALIGN="RIGHT"
13550VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000013551><SPAN
13552CLASS="emphasis"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013553><I
13554CLASS="EMPHASIS"
13555>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000013556></SPAN
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013557> :</TD
13558><TD
13559WIDTH="80%"
13560ALIGN="LEFT"
13561VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013562>the attribute pointer.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013563></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013564></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013565></TABLE
13566><P
13567></P
13568></DIV
13569></DIV
13570><HR><DIV
13571CLASS="REFSECT2"
13572><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013573NAME="AEN6955"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013574></A
13575><H3
13576><A
13577NAME="XMLGETNSPROP"
13578></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000013579>xmlGetNsProp ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013580><TABLE
13581BORDER="0"
13582BGCOLOR="#D6E8FF"
13583WIDTH="100%"
13584CELLPADDING="6"
13585><TR
13586><TD
13587><PRE
13588CLASS="PROGRAMLISTING"
13589><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013590HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013591>xmlChar</A
13592>* xmlGetNsProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013593HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013594>xmlNodePtr</A
13595> node,
13596 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013597HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013598>xmlChar</A
13599> *name,
13600 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013601HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013602>xmlChar</A
13603> *nameSpace);</PRE
13604></TD
13605></TR
13606></TABLE
13607><P
13608>Search and get the value of an attribute associated to a node
13609This attribute has to be anchored in the namespace specified.
13610This does the entity substitution.
13611This function looks in DTD attribute declaration for <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000013612HREF="FIXED-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013613>FIXED</GTKDOCLINK
13614> or
13615default declaration values unless DTD use has been turned off.</P
13616><P
13617></P
13618><DIV
13619CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013620><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013621NAME="AEN6966"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013622></P
13623><TABLE
13624BORDER="0"
13625WIDTH="100%"
13626BGCOLOR="#FFD0D0"
13627CELLSPACING="0"
13628CELLPADDING="4"
13629CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013630><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013631><TR
13632><TD
13633WIDTH="20%"
13634ALIGN="RIGHT"
13635VALIGN="TOP"
13636><TT
13637CLASS="PARAMETER"
13638><I
13639>node</I
13640></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013641>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013642><TD
13643WIDTH="80%"
13644ALIGN="LEFT"
13645VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013646> the node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013647></TR
13648><TR
13649><TD
13650WIDTH="20%"
13651ALIGN="RIGHT"
13652VALIGN="TOP"
13653><TT
13654CLASS="PARAMETER"
13655><I
13656>name</I
13657></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013658>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013659><TD
13660WIDTH="80%"
13661ALIGN="LEFT"
13662VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013663> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013664></TR
13665><TR
13666><TD
13667WIDTH="20%"
13668ALIGN="RIGHT"
13669VALIGN="TOP"
13670><TT
13671CLASS="PARAMETER"
13672><I
13673>nameSpace</I
13674></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013675>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013676><TD
13677WIDTH="80%"
13678ALIGN="LEFT"
13679VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013680> the URI of the namespace</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013681></TR
13682><TR
13683><TD
13684WIDTH="20%"
13685ALIGN="RIGHT"
13686VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000013687><SPAN
13688CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013689><I
13690CLASS="EMPHASIS"
13691>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000013692></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013693> :</TD
13694><TD
13695WIDTH="80%"
13696ALIGN="LEFT"
13697VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013698>the attribute value or NULL if not found.
Daniel Veillardaf43f632002-03-08 15:05:20 +000013699It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013700></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013701></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000013702></TABLE
13703><P
13704></P
13705></DIV
13706></DIV
13707><HR><DIV
13708CLASS="REFSECT2"
13709><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013710NAME="AEN6987"
Daniel Veillard35925471999-02-25 08:46:07 +000013711></A
13712><H3
13713><A
13714NAME="XMLSTRINGGETNODELIST"
13715></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000013716>xmlStringGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000013717><TABLE
13718BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000013719BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000013720WIDTH="100%"
13721CELLPADDING="6"
13722><TR
13723><TD
13724><PRE
13725CLASS="PROGRAMLISTING"
13726><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013727HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000013728>xmlNodePtr</A
13729> xmlStringGetNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013730HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000013731>xmlDocPtr</A
13732> doc,
13733 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013734HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000013735>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000013736> *value);</PRE
13737></TD
13738></TR
13739></TABLE
13740><P
13741>Parse the value string and build the node list associated. Should
13742produce a flat tree with only TEXTs and ENTITY_REFs.</P
13743><P
13744></P
13745><DIV
13746CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013747><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013748NAME="AEN6996"><P
Daniel Veillard35925471999-02-25 08:46:07 +000013749></P
13750><TABLE
13751BORDER="0"
13752WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000013753BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000013754CELLSPACING="0"
13755CELLPADDING="4"
13756CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013757><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013758><TR
13759><TD
13760WIDTH="20%"
13761ALIGN="RIGHT"
13762VALIGN="TOP"
13763><TT
13764CLASS="PARAMETER"
13765><I
13766>doc</I
13767></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013768>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013769><TD
13770WIDTH="80%"
13771ALIGN="LEFT"
13772VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013773> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013774></TR
13775><TR
13776><TD
13777WIDTH="20%"
13778ALIGN="RIGHT"
13779VALIGN="TOP"
13780><TT
13781CLASS="PARAMETER"
13782><I
13783>value</I
13784></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013785>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013786><TD
13787WIDTH="80%"
13788ALIGN="LEFT"
13789VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013790> the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013791></TR
13792><TR
13793><TD
13794WIDTH="20%"
13795ALIGN="RIGHT"
13796VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000013797><SPAN
13798CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000013799><I
13800CLASS="EMPHASIS"
13801>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000013802></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000013803> :</TD
13804><TD
13805WIDTH="80%"
13806ALIGN="LEFT"
13807VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013808>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013809></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013810></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013811></TABLE
13812><P
13813></P
13814></DIV
13815></DIV
13816><HR><DIV
13817CLASS="REFSECT2"
13818><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013819NAME="AEN7013"
Daniel Veillard35925471999-02-25 08:46:07 +000013820></A
13821><H3
13822><A
13823NAME="XMLSTRINGLENGETNODELIST"
13824></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000013825>xmlStringLenGetNodeList ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000013826><TABLE
13827BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000013828BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000013829WIDTH="100%"
13830CELLPADDING="6"
13831><TR
13832><TD
13833><PRE
13834CLASS="PROGRAMLISTING"
13835><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013836HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000013837>xmlNodePtr</A
13838> xmlStringLenGetNodeList (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013839HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000013840>xmlDocPtr</A
13841> doc,
13842 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013843HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000013844>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000013845> *value,
13846 int len);</PRE
13847></TD
13848></TR
13849></TABLE
13850><P
13851>Parse the value string and build the node list associated. Should
13852produce a flat tree with only TEXTs and ENTITY_REFs.</P
13853><P
13854></P
13855><DIV
13856CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013857><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013858NAME="AEN7022"><P
Daniel Veillard35925471999-02-25 08:46:07 +000013859></P
13860><TABLE
13861BORDER="0"
13862WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000013863BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000013864CELLSPACING="0"
13865CELLPADDING="4"
13866CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013867><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013868><TR
13869><TD
13870WIDTH="20%"
13871ALIGN="RIGHT"
13872VALIGN="TOP"
13873><TT
13874CLASS="PARAMETER"
13875><I
13876>doc</I
13877></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013878>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013879><TD
13880WIDTH="80%"
13881ALIGN="LEFT"
13882VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013883> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013884></TR
13885><TR
13886><TD
13887WIDTH="20%"
13888ALIGN="RIGHT"
13889VALIGN="TOP"
13890><TT
13891CLASS="PARAMETER"
13892><I
13893>value</I
13894></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013895>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013896><TD
13897WIDTH="80%"
13898ALIGN="LEFT"
13899VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013900> the value of the text</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013901></TR
13902><TR
13903><TD
13904WIDTH="20%"
13905ALIGN="RIGHT"
13906VALIGN="TOP"
13907><TT
13908CLASS="PARAMETER"
13909><I
13910>len</I
13911></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000013912>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013913><TD
13914WIDTH="80%"
13915ALIGN="LEFT"
13916VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013917> the length of the string value</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013918></TR
13919><TR
13920><TD
13921WIDTH="20%"
13922ALIGN="RIGHT"
13923VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000013924><SPAN
13925CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000013926><I
13927CLASS="EMPHASIS"
13928>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000013929></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000013930> :</TD
13931><TD
13932WIDTH="80%"
13933ALIGN="LEFT"
13934VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000013935>a pointer to the first child</TD
Daniel Veillard35925471999-02-25 08:46:07 +000013936></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000013937></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013938></TABLE
13939><P
13940></P
13941></DIV
13942></DIV
13943><HR><DIV
13944CLASS="REFSECT2"
13945><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013946NAME="AEN7043"
Daniel Veillard35925471999-02-25 08:46:07 +000013947></A
13948><H3
13949><A
13950NAME="XMLNODELISTGETSTRING"
13951></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000013952>xmlNodeListGetString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000013953><TABLE
13954BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000013955BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000013956WIDTH="100%"
13957CELLPADDING="6"
13958><TR
13959><TD
13960><PRE
13961CLASS="PROGRAMLISTING"
13962><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013963HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000013964>xmlChar</A
13965>* xmlNodeListGetString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013966HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000013967>xmlDocPtr</A
13968> doc,
13969 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000013970HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000013971>xmlNodePtr</A
13972> list,
13973 int inLine);</PRE
13974></TD
13975></TR
13976></TABLE
13977><P
13978>Returns the string equivalent to the text contained in the Node list
13979made of TEXTs and ENTITY_REFs</P
13980><P
13981></P
13982><DIV
13983CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013984><A
Daniel Veillard539638b2002-07-06 19:55:14 +000013985NAME="AEN7052"><P
Daniel Veillard35925471999-02-25 08:46:07 +000013986></P
13987><TABLE
13988BORDER="0"
13989WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000013990BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000013991CELLSPACING="0"
13992CELLPADDING="4"
13993CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000013994><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000013995><TR
13996><TD
13997WIDTH="20%"
13998ALIGN="RIGHT"
13999VALIGN="TOP"
14000><TT
14001CLASS="PARAMETER"
14002><I
14003>doc</I
14004></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014005>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014006><TD
14007WIDTH="80%"
14008ALIGN="LEFT"
14009VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014010> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014011></TR
14012><TR
14013><TD
14014WIDTH="20%"
14015ALIGN="RIGHT"
14016VALIGN="TOP"
14017><TT
14018CLASS="PARAMETER"
14019><I
14020>list</I
14021></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014022>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014023><TD
14024WIDTH="80%"
14025ALIGN="LEFT"
14026VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014027> a Node list</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014028></TR
14029><TR
14030><TD
14031WIDTH="20%"
14032ALIGN="RIGHT"
14033VALIGN="TOP"
14034><TT
14035CLASS="PARAMETER"
14036><I
14037>inLine</I
14038></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014039>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014040><TD
14041WIDTH="80%"
14042ALIGN="LEFT"
14043VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014044> should we replace entity contents or show their external form</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014045></TR
14046><TR
14047><TD
14048WIDTH="20%"
14049ALIGN="RIGHT"
14050VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000014051><SPAN
14052CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +000014053><I
14054CLASS="EMPHASIS"
14055>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000014056></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +000014057> :</TD
14058><TD
14059WIDTH="80%"
14060ALIGN="LEFT"
14061VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000014062>a pointer to the string copy, the caller must free it.</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014063></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014064></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000014065></TABLE
14066><P
14067></P
14068></DIV
14069></DIV
14070><HR><DIV
14071CLASS="REFSECT2"
14072><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014073NAME="AEN7073"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014074></A
14075><H3
14076><A
14077NAME="XMLNODELISTGETRAWSTRING"
14078></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014079>xmlNodeListGetRawString ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014080><TABLE
14081BORDER="0"
14082BGCOLOR="#D6E8FF"
14083WIDTH="100%"
14084CELLPADDING="6"
14085><TR
14086><TD
14087><PRE
14088CLASS="PROGRAMLISTING"
14089><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014090HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014091>xmlChar</A
14092>* xmlNodeListGetRawString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014093HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014094>xmlDocPtr</A
14095> doc,
14096 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014097HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014098>xmlNodePtr</A
14099> list,
14100 int inLine);</PRE
14101></TD
14102></TR
14103></TABLE
14104><P
14105>Returns the string equivalent to the text contained in the Node list
14106made of TEXTs and ENTITY_REFs, contrary to <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014107HREF="libxml-tree.html#XMLNODELISTGETSTRING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014108>xmlNodeListGetString</A
14109>()
14110this function doesn't do any character encoding handling.</P
14111><P
14112></P
14113><DIV
14114CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014115><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014116NAME="AEN7083"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014117></P
14118><TABLE
14119BORDER="0"
14120WIDTH="100%"
14121BGCOLOR="#FFD0D0"
14122CELLSPACING="0"
14123CELLPADDING="4"
14124CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014125><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014126><TR
14127><TD
14128WIDTH="20%"
14129ALIGN="RIGHT"
14130VALIGN="TOP"
14131><TT
14132CLASS="PARAMETER"
14133><I
14134>doc</I
14135></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014136>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014137><TD
14138WIDTH="80%"
14139ALIGN="LEFT"
14140VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014141> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014142></TR
14143><TR
14144><TD
14145WIDTH="20%"
14146ALIGN="RIGHT"
14147VALIGN="TOP"
14148><TT
14149CLASS="PARAMETER"
14150><I
14151>list</I
14152></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014153>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014154><TD
14155WIDTH="80%"
14156ALIGN="LEFT"
14157VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014158> a Node list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014159></TR
14160><TR
14161><TD
14162WIDTH="20%"
14163ALIGN="RIGHT"
14164VALIGN="TOP"
14165><TT
14166CLASS="PARAMETER"
14167><I
14168>inLine</I
14169></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014170>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014171><TD
14172WIDTH="80%"
14173ALIGN="LEFT"
14174VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014175> should we replace entity contents or show their external form</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014176></TR
14177><TR
14178><TD
14179WIDTH="20%"
14180ALIGN="RIGHT"
14181VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000014182><SPAN
14183CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014184><I
14185CLASS="EMPHASIS"
14186>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000014187></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014188> :</TD
14189><TD
14190WIDTH="80%"
14191ALIGN="LEFT"
14192VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000014193>a pointer to the string copy, the caller must free it.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014194></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014195></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014196></TABLE
14197><P
14198></P
14199></DIV
14200></DIV
14201><HR><DIV
14202CLASS="REFSECT2"
14203><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014204NAME="AEN7104"
Daniel Veillard35925471999-02-25 08:46:07 +000014205></A
14206><H3
14207><A
14208NAME="XMLNODESETCONTENT"
14209></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014210>xmlNodeSetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000014211><TABLE
14212BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000014213BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000014214WIDTH="100%"
14215CELLPADDING="6"
14216><TR
14217><TD
14218><PRE
14219CLASS="PROGRAMLISTING"
14220>void xmlNodeSetContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014221HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000014222>xmlNodePtr</A
14223> cur,
14224 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014225HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000014226>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000014227> *content);</PRE
14228></TD
14229></TR
14230></TABLE
14231><P
14232>Replace the content of a node.</P
14233><P
14234></P
14235><DIV
14236CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014237><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014238NAME="AEN7112"><P
Daniel Veillard35925471999-02-25 08:46:07 +000014239></P
14240><TABLE
14241BORDER="0"
14242WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000014243BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000014244CELLSPACING="0"
14245CELLPADDING="4"
14246CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014247><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000014248><TR
14249><TD
14250WIDTH="20%"
14251ALIGN="RIGHT"
14252VALIGN="TOP"
14253><TT
14254CLASS="PARAMETER"
14255><I
14256>cur</I
14257></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014258>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014259><TD
14260WIDTH="80%"
14261ALIGN="LEFT"
14262VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014263> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014264></TR
14265><TR
14266><TD
14267WIDTH="20%"
14268ALIGN="RIGHT"
14269VALIGN="TOP"
14270><TT
14271CLASS="PARAMETER"
14272><I
14273>content</I
14274></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014275>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014276><TD
14277WIDTH="80%"
14278ALIGN="LEFT"
14279VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000014280> the new value of the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014281></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014282></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000014283></TABLE
14284><P
14285></P
14286></DIV
14287></DIV
14288><HR><DIV
14289CLASS="REFSECT2"
14290><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014291NAME="AEN7125"
Daniel Veillard35925471999-02-25 08:46:07 +000014292></A
14293><H3
14294><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000014295NAME="XMLNODESETCONTENTLEN"
14296></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014297>xmlNodeSetContentLen ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +000014298><TABLE
14299BORDER="0"
14300BGCOLOR="#D6E8FF"
14301WIDTH="100%"
14302CELLPADDING="6"
14303><TR
14304><TD
14305><PRE
14306CLASS="PROGRAMLISTING"
14307>void xmlNodeSetContentLen (<A
14308HREF="libxml-tree.html#XMLNODEPTR"
14309>xmlNodePtr</A
14310> cur,
14311 const <A
14312HREF="libxml-tree.html#XMLCHAR"
14313>xmlChar</A
14314> *content,
14315 int len);</PRE
14316></TD
14317></TR
14318></TABLE
14319><P
14320>Replace the content of a node.</P
14321><P
14322></P
14323><DIV
14324CLASS="INFORMALTABLE"
14325><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014326NAME="AEN7133"><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +000014327></P
14328><TABLE
14329BORDER="0"
14330WIDTH="100%"
14331BGCOLOR="#FFD0D0"
14332CELLSPACING="0"
14333CELLPADDING="4"
14334CLASS="CALSTABLE"
14335><TBODY
14336><TR
14337><TD
14338WIDTH="20%"
14339ALIGN="RIGHT"
14340VALIGN="TOP"
14341><TT
14342CLASS="PARAMETER"
14343><I
14344>cur</I
14345></TT
14346>&nbsp;:</TD
14347><TD
14348WIDTH="80%"
14349ALIGN="LEFT"
14350VALIGN="TOP"
14351> the node being modified</TD
14352></TR
14353><TR
14354><TD
14355WIDTH="20%"
14356ALIGN="RIGHT"
14357VALIGN="TOP"
14358><TT
14359CLASS="PARAMETER"
14360><I
14361>content</I
14362></TT
14363>&nbsp;:</TD
14364><TD
14365WIDTH="80%"
14366ALIGN="LEFT"
14367VALIGN="TOP"
14368> the new value of the content</TD
14369></TR
14370><TR
14371><TD
14372WIDTH="20%"
14373ALIGN="RIGHT"
14374VALIGN="TOP"
14375><TT
14376CLASS="PARAMETER"
14377><I
14378>len</I
14379></TT
14380>&nbsp;:</TD
14381><TD
14382WIDTH="80%"
14383ALIGN="LEFT"
14384VALIGN="TOP"
14385> the size of <TT
14386CLASS="PARAMETER"
14387><I
14388>content</I
14389></TT
14390></TD
14391></TR
14392></TBODY
14393></TABLE
14394><P
14395></P
14396></DIV
14397></DIV
14398><HR><DIV
14399CLASS="REFSECT2"
14400><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014401NAME="AEN7151"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000014402></A
14403><H3
14404><A
14405NAME="XMLNODEADDCONTENT"
14406></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014407>xmlNodeAddContent ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +000014408><TABLE
14409BORDER="0"
14410BGCOLOR="#D6E8FF"
14411WIDTH="100%"
14412CELLPADDING="6"
14413><TR
14414><TD
14415><PRE
14416CLASS="PROGRAMLISTING"
14417>void xmlNodeAddContent (<A
14418HREF="libxml-tree.html#XMLNODEPTR"
14419>xmlNodePtr</A
14420> cur,
14421 const <A
14422HREF="libxml-tree.html#XMLCHAR"
14423>xmlChar</A
14424> *content);</PRE
14425></TD
14426></TR
14427></TABLE
14428><P
14429>Append the extra substring to the node content.</P
14430><P
14431></P
14432><DIV
14433CLASS="INFORMALTABLE"
14434><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014435NAME="AEN7159"><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +000014436></P
14437><TABLE
14438BORDER="0"
14439WIDTH="100%"
14440BGCOLOR="#FFD0D0"
14441CELLSPACING="0"
14442CELLPADDING="4"
14443CLASS="CALSTABLE"
14444><TBODY
14445><TR
14446><TD
14447WIDTH="20%"
14448ALIGN="RIGHT"
14449VALIGN="TOP"
14450><TT
14451CLASS="PARAMETER"
14452><I
14453>cur</I
14454></TT
14455>&nbsp;:</TD
14456><TD
14457WIDTH="80%"
14458ALIGN="LEFT"
14459VALIGN="TOP"
14460> the node being modified</TD
14461></TR
14462><TR
14463><TD
14464WIDTH="20%"
14465ALIGN="RIGHT"
14466VALIGN="TOP"
14467><TT
14468CLASS="PARAMETER"
14469><I
14470>content</I
14471></TT
14472>&nbsp;:</TD
14473><TD
14474WIDTH="80%"
14475ALIGN="LEFT"
14476VALIGN="TOP"
14477> extra content</TD
14478></TR
14479></TBODY
14480></TABLE
14481><P
14482></P
14483></DIV
14484></DIV
14485><HR><DIV
14486CLASS="REFSECT2"
14487><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014488NAME="AEN7172"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000014489></A
14490><H3
14491><A
Daniel Veillard35925471999-02-25 08:46:07 +000014492NAME="XMLNODEADDCONTENTLEN"
14493></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014494>xmlNodeAddContentLen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000014495><TABLE
14496BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000014497BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000014498WIDTH="100%"
14499CELLPADDING="6"
14500><TR
14501><TD
14502><PRE
14503CLASS="PROGRAMLISTING"
14504>void xmlNodeAddContentLen (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014505HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +000014506>xmlNodePtr</A
14507> cur,
14508 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014509HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000014510>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +000014511> *content,
14512 int len);</PRE
14513></TD
14514></TR
14515></TABLE
14516><P
14517>Append the extra substring to the node content.</P
14518><P
14519></P
14520><DIV
14521CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014522><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014523NAME="AEN7180"><P
Daniel Veillard35925471999-02-25 08:46:07 +000014524></P
14525><TABLE
14526BORDER="0"
14527WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000014528BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000014529CELLSPACING="0"
14530CELLPADDING="4"
14531CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014532><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000014533><TR
14534><TD
14535WIDTH="20%"
14536ALIGN="RIGHT"
14537VALIGN="TOP"
14538><TT
14539CLASS="PARAMETER"
14540><I
14541>cur</I
14542></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014543>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014544><TD
14545WIDTH="80%"
14546ALIGN="LEFT"
14547VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014548> the node being modified</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014549></TR
14550><TR
14551><TD
14552WIDTH="20%"
14553ALIGN="RIGHT"
14554VALIGN="TOP"
14555><TT
14556CLASS="PARAMETER"
14557><I
14558>content</I
14559></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014560>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014561><TD
14562WIDTH="80%"
14563ALIGN="LEFT"
14564VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014565> extra content</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014566></TR
14567><TR
14568><TD
14569WIDTH="20%"
14570ALIGN="RIGHT"
14571VALIGN="TOP"
14572><TT
14573CLASS="PARAMETER"
14574><I
14575>len</I
14576></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014577>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +000014578><TD
14579WIDTH="80%"
14580ALIGN="LEFT"
14581VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014582> the size of <TT
14583CLASS="PARAMETER"
14584><I
14585>content</I
14586></TT
14587></TD
Daniel Veillard35925471999-02-25 08:46:07 +000014588></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014589></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +000014590></TABLE
14591><P
14592></P
14593></DIV
14594></DIV
14595><HR><DIV
14596CLASS="REFSECT2"
14597><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014598NAME="AEN7198"
Daniel Veillard35925471999-02-25 08:46:07 +000014599></A
14600><H3
14601><A
14602NAME="XMLNODEGETCONTENT"
14603></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014604>xmlNodeGetContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000014605><TABLE
14606BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000014607BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000014608WIDTH="100%"
14609CELLPADDING="6"
14610><TR
14611><TD
14612><PRE
14613CLASS="PROGRAMLISTING"
14614><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014615HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +000014616>xmlChar</A
14617>* xmlNodeGetContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014618HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014619>xmlNodePtr</A
14620> cur);</PRE
14621></TD
14622></TR
14623></TABLE
14624><P
14625>Read the value of a node, this can be either the text carried
14626directly by this node if it's a TEXT node or the aggregate string
14627of the values carried by this node child's (TEXT and ENTITY_REF).
Daniel Veillardcbaf3992001-12-31 16:16:02 +000014628Entity references are substituted.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014629><P
14630></P
14631><DIV
14632CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014633><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014634NAME="AEN7206"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014635></P
14636><TABLE
14637BORDER="0"
14638WIDTH="100%"
14639BGCOLOR="#FFD0D0"
14640CELLSPACING="0"
14641CELLPADDING="4"
14642CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014643><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014644><TR
14645><TD
14646WIDTH="20%"
14647ALIGN="RIGHT"
14648VALIGN="TOP"
14649><TT
14650CLASS="PARAMETER"
14651><I
14652>cur</I
14653></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014654>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014655><TD
14656WIDTH="80%"
14657ALIGN="LEFT"
14658VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014659> the node being read</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014660></TR
14661><TR
14662><TD
14663WIDTH="20%"
14664ALIGN="RIGHT"
14665VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000014666><SPAN
14667CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014668><I
14669CLASS="EMPHASIS"
14670>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000014671></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014672> :</TD
14673><TD
14674WIDTH="80%"
14675ALIGN="LEFT"
14676VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000014677>a new <A
14678HREF="libxml-tree.html#XMLCHAR"
14679>xmlChar</A
14680> * or NULL if no content is available.
Daniel Veillardaf43f632002-03-08 15:05:20 +000014681It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014682></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014683></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014684></TABLE
14685><P
14686></P
14687></DIV
14688></DIV
14689><HR><DIV
14690CLASS="REFSECT2"
14691><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014692NAME="AEN7220"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014693></A
14694><H3
14695><A
14696NAME="XMLNODEGETLANG"
14697></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014698>xmlNodeGetLang ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014699><TABLE
14700BORDER="0"
14701BGCOLOR="#D6E8FF"
14702WIDTH="100%"
14703CELLPADDING="6"
14704><TR
14705><TD
14706><PRE
14707CLASS="PROGRAMLISTING"
14708><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014709HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014710>xmlChar</A
14711>* xmlNodeGetLang (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014712HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014713>xmlNodePtr</A
14714> cur);</PRE
14715></TD
14716></TR
14717></TABLE
14718><P
14719>Searches the language of a node, i.e. the values of the xml:lang
14720attribute or the one carried by the nearest ancestor.</P
14721><P
14722></P
14723><DIV
14724CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014725><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014726NAME="AEN7228"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014727></P
14728><TABLE
14729BORDER="0"
14730WIDTH="100%"
14731BGCOLOR="#FFD0D0"
14732CELLSPACING="0"
14733CELLPADDING="4"
14734CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014735><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014736><TR
14737><TD
14738WIDTH="20%"
14739ALIGN="RIGHT"
14740VALIGN="TOP"
14741><TT
14742CLASS="PARAMETER"
14743><I
14744>cur</I
14745></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014746>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014747><TD
14748WIDTH="80%"
14749ALIGN="LEFT"
14750VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014751> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014752></TR
14753><TR
14754><TD
14755WIDTH="20%"
14756ALIGN="RIGHT"
14757VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000014758><SPAN
14759CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014760><I
14761CLASS="EMPHASIS"
14762>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000014763></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014764> :</TD
14765><TD
14766WIDTH="80%"
14767ALIGN="LEFT"
14768VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014769>a pointer to the lang value, or NULL if not found
Daniel Veillardaf43f632002-03-08 15:05:20 +000014770It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014771></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014772></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014773></TABLE
14774><P
14775></P
14776></DIV
14777></DIV
14778><HR><DIV
14779CLASS="REFSECT2"
14780><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014781NAME="AEN7241"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014782></A
14783><H3
14784><A
14785NAME="XMLNODESETLANG"
14786></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014787>xmlNodeSetLang ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014788><TABLE
14789BORDER="0"
14790BGCOLOR="#D6E8FF"
14791WIDTH="100%"
14792CELLPADDING="6"
14793><TR
14794><TD
14795><PRE
14796CLASS="PROGRAMLISTING"
14797>void xmlNodeSetLang (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014798HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014799>xmlNodePtr</A
14800> cur,
14801 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014802HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014803>xmlChar</A
14804> *lang);</PRE
14805></TD
14806></TR
14807></TABLE
14808><P
14809>Set the language of a node, i.e. the values of the xml:lang
14810attribute.</P
14811><P
14812></P
14813><DIV
14814CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014815><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014816NAME="AEN7249"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014817></P
14818><TABLE
14819BORDER="0"
14820WIDTH="100%"
14821BGCOLOR="#FFD0D0"
14822CELLSPACING="0"
14823CELLPADDING="4"
14824CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014825><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014826><TR
14827><TD
14828WIDTH="20%"
14829ALIGN="RIGHT"
14830VALIGN="TOP"
14831><TT
14832CLASS="PARAMETER"
14833><I
14834>cur</I
14835></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014836>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014837><TD
14838WIDTH="80%"
14839ALIGN="LEFT"
14840VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014841> the node being changed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014842></TR
14843><TR
14844><TD
14845WIDTH="20%"
14846ALIGN="RIGHT"
14847VALIGN="TOP"
14848><TT
14849CLASS="PARAMETER"
14850><I
14851>lang</I
14852></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014853>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014854><TD
14855WIDTH="80%"
14856ALIGN="LEFT"
14857VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000014858> the language description</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014859></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014860></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014861></TABLE
14862><P
14863></P
14864></DIV
14865></DIV
14866><HR><DIV
14867CLASS="REFSECT2"
14868><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014869NAME="AEN7262"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014870></A
14871><H3
14872><A
14873NAME="XMLNODEGETSPACEPRESERVE"
14874></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014875>xmlNodeGetSpacePreserve ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014876><TABLE
14877BORDER="0"
14878BGCOLOR="#D6E8FF"
14879WIDTH="100%"
14880CELLPADDING="6"
14881><TR
14882><TD
14883><PRE
14884CLASS="PROGRAMLISTING"
14885>int xmlNodeGetSpacePreserve (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014886HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014887>xmlNodePtr</A
14888> cur);</PRE
14889></TD
14890></TR
14891></TABLE
14892><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +000014893>Searches the space preserving behaviour of a node, i.e. the values
14894of the xml:space attribute or the one carried by the nearest
14895ancestor.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014896><P
14897></P
14898><DIV
14899CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014900><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014901NAME="AEN7269"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014902></P
14903><TABLE
14904BORDER="0"
14905WIDTH="100%"
14906BGCOLOR="#FFD0D0"
14907CELLSPACING="0"
14908CELLPADDING="4"
14909CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014910><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014911><TR
14912><TD
14913WIDTH="20%"
14914ALIGN="RIGHT"
14915VALIGN="TOP"
14916><TT
14917CLASS="PARAMETER"
14918><I
14919>cur</I
14920></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000014921>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014922><TD
14923WIDTH="80%"
14924ALIGN="LEFT"
14925VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000014926> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014927></TR
14928><TR
14929><TD
14930WIDTH="20%"
14931ALIGN="RIGHT"
14932VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000014933><SPAN
14934CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014935><I
14936CLASS="EMPHASIS"
14937>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000014938></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014939> :</TD
14940><TD
14941WIDTH="80%"
14942ALIGN="LEFT"
14943VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000014944>-1 if xml:space is not inherited, 0 if "default", 1 if "preserve"</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014945></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000014946></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000014947></TABLE
14948><P
14949></P
14950></DIV
14951></DIV
14952><HR><DIV
14953CLASS="REFSECT2"
14954><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014955NAME="AEN7282"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000014956></A
14957><H3
14958><A
14959NAME="XMLNODESETSPACEPRESERVE"
14960></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000014961>xmlNodeSetSpacePreserve ()</H3
Daniel Veillard29a11cc2000-10-25 13:32:39 +000014962><TABLE
14963BORDER="0"
14964BGCOLOR="#D6E8FF"
14965WIDTH="100%"
14966CELLPADDING="6"
14967><TR
14968><TD
14969><PRE
14970CLASS="PROGRAMLISTING"
14971>void xmlNodeSetSpacePreserve (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000014972HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000014973>xmlNodePtr</A
14974> cur,
Daniel Veillardcbaf3992001-12-31 16:16:02 +000014975 int val);</PRE
Daniel Veillard29a11cc2000-10-25 13:32:39 +000014976></TD
14977></TR
14978></TABLE
14979><P
14980>Set (or reset) the space preserving behaviour of a node, i.e. the
14981value of the xml:space attribute.</P
14982><P
14983></P
14984><DIV
14985CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014986><A
Daniel Veillard539638b2002-07-06 19:55:14 +000014987NAME="AEN7289"><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +000014988></P
14989><TABLE
14990BORDER="0"
14991WIDTH="100%"
14992BGCOLOR="#FFD0D0"
14993CELLSPACING="0"
14994CELLPADDING="4"
14995CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000014996><TBODY
Daniel Veillard29a11cc2000-10-25 13:32:39 +000014997><TR
14998><TD
14999WIDTH="20%"
15000ALIGN="RIGHT"
15001VALIGN="TOP"
15002><TT
15003CLASS="PARAMETER"
15004><I
15005>cur</I
15006></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015007>&nbsp;:</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015008><TD
15009WIDTH="80%"
15010ALIGN="LEFT"
15011VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015012> the node being changed</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015013></TR
15014><TR
15015><TD
15016WIDTH="20%"
15017ALIGN="RIGHT"
15018VALIGN="TOP"
15019><TT
15020CLASS="PARAMETER"
15021><I
Daniel Veillardcbaf3992001-12-31 16:16:02 +000015022>val</I
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015023></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015024>&nbsp;:</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015025><TD
15026WIDTH="80%"
15027ALIGN="LEFT"
15028VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000015029> the xml:space value ("0": default, 1: "preserve")</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015030></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015031></TBODY
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015032></TABLE
15033><P
15034></P
15035></DIV
15036></DIV
15037><HR><DIV
15038CLASS="REFSECT2"
15039><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015040NAME="AEN7302"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015041></A
15042><H3
15043><A
15044NAME="XMLNODEGETBASE"
15045></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015046>xmlNodeGetBase ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015047><TABLE
15048BORDER="0"
15049BGCOLOR="#D6E8FF"
15050WIDTH="100%"
15051CELLPADDING="6"
15052><TR
15053><TD
15054><PRE
15055CLASS="PROGRAMLISTING"
15056><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015057HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015058>xmlChar</A
15059>* xmlNodeGetBase (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015060HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015061>xmlDocPtr</A
15062> doc,
15063 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015064HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015065>xmlNodePtr</A
15066> cur);</PRE
15067></TD
15068></TR
15069></TABLE
15070><P
15071>Searches for the BASE URL. The code should work on both XML
Daniel Veillard28929b22000-11-13 18:22:49 +000015072and HTML document even if base mechanisms are completely different.
15073It returns the base as defined in RFC 2396 sections
150745.1.1. Base URI within Document Content
15075and
150765.1.2. Base URI from the Encapsulating Entity
15077However it does not return the document base (5.1.3), use
15078<GTKDOCLINK
15079HREF="XMLDOCUMENTGETBASE"
15080>xmlDocumentGetBase</GTKDOCLINK
15081>() for this</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015082><P
15083></P
15084><DIV
15085CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015086><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015087NAME="AEN7312"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015088></P
15089><TABLE
15090BORDER="0"
15091WIDTH="100%"
15092BGCOLOR="#FFD0D0"
15093CELLSPACING="0"
15094CELLPADDING="4"
15095CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015096><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015097><TR
15098><TD
15099WIDTH="20%"
15100ALIGN="RIGHT"
15101VALIGN="TOP"
15102><TT
15103CLASS="PARAMETER"
15104><I
15105>doc</I
15106></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015107>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015108><TD
15109WIDTH="80%"
15110ALIGN="LEFT"
15111VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015112> the document the node pertains to</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015113></TR
15114><TR
15115><TD
15116WIDTH="20%"
15117ALIGN="RIGHT"
15118VALIGN="TOP"
15119><TT
15120CLASS="PARAMETER"
15121><I
15122>cur</I
15123></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015124>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015125><TD
15126WIDTH="80%"
15127ALIGN="LEFT"
15128VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015129> the node being checked</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015130></TR
15131><TR
15132><TD
15133WIDTH="20%"
15134ALIGN="RIGHT"
15135VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000015136><SPAN
15137CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015138><I
15139CLASS="EMPHASIS"
15140>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000015141></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015142> :</TD
15143><TD
15144WIDTH="80%"
15145ALIGN="LEFT"
15146VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015147>a pointer to the base URL, or NULL if not found
Daniel Veillardaf43f632002-03-08 15:05:20 +000015148It's up to the caller to free the memory.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015149></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015150></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015151></TABLE
15152><P
15153></P
15154></DIV
15155></DIV
15156><HR><DIV
15157CLASS="REFSECT2"
15158><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015159NAME="AEN7329"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015160></A
15161><H3
15162><A
15163NAME="XMLNODESETBASE"
15164></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015165>xmlNodeSetBase ()</H3
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015166><TABLE
15167BORDER="0"
15168BGCOLOR="#D6E8FF"
15169WIDTH="100%"
15170CELLPADDING="6"
15171><TR
15172><TD
15173><PRE
15174CLASS="PROGRAMLISTING"
15175>void xmlNodeSetBase (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015176HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015177>xmlNodePtr</A
15178> cur,
15179 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015180HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015181>xmlChar</A
15182> *uri);</PRE
15183></TD
15184></TR
15185></TABLE
15186><P
15187>Set (or reset) the base URI of a node, i.e. the value of the
15188xml:base attribute.</P
15189><P
15190></P
15191><DIV
15192CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015193><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015194NAME="AEN7337"><P
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015195></P
15196><TABLE
15197BORDER="0"
15198WIDTH="100%"
15199BGCOLOR="#FFD0D0"
15200CELLSPACING="0"
15201CELLPADDING="4"
15202CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015203><TBODY
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015204><TR
15205><TD
15206WIDTH="20%"
15207ALIGN="RIGHT"
15208VALIGN="TOP"
15209><TT
15210CLASS="PARAMETER"
15211><I
15212>cur</I
15213></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015214>&nbsp;:</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015215><TD
15216WIDTH="80%"
15217ALIGN="LEFT"
15218VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015219> the node being changed</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015220></TR
15221><TR
15222><TD
15223WIDTH="20%"
15224ALIGN="RIGHT"
15225VALIGN="TOP"
15226><TT
15227CLASS="PARAMETER"
15228><I
15229>uri</I
15230></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015231>&nbsp;:</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015232><TD
15233WIDTH="80%"
15234ALIGN="LEFT"
15235VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015236> the new base URI</TD
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015237></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015238></TBODY
Daniel Veillard29a11cc2000-10-25 13:32:39 +000015239></TABLE
15240><P
15241></P
15242></DIV
15243></DIV
15244><HR><DIV
15245CLASS="REFSECT2"
15246><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015247NAME="AEN7350"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015248></A
15249><H3
15250><A
15251NAME="XMLREMOVEPROP"
15252></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015253>xmlRemoveProp ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015254><TABLE
15255BORDER="0"
15256BGCOLOR="#D6E8FF"
15257WIDTH="100%"
15258CELLPADDING="6"
15259><TR
15260><TD
15261><PRE
15262CLASS="PROGRAMLISTING"
15263>int xmlRemoveProp (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015264HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015265>xmlAttrPtr</A
Daniel Veillardcbaf3992001-12-31 16:16:02 +000015266> cur);</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015267></TD
15268></TR
15269></TABLE
15270><P
15271>Unlink and free one attribute, all the content is freed too
15272Note this doesn't work for namespace definition attributes</P
15273><P
15274></P
15275><DIV
15276CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015277><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015278NAME="AEN7357"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015279></P
15280><TABLE
15281BORDER="0"
15282WIDTH="100%"
15283BGCOLOR="#FFD0D0"
15284CELLSPACING="0"
15285CELLPADDING="4"
15286CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015287><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015288><TR
15289><TD
15290WIDTH="20%"
15291ALIGN="RIGHT"
15292VALIGN="TOP"
15293><TT
15294CLASS="PARAMETER"
15295><I
Daniel Veillardcbaf3992001-12-31 16:16:02 +000015296>cur</I
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015297></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015298>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015299><TD
15300WIDTH="80%"
15301ALIGN="LEFT"
15302VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000015303> an attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015304></TR
15305><TR
15306><TD
15307WIDTH="20%"
15308ALIGN="RIGHT"
15309VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000015310><SPAN
15311CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015312><I
15313CLASS="EMPHASIS"
15314>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000015315></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015316> :</TD
15317><TD
15318WIDTH="80%"
15319ALIGN="LEFT"
15320VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015321>0 if success and -1 in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015322></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015323></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015324></TABLE
15325><P
15326></P
15327></DIV
15328></DIV
15329><HR><DIV
15330CLASS="REFSECT2"
15331><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015332NAME="AEN7370"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015333></A
15334><H3
15335><A
15336NAME="XMLUNSETPROP"
15337></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015338>xmlUnsetProp ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015339><TABLE
15340BORDER="0"
15341BGCOLOR="#D6E8FF"
15342WIDTH="100%"
15343CELLPADDING="6"
15344><TR
15345><TD
15346><PRE
15347CLASS="PROGRAMLISTING"
15348>int xmlUnsetProp (<A
15349HREF="libxml-tree.html#XMLNODEPTR"
15350>xmlNodePtr</A
15351> node,
15352 const <A
15353HREF="libxml-tree.html#XMLCHAR"
15354>xmlChar</A
15355> *name);</PRE
15356></TD
15357></TR
15358></TABLE
15359><P
15360>Remove an attribute carried by a node.</P
15361><P
15362></P
15363><DIV
15364CLASS="INFORMALTABLE"
15365><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015366NAME="AEN7378"><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015367></P
15368><TABLE
15369BORDER="0"
15370WIDTH="100%"
15371BGCOLOR="#FFD0D0"
15372CELLSPACING="0"
15373CELLPADDING="4"
15374CLASS="CALSTABLE"
15375><TBODY
15376><TR
15377><TD
15378WIDTH="20%"
15379ALIGN="RIGHT"
15380VALIGN="TOP"
15381><TT
15382CLASS="PARAMETER"
15383><I
15384>node</I
15385></TT
15386>&nbsp;:</TD
15387><TD
15388WIDTH="80%"
15389ALIGN="LEFT"
15390VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015391> the node</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015392></TR
15393><TR
15394><TD
15395WIDTH="20%"
15396ALIGN="RIGHT"
15397VALIGN="TOP"
15398><TT
15399CLASS="PARAMETER"
15400><I
15401>name</I
15402></TT
15403>&nbsp;:</TD
15404><TD
15405WIDTH="80%"
15406ALIGN="LEFT"
15407VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015408> the attribute name</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015409></TR
15410><TR
15411><TD
15412WIDTH="20%"
15413ALIGN="RIGHT"
15414VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000015415><SPAN
15416CLASS="emphasis"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015417><I
15418CLASS="EMPHASIS"
15419>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000015420></SPAN
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015421> :</TD
15422><TD
15423WIDTH="80%"
15424ALIGN="LEFT"
15425VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015426>0 if successful, -1 if not found</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015427></TR
15428></TBODY
15429></TABLE
15430><P
15431></P
15432></DIV
15433></DIV
15434><HR><DIV
15435CLASS="REFSECT2"
15436><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015437NAME="AEN7395"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015438></A
15439><H3
15440><A
15441NAME="XMLUNSETNSPROP"
15442></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015443>xmlUnsetNsProp ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015444><TABLE
15445BORDER="0"
15446BGCOLOR="#D6E8FF"
15447WIDTH="100%"
15448CELLPADDING="6"
15449><TR
15450><TD
15451><PRE
15452CLASS="PROGRAMLISTING"
15453>int xmlUnsetNsProp (<A
15454HREF="libxml-tree.html#XMLNODEPTR"
15455>xmlNodePtr</A
15456> node,
15457 <A
15458HREF="libxml-tree.html#XMLNSPTR"
15459>xmlNsPtr</A
15460> ns,
15461 const <A
15462HREF="libxml-tree.html#XMLCHAR"
15463>xmlChar</A
15464> *name);</PRE
15465></TD
15466></TR
15467></TABLE
15468><P
15469>Remove an attribute carried by a node.</P
15470><P
15471></P
15472><DIV
15473CLASS="INFORMALTABLE"
15474><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015475NAME="AEN7404"><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015476></P
15477><TABLE
15478BORDER="0"
15479WIDTH="100%"
15480BGCOLOR="#FFD0D0"
15481CELLSPACING="0"
15482CELLPADDING="4"
15483CLASS="CALSTABLE"
15484><TBODY
15485><TR
15486><TD
15487WIDTH="20%"
15488ALIGN="RIGHT"
15489VALIGN="TOP"
15490><TT
15491CLASS="PARAMETER"
15492><I
15493>node</I
15494></TT
15495>&nbsp;:</TD
15496><TD
15497WIDTH="80%"
15498ALIGN="LEFT"
15499VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015500> the node</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015501></TR
15502><TR
15503><TD
15504WIDTH="20%"
15505ALIGN="RIGHT"
15506VALIGN="TOP"
15507><TT
15508CLASS="PARAMETER"
15509><I
15510>ns</I
15511></TT
15512>&nbsp;:</TD
15513><TD
15514WIDTH="80%"
15515ALIGN="LEFT"
15516VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015517> the namespace definition</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015518></TR
15519><TR
15520><TD
15521WIDTH="20%"
15522ALIGN="RIGHT"
15523VALIGN="TOP"
15524><TT
15525CLASS="PARAMETER"
15526><I
15527>name</I
15528></TT
15529>&nbsp;:</TD
15530><TD
15531WIDTH="80%"
15532ALIGN="LEFT"
15533VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015534> the attribute name</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015535></TR
15536><TR
15537><TD
15538WIDTH="20%"
15539ALIGN="RIGHT"
15540VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000015541><SPAN
15542CLASS="emphasis"
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015543><I
15544CLASS="EMPHASIS"
15545>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000015546></SPAN
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015547> :</TD
15548><TD
15549WIDTH="80%"
15550ALIGN="LEFT"
15551VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015552>0 if successful, -1 if not found</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +000015553></TR
15554></TBODY
15555></TABLE
15556><P
15557></P
15558></DIV
15559></DIV
15560><HR><DIV
15561CLASS="REFSECT2"
15562><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015563NAME="AEN7425"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015564></A
15565><H3
15566><A
15567NAME="XMLBUFFERWRITEXMLCHAR"
15568></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015569>xmlBufferWriteXmlCHAR ()</H3
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015570><TABLE
15571BORDER="0"
15572BGCOLOR="#D6E8FF"
15573WIDTH="100%"
15574CELLPADDING="6"
15575><TR
15576><TD
15577><PRE
15578CLASS="PROGRAMLISTING"
15579>void xmlBufferWriteXmlCHAR (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015580HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015581>xmlBufferPtr</A
15582> buf,
15583 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015584HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015585>xmlChar</A
15586> *string);</PRE
15587></TD
15588></TR
15589></TABLE
15590><P
Daniel Veillardf012a642001-07-23 19:10:52 +000015591>For VMS only.
15592routine which manages and grows an output buffer. This one adds
15593xmlChars at the end of the buffer.</P
15594><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015595></P
15596><DIV
15597CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015598><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015599NAME="AEN7433"><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015600></P
15601><TABLE
15602BORDER="0"
15603WIDTH="100%"
15604BGCOLOR="#FFD0D0"
15605CELLSPACING="0"
15606CELLPADDING="4"
15607CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015608><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015609><TR
15610><TD
15611WIDTH="20%"
15612ALIGN="RIGHT"
15613VALIGN="TOP"
15614><TT
15615CLASS="PARAMETER"
15616><I
15617>buf</I
15618></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015619>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015620><TD
15621WIDTH="80%"
15622ALIGN="LEFT"
15623VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015624> the XML buffer</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015625></TR
15626><TR
15627><TD
15628WIDTH="20%"
15629ALIGN="RIGHT"
15630VALIGN="TOP"
15631><TT
15632CLASS="PARAMETER"
15633><I
15634>string</I
15635></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015636>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015637><TD
15638WIDTH="80%"
15639ALIGN="LEFT"
15640VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015641> the string to add</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015642></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015643></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015644></TABLE
15645><P
15646></P
15647></DIV
15648></DIV
15649><HR><DIV
15650CLASS="REFSECT2"
15651><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015652NAME="AEN7446"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015653></A
15654><H3
15655><A
15656NAME="XMLBUFFERWRITECHAR"
15657></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015658>xmlBufferWriteCHAR ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015659><TABLE
15660BORDER="0"
15661BGCOLOR="#D6E8FF"
15662WIDTH="100%"
15663CELLPADDING="6"
15664><TR
15665><TD
15666><PRE
15667CLASS="PROGRAMLISTING"
15668>void xmlBufferWriteCHAR (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015669HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015670>xmlBufferPtr</A
15671> buf,
15672 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015673HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015674>xmlChar</A
15675> *string);</PRE
15676></TD
15677></TR
15678></TABLE
15679><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +000015680>routine which manages and grows an output buffer. This one adds
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015681xmlChars at the end of the buffer.</P
15682><P
15683></P
15684><DIV
15685CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015686><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015687NAME="AEN7454"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015688></P
15689><TABLE
15690BORDER="0"
15691WIDTH="100%"
15692BGCOLOR="#FFD0D0"
15693CELLSPACING="0"
15694CELLPADDING="4"
15695CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015696><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015697><TR
15698><TD
15699WIDTH="20%"
15700ALIGN="RIGHT"
15701VALIGN="TOP"
15702><TT
15703CLASS="PARAMETER"
15704><I
15705>buf</I
15706></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015707>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015708><TD
15709WIDTH="80%"
15710ALIGN="LEFT"
15711VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015712> the XML buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015713></TR
15714><TR
15715><TD
15716WIDTH="20%"
15717ALIGN="RIGHT"
15718VALIGN="TOP"
15719><TT
15720CLASS="PARAMETER"
15721><I
15722>string</I
15723></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015724>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015725><TD
15726WIDTH="80%"
15727ALIGN="LEFT"
15728VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015729> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015730></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015731></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015732></TABLE
15733><P
15734></P
15735></DIV
15736></DIV
15737><HR><DIV
15738CLASS="REFSECT2"
15739><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015740NAME="AEN7467"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015741></A
15742><H3
15743><A
15744NAME="XMLBUFFERWRITECHAR"
15745></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015746>xmlBufferWriteChar ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015747><TABLE
15748BORDER="0"
15749BGCOLOR="#D6E8FF"
15750WIDTH="100%"
15751CELLPADDING="6"
15752><TR
15753><TD
15754><PRE
15755CLASS="PROGRAMLISTING"
15756>void xmlBufferWriteChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015757HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015758>xmlBufferPtr</A
15759> buf,
15760 const char *string);</PRE
15761></TD
15762></TR
15763></TABLE
15764><P
15765>routine which manage and grows an output buffer. This one add
15766C chars at the end of the array.</P
15767><P
15768></P
15769><DIV
15770CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015771><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015772NAME="AEN7474"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015773></P
15774><TABLE
15775BORDER="0"
15776WIDTH="100%"
15777BGCOLOR="#FFD0D0"
15778CELLSPACING="0"
15779CELLPADDING="4"
15780CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015781><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015782><TR
15783><TD
15784WIDTH="20%"
15785ALIGN="RIGHT"
15786VALIGN="TOP"
15787><TT
15788CLASS="PARAMETER"
15789><I
15790>buf</I
15791></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015792>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015793><TD
15794WIDTH="80%"
15795ALIGN="LEFT"
15796VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015797> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015798></TR
15799><TR
15800><TD
15801WIDTH="20%"
15802ALIGN="RIGHT"
15803VALIGN="TOP"
15804><TT
15805CLASS="PARAMETER"
15806><I
15807>string</I
15808></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015809>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015810><TD
15811WIDTH="80%"
15812ALIGN="LEFT"
15813VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015814> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015815></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015816></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015817></TABLE
15818><P
15819></P
15820></DIV
15821></DIV
15822><HR><DIV
15823CLASS="REFSECT2"
15824><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015825NAME="AEN7487"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015826></A
15827><H3
15828><A
15829NAME="XMLBUFFERWRITEQUOTEDSTRING"
15830></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015831>xmlBufferWriteQuotedString ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015832><TABLE
15833BORDER="0"
15834BGCOLOR="#D6E8FF"
15835WIDTH="100%"
15836CELLPADDING="6"
15837><TR
15838><TD
15839><PRE
15840CLASS="PROGRAMLISTING"
15841>void xmlBufferWriteQuotedString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015842HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015843>xmlBufferPtr</A
15844> buf,
15845 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015846HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015847>xmlChar</A
15848> *string);</PRE
15849></TD
15850></TR
15851></TABLE
15852><P
15853>routine which manage and grows an output buffer. This one writes
Daniel Veillardcbaf3992001-12-31 16:16:02 +000015854a quoted or double quoted <A
15855HREF="libxml-tree.html#XMLCHAR"
15856>xmlChar</A
15857> string, checking first if it holds
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015858quote or double-quotes internally</P
15859><P
15860></P
15861><DIV
15862CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015863><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015864NAME="AEN7496"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015865></P
15866><TABLE
15867BORDER="0"
15868WIDTH="100%"
15869BGCOLOR="#FFD0D0"
15870CELLSPACING="0"
15871CELLPADDING="4"
15872CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015873><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015874><TR
15875><TD
15876WIDTH="20%"
15877ALIGN="RIGHT"
15878VALIGN="TOP"
15879><TT
15880CLASS="PARAMETER"
15881><I
15882>buf</I
15883></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015884>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015885><TD
15886WIDTH="80%"
15887ALIGN="LEFT"
15888VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015889> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015890></TR
15891><TR
15892><TD
15893WIDTH="20%"
15894ALIGN="RIGHT"
15895VALIGN="TOP"
15896><TT
15897CLASS="PARAMETER"
15898><I
15899>string</I
15900></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015901>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015902><TD
15903WIDTH="80%"
15904ALIGN="LEFT"
15905VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015906> the string to add</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015907></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000015908></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015909></TABLE
15910><P
15911></P
15912></DIV
15913></DIV
15914><HR><DIV
15915CLASS="REFSECT2"
15916><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015917NAME="AEN7509"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015918></A
15919><H3
15920><A
15921NAME="XMLRECONCILIATENS"
15922></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000015923>xmlReconciliateNs ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015924><TABLE
15925BORDER="0"
15926BGCOLOR="#D6E8FF"
15927WIDTH="100%"
15928CELLPADDING="6"
15929><TR
15930><TD
15931><PRE
15932CLASS="PROGRAMLISTING"
15933>int xmlReconciliateNs (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015934HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015935>xmlDocPtr</A
15936> doc,
15937 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000015938HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015939>xmlNodePtr</A
15940> tree);</PRE
15941></TD
15942></TR
15943></TABLE
15944><P
15945>This function checks that all the namespaces declared within the given
15946tree are properly declared. This is needed for example after Copy or Cut
15947and then paste operations. The subtree may still hold pointers to
15948namespace declarations outside the subtree or invalid/masked. As much
Daniel Veillardcbaf3992001-12-31 16:16:02 +000015949as possible the function try to reuse the existing namespaces found in
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015950the new environment. If not possible the new namespaces are redeclared
15951on <TT
15952CLASS="PARAMETER"
15953><I
15954>tree</I
15955></TT
15956> at the top of the given subtree.</P
15957><P
15958></P
15959><DIV
15960CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015961><A
Daniel Veillard539638b2002-07-06 19:55:14 +000015962NAME="AEN7518"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015963></P
15964><TABLE
15965BORDER="0"
15966WIDTH="100%"
15967BGCOLOR="#FFD0D0"
15968CELLSPACING="0"
15969CELLPADDING="4"
15970CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000015971><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015972><TR
15973><TD
15974WIDTH="20%"
15975ALIGN="RIGHT"
15976VALIGN="TOP"
15977><TT
15978CLASS="PARAMETER"
15979><I
15980>doc</I
15981></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015982>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015983><TD
15984WIDTH="80%"
15985ALIGN="LEFT"
15986VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000015987> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000015988></TR
15989><TR
15990><TD
15991WIDTH="20%"
15992ALIGN="RIGHT"
15993VALIGN="TOP"
15994><TT
15995CLASS="PARAMETER"
15996><I
15997>tree</I
15998></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000015999>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016000><TD
16001WIDTH="80%"
16002ALIGN="LEFT"
16003VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016004> a node defining the subtree to reconciliate</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016005></TR
16006><TR
16007><TD
16008WIDTH="20%"
16009ALIGN="RIGHT"
16010VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000016011><SPAN
16012CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016013><I
16014CLASS="EMPHASIS"
16015>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000016016></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016017> :</TD
16018><TD
16019WIDTH="80%"
16020ALIGN="LEFT"
16021VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016022>the number of namespace declarations created or -1 in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016023></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016024></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016025></TABLE
16026><P
16027></P
16028></DIV
16029></DIV
16030><HR><DIV
16031CLASS="REFSECT2"
16032><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016033NAME="AEN7535"
Daniel Veillard503b8932001-01-05 06:36:31 +000016034></A
16035><H3
16036><A
16037NAME="XMLDOCDUMPFORMATMEMORY"
16038></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000016039>xmlDocDumpFormatMemory ()</H3
Daniel Veillard503b8932001-01-05 06:36:31 +000016040><TABLE
16041BORDER="0"
16042BGCOLOR="#D6E8FF"
16043WIDTH="100%"
16044CELLPADDING="6"
16045><TR
16046><TD
16047><PRE
16048CLASS="PROGRAMLISTING"
16049>void xmlDocDumpFormatMemory (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016050HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +000016051>xmlDocPtr</A
16052> cur,
16053 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016054HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +000016055>xmlChar</A
16056> **mem,
16057 int *size,
16058 int format);</PRE
16059></TD
16060></TR
16061></TABLE
16062><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +000016063>Dump an XML document in memory and return the <A
16064HREF="libxml-tree.html#XMLCHAR"
16065>xmlChar</A
16066> * and it's size.
Daniel Veillard19274092002-03-25 16:48:03 +000016067It's up to the caller to free the memory.
16068Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
16069or xmlKeepBlanksDefault(0) was called</P
Daniel Veillard503b8932001-01-05 06:36:31 +000016070><P
16071></P
16072><DIV
16073CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016074><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016075NAME="AEN7544"><P
Daniel Veillard503b8932001-01-05 06:36:31 +000016076></P
16077><TABLE
16078BORDER="0"
16079WIDTH="100%"
16080BGCOLOR="#FFD0D0"
16081CELLSPACING="0"
16082CELLPADDING="4"
16083CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016084><TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +000016085><TR
16086><TD
16087WIDTH="20%"
16088ALIGN="RIGHT"
16089VALIGN="TOP"
16090><TT
16091CLASS="PARAMETER"
16092><I
16093>cur</I
16094></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016095>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016096><TD
16097WIDTH="80%"
16098ALIGN="LEFT"
16099VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016100> the document</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016101></TR
16102><TR
16103><TD
16104WIDTH="20%"
16105ALIGN="RIGHT"
16106VALIGN="TOP"
16107><TT
16108CLASS="PARAMETER"
16109><I
16110>mem</I
16111></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016112>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016113><TD
16114WIDTH="80%"
16115ALIGN="LEFT"
16116VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016117> OUT: the memory pointer</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016118></TR
16119><TR
16120><TD
16121WIDTH="20%"
16122ALIGN="RIGHT"
16123VALIGN="TOP"
16124><TT
16125CLASS="PARAMETER"
16126><I
16127>size</I
16128></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016129>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016130><TD
16131WIDTH="80%"
16132ALIGN="LEFT"
16133VALIGN="TOP"
Daniel Veillard60087f32001-10-10 09:45:09 +000016134> OUT: the memory length</TD
Daniel Veillard4b8328d2001-07-05 22:48:42 +000016135></TR
16136><TR
16137><TD
16138WIDTH="20%"
16139ALIGN="RIGHT"
16140VALIGN="TOP"
16141><TT
16142CLASS="PARAMETER"
16143><I
16144>format</I
16145></TT
16146>&nbsp;:</TD
16147><TD
16148WIDTH="80%"
16149ALIGN="LEFT"
16150VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016151> should formatting spaces been added</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016152></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016153></TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +000016154></TABLE
16155><P
16156></P
16157></DIV
16158></DIV
16159><HR><DIV
16160CLASS="REFSECT2"
16161><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016162NAME="AEN7565"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000016163></A
16164><H3
16165><A
16166NAME="XMLDOCDUMPMEMORY"
16167></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000016168>xmlDocDumpMemory ()</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +000016169><TABLE
16170BORDER="0"
16171BGCOLOR="#D6E8FF"
16172WIDTH="100%"
16173CELLPADDING="6"
16174><TR
16175><TD
16176><PRE
16177CLASS="PROGRAMLISTING"
16178>void xmlDocDumpMemory (<A
16179HREF="libxml-tree.html#XMLDOCPTR"
16180>xmlDocPtr</A
16181> cur,
16182 <A
16183HREF="libxml-tree.html#XMLCHAR"
16184>xmlChar</A
16185> **mem,
16186 int *size);</PRE
16187></TD
16188></TR
16189></TABLE
16190><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +000016191>Dump an XML document in memory and return the <A
16192HREF="libxml-tree.html#XMLCHAR"
16193>xmlChar</A
16194> * and it's size.
Daniel Veillard4b8328d2001-07-05 22:48:42 +000016195It's up to the caller to free the memory.</P
16196><P
16197></P
16198><DIV
16199CLASS="INFORMALTABLE"
16200><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016201NAME="AEN7574"><P
Daniel Veillard4b8328d2001-07-05 22:48:42 +000016202></P
16203><TABLE
16204BORDER="0"
16205WIDTH="100%"
16206BGCOLOR="#FFD0D0"
16207CELLSPACING="0"
16208CELLPADDING="4"
16209CLASS="CALSTABLE"
16210><TBODY
16211><TR
16212><TD
16213WIDTH="20%"
16214ALIGN="RIGHT"
16215VALIGN="TOP"
16216><TT
16217CLASS="PARAMETER"
16218><I
16219>cur</I
16220></TT
16221>&nbsp;:</TD
16222><TD
16223WIDTH="80%"
16224ALIGN="LEFT"
16225VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016226> the document</TD
Daniel Veillard4b8328d2001-07-05 22:48:42 +000016227></TR
16228><TR
16229><TD
16230WIDTH="20%"
16231ALIGN="RIGHT"
16232VALIGN="TOP"
16233><TT
16234CLASS="PARAMETER"
16235><I
16236>mem</I
16237></TT
16238>&nbsp;:</TD
16239><TD
16240WIDTH="80%"
16241ALIGN="LEFT"
16242VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016243> OUT: the memory pointer</TD
Daniel Veillard4b8328d2001-07-05 22:48:42 +000016244></TR
16245><TR
16246><TD
16247WIDTH="20%"
16248ALIGN="RIGHT"
16249VALIGN="TOP"
16250><TT
16251CLASS="PARAMETER"
16252><I
16253>size</I
16254></TT
16255>&nbsp;:</TD
16256><TD
16257WIDTH="80%"
16258ALIGN="LEFT"
16259VALIGN="TOP"
Daniel Veillard60087f32001-10-10 09:45:09 +000016260> OUT: the memory length</TD
Daniel Veillard4b8328d2001-07-05 22:48:42 +000016261></TR
16262></TBODY
16263></TABLE
16264><P
16265></P
16266></DIV
16267></DIV
16268><HR><DIV
16269CLASS="REFSECT2"
16270><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016271NAME="AEN7591"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016272></A
16273><H3
16274><A
16275NAME="XMLDOCDUMPMEMORYENC"
16276></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000016277>xmlDocDumpMemoryEnc ()</H3
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016278><TABLE
16279BORDER="0"
16280BGCOLOR="#D6E8FF"
16281WIDTH="100%"
16282CELLPADDING="6"
16283><TR
16284><TD
16285><PRE
16286CLASS="PROGRAMLISTING"
16287>void xmlDocDumpMemoryEnc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016288HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016289>xmlDocPtr</A
16290> out_doc,
16291 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016292HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016293>xmlChar</A
16294> **doc_txt_ptr,
16295 int *doc_txt_len,
16296 const char *txt_encoding);</PRE
16297></TD
16298></TR
16299></TABLE
16300><P
16301>Dump the current DOM tree into memory using the character encoding specified
16302by the caller. Note it is up to the caller of this function to free the
16303allocated memory.</P
16304><P
16305></P
16306><DIV
16307CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016308><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016309NAME="AEN7599"><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016310></P
16311><TABLE
16312BORDER="0"
16313WIDTH="100%"
16314BGCOLOR="#FFD0D0"
16315CELLSPACING="0"
16316CELLPADDING="4"
16317CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016318><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016319><TR
16320><TD
16321WIDTH="20%"
16322ALIGN="RIGHT"
16323VALIGN="TOP"
16324><TT
16325CLASS="PARAMETER"
16326><I
16327>out_doc</I
16328></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016329>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016330><TD
16331WIDTH="80%"
16332ALIGN="LEFT"
16333VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016334> Document to generate XML text from</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016335></TR
16336><TR
16337><TD
16338WIDTH="20%"
16339ALIGN="RIGHT"
16340VALIGN="TOP"
16341><TT
16342CLASS="PARAMETER"
16343><I
16344>doc_txt_ptr</I
16345></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016346>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016347><TD
16348WIDTH="80%"
16349ALIGN="LEFT"
16350VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016351> Memory pointer for allocated XML text</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016352></TR
16353><TR
16354><TD
16355WIDTH="20%"
16356ALIGN="RIGHT"
16357VALIGN="TOP"
16358><TT
16359CLASS="PARAMETER"
16360><I
16361>doc_txt_len</I
16362></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016363>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016364><TD
16365WIDTH="80%"
16366ALIGN="LEFT"
16367VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016368> Length of the generated XML text</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016369></TR
16370><TR
16371><TD
16372WIDTH="20%"
16373ALIGN="RIGHT"
16374VALIGN="TOP"
16375><TT
16376CLASS="PARAMETER"
16377><I
16378>txt_encoding</I
16379></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016380>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016381><TD
16382WIDTH="80%"
16383ALIGN="LEFT"
16384VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016385> Character encoding to use when generating XML text</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016386></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016387></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +000016388></TABLE
16389><P
16390></P
16391></DIV
16392></DIV
16393><HR><DIV
16394CLASS="REFSECT2"
16395><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016396NAME="AEN7620"
Daniel Veillard503b8932001-01-05 06:36:31 +000016397></A
16398><H3
16399><A
16400NAME="XMLDOCDUMPFORMATMEMORYENC"
16401></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000016402>xmlDocDumpFormatMemoryEnc ()</H3
Daniel Veillard503b8932001-01-05 06:36:31 +000016403><TABLE
16404BORDER="0"
16405BGCOLOR="#D6E8FF"
16406WIDTH="100%"
16407CELLPADDING="6"
16408><TR
16409><TD
16410><PRE
16411CLASS="PROGRAMLISTING"
16412>void xmlDocDumpFormatMemoryEnc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016413HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard503b8932001-01-05 06:36:31 +000016414>xmlDocPtr</A
16415> out_doc,
16416 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016417HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard503b8932001-01-05 06:36:31 +000016418>xmlChar</A
16419> **doc_txt_ptr,
16420 int *doc_txt_len,
16421 const char *txt_encoding,
16422 int format);</PRE
16423></TD
16424></TR
16425></TABLE
16426><P
Daniel Veillardf012a642001-07-23 19:10:52 +000016427>Dump the current DOM tree into memory using the character encoding specified
16428by the caller. Note it is up to the caller of this function to free the
Daniel Veillard19274092002-03-25 16:48:03 +000016429allocated memory.
16430Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
16431or xmlKeepBlanksDefault(0) was called</P
Daniel Veillardf012a642001-07-23 19:10:52 +000016432><P
Daniel Veillard503b8932001-01-05 06:36:31 +000016433></P
16434><DIV
16435CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016436><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016437NAME="AEN7628"><P
Daniel Veillard503b8932001-01-05 06:36:31 +000016438></P
16439><TABLE
16440BORDER="0"
16441WIDTH="100%"
16442BGCOLOR="#FFD0D0"
16443CELLSPACING="0"
16444CELLPADDING="4"
16445CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016446><TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +000016447><TR
16448><TD
16449WIDTH="20%"
16450ALIGN="RIGHT"
16451VALIGN="TOP"
16452><TT
16453CLASS="PARAMETER"
16454><I
16455>out_doc</I
16456></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016457>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016458><TD
16459WIDTH="80%"
16460ALIGN="LEFT"
16461VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016462> Document to generate XML text from</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016463></TR
16464><TR
16465><TD
16466WIDTH="20%"
16467ALIGN="RIGHT"
16468VALIGN="TOP"
16469><TT
16470CLASS="PARAMETER"
16471><I
16472>doc_txt_ptr</I
16473></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016474>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016475><TD
16476WIDTH="80%"
16477ALIGN="LEFT"
16478VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016479> Memory pointer for allocated XML text</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016480></TR
16481><TR
16482><TD
16483WIDTH="20%"
16484ALIGN="RIGHT"
16485VALIGN="TOP"
16486><TT
16487CLASS="PARAMETER"
16488><I
16489>doc_txt_len</I
16490></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016491>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016492><TD
16493WIDTH="80%"
16494ALIGN="LEFT"
16495VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016496> Length of the generated XML text</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016497></TR
16498><TR
16499><TD
16500WIDTH="20%"
16501ALIGN="RIGHT"
16502VALIGN="TOP"
16503><TT
16504CLASS="PARAMETER"
16505><I
16506>txt_encoding</I
16507></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016508>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016509><TD
16510WIDTH="80%"
16511ALIGN="LEFT"
16512VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016513> Character encoding to use when generating XML text</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016514></TR
16515><TR
16516><TD
16517WIDTH="20%"
16518ALIGN="RIGHT"
16519VALIGN="TOP"
16520><TT
16521CLASS="PARAMETER"
16522><I
16523>format</I
16524></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016525>&nbsp;:</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016526><TD
16527WIDTH="80%"
16528ALIGN="LEFT"
16529VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016530> should formatting spaces been added</TD
Daniel Veillard503b8932001-01-05 06:36:31 +000016531></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016532></TBODY
Daniel Veillard503b8932001-01-05 06:36:31 +000016533></TABLE
16534><P
16535></P
16536></DIV
16537></DIV
16538><HR><DIV
16539CLASS="REFSECT2"
16540><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016541NAME="AEN7653"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016542></A
16543><H3
16544><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016545NAME="XMLDOCFORMATDUMP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016546></A
Daniel Veillard539638b2002-07-06 19:55:14 +000016547>xmlDocFormatDump ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016548><TABLE
16549BORDER="0"
16550BGCOLOR="#D6E8FF"
16551WIDTH="100%"
16552CELLPADDING="6"
16553><TR
16554><TD
16555><PRE
16556CLASS="PROGRAMLISTING"
Daniel Veillard539638b2002-07-06 19:55:14 +000016557>int xmlDocFormatDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000016558HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016559>FILE</GTKDOCLINK
16560> *f,
16561 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016562HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016563>xmlDocPtr</A
Daniel Veillard539638b2002-07-06 19:55:14 +000016564> cur,
16565 int format);</PRE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016566></TD
16567></TR
16568></TABLE
16569><P
16570>Dump an XML document to an open FILE.</P
16571><P
16572></P
16573><DIV
16574CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016575><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016576NAME="AEN7661"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016577></P
16578><TABLE
16579BORDER="0"
16580WIDTH="100%"
16581BGCOLOR="#FFD0D0"
16582CELLSPACING="0"
16583CELLPADDING="4"
16584CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016585><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016586><TR
16587><TD
16588WIDTH="20%"
16589ALIGN="RIGHT"
16590VALIGN="TOP"
16591><TT
16592CLASS="PARAMETER"
16593><I
16594>f</I
16595></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016596>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016597><TD
16598WIDTH="80%"
16599ALIGN="LEFT"
16600VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016601> the FILE*</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016602></TR
16603><TR
16604><TD
16605WIDTH="20%"
16606ALIGN="RIGHT"
16607VALIGN="TOP"
16608><TT
16609CLASS="PARAMETER"
16610><I
16611>cur</I
16612></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016613>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016614><TD
16615WIDTH="80%"
16616ALIGN="LEFT"
16617VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016618> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016619></TR
16620><TR
16621><TD
16622WIDTH="20%"
16623ALIGN="RIGHT"
16624VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000016625><TT
16626CLASS="PARAMETER"
16627><I
16628>format</I
16629></TT
16630>&nbsp;:</TD
16631><TD
16632WIDTH="80%"
16633ALIGN="LEFT"
16634VALIGN="TOP"
16635> should formatting spaces been added</TD
16636></TR
16637><TR
16638><TD
16639WIDTH="20%"
16640ALIGN="RIGHT"
16641VALIGN="TOP"
16642><SPAN
16643CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016644><I
16645CLASS="EMPHASIS"
16646>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000016647></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016648> :</TD
16649><TD
16650WIDTH="80%"
16651ALIGN="LEFT"
16652VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000016653> the number of bytes written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016654></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016655></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016656></TABLE
16657><P
16658></P
16659></DIV
16660></DIV
16661><HR><DIV
16662CLASS="REFSECT2"
16663><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016664NAME="AEN7682"
16665></A
16666><H3
16667><A
16668NAME="XMLDOCDUMP"
16669></A
16670>xmlDocDump ()</H3
16671><TABLE
16672BORDER="0"
16673BGCOLOR="#D6E8FF"
16674WIDTH="100%"
16675CELLPADDING="6"
16676><TR
16677><TD
16678><PRE
16679CLASS="PROGRAMLISTING"
16680>int xmlDocDump (<GTKDOCLINK
16681HREF="FILE-CAPS"
16682>FILE</GTKDOCLINK
16683> *f,
16684 <A
16685HREF="libxml-tree.html#XMLDOCPTR"
16686>xmlDocPtr</A
16687> cur);</PRE
16688></TD
16689></TR
16690></TABLE
16691><P
16692>Dump an XML document to an open FILE.</P
16693><P
16694></P
16695><DIV
16696CLASS="INFORMALTABLE"
16697><A
16698NAME="AEN7690"><P
16699></P
16700><TABLE
16701BORDER="0"
16702WIDTH="100%"
16703BGCOLOR="#FFD0D0"
16704CELLSPACING="0"
16705CELLPADDING="4"
16706CLASS="CALSTABLE"
16707><TBODY
16708><TR
16709><TD
16710WIDTH="20%"
16711ALIGN="RIGHT"
16712VALIGN="TOP"
16713><TT
16714CLASS="PARAMETER"
16715><I
16716>f</I
16717></TT
16718>&nbsp;:</TD
16719><TD
16720WIDTH="80%"
16721ALIGN="LEFT"
16722VALIGN="TOP"
16723> the FILE*</TD
16724></TR
16725><TR
16726><TD
16727WIDTH="20%"
16728ALIGN="RIGHT"
16729VALIGN="TOP"
16730><TT
16731CLASS="PARAMETER"
16732><I
16733>cur</I
16734></TT
16735>&nbsp;:</TD
16736><TD
16737WIDTH="80%"
16738ALIGN="LEFT"
16739VALIGN="TOP"
16740> the document</TD
16741></TR
16742><TR
16743><TD
16744WIDTH="20%"
16745ALIGN="RIGHT"
16746VALIGN="TOP"
16747><SPAN
16748CLASS="emphasis"
16749><I
16750CLASS="EMPHASIS"
16751>Returns</I
16752></SPAN
16753> :</TD
16754><TD
16755WIDTH="80%"
16756ALIGN="LEFT"
16757VALIGN="TOP"
16758> the number of bytes written or -1 in case of failure.</TD
16759></TR
16760></TBODY
16761></TABLE
16762><P
16763></P
16764></DIV
16765></DIV
16766><HR><DIV
16767CLASS="REFSECT2"
16768><A
16769NAME="AEN7707"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016770></A
16771><H3
16772><A
16773NAME="XMLELEMDUMP"
16774></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000016775>xmlElemDump ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016776><TABLE
16777BORDER="0"
16778BGCOLOR="#D6E8FF"
16779WIDTH="100%"
16780CELLPADDING="6"
16781><TR
16782><TD
16783><PRE
16784CLASS="PROGRAMLISTING"
16785>void xmlElemDump (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +000016786HREF="FILE-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016787>FILE</GTKDOCLINK
16788> *f,
16789 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016790HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016791>xmlDocPtr</A
16792> doc,
16793 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016794HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016795>xmlNodePtr</A
16796> cur);</PRE
16797></TD
16798></TR
16799></TABLE
16800><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +000016801>Dump an XML/HTML node, recursive behaviour, children are printed too.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016802><P
16803></P
16804><DIV
16805CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016806><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016807NAME="AEN7716"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016808></P
16809><TABLE
16810BORDER="0"
16811WIDTH="100%"
16812BGCOLOR="#FFD0D0"
16813CELLSPACING="0"
16814CELLPADDING="4"
16815CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016816><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016817><TR
16818><TD
16819WIDTH="20%"
16820ALIGN="RIGHT"
16821VALIGN="TOP"
16822><TT
16823CLASS="PARAMETER"
16824><I
16825>f</I
16826></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016827>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016828><TD
16829WIDTH="80%"
16830ALIGN="LEFT"
16831VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016832> the FILE * for the output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016833></TR
16834><TR
16835><TD
16836WIDTH="20%"
16837ALIGN="RIGHT"
16838VALIGN="TOP"
16839><TT
16840CLASS="PARAMETER"
16841><I
16842>doc</I
16843></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016844>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016845><TD
16846WIDTH="80%"
16847ALIGN="LEFT"
16848VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016849> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016850></TR
16851><TR
16852><TD
16853WIDTH="20%"
16854ALIGN="RIGHT"
16855VALIGN="TOP"
16856><TT
16857CLASS="PARAMETER"
16858><I
16859>cur</I
16860></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016861>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016862><TD
16863WIDTH="80%"
16864ALIGN="LEFT"
16865VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016866> the current node</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016867></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016868></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016869></TABLE
16870><P
16871></P
16872></DIV
16873></DIV
16874><HR><DIV
16875CLASS="REFSECT2"
16876><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016877NAME="AEN7733"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016878></A
16879><H3
16880><A
16881NAME="XMLSAVEFILE"
16882></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000016883>xmlSaveFile ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016884><TABLE
16885BORDER="0"
16886BGCOLOR="#D6E8FF"
16887WIDTH="100%"
16888CELLPADDING="6"
16889><TR
16890><TD
16891><PRE
16892CLASS="PROGRAMLISTING"
16893>int xmlSaveFile (const char *filename,
16894 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016895HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016896>xmlDocPtr</A
16897> cur);</PRE
16898></TD
16899></TR
16900></TABLE
16901><P
16902>Dump an XML document to a file. Will use compression if
16903compiled in and enabled. If <TT
16904CLASS="PARAMETER"
16905><I
16906>filename</I
16907></TT
16908> is "-" the stdout file is
16909used.</P
16910><P
16911></P
16912><DIV
16913CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016914><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016915NAME="AEN7741"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016916></P
16917><TABLE
16918BORDER="0"
16919WIDTH="100%"
16920BGCOLOR="#FFD0D0"
16921CELLSPACING="0"
16922CELLPADDING="4"
16923CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000016924><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016925><TR
16926><TD
16927WIDTH="20%"
16928ALIGN="RIGHT"
16929VALIGN="TOP"
16930><TT
16931CLASS="PARAMETER"
16932><I
16933>filename</I
16934></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016935>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016936><TD
16937WIDTH="80%"
16938ALIGN="LEFT"
16939VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016940> the filename (or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016941></TR
16942><TR
16943><TD
16944WIDTH="20%"
16945ALIGN="RIGHT"
16946VALIGN="TOP"
16947><TT
16948CLASS="PARAMETER"
16949><I
16950>cur</I
16951></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016952>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016953><TD
16954WIDTH="80%"
16955ALIGN="LEFT"
16956VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000016957> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016958></TR
16959><TR
16960><TD
16961WIDTH="20%"
16962ALIGN="RIGHT"
16963VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000016964><SPAN
16965CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016966><I
16967CLASS="EMPHASIS"
16968>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000016969></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016970> :</TD
16971><TD
16972WIDTH="80%"
16973ALIGN="LEFT"
16974VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000016975> the number of bytes written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016976></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000016977></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000016978></TABLE
16979><P
16980></P
16981></DIV
16982></DIV
16983><HR><DIV
16984CLASS="REFSECT2"
16985><A
Daniel Veillard539638b2002-07-06 19:55:14 +000016986NAME="AEN7758"
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016987></A
16988><H3
16989><A
16990NAME="XMLSAVEFORMATFILE"
16991></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000016992>xmlSaveFormatFile ()</H3
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000016993><TABLE
16994BORDER="0"
16995BGCOLOR="#D6E8FF"
16996WIDTH="100%"
16997CELLPADDING="6"
16998><TR
16999><TD
17000><PRE
17001CLASS="PROGRAMLISTING"
17002>int xmlSaveFormatFile (const char *filename,
17003 <A
17004HREF="libxml-tree.html#XMLDOCPTR"
17005>xmlDocPtr</A
17006> cur,
17007 int format);</PRE
17008></TD
17009></TR
17010></TABLE
17011><P
17012>Dump an XML document to a file. Will use compression if
17013compiled in and enabled. If <TT
17014CLASS="PARAMETER"
17015><I
17016>filename</I
17017></TT
17018> is "-" the stdout file is
Daniel Veillardcbaf3992001-12-31 16:16:02 +000017019used. If <TT
17020CLASS="PARAMETER"
17021><I
17022>format</I
17023></TT
17024> is set then the document will be indented on output.</P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017025><P
17026></P
17027><DIV
17028CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000017029><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017030NAME="AEN7767"><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017031></P
17032><TABLE
17033BORDER="0"
17034WIDTH="100%"
17035BGCOLOR="#FFD0D0"
17036CELLSPACING="0"
17037CELLPADDING="4"
17038CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000017039><TBODY
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017040><TR
17041><TD
17042WIDTH="20%"
17043ALIGN="RIGHT"
17044VALIGN="TOP"
17045><TT
17046CLASS="PARAMETER"
17047><I
17048>filename</I
17049></TT
17050>&nbsp;:</TD
17051><TD
17052WIDTH="80%"
17053ALIGN="LEFT"
17054VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017055> the filename (or URL)</TD
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017056></TR
17057><TR
17058><TD
17059WIDTH="20%"
17060ALIGN="RIGHT"
17061VALIGN="TOP"
17062><TT
17063CLASS="PARAMETER"
17064><I
17065>cur</I
17066></TT
17067>&nbsp;:</TD
17068><TD
17069WIDTH="80%"
17070ALIGN="LEFT"
17071VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017072> the document</TD
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017073></TR
17074><TR
17075><TD
17076WIDTH="20%"
17077ALIGN="RIGHT"
17078VALIGN="TOP"
17079><TT
17080CLASS="PARAMETER"
17081><I
17082>format</I
17083></TT
17084>&nbsp;:</TD
17085><TD
17086WIDTH="80%"
17087ALIGN="LEFT"
17088VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017089> should formatting spaces been added</TD
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017090></TR
17091><TR
17092><TD
17093WIDTH="20%"
17094ALIGN="RIGHT"
17095VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000017096><SPAN
17097CLASS="emphasis"
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017098><I
17099CLASS="EMPHASIS"
17100>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000017101></SPAN
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017102> :</TD
17103><TD
17104WIDTH="80%"
17105ALIGN="LEFT"
17106VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000017107> the number of bytes written or -1 in case of failure.</TD
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017108></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000017109></TBODY
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017110></TABLE
17111><P
17112></P
17113></DIV
17114></DIV
17115><HR><DIV
17116CLASS="REFSECT2"
17117><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017118NAME="AEN7788"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017119></A
17120><H3
17121><A
17122NAME="XMLNODEDUMP"
17123></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000017124>xmlNodeDump ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017125><TABLE
17126BORDER="0"
17127BGCOLOR="#D6E8FF"
17128WIDTH="100%"
17129CELLPADDING="6"
17130><TR
17131><TD
17132><PRE
17133CLASS="PROGRAMLISTING"
17134>void xmlNodeDump (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017135HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017136>xmlBufferPtr</A
17137> buf,
17138 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017139HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017140>xmlDocPtr</A
17141> doc,
17142 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017143HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017144>xmlNodePtr</A
17145> cur,
17146 int level,
17147 int format);</PRE
17148></TD
17149></TR
17150></TABLE
17151><P
Daniel Veillard19274092002-03-25 16:48:03 +000017152>Dump an XML node, recursive behaviour,children are printed too.
17153Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
17154or xmlKeepBlanksDefault(0) was called</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017155><P
17156></P
17157><DIV
17158CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000017159><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017160NAME="AEN7797"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017161></P
17162><TABLE
17163BORDER="0"
17164WIDTH="100%"
17165BGCOLOR="#FFD0D0"
17166CELLSPACING="0"
17167CELLPADDING="4"
17168CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000017169><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017170><TR
17171><TD
17172WIDTH="20%"
17173ALIGN="RIGHT"
17174VALIGN="TOP"
17175><TT
17176CLASS="PARAMETER"
17177><I
17178>buf</I
17179></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017180>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017181><TD
17182WIDTH="80%"
17183ALIGN="LEFT"
17184VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017185> the XML buffer output</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017186></TR
17187><TR
17188><TD
17189WIDTH="20%"
17190ALIGN="RIGHT"
17191VALIGN="TOP"
17192><TT
17193CLASS="PARAMETER"
17194><I
17195>doc</I
17196></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017197>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017198><TD
17199WIDTH="80%"
17200ALIGN="LEFT"
17201VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017202> the document</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017203></TR
17204><TR
17205><TD
17206WIDTH="20%"
17207ALIGN="RIGHT"
17208VALIGN="TOP"
17209><TT
17210CLASS="PARAMETER"
17211><I
17212>cur</I
17213></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017214>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017215><TD
17216WIDTH="80%"
17217ALIGN="LEFT"
17218VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017219> the current node</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017220></TR
17221><TR
17222><TD
17223WIDTH="20%"
17224ALIGN="RIGHT"
17225VALIGN="TOP"
17226><TT
17227CLASS="PARAMETER"
17228><I
17229>level</I
17230></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017231>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017232><TD
17233WIDTH="80%"
17234ALIGN="LEFT"
17235VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017236> the imbrication level for indenting</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017237></TR
17238><TR
17239><TD
17240WIDTH="20%"
17241ALIGN="RIGHT"
17242VALIGN="TOP"
17243><TT
17244CLASS="PARAMETER"
17245><I
17246>format</I
17247></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017248>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017249><TD
17250WIDTH="80%"
17251ALIGN="LEFT"
17252VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017253> is formatting allowed</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017254></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000017255></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000017256></TABLE
17257><P
17258></P
17259></DIV
17260></DIV
17261><HR><DIV
17262CLASS="REFSECT2"
17263><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017264NAME="AEN7822"
Daniel Veillard43d3f612001-11-10 11:57:23 +000017265></A
17266><H3
17267><A
17268NAME="XMLSAVEFILETO"
17269></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000017270>xmlSaveFileTo ()</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +000017271><TABLE
17272BORDER="0"
17273BGCOLOR="#D6E8FF"
17274WIDTH="100%"
17275CELLPADDING="6"
17276><TR
17277><TD
17278><PRE
17279CLASS="PROGRAMLISTING"
17280>int xmlSaveFileTo (<A
17281HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
17282>xmlOutputBufferPtr</A
17283> buf,
17284 <A
17285HREF="libxml-tree.html#XMLDOCPTR"
17286>xmlDocPtr</A
17287> cur,
17288 const char *encoding);</PRE
17289></TD
17290></TR
17291></TABLE
17292><P
17293>Dump an XML document to an I/O buffer.</P
17294><P
17295></P
17296><DIV
17297CLASS="INFORMALTABLE"
17298><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017299NAME="AEN7830"><P
Daniel Veillard43d3f612001-11-10 11:57:23 +000017300></P
17301><TABLE
17302BORDER="0"
17303WIDTH="100%"
17304BGCOLOR="#FFD0D0"
17305CELLSPACING="0"
17306CELLPADDING="4"
17307CLASS="CALSTABLE"
17308><TBODY
17309><TR
17310><TD
17311WIDTH="20%"
17312ALIGN="RIGHT"
17313VALIGN="TOP"
17314><TT
17315CLASS="PARAMETER"
17316><I
17317>buf</I
17318></TT
17319>&nbsp;:</TD
17320><TD
17321WIDTH="80%"
17322ALIGN="LEFT"
17323VALIGN="TOP"
17324> an output I/O buffer</TD
17325></TR
17326><TR
17327><TD
17328WIDTH="20%"
17329ALIGN="RIGHT"
17330VALIGN="TOP"
17331><TT
17332CLASS="PARAMETER"
17333><I
17334>cur</I
17335></TT
17336>&nbsp;:</TD
17337><TD
17338WIDTH="80%"
17339ALIGN="LEFT"
17340VALIGN="TOP"
17341> the document</TD
17342></TR
17343><TR
17344><TD
17345WIDTH="20%"
17346ALIGN="RIGHT"
17347VALIGN="TOP"
17348><TT
17349CLASS="PARAMETER"
17350><I
17351>encoding</I
17352></TT
17353>&nbsp;:</TD
17354><TD
17355WIDTH="80%"
17356ALIGN="LEFT"
17357VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000017358> the encoding if any assuming the I/O layer handles the trancoding</TD
Daniel Veillard43d3f612001-11-10 11:57:23 +000017359></TR
17360><TR
17361><TD
17362WIDTH="20%"
17363ALIGN="RIGHT"
17364VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000017365><SPAN
17366CLASS="emphasis"
Daniel Veillard43d3f612001-11-10 11:57:23 +000017367><I
17368CLASS="EMPHASIS"
17369>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000017370></SPAN
Daniel Veillard43d3f612001-11-10 11:57:23 +000017371> :</TD
17372><TD
17373WIDTH="80%"
17374ALIGN="LEFT"
17375VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000017376> the number of bytes written or -1 in case of failure.</TD
Daniel Veillard43d3f612001-11-10 11:57:23 +000017377></TR
17378></TBODY
17379></TABLE
17380><P
17381></P
17382></DIV
17383></DIV
17384><HR><DIV
17385CLASS="REFSECT2"
17386><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017387NAME="AEN7851"
Daniel Veillard43d3f612001-11-10 11:57:23 +000017388></A
17389><H3
17390><A
17391NAME="XMLSAVEFORMATFILETO"
17392></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000017393>xmlSaveFormatFileTo ()</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +000017394><TABLE
17395BORDER="0"
17396BGCOLOR="#D6E8FF"
17397WIDTH="100%"
17398CELLPADDING="6"
17399><TR
17400><TD
17401><PRE
17402CLASS="PROGRAMLISTING"
17403>int xmlSaveFormatFileTo (<A
17404HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
17405>xmlOutputBufferPtr</A
17406> buf,
17407 <A
17408HREF="libxml-tree.html#XMLDOCPTR"
17409>xmlDocPtr</A
17410> cur,
17411 const char *encoding,
17412 int format);</PRE
17413></TD
17414></TR
17415></TABLE
17416><P
17417>Dump an XML document to an I/O buffer.</P
17418><P
17419></P
17420><DIV
17421CLASS="INFORMALTABLE"
17422><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017423NAME="AEN7859"><P
Daniel Veillard43d3f612001-11-10 11:57:23 +000017424></P
17425><TABLE
17426BORDER="0"
17427WIDTH="100%"
17428BGCOLOR="#FFD0D0"
17429CELLSPACING="0"
17430CELLPADDING="4"
17431CLASS="CALSTABLE"
17432><TBODY
17433><TR
17434><TD
17435WIDTH="20%"
17436ALIGN="RIGHT"
17437VALIGN="TOP"
17438><TT
17439CLASS="PARAMETER"
17440><I
17441>buf</I
17442></TT
17443>&nbsp;:</TD
17444><TD
17445WIDTH="80%"
17446ALIGN="LEFT"
17447VALIGN="TOP"
17448> an output I/O buffer</TD
17449></TR
17450><TR
17451><TD
17452WIDTH="20%"
17453ALIGN="RIGHT"
17454VALIGN="TOP"
17455><TT
17456CLASS="PARAMETER"
17457><I
17458>cur</I
17459></TT
17460>&nbsp;:</TD
17461><TD
17462WIDTH="80%"
17463ALIGN="LEFT"
17464VALIGN="TOP"
17465> the document</TD
17466></TR
17467><TR
17468><TD
17469WIDTH="20%"
17470ALIGN="RIGHT"
17471VALIGN="TOP"
17472><TT
17473CLASS="PARAMETER"
17474><I
17475>encoding</I
17476></TT
17477>&nbsp;:</TD
17478><TD
17479WIDTH="80%"
17480ALIGN="LEFT"
17481VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000017482> the encoding if any assuming the I/O layer handles the trancoding</TD
Daniel Veillard43d3f612001-11-10 11:57:23 +000017483></TR
17484><TR
17485><TD
17486WIDTH="20%"
17487ALIGN="RIGHT"
17488VALIGN="TOP"
17489><TT
17490CLASS="PARAMETER"
17491><I
17492>format</I
17493></TT
17494>&nbsp;:</TD
17495><TD
17496WIDTH="80%"
17497ALIGN="LEFT"
17498VALIGN="TOP"
17499> should formatting spaces been added</TD
17500></TR
17501><TR
17502><TD
17503WIDTH="20%"
17504ALIGN="RIGHT"
17505VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000017506><SPAN
17507CLASS="emphasis"
Daniel Veillard43d3f612001-11-10 11:57:23 +000017508><I
17509CLASS="EMPHASIS"
17510>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000017511></SPAN
Daniel Veillard43d3f612001-11-10 11:57:23 +000017512> :</TD
17513><TD
17514WIDTH="80%"
17515ALIGN="LEFT"
17516VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000017517> the number of bytes written or -1 in case of failure.</TD
Daniel Veillard43d3f612001-11-10 11:57:23 +000017518></TR
17519></TBODY
17520></TABLE
17521><P
17522></P
17523></DIV
17524></DIV
17525><HR><DIV
17526CLASS="REFSECT2"
17527><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017528NAME="AEN7884"
Daniel Veillard43d3f612001-11-10 11:57:23 +000017529></A
17530><H3
17531><A
17532NAME="XMLNODEDUMPOUTPUT"
17533></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000017534>xmlNodeDumpOutput ()</H3
Daniel Veillard43d3f612001-11-10 11:57:23 +000017535><TABLE
17536BORDER="0"
17537BGCOLOR="#D6E8FF"
17538WIDTH="100%"
17539CELLPADDING="6"
17540><TR
17541><TD
17542><PRE
17543CLASS="PROGRAMLISTING"
17544>void xmlNodeDumpOutput (<A
17545HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
17546>xmlOutputBufferPtr</A
17547> buf,
17548 <A
17549HREF="libxml-tree.html#XMLDOCPTR"
17550>xmlDocPtr</A
17551> doc,
17552 <A
17553HREF="libxml-tree.html#XMLNODEPTR"
17554>xmlNodePtr</A
17555> cur,
17556 int level,
17557 int format,
17558 const char *encoding);</PRE
17559></TD
17560></TR
17561></TABLE
17562><P
Daniel Veillard19274092002-03-25 16:48:03 +000017563>Dump an XML node, recursive behaviour, children are printed too.
17564Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
17565or xmlKeepBlanksDefault(0) was called</P
Daniel Veillard43d3f612001-11-10 11:57:23 +000017566><P
17567></P
17568><DIV
17569CLASS="INFORMALTABLE"
17570><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017571NAME="AEN7893"><P
Daniel Veillard43d3f612001-11-10 11:57:23 +000017572></P
17573><TABLE
17574BORDER="0"
17575WIDTH="100%"
17576BGCOLOR="#FFD0D0"
17577CELLSPACING="0"
17578CELLPADDING="4"
17579CLASS="CALSTABLE"
17580><TBODY
17581><TR
17582><TD
17583WIDTH="20%"
17584ALIGN="RIGHT"
17585VALIGN="TOP"
17586><TT
17587CLASS="PARAMETER"
17588><I
17589>buf</I
17590></TT
17591>&nbsp;:</TD
17592><TD
17593WIDTH="80%"
17594ALIGN="LEFT"
17595VALIGN="TOP"
17596> the XML buffer output</TD
17597></TR
17598><TR
17599><TD
17600WIDTH="20%"
17601ALIGN="RIGHT"
17602VALIGN="TOP"
17603><TT
17604CLASS="PARAMETER"
17605><I
17606>doc</I
17607></TT
17608>&nbsp;:</TD
17609><TD
17610WIDTH="80%"
17611ALIGN="LEFT"
17612VALIGN="TOP"
17613> the document</TD
17614></TR
17615><TR
17616><TD
17617WIDTH="20%"
17618ALIGN="RIGHT"
17619VALIGN="TOP"
17620><TT
17621CLASS="PARAMETER"
17622><I
17623>cur</I
17624></TT
17625>&nbsp;:</TD
17626><TD
17627WIDTH="80%"
17628ALIGN="LEFT"
17629VALIGN="TOP"
17630> the current node</TD
17631></TR
17632><TR
17633><TD
17634WIDTH="20%"
17635ALIGN="RIGHT"
17636VALIGN="TOP"
17637><TT
17638CLASS="PARAMETER"
17639><I
17640>level</I
17641></TT
17642>&nbsp;:</TD
17643><TD
17644WIDTH="80%"
17645ALIGN="LEFT"
17646VALIGN="TOP"
17647> the imbrication level for indenting</TD
17648></TR
17649><TR
17650><TD
17651WIDTH="20%"
17652ALIGN="RIGHT"
17653VALIGN="TOP"
17654><TT
17655CLASS="PARAMETER"
17656><I
17657>format</I
17658></TT
17659>&nbsp;:</TD
17660><TD
17661WIDTH="80%"
17662ALIGN="LEFT"
17663VALIGN="TOP"
17664> is formatting allowed</TD
17665></TR
17666><TR
17667><TD
17668WIDTH="20%"
17669ALIGN="RIGHT"
17670VALIGN="TOP"
17671><TT
17672CLASS="PARAMETER"
17673><I
17674>encoding</I
17675></TT
17676>&nbsp;:</TD
17677><TD
17678WIDTH="80%"
17679ALIGN="LEFT"
17680VALIGN="TOP"
17681> an optional encoding string</TD
17682></TR
17683></TBODY
17684></TABLE
17685><P
17686></P
17687></DIV
17688></DIV
17689><HR><DIV
17690CLASS="REFSECT2"
17691><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017692NAME="AEN7922"
Daniel Veillardf012a642001-07-23 19:10:52 +000017693></A
17694><H3
17695><A
17696NAME="XMLSAVEFORMATFILEENC"
17697></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000017698>xmlSaveFormatFileEnc ()</H3
Daniel Veillardf012a642001-07-23 19:10:52 +000017699><TABLE
17700BORDER="0"
17701BGCOLOR="#D6E8FF"
17702WIDTH="100%"
17703CELLPADDING="6"
17704><TR
17705><TD
17706><PRE
17707CLASS="PROGRAMLISTING"
17708>int xmlSaveFormatFileEnc (const char *filename,
17709 <A
17710HREF="libxml-tree.html#XMLDOCPTR"
17711>xmlDocPtr</A
17712> cur,
17713 const char *encoding,
17714 int format);</PRE
17715></TD
17716></TR
17717></TABLE
17718><P
17719></P
17720><P
17721></P
17722><DIV
17723CLASS="INFORMALTABLE"
17724><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017725NAME="AEN7929"><P
Daniel Veillardf012a642001-07-23 19:10:52 +000017726></P
17727><TABLE
17728BORDER="0"
17729WIDTH="100%"
17730BGCOLOR="#FFD0D0"
17731CELLSPACING="0"
17732CELLPADDING="4"
17733CLASS="CALSTABLE"
17734><TBODY
17735><TR
17736><TD
17737WIDTH="20%"
17738ALIGN="RIGHT"
17739VALIGN="TOP"
17740><TT
17741CLASS="PARAMETER"
17742><I
17743>filename</I
17744></TT
17745>&nbsp;:</TD
17746><TD
17747WIDTH="80%"
17748ALIGN="LEFT"
17749VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017750> the filename or URL to output</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000017751></TR
17752><TR
17753><TD
17754WIDTH="20%"
17755ALIGN="RIGHT"
17756VALIGN="TOP"
17757><TT
17758CLASS="PARAMETER"
17759><I
17760>cur</I
17761></TT
17762>&nbsp;:</TD
17763><TD
17764WIDTH="80%"
17765ALIGN="LEFT"
17766VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017767> the document being saved</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000017768></TR
17769><TR
17770><TD
17771WIDTH="20%"
17772ALIGN="RIGHT"
17773VALIGN="TOP"
17774><TT
17775CLASS="PARAMETER"
17776><I
17777>encoding</I
17778></TT
17779>&nbsp;:</TD
17780><TD
17781WIDTH="80%"
17782ALIGN="LEFT"
17783VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017784> the name of the encoding to use or NULL.</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000017785></TR
17786><TR
17787><TD
17788WIDTH="20%"
17789ALIGN="RIGHT"
17790VALIGN="TOP"
17791><TT
17792CLASS="PARAMETER"
17793><I
17794>format</I
17795></TT
17796>&nbsp;:</TD
17797><TD
17798WIDTH="80%"
17799ALIGN="LEFT"
17800VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017801> should formatting spaces be added.</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000017802></TR
17803><TR
17804><TD
17805WIDTH="20%"
17806ALIGN="RIGHT"
17807VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000017808><SPAN
17809CLASS="emphasis"
Daniel Veillardf012a642001-07-23 19:10:52 +000017810><I
17811CLASS="EMPHASIS"
17812>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000017813></SPAN
Daniel Veillardf012a642001-07-23 19:10:52 +000017814> :</TD
17815><TD
17816WIDTH="80%"
17817ALIGN="LEFT"
17818VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000017819>the number of bytes written or -1 in case of error.</TD
Daniel Veillardf012a642001-07-23 19:10:52 +000017820></TR
17821></TBODY
17822></TABLE
17823><P
17824></P
17825></DIV
17826></DIV
17827><HR><DIV
17828CLASS="REFSECT2"
17829><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017830NAME="AEN7954"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017831></A
17832><H3
17833><A
17834NAME="XMLSAVEFILEENC"
17835></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000017836>xmlSaveFileEnc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017837><TABLE
17838BORDER="0"
17839BGCOLOR="#D6E8FF"
17840WIDTH="100%"
17841CELLPADDING="6"
17842><TR
17843><TD
17844><PRE
17845CLASS="PROGRAMLISTING"
17846>int xmlSaveFileEnc (const char *filename,
17847 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017848HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017849>xmlDocPtr</A
17850> cur,
17851 const char *encoding);</PRE
17852></TD
17853></TR
17854></TABLE
17855><P
17856>Dump an XML document, converting it to the given encoding</P
17857><P
17858></P
17859><DIV
17860CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000017861><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017862NAME="AEN7961"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017863></P
17864><TABLE
17865BORDER="0"
17866WIDTH="100%"
17867BGCOLOR="#FFD0D0"
17868CELLSPACING="0"
17869CELLPADDING="4"
17870CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000017871><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017872><TR
17873><TD
17874WIDTH="20%"
17875ALIGN="RIGHT"
17876VALIGN="TOP"
17877><TT
17878CLASS="PARAMETER"
17879><I
17880>filename</I
17881></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017882>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017883><TD
17884WIDTH="80%"
17885ALIGN="LEFT"
17886VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017887> the filename (or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017888></TR
17889><TR
17890><TD
17891WIDTH="20%"
17892ALIGN="RIGHT"
17893VALIGN="TOP"
17894><TT
17895CLASS="PARAMETER"
17896><I
17897>cur</I
17898></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017899>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017900><TD
17901WIDTH="80%"
17902ALIGN="LEFT"
17903VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017904> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017905></TR
17906><TR
17907><TD
17908WIDTH="20%"
17909ALIGN="RIGHT"
17910VALIGN="TOP"
17911><TT
17912CLASS="PARAMETER"
17913><I
17914>encoding</I
17915></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000017916>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017917><TD
17918WIDTH="80%"
17919ALIGN="LEFT"
17920VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000017921> the name of an encoding (or NULL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017922></TR
17923><TR
17924><TD
17925WIDTH="20%"
17926ALIGN="RIGHT"
17927VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000017928><SPAN
17929CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017930><I
17931CLASS="EMPHASIS"
17932>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000017933></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017934> :</TD
17935><TD
17936WIDTH="80%"
17937ALIGN="LEFT"
17938VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000017939> the number of bytes written or -1 in case of failure.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017940></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000017941></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017942></TABLE
17943><P
17944></P
17945></DIV
17946></DIV
17947><HR><DIV
17948CLASS="REFSECT2"
17949><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017950NAME="AEN7982"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017951></A
17952><H3
17953><A
17954NAME="XMLGETDOCCOMPRESSMODE"
17955></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000017956>xmlGetDocCompressMode ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017957><TABLE
17958BORDER="0"
17959BGCOLOR="#D6E8FF"
17960WIDTH="100%"
17961CELLPADDING="6"
17962><TR
17963><TD
17964><PRE
17965CLASS="PROGRAMLISTING"
17966>int xmlGetDocCompressMode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017967HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017968>xmlDocPtr</A
17969> doc);</PRE
17970></TD
17971></TR
17972></TABLE
17973><P
17974>get the compression ratio for a document, ZLIB based</P
17975><P
17976></P
17977><DIV
17978CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000017979><A
Daniel Veillard539638b2002-07-06 19:55:14 +000017980NAME="AEN7989"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017981></P
17982><TABLE
17983BORDER="0"
17984WIDTH="100%"
17985BGCOLOR="#FFD0D0"
17986CELLSPACING="0"
17987CELLPADDING="4"
17988CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000017989><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000017990><TR
17991><TD
17992WIDTH="20%"
17993ALIGN="RIGHT"
17994VALIGN="TOP"
17995><TT
17996CLASS="PARAMETER"
17997><I
17998>doc</I
17999></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000018000>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018001><TD
18002WIDTH="80%"
18003ALIGN="LEFT"
18004VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000018005> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018006></TR
18007><TR
18008><TD
18009WIDTH="20%"
18010ALIGN="RIGHT"
18011VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000018012><SPAN
18013CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018014><I
18015CLASS="EMPHASIS"
18016>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000018017></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018018> :</TD
18019><TD
18020WIDTH="80%"
18021ALIGN="LEFT"
18022VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000018023>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018024></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000018025></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018026></TABLE
18027><P
18028></P
18029></DIV
18030></DIV
18031><HR><DIV
18032CLASS="REFSECT2"
18033><A
Daniel Veillard539638b2002-07-06 19:55:14 +000018034NAME="AEN8002"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018035></A
18036><H3
18037><A
18038NAME="XMLSETDOCCOMPRESSMODE"
18039></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000018040>xmlSetDocCompressMode ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018041><TABLE
18042BORDER="0"
18043BGCOLOR="#D6E8FF"
18044WIDTH="100%"
18045CELLPADDING="6"
18046><TR
18047><TD
18048><PRE
18049CLASS="PROGRAMLISTING"
18050>void xmlSetDocCompressMode (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000018051HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018052>xmlDocPtr</A
18053> doc,
18054 int mode);</PRE
18055></TD
18056></TR
18057></TABLE
18058><P
18059>set the compression ratio for a document, ZLIB based
18060Correct values: 0 (uncompressed) to 9 (max compression)</P
18061><P
18062></P
18063><DIV
18064CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000018065><A
Daniel Veillard539638b2002-07-06 19:55:14 +000018066NAME="AEN8009"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018067></P
18068><TABLE
18069BORDER="0"
18070WIDTH="100%"
18071BGCOLOR="#FFD0D0"
18072CELLSPACING="0"
18073CELLPADDING="4"
18074CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000018075><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018076><TR
18077><TD
18078WIDTH="20%"
18079ALIGN="RIGHT"
18080VALIGN="TOP"
18081><TT
18082CLASS="PARAMETER"
18083><I
18084>doc</I
18085></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000018086>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018087><TD
18088WIDTH="80%"
18089ALIGN="LEFT"
18090VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000018091> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018092></TR
18093><TR
18094><TD
18095WIDTH="20%"
18096ALIGN="RIGHT"
18097VALIGN="TOP"
18098><TT
18099CLASS="PARAMETER"
18100><I
18101>mode</I
18102></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000018103>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018104><TD
18105WIDTH="80%"
18106ALIGN="LEFT"
18107VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000018108> the compression ratio</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018109></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000018110></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018111></TABLE
18112><P
18113></P
18114></DIV
18115></DIV
18116><HR><DIV
18117CLASS="REFSECT2"
18118><A
Daniel Veillard539638b2002-07-06 19:55:14 +000018119NAME="AEN8022"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018120></A
18121><H3
18122><A
18123NAME="XMLGETCOMPRESSMODE"
18124></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000018125>xmlGetCompressMode ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018126><TABLE
18127BORDER="0"
18128BGCOLOR="#D6E8FF"
18129WIDTH="100%"
18130CELLPADDING="6"
18131><TR
18132><TD
18133><PRE
18134CLASS="PROGRAMLISTING"
18135>int xmlGetCompressMode (void);</PRE
18136></TD
18137></TR
18138></TABLE
18139><P
18140>get the default compression mode used, ZLIB based.</P
18141><P
18142></P
18143><DIV
18144CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000018145><A
Daniel Veillard539638b2002-07-06 19:55:14 +000018146NAME="AEN8028"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018147></P
18148><TABLE
18149BORDER="0"
18150WIDTH="100%"
18151BGCOLOR="#FFD0D0"
18152CELLSPACING="0"
18153CELLPADDING="4"
18154CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000018155><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018156><TR
18157><TD
18158WIDTH="20%"
18159ALIGN="RIGHT"
18160VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000018161><SPAN
18162CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018163><I
18164CLASS="EMPHASIS"
18165>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000018166></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018167> :</TD
18168><TD
18169WIDTH="80%"
18170ALIGN="LEFT"
18171VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000018172>0 (uncompressed) to 9 (max compression)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018173></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000018174></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018175></TABLE
18176><P
18177></P
18178></DIV
18179></DIV
18180><HR><DIV
18181CLASS="REFSECT2"
18182><A
Daniel Veillard539638b2002-07-06 19:55:14 +000018183NAME="AEN8037"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018184></A
18185><H3
18186><A
18187NAME="XMLSETCOMPRESSMODE"
18188></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000018189>xmlSetCompressMode ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018190><TABLE
18191BORDER="0"
18192BGCOLOR="#D6E8FF"
18193WIDTH="100%"
18194CELLPADDING="6"
18195><TR
18196><TD
18197><PRE
18198CLASS="PROGRAMLISTING"
18199>void xmlSetCompressMode (int mode);</PRE
18200></TD
18201></TR
18202></TABLE
18203><P
18204>set the default compression mode used, ZLIB based
18205Correct values: 0 (uncompressed) to 9 (max compression)</P
18206><P
18207></P
18208><DIV
18209CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000018210><A
Daniel Veillard539638b2002-07-06 19:55:14 +000018211NAME="AEN8043"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018212></P
18213><TABLE
18214BORDER="0"
18215WIDTH="100%"
18216BGCOLOR="#FFD0D0"
18217CELLSPACING="0"
18218CELLPADDING="4"
18219CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000018220><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018221><TR
18222><TD
18223WIDTH="20%"
18224ALIGN="RIGHT"
18225VALIGN="TOP"
18226><TT
18227CLASS="PARAMETER"
18228><I
18229>mode</I
18230></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000018231>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018232><TD
18233WIDTH="80%"
18234ALIGN="LEFT"
18235VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +000018236> the compression ratio</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018237></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000018238></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018239></TABLE
18240><P
18241></P
18242></DIV
18243></DIV
18244></DIV
18245><DIV
18246CLASS="NAVFOOTER"
18247><BR
18248CLEAR="all"><BR><TABLE
18249WIDTH="100%"
18250BORDER="0"
18251BGCOLOR="#000000"
18252CELLPADDING="1"
18253CELLSPACING="0"
18254><TR
18255><TD
18256WIDTH="25%"
18257BGCOLOR="#C00000"
18258ALIGN="left"
18259><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000018260HREF="libxml-sax.html"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018261><FONT
18262COLOR="#FFFFFF"
18263SIZE="3"
18264><B
18265>&#60;&#60;&#60; Previous Page</B
18266></FONT
18267></A
18268></TD
18269><TD
18270WIDTH="25%"
18271BGCOLOR="#0000C0"
18272ALIGN="center"
18273><FONT
18274COLOR="#FFFFFF"
18275SIZE="3"
18276><B
18277><A
18278HREF="book1.html"
18279><FONT
18280COLOR="#FFFFFF"
18281SIZE="3"
18282><B
18283>Home</B
18284></FONT
18285></A
18286></B
18287></FONT
18288></TD
18289><TD
18290WIDTH="25%"
18291BGCOLOR="#00C000"
18292ALIGN="center"
18293><FONT
18294COLOR="#FFFFFF"
18295SIZE="3"
18296><B
18297><A
18298HREF="libxml-lib.html"
18299><FONT
18300COLOR="#FFFFFF"
18301SIZE="3"
18302><B
18303>Up</B
18304></FONT
18305></A
18306></B
18307></FONT
18308></TD
18309><TD
18310WIDTH="25%"
18311BGCOLOR="#C00000"
18312ALIGN="right"
18313><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000018314HREF="libxml-entities.html"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000018315><FONT
18316COLOR="#FFFFFF"
18317SIZE="3"
18318><B
18319>Next Page &#62;&#62;&#62;</B
18320></FONT
18321></A
18322></TD
18323></TR
18324><TR
18325><TD
18326COLSPAN="2"
18327ALIGN="left"
18328><FONT
18329COLOR="#FFFFFF"
18330SIZE="3"
18331><B
18332>SAX</B
18333></FONT
18334></TD
18335><TD
18336COLSPAN="2"
18337ALIGN="right"
18338><FONT
18339COLOR="#FFFFFF"
18340SIZE="3"
18341><B
18342>entities</B
18343></FONT
18344></TD
18345></TR
18346></TABLE
18347></DIV
18348></BODY
18349></HTML
Daniel Veillard35925471999-02-25 08:46:07 +000018350>