7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE="Gnome XML Library Reference Manual"
11 HREF="book1.html"><LINK
13 TITLE="Libxml Library Reference"
14 HREF="libxml-lib.html"><LINK
17 HREF="libxml-sax.html"><LINK
20 HREF="libxml-entities.html"></HEAD
43 >Gnome XML Library Reference Manual</FONT
52 HREF="libxml-sax.html"
57 ><<< Previous Page</B
90 HREF="libxml-lib.html"
106 HREF="libxml-entities.html"
111 >Next Page >>></B
120 NAME="LIBXML-TREE">tree</H1
128 >tree -- </DIV
130 CLASS="REFSYNOPSISDIV"
146 HREF="libxml-tree.html#XMLPARSERINPUTBUFFER"
147 >xmlParserInputBuffer</A
150 HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
151 >xmlParserInputBufferPtr</A
154 HREF="libxml-tree.html#XMLOUTPUTBUFFER"
158 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
159 >xmlOutputBufferPtr</A
162 HREF="libxml-parser.html#XMLPARSERINPUT"
166 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
167 >xmlParserInputPtr</A
170 HREF="libxml-parser.html#XMLPARSERCTXT"
174 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
178 HREF="libxml-parser.html#XMLSAXLOCATOR"
182 HREF="libxml-tree.html#XMLSAXLOCATORPTR"
186 HREF="libxml-parser.html#XMLSAXHANDLER"
190 HREF="libxml-tree.html#XMLSAXHANDLERPTR"
194 HREF="libxml-tree.html#XMLENTITY"
198 HREF="libxml-tree.html#XMLENTITYPTR"
202 HREF="libxml-tree.html#BASE-BUFFER-SIZE-CAPS"
206 HREF="libxml-tree.html#XML-XML-NAMESPACE-CAPS"
207 >XML_XML_NAMESPACE</A
210 HREF="libxml-tree.html#XMLELEMENTTYPE"
214 HREF="libxml-tree.html#XMLCHAR"
218 HREF="libxml-tree.html#BAD-CAST-CAPS"
222 HREF="libxml-tree.html#XMLNOTATION"
226 HREF="libxml-tree.html#XMLNOTATIONPTR"
230 HREF="libxml-tree.html#XMLATTRIBUTETYPE"
234 HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
235 >xmlAttributeDefault</A
238 HREF="libxml-tree.html#XMLENUMERATION"
242 HREF="libxml-tree.html#XMLENUMERATIONPTR"
243 >xmlEnumerationPtr</A
246 HREF="libxml-tree.html#XMLATTRIBUTE"
250 HREF="libxml-tree.html#XMLATTRIBUTEPTR"
254 HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
255 >xmlElementContentType</A
258 HREF="libxml-tree.html#XMLELEMENTCONTENTOCCUR"
259 >xmlElementContentOccur</A
262 HREF="libxml-tree.html#XMLELEMENTCONTENT"
263 >xmlElementContent</A
266 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
267 >xmlElementContentPtr</A
270 HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
271 >xmlElementTypeVal</A
274 HREF="libxml-tree.html#XMLELEMENT"
278 HREF="libxml-tree.html#XMLELEMENTPTR"
282 HREF="libxml-tree.html#XML-LOCAL-NAMESPACE-CAPS"
283 >XML_LOCAL_NAMESPACE</A
286 HREF="libxml-tree.html#XMLNSTYPE"
290 HREF="libxml-tree.html#XMLNS"
294 HREF="libxml-tree.html#XMLNSPTR"
298 HREF="libxml-tree.html#XMLDTD"
302 HREF="libxml-tree.html#XMLDTDPTR"
306 HREF="libxml-tree.html#XMLATTR"
310 HREF="libxml-tree.html#XMLATTRPTR"
314 HREF="libxml-tree.html#XMLID"
318 HREF="libxml-tree.html#XMLIDPTR"
322 HREF="libxml-tree.html#XMLREF"
326 HREF="libxml-tree.html#XMLREFPTR"
330 HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
331 >xmlBufferAllocationScheme</A
334 HREF="libxml-tree.html#XMLBUFFER"
338 HREF="libxml-tree.html#XMLBUFFERPTR"
342 HREF="libxml-tree.html#XMLNODE"
346 HREF="libxml-tree.html#XMLNODEPTR"
350 HREF="libxml-tree.html#XML-GET-CONTENT-CAPS"
354 HREF="libxml-tree.html#XML-GET-LINE-CAPS"
358 HREF="libxml-tree.html#XMLDOC"
362 HREF="libxml-tree.html#XMLDOCPTR"
366 HREF="libxml-tree.html#XMLCHILDRENNODE"
370 HREF="libxml-tree.html#XMLROOTNODE"
374 HREF="libxml-tree.html#XMLSETBUFFERALLOCATIONSCHEME"
375 >xmlSetBufferAllocationScheme</A
377 HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
378 >xmlBufferAllocationScheme</A
381 HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
382 >xmlBufferAllocationScheme</A
384 HREF="libxml-tree.html#XMLGETBUFFERALLOCATIONSCHEME"
385 >xmlGetBufferAllocationScheme</A
389 HREF="libxml-tree.html#XMLBUFFERPTR"
392 HREF="libxml-tree.html#XMLBUFFERCREATE"
396 HREF="libxml-tree.html#XMLBUFFERPTR"
399 HREF="libxml-tree.html#XMLBUFFERCREATESIZE"
400 >xmlBufferCreateSize</A
406 HREF="libxml-tree.html#XMLBUFFERRESIZE"
409 HREF="libxml-tree.html#XMLBUFFERPTR"
414 HREF="libxml-tree.html#XMLBUFFERFREE"
417 HREF="libxml-tree.html#XMLBUFFERPTR"
421 HREF="libxml-tree.html#XMLBUFFERDUMP"
428 HREF="libxml-tree.html#XMLBUFFERPTR"
432 HREF="libxml-tree.html#XMLBUFFERADD"
435 HREF="libxml-tree.html#XMLBUFFERPTR"
439 HREF="libxml-tree.html#XMLCHAR"
444 HREF="libxml-tree.html#XMLBUFFERADDHEAD"
447 HREF="libxml-tree.html#XMLBUFFERPTR"
451 HREF="libxml-tree.html#XMLCHAR"
456 HREF="libxml-tree.html#XMLBUFFERCAT"
459 HREF="libxml-tree.html#XMLBUFFERPTR"
463 HREF="libxml-tree.html#XMLCHAR"
467 HREF="libxml-tree.html#XMLBUFFERCCAT"
470 HREF="libxml-tree.html#XMLBUFFERPTR"
475 HREF="libxml-tree.html#XMLBUFFERSHRINK"
478 HREF="libxml-tree.html#XMLBUFFERPTR"
483 HREF="libxml-tree.html#XMLBUFFERGROW"
486 HREF="libxml-tree.html#XMLBUFFERPTR"
491 HREF="libxml-tree.html#XMLBUFFEREMPTY"
494 HREF="libxml-tree.html#XMLBUFFERPTR"
498 HREF="libxml-tree.html#XMLCHAR"
501 HREF="libxml-tree.html#XMLBUFFERCONTENT"
504 HREF="libxml-tree.html#XMLBUFFERPTR"
508 HREF="libxml-tree.html#XMLBUFFERSETALLOCATIONSCHEME"
509 >xmlBufferSetAllocationScheme</A
511 HREF="libxml-tree.html#XMLBUFFERPTR"
515 HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
516 >xmlBufferAllocationScheme</A
519 HREF="libxml-tree.html#XMLBUFFERLENGTH"
522 HREF="libxml-tree.html#XMLBUFFERPTR"
526 HREF="libxml-tree.html#XMLDTDPTR"
529 HREF="libxml-tree.html#XMLCREATEINTSUBSET"
530 >xmlCreateIntSubset</A
532 HREF="libxml-tree.html#XMLDOCPTR"
536 HREF="libxml-tree.html#XMLCHAR"
540 HREF="libxml-tree.html#XMLCHAR"
544 HREF="libxml-tree.html#XMLCHAR"
548 HREF="libxml-tree.html#XMLDTDPTR"
551 HREF="libxml-tree.html#XMLNEWDTD"
554 HREF="libxml-tree.html#XMLDOCPTR"
558 HREF="libxml-tree.html#XMLCHAR"
562 HREF="libxml-tree.html#XMLCHAR"
566 HREF="libxml-tree.html#XMLCHAR"
570 HREF="libxml-tree.html#XMLDTDPTR"
573 HREF="libxml-tree.html#XMLGETINTSUBSET"
576 HREF="libxml-tree.html#XMLDOCPTR"
580 HREF="libxml-tree.html#XMLFREEDTD"
583 HREF="libxml-tree.html#XMLDTDPTR"
587 HREF="libxml-tree.html#XMLNSPTR"
590 HREF="libxml-tree.html#XMLNEWGLOBALNS"
593 HREF="libxml-tree.html#XMLDOCPTR"
597 HREF="libxml-tree.html#XMLCHAR"
601 HREF="libxml-tree.html#XMLCHAR"
605 HREF="libxml-tree.html#XMLNSPTR"
608 HREF="libxml-tree.html#XMLNEWNS"
611 HREF="libxml-tree.html#XMLNODEPTR"
615 HREF="libxml-tree.html#XMLCHAR"
619 HREF="libxml-tree.html#XMLCHAR"
623 HREF="libxml-tree.html#XMLFREENS"
626 HREF="libxml-tree.html#XMLNSPTR"
630 HREF="libxml-tree.html#XMLFREENSLIST"
633 HREF="libxml-tree.html#XMLNSPTR"
637 HREF="libxml-tree.html#XMLDOCPTR"
640 HREF="libxml-tree.html#XMLNEWDOC"
643 HREF="libxml-tree.html#XMLCHAR"
647 HREF="libxml-tree.html#XMLFREEDOC"
650 HREF="libxml-tree.html#XMLDOCPTR"
654 HREF="libxml-tree.html#XMLATTRPTR"
657 HREF="libxml-tree.html#XMLNEWDOCPROP"
660 HREF="libxml-tree.html#XMLDOCPTR"
664 HREF="libxml-tree.html#XMLCHAR"
668 HREF="libxml-tree.html#XMLCHAR"
672 HREF="libxml-tree.html#XMLATTRPTR"
675 HREF="libxml-tree.html#XMLNEWPROP"
678 HREF="libxml-tree.html#XMLNODEPTR"
682 HREF="libxml-tree.html#XMLCHAR"
686 HREF="libxml-tree.html#XMLCHAR"
690 HREF="libxml-tree.html#XMLATTRPTR"
693 HREF="libxml-tree.html#XMLNEWNSPROP"
696 HREF="libxml-tree.html#XMLNODEPTR"
700 HREF="libxml-tree.html#XMLNSPTR"
704 HREF="libxml-tree.html#XMLCHAR"
708 HREF="libxml-tree.html#XMLCHAR"
712 HREF="libxml-tree.html#XMLATTRPTR"
715 HREF="libxml-tree.html#XMLNEWNSPROPEATNAME"
716 >xmlNewNsPropEatName</A
718 HREF="libxml-tree.html#XMLNODEPTR"
722 HREF="libxml-tree.html#XMLNSPTR"
726 HREF="libxml-tree.html#XMLCHAR"
730 HREF="libxml-tree.html#XMLCHAR"
734 HREF="libxml-tree.html#XMLFREEPROPLIST"
737 HREF="libxml-tree.html#XMLATTRPTR"
741 HREF="libxml-tree.html#XMLFREEPROP"
744 HREF="libxml-tree.html#XMLATTRPTR"
748 HREF="libxml-tree.html#XMLATTRPTR"
751 HREF="libxml-tree.html#XMLCOPYPROP"
754 HREF="libxml-tree.html#XMLNODEPTR"
758 HREF="libxml-tree.html#XMLATTRPTR"
762 HREF="libxml-tree.html#XMLATTRPTR"
765 HREF="libxml-tree.html#XMLCOPYPROPLIST"
768 HREF="libxml-tree.html#XMLNODEPTR"
772 HREF="libxml-tree.html#XMLATTRPTR"
776 HREF="libxml-tree.html#XMLDTDPTR"
779 HREF="libxml-tree.html#XMLCOPYDTD"
782 HREF="libxml-tree.html#XMLDTDPTR"
786 HREF="libxml-tree.html#XMLDOCPTR"
789 HREF="libxml-tree.html#XMLCOPYDOC"
792 HREF="libxml-tree.html#XMLDOCPTR"
797 HREF="libxml-tree.html#XMLNODEPTR"
800 HREF="libxml-tree.html#XMLNEWDOCNODE"
803 HREF="libxml-tree.html#XMLDOCPTR"
807 HREF="libxml-tree.html#XMLNSPTR"
811 HREF="libxml-tree.html#XMLCHAR"
815 HREF="libxml-tree.html#XMLCHAR"
819 HREF="libxml-tree.html#XMLNODEPTR"
822 HREF="libxml-tree.html#XMLNEWDOCNODEEATNAME"
823 >xmlNewDocNodeEatName</A
825 HREF="libxml-tree.html#XMLDOCPTR"
829 HREF="libxml-tree.html#XMLNSPTR"
833 HREF="libxml-tree.html#XMLCHAR"
837 HREF="libxml-tree.html#XMLCHAR"
841 HREF="libxml-tree.html#XMLNODEPTR"
844 HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
847 HREF="libxml-tree.html#XMLDOCPTR"
851 HREF="libxml-tree.html#XMLNSPTR"
855 HREF="libxml-tree.html#XMLCHAR"
859 HREF="libxml-tree.html#XMLCHAR"
863 HREF="libxml-tree.html#XMLNODEPTR"
866 HREF="libxml-tree.html#XMLNEWNODE"
869 HREF="libxml-tree.html#XMLNSPTR"
873 HREF="libxml-tree.html#XMLCHAR"
877 HREF="libxml-tree.html#XMLNODEPTR"
880 HREF="libxml-tree.html#XMLNEWNODEEATNAME"
881 >xmlNewNodeEatName</A
883 HREF="libxml-tree.html#XMLNSPTR"
887 HREF="libxml-tree.html#XMLCHAR"
891 HREF="libxml-tree.html#XMLNODEPTR"
894 HREF="libxml-tree.html#XMLNEWCHILD"
897 HREF="libxml-tree.html#XMLNODEPTR"
901 HREF="libxml-tree.html#XMLNSPTR"
905 HREF="libxml-tree.html#XMLCHAR"
909 HREF="libxml-tree.html#XMLCHAR"
913 HREF="libxml-tree.html#XMLNODEPTR"
916 HREF="libxml-tree.html#XMLNEWTEXTCHILD"
919 HREF="libxml-tree.html#XMLNODEPTR"
923 HREF="libxml-tree.html#XMLNSPTR"
927 HREF="libxml-tree.html#XMLCHAR"
931 HREF="libxml-tree.html#XMLCHAR"
935 HREF="libxml-tree.html#XMLNODEPTR"
938 HREF="libxml-tree.html#XMLNEWDOCTEXT"
941 HREF="libxml-tree.html#XMLDOCPTR"
945 HREF="libxml-tree.html#XMLCHAR"
949 HREF="libxml-tree.html#XMLNODEPTR"
952 HREF="libxml-tree.html#XMLNEWTEXT"
955 HREF="libxml-tree.html#XMLCHAR"
959 HREF="libxml-tree.html#XMLNODEPTR"
962 HREF="libxml-tree.html#XMLNEWPI"
965 HREF="libxml-tree.html#XMLCHAR"
969 HREF="libxml-tree.html#XMLCHAR"
973 HREF="libxml-tree.html#XMLNODEPTR"
976 HREF="libxml-tree.html#XMLNEWDOCTEXTLEN"
979 HREF="libxml-tree.html#XMLDOCPTR"
983 HREF="libxml-tree.html#XMLCHAR"
988 HREF="libxml-tree.html#XMLNODEPTR"
991 HREF="libxml-tree.html#XMLNEWTEXTLEN"
994 HREF="libxml-tree.html#XMLCHAR"
999 HREF="libxml-tree.html#XMLNODEPTR"
1002 HREF="libxml-tree.html#XMLNEWDOCCOMMENT"
1003 >xmlNewDocComment</A
1005 HREF="libxml-tree.html#XMLDOCPTR"
1009 HREF="libxml-tree.html#XMLCHAR"
1013 HREF="libxml-tree.html#XMLNODEPTR"
1016 HREF="libxml-tree.html#XMLNEWCOMMENT"
1019 HREF="libxml-tree.html#XMLCHAR"
1023 HREF="libxml-tree.html#XMLNODEPTR"
1026 HREF="libxml-tree.html#XMLNEWCDATABLOCK"
1027 >xmlNewCDataBlock</A
1029 HREF="libxml-tree.html#XMLDOCPTR"
1033 HREF="libxml-tree.html#XMLCHAR"
1038 HREF="libxml-tree.html#XMLNODEPTR"
1041 HREF="libxml-tree.html#XMLNEWCHARREF"
1044 HREF="libxml-tree.html#XMLDOCPTR"
1048 HREF="libxml-tree.html#XMLCHAR"
1052 HREF="libxml-tree.html#XMLNODEPTR"
1055 HREF="libxml-tree.html#XMLNEWREFERENCE"
1058 HREF="libxml-tree.html#XMLDOCPTR"
1062 HREF="libxml-tree.html#XMLCHAR"
1066 HREF="libxml-tree.html#XMLNODEPTR"
1069 HREF="libxml-tree.html#XMLCOPYNODE"
1072 HREF="libxml-tree.html#XMLNODEPTR"
1077 HREF="libxml-tree.html#XMLNODEPTR"
1080 HREF="libxml-tree.html#XMLDOCCOPYNODE"
1083 HREF="libxml-tree.html#XMLNODEPTR"
1087 HREF="libxml-tree.html#XMLDOCPTR"
1092 HREF="libxml-tree.html#XMLNODEPTR"
1095 HREF="libxml-tree.html#XMLCOPYNODELIST"
1098 HREF="libxml-tree.html#XMLNODEPTR"
1102 HREF="libxml-tree.html#XMLNODEPTR"
1105 HREF="libxml-tree.html#XMLNEWDOCFRAGMENT"
1106 >xmlNewDocFragment</A
1108 HREF="libxml-tree.html#XMLDOCPTR"
1115 HREF="libxml-tree.html#XMLGETLINENO"
1118 HREF="libxml-tree.html#XMLNODEPTR"
1122 HREF="libxml-tree.html#XMLCHAR"
1125 HREF="libxml-tree.html#XMLGETNODEPATH"
1128 HREF="libxml-tree.html#XMLNODEPTR"
1132 HREF="libxml-tree.html#XMLNODEPTR"
1135 HREF="libxml-tree.html#XMLDOCGETROOTELEMENT"
1136 >xmlDocGetRootElement</A
1138 HREF="libxml-tree.html#XMLDOCPTR"
1142 HREF="libxml-tree.html#XMLNODEPTR"
1145 HREF="libxml-tree.html#XMLGETLASTCHILD"
1148 HREF="libxml-tree.html#XMLNODEPTR"
1152 HREF="libxml-tree.html#XMLNODEISTEXT"
1155 HREF="libxml-tree.html#XMLNODEPTR"
1159 HREF="libxml-tree.html#XMLISBLANKNODE"
1162 HREF="libxml-tree.html#XMLNODEPTR"
1166 HREF="libxml-tree.html#XMLNODEPTR"
1169 HREF="libxml-tree.html#XMLDOCSETROOTELEMENT"
1170 >xmlDocSetRootElement</A
1172 HREF="libxml-tree.html#XMLDOCPTR"
1176 HREF="libxml-tree.html#XMLNODEPTR"
1180 HREF="libxml-tree.html#XMLNODESETNAME"
1183 HREF="libxml-tree.html#XMLNODEPTR"
1187 HREF="libxml-tree.html#XMLCHAR"
1191 HREF="libxml-tree.html#XMLNODEPTR"
1194 HREF="libxml-tree.html#XMLADDCHILD"
1197 HREF="libxml-tree.html#XMLNODEPTR"
1201 HREF="libxml-tree.html#XMLNODEPTR"
1205 HREF="libxml-tree.html#XMLNODEPTR"
1208 HREF="libxml-tree.html#XMLADDCHILDLIST"
1211 HREF="libxml-tree.html#XMLNODEPTR"
1215 HREF="libxml-tree.html#XMLNODEPTR"
1219 HREF="libxml-tree.html#XMLNODEPTR"
1222 HREF="libxml-tree.html#XMLREPLACENODE"
1225 HREF="libxml-tree.html#XMLNODEPTR"
1229 HREF="libxml-tree.html#XMLNODEPTR"
1233 HREF="libxml-tree.html#XMLNODEPTR"
1236 HREF="libxml-tree.html#XMLADDSIBLING"
1239 HREF="libxml-tree.html#XMLNODEPTR"
1243 HREF="libxml-tree.html#XMLNODEPTR"
1247 HREF="libxml-tree.html#XMLNODEPTR"
1250 HREF="libxml-tree.html#XMLADDPREVSIBLING"
1251 >xmlAddPrevSibling</A
1253 HREF="libxml-tree.html#XMLNODEPTR"
1257 HREF="libxml-tree.html#XMLNODEPTR"
1261 HREF="libxml-tree.html#XMLNODEPTR"
1264 HREF="libxml-tree.html#XMLADDNEXTSIBLING"
1265 >xmlAddNextSibling</A
1267 HREF="libxml-tree.html#XMLNODEPTR"
1271 HREF="libxml-tree.html#XMLNODEPTR"
1275 HREF="libxml-tree.html#XMLUNLINKNODE"
1278 HREF="libxml-tree.html#XMLNODEPTR"
1282 HREF="libxml-tree.html#XMLNODEPTR"
1285 HREF="libxml-tree.html#XMLTEXTMERGE"
1288 HREF="libxml-tree.html#XMLNODEPTR"
1292 HREF="libxml-tree.html#XMLNODEPTR"
1296 HREF="libxml-tree.html#XMLTEXTCONCAT"
1299 HREF="libxml-tree.html#XMLNODEPTR"
1303 HREF="libxml-tree.html#XMLCHAR"
1308 HREF="libxml-tree.html#XMLFREENODELIST"
1311 HREF="libxml-tree.html#XMLNODEPTR"
1315 HREF="libxml-tree.html#XMLFREENODE"
1318 HREF="libxml-tree.html#XMLNODEPTR"
1322 HREF="libxml-tree.html#XMLSETTREEDOC"
1325 HREF="libxml-tree.html#XMLNODEPTR"
1329 HREF="libxml-tree.html#XMLDOCPTR"
1333 HREF="libxml-tree.html#XMLSETLISTDOC"
1336 HREF="libxml-tree.html#XMLNODEPTR"
1340 HREF="libxml-tree.html#XMLDOCPTR"
1344 HREF="libxml-tree.html#XMLNSPTR"
1347 HREF="libxml-tree.html#XMLSEARCHNS"
1350 HREF="libxml-tree.html#XMLDOCPTR"
1354 HREF="libxml-tree.html#XMLNODEPTR"
1358 HREF="libxml-tree.html#XMLCHAR"
1362 HREF="libxml-tree.html#XMLNSPTR"
1365 HREF="libxml-tree.html#XMLSEARCHNSBYHREF"
1366 >xmlSearchNsByHref</A
1368 HREF="libxml-tree.html#XMLDOCPTR"
1372 HREF="libxml-tree.html#XMLNODEPTR"
1376 HREF="libxml-tree.html#XMLCHAR"
1380 HREF="libxml-tree.html#XMLNSPTR"
1383 HREF="libxml-tree.html#XMLGETNSLIST"
1386 HREF="libxml-tree.html#XMLDOCPTR"
1390 HREF="libxml-tree.html#XMLNODEPTR"
1394 HREF="libxml-tree.html#XMLSETNS"
1397 HREF="libxml-tree.html#XMLNODEPTR"
1401 HREF="libxml-tree.html#XMLNSPTR"
1405 HREF="libxml-tree.html#XMLNSPTR"
1408 HREF="libxml-tree.html#XMLCOPYNAMESPACE"
1409 >xmlCopyNamespace</A
1411 HREF="libxml-tree.html#XMLNSPTR"
1415 HREF="libxml-tree.html#XMLNSPTR"
1418 HREF="libxml-tree.html#XMLCOPYNAMESPACELIST"
1419 >xmlCopyNamespaceList</A
1421 HREF="libxml-tree.html#XMLNSPTR"
1425 HREF="libxml-tree.html#XMLATTRPTR"
1428 HREF="libxml-tree.html#XMLSETPROP"
1431 HREF="libxml-tree.html#XMLNODEPTR"
1435 HREF="libxml-tree.html#XMLCHAR"
1439 HREF="libxml-tree.html#XMLCHAR"
1443 HREF="libxml-tree.html#XMLCHAR"
1446 HREF="libxml-tree.html#XMLGETPROP"
1449 HREF="libxml-tree.html#XMLNODEPTR"
1453 HREF="libxml-tree.html#XMLCHAR"
1457 HREF="libxml-tree.html#XMLATTRPTR"
1460 HREF="libxml-tree.html#XMLHASPROP"
1463 HREF="libxml-tree.html#XMLNODEPTR"
1467 HREF="libxml-tree.html#XMLCHAR"
1471 HREF="libxml-tree.html#XMLATTRPTR"
1474 HREF="libxml-tree.html#XMLHASNSPROP"
1477 HREF="libxml-tree.html#XMLNODEPTR"
1481 HREF="libxml-tree.html#XMLCHAR"
1485 HREF="libxml-tree.html#XMLCHAR"
1489 HREF="libxml-tree.html#XMLATTRPTR"
1492 HREF="libxml-tree.html#XMLSETNSPROP"
1495 HREF="libxml-tree.html#XMLNODEPTR"
1499 HREF="libxml-tree.html#XMLNSPTR"
1503 HREF="libxml-tree.html#XMLCHAR"
1507 HREF="libxml-tree.html#XMLCHAR"
1511 HREF="libxml-tree.html#XMLCHAR"
1514 HREF="libxml-tree.html#XMLGETNSPROP"
1517 HREF="libxml-tree.html#XMLNODEPTR"
1521 HREF="libxml-tree.html#XMLCHAR"
1525 HREF="libxml-tree.html#XMLCHAR"
1529 HREF="libxml-tree.html#XMLNODEPTR"
1532 HREF="libxml-tree.html#XMLSTRINGGETNODELIST"
1533 >xmlStringGetNodeList</A
1535 HREF="libxml-tree.html#XMLDOCPTR"
1539 HREF="libxml-tree.html#XMLCHAR"
1543 HREF="libxml-tree.html#XMLNODEPTR"
1546 HREF="libxml-tree.html#XMLSTRINGLENGETNODELIST"
1547 >xmlStringLenGetNodeList</A
1549 HREF="libxml-tree.html#XMLDOCPTR"
1553 HREF="libxml-tree.html#XMLCHAR"
1558 HREF="libxml-tree.html#XMLCHAR"
1561 HREF="libxml-tree.html#XMLNODELISTGETSTRING"
1562 >xmlNodeListGetString</A
1564 HREF="libxml-tree.html#XMLDOCPTR"
1568 HREF="libxml-tree.html#XMLNODEPTR"
1573 HREF="libxml-tree.html#XMLCHAR"
1576 HREF="libxml-tree.html#XMLNODELISTGETRAWSTRING"
1577 >xmlNodeListGetRawString</A
1579 HREF="libxml-tree.html#XMLDOCPTR"
1583 HREF="libxml-tree.html#XMLNODEPTR"
1588 HREF="libxml-tree.html#XMLNODESETCONTENT"
1589 >xmlNodeSetContent</A
1591 HREF="libxml-tree.html#XMLNODEPTR"
1595 HREF="libxml-tree.html#XMLCHAR"
1599 HREF="libxml-tree.html#XMLNODESETCONTENTLEN"
1600 >xmlNodeSetContentLen</A
1602 HREF="libxml-tree.html#XMLNODEPTR"
1606 HREF="libxml-tree.html#XMLCHAR"
1611 HREF="libxml-tree.html#XMLNODEADDCONTENT"
1612 >xmlNodeAddContent</A
1614 HREF="libxml-tree.html#XMLNODEPTR"
1618 HREF="libxml-tree.html#XMLCHAR"
1622 HREF="libxml-tree.html#XMLNODEADDCONTENTLEN"
1623 >xmlNodeAddContentLen</A
1625 HREF="libxml-tree.html#XMLNODEPTR"
1629 HREF="libxml-tree.html#XMLCHAR"
1634 HREF="libxml-tree.html#XMLCHAR"
1637 HREF="libxml-tree.html#XMLNODEGETCONTENT"
1638 >xmlNodeGetContent</A
1640 HREF="libxml-tree.html#XMLNODEPTR"
1644 HREF="libxml-tree.html#XMLCHAR"
1647 HREF="libxml-tree.html#XMLNODEGETLANG"
1650 HREF="libxml-tree.html#XMLNODEPTR"
1654 HREF="libxml-tree.html#XMLNODESETLANG"
1657 HREF="libxml-tree.html#XMLNODEPTR"
1661 HREF="libxml-tree.html#XMLCHAR"
1665 HREF="libxml-tree.html#XMLNODEGETSPACEPRESERVE"
1666 >xmlNodeGetSpacePreserve</A
1668 HREF="libxml-tree.html#XMLNODEPTR"
1672 HREF="libxml-tree.html#XMLNODESETSPACEPRESERVE"
1673 >xmlNodeSetSpacePreserve</A
1675 HREF="libxml-tree.html#XMLNODEPTR"
1680 HREF="libxml-tree.html#XMLCHAR"
1683 HREF="libxml-tree.html#XMLNODEGETBASE"
1686 HREF="libxml-tree.html#XMLDOCPTR"
1690 HREF="libxml-tree.html#XMLNODEPTR"
1694 HREF="libxml-tree.html#XMLNODESETBASE"
1697 HREF="libxml-tree.html#XMLNODEPTR"
1701 HREF="libxml-tree.html#XMLCHAR"
1705 HREF="libxml-tree.html#XMLREMOVEPROP"
1708 HREF="libxml-tree.html#XMLATTRPTR"
1712 HREF="libxml-tree.html#XMLUNSETPROP"
1715 HREF="libxml-tree.html#XMLNODEPTR"
1719 HREF="libxml-tree.html#XMLCHAR"
1723 HREF="libxml-tree.html#XMLUNSETNSPROP"
1726 HREF="libxml-tree.html#XMLNODEPTR"
1730 HREF="libxml-tree.html#XMLNSPTR"
1734 HREF="libxml-tree.html#XMLCHAR"
1738 HREF="libxml-tree.html#XMLBUFFERWRITEXMLCHAR"
1739 >xmlBufferWriteXmlCHAR</A
1741 HREF="libxml-tree.html#XMLBUFFERPTR"
1745 HREF="libxml-tree.html#XMLCHAR"
1749 HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
1750 >xmlBufferWriteCHAR</A
1752 HREF="libxml-tree.html#XMLBUFFERPTR"
1756 HREF="libxml-tree.html#XMLCHAR"
1760 HREF="libxml-tree.html#XMLBUFFERWRITECHAR"
1761 >xmlBufferWriteChar</A
1763 HREF="libxml-tree.html#XMLBUFFERPTR"
1766 const char *string);
1768 HREF="libxml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"
1769 >xmlBufferWriteQuotedString</A
1771 HREF="libxml-tree.html#XMLBUFFERPTR"
1775 HREF="libxml-tree.html#XMLCHAR"
1779 HREF="libxml-tree.html#XMLRECONCILIATENS"
1780 >xmlReconciliateNs</A
1782 HREF="libxml-tree.html#XMLDOCPTR"
1786 HREF="libxml-tree.html#XMLNODEPTR"
1790 HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORY"
1791 >xmlDocDumpFormatMemory</A
1793 HREF="libxml-tree.html#XMLDOCPTR"
1797 HREF="libxml-tree.html#XMLCHAR"
1803 HREF="libxml-tree.html#XMLDOCDUMPMEMORY"
1804 >xmlDocDumpMemory</A
1806 HREF="libxml-tree.html#XMLDOCPTR"
1810 HREF="libxml-tree.html#XMLCHAR"
1815 HREF="libxml-tree.html#XMLDOCDUMPMEMORYENC"
1816 >xmlDocDumpMemoryEnc</A
1818 HREF="libxml-tree.html#XMLDOCPTR"
1822 HREF="libxml-tree.html#XMLCHAR"
1826 const char *txt_encoding);
1828 HREF="libxml-tree.html#XMLDOCDUMPFORMATMEMORYENC"
1829 >xmlDocDumpFormatMemoryEnc</A
1831 HREF="libxml-tree.html#XMLDOCPTR"
1835 HREF="libxml-tree.html#XMLCHAR"
1839 const char *txt_encoding,
1842 HREF="libxml-tree.html#XMLDOCFORMATDUMP"
1843 >xmlDocFormatDump</A
1849 HREF="libxml-tree.html#XMLDOCPTR"
1854 HREF="libxml-tree.html#XMLDOCDUMP"
1861 HREF="libxml-tree.html#XMLDOCPTR"
1865 HREF="libxml-tree.html#XMLELEMDUMP"
1872 HREF="libxml-tree.html#XMLDOCPTR"
1876 HREF="libxml-tree.html#XMLNODEPTR"
1880 HREF="libxml-tree.html#XMLSAVEFILE"
1882 > (const char *filename,
1884 HREF="libxml-tree.html#XMLDOCPTR"
1888 HREF="libxml-tree.html#XMLSAVEFORMATFILE"
1889 >xmlSaveFormatFile</A
1890 > (const char *filename,
1892 HREF="libxml-tree.html#XMLDOCPTR"
1897 HREF="libxml-tree.html#XMLNODEDUMP"
1900 HREF="libxml-tree.html#XMLBUFFERPTR"
1904 HREF="libxml-tree.html#XMLDOCPTR"
1908 HREF="libxml-tree.html#XMLNODEPTR"
1914 HREF="libxml-tree.html#XMLSAVEFILETO"
1917 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
1918 >xmlOutputBufferPtr</A
1921 HREF="libxml-tree.html#XMLDOCPTR"
1924 const char *encoding);
1926 HREF="libxml-tree.html#XMLSAVEFORMATFILETO"
1927 >xmlSaveFormatFileTo</A
1929 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
1930 >xmlOutputBufferPtr</A
1933 HREF="libxml-tree.html#XMLDOCPTR"
1936 const char *encoding,
1939 HREF="libxml-tree.html#XMLNODEDUMPOUTPUT"
1940 >xmlNodeDumpOutput</A
1942 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
1943 >xmlOutputBufferPtr</A
1946 HREF="libxml-tree.html#XMLDOCPTR"
1950 HREF="libxml-tree.html#XMLNODEPTR"
1955 const char *encoding);
1957 HREF="libxml-tree.html#XMLSAVEFORMATFILEENC"
1958 >xmlSaveFormatFileEnc</A
1959 > (const char *filename,
1961 HREF="libxml-tree.html#XMLDOCPTR"
1964 const char *encoding,
1967 HREF="libxml-tree.html#XMLSAVEFILEENC"
1969 > (const char *filename,
1971 HREF="libxml-tree.html#XMLDOCPTR"
1974 const char *encoding);
1976 HREF="libxml-tree.html#XMLGETDOCCOMPRESSMODE"
1977 >xmlGetDocCompressMode</A
1979 HREF="libxml-tree.html#XMLDOCPTR"
1983 HREF="libxml-tree.html#XMLSETDOCCOMPRESSMODE"
1984 >xmlSetDocCompressMode</A
1986 HREF="libxml-tree.html#XMLDOCPTR"
1991 HREF="libxml-tree.html#XMLGETCOMPRESSMODE"
1992 >xmlGetCompressMode</A
1995 HREF="libxml-tree.html#XMLSETCOMPRESSMODE"
1996 >xmlSetCompressMode</A
2026 NAME="XMLPARSERINPUTBUFFER"
2028 >struct xmlParserInputBuffer</H3
2037 CLASS="PROGRAMLISTING"
2038 >struct xmlParserInputBuffer {
2040 xmlInputReadCallback readcallback;
2041 xmlInputCloseCallback closecallback;
2043 xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */
2045 xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 */
2046 xmlBufferPtr raw; /* if encoder != NULL buffer for raw input */
2061 NAME="XMLPARSERINPUTBUFFERPTR"
2063 >xmlParserInputBufferPtr</H3
2072 CLASS="PROGRAMLISTING"
2073 >typedef xmlParserInputBuffer *xmlParserInputBufferPtr;</PRE
2087 NAME="XMLOUTPUTBUFFER"
2089 >struct xmlOutputBuffer</H3
2098 CLASS="PROGRAMLISTING"
2099 >struct xmlOutputBuffer {
2101 xmlOutputWriteCallback writecallback;
2102 xmlOutputCloseCallback closecallback;
2104 xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */
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 */
2123 NAME="XMLOUTPUTBUFFERPTR"
2125 >xmlOutputBufferPtr</H3
2134 CLASS="PROGRAMLISTING"
2135 >typedef xmlOutputBuffer *xmlOutputBufferPtr;</PRE
2149 NAME="XMLPARSERINPUT"
2151 >struct xmlParserInput</H3
2160 CLASS="PROGRAMLISTING"
2161 >struct xmlParserInput {
2163 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
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 */
2169 const xmlChar *end; /* end of the array to parse */
2170 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 */
2183 >An xmlParserInput is an input flow for the XML processor.
2184 Each entity parsed is associated an xmlParserInput (except the
2185 few predefined ones). This is the case both for internal entities
2186 - in which case the flow is already completely in memory - or
2187 external entities - in which case we use the buf structure for
2188 progressive reading and I18N conversions to the internal UTF-8 format.</P
2199 NAME="XMLPARSERINPUTPTR"
2201 >xmlParserInputPtr</H3
2210 CLASS="PROGRAMLISTING"
2211 >typedef xmlParserInput *xmlParserInputPtr;</PRE
2225 NAME="XMLPARSERCTXT"
2227 >struct xmlParserCtxt</H3
2236 CLASS="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 */
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 */
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 */
2260 int record_info; /* Whether node info should be kept */
2261 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
2263 int errNo; /* error code */
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 */
2269 int valid; /* is the document valid */
2270 int validate; /* shall we try to validate ? */
2271 xmlValidCtxt vctxt; /* The validity context */
2273 xmlParserInputState instate; /* current type of input */
2274 int token; /* next char look-ahead */
2276 char *directory; /* the data directory */
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 */
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 */
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 */
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 */
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 */
2316 >The parser context.
2317 NOTE This doesn't completely define the parser state, the (current ?)
2318 design of the parser uses recursive function calls since this allow
2319 and easy mapping from the production rules of the specification
2320 to the actual code. The drawback is that the actual function call
2321 also reflect the parser state. However most of the parsing routines
2322 takes as the only argument the parser context pointer, so migrating
2323 to a state based parser for progressive parsing shouldn't be too hard.</P
2334 NAME="XMLPARSERCTXTPTR"
2336 >xmlParserCtxtPtr</H3
2345 CLASS="PROGRAMLISTING"
2346 >typedef xmlParserCtxt *xmlParserCtxtPtr;</PRE
2360 NAME="XMLSAXLOCATOR"
2362 >struct xmlSAXLocator</H3
2371 CLASS="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);
2393 NAME="XMLSAXLOCATORPTR"
2395 >xmlSAXLocatorPtr</H3
2404 CLASS="PROGRAMLISTING"
2405 >typedef xmlSAXLocator *xmlSAXLocatorPtr;</PRE
2419 NAME="XMLSAXHANDLER"
2421 >struct xmlSAXHandler</H3
2430 CLASS="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;
2455 fatalErrorSAXFunc fatalError;
2456 getParameterEntitySAXFunc getParameterEntity;
2457 cdataBlockSAXFunc cdataBlock;
2458 externalSubsetSAXFunc externalSubset;
2465 >A SAX handler is bunch of callbacks called by the parser when processing
2466 of the input generate data or structure informations.</P
2477 NAME="XMLSAXHANDLERPTR"
2479 >xmlSAXHandlerPtr</H3
2488 CLASS="PROGRAMLISTING"
2489 >typedef xmlSAXHandler *xmlSAXHandlerPtr;</PRE
2505 >struct xmlEntity</H3
2514 CLASS="PROGRAMLISTING"
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; /* -> DTD */
2522 struct _xmlNode *next; /* next sibling link */
2523 struct _xmlNode *prev; /* previous sibling link */
2524 struct _xmlDoc *doc; /* the containing document */
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 */
2533 struct _xmlEntity *nexte; /* unused */
2534 const xmlChar *URI; /* the full URI as computed */
2560 CLASS="PROGRAMLISTING"
2561 >typedef xmlEntity *xmlEntityPtr;</PRE
2575 NAME="BASE-BUFFER-SIZE-CAPS"
2577 >BASE_BUFFER_SIZE</H3
2586 CLASS="PROGRAMLISTING"
2587 >#define BASE_BUFFER_SIZE 4000</PRE
2592 >default buffer size 4000.</P
2603 NAME="XML-XML-NAMESPACE-CAPS"
2605 >XML_XML_NAMESPACE</H3
2614 CLASS="PROGRAMLISTING"
2615 >#define XML_XML_NAMESPACE</PRE
2620 >This is the namespace for the special xml: prefix predefined in the
2621 XML Namespace specification.</P
2632 NAME="XMLELEMENTTYPE"
2634 >enum xmlElementType</H3
2643 CLASS="PROGRAMLISTING"
2645 XML_ELEMENT_NODE= 1,
2646 XML_ATTRIBUTE_NODE= 2,
2648 XML_CDATA_SECTION_NODE= 4,
2649 XML_ENTITY_REF_NODE= 5,
2652 XML_COMMENT_NODE= 8,
2653 XML_DOCUMENT_NODE= 9,
2654 XML_DOCUMENT_TYPE_NODE= 10,
2655 XML_DOCUMENT_FRAG_NODE= 11,
2656 XML_NOTATION_NODE= 12,
2657 XML_HTML_DOCUMENT_NODE= 13,
2659 XML_ELEMENT_DECL= 15,
2660 XML_ATTRIBUTE_DECL= 16,
2661 XML_ENTITY_DECL= 17,
2662 XML_NAMESPACE_DECL= 18,
2663 XML_XINCLUDE_START= 19,
2664 XML_XINCLUDE_END= 20
2665 #ifdef LIBXML_DOCB_ENABLED
2666 ,XML_DOCB_DOCUMENT_NODE= 21
2668 } xmlElementType;</PRE
2693 CLASS="PROGRAMLISTING"
2694 >typedef unsigned char xmlChar;</PRE
2699 >This is a basic byte in an UTF-8 encoded string.
2700 It's unsigned allowing to pinpoint case where char * are assigned
2701 to xmlChar * (possibly making serialization back impossible).</P
2712 NAME="BAD-CAST-CAPS"
2723 CLASS="PROGRAMLISTING"
2724 >#define BAD_CAST (xmlChar *)</PRE
2729 >Macro to cast a string to an xmlChar * when one know its safe.</P
2742 >struct xmlNotation</H3
2751 CLASS="PROGRAMLISTING"
2752 >struct xmlNotation {
2753 const xmlChar *name; /* Notation name */
2754 const xmlChar *PublicID; /* Public identifier, if any */
2755 const xmlChar *SystemID; /* System identifier, if any */
2761 >A DTD Notation definition.</P
2772 NAME="XMLNOTATIONPTR"
2783 CLASS="PROGRAMLISTING"
2784 >typedef xmlNotation *xmlNotationPtr;</PRE
2798 NAME="XMLATTRIBUTETYPE"
2800 >enum xmlAttributeType</H3
2809 CLASS="PROGRAMLISTING"
2811 XML_ATTRIBUTE_CDATA = 1,
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
2826 >A DTD Attribute type definition.</P
2837 NAME="XMLATTRIBUTEDEFAULT"
2839 >enum xmlAttributeDefault</H3
2848 CLASS="PROGRAMLISTING"
2850 XML_ATTRIBUTE_NONE = 1,
2851 XML_ATTRIBUTE_REQUIRED,
2852 XML_ATTRIBUTE_IMPLIED,
2854 } xmlAttributeDefault;</PRE
2859 >A DTD Attribute default definition.</P
2870 NAME="XMLENUMERATION"
2872 >struct xmlEnumeration</H3
2881 CLASS="PROGRAMLISTING"
2882 >struct xmlEnumeration {
2883 struct _xmlEnumeration *next; /* next one */
2884 const xmlChar *name; /* Enumeration name */
2890 >List structure used when there is an enumeration in DTDs.</P
2901 NAME="XMLENUMERATIONPTR"
2903 >xmlEnumerationPtr</H3
2912 CLASS="PROGRAMLISTING"
2913 >typedef xmlEnumeration *xmlEnumerationPtr;</PRE
2929 >struct xmlAttribute</H3
2938 CLASS="PROGRAMLISTING"
2939 >struct xmlAttribute {
2940 void *_private; /* application data */
2941 xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */
2942 const xmlChar *name; /* Attribute name */
2943 struct _xmlNode *children; /* NULL */
2944 struct _xmlNode *last; /* NULL */
2945 struct _xmlDtd *parent; /* -> DTD */
2946 struct _xmlNode *next; /* next sibling link */
2947 struct _xmlNode *prev; /* previous sibling link */
2948 struct _xmlDoc *doc; /* the containing document */
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 */
2962 >An Attribute declaration in a DTD.</P
2973 NAME="XMLATTRIBUTEPTR"
2975 >xmlAttributePtr</H3
2984 CLASS="PROGRAMLISTING"
2985 >typedef xmlAttribute *xmlAttributePtr;</PRE
2999 NAME="XMLELEMENTCONTENTTYPE"
3001 >enum xmlElementContentType</H3
3010 CLASS="PROGRAMLISTING"
3012 XML_ELEMENT_CONTENT_PCDATA = 1,
3013 XML_ELEMENT_CONTENT_ELEMENT,
3014 XML_ELEMENT_CONTENT_SEQ,
3015 XML_ELEMENT_CONTENT_OR
3016 } xmlElementContentType;</PRE
3021 >Possible definitions of element content types.</P
3032 NAME="XMLELEMENTCONTENTOCCUR"
3034 >enum xmlElementContentOccur</H3
3043 CLASS="PROGRAMLISTING"
3045 XML_ELEMENT_CONTENT_ONCE = 1,
3046 XML_ELEMENT_CONTENT_OPT,
3047 XML_ELEMENT_CONTENT_MULT,
3048 XML_ELEMENT_CONTENT_PLUS
3049 } xmlElementContentOccur;</PRE
3054 >Possible definitions of element content occurrences.</P
3065 NAME="XMLELEMENTCONTENT"
3067 >struct xmlElementContent</H3
3076 CLASS="PROGRAMLISTING"
3077 >struct xmlElementContent {
3078 xmlElementContentType type; /* PCDATA, ELEMENT, SEQ or OR */
3079 xmlElementContentOccur ocur; /* ONCE, OPT, MULT or PLUS */
3080 const xmlChar *name; /* Element name */
3081 struct _xmlElementContent *c1; /* first child */
3082 struct _xmlElementContent *c2; /* second child */
3083 struct _xmlElementContent *parent; /* parent */
3084 const xmlChar *prefix; /* Element name */
3090 >An XML Element content as stored after parsing an element definition
3102 NAME="XMLELEMENTCONTENTPTR"
3104 >xmlElementContentPtr</H3
3113 CLASS="PROGRAMLISTING"
3114 >typedef xmlElementContent *xmlElementContentPtr;</PRE
3128 NAME="XMLELEMENTTYPEVAL"
3130 >enum xmlElementTypeVal</H3
3139 CLASS="PROGRAMLISTING"
3141 XML_ELEMENT_TYPE_UNDEFINED = 0,
3142 XML_ELEMENT_TYPE_EMPTY = 1,
3143 XML_ELEMENT_TYPE_ANY,
3144 XML_ELEMENT_TYPE_MIXED,
3145 XML_ELEMENT_TYPE_ELEMENT
3146 } xmlElementTypeVal;</PRE
3151 >The different possibilities for an element content type.</P
3164 >struct xmlElement</H3
3173 CLASS="PROGRAMLISTING"
3174 >struct xmlElement {
3175 void *_private; /* application data */
3176 xmlElementType type; /* XML_ELEMENT_DECL, must be second ! */
3177 const xmlChar *name; /* Element name */
3178 struct _xmlNode *children; /* NULL */
3179 struct _xmlNode *last; /* NULL */
3180 struct _xmlDtd *parent; /* -> DTD */
3181 struct _xmlNode *next; /* next sibling link */
3182 struct _xmlNode *prev; /* previous sibling link */
3183 struct _xmlDoc *doc; /* the containing document */
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 #ifdef LIBXML_REGEXP_ENABLED
3190 xmlRegexpPtr contModel; /* the validating regexp */
3199 >An XML Element declaration from a DTD.</P
3210 NAME="XMLELEMENTPTR"
3221 CLASS="PROGRAMLISTING"
3222 >typedef xmlElement *xmlElementPtr;</PRE
3236 NAME="XML-LOCAL-NAMESPACE-CAPS"
3238 >XML_LOCAL_NAMESPACE</H3
3247 CLASS="PROGRAMLISTING"
3248 >#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL</PRE
3253 >A namespace declaration node.</P
3275 CLASS="PROGRAMLISTING"
3276 >typedef xmlElementType xmlNsType;</PRE
3301 CLASS="PROGRAMLISTING"
3303 struct _xmlNs *next; /* next Ns link for this node */
3304 xmlNsType type; /* global or local */
3305 const xmlChar *href; /* URL for the namespace */
3306 const xmlChar *prefix; /* prefix for the namespace */
3307 void *_private; /* application data */
3314 Note that prefix == NULL is valid, it defines the default namespace
3315 within the subtree (until overridden).</P
3317 >xmlNsType is unified with xmlElementType.</P
3339 CLASS="PROGRAMLISTING"
3340 >typedef xmlNs *xmlNsPtr;</PRE
3365 CLASS="PROGRAMLISTING"
3367 void *_private; /* application data */
3368 xmlElementType type; /* XML_DTD_NODE, must be second ! */
3369 const xmlChar *name; /* Name of the DTD */
3370 struct _xmlNode *children; /* the value of the property link */
3371 struct _xmlNode *last; /* last child link */
3372 struct _xmlDoc *parent; /* child->parent link */
3373 struct _xmlNode *next; /* next sibling link */
3374 struct _xmlNode *prev; /* previous sibling link */
3375 struct _xmlDoc *doc; /* the containing document */
3377 /* End of common part */
3378 void *notations; /* Hash table for notations if any */
3379 void *elements; /* Hash table for elements if any */
3380 void *attributes; /* Hash table for attributes if any */
3381 void *entities; /* Hash table for entities if any */
3382 const xmlChar *ExternalID; /* External identifier for PUBLIC DTD */
3383 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC DTD */
3384 void *pentities; /* Hash table for param entities if any */
3390 >An XML DTD, as defined by <!DOCTYPE ... There is actually one for
3391 the internal subset and for the external subset.</P
3413 CLASS="PROGRAMLISTING"
3414 >typedef xmlDtd *xmlDtdPtr;</PRE
3439 CLASS="PROGRAMLISTING"
3441 void *_private; /* application data */
3442 xmlElementType type; /* XML_ATTRIBUTE_NODE, must be second ! */
3443 const xmlChar *name; /* the name of the property */
3444 struct _xmlNode *children; /* the value of the property */
3445 struct _xmlNode *last; /* NULL */
3446 struct _xmlNode *parent; /* child->parent link */
3447 struct _xmlAttr *next; /* next sibling link */
3448 struct _xmlAttr *prev; /* previous sibling link */
3449 struct _xmlDoc *doc; /* the containing document */
3450 xmlNs *ns; /* pointer to the associated namespace */
3451 xmlAttributeType atype; /* the attribute type if validating */
3457 >An attribute on an XML node.</P
3479 CLASS="PROGRAMLISTING"
3480 >typedef xmlAttr *xmlAttrPtr;</PRE
3505 CLASS="PROGRAMLISTING"
3507 struct _xmlID *next; /* next ID */
3508 const xmlChar *value; /* The ID name */
3509 xmlAttrPtr attr; /* The attribute holding it */
3515 >An XML ID instance.</P
3537 CLASS="PROGRAMLISTING"
3538 >typedef xmlID *xmlIDPtr;</PRE
3563 CLASS="PROGRAMLISTING"
3565 struct _xmlRef *next; /* next Ref */
3566 const xmlChar *value; /* The Ref name */
3567 xmlAttrPtr attr; /* The attribute holding it */
3573 >An XML IDREF instance.</P
3595 CLASS="PROGRAMLISTING"
3596 >typedef xmlRef *xmlRefPtr;</PRE
3610 NAME="XMLBUFFERALLOCATIONSCHEME"
3612 >enum xmlBufferAllocationScheme</H3
3621 CLASS="PROGRAMLISTING"
3623 XML_BUFFER_ALLOC_DOUBLEIT,
3624 XML_BUFFER_ALLOC_EXACT
3625 } xmlBufferAllocationScheme;</PRE
3630 >A buffer allocation scheme can be defined to either match exactly the
3631 need or double it's allocated size each time it is found too small.</P
3644 >struct xmlBuffer</H3
3653 CLASS="PROGRAMLISTING"
3655 xmlChar *content; /* The buffer content UTF8 */
3656 unsigned int use; /* The buffer size used */
3657 unsigned int size; /* The buffer size */
3658 xmlBufferAllocationScheme alloc; /* The realloc method */
3664 >A buffer structure.</P
3686 CLASS="PROGRAMLISTING"
3687 >typedef xmlBuffer *xmlBufferPtr;</PRE
3712 CLASS="PROGRAMLISTING"
3714 void *_private; /* application data */
3715 xmlElementType type; /* type number, must be second ! */
3716 const xmlChar *name; /* the name of the node, or the entity */
3717 struct _xmlNode *children; /* parent->childs link */
3718 struct _xmlNode *last; /* last child link */
3719 struct _xmlNode *parent; /* child->parent link */
3720 struct _xmlNode *next; /* next sibling link */
3721 struct _xmlNode *prev; /* previous sibling link */
3722 struct _xmlDoc *doc; /* the containing document */
3724 /* End of common part */
3725 xmlNs *ns; /* pointer to the associated namespace */
3726 xmlChar *content; /* the content */
3727 struct _xmlAttr *properties;/* properties list */
3728 xmlNs *nsDef; /* namespace definitions on this node */
3734 >A node in an XML tree.</P
3756 CLASS="PROGRAMLISTING"
3757 >typedef xmlNode *xmlNodePtr;</PRE
3771 NAME="XML-GET-CONTENT-CAPS"
3773 >XML_GET_CONTENT()</H3
3782 CLASS="PROGRAMLISTING"
3783 >#define XML_GET_CONTENT(n)</PRE
3788 >Macro to extract the content pointer of a node.</P
3792 CLASS="INFORMALTABLE"
3834 NAME="XML-GET-LINE-CAPS"
3845 CLASS="PROGRAMLISTING"
3846 >#define XML_GET_LINE(n)</PRE
3851 >Macro to extract the line number of an element node.
3852 This will work only if line numbering is activated by
3853 calling xmlLineNumbersDefault(1) before parsing.</P
3857 CLASS="INFORMALTABLE"
3910 CLASS="PROGRAMLISTING"
3912 void *_private; /* application data */
3913 xmlElementType type; /* XML_DOCUMENT_NODE, must be second ! */
3914 char *name; /* name/filename/URI of the document */
3915 struct _xmlNode *children; /* the document tree */
3916 struct _xmlNode *last; /* last child link */
3917 struct _xmlNode *parent; /* child->parent link */
3918 struct _xmlNode *next; /* next sibling link */
3919 struct _xmlNode *prev; /* previous sibling link */
3920 struct _xmlDoc *doc; /* autoreference to itself */
3922 /* End of common part */
3923 int compression;/* level of zlib compression */
3924 int standalone; /* standalone document (no external refs) */
3925 struct _xmlDtd *intSubset; /* the document internal subset */
3926 struct _xmlDtd *extSubset; /* the document external subset */
3927 struct _xmlNs *oldNs; /* Global namespace, the old way */
3928 const xmlChar *version; /* the XML version string */
3929 const xmlChar *encoding; /* external initial encoding, if any */
3930 void *ids; /* Hash table for ID attributes if any */
3931 void *refs; /* Hash table for IDREFs attributes if any */
3932 const xmlChar *URL; /* The URI for that document */
3933 int charset; /* encoding of the in-memory content
3934 actually an xmlCharEncoding */
3940 >An XML document.</P
3962 CLASS="PROGRAMLISTING"
3963 >typedef xmlDoc *xmlDocPtr;</PRE
3977 NAME="XMLCHILDRENNODE"
3979 >xmlChildrenNode</H3
3988 CLASS="PROGRAMLISTING"
3989 >#define xmlChildrenNode children</PRE
3994 >Macro for compatibility naming layer with libxml1.</P
4016 CLASS="PROGRAMLISTING"
4017 >#define xmlRootNode children</PRE
4022 >Macro for compatibility naming layer with libxml1.</P
4033 NAME="XMLSETBUFFERALLOCATIONSCHEME"
4035 >xmlSetBufferAllocationScheme ()</H3
4044 CLASS="PROGRAMLISTING"
4045 >void xmlSetBufferAllocationScheme (<A
4046 HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
4047 >xmlBufferAllocationScheme</A
4053 >Set the buffer allocation method. Types are
4054 XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
4055 XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed,
4056 improves performance</P
4060 CLASS="INFORMALTABLE"
4087 > allocation method to use</TD
4102 NAME="XMLGETBUFFERALLOCATIONSCHEME"
4104 >xmlGetBufferAllocationScheme ()</H3
4113 CLASS="PROGRAMLISTING"
4115 HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
4116 >xmlBufferAllocationScheme</A
4117 > xmlGetBufferAllocationScheme
4124 XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
4125 XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed,
4126 improves performance</P
4130 CLASS="INFORMALTABLE"
4158 >the current allocation scheme</TD
4173 NAME="XMLBUFFERCREATE"
4175 >xmlBufferCreate ()</H3
4184 CLASS="PROGRAMLISTING"
4186 HREF="libxml-tree.html#XMLBUFFERPTR"
4188 > xmlBufferCreate (void);</PRE
4193 >routine to create an XML buffer.</P
4197 CLASS="INFORMALTABLE"
4225 >the new structure.</TD
4240 NAME="XMLBUFFERCREATESIZE"
4242 >xmlBufferCreateSize ()</H3
4251 CLASS="PROGRAMLISTING"
4253 HREF="libxml-tree.html#XMLBUFFERPTR"
4255 > xmlBufferCreateSize (<GTKDOCLINK
4263 >routine to create an XML buffer.</P
4267 CLASS="INFORMALTABLE"
4294 > initial size of buffer</TD
4312 >the new structure.</TD
4327 NAME="XMLBUFFERRESIZE"
4329 >xmlBufferResize ()</H3
4338 CLASS="PROGRAMLISTING"
4339 >int xmlBufferResize (<A
4340 HREF="libxml-tree.html#XMLBUFFERPTR"
4343 unsigned int size);</PRE
4348 >Resize a buffer to accommodate minimum size of <TT
4357 CLASS="INFORMALTABLE"
4384 > the buffer to resize</TD
4401 > the desired size</TD
4419 >0 in case of problems, 1 otherwise</TD
4434 NAME="XMLBUFFERFREE"
4436 >xmlBufferFree ()</H3
4445 CLASS="PROGRAMLISTING"
4446 >void xmlBufferFree (<A
4447 HREF="libxml-tree.html#XMLBUFFERPTR"
4454 >Frees an XML buffer. It frees both the content and the structure which
4459 CLASS="INFORMALTABLE"
4486 > the buffer to free</TD
4501 NAME="XMLBUFFERDUMP"
4503 >xmlBufferDump ()</H3
4512 CLASS="PROGRAMLISTING"
4513 >int xmlBufferDump (<GTKDOCLINK
4518 HREF="libxml-tree.html#XMLBUFFERPTR"
4525 >Dumps an XML buffer to a FILE *.</P
4529 CLASS="INFORMALTABLE"
4556 > the file output</TD
4573 > the buffer to dump</TD
4592 HREF="libxml-tree.html#XMLCHAR"
4611 >xmlBufferAdd ()</H3
4620 CLASS="PROGRAMLISTING"
4621 >void xmlBufferAdd (<A
4622 HREF="libxml-tree.html#XMLBUFFERPTR"
4626 HREF="libxml-tree.html#XMLCHAR"
4634 >Add a string range to an XML buffer. if len == -1, the length of
4635 str is recomputed.</P
4639 CLASS="INFORMALTABLE"
4666 > the buffer to dump</TD
4684 HREF="libxml-tree.html#XMLCHAR"
4704 HREF="libxml-tree.html#XMLCHAR"
4721 NAME="XMLBUFFERADDHEAD"
4723 >xmlBufferAddHead ()</H3
4732 CLASS="PROGRAMLISTING"
4733 >void xmlBufferAddHead (<A
4734 HREF="libxml-tree.html#XMLBUFFERPTR"
4738 HREF="libxml-tree.html#XMLCHAR"
4746 >Add a string range to the beginning of an XML buffer.
4747 if len == -1, the length of <TT
4756 CLASS="INFORMALTABLE"
4801 HREF="libxml-tree.html#XMLCHAR"
4821 HREF="libxml-tree.html#XMLCHAR"
4840 >xmlBufferCat ()</H3
4849 CLASS="PROGRAMLISTING"
4850 >void xmlBufferCat (<A
4851 HREF="libxml-tree.html#XMLBUFFERPTR"
4855 HREF="libxml-tree.html#XMLCHAR"
4862 >Append a zero terminated string to an XML buffer.</P
4866 CLASS="INFORMALTABLE"
4893 > the buffer to dump</TD
4911 HREF="libxml-tree.html#XMLCHAR"
4928 NAME="XMLBUFFERCCAT"
4930 >xmlBufferCCat ()</H3
4939 CLASS="PROGRAMLISTING"
4940 >void xmlBufferCCat (<A
4941 HREF="libxml-tree.html#XMLBUFFERPTR"
4944 const char *str);</PRE
4949 >Append a zero terminated C string to an XML buffer.</P
4953 CLASS="INFORMALTABLE"
4980 > the buffer to dump</TD
4997 > the C char string</TD
5012 NAME="XMLBUFFERSHRINK"
5014 >xmlBufferShrink ()</H3
5023 CLASS="PROGRAMLISTING"
5024 >int xmlBufferShrink (<A
5025 HREF="libxml-tree.html#XMLBUFFERPTR"
5028 unsigned int len);</PRE
5033 >Remove the beginning of an XML buffer.</P
5037 CLASS="INFORMALTABLE"
5064 > the buffer to dump</TD
5081 > the number of xmlChar to remove</TD
5100 HREF="libxml-tree.html#XMLCHAR"
5102 > removed, or -1 in case of failure.</TD
5117 NAME="XMLBUFFERGROW"
5119 >xmlBufferGrow ()</H3
5128 CLASS="PROGRAMLISTING"
5129 >int xmlBufferGrow (<A
5130 HREF="libxml-tree.html#XMLBUFFERPTR"
5133 unsigned int len);</PRE
5138 >Grow the available space of an XML buffer.</P
5142 CLASS="INFORMALTABLE"
5186 > the minimum free size to allocate</TD
5204 >the new available space or -1 in case of error</TD
5219 NAME="XMLBUFFEREMPTY"
5221 >xmlBufferEmpty ()</H3
5230 CLASS="PROGRAMLISTING"
5231 >void xmlBufferEmpty (<A
5232 HREF="libxml-tree.html#XMLBUFFERPTR"
5243 CLASS="INFORMALTABLE"
5285 NAME="XMLBUFFERCONTENT"
5287 >xmlBufferContent ()</H3
5296 CLASS="PROGRAMLISTING"
5298 HREF="libxml-tree.html#XMLCHAR"
5300 >* xmlBufferContent (const <A
5301 HREF="libxml-tree.html#XMLBUFFERPTR"
5308 >Function to extract the content of a buffer</P
5312 CLASS="INFORMALTABLE"
5357 >the internal content</TD
5372 NAME="XMLBUFFERSETALLOCATIONSCHEME"
5374 >xmlBufferSetAllocationScheme ()</H3
5383 CLASS="PROGRAMLISTING"
5384 >void xmlBufferSetAllocationScheme (<A
5385 HREF="libxml-tree.html#XMLBUFFERPTR"
5389 HREF="libxml-tree.html#XMLBUFFERALLOCATIONSCHEME"
5390 >xmlBufferAllocationScheme</A
5396 >Sets the allocation scheme for this buffer</P
5400 CLASS="INFORMALTABLE"
5427 > the buffer to tune</TD
5444 > allocation scheme to use</TD
5459 NAME="XMLBUFFERLENGTH"
5461 >xmlBufferLength ()</H3
5470 CLASS="PROGRAMLISTING"
5471 >int xmlBufferLength (const <A
5472 HREF="libxml-tree.html#XMLBUFFERPTR"
5479 >Function to get the length of a buffer</P
5483 CLASS="INFORMALTABLE"
5528 >the length of data in the internal content</TD
5543 NAME="XMLCREATEINTSUBSET"
5545 >xmlCreateIntSubset ()</H3
5554 CLASS="PROGRAMLISTING"
5556 HREF="libxml-tree.html#XMLDTDPTR"
5558 > xmlCreateIntSubset (<A
5559 HREF="libxml-tree.html#XMLDOCPTR"
5563 HREF="libxml-tree.html#XMLCHAR"
5567 HREF="libxml-tree.html#XMLCHAR"
5571 HREF="libxml-tree.html#XMLCHAR"
5578 >Create the internal subset of a document</P
5582 CLASS="INFORMALTABLE"
5609 > the document pointer</TD
5643 > the external (PUBLIC) ID</TD
5678 >a pointer to the new DTD structure</TD
5704 CLASS="PROGRAMLISTING"
5706 HREF="libxml-tree.html#XMLDTDPTR"
5709 HREF="libxml-tree.html#XMLDOCPTR"
5713 HREF="libxml-tree.html#XMLCHAR"
5717 HREF="libxml-tree.html#XMLCHAR"
5721 HREF="libxml-tree.html#XMLCHAR"
5728 >Creation of a new DTD for the external subset. To create an
5729 internal subset, use <A
5730 HREF="libxml-tree.html#XMLCREATEINTSUBSET"
5731 >xmlCreateIntSubset</A
5736 CLASS="INFORMALTABLE"
5763 > the document pointer</TD
5797 > the external ID</TD
5832 >a pointer to the new DTD structure</TD
5847 NAME="XMLGETINTSUBSET"
5849 >xmlGetIntSubset ()</H3
5858 CLASS="PROGRAMLISTING"
5860 HREF="libxml-tree.html#XMLDTDPTR"
5862 > xmlGetIntSubset (<A
5863 HREF="libxml-tree.html#XMLDOCPTR"
5870 >Get the internal subset of a document</P
5874 CLASS="INFORMALTABLE"
5901 > the document pointer</TD
5919 >a pointer to the DTD structure or NULL if not found</TD
5945 CLASS="PROGRAMLISTING"
5946 >void xmlFreeDtd (<A
5947 HREF="libxml-tree.html#XMLDTDPTR"
5954 >Free a DTD structure.</P
5958 CLASS="INFORMALTABLE"
5985 > the DTD structure to free up</TD
6000 NAME="XMLNEWGLOBALNS"
6002 >xmlNewGlobalNs ()</H3
6011 CLASS="PROGRAMLISTING"
6013 HREF="libxml-tree.html#XMLNSPTR"
6015 > xmlNewGlobalNs (<A
6016 HREF="libxml-tree.html#XMLDOCPTR"
6020 HREF="libxml-tree.html#XMLCHAR"
6024 HREF="libxml-tree.html#XMLCHAR"
6031 >Creation of a Namespace, the old way using PI and without scoping
6033 It now create a namespace on the root element of the document if found.</P
6037 CLASS="INFORMALTABLE"
6064 > the document carrying the namespace</TD
6081 > the URI associated</TD
6098 > the prefix for the namespace</TD
6116 >NULL this functionality had been removed</TD
6142 CLASS="PROGRAMLISTING"
6144 HREF="libxml-tree.html#XMLNSPTR"
6147 HREF="libxml-tree.html#XMLNODEPTR"
6151 HREF="libxml-tree.html#XMLCHAR"
6155 HREF="libxml-tree.html#XMLCHAR"
6162 >Creation of a new Namespace. This function will refuse to create
6163 a namespace with a similar prefix than an existing one present on this
6165 We use href==NULL in the case of an element creation where the namespace
6170 CLASS="INFORMALTABLE"
6197 > the element carrying the namespace</TD
6214 > the URI associated</TD
6231 > the prefix for the namespace</TD
6249 >a new namespace pointer or NULL</TD
6275 CLASS="PROGRAMLISTING"
6277 HREF="libxml-tree.html#XMLNSPTR"
6284 >Free up the structures associated to a namespace</P
6288 CLASS="INFORMALTABLE"
6315 > the namespace pointer</TD
6330 NAME="XMLFREENSLIST"
6332 >xmlFreeNsList ()</H3
6341 CLASS="PROGRAMLISTING"
6342 >void xmlFreeNsList (<A
6343 HREF="libxml-tree.html#XMLNSPTR"
6350 >Free up all the structures associated to the chained namespaces.</P
6354 CLASS="INFORMALTABLE"
6381 > the first namespace pointer</TD
6407 CLASS="PROGRAMLISTING"
6409 HREF="libxml-tree.html#XMLDOCPTR"
6411 > xmlNewDoc (const <A
6412 HREF="libxml-tree.html#XMLCHAR"
6419 >Creates a new XML document</P
6423 CLASS="INFORMALTABLE"
6450 > xmlChar string giving the version of XML "1.0"</TD
6494 CLASS="PROGRAMLISTING"
6495 >void xmlFreeDoc (<A
6496 HREF="libxml-tree.html#XMLDOCPTR"
6503 >Free up all the structures used by a document, tree included.</P
6507 CLASS="INFORMALTABLE"
6534 > pointer to the document</TD
6549 NAME="XMLNEWDOCPROP"
6551 >xmlNewDocProp ()</H3
6560 CLASS="PROGRAMLISTING"
6562 HREF="libxml-tree.html#XMLATTRPTR"
6565 HREF="libxml-tree.html#XMLDOCPTR"
6569 HREF="libxml-tree.html#XMLCHAR"
6573 HREF="libxml-tree.html#XMLCHAR"
6580 >Create a new property carried by a document.</P
6584 CLASS="INFORMALTABLE"
6628 > the name of the attribute</TD
6645 > the value of the attribute</TD
6663 >a pointer to the attribute</TD
6689 CLASS="PROGRAMLISTING"
6691 HREF="libxml-tree.html#XMLATTRPTR"
6694 HREF="libxml-tree.html#XMLNODEPTR"
6698 HREF="libxml-tree.html#XMLCHAR"
6702 HREF="libxml-tree.html#XMLCHAR"
6709 >Create a new property carried by a node.</P
6713 CLASS="INFORMALTABLE"
6740 > the holding node</TD
6757 > the name of the attribute</TD
6774 > the value of the attribute</TD
6792 >a pointer to the attribute</TD
6809 >xmlNewNsProp ()</H3
6818 CLASS="PROGRAMLISTING"
6820 HREF="libxml-tree.html#XMLATTRPTR"
6823 HREF="libxml-tree.html#XMLNODEPTR"
6827 HREF="libxml-tree.html#XMLNSPTR"
6831 HREF="libxml-tree.html#XMLCHAR"
6835 HREF="libxml-tree.html#XMLCHAR"
6842 >Create a new property tagged with a namespace and carried by a node.</P
6846 CLASS="INFORMALTABLE"
6873 > the holding node</TD
6907 > the name of the attribute</TD
6924 > the value of the attribute</TD
6942 >a pointer to the attribute</TD
6957 NAME="XMLNEWNSPROPEATNAME"
6959 >xmlNewNsPropEatName ()</H3
6968 CLASS="PROGRAMLISTING"
6970 HREF="libxml-tree.html#XMLATTRPTR"
6972 > xmlNewNsPropEatName (<A
6973 HREF="libxml-tree.html#XMLNODEPTR"
6977 HREF="libxml-tree.html#XMLNSPTR"
6981 HREF="libxml-tree.html#XMLCHAR"
6985 HREF="libxml-tree.html#XMLCHAR"
6992 >Create a new property tagged with a namespace and carried by a node.</P
6996 CLASS="INFORMALTABLE"
7023 > the holding node</TD
7057 > the name of the attribute</TD
7074 > the value of the attribute</TD
7092 >a pointer to the attribute</TD
7107 NAME="XMLFREEPROPLIST"
7109 >xmlFreePropList ()</H3
7118 CLASS="PROGRAMLISTING"
7119 >void xmlFreePropList (<A
7120 HREF="libxml-tree.html#XMLATTRPTR"
7127 >Free a property and all its siblings, all the children are freed too.</P
7131 CLASS="INFORMALTABLE"
7158 > the first property in the list</TD
7184 CLASS="PROGRAMLISTING"
7185 >void xmlFreeProp (<A
7186 HREF="libxml-tree.html#XMLATTRPTR"
7193 >Free one attribute, all the content is freed too</P
7197 CLASS="INFORMALTABLE"
7250 CLASS="PROGRAMLISTING"
7252 HREF="libxml-tree.html#XMLATTRPTR"
7255 HREF="libxml-tree.html#XMLNODEPTR"
7259 HREF="libxml-tree.html#XMLATTRPTR"
7266 >Do a copy of the attribute.</P
7270 CLASS="INFORMALTABLE"
7297 > the element where the attribute will be grafted</TD
7333 HREF="libxml-tree.html#XMLATTRPTR"
7335 >, or NULL in case of error.</TD
7350 NAME="XMLCOPYPROPLIST"
7352 >xmlCopyPropList ()</H3
7361 CLASS="PROGRAMLISTING"
7363 HREF="libxml-tree.html#XMLATTRPTR"
7365 > xmlCopyPropList (<A
7366 HREF="libxml-tree.html#XMLNODEPTR"
7370 HREF="libxml-tree.html#XMLATTRPTR"
7377 >Do a copy of an attribute list.</P
7381 CLASS="INFORMALTABLE"
7408 > the element where the attributes will be grafted</TD
7425 > the first attribute</TD
7444 HREF="libxml-tree.html#XMLATTRPTR"
7446 >, or NULL in case of error.</TD
7472 CLASS="PROGRAMLISTING"
7474 HREF="libxml-tree.html#XMLDTDPTR"
7477 HREF="libxml-tree.html#XMLDTDPTR"
7484 >Do a copy of the dtd.</P
7488 CLASS="INFORMALTABLE"
7534 HREF="libxml-tree.html#XMLDTDPTR"
7536 >, or NULL in case of error.</TD
7562 CLASS="PROGRAMLISTING"
7564 HREF="libxml-tree.html#XMLDOCPTR"
7567 HREF="libxml-tree.html#XMLDOCPTR"
7570 int recursive);</PRE
7575 >Do a copy of the document info. If recursive, the content tree will
7576 be copied too as well as DTD, namespaces and entities.</P
7580 CLASS="INFORMALTABLE"
7624 > if 1 do a recursive copy.</TD
7643 HREF="libxml-tree.html#XMLDOCPTR"
7645 >, or NULL in case of error.</TD
7660 NAME="XMLNEWDOCNODE"
7662 >xmlNewDocNode ()</H3
7671 CLASS="PROGRAMLISTING"
7673 HREF="libxml-tree.html#XMLNODEPTR"
7676 HREF="libxml-tree.html#XMLDOCPTR"
7680 HREF="libxml-tree.html#XMLNSPTR"
7684 HREF="libxml-tree.html#XMLCHAR"
7688 HREF="libxml-tree.html#XMLCHAR"
7695 >Creation of a new node element within a document. <TT
7706 are optional (NULL).
7712 > is supposed to be a piece of XML CDATA, so it allow entities
7713 references, but XML special chars need to be escaped first by using
7715 HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
7716 >xmlEncodeEntitiesReentrant</A
7718 HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
7719 >xmlNewDocRawNode</A
7721 need entities support.</P
7725 CLASS="INFORMALTABLE"
7769 > namespace if any</TD
7803 > the XML text content if any</TD
7821 >a pointer to the new node object.</TD
7836 NAME="XMLNEWDOCNODEEATNAME"
7838 >xmlNewDocNodeEatName ()</H3
7847 CLASS="PROGRAMLISTING"
7849 HREF="libxml-tree.html#XMLNODEPTR"
7851 > xmlNewDocNodeEatName (<A
7852 HREF="libxml-tree.html#XMLDOCPTR"
7856 HREF="libxml-tree.html#XMLNSPTR"
7860 HREF="libxml-tree.html#XMLCHAR"
7864 HREF="libxml-tree.html#XMLCHAR"
7871 >Creation of a new node element within a document. <TT
7882 are optional (NULL).
7888 > is supposed to be a piece of XML CDATA, so it allow entities
7889 references, but XML special chars need to be escaped first by using
7891 HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
7892 >xmlEncodeEntitiesReentrant</A
7894 HREF="libxml-tree.html#XMLNEWDOCRAWNODE"
7895 >xmlNewDocRawNode</A
7897 need entities support.</P
7901 CLASS="INFORMALTABLE"
7945 > namespace if any</TD
7979 > the XML text content if any</TD
7997 >a pointer to the new node object.</TD
8012 NAME="XMLNEWDOCRAWNODE"
8014 >xmlNewDocRawNode ()</H3
8023 CLASS="PROGRAMLISTING"
8025 HREF="libxml-tree.html#XMLNODEPTR"
8027 > xmlNewDocRawNode (<A
8028 HREF="libxml-tree.html#XMLDOCPTR"
8032 HREF="libxml-tree.html#XMLNSPTR"
8036 HREF="libxml-tree.html#XMLCHAR"
8040 HREF="libxml-tree.html#XMLCHAR"
8047 >Creation of a new node element within a document. <TT
8058 are optional (NULL).</P
8062 CLASS="INFORMALTABLE"
8106 > namespace if any</TD
8140 > the text content if any</TD
8158 >a pointer to the new node object.</TD
8184 CLASS="PROGRAMLISTING"
8186 HREF="libxml-tree.html#XMLNODEPTR"
8189 HREF="libxml-tree.html#XMLNSPTR"
8193 HREF="libxml-tree.html#XMLCHAR"
8200 >Creation of a new node element. <TT
8205 > is optional (NULL).</P
8209 CLASS="INFORMALTABLE"
8236 > namespace if any</TD
8271 >a pointer to the new node object.</TD
8286 NAME="XMLNEWNODEEATNAME"
8288 >xmlNewNodeEatName ()</H3
8297 CLASS="PROGRAMLISTING"
8299 HREF="libxml-tree.html#XMLNODEPTR"
8301 > xmlNewNodeEatName (<A
8302 HREF="libxml-tree.html#XMLNSPTR"
8306 HREF="libxml-tree.html#XMLCHAR"
8313 >Creation of a new node element. <TT
8318 > is optional (NULL).</P
8322 CLASS="INFORMALTABLE"
8349 > namespace if any</TD
8384 >a pointer to the new node object.</TD
8410 CLASS="PROGRAMLISTING"
8412 HREF="libxml-tree.html#XMLNODEPTR"
8415 HREF="libxml-tree.html#XMLNODEPTR"
8419 HREF="libxml-tree.html#XMLNSPTR"
8423 HREF="libxml-tree.html#XMLCHAR"
8427 HREF="libxml-tree.html#XMLCHAR"
8434 >Creation of a new child element, added at the end of <TT
8450 > parameters are optional (NULL). If content is non NULL,
8451 a child list containing the TEXTs and ENTITY_REFs node will be created.
8457 > is supposed to be a piece of XML CDATA, so it allow entities
8458 references, but XML special chars need to be escaped first by using
8460 HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
8461 >xmlEncodeEntitiesReentrant</A
8463 HREF="libxml-tree.html#XMLNEWTEXTCHILD"
8466 support is not needed.</P
8470 CLASS="INFORMALTABLE"
8497 > the parent node</TD
8514 > a namespace if any</TD
8531 > the name of the child</TD
8548 > the XML content of the child if any.</TD
8566 >a pointer to the new node object.</TD
8581 NAME="XMLNEWTEXTCHILD"
8583 >xmlNewTextChild ()</H3
8592 CLASS="PROGRAMLISTING"
8594 HREF="libxml-tree.html#XMLNODEPTR"
8596 > xmlNewTextChild (<A
8597 HREF="libxml-tree.html#XMLNODEPTR"
8601 HREF="libxml-tree.html#XMLNSPTR"
8605 HREF="libxml-tree.html#XMLCHAR"
8609 HREF="libxml-tree.html#XMLCHAR"
8616 >Creation of a new child element, added at the end of <TT
8632 > parameters are optional (NULL). If content is non NULL,
8633 a child TEXT node will be created containing the string content.</P
8637 CLASS="INFORMALTABLE"
8664 > the parent node</TD
8681 > a namespace if any</TD
8698 > the name of the child</TD
8715 > the text content of the child if any.</TD
8733 >a pointer to the new node object.</TD
8748 NAME="XMLNEWDOCTEXT"
8750 >xmlNewDocText ()</H3
8759 CLASS="PROGRAMLISTING"
8761 HREF="libxml-tree.html#XMLNODEPTR"
8764 HREF="libxml-tree.html#XMLDOCPTR"
8768 HREF="libxml-tree.html#XMLCHAR"
8775 >Creation of a new text node within a document.</P
8779 CLASS="INFORMALTABLE"
8823 > the text content</TD
8841 >a pointer to the new node object.</TD
8867 CLASS="PROGRAMLISTING"
8869 HREF="libxml-tree.html#XMLNODEPTR"
8871 > xmlNewText (const <A
8872 HREF="libxml-tree.html#XMLCHAR"
8879 >Creation of a new text node.</P
8883 CLASS="INFORMALTABLE"
8910 > the text content</TD
8928 >a pointer to the new node object.</TD
8954 CLASS="PROGRAMLISTING"
8956 HREF="libxml-tree.html#XMLNODEPTR"
8958 > xmlNewPI (const <A
8959 HREF="libxml-tree.html#XMLCHAR"
8963 HREF="libxml-tree.html#XMLCHAR"
8970 >Creation of a processing instruction element.</P
8974 CLASS="INFORMALTABLE"
9001 > the processing instruction name</TD
9018 > the PI content</TD
9036 >a pointer to the new node object.</TD
9051 NAME="XMLNEWDOCTEXTLEN"
9053 >xmlNewDocTextLen ()</H3
9062 CLASS="PROGRAMLISTING"
9064 HREF="libxml-tree.html#XMLNODEPTR"
9066 > xmlNewDocTextLen (<A
9067 HREF="libxml-tree.html#XMLDOCPTR"
9071 HREF="libxml-tree.html#XMLCHAR"
9079 >Creation of a new text node with an extra content length parameter. The
9080 text node pertain to a given document.</P
9084 CLASS="INFORMALTABLE"
9128 > the text content</TD
9163 >a pointer to the new node object.</TD
9178 NAME="XMLNEWTEXTLEN"
9180 >xmlNewTextLen ()</H3
9189 CLASS="PROGRAMLISTING"
9191 HREF="libxml-tree.html#XMLNODEPTR"
9193 > xmlNewTextLen (const <A
9194 HREF="libxml-tree.html#XMLCHAR"
9202 >Creation of a new text node with an extra parameter for the content's length</P
9206 CLASS="INFORMALTABLE"
9233 > the text content</TD
9268 >a pointer to the new node object.</TD
9283 NAME="XMLNEWDOCCOMMENT"
9285 >xmlNewDocComment ()</H3
9294 CLASS="PROGRAMLISTING"
9296 HREF="libxml-tree.html#XMLNODEPTR"
9298 > xmlNewDocComment (<A
9299 HREF="libxml-tree.html#XMLDOCPTR"
9303 HREF="libxml-tree.html#XMLCHAR"
9310 >Creation of a new node containing a comment within a document.</P
9314 CLASS="INFORMALTABLE"
9358 > the comment content</TD
9376 >a pointer to the new node object.</TD
9391 NAME="XMLNEWCOMMENT"
9393 >xmlNewComment ()</H3
9402 CLASS="PROGRAMLISTING"
9404 HREF="libxml-tree.html#XMLNODEPTR"
9406 > xmlNewComment (const <A
9407 HREF="libxml-tree.html#XMLCHAR"
9414 >Creation of a new node containing a comment.</P
9418 CLASS="INFORMALTABLE"
9445 > the comment content</TD
9463 >a pointer to the new node object.</TD
9478 NAME="XMLNEWCDATABLOCK"
9480 >xmlNewCDataBlock ()</H3
9489 CLASS="PROGRAMLISTING"
9491 HREF="libxml-tree.html#XMLNODEPTR"
9493 > xmlNewCDataBlock (<A
9494 HREF="libxml-tree.html#XMLDOCPTR"
9498 HREF="libxml-tree.html#XMLCHAR"
9506 >Creation of a new node containing a CDATA block.</P
9510 CLASS="INFORMALTABLE"
9554 > the CDATA block content content</TD
9571 > the length of the block</TD
9589 >a pointer to the new node object.</TD
9604 NAME="XMLNEWCHARREF"
9606 >xmlNewCharRef ()</H3
9615 CLASS="PROGRAMLISTING"
9617 HREF="libxml-tree.html#XMLNODEPTR"
9620 HREF="libxml-tree.html#XMLDOCPTR"
9624 HREF="libxml-tree.html#XMLCHAR"
9631 >Creation of a new character reference node.</P
9635 CLASS="INFORMALTABLE"
9679 > the char ref string, starting with # or "&# ... ;"</TD
9697 >a pointer to the new node object.</TD
9712 NAME="XMLNEWREFERENCE"
9714 >xmlNewReference ()</H3
9723 CLASS="PROGRAMLISTING"
9725 HREF="libxml-tree.html#XMLNODEPTR"
9727 > xmlNewReference (<A
9728 HREF="libxml-tree.html#XMLDOCPTR"
9732 HREF="libxml-tree.html#XMLCHAR"
9739 >Creation of a new reference node.</P
9743 CLASS="INFORMALTABLE"
9787 > the reference name, or the reference string with & and ;</TD
9805 >a pointer to the new node object.</TD
9831 CLASS="PROGRAMLISTING"
9833 HREF="libxml-tree.html#XMLNODEPTR"
9835 > xmlCopyNode (const <A
9836 HREF="libxml-tree.html#XMLNODEPTR"
9839 int recursive);</PRE
9844 >Do a copy of the node.</P
9848 CLASS="INFORMALTABLE"
9892 > if 1 do a recursive copy.</TD
9911 HREF="libxml-tree.html#XMLNODEPTR"
9913 >, or NULL in case of error.</TD
9928 NAME="XMLDOCCOPYNODE"
9930 >xmlDocCopyNode ()</H3
9939 CLASS="PROGRAMLISTING"
9941 HREF="libxml-tree.html#XMLNODEPTR"
9943 > xmlDocCopyNode (const <A
9944 HREF="libxml-tree.html#XMLNODEPTR"
9948 HREF="libxml-tree.html#XMLDOCPTR"
9951 int recursive);</PRE
9956 >Do a copy of the node to a given document.</P
9960 CLASS="INFORMALTABLE"
10021 > if 1 do a recursive copy.</TD
10040 HREF="libxml-tree.html#XMLNODEPTR"
10042 >, or NULL in case of error.</TD
10057 NAME="XMLCOPYNODELIST"
10059 >xmlCopyNodeList ()</H3
10068 CLASS="PROGRAMLISTING"
10070 HREF="libxml-tree.html#XMLNODEPTR"
10072 > xmlCopyNodeList (const <A
10073 HREF="libxml-tree.html#XMLNODEPTR"
10080 >Do a recursive copy of the node list.</P
10084 CLASS="INFORMALTABLE"
10111 > the first node in the list.</TD
10130 HREF="libxml-tree.html#XMLNODEPTR"
10132 >, or NULL in case of error.</TD
10147 NAME="XMLNEWDOCFRAGMENT"
10149 >xmlNewDocFragment ()</H3
10158 CLASS="PROGRAMLISTING"
10160 HREF="libxml-tree.html#XMLNODEPTR"
10162 > xmlNewDocFragment (<A
10163 HREF="libxml-tree.html#XMLDOCPTR"
10170 >Creation of a new Fragment node.</P
10174 CLASS="INFORMALTABLE"
10201 > the document owning the fragment</TD
10219 >a pointer to the new node object.</TD
10234 NAME="XMLGETLINENO"
10236 >xmlGetLineNo ()</H3
10245 CLASS="PROGRAMLISTING"
10250 HREF="libxml-tree.html#XMLNODEPTR"
10257 >Get line number of node. this requires activation of this option
10258 before invoking the parser by calling xmlLineNumbersDefault(1)</P
10262 CLASS="INFORMALTABLE"
10307 >the line number if successful, -1 otherwise</TD
10322 NAME="XMLGETNODEPATH"
10324 >xmlGetNodePath ()</H3
10333 CLASS="PROGRAMLISTING"
10335 HREF="libxml-tree.html#XMLCHAR"
10337 >* xmlGetNodePath (<A
10338 HREF="libxml-tree.html#XMLNODEPTR"
10345 >Build a structure based Path for the given node</P
10349 CLASS="INFORMALTABLE"
10394 >the new path or NULL in case of error. The caller must free
10395 the returned string</TD
10410 NAME="XMLDOCGETROOTELEMENT"
10412 >xmlDocGetRootElement ()</H3
10421 CLASS="PROGRAMLISTING"
10423 HREF="libxml-tree.html#XMLNODEPTR"
10425 > xmlDocGetRootElement (<A
10426 HREF="libxml-tree.html#XMLDOCPTR"
10433 >Get the root element of the document (doc->children is a list
10434 containing possibly comments, PIs, etc ...).</P
10438 CLASS="INFORMALTABLE"
10484 HREF="libxml-tree.html#XMLNODEPTR"
10486 > for the root or NULL</TD
10501 NAME="XMLGETLASTCHILD"
10503 >xmlGetLastChild ()</H3
10512 CLASS="PROGRAMLISTING"
10514 HREF="libxml-tree.html#XMLNODEPTR"
10516 > xmlGetLastChild (<A
10517 HREF="libxml-tree.html#XMLNODEPTR"
10524 >Search the last child of a node.</P
10528 CLASS="INFORMALTABLE"
10555 > the parent node</TD
10573 >the last child or NULL if none.</TD
10588 NAME="XMLNODEISTEXT"
10590 >xmlNodeIsText ()</H3
10599 CLASS="PROGRAMLISTING"
10600 >int xmlNodeIsText (<A
10601 HREF="libxml-tree.html#XMLNODEPTR"
10608 >Is this node a Text node ?</P
10612 CLASS="INFORMALTABLE"
10672 NAME="XMLISBLANKNODE"
10674 >xmlIsBlankNode ()</H3
10683 CLASS="PROGRAMLISTING"
10684 >int xmlIsBlankNode (<A
10685 HREF="libxml-tree.html#XMLNODEPTR"
10692 >Checks whether this node is an empty or whitespace only
10693 (and possibly ignorable) text-node.</P
10697 CLASS="INFORMALTABLE"
10757 NAME="XMLDOCSETROOTELEMENT"
10759 >xmlDocSetRootElement ()</H3
10768 CLASS="PROGRAMLISTING"
10770 HREF="libxml-tree.html#XMLNODEPTR"
10772 > xmlDocSetRootElement (<A
10773 HREF="libxml-tree.html#XMLDOCPTR"
10777 HREF="libxml-tree.html#XMLNODEPTR"
10784 >Set the root element of the document (doc->children is a list
10785 containing possibly comments, PIs, etc ...).</P
10789 CLASS="INFORMALTABLE"
10833 > the new document root element</TD
10851 >the old root element if any was found</TD
10866 NAME="XMLNODESETNAME"
10868 >xmlNodeSetName ()</H3
10877 CLASS="PROGRAMLISTING"
10878 >void xmlNodeSetName (<A
10879 HREF="libxml-tree.html#XMLNODEPTR"
10883 HREF="libxml-tree.html#XMLCHAR"
10890 >Set (or reset) the name of a node.</P
10894 CLASS="INFORMALTABLE"
10921 > the node being changed</TD
10938 > the new tag name</TD
10955 >xmlAddChild ()</H3
10964 CLASS="PROGRAMLISTING"
10966 HREF="libxml-tree.html#XMLNODEPTR"
10969 HREF="libxml-tree.html#XMLNODEPTR"
10973 HREF="libxml-tree.html#XMLNODEPTR"
10980 >Add a new node to <TT
10985 >, at the end of the child (or property) list
10986 merging adjacent TEXT nodes (in which case <TT
10992 If the new node was already inserted in a document it is
10993 first unlinked from its existing context.
10994 If the new node is ATTRIBUTE, it is added into properties instead of children.
10995 If there is an attribute with equal name, it is first destroyed.</P
10999 CLASS="INFORMALTABLE"
11026 > the parent node</TD
11043 > the child node</TD
11061 >the child or NULL in case of error.</TD
11076 NAME="XMLADDCHILDLIST"
11078 >xmlAddChildList ()</H3
11087 CLASS="PROGRAMLISTING"
11089 HREF="libxml-tree.html#XMLNODEPTR"
11091 > xmlAddChildList (<A
11092 HREF="libxml-tree.html#XMLNODEPTR"
11096 HREF="libxml-tree.html#XMLNODEPTR"
11103 >Add a list of node at the end of the child list of the parent
11104 merging adjacent TEXT nodes (<TT
11113 CLASS="INFORMALTABLE"
11140 > the parent node</TD
11157 > the first node in the list</TD
11175 >the last child or NULL in case of error.</TD
11190 NAME="XMLREPLACENODE"
11192 >xmlReplaceNode ()</H3
11201 CLASS="PROGRAMLISTING"
11203 HREF="libxml-tree.html#XMLNODEPTR"
11205 > xmlReplaceNode (<A
11206 HREF="libxml-tree.html#XMLNODEPTR"
11210 HREF="libxml-tree.html#XMLNODEPTR"
11217 >Unlink the old node from it's current context, prune the new one
11218 at the same place. If <TT
11223 > was already inserted in a document it is
11224 first unlinked from its existing context.</P
11228 CLASS="INFORMALTABLE"
11310 NAME="XMLADDSIBLING"
11312 >xmlAddSibling ()</H3
11321 CLASS="PROGRAMLISTING"
11323 HREF="libxml-tree.html#XMLNODEPTR"
11325 > xmlAddSibling (<A
11326 HREF="libxml-tree.html#XMLNODEPTR"
11330 HREF="libxml-tree.html#XMLNODEPTR"
11337 >Add a new element <TT
11342 > to the list of siblings of <TT
11348 merging adjacent TEXT nodes (<TT
11354 If the new element was already inserted in a document it is
11355 first unlinked from its existing context.</P
11359 CLASS="INFORMALTABLE"
11386 > the child node</TD
11421 >the new element or NULL in case of error.</TD
11436 NAME="XMLADDPREVSIBLING"
11438 >xmlAddPrevSibling ()</H3
11447 CLASS="PROGRAMLISTING"
11449 HREF="libxml-tree.html#XMLNODEPTR"
11451 > xmlAddPrevSibling (<A
11452 HREF="libxml-tree.html#XMLNODEPTR"
11456 HREF="libxml-tree.html#XMLNODEPTR"
11463 >Add a new node <TT
11468 > as the previous sibling of <TT
11474 merging adjacent TEXT nodes (<TT
11480 If the new node was already inserted in a document it is
11481 first unlinked from its existing context.
11482 If the new node is ATTRIBUTE, it is added into properties instead of children.
11483 If there is an attribute with equal name, it is first destroyed.</P
11487 CLASS="INFORMALTABLE"
11514 > the child node</TD
11549 >the new node or NULL in case of error.</TD
11564 NAME="XMLADDNEXTSIBLING"
11566 >xmlAddNextSibling ()</H3
11575 CLASS="PROGRAMLISTING"
11577 HREF="libxml-tree.html#XMLNODEPTR"
11579 > xmlAddNextSibling (<A
11580 HREF="libxml-tree.html#XMLNODEPTR"
11584 HREF="libxml-tree.html#XMLNODEPTR"
11591 >Add a new node <TT
11596 > as the next sibling of <TT
11602 If the new node was already inserted in a document it is
11603 first unlinked from its existing context.
11604 As a result of text merging <TT
11610 If the new node is ATTRIBUTE, it is added into properties instead of children.
11611 If there is an attribute with equal name, it is first destroyed.</P
11615 CLASS="INFORMALTABLE"
11642 > the child node</TD
11677 >the new node or NULL in case of error.</TD
11692 NAME="XMLUNLINKNODE"
11694 >xmlUnlinkNode ()</H3
11703 CLASS="PROGRAMLISTING"
11704 >void xmlUnlinkNode (<A
11705 HREF="libxml-tree.html#XMLNODEPTR"
11712 >Unlink a node from it's current context, the node is not freed</P
11716 CLASS="INFORMALTABLE"
11758 NAME="XMLTEXTMERGE"
11760 >xmlTextMerge ()</H3
11769 CLASS="PROGRAMLISTING"
11771 HREF="libxml-tree.html#XMLNODEPTR"
11774 HREF="libxml-tree.html#XMLNODEPTR"
11778 HREF="libxml-tree.html#XMLNODEPTR"
11785 >Merge two text nodes into one</P
11789 CLASS="INFORMALTABLE"
11816 > the first text node</TD
11833 > the second text node being merged</TD
11851 >the first text node augmented</TD
11866 NAME="XMLTEXTCONCAT"
11868 >xmlTextConcat ()</H3
11877 CLASS="PROGRAMLISTING"
11878 >void xmlTextConcat (<A
11879 HREF="libxml-tree.html#XMLNODEPTR"
11883 HREF="libxml-tree.html#XMLCHAR"
11891 >Concat the given string at the end of the existing node content</P
11895 CLASS="INFORMALTABLE"
11976 NAME="XMLFREENODELIST"
11978 >xmlFreeNodeList ()</H3
11987 CLASS="PROGRAMLISTING"
11988 >void xmlFreeNodeList (<A
11989 HREF="libxml-tree.html#XMLNODEPTR"
11996 >Free a node and all its siblings, this is a recursive behaviour, all
11997 the children are freed too.</P
12001 CLASS="INFORMALTABLE"
12028 > the first node in the list</TD
12045 >xmlFreeNode ()</H3
12054 CLASS="PROGRAMLISTING"
12055 >void xmlFreeNode (<A
12056 HREF="libxml-tree.html#XMLNODEPTR"
12063 >Free a node, this is a recursive behaviour, all the children are freed too.
12064 This doesn't unlink the child from the list, use <A
12065 HREF="libxml-tree.html#XMLUNLINKNODE"
12071 CLASS="INFORMALTABLE"
12113 NAME="XMLSETTREEDOC"
12115 >xmlSetTreeDoc ()</H3
12124 CLASS="PROGRAMLISTING"
12125 >void xmlSetTreeDoc (<A
12126 HREF="libxml-tree.html#XMLNODEPTR"
12130 HREF="libxml-tree.html#XMLDOCPTR"
12137 >update all nodes under the tree to point to the right document</P
12141 CLASS="INFORMALTABLE"
12168 > the top element</TD
12200 NAME="XMLSETLISTDOC"
12202 >xmlSetListDoc ()</H3
12211 CLASS="PROGRAMLISTING"
12212 >void xmlSetListDoc (<A
12213 HREF="libxml-tree.html#XMLNODEPTR"
12217 HREF="libxml-tree.html#XMLDOCPTR"
12224 >update all nodes in the list to point to the right document</P
12228 CLASS="INFORMALTABLE"
12255 > the first element</TD
12289 >xmlSearchNs ()</H3
12298 CLASS="PROGRAMLISTING"
12300 HREF="libxml-tree.html#XMLNSPTR"
12303 HREF="libxml-tree.html#XMLDOCPTR"
12307 HREF="libxml-tree.html#XMLNODEPTR"
12311 HREF="libxml-tree.html#XMLCHAR"
12313 > *nameSpace);</PRE
12318 >Search a Ns registered under a given name space for a document.
12319 recurse on the parents until it finds the defined namespace
12320 or return NULL otherwise.
12326 > can be NULL, this is a search for the default namespace.
12327 We don't allow to cross entities boundaries. If you don't declare
12328 the namespace within those you will be in troubles !!! A warning
12329 is generated to cover this case.</P
12333 CLASS="INFORMALTABLE"
12377 > the current node</TD
12394 > the namespace prefix</TD
12412 >the namespace pointer or NULL.</TD
12427 NAME="XMLSEARCHNSBYHREF"
12429 >xmlSearchNsByHref ()</H3
12438 CLASS="PROGRAMLISTING"
12440 HREF="libxml-tree.html#XMLNSPTR"
12442 > xmlSearchNsByHref (<A
12443 HREF="libxml-tree.html#XMLDOCPTR"
12447 HREF="libxml-tree.html#XMLNODEPTR"
12451 HREF="libxml-tree.html#XMLCHAR"
12458 >Search a Ns aliasing a given URI. Recurse on the parents until it finds
12459 the defined namespace or return NULL otherwise.</P
12463 CLASS="INFORMALTABLE"
12507 > the current node</TD
12524 > the namespace value</TD
12542 >the namespace pointer or NULL.</TD
12557 NAME="XMLGETNSLIST"
12559 >xmlGetNsList ()</H3
12568 CLASS="PROGRAMLISTING"
12570 HREF="libxml-tree.html#XMLNSPTR"
12572 >* xmlGetNsList (<A
12573 HREF="libxml-tree.html#XMLDOCPTR"
12577 HREF="libxml-tree.html#XMLNODEPTR"
12584 >Search all the namespace applying to a given element.</P
12588 CLASS="INFORMALTABLE"
12632 > the current node</TD
12650 >an NULL terminated array of all the <A
12651 HREF="libxml-tree.html#XMLNSPTR"
12654 that need to be freed by the caller or NULL if no
12655 namespace if defined</TD
12681 CLASS="PROGRAMLISTING"
12683 HREF="libxml-tree.html#XMLNODEPTR"
12687 HREF="libxml-tree.html#XMLNSPTR"
12694 >Associate a namespace to a node, a posteriori.</P
12698 CLASS="INFORMALTABLE"
12725 > a node in the document</TD
12742 > a namespace pointer</TD
12757 NAME="XMLCOPYNAMESPACE"
12759 >xmlCopyNamespace ()</H3
12768 CLASS="PROGRAMLISTING"
12770 HREF="libxml-tree.html#XMLNSPTR"
12772 > xmlCopyNamespace (<A
12773 HREF="libxml-tree.html#XMLNSPTR"
12780 >Do a copy of the namespace.</P
12784 CLASS="INFORMALTABLE"
12811 > the namespace</TD
12830 HREF="libxml-tree.html#XMLNSPTR"
12832 >, or NULL in case of error.</TD
12847 NAME="XMLCOPYNAMESPACELIST"
12849 >xmlCopyNamespaceList ()</H3
12858 CLASS="PROGRAMLISTING"
12860 HREF="libxml-tree.html#XMLNSPTR"
12862 > xmlCopyNamespaceList (<A
12863 HREF="libxml-tree.html#XMLNSPTR"
12870 >Do a copy of an namespace list.</P
12874 CLASS="INFORMALTABLE"
12901 > the first namespace</TD
12920 HREF="libxml-tree.html#XMLNSPTR"
12922 >, or NULL in case of error.</TD
12948 CLASS="PROGRAMLISTING"
12950 HREF="libxml-tree.html#XMLATTRPTR"
12953 HREF="libxml-tree.html#XMLNODEPTR"
12957 HREF="libxml-tree.html#XMLCHAR"
12961 HREF="libxml-tree.html#XMLCHAR"
12968 >Set (or reset) an attribute carried by a node.</P
12972 CLASS="INFORMALTABLE"
13016 > the attribute name</TD
13033 > the attribute value</TD
13051 >the attribute pointer.</TD
13077 CLASS="PROGRAMLISTING"
13079 HREF="libxml-tree.html#XMLCHAR"
13082 HREF="libxml-tree.html#XMLNODEPTR"
13086 HREF="libxml-tree.html#XMLCHAR"
13093 >Search and get the value of an attribute associated to a node
13094 This does the entity substitution.
13095 This function looks in DTD attribute declaration for <GTKDOCLINK
13099 default declaration values unless DTD use has been turned off.</P
13103 CLASS="INFORMALTABLE"
13147 > the attribute name</TD
13165 >the attribute value or NULL if not found.
13166 It's up to the caller to free the memory with <A
13167 HREF="libxml-globals.html#XMLFREE"
13195 CLASS="PROGRAMLISTING"
13197 HREF="libxml-tree.html#XMLATTRPTR"
13200 HREF="libxml-tree.html#XMLNODEPTR"
13204 HREF="libxml-tree.html#XMLCHAR"
13211 >Search an attribute associated to a node
13212 This function also looks in DTD attribute declaration for <GTKDOCLINK
13216 default declaration values unless DTD use has been turned off.</P
13220 CLASS="INFORMALTABLE"
13264 > the attribute name</TD
13282 >the attribute or the attribute declaration or NULL if
13283 neither was found.</TD
13298 NAME="XMLHASNSPROP"
13300 >xmlHasNsProp ()</H3
13309 CLASS="PROGRAMLISTING"
13311 HREF="libxml-tree.html#XMLATTRPTR"
13314 HREF="libxml-tree.html#XMLNODEPTR"
13318 HREF="libxml-tree.html#XMLCHAR"
13322 HREF="libxml-tree.html#XMLCHAR"
13324 > *nameSpace);</PRE
13329 >Search for an attribute associated to a node
13330 This attribute has to be anchored in the namespace specified.
13331 This does the entity substitution.
13332 This function looks in DTD attribute declaration for <GTKDOCLINK
13336 default declaration values unless DTD use has been turned off.</P
13340 CLASS="INFORMALTABLE"
13384 > the attribute name</TD
13401 > the URI of the namespace</TD
13419 >the attribute or the attribute declaration or NULL
13420 if neither was found.</TD
13435 NAME="XMLSETNSPROP"
13437 >xmlSetNsProp ()</H3
13446 CLASS="PROGRAMLISTING"
13448 HREF="libxml-tree.html#XMLATTRPTR"
13451 HREF="libxml-tree.html#XMLNODEPTR"
13455 HREF="libxml-tree.html#XMLNSPTR"
13459 HREF="libxml-tree.html#XMLCHAR"
13463 HREF="libxml-tree.html#XMLCHAR"
13470 >Set (or reset) an attribute carried by a node.
13471 The ns structure must be in scope, this is not checked.</P
13475 CLASS="INFORMALTABLE"
13519 > the namespace definition</TD
13536 > the attribute name</TD
13553 > the attribute value</TD
13571 >the attribute pointer.</TD
13586 NAME="XMLGETNSPROP"
13588 >xmlGetNsProp ()</H3
13597 CLASS="PROGRAMLISTING"
13599 HREF="libxml-tree.html#XMLCHAR"
13601 >* xmlGetNsProp (<A
13602 HREF="libxml-tree.html#XMLNODEPTR"
13606 HREF="libxml-tree.html#XMLCHAR"
13610 HREF="libxml-tree.html#XMLCHAR"
13612 > *nameSpace);</PRE
13617 >Search and get the value of an attribute associated to a node
13618 This attribute has to be anchored in the namespace specified.
13619 This does the entity substitution.
13620 This function looks in DTD attribute declaration for <GTKDOCLINK
13624 default declaration values unless DTD use has been turned off.</P
13628 CLASS="INFORMALTABLE"
13672 > the attribute name</TD
13689 > the URI of the namespace</TD
13707 >the attribute value or NULL if not found.
13708 It's up to the caller to free the memory with <A
13709 HREF="libxml-globals.html#XMLFREE"
13726 NAME="XMLSTRINGGETNODELIST"
13728 >xmlStringGetNodeList ()</H3
13737 CLASS="PROGRAMLISTING"
13739 HREF="libxml-tree.html#XMLNODEPTR"
13741 > xmlStringGetNodeList (<A
13742 HREF="libxml-tree.html#XMLDOCPTR"
13746 HREF="libxml-tree.html#XMLCHAR"
13753 >Parse the value string and build the node list associated. Should
13754 produce a flat tree with only TEXTs and ENTITY_REFs.</P
13758 CLASS="INFORMALTABLE"
13802 > the value of the attribute</TD
13820 >a pointer to the first child</TD
13835 NAME="XMLSTRINGLENGETNODELIST"
13837 >xmlStringLenGetNodeList ()</H3
13846 CLASS="PROGRAMLISTING"
13848 HREF="libxml-tree.html#XMLNODEPTR"
13850 > xmlStringLenGetNodeList (<A
13851 HREF="libxml-tree.html#XMLDOCPTR"
13855 HREF="libxml-tree.html#XMLCHAR"
13863 >Parse the value string and build the node list associated. Should
13864 produce a flat tree with only TEXTs and ENTITY_REFs.</P
13868 CLASS="INFORMALTABLE"
13912 > the value of the text</TD
13929 > the length of the string value</TD
13947 >a pointer to the first child</TD
13962 NAME="XMLNODELISTGETSTRING"
13964 >xmlNodeListGetString ()</H3
13973 CLASS="PROGRAMLISTING"
13975 HREF="libxml-tree.html#XMLCHAR"
13977 >* xmlNodeListGetString (<A
13978 HREF="libxml-tree.html#XMLDOCPTR"
13982 HREF="libxml-tree.html#XMLNODEPTR"
13990 >Returns the string equivalent to the text contained in the Node list
13991 made of TEXTs and ENTITY_REFs</P
13995 CLASS="INFORMALTABLE"
14056 > should we replace entity contents or show their external form</TD
14074 >a pointer to the string copy, the caller must free it with <A
14075 HREF="libxml-globals.html#XMLFREE"
14092 NAME="XMLNODELISTGETRAWSTRING"
14094 >xmlNodeListGetRawString ()</H3
14103 CLASS="PROGRAMLISTING"
14105 HREF="libxml-tree.html#XMLCHAR"
14107 >* xmlNodeListGetRawString (<A
14108 HREF="libxml-tree.html#XMLDOCPTR"
14112 HREF="libxml-tree.html#XMLNODEPTR"
14120 >Returns the string equivalent to the text contained in the Node list
14121 made of TEXTs and ENTITY_REFs, contrary to <A
14122 HREF="libxml-tree.html#XMLNODELISTGETSTRING"
14123 >xmlNodeListGetString</A
14125 this function doesn't do any character encoding handling.</P
14129 CLASS="INFORMALTABLE"
14190 > should we replace entity contents or show their external form</TD
14208 >a pointer to the string copy, the caller must free it with <A
14209 HREF="libxml-globals.html#XMLFREE"
14226 NAME="XMLNODESETCONTENT"
14228 >xmlNodeSetContent ()</H3
14237 CLASS="PROGRAMLISTING"
14238 >void xmlNodeSetContent (<A
14239 HREF="libxml-tree.html#XMLNODEPTR"
14243 HREF="libxml-tree.html#XMLCHAR"
14250 >Replace the content of a node.</P
14254 CLASS="INFORMALTABLE"
14281 > the node being modified</TD
14298 > the new value of the content</TD
14313 NAME="XMLNODESETCONTENTLEN"
14315 >xmlNodeSetContentLen ()</H3
14324 CLASS="PROGRAMLISTING"
14325 >void xmlNodeSetContentLen (<A
14326 HREF="libxml-tree.html#XMLNODEPTR"
14330 HREF="libxml-tree.html#XMLCHAR"
14338 >Replace the content of a node.</P
14342 CLASS="INFORMALTABLE"
14369 > the node being modified</TD
14386 > the new value of the content</TD
14423 NAME="XMLNODEADDCONTENT"
14425 >xmlNodeAddContent ()</H3
14434 CLASS="PROGRAMLISTING"
14435 >void xmlNodeAddContent (<A
14436 HREF="libxml-tree.html#XMLNODEPTR"
14440 HREF="libxml-tree.html#XMLCHAR"
14447 >Append the extra substring to the node content.</P
14451 CLASS="INFORMALTABLE"
14478 > the node being modified</TD
14495 > extra content</TD
14510 NAME="XMLNODEADDCONTENTLEN"
14512 >xmlNodeAddContentLen ()</H3
14521 CLASS="PROGRAMLISTING"
14522 >void xmlNodeAddContentLen (<A
14523 HREF="libxml-tree.html#XMLNODEPTR"
14527 HREF="libxml-tree.html#XMLCHAR"
14535 >Append the extra substring to the node content.</P
14539 CLASS="INFORMALTABLE"
14566 > the node being modified</TD
14583 > extra content</TD
14620 NAME="XMLNODEGETCONTENT"
14622 >xmlNodeGetContent ()</H3
14631 CLASS="PROGRAMLISTING"
14633 HREF="libxml-tree.html#XMLCHAR"
14635 >* xmlNodeGetContent (<A
14636 HREF="libxml-tree.html#XMLNODEPTR"
14643 >Read the value of a node, this can be either the text carried
14644 directly by this node if it's a TEXT node or the aggregate string
14645 of the values carried by this node child's (TEXT and ENTITY_REF).
14646 Entity references are substituted.</P
14650 CLASS="INFORMALTABLE"
14677 > the node being read</TD
14696 HREF="libxml-tree.html#XMLCHAR"
14698 > * or NULL if no content is available.
14699 It's up to the caller to free the memory with <A
14700 HREF="libxml-globals.html#XMLFREE"
14717 NAME="XMLNODEGETLANG"
14719 >xmlNodeGetLang ()</H3
14728 CLASS="PROGRAMLISTING"
14730 HREF="libxml-tree.html#XMLCHAR"
14732 >* xmlNodeGetLang (<A
14733 HREF="libxml-tree.html#XMLNODEPTR"
14740 >Searches the language of a node, i.e. the values of the xml:lang
14741 attribute or the one carried by the nearest ancestor.</P
14745 CLASS="INFORMALTABLE"
14772 > the node being checked</TD
14790 >a pointer to the lang value, or NULL if not found
14791 It's up to the caller to free the memory with <A
14792 HREF="libxml-globals.html#XMLFREE"
14809 NAME="XMLNODESETLANG"
14811 >xmlNodeSetLang ()</H3
14820 CLASS="PROGRAMLISTING"
14821 >void xmlNodeSetLang (<A
14822 HREF="libxml-tree.html#XMLNODEPTR"
14826 HREF="libxml-tree.html#XMLCHAR"
14833 >Set the language of a node, i.e. the values of the xml:lang
14838 CLASS="INFORMALTABLE"
14865 > the node being changed</TD
14882 > the language description</TD
14897 NAME="XMLNODEGETSPACEPRESERVE"
14899 >xmlNodeGetSpacePreserve ()</H3
14908 CLASS="PROGRAMLISTING"
14909 >int xmlNodeGetSpacePreserve (<A
14910 HREF="libxml-tree.html#XMLNODEPTR"
14917 >Searches the space preserving behaviour of a node, i.e. the values
14918 of the xml:space attribute or the one carried by the nearest
14923 CLASS="INFORMALTABLE"
14950 > the node being checked</TD
14968 >-1 if xml:space is not inherited, 0 if "default", 1 if "preserve"</TD
14983 NAME="XMLNODESETSPACEPRESERVE"
14985 >xmlNodeSetSpacePreserve ()</H3
14994 CLASS="PROGRAMLISTING"
14995 >void xmlNodeSetSpacePreserve (<A
14996 HREF="libxml-tree.html#XMLNODEPTR"
15004 >Set (or reset) the space preserving behaviour of a node, i.e. the
15005 value of the xml:space attribute.</P
15009 CLASS="INFORMALTABLE"
15036 > the node being changed</TD
15053 > the xml:space value ("0": default, 1: "preserve")</TD
15068 NAME="XMLNODEGETBASE"
15070 >xmlNodeGetBase ()</H3
15079 CLASS="PROGRAMLISTING"
15081 HREF="libxml-tree.html#XMLCHAR"
15083 >* xmlNodeGetBase (<A
15084 HREF="libxml-tree.html#XMLDOCPTR"
15088 HREF="libxml-tree.html#XMLNODEPTR"
15095 >Searches for the BASE URL. The code should work on both XML
15096 and HTML document even if base mechanisms are completely different.
15097 It returns the base as defined in RFC 2396 sections
15098 5.1.1. Base URI within Document Content
15100 5.1.2. Base URI from the Encapsulating Entity
15101 However it does not return the document base (5.1.3), use
15103 HREF="XMLDOCUMENTGETBASE"
15104 >xmlDocumentGetBase</GTKDOCLINK
15109 CLASS="INFORMALTABLE"
15136 > the document the node pertains to</TD
15153 > the node being checked</TD
15171 >a pointer to the base URL, or NULL if not found
15172 It's up to the caller to free the memory with <A
15173 HREF="libxml-globals.html#XMLFREE"
15190 NAME="XMLNODESETBASE"
15192 >xmlNodeSetBase ()</H3
15201 CLASS="PROGRAMLISTING"
15202 >void xmlNodeSetBase (<A
15203 HREF="libxml-tree.html#XMLNODEPTR"
15207 HREF="libxml-tree.html#XMLCHAR"
15214 >Set (or reset) the base URI of a node, i.e. the value of the
15215 xml:base attribute.</P
15219 CLASS="INFORMALTABLE"
15246 > the node being changed</TD
15263 > the new base URI</TD
15278 NAME="XMLREMOVEPROP"
15280 >xmlRemoveProp ()</H3
15289 CLASS="PROGRAMLISTING"
15290 >int xmlRemoveProp (<A
15291 HREF="libxml-tree.html#XMLATTRPTR"
15298 >Unlink and free one attribute, all the content is freed too
15299 Note this doesn't work for namespace definition attributes</P
15303 CLASS="INFORMALTABLE"
15348 >0 if success and -1 in case of error.</TD
15363 NAME="XMLUNSETPROP"
15365 >xmlUnsetProp ()</H3
15374 CLASS="PROGRAMLISTING"
15375 >int xmlUnsetProp (<A
15376 HREF="libxml-tree.html#XMLNODEPTR"
15380 HREF="libxml-tree.html#XMLCHAR"
15387 >Remove an attribute carried by a node.</P
15391 CLASS="INFORMALTABLE"
15435 > the attribute name</TD
15453 >0 if successful, -1 if not found</TD
15468 NAME="XMLUNSETNSPROP"
15470 >xmlUnsetNsProp ()</H3
15479 CLASS="PROGRAMLISTING"
15480 >int xmlUnsetNsProp (<A
15481 HREF="libxml-tree.html#XMLNODEPTR"
15485 HREF="libxml-tree.html#XMLNSPTR"
15489 HREF="libxml-tree.html#XMLCHAR"
15496 >Remove an attribute carried by a node.</P
15500 CLASS="INFORMALTABLE"
15544 > the namespace definition</TD
15561 > the attribute name</TD
15579 >0 if successful, -1 if not found</TD
15594 NAME="XMLBUFFERWRITEXMLCHAR"
15596 >xmlBufferWriteXmlCHAR ()</H3
15605 CLASS="PROGRAMLISTING"
15606 >void xmlBufferWriteXmlCHAR (<A
15607 HREF="libxml-tree.html#XMLBUFFERPTR"
15611 HREF="libxml-tree.html#XMLCHAR"
15619 routine which manages and grows an output buffer. This one adds
15620 xmlChars at the end of the buffer.</P
15624 CLASS="INFORMALTABLE"
15651 > the XML buffer</TD
15668 > the string to add</TD
15683 NAME="XMLBUFFERWRITECHAR"
15685 >xmlBufferWriteCHAR ()</H3
15694 CLASS="PROGRAMLISTING"
15695 >void xmlBufferWriteCHAR (<A
15696 HREF="libxml-tree.html#XMLBUFFERPTR"
15700 HREF="libxml-tree.html#XMLCHAR"
15707 >routine which manages and grows an output buffer. This one adds
15708 xmlChars at the end of the buffer.</P
15712 CLASS="INFORMALTABLE"
15739 > the XML buffer</TD
15756 > the string to add</TD
15771 NAME="XMLBUFFERWRITECHAR"
15773 >xmlBufferWriteChar ()</H3
15782 CLASS="PROGRAMLISTING"
15783 >void xmlBufferWriteChar (<A
15784 HREF="libxml-tree.html#XMLBUFFERPTR"
15787 const char *string);</PRE
15792 >routine which manage and grows an output buffer. This one add
15793 C chars at the end of the array.</P
15797 CLASS="INFORMALTABLE"
15824 > the XML buffer output</TD
15841 > the string to add</TD
15856 NAME="XMLBUFFERWRITEQUOTEDSTRING"
15858 >xmlBufferWriteQuotedString ()</H3
15867 CLASS="PROGRAMLISTING"
15868 >void xmlBufferWriteQuotedString (<A
15869 HREF="libxml-tree.html#XMLBUFFERPTR"
15873 HREF="libxml-tree.html#XMLCHAR"
15880 >routine which manage and grows an output buffer. This one writes
15881 a quoted or double quoted <A
15882 HREF="libxml-tree.html#XMLCHAR"
15884 > string, checking first if it holds
15885 quote or double-quotes internally</P
15889 CLASS="INFORMALTABLE"
15916 > the XML buffer output</TD
15933 > the string to add</TD
15948 NAME="XMLRECONCILIATENS"
15950 >xmlReconciliateNs ()</H3
15959 CLASS="PROGRAMLISTING"
15960 >int xmlReconciliateNs (<A
15961 HREF="libxml-tree.html#XMLDOCPTR"
15965 HREF="libxml-tree.html#XMLNODEPTR"
15972 >This function checks that all the namespaces declared within the given
15973 tree are properly declared. This is needed for example after Copy or Cut
15974 and then paste operations. The subtree may still hold pointers to
15975 namespace declarations outside the subtree or invalid/masked. As much
15976 as possible the function try to reuse the existing namespaces found in
15977 the new environment. If not possible the new namespaces are redeclared
15983 > at the top of the given subtree.</P
15987 CLASS="INFORMALTABLE"
16031 > a node defining the subtree to reconciliate</TD
16049 >the number of namespace declarations created or -1 in case of error.</TD
16064 NAME="XMLDOCDUMPFORMATMEMORY"
16066 >xmlDocDumpFormatMemory ()</H3
16075 CLASS="PROGRAMLISTING"
16076 >void xmlDocDumpFormatMemory (<A
16077 HREF="libxml-tree.html#XMLDOCPTR"
16081 HREF="libxml-tree.html#XMLCHAR"
16090 >Dump an XML document in memory and return the <A
16091 HREF="libxml-tree.html#XMLCHAR"
16094 It's up to the caller to free the memory with <A
16095 HREF="libxml-globals.html#XMLFREE"
16098 Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
16099 or xmlKeepBlanksDefault(0) was called</P
16103 CLASS="INFORMALTABLE"
16147 > OUT: the memory pointer</TD
16164 > OUT: the memory length</TD
16181 > should formatting spaces been added</TD
16196 NAME="XMLDOCDUMPMEMORY"
16198 >xmlDocDumpMemory ()</H3
16207 CLASS="PROGRAMLISTING"
16208 >void xmlDocDumpMemory (<A
16209 HREF="libxml-tree.html#XMLDOCPTR"
16213 HREF="libxml-tree.html#XMLCHAR"
16221 >Dump an XML document in memory and return the <A
16222 HREF="libxml-tree.html#XMLCHAR"
16225 It's up to the caller to free the memory with <A
16226 HREF="libxml-globals.html#XMLFREE"
16232 CLASS="INFORMALTABLE"
16276 > OUT: the memory pointer</TD
16293 > OUT: the memory length</TD
16308 NAME="XMLDOCDUMPMEMORYENC"
16310 >xmlDocDumpMemoryEnc ()</H3
16319 CLASS="PROGRAMLISTING"
16320 >void xmlDocDumpMemoryEnc (<A
16321 HREF="libxml-tree.html#XMLDOCPTR"
16325 HREF="libxml-tree.html#XMLCHAR"
16329 const char *txt_encoding);</PRE
16334 >Dump the current DOM tree into memory using the character encoding specified
16335 by the caller. Note it is up to the caller of this function to free the
16336 allocated memory with <A
16337 HREF="libxml-globals.html#XMLFREE"
16343 CLASS="INFORMALTABLE"
16370 > Document to generate XML text from</TD
16387 > Memory pointer for allocated XML text</TD
16404 > Length of the generated XML text</TD
16421 > Character encoding to use when generating XML text</TD
16436 NAME="XMLDOCDUMPFORMATMEMORYENC"
16438 >xmlDocDumpFormatMemoryEnc ()</H3
16447 CLASS="PROGRAMLISTING"
16448 >void xmlDocDumpFormatMemoryEnc (<A
16449 HREF="libxml-tree.html#XMLDOCPTR"
16453 HREF="libxml-tree.html#XMLCHAR"
16457 const char *txt_encoding,
16463 >Dump the current DOM tree into memory using the character encoding specified
16464 by the caller. Note it is up to the caller of this function to free the
16465 allocated memory with <A
16466 HREF="libxml-globals.html#XMLFREE"
16469 Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
16470 or xmlKeepBlanksDefault(0) was called</P
16474 CLASS="INFORMALTABLE"
16501 > Document to generate XML text from</TD
16518 > Memory pointer for allocated XML text</TD
16535 > Length of the generated XML text</TD
16552 > Character encoding to use when generating XML text</TD
16569 > should formatting spaces been added</TD
16584 NAME="XMLDOCFORMATDUMP"
16586 >xmlDocFormatDump ()</H3
16595 CLASS="PROGRAMLISTING"
16596 >int xmlDocFormatDump (<GTKDOCLINK
16601 HREF="libxml-tree.html#XMLDOCPTR"
16609 >Dump an XML document to an open FILE.</P
16613 CLASS="INFORMALTABLE"
16674 > should formatting spaces been added</TD
16692 > the number of bytes written or -1 in case of failure.</TD
16718 CLASS="PROGRAMLISTING"
16719 >int xmlDocDump (<GTKDOCLINK
16724 HREF="libxml-tree.html#XMLDOCPTR"
16731 >Dump an XML document to an open FILE.</P
16735 CLASS="INFORMALTABLE"
16797 > the number of bytes written or -1 in case of failure.</TD
16814 >xmlElemDump ()</H3
16823 CLASS="PROGRAMLISTING"
16824 >void xmlElemDump (<GTKDOCLINK
16829 HREF="libxml-tree.html#XMLDOCPTR"
16833 HREF="libxml-tree.html#XMLNODEPTR"
16840 >Dump an XML/HTML node, recursive behaviour, children are printed too.</P
16844 CLASS="INFORMALTABLE"
16871 > the FILE * for the output</TD
16905 > the current node</TD
16922 >xmlSaveFile ()</H3
16931 CLASS="PROGRAMLISTING"
16932 >int xmlSaveFile (const char *filename,
16934 HREF="libxml-tree.html#XMLDOCPTR"
16941 >Dump an XML document to a file. Will use compression if
16942 compiled in and enabled. If <TT
16947 > is "-" the stdout file is
16952 CLASS="INFORMALTABLE"
16979 > the filename (or URL)</TD
17014 > the number of bytes written or -1 in case of failure.</TD
17029 NAME="XMLSAVEFORMATFILE"
17031 >xmlSaveFormatFile ()</H3
17040 CLASS="PROGRAMLISTING"
17041 >int xmlSaveFormatFile (const char *filename,
17043 HREF="libxml-tree.html#XMLDOCPTR"
17051 >Dump an XML document to a file. Will use compression if
17052 compiled in and enabled. If <TT
17057 > is "-" the stdout file is
17063 > is set then the document will be indented on output.</P
17067 CLASS="INFORMALTABLE"
17094 > the filename (or URL)</TD
17128 > should formatting spaces been added</TD
17146 > the number of bytes written or -1 in case of failure.</TD
17163 >xmlNodeDump ()</H3
17172 CLASS="PROGRAMLISTING"
17173 >void xmlNodeDump (<A
17174 HREF="libxml-tree.html#XMLBUFFERPTR"
17178 HREF="libxml-tree.html#XMLDOCPTR"
17182 HREF="libxml-tree.html#XMLNODEPTR"
17191 >Dump an XML node, recursive behaviour,children are printed too.
17192 Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
17193 or xmlKeepBlanksDefault(0) was called</P
17197 CLASS="INFORMALTABLE"
17224 > the XML buffer output</TD
17258 > the current node</TD
17275 > the imbrication level for indenting</TD
17292 > is formatting allowed</TD
17307 NAME="XMLSAVEFILETO"
17309 >xmlSaveFileTo ()</H3
17318 CLASS="PROGRAMLISTING"
17319 >int xmlSaveFileTo (<A
17320 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
17321 >xmlOutputBufferPtr</A
17324 HREF="libxml-tree.html#XMLDOCPTR"
17327 const char *encoding);</PRE
17332 >Dump an XML document to an I/O buffer.</P
17336 CLASS="INFORMALTABLE"
17363 > an output I/O buffer</TD
17397 > the encoding if any assuming the I/O layer handles the trancoding</TD
17415 > the number of bytes written or -1 in case of failure.</TD
17430 NAME="XMLSAVEFORMATFILETO"
17432 >xmlSaveFormatFileTo ()</H3
17441 CLASS="PROGRAMLISTING"
17442 >int xmlSaveFormatFileTo (<A
17443 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
17444 >xmlOutputBufferPtr</A
17447 HREF="libxml-tree.html#XMLDOCPTR"
17450 const char *encoding,
17456 >Dump an XML document to an I/O buffer.</P
17460 CLASS="INFORMALTABLE"
17487 > an output I/O buffer</TD
17521 > the encoding if any assuming the I/O layer handles the trancoding</TD
17538 > should formatting spaces been added</TD
17556 > the number of bytes written or -1 in case of failure.</TD
17571 NAME="XMLNODEDUMPOUTPUT"
17573 >xmlNodeDumpOutput ()</H3
17582 CLASS="PROGRAMLISTING"
17583 >void xmlNodeDumpOutput (<A
17584 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
17585 >xmlOutputBufferPtr</A
17588 HREF="libxml-tree.html#XMLDOCPTR"
17592 HREF="libxml-tree.html#XMLNODEPTR"
17597 const char *encoding);</PRE
17602 >Dump an XML node, recursive behaviour, children are printed too.
17603 Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
17604 or xmlKeepBlanksDefault(0) was called</P
17608 CLASS="INFORMALTABLE"
17635 > the XML buffer output</TD
17669 > the current node</TD
17686 > the imbrication level for indenting</TD
17703 > is formatting allowed</TD
17720 > an optional encoding string</TD
17735 NAME="XMLSAVEFORMATFILEENC"
17737 >xmlSaveFormatFileEnc ()</H3
17746 CLASS="PROGRAMLISTING"
17747 >int xmlSaveFormatFileEnc (const char *filename,
17749 HREF="libxml-tree.html#XMLDOCPTR"
17752 const char *encoding,
17762 CLASS="INFORMALTABLE"
17789 > the filename or URL to output</TD
17806 > the document being saved</TD
17823 > the name of the encoding to use or NULL.</TD
17840 > should formatting spaces be added.</TD
17858 >the number of bytes written or -1 in case of error.</TD
17873 NAME="XMLSAVEFILEENC"
17875 >xmlSaveFileEnc ()</H3
17884 CLASS="PROGRAMLISTING"
17885 >int xmlSaveFileEnc (const char *filename,
17887 HREF="libxml-tree.html#XMLDOCPTR"
17890 const char *encoding);</PRE
17895 >Dump an XML document, converting it to the given encoding</P
17899 CLASS="INFORMALTABLE"
17926 > the filename (or URL)</TD
17960 > the name of an encoding (or NULL)</TD
17978 > the number of bytes written or -1 in case of failure.</TD
17993 NAME="XMLGETDOCCOMPRESSMODE"
17995 >xmlGetDocCompressMode ()</H3
18004 CLASS="PROGRAMLISTING"
18005 >int xmlGetDocCompressMode (<A
18006 HREF="libxml-tree.html#XMLDOCPTR"
18013 >get the compression ratio for a document, ZLIB based</P
18017 CLASS="INFORMALTABLE"
18062 >0 (uncompressed) to 9 (max compression)</TD
18077 NAME="XMLSETDOCCOMPRESSMODE"
18079 >xmlSetDocCompressMode ()</H3
18088 CLASS="PROGRAMLISTING"
18089 >void xmlSetDocCompressMode (<A
18090 HREF="libxml-tree.html#XMLDOCPTR"
18098 >set the compression ratio for a document, ZLIB based
18099 Correct values: 0 (uncompressed) to 9 (max compression)</P
18103 CLASS="INFORMALTABLE"
18147 > the compression ratio</TD
18162 NAME="XMLGETCOMPRESSMODE"
18164 >xmlGetCompressMode ()</H3
18173 CLASS="PROGRAMLISTING"
18174 >int xmlGetCompressMode (void);</PRE
18179 >get the default compression mode used, ZLIB based.</P
18183 CLASS="INFORMALTABLE"
18211 >0 (uncompressed) to 9 (max compression)</TD
18226 NAME="XMLSETCOMPRESSMODE"
18228 >xmlSetCompressMode ()</H3
18237 CLASS="PROGRAMLISTING"
18238 >void xmlSetCompressMode (int mode);</PRE
18243 >set the default compression mode used, ZLIB based
18244 Correct values: 0 (uncompressed) to 9 (max compression)</P
18248 CLASS="INFORMALTABLE"
18275 > the compression ratio</TD
18287 CLEAR="all"><BR><TABLE
18299 HREF="libxml-sax.html"
18304 ><<< Previous Page</B
18337 HREF="libxml-lib.html"
18353 HREF="libxml-entities.html"
18358 >Next Page >>></B