libxml-entities.html revision 4b8328d7b3ce3c73cc9350efa0b9df769d82321d
1<HTML 2><HEAD 3><TITLE 4>entities</TITLE 5><META 6NAME="GENERATOR" 7CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK 8REL="HOME" 9TITLE="Gnome XML Library Reference Manual" 10HREF="book1.html"><LINK 11REL="UP" 12TITLE="Libxml Library Reference" 13HREF="libxml-lib.html"><LINK 14REL="PREVIOUS" 15TITLE="tree" 16HREF="libxml-tree.html"><LINK 17REL="NEXT" 18TITLE="valid" 19HREF="libxml-valid.html"></HEAD 20><BODY 21CLASS="REFENTRY" 22BGCOLOR="#FFFFFF" 23TEXT="#000000" 24LINK="#0000FF" 25VLINK="#840084" 26ALINK="#0000FF" 27><DIV 28CLASS="NAVHEADER" 29><TABLE 30WIDTH="100%" 31BORDER="0" 32BGCOLOR="#000000" 33CELLPADDING="1" 34CELLSPACING="0" 35><TR 36><TH 37COLSPAN="4" 38ALIGN="center" 39><FONT 40COLOR="#FFFFFF" 41SIZE="5" 42>Gnome XML Library Reference Manual</FONT 43></TH 44></TR 45><TR 46><TD 47WIDTH="25%" 48BGCOLOR="#C00000" 49ALIGN="left" 50><A 51HREF="libxml-tree.html" 52><FONT 53COLOR="#FFFFFF" 54SIZE="3" 55><B 56><<< Previous Page</B 57></FONT 58></A 59></TD 60><TD 61WIDTH="25%" 62BGCOLOR="#0000C0" 63ALIGN="center" 64><FONT 65COLOR="#FFFFFF" 66SIZE="3" 67><B 68><A 69HREF="book1.html" 70><FONT 71COLOR="#FFFFFF" 72SIZE="3" 73><B 74>Home</B 75></FONT 76></A 77></B 78></FONT 79></TD 80><TD 81WIDTH="25%" 82BGCOLOR="#00C000" 83ALIGN="center" 84><FONT 85COLOR="#FFFFFF" 86SIZE="3" 87><B 88><A 89HREF="libxml-lib.html" 90><FONT 91COLOR="#FFFFFF" 92SIZE="3" 93><B 94>Up</B 95></FONT 96></A 97></B 98></FONT 99></TD 100><TD 101WIDTH="25%" 102BGCOLOR="#C00000" 103ALIGN="right" 104><A 105HREF="libxml-valid.html" 106><FONT 107COLOR="#FFFFFF" 108SIZE="3" 109><B 110>Next Page >>></B 111></FONT 112></A 113></TD 114></TR 115></TABLE 116></DIV 117><H1 118><A 119NAME="LIBXML-ENTITIES" 120>entities</A 121></H1 122><DIV 123CLASS="REFNAMEDIV" 124><A 125NAME="AEN7482" 126></A 127><H2 128>Name</H2 129>entities -- </DIV 130><DIV 131CLASS="REFSYNOPSISDIV" 132><A 133NAME="AEN7485" 134></A 135><H2 136>Synopsis</H2 137><TABLE 138BORDER="0" 139BGCOLOR="#D6E8FF" 140WIDTH="100%" 141CELLPADDING="6" 142><TR 143><TD 144><PRE 145CLASS="SYNOPSIS" 146> 147 148enum <A 149HREF="libxml-entities.html#XMLENTITYTYPE" 150>xmlEntityType</A 151>; 152struct <A 153HREF="libxml-entities.html#XMLENTITY" 154>xmlEntity</A 155>; 156typedef <A 157HREF="libxml-entities.html#XMLENTITYPTR" 158>xmlEntityPtr</A 159>; 160typedef <A 161HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 162>xmlEntitiesTablePtr</A 163>; 164void <A 165HREF="libxml-entities.html#XMLINITIALIZEPREDEFINEDENTITIES" 166>xmlInitializePredefinedEntities</A 167> (void); 168<A 169HREF="libxml-entities.html#XMLENTITYPTR" 170>xmlEntityPtr</A 171> <A 172HREF="libxml-entities.html#XMLADDDOCENTITY" 173>xmlAddDocEntity</A 174> (<A 175HREF="libxml-tree.html#XMLDOCPTR" 176>xmlDocPtr</A 177> doc, 178 const <A 179HREF="libxml-tree.html#XMLCHAR" 180>xmlChar</A 181> *name, 182 int type, 183 const <A 184HREF="libxml-tree.html#XMLCHAR" 185>xmlChar</A 186> *ExternalID, 187 const <A 188HREF="libxml-tree.html#XMLCHAR" 189>xmlChar</A 190> *SystemID, 191 const <A 192HREF="libxml-tree.html#XMLCHAR" 193>xmlChar</A 194> *content); 195<A 196HREF="libxml-entities.html#XMLENTITYPTR" 197>xmlEntityPtr</A 198> <A 199HREF="libxml-entities.html#XMLADDDTDENTITY" 200>xmlAddDtdEntity</A 201> (<A 202HREF="libxml-tree.html#XMLDOCPTR" 203>xmlDocPtr</A 204> doc, 205 const <A 206HREF="libxml-tree.html#XMLCHAR" 207>xmlChar</A 208> *name, 209 int type, 210 const <A 211HREF="libxml-tree.html#XMLCHAR" 212>xmlChar</A 213> *ExternalID, 214 const <A 215HREF="libxml-tree.html#XMLCHAR" 216>xmlChar</A 217> *SystemID, 218 const <A 219HREF="libxml-tree.html#XMLCHAR" 220>xmlChar</A 221> *content); 222<A 223HREF="libxml-entities.html#XMLENTITYPTR" 224>xmlEntityPtr</A 225> <A 226HREF="libxml-entities.html#XMLGETPREDEFINEDENTITY" 227>xmlGetPredefinedEntity</A 228> (const <A 229HREF="libxml-tree.html#XMLCHAR" 230>xmlChar</A 231> *name); 232<A 233HREF="libxml-entities.html#XMLENTITYPTR" 234>xmlEntityPtr</A 235> <A 236HREF="libxml-entities.html#XMLGETDOCENTITY" 237>xmlGetDocEntity</A 238> (<A 239HREF="libxml-tree.html#XMLDOCPTR" 240>xmlDocPtr</A 241> doc, 242 const <A 243HREF="libxml-tree.html#XMLCHAR" 244>xmlChar</A 245> *name); 246<A 247HREF="libxml-entities.html#XMLENTITYPTR" 248>xmlEntityPtr</A 249> <A 250HREF="libxml-entities.html#XMLGETDTDENTITY" 251>xmlGetDtdEntity</A 252> (<A 253HREF="libxml-tree.html#XMLDOCPTR" 254>xmlDocPtr</A 255> doc, 256 const <A 257HREF="libxml-tree.html#XMLCHAR" 258>xmlChar</A 259> *name); 260<A 261HREF="libxml-entities.html#XMLENTITYPTR" 262>xmlEntityPtr</A 263> <A 264HREF="libxml-entities.html#XMLGETPARAMETERENTITY" 265>xmlGetParameterEntity</A 266> (<A 267HREF="libxml-tree.html#XMLDOCPTR" 268>xmlDocPtr</A 269> doc, 270 const <A 271HREF="libxml-tree.html#XMLCHAR" 272>xmlChar</A 273> *name); 274const <A 275HREF="libxml-tree.html#XMLCHAR" 276>xmlChar</A 277>* <A 278HREF="libxml-entities.html#XMLENCODEENTITIES" 279>xmlEncodeEntities</A 280> (<A 281HREF="libxml-tree.html#XMLDOCPTR" 282>xmlDocPtr</A 283> doc, 284 const <A 285HREF="libxml-tree.html#XMLCHAR" 286>xmlChar</A 287> *input); 288<A 289HREF="libxml-tree.html#XMLCHAR" 290>xmlChar</A 291>* <A 292HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT" 293>xmlEncodeEntitiesReentrant</A 294> (<A 295HREF="libxml-tree.html#XMLDOCPTR" 296>xmlDocPtr</A 297> doc, 298 const <A 299HREF="libxml-tree.html#XMLCHAR" 300>xmlChar</A 301> *input); 302<A 303HREF="libxml-tree.html#XMLCHAR" 304>xmlChar</A 305>* <A 306HREF="libxml-entities.html#XMLENCODESPECIALCHARS" 307>xmlEncodeSpecialChars</A 308> (<A 309HREF="libxml-tree.html#XMLDOCPTR" 310>xmlDocPtr</A 311> doc, 312 const <A 313HREF="libxml-tree.html#XMLCHAR" 314>xmlChar</A 315> *input); 316<A 317HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 318>xmlEntitiesTablePtr</A 319> <A 320HREF="libxml-entities.html#XMLCREATEENTITIESTABLE" 321>xmlCreateEntitiesTable</A 322> (void); 323<A 324HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 325>xmlEntitiesTablePtr</A 326> <A 327HREF="libxml-entities.html#XMLCOPYENTITIESTABLE" 328>xmlCopyEntitiesTable</A 329> (<A 330HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 331>xmlEntitiesTablePtr</A 332> table); 333void <A 334HREF="libxml-entities.html#XMLFREEENTITIESTABLE" 335>xmlFreeEntitiesTable</A 336> (<A 337HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 338>xmlEntitiesTablePtr</A 339> table); 340void <A 341HREF="libxml-entities.html#XMLDUMPENTITIESTABLE" 342>xmlDumpEntitiesTable</A 343> (<A 344HREF="libxml-tree.html#XMLBUFFERPTR" 345>xmlBufferPtr</A 346> buf, 347 <A 348HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 349>xmlEntitiesTablePtr</A 350> table); 351void <A 352HREF="libxml-entities.html#XMLDUMPENTITYDECL" 353>xmlDumpEntityDecl</A 354> (<A 355HREF="libxml-tree.html#XMLBUFFERPTR" 356>xmlBufferPtr</A 357> buf, 358 <A 359HREF="libxml-entities.html#XMLENTITYPTR" 360>xmlEntityPtr</A 361> ent); 362void <A 363HREF="libxml-entities.html#XMLCLEANUPPREDEFINEDENTITIES" 364>xmlCleanupPredefinedEntities</A 365> (void);</PRE 366></TD 367></TR 368></TABLE 369></DIV 370><DIV 371CLASS="REFSECT1" 372><A 373NAME="AEN7548" 374></A 375><H2 376>Description</H2 377><P 378></P 379></DIV 380><DIV 381CLASS="REFSECT1" 382><A 383NAME="AEN7551" 384></A 385><H2 386>Details</H2 387><DIV 388CLASS="REFSECT2" 389><A 390NAME="AEN7553" 391></A 392><H3 393><A 394NAME="XMLENTITYTYPE" 395></A 396>enum xmlEntityType</H3 397><TABLE 398BORDER="0" 399BGCOLOR="#D6E8FF" 400WIDTH="100%" 401CELLPADDING="6" 402><TR 403><TD 404><PRE 405CLASS="PROGRAMLISTING" 406>typedef enum { 407 XML_INTERNAL_GENERAL_ENTITY = 1, 408 XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2, 409 XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3, 410 XML_INTERNAL_PARAMETER_ENTITY = 4, 411 XML_EXTERNAL_PARAMETER_ENTITY = 5, 412 XML_INTERNAL_PREDEFINED_ENTITY = 6 413} xmlEntityType;</PRE 414></TD 415></TR 416></TABLE 417><P 418></P 419></DIV 420><HR><DIV 421CLASS="REFSECT2" 422><A 423NAME="AEN7558" 424></A 425><H3 426><A 427NAME="XMLENTITY" 428></A 429>struct xmlEntity</H3 430><TABLE 431BORDER="0" 432BGCOLOR="#D6E8FF" 433WIDTH="100%" 434CELLPADDING="6" 435><TR 436><TD 437><PRE 438CLASS="PROGRAMLISTING" 439>struct xmlEntity { 440 void *_private; /* for Corba, must be first ! */ 441 xmlElementType type; /* XML_ENTITY_DECL, must be second ! */ 442 const xmlChar *name; /* Attribute name */ 443 struct _xmlNode *children; /* NULL */ 444 struct _xmlNode *last; /* NULL */ 445 struct _xmlDtd *parent; /* -> DTD */ 446 struct _xmlNode *next; /* next sibling link */ 447 struct _xmlNode *prev; /* previous sibling link */ 448 struct _xmlDoc *doc; /* the containing document */ 449 450 xmlChar *orig; /* content without ref substitution */ 451 xmlChar *content; /* content or ndata if unparsed */ 452 int length; /* the content length */ 453 xmlEntityType etype; /* The entity type */ 454 const xmlChar *ExternalID; /* External identifier for PUBLIC */ 455 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */ 456 457 struct _xmlEntity *nexte; /* unused */ 458 const xmlChar *URI; /* the full URI as computed */ 459};</PRE 460></TD 461></TR 462></TABLE 463><P 464></P 465></DIV 466><HR><DIV 467CLASS="REFSECT2" 468><A 469NAME="AEN7563" 470></A 471><H3 472><A 473NAME="XMLENTITYPTR" 474></A 475>xmlEntityPtr</H3 476><TABLE 477BORDER="0" 478BGCOLOR="#D6E8FF" 479WIDTH="100%" 480CELLPADDING="6" 481><TR 482><TD 483><PRE 484CLASS="PROGRAMLISTING" 485>typedef xmlEntity *xmlEntityPtr;</PRE 486></TD 487></TR 488></TABLE 489><P 490></P 491></DIV 492><HR><DIV 493CLASS="REFSECT2" 494><A 495NAME="AEN7568" 496></A 497><H3 498><A 499NAME="XMLENTITIESTABLEPTR" 500></A 501>xmlEntitiesTablePtr</H3 502><TABLE 503BORDER="0" 504BGCOLOR="#D6E8FF" 505WIDTH="100%" 506CELLPADDING="6" 507><TR 508><TD 509><PRE 510CLASS="PROGRAMLISTING" 511>typedef xmlEntitiesTable *xmlEntitiesTablePtr;</PRE 512></TD 513></TR 514></TABLE 515><P 516></P 517></DIV 518><HR><DIV 519CLASS="REFSECT2" 520><A 521NAME="AEN7573" 522></A 523><H3 524><A 525NAME="XMLINITIALIZEPREDEFINEDENTITIES" 526></A 527>xmlInitializePredefinedEntities ()</H3 528><TABLE 529BORDER="0" 530BGCOLOR="#D6E8FF" 531WIDTH="100%" 532CELLPADDING="6" 533><TR 534><TD 535><PRE 536CLASS="PROGRAMLISTING" 537>void xmlInitializePredefinedEntities (void);</PRE 538></TD 539></TR 540></TABLE 541><P 542>Set up the predefined entities.</P 543><P 544></P 545></DIV 546><HR><DIV 547CLASS="REFSECT2" 548><A 549NAME="AEN7579" 550></A 551><H3 552><A 553NAME="XMLADDDOCENTITY" 554></A 555>xmlAddDocEntity ()</H3 556><TABLE 557BORDER="0" 558BGCOLOR="#D6E8FF" 559WIDTH="100%" 560CELLPADDING="6" 561><TR 562><TD 563><PRE 564CLASS="PROGRAMLISTING" 565><A 566HREF="libxml-entities.html#XMLENTITYPTR" 567>xmlEntityPtr</A 568> xmlAddDocEntity (<A 569HREF="libxml-tree.html#XMLDOCPTR" 570>xmlDocPtr</A 571> doc, 572 const <A 573HREF="libxml-tree.html#XMLCHAR" 574>xmlChar</A 575> *name, 576 int type, 577 const <A 578HREF="libxml-tree.html#XMLCHAR" 579>xmlChar</A 580> *ExternalID, 581 const <A 582HREF="libxml-tree.html#XMLCHAR" 583>xmlChar</A 584> *SystemID, 585 const <A 586HREF="libxml-tree.html#XMLCHAR" 587>xmlChar</A 588> *content);</PRE 589></TD 590></TR 591></TABLE 592><P 593>Register a new entity for this document.</P 594><P 595></P 596><DIV 597CLASS="INFORMALTABLE" 598><A 599NAME="AEN7591" 600></A 601><P 602></P 603><TABLE 604BORDER="0" 605WIDTH="100%" 606BGCOLOR="#FFD0D0" 607CELLSPACING="0" 608CELLPADDING="4" 609CLASS="CALSTABLE" 610><TBODY 611><TR 612><TD 613WIDTH="20%" 614ALIGN="RIGHT" 615VALIGN="TOP" 616><TT 617CLASS="PARAMETER" 618><I 619>doc</I 620></TT 621> :</TD 622><TD 623WIDTH="80%" 624ALIGN="LEFT" 625VALIGN="TOP" 626> the document</TD 627></TR 628><TR 629><TD 630WIDTH="20%" 631ALIGN="RIGHT" 632VALIGN="TOP" 633><TT 634CLASS="PARAMETER" 635><I 636>name</I 637></TT 638> :</TD 639><TD 640WIDTH="80%" 641ALIGN="LEFT" 642VALIGN="TOP" 643> the entity name</TD 644></TR 645><TR 646><TD 647WIDTH="20%" 648ALIGN="RIGHT" 649VALIGN="TOP" 650><TT 651CLASS="PARAMETER" 652><I 653>type</I 654></TT 655> :</TD 656><TD 657WIDTH="80%" 658ALIGN="LEFT" 659VALIGN="TOP" 660> the entity type XML_xxx_yyy_ENTITY</TD 661></TR 662><TR 663><TD 664WIDTH="20%" 665ALIGN="RIGHT" 666VALIGN="TOP" 667><TT 668CLASS="PARAMETER" 669><I 670>ExternalID</I 671></TT 672> :</TD 673><TD 674WIDTH="80%" 675ALIGN="LEFT" 676VALIGN="TOP" 677> the entity external ID if available</TD 678></TR 679><TR 680><TD 681WIDTH="20%" 682ALIGN="RIGHT" 683VALIGN="TOP" 684><TT 685CLASS="PARAMETER" 686><I 687>SystemID</I 688></TT 689> :</TD 690><TD 691WIDTH="80%" 692ALIGN="LEFT" 693VALIGN="TOP" 694> the entity system ID if available</TD 695></TR 696><TR 697><TD 698WIDTH="20%" 699ALIGN="RIGHT" 700VALIGN="TOP" 701><TT 702CLASS="PARAMETER" 703><I 704>content</I 705></TT 706> :</TD 707><TD 708WIDTH="80%" 709ALIGN="LEFT" 710VALIGN="TOP" 711> the entity content</TD 712></TR 713><TR 714><TD 715WIDTH="20%" 716ALIGN="RIGHT" 717VALIGN="TOP" 718><I 719CLASS="EMPHASIS" 720>Returns</I 721> :</TD 722><TD 723WIDTH="80%" 724ALIGN="LEFT" 725VALIGN="TOP" 726>a pointer to the entity or NULL in case of error</TD 727></TR 728></TBODY 729></TABLE 730><P 731></P 732></DIV 733></DIV 734><HR><DIV 735CLASS="REFSECT2" 736><A 737NAME="AEN7624" 738></A 739><H3 740><A 741NAME="XMLADDDTDENTITY" 742></A 743>xmlAddDtdEntity ()</H3 744><TABLE 745BORDER="0" 746BGCOLOR="#D6E8FF" 747WIDTH="100%" 748CELLPADDING="6" 749><TR 750><TD 751><PRE 752CLASS="PROGRAMLISTING" 753><A 754HREF="libxml-entities.html#XMLENTITYPTR" 755>xmlEntityPtr</A 756> xmlAddDtdEntity (<A 757HREF="libxml-tree.html#XMLDOCPTR" 758>xmlDocPtr</A 759> doc, 760 const <A 761HREF="libxml-tree.html#XMLCHAR" 762>xmlChar</A 763> *name, 764 int type, 765 const <A 766HREF="libxml-tree.html#XMLCHAR" 767>xmlChar</A 768> *ExternalID, 769 const <A 770HREF="libxml-tree.html#XMLCHAR" 771>xmlChar</A 772> *SystemID, 773 const <A 774HREF="libxml-tree.html#XMLCHAR" 775>xmlChar</A 776> *content);</PRE 777></TD 778></TR 779></TABLE 780><P 781>Register a new entity for this document DTD external subset.</P 782><P 783></P 784><DIV 785CLASS="INFORMALTABLE" 786><A 787NAME="AEN7636" 788></A 789><P 790></P 791><TABLE 792BORDER="0" 793WIDTH="100%" 794BGCOLOR="#FFD0D0" 795CELLSPACING="0" 796CELLPADDING="4" 797CLASS="CALSTABLE" 798><TBODY 799><TR 800><TD 801WIDTH="20%" 802ALIGN="RIGHT" 803VALIGN="TOP" 804><TT 805CLASS="PARAMETER" 806><I 807>doc</I 808></TT 809> :</TD 810><TD 811WIDTH="80%" 812ALIGN="LEFT" 813VALIGN="TOP" 814> the document</TD 815></TR 816><TR 817><TD 818WIDTH="20%" 819ALIGN="RIGHT" 820VALIGN="TOP" 821><TT 822CLASS="PARAMETER" 823><I 824>name</I 825></TT 826> :</TD 827><TD 828WIDTH="80%" 829ALIGN="LEFT" 830VALIGN="TOP" 831> the entity name</TD 832></TR 833><TR 834><TD 835WIDTH="20%" 836ALIGN="RIGHT" 837VALIGN="TOP" 838><TT 839CLASS="PARAMETER" 840><I 841>type</I 842></TT 843> :</TD 844><TD 845WIDTH="80%" 846ALIGN="LEFT" 847VALIGN="TOP" 848> the entity type XML_xxx_yyy_ENTITY</TD 849></TR 850><TR 851><TD 852WIDTH="20%" 853ALIGN="RIGHT" 854VALIGN="TOP" 855><TT 856CLASS="PARAMETER" 857><I 858>ExternalID</I 859></TT 860> :</TD 861><TD 862WIDTH="80%" 863ALIGN="LEFT" 864VALIGN="TOP" 865> the entity external ID if available</TD 866></TR 867><TR 868><TD 869WIDTH="20%" 870ALIGN="RIGHT" 871VALIGN="TOP" 872><TT 873CLASS="PARAMETER" 874><I 875>SystemID</I 876></TT 877> :</TD 878><TD 879WIDTH="80%" 880ALIGN="LEFT" 881VALIGN="TOP" 882> the entity system ID if available</TD 883></TR 884><TR 885><TD 886WIDTH="20%" 887ALIGN="RIGHT" 888VALIGN="TOP" 889><TT 890CLASS="PARAMETER" 891><I 892>content</I 893></TT 894> :</TD 895><TD 896WIDTH="80%" 897ALIGN="LEFT" 898VALIGN="TOP" 899> the entity content</TD 900></TR 901><TR 902><TD 903WIDTH="20%" 904ALIGN="RIGHT" 905VALIGN="TOP" 906><I 907CLASS="EMPHASIS" 908>Returns</I 909> :</TD 910><TD 911WIDTH="80%" 912ALIGN="LEFT" 913VALIGN="TOP" 914>a pointer to the entity or NULL in case of error</TD 915></TR 916></TBODY 917></TABLE 918><P 919></P 920></DIV 921></DIV 922><HR><DIV 923CLASS="REFSECT2" 924><A 925NAME="AEN7669" 926></A 927><H3 928><A 929NAME="XMLGETPREDEFINEDENTITY" 930></A 931>xmlGetPredefinedEntity ()</H3 932><TABLE 933BORDER="0" 934BGCOLOR="#D6E8FF" 935WIDTH="100%" 936CELLPADDING="6" 937><TR 938><TD 939><PRE 940CLASS="PROGRAMLISTING" 941><A 942HREF="libxml-entities.html#XMLENTITYPTR" 943>xmlEntityPtr</A 944> xmlGetPredefinedEntity (const <A 945HREF="libxml-tree.html#XMLCHAR" 946>xmlChar</A 947> *name);</PRE 948></TD 949></TR 950></TABLE 951><P 952>Check whether this name is an predefined entity.</P 953><P 954></P 955><DIV 956CLASS="INFORMALTABLE" 957><A 958NAME="AEN7677" 959></A 960><P 961></P 962><TABLE 963BORDER="0" 964WIDTH="100%" 965BGCOLOR="#FFD0D0" 966CELLSPACING="0" 967CELLPADDING="4" 968CLASS="CALSTABLE" 969><TBODY 970><TR 971><TD 972WIDTH="20%" 973ALIGN="RIGHT" 974VALIGN="TOP" 975><TT 976CLASS="PARAMETER" 977><I 978>name</I 979></TT 980> :</TD 981><TD 982WIDTH="80%" 983ALIGN="LEFT" 984VALIGN="TOP" 985> the entity name</TD 986></TR 987><TR 988><TD 989WIDTH="20%" 990ALIGN="RIGHT" 991VALIGN="TOP" 992><I 993CLASS="EMPHASIS" 994>Returns</I 995> :</TD 996><TD 997WIDTH="80%" 998ALIGN="LEFT" 999VALIGN="TOP" 1000>NULL if not, othervise the entity</TD 1001></TR 1002></TBODY 1003></TABLE 1004><P 1005></P 1006></DIV 1007></DIV 1008><HR><DIV 1009CLASS="REFSECT2" 1010><A 1011NAME="AEN7690" 1012></A 1013><H3 1014><A 1015NAME="XMLGETDOCENTITY" 1016></A 1017>xmlGetDocEntity ()</H3 1018><TABLE 1019BORDER="0" 1020BGCOLOR="#D6E8FF" 1021WIDTH="100%" 1022CELLPADDING="6" 1023><TR 1024><TD 1025><PRE 1026CLASS="PROGRAMLISTING" 1027><A 1028HREF="libxml-entities.html#XMLENTITYPTR" 1029>xmlEntityPtr</A 1030> xmlGetDocEntity (<A 1031HREF="libxml-tree.html#XMLDOCPTR" 1032>xmlDocPtr</A 1033> doc, 1034 const <A 1035HREF="libxml-tree.html#XMLCHAR" 1036>xmlChar</A 1037> *name);</PRE 1038></TD 1039></TR 1040></TABLE 1041><P 1042>Do an entity lookup in the document entity hash table and 1043returns the corrsponding entity, otherwise a lookup is done 1044in the predefined entities too.</P 1045><P 1046></P 1047><DIV 1048CLASS="INFORMALTABLE" 1049><A 1050NAME="AEN7699" 1051></A 1052><P 1053></P 1054><TABLE 1055BORDER="0" 1056WIDTH="100%" 1057BGCOLOR="#FFD0D0" 1058CELLSPACING="0" 1059CELLPADDING="4" 1060CLASS="CALSTABLE" 1061><TBODY 1062><TR 1063><TD 1064WIDTH="20%" 1065ALIGN="RIGHT" 1066VALIGN="TOP" 1067><TT 1068CLASS="PARAMETER" 1069><I 1070>doc</I 1071></TT 1072> :</TD 1073><TD 1074WIDTH="80%" 1075ALIGN="LEFT" 1076VALIGN="TOP" 1077> the document referencing the entity</TD 1078></TR 1079><TR 1080><TD 1081WIDTH="20%" 1082ALIGN="RIGHT" 1083VALIGN="TOP" 1084><TT 1085CLASS="PARAMETER" 1086><I 1087>name</I 1088></TT 1089> :</TD 1090><TD 1091WIDTH="80%" 1092ALIGN="LEFT" 1093VALIGN="TOP" 1094> the entity name</TD 1095></TR 1096><TR 1097><TD 1098WIDTH="20%" 1099ALIGN="RIGHT" 1100VALIGN="TOP" 1101><I 1102CLASS="EMPHASIS" 1103>Returns</I 1104> :</TD 1105><TD 1106WIDTH="80%" 1107ALIGN="LEFT" 1108VALIGN="TOP" 1109>A pointer to the entity structure or NULL if not found.</TD 1110></TR 1111></TBODY 1112></TABLE 1113><P 1114></P 1115></DIV 1116></DIV 1117><HR><DIV 1118CLASS="REFSECT2" 1119><A 1120NAME="AEN7716" 1121></A 1122><H3 1123><A 1124NAME="XMLGETDTDENTITY" 1125></A 1126>xmlGetDtdEntity ()</H3 1127><TABLE 1128BORDER="0" 1129BGCOLOR="#D6E8FF" 1130WIDTH="100%" 1131CELLPADDING="6" 1132><TR 1133><TD 1134><PRE 1135CLASS="PROGRAMLISTING" 1136><A 1137HREF="libxml-entities.html#XMLENTITYPTR" 1138>xmlEntityPtr</A 1139> xmlGetDtdEntity (<A 1140HREF="libxml-tree.html#XMLDOCPTR" 1141>xmlDocPtr</A 1142> doc, 1143 const <A 1144HREF="libxml-tree.html#XMLCHAR" 1145>xmlChar</A 1146> *name);</PRE 1147></TD 1148></TR 1149></TABLE 1150><P 1151>Do an entity lookup in the Dtd entity hash table and 1152returns the corresponding entity, if found.</P 1153><P 1154></P 1155><DIV 1156CLASS="INFORMALTABLE" 1157><A 1158NAME="AEN7725" 1159></A 1160><P 1161></P 1162><TABLE 1163BORDER="0" 1164WIDTH="100%" 1165BGCOLOR="#FFD0D0" 1166CELLSPACING="0" 1167CELLPADDING="4" 1168CLASS="CALSTABLE" 1169><TBODY 1170><TR 1171><TD 1172WIDTH="20%" 1173ALIGN="RIGHT" 1174VALIGN="TOP" 1175><TT 1176CLASS="PARAMETER" 1177><I 1178>doc</I 1179></TT 1180> :</TD 1181><TD 1182WIDTH="80%" 1183ALIGN="LEFT" 1184VALIGN="TOP" 1185> the document referencing the entity</TD 1186></TR 1187><TR 1188><TD 1189WIDTH="20%" 1190ALIGN="RIGHT" 1191VALIGN="TOP" 1192><TT 1193CLASS="PARAMETER" 1194><I 1195>name</I 1196></TT 1197> :</TD 1198><TD 1199WIDTH="80%" 1200ALIGN="LEFT" 1201VALIGN="TOP" 1202> the entity name</TD 1203></TR 1204><TR 1205><TD 1206WIDTH="20%" 1207ALIGN="RIGHT" 1208VALIGN="TOP" 1209><I 1210CLASS="EMPHASIS" 1211>Returns</I 1212> :</TD 1213><TD 1214WIDTH="80%" 1215ALIGN="LEFT" 1216VALIGN="TOP" 1217>A pointer to the entity structure or NULL if not found.</TD 1218></TR 1219></TBODY 1220></TABLE 1221><P 1222></P 1223></DIV 1224></DIV 1225><HR><DIV 1226CLASS="REFSECT2" 1227><A 1228NAME="AEN7742" 1229></A 1230><H3 1231><A 1232NAME="XMLGETPARAMETERENTITY" 1233></A 1234>xmlGetParameterEntity ()</H3 1235><TABLE 1236BORDER="0" 1237BGCOLOR="#D6E8FF" 1238WIDTH="100%" 1239CELLPADDING="6" 1240><TR 1241><TD 1242><PRE 1243CLASS="PROGRAMLISTING" 1244><A 1245HREF="libxml-entities.html#XMLENTITYPTR" 1246>xmlEntityPtr</A 1247> xmlGetParameterEntity (<A 1248HREF="libxml-tree.html#XMLDOCPTR" 1249>xmlDocPtr</A 1250> doc, 1251 const <A 1252HREF="libxml-tree.html#XMLCHAR" 1253>xmlChar</A 1254> *name);</PRE 1255></TD 1256></TR 1257></TABLE 1258><P 1259>Do an entity lookup in the internal and external subsets and 1260returns the corresponding parameter entity, if found.</P 1261><P 1262></P 1263><DIV 1264CLASS="INFORMALTABLE" 1265><A 1266NAME="AEN7751" 1267></A 1268><P 1269></P 1270><TABLE 1271BORDER="0" 1272WIDTH="100%" 1273BGCOLOR="#FFD0D0" 1274CELLSPACING="0" 1275CELLPADDING="4" 1276CLASS="CALSTABLE" 1277><TBODY 1278><TR 1279><TD 1280WIDTH="20%" 1281ALIGN="RIGHT" 1282VALIGN="TOP" 1283><TT 1284CLASS="PARAMETER" 1285><I 1286>doc</I 1287></TT 1288> :</TD 1289><TD 1290WIDTH="80%" 1291ALIGN="LEFT" 1292VALIGN="TOP" 1293> the document referencing the entity</TD 1294></TR 1295><TR 1296><TD 1297WIDTH="20%" 1298ALIGN="RIGHT" 1299VALIGN="TOP" 1300><TT 1301CLASS="PARAMETER" 1302><I 1303>name</I 1304></TT 1305> :</TD 1306><TD 1307WIDTH="80%" 1308ALIGN="LEFT" 1309VALIGN="TOP" 1310> the entity name</TD 1311></TR 1312><TR 1313><TD 1314WIDTH="20%" 1315ALIGN="RIGHT" 1316VALIGN="TOP" 1317><I 1318CLASS="EMPHASIS" 1319>Returns</I 1320> :</TD 1321><TD 1322WIDTH="80%" 1323ALIGN="LEFT" 1324VALIGN="TOP" 1325>A pointer to the entity structure or NULL if not found.</TD 1326></TR 1327></TBODY 1328></TABLE 1329><P 1330></P 1331></DIV 1332></DIV 1333><HR><DIV 1334CLASS="REFSECT2" 1335><A 1336NAME="AEN7768" 1337></A 1338><H3 1339><A 1340NAME="XMLENCODEENTITIES" 1341></A 1342>xmlEncodeEntities ()</H3 1343><TABLE 1344BORDER="0" 1345BGCOLOR="#D6E8FF" 1346WIDTH="100%" 1347CELLPADDING="6" 1348><TR 1349><TD 1350><PRE 1351CLASS="PROGRAMLISTING" 1352>const <A 1353HREF="libxml-tree.html#XMLCHAR" 1354>xmlChar</A 1355>* xmlEncodeEntities (<A 1356HREF="libxml-tree.html#XMLDOCPTR" 1357>xmlDocPtr</A 1358> doc, 1359 const <A 1360HREF="libxml-tree.html#XMLCHAR" 1361>xmlChar</A 1362> *input);</PRE 1363></TD 1364></TR 1365></TABLE 1366><P 1367>Do a global encoding of a string, replacing the predefined entities 1368and non ASCII values with their entities and CharRef counterparts.</P 1369><P 1370>TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary 1371compatibility</P 1372><P 1373>People must migrate their code to xmlEncodeEntitiesReentrant ! 1374This routine will issue a warning when encountered.</P 1375><P 1376></P 1377><DIV 1378CLASS="INFORMALTABLE" 1379><A 1380NAME="AEN7779" 1381></A 1382><P 1383></P 1384><TABLE 1385BORDER="0" 1386WIDTH="100%" 1387BGCOLOR="#FFD0D0" 1388CELLSPACING="0" 1389CELLPADDING="4" 1390CLASS="CALSTABLE" 1391><TBODY 1392><TR 1393><TD 1394WIDTH="20%" 1395ALIGN="RIGHT" 1396VALIGN="TOP" 1397><TT 1398CLASS="PARAMETER" 1399><I 1400>doc</I 1401></TT 1402> :</TD 1403><TD 1404WIDTH="80%" 1405ALIGN="LEFT" 1406VALIGN="TOP" 1407> the document containing the string</TD 1408></TR 1409><TR 1410><TD 1411WIDTH="20%" 1412ALIGN="RIGHT" 1413VALIGN="TOP" 1414><TT 1415CLASS="PARAMETER" 1416><I 1417>input</I 1418></TT 1419> :</TD 1420><TD 1421WIDTH="80%" 1422ALIGN="LEFT" 1423VALIGN="TOP" 1424> A string to convert to XML.</TD 1425></TR 1426><TR 1427><TD 1428WIDTH="20%" 1429ALIGN="RIGHT" 1430VALIGN="TOP" 1431><I 1432CLASS="EMPHASIS" 1433>Returns</I 1434> :</TD 1435><TD 1436WIDTH="80%" 1437ALIGN="LEFT" 1438VALIGN="TOP" 1439>A newly allocated string with the substitution done.</TD 1440></TR 1441></TBODY 1442></TABLE 1443><P 1444></P 1445></DIV 1446></DIV 1447><HR><DIV 1448CLASS="REFSECT2" 1449><A 1450NAME="AEN7796" 1451></A 1452><H3 1453><A 1454NAME="XMLENCODEENTITIESREENTRANT" 1455></A 1456>xmlEncodeEntitiesReentrant ()</H3 1457><TABLE 1458BORDER="0" 1459BGCOLOR="#D6E8FF" 1460WIDTH="100%" 1461CELLPADDING="6" 1462><TR 1463><TD 1464><PRE 1465CLASS="PROGRAMLISTING" 1466><A 1467HREF="libxml-tree.html#XMLCHAR" 1468>xmlChar</A 1469>* xmlEncodeEntitiesReentrant (<A 1470HREF="libxml-tree.html#XMLDOCPTR" 1471>xmlDocPtr</A 1472> doc, 1473 const <A 1474HREF="libxml-tree.html#XMLCHAR" 1475>xmlChar</A 1476> *input);</PRE 1477></TD 1478></TR 1479></TABLE 1480><P 1481>Do a global encoding of a string, replacing the predefined entities 1482and non ASCII values with their entities and CharRef counterparts. 1483Contrary to xmlEncodeEntities, this routine is reentrant, and result 1484must be deallocated.</P 1485><P 1486></P 1487><DIV 1488CLASS="INFORMALTABLE" 1489><A 1490NAME="AEN7805" 1491></A 1492><P 1493></P 1494><TABLE 1495BORDER="0" 1496WIDTH="100%" 1497BGCOLOR="#FFD0D0" 1498CELLSPACING="0" 1499CELLPADDING="4" 1500CLASS="CALSTABLE" 1501><TBODY 1502><TR 1503><TD 1504WIDTH="20%" 1505ALIGN="RIGHT" 1506VALIGN="TOP" 1507><TT 1508CLASS="PARAMETER" 1509><I 1510>doc</I 1511></TT 1512> :</TD 1513><TD 1514WIDTH="80%" 1515ALIGN="LEFT" 1516VALIGN="TOP" 1517> the document containing the string</TD 1518></TR 1519><TR 1520><TD 1521WIDTH="20%" 1522ALIGN="RIGHT" 1523VALIGN="TOP" 1524><TT 1525CLASS="PARAMETER" 1526><I 1527>input</I 1528></TT 1529> :</TD 1530><TD 1531WIDTH="80%" 1532ALIGN="LEFT" 1533VALIGN="TOP" 1534> A string to convert to XML.</TD 1535></TR 1536><TR 1537><TD 1538WIDTH="20%" 1539ALIGN="RIGHT" 1540VALIGN="TOP" 1541><I 1542CLASS="EMPHASIS" 1543>Returns</I 1544> :</TD 1545><TD 1546WIDTH="80%" 1547ALIGN="LEFT" 1548VALIGN="TOP" 1549>A newly allocated string with the substitution done.</TD 1550></TR 1551></TBODY 1552></TABLE 1553><P 1554></P 1555></DIV 1556></DIV 1557><HR><DIV 1558CLASS="REFSECT2" 1559><A 1560NAME="AEN7822" 1561></A 1562><H3 1563><A 1564NAME="XMLENCODESPECIALCHARS" 1565></A 1566>xmlEncodeSpecialChars ()</H3 1567><TABLE 1568BORDER="0" 1569BGCOLOR="#D6E8FF" 1570WIDTH="100%" 1571CELLPADDING="6" 1572><TR 1573><TD 1574><PRE 1575CLASS="PROGRAMLISTING" 1576><A 1577HREF="libxml-tree.html#XMLCHAR" 1578>xmlChar</A 1579>* xmlEncodeSpecialChars (<A 1580HREF="libxml-tree.html#XMLDOCPTR" 1581>xmlDocPtr</A 1582> doc, 1583 const <A 1584HREF="libxml-tree.html#XMLCHAR" 1585>xmlChar</A 1586> *input);</PRE 1587></TD 1588></TR 1589></TABLE 1590><P 1591>Do a global encoding of a string, replacing the predefined entities 1592this routine is reentrant, and result must be deallocated.</P 1593><P 1594></P 1595><DIV 1596CLASS="INFORMALTABLE" 1597><A 1598NAME="AEN7831" 1599></A 1600><P 1601></P 1602><TABLE 1603BORDER="0" 1604WIDTH="100%" 1605BGCOLOR="#FFD0D0" 1606CELLSPACING="0" 1607CELLPADDING="4" 1608CLASS="CALSTABLE" 1609><TBODY 1610><TR 1611><TD 1612WIDTH="20%" 1613ALIGN="RIGHT" 1614VALIGN="TOP" 1615><TT 1616CLASS="PARAMETER" 1617><I 1618>doc</I 1619></TT 1620> :</TD 1621><TD 1622WIDTH="80%" 1623ALIGN="LEFT" 1624VALIGN="TOP" 1625> the document containing the string</TD 1626></TR 1627><TR 1628><TD 1629WIDTH="20%" 1630ALIGN="RIGHT" 1631VALIGN="TOP" 1632><TT 1633CLASS="PARAMETER" 1634><I 1635>input</I 1636></TT 1637> :</TD 1638><TD 1639WIDTH="80%" 1640ALIGN="LEFT" 1641VALIGN="TOP" 1642> A string to convert to XML.</TD 1643></TR 1644><TR 1645><TD 1646WIDTH="20%" 1647ALIGN="RIGHT" 1648VALIGN="TOP" 1649><I 1650CLASS="EMPHASIS" 1651>Returns</I 1652> :</TD 1653><TD 1654WIDTH="80%" 1655ALIGN="LEFT" 1656VALIGN="TOP" 1657>A newly allocated string with the substitution done.</TD 1658></TR 1659></TBODY 1660></TABLE 1661><P 1662></P 1663></DIV 1664></DIV 1665><HR><DIV 1666CLASS="REFSECT2" 1667><A 1668NAME="AEN7848" 1669></A 1670><H3 1671><A 1672NAME="XMLCREATEENTITIESTABLE" 1673></A 1674>xmlCreateEntitiesTable ()</H3 1675><TABLE 1676BORDER="0" 1677BGCOLOR="#D6E8FF" 1678WIDTH="100%" 1679CELLPADDING="6" 1680><TR 1681><TD 1682><PRE 1683CLASS="PROGRAMLISTING" 1684><A 1685HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 1686>xmlEntitiesTablePtr</A 1687> xmlCreateEntitiesTable (void);</PRE 1688></TD 1689></TR 1690></TABLE 1691><P 1692>create and initialize an empty entities hash table.</P 1693><P 1694></P 1695><DIV 1696CLASS="INFORMALTABLE" 1697><A 1698NAME="AEN7855" 1699></A 1700><P 1701></P 1702><TABLE 1703BORDER="0" 1704WIDTH="100%" 1705BGCOLOR="#FFD0D0" 1706CELLSPACING="0" 1707CELLPADDING="4" 1708CLASS="CALSTABLE" 1709><TBODY 1710><TR 1711><TD 1712WIDTH="20%" 1713ALIGN="RIGHT" 1714VALIGN="TOP" 1715><I 1716CLASS="EMPHASIS" 1717>Returns</I 1718> :</TD 1719><TD 1720WIDTH="80%" 1721ALIGN="LEFT" 1722VALIGN="TOP" 1723>the xmlEntitiesTablePtr just created or NULL in case of error.</TD 1724></TR 1725></TBODY 1726></TABLE 1727><P 1728></P 1729></DIV 1730></DIV 1731><HR><DIV 1732CLASS="REFSECT2" 1733><A 1734NAME="AEN7864" 1735></A 1736><H3 1737><A 1738NAME="XMLCOPYENTITIESTABLE" 1739></A 1740>xmlCopyEntitiesTable ()</H3 1741><TABLE 1742BORDER="0" 1743BGCOLOR="#D6E8FF" 1744WIDTH="100%" 1745CELLPADDING="6" 1746><TR 1747><TD 1748><PRE 1749CLASS="PROGRAMLISTING" 1750><A 1751HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 1752>xmlEntitiesTablePtr</A 1753> xmlCopyEntitiesTable (<A 1754HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 1755>xmlEntitiesTablePtr</A 1756> table);</PRE 1757></TD 1758></TR 1759></TABLE 1760><P 1761>Build a copy of an entity table.</P 1762><P 1763></P 1764><DIV 1765CLASS="INFORMALTABLE" 1766><A 1767NAME="AEN7872" 1768></A 1769><P 1770></P 1771><TABLE 1772BORDER="0" 1773WIDTH="100%" 1774BGCOLOR="#FFD0D0" 1775CELLSPACING="0" 1776CELLPADDING="4" 1777CLASS="CALSTABLE" 1778><TBODY 1779><TR 1780><TD 1781WIDTH="20%" 1782ALIGN="RIGHT" 1783VALIGN="TOP" 1784><TT 1785CLASS="PARAMETER" 1786><I 1787>table</I 1788></TT 1789> :</TD 1790><TD 1791WIDTH="80%" 1792ALIGN="LEFT" 1793VALIGN="TOP" 1794> An entity table</TD 1795></TR 1796><TR 1797><TD 1798WIDTH="20%" 1799ALIGN="RIGHT" 1800VALIGN="TOP" 1801><I 1802CLASS="EMPHASIS" 1803>Returns</I 1804> :</TD 1805><TD 1806WIDTH="80%" 1807ALIGN="LEFT" 1808VALIGN="TOP" 1809>the new xmlEntitiesTablePtr or NULL in case of error.</TD 1810></TR 1811></TBODY 1812></TABLE 1813><P 1814></P 1815></DIV 1816></DIV 1817><HR><DIV 1818CLASS="REFSECT2" 1819><A 1820NAME="AEN7885" 1821></A 1822><H3 1823><A 1824NAME="XMLFREEENTITIESTABLE" 1825></A 1826>xmlFreeEntitiesTable ()</H3 1827><TABLE 1828BORDER="0" 1829BGCOLOR="#D6E8FF" 1830WIDTH="100%" 1831CELLPADDING="6" 1832><TR 1833><TD 1834><PRE 1835CLASS="PROGRAMLISTING" 1836>void xmlFreeEntitiesTable (<A 1837HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 1838>xmlEntitiesTablePtr</A 1839> table);</PRE 1840></TD 1841></TR 1842></TABLE 1843><P 1844>Deallocate the memory used by an entities hash table.</P 1845><P 1846></P 1847><DIV 1848CLASS="INFORMALTABLE" 1849><A 1850NAME="AEN7892" 1851></A 1852><P 1853></P 1854><TABLE 1855BORDER="0" 1856WIDTH="100%" 1857BGCOLOR="#FFD0D0" 1858CELLSPACING="0" 1859CELLPADDING="4" 1860CLASS="CALSTABLE" 1861><TBODY 1862><TR 1863><TD 1864WIDTH="20%" 1865ALIGN="RIGHT" 1866VALIGN="TOP" 1867><TT 1868CLASS="PARAMETER" 1869><I 1870>table</I 1871></TT 1872> :</TD 1873><TD 1874WIDTH="80%" 1875ALIGN="LEFT" 1876VALIGN="TOP" 1877> An entity table</TD 1878></TR 1879></TBODY 1880></TABLE 1881><P 1882></P 1883></DIV 1884></DIV 1885><HR><DIV 1886CLASS="REFSECT2" 1887><A 1888NAME="AEN7901" 1889></A 1890><H3 1891><A 1892NAME="XMLDUMPENTITIESTABLE" 1893></A 1894>xmlDumpEntitiesTable ()</H3 1895><TABLE 1896BORDER="0" 1897BGCOLOR="#D6E8FF" 1898WIDTH="100%" 1899CELLPADDING="6" 1900><TR 1901><TD 1902><PRE 1903CLASS="PROGRAMLISTING" 1904>void xmlDumpEntitiesTable (<A 1905HREF="libxml-tree.html#XMLBUFFERPTR" 1906>xmlBufferPtr</A 1907> buf, 1908 <A 1909HREF="libxml-entities.html#XMLENTITIESTABLEPTR" 1910>xmlEntitiesTablePtr</A 1911> table);</PRE 1912></TD 1913></TR 1914></TABLE 1915><P 1916>This will dump the content of the entity table as an XML DTD definition</P 1917><P 1918></P 1919><DIV 1920CLASS="INFORMALTABLE" 1921><A 1922NAME="AEN7909" 1923></A 1924><P 1925></P 1926><TABLE 1927BORDER="0" 1928WIDTH="100%" 1929BGCOLOR="#FFD0D0" 1930CELLSPACING="0" 1931CELLPADDING="4" 1932CLASS="CALSTABLE" 1933><TBODY 1934><TR 1935><TD 1936WIDTH="20%" 1937ALIGN="RIGHT" 1938VALIGN="TOP" 1939><TT 1940CLASS="PARAMETER" 1941><I 1942>buf</I 1943></TT 1944> :</TD 1945><TD 1946WIDTH="80%" 1947ALIGN="LEFT" 1948VALIGN="TOP" 1949> An XML buffer.</TD 1950></TR 1951><TR 1952><TD 1953WIDTH="20%" 1954ALIGN="RIGHT" 1955VALIGN="TOP" 1956><TT 1957CLASS="PARAMETER" 1958><I 1959>table</I 1960></TT 1961> :</TD 1962><TD 1963WIDTH="80%" 1964ALIGN="LEFT" 1965VALIGN="TOP" 1966> An entity table</TD 1967></TR 1968></TBODY 1969></TABLE 1970><P 1971></P 1972></DIV 1973></DIV 1974><HR><DIV 1975CLASS="REFSECT2" 1976><A 1977NAME="AEN7922" 1978></A 1979><H3 1980><A 1981NAME="XMLDUMPENTITYDECL" 1982></A 1983>xmlDumpEntityDecl ()</H3 1984><TABLE 1985BORDER="0" 1986BGCOLOR="#D6E8FF" 1987WIDTH="100%" 1988CELLPADDING="6" 1989><TR 1990><TD 1991><PRE 1992CLASS="PROGRAMLISTING" 1993>void xmlDumpEntityDecl (<A 1994HREF="libxml-tree.html#XMLBUFFERPTR" 1995>xmlBufferPtr</A 1996> buf, 1997 <A 1998HREF="libxml-entities.html#XMLENTITYPTR" 1999>xmlEntityPtr</A 2000> ent);</PRE 2001></TD 2002></TR 2003></TABLE 2004><P 2005>This will dump the content of the entity table as an XML DTD definition</P 2006><P 2007></P 2008><DIV 2009CLASS="INFORMALTABLE" 2010><A 2011NAME="AEN7930" 2012></A 2013><P 2014></P 2015><TABLE 2016BORDER="0" 2017WIDTH="100%" 2018BGCOLOR="#FFD0D0" 2019CELLSPACING="0" 2020CELLPADDING="4" 2021CLASS="CALSTABLE" 2022><TBODY 2023><TR 2024><TD 2025WIDTH="20%" 2026ALIGN="RIGHT" 2027VALIGN="TOP" 2028><TT 2029CLASS="PARAMETER" 2030><I 2031>buf</I 2032></TT 2033> :</TD 2034><TD 2035WIDTH="80%" 2036ALIGN="LEFT" 2037VALIGN="TOP" 2038> An XML buffer.</TD 2039></TR 2040><TR 2041><TD 2042WIDTH="20%" 2043ALIGN="RIGHT" 2044VALIGN="TOP" 2045><TT 2046CLASS="PARAMETER" 2047><I 2048>ent</I 2049></TT 2050> :</TD 2051><TD 2052WIDTH="80%" 2053ALIGN="LEFT" 2054VALIGN="TOP" 2055> An entity table</TD 2056></TR 2057></TBODY 2058></TABLE 2059><P 2060></P 2061></DIV 2062></DIV 2063><HR><DIV 2064CLASS="REFSECT2" 2065><A 2066NAME="AEN7943" 2067></A 2068><H3 2069><A 2070NAME="XMLCLEANUPPREDEFINEDENTITIES" 2071></A 2072>xmlCleanupPredefinedEntities ()</H3 2073><TABLE 2074BORDER="0" 2075BGCOLOR="#D6E8FF" 2076WIDTH="100%" 2077CELLPADDING="6" 2078><TR 2079><TD 2080><PRE 2081CLASS="PROGRAMLISTING" 2082>void xmlCleanupPredefinedEntities (void);</PRE 2083></TD 2084></TR 2085></TABLE 2086><P 2087>Cleanup up the predefined entities table.</P 2088><P 2089></P 2090></DIV 2091></DIV 2092><DIV 2093CLASS="NAVFOOTER" 2094><BR 2095CLEAR="all"><BR><TABLE 2096WIDTH="100%" 2097BORDER="0" 2098BGCOLOR="#000000" 2099CELLPADDING="1" 2100CELLSPACING="0" 2101><TR 2102><TD 2103WIDTH="25%" 2104BGCOLOR="#C00000" 2105ALIGN="left" 2106><A 2107HREF="libxml-tree.html" 2108><FONT 2109COLOR="#FFFFFF" 2110SIZE="3" 2111><B 2112><<< Previous Page</B 2113></FONT 2114></A 2115></TD 2116><TD 2117WIDTH="25%" 2118BGCOLOR="#0000C0" 2119ALIGN="center" 2120><FONT 2121COLOR="#FFFFFF" 2122SIZE="3" 2123><B 2124><A 2125HREF="book1.html" 2126><FONT 2127COLOR="#FFFFFF" 2128SIZE="3" 2129><B 2130>Home</B 2131></FONT 2132></A 2133></B 2134></FONT 2135></TD 2136><TD 2137WIDTH="25%" 2138BGCOLOR="#00C000" 2139ALIGN="center" 2140><FONT 2141COLOR="#FFFFFF" 2142SIZE="3" 2143><B 2144><A 2145HREF="libxml-lib.html" 2146><FONT 2147COLOR="#FFFFFF" 2148SIZE="3" 2149><B 2150>Up</B 2151></FONT 2152></A 2153></B 2154></FONT 2155></TD 2156><TD 2157WIDTH="25%" 2158BGCOLOR="#C00000" 2159ALIGN="right" 2160><A 2161HREF="libxml-valid.html" 2162><FONT 2163COLOR="#FFFFFF" 2164SIZE="3" 2165><B 2166>Next Page >>></B 2167></FONT 2168></A 2169></TD 2170></TR 2171><TR 2172><TD 2173COLSPAN="2" 2174ALIGN="left" 2175><FONT 2176COLOR="#FFFFFF" 2177SIZE="3" 2178><B 2179>tree</B 2180></FONT 2181></TD 2182><TD 2183COLSPAN="2" 2184ALIGN="right" 2185><FONT 2186COLOR="#FFFFFF" 2187SIZE="3" 2188><B 2189>valid</B 2190></FONT 2191></TD 2192></TR 2193></TABLE 2194></DIV 2195></BODY 2196></HTML 2197>