libxml-valid.html revision 80ce373e9ae7340ad2165f243c47071291ccb9e1
1<HTML 2><HEAD 3><TITLE 4>valid</TITLE 5><META 6NAME="GENERATOR" 7CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ 8"><LINK 9REL="HOME" 10TITLE="Gnome XML Library Reference Manual" 11HREF="book1.html"><LINK 12REL="UP" 13TITLE="Libxml Library Reference" 14HREF="libxml-lib.html"><LINK 15REL="PREVIOUS" 16TITLE="entities" 17HREF="libxml-entities.html"><LINK 18REL="NEXT" 19TITLE="uri" 20HREF="libxml-uri.html"></HEAD 21><BODY 22CLASS="REFENTRY" 23BGCOLOR="#FFFFFF" 24TEXT="#000000" 25LINK="#0000FF" 26VLINK="#840084" 27ALINK="#0000FF" 28><DIV 29CLASS="NAVHEADER" 30><TABLE 31WIDTH="100%" 32BORDER="0" 33BGCOLOR="#000000" 34CELLPADDING="1" 35CELLSPACING="0" 36><TR 37><TH 38COLSPAN="4" 39ALIGN="center" 40><FONT 41COLOR="#FFFFFF" 42SIZE="5" 43>Gnome XML Library Reference Manual</FONT 44></TH 45></TR 46><TR 47><TD 48WIDTH="25%" 49BGCOLOR="#C00000" 50ALIGN="left" 51><A 52HREF="libxml-entities.html" 53><FONT 54COLOR="#FFFFFF" 55SIZE="3" 56><B 57><<< Previous Page</B 58></FONT 59></A 60></TD 61><TD 62WIDTH="25%" 63BGCOLOR="#0000C0" 64ALIGN="center" 65><FONT 66COLOR="#FFFFFF" 67SIZE="3" 68><B 69><A 70HREF="book1.html" 71><FONT 72COLOR="#FFFFFF" 73SIZE="3" 74><B 75>Home</B 76></FONT 77></A 78></B 79></FONT 80></TD 81><TD 82WIDTH="25%" 83BGCOLOR="#00C000" 84ALIGN="center" 85><FONT 86COLOR="#FFFFFF" 87SIZE="3" 88><B 89><A 90HREF="libxml-lib.html" 91><FONT 92COLOR="#FFFFFF" 93SIZE="3" 94><B 95>Up</B 96></FONT 97></A 98></B 99></FONT 100></TD 101><TD 102WIDTH="25%" 103BGCOLOR="#C00000" 104ALIGN="right" 105><A 106HREF="libxml-uri.html" 107><FONT 108COLOR="#FFFFFF" 109SIZE="3" 110><B 111>Next Page >>></B 112></FONT 113></A 114></TD 115></TR 116></TABLE 117></DIV 118><H1 119><A 120NAME="LIBXML-VALID">valid</H1 121><DIV 122CLASS="REFNAMEDIV" 123><A 124NAME="AEN8587" 125></A 126><H2 127>Name</H2 128>valid -- </DIV 129><DIV 130CLASS="REFSYNOPSISDIV" 131><A 132NAME="AEN8590"><H2 133>Synopsis</H2 134><TABLE 135BORDER="0" 136BGCOLOR="#D6E8FF" 137WIDTH="100%" 138CELLPADDING="6" 139><TR 140><TD 141><PRE 142CLASS="SYNOPSIS" 143> 144 145struct <A 146HREF="libxml-valid.html#XMLVALIDSTATE" 147>xmlValidState</A 148>; 149typedef <A 150HREF="libxml-valid.html#XMLVALIDSTATEPTR" 151>xmlValidStatePtr</A 152>; 153void (<A 154HREF="libxml-valid.html#XMLVALIDITYERRORFUNC" 155>*xmlValidityErrorFunc</A 156>) (void *ctx, 157 const char *msg, 158 ...); 159void (<A 160HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC" 161>*xmlValidityWarningFunc</A 162>) (void *ctx, 163 const char *msg, 164 ...); 165struct <A 166HREF="libxml-valid.html#XMLVALIDCTXT" 167>xmlValidCtxt</A 168>; 169typedef <A 170HREF="libxml-valid.html#XMLVALIDCTXTPTR" 171>xmlValidCtxtPtr</A 172>; 173typedef <A 174HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 175>xmlNotationTablePtr</A 176>; 177typedef <A 178HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 179>xmlElementTablePtr</A 180>; 181typedef <A 182HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 183>xmlAttributeTablePtr</A 184>; 185typedef <A 186HREF="libxml-valid.html#XMLIDTABLEPTR" 187>xmlIDTablePtr</A 188>; 189typedef <A 190HREF="libxml-valid.html#XMLREFTABLEPTR" 191>xmlRefTablePtr</A 192>; 193<A 194HREF="libxml-tree.html#XMLCHAR" 195>xmlChar</A 196>* <A 197HREF="libxml-valid.html#XMLSPLITQNAME2" 198>xmlSplitQName2</A 199> (const <A 200HREF="libxml-tree.html#XMLCHAR" 201>xmlChar</A 202> *name, 203 <A 204HREF="libxml-tree.html#XMLCHAR" 205>xmlChar</A 206> **prefix); 207<A 208HREF="libxml-tree.html#XMLNOTATIONPTR" 209>xmlNotationPtr</A 210> <A 211HREF="libxml-valid.html#XMLADDNOTATIONDECL" 212>xmlAddNotationDecl</A 213> (<A 214HREF="libxml-valid.html#XMLVALIDCTXTPTR" 215>xmlValidCtxtPtr</A 216> ctxt, 217 <A 218HREF="libxml-tree.html#XMLDTDPTR" 219>xmlDtdPtr</A 220> dtd, 221 const <A 222HREF="libxml-tree.html#XMLCHAR" 223>xmlChar</A 224> *name, 225 const <A 226HREF="libxml-tree.html#XMLCHAR" 227>xmlChar</A 228> *PublicID, 229 const <A 230HREF="libxml-tree.html#XMLCHAR" 231>xmlChar</A 232> *SystemID); 233<A 234HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 235>xmlNotationTablePtr</A 236> <A 237HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE" 238>xmlCopyNotationTable</A 239> (<A 240HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 241>xmlNotationTablePtr</A 242> table); 243void <A 244HREF="libxml-valid.html#XMLFREENOTATIONTABLE" 245>xmlFreeNotationTable</A 246> (<A 247HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 248>xmlNotationTablePtr</A 249> table); 250void <A 251HREF="libxml-valid.html#XMLDUMPNOTATIONDECL" 252>xmlDumpNotationDecl</A 253> (<A 254HREF="libxml-tree.html#XMLBUFFERPTR" 255>xmlBufferPtr</A 256> buf, 257 <A 258HREF="libxml-tree.html#XMLNOTATIONPTR" 259>xmlNotationPtr</A 260> nota); 261void <A 262HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE" 263>xmlDumpNotationTable</A 264> (<A 265HREF="libxml-tree.html#XMLBUFFERPTR" 266>xmlBufferPtr</A 267> buf, 268 <A 269HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 270>xmlNotationTablePtr</A 271> table); 272<A 273HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 274>xmlElementContentPtr</A 275> <A 276HREF="libxml-valid.html#XMLNEWELEMENTCONTENT" 277>xmlNewElementContent</A 278> (<A 279HREF="libxml-tree.html#XMLCHAR" 280>xmlChar</A 281> *name, 282 <A 283HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE" 284>xmlElementContentType</A 285> type); 286<A 287HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 288>xmlElementContentPtr</A 289> <A 290HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT" 291>xmlCopyElementContent</A 292> (<A 293HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 294>xmlElementContentPtr</A 295> content); 296void <A 297HREF="libxml-valid.html#XMLFREEELEMENTCONTENT" 298>xmlFreeElementContent</A 299> (<A 300HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 301>xmlElementContentPtr</A 302> cur); 303void <A 304HREF="libxml-valid.html#XMLSNPRINTFELEMENTCONTENT" 305>xmlSnprintfElementContent</A 306> (char *buf, 307 int size, 308 <A 309HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 310>xmlElementContentPtr</A 311> content, 312 int glob); 313void <A 314HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT" 315>xmlSprintfElementContent</A 316> (char *buf, 317 <A 318HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 319>xmlElementContentPtr</A 320> content, 321 int glob); 322<A 323HREF="libxml-tree.html#XMLELEMENTPTR" 324>xmlElementPtr</A 325> <A 326HREF="libxml-valid.html#XMLADDELEMENTDECL" 327>xmlAddElementDecl</A 328> (<A 329HREF="libxml-valid.html#XMLVALIDCTXTPTR" 330>xmlValidCtxtPtr</A 331> ctxt, 332 <A 333HREF="libxml-tree.html#XMLDTDPTR" 334>xmlDtdPtr</A 335> dtd, 336 const <A 337HREF="libxml-tree.html#XMLCHAR" 338>xmlChar</A 339> *name, 340 <A 341HREF="libxml-tree.html#XMLELEMENTTYPEVAL" 342>xmlElementTypeVal</A 343> type, 344 <A 345HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 346>xmlElementContentPtr</A 347> content); 348<A 349HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 350>xmlElementTablePtr</A 351> <A 352HREF="libxml-valid.html#XMLCOPYELEMENTTABLE" 353>xmlCopyElementTable</A 354> (<A 355HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 356>xmlElementTablePtr</A 357> table); 358void <A 359HREF="libxml-valid.html#XMLFREEELEMENTTABLE" 360>xmlFreeElementTable</A 361> (<A 362HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 363>xmlElementTablePtr</A 364> table); 365void <A 366HREF="libxml-valid.html#XMLDUMPELEMENTTABLE" 367>xmlDumpElementTable</A 368> (<A 369HREF="libxml-tree.html#XMLBUFFERPTR" 370>xmlBufferPtr</A 371> buf, 372 <A 373HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 374>xmlElementTablePtr</A 375> table); 376void <A 377HREF="libxml-valid.html#XMLDUMPELEMENTDECL" 378>xmlDumpElementDecl</A 379> (<A 380HREF="libxml-tree.html#XMLBUFFERPTR" 381>xmlBufferPtr</A 382> buf, 383 <A 384HREF="libxml-tree.html#XMLELEMENTPTR" 385>xmlElementPtr</A 386> elem); 387<A 388HREF="libxml-tree.html#XMLENUMERATIONPTR" 389>xmlEnumerationPtr</A 390> <A 391HREF="libxml-valid.html#XMLCREATEENUMERATION" 392>xmlCreateEnumeration</A 393> (<A 394HREF="libxml-tree.html#XMLCHAR" 395>xmlChar</A 396> *name); 397void <A 398HREF="libxml-valid.html#XMLFREEENUMERATION" 399>xmlFreeEnumeration</A 400> (<A 401HREF="libxml-tree.html#XMLENUMERATIONPTR" 402>xmlEnumerationPtr</A 403> cur); 404<A 405HREF="libxml-tree.html#XMLENUMERATIONPTR" 406>xmlEnumerationPtr</A 407> <A 408HREF="libxml-valid.html#XMLCOPYENUMERATION" 409>xmlCopyEnumeration</A 410> (<A 411HREF="libxml-tree.html#XMLENUMERATIONPTR" 412>xmlEnumerationPtr</A 413> cur); 414<A 415HREF="libxml-tree.html#XMLATTRIBUTEPTR" 416>xmlAttributePtr</A 417> <A 418HREF="libxml-valid.html#XMLADDATTRIBUTEDECL" 419>xmlAddAttributeDecl</A 420> (<A 421HREF="libxml-valid.html#XMLVALIDCTXTPTR" 422>xmlValidCtxtPtr</A 423> ctxt, 424 <A 425HREF="libxml-tree.html#XMLDTDPTR" 426>xmlDtdPtr</A 427> dtd, 428 const <A 429HREF="libxml-tree.html#XMLCHAR" 430>xmlChar</A 431> *elem, 432 const <A 433HREF="libxml-tree.html#XMLCHAR" 434>xmlChar</A 435> *name, 436 const <A 437HREF="libxml-tree.html#XMLCHAR" 438>xmlChar</A 439> *ns, 440 <A 441HREF="libxml-tree.html#XMLATTRIBUTETYPE" 442>xmlAttributeType</A 443> type, 444 <A 445HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT" 446>xmlAttributeDefault</A 447> def, 448 const <A 449HREF="libxml-tree.html#XMLCHAR" 450>xmlChar</A 451> *defaultValue, 452 <A 453HREF="libxml-tree.html#XMLENUMERATIONPTR" 454>xmlEnumerationPtr</A 455> tree); 456<A 457HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 458>xmlAttributeTablePtr</A 459> <A 460HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE" 461>xmlCopyAttributeTable</A 462> (<A 463HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 464>xmlAttributeTablePtr</A 465> table); 466void <A 467HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE" 468>xmlFreeAttributeTable</A 469> (<A 470HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 471>xmlAttributeTablePtr</A 472> table); 473void <A 474HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE" 475>xmlDumpAttributeTable</A 476> (<A 477HREF="libxml-tree.html#XMLBUFFERPTR" 478>xmlBufferPtr</A 479> buf, 480 <A 481HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 482>xmlAttributeTablePtr</A 483> table); 484void <A 485HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL" 486>xmlDumpAttributeDecl</A 487> (<A 488HREF="libxml-tree.html#XMLBUFFERPTR" 489>xmlBufferPtr</A 490> buf, 491 <A 492HREF="libxml-tree.html#XMLATTRIBUTEPTR" 493>xmlAttributePtr</A 494> attr); 495<A 496HREF="libxml-tree.html#XMLIDPTR" 497>xmlIDPtr</A 498> <A 499HREF="libxml-valid.html#XMLADDID" 500>xmlAddID</A 501> (<A 502HREF="libxml-valid.html#XMLVALIDCTXTPTR" 503>xmlValidCtxtPtr</A 504> ctxt, 505 <A 506HREF="libxml-tree.html#XMLDOCPTR" 507>xmlDocPtr</A 508> doc, 509 const <A 510HREF="libxml-tree.html#XMLCHAR" 511>xmlChar</A 512> *value, 513 <A 514HREF="libxml-tree.html#XMLATTRPTR" 515>xmlAttrPtr</A 516> attr); 517void <A 518HREF="libxml-valid.html#XMLFREEIDTABLE" 519>xmlFreeIDTable</A 520> (<A 521HREF="libxml-valid.html#XMLIDTABLEPTR" 522>xmlIDTablePtr</A 523> table); 524<A 525HREF="libxml-tree.html#XMLATTRPTR" 526>xmlAttrPtr</A 527> <A 528HREF="libxml-valid.html#XMLGETID" 529>xmlGetID</A 530> (<A 531HREF="libxml-tree.html#XMLDOCPTR" 532>xmlDocPtr</A 533> doc, 534 const <A 535HREF="libxml-tree.html#XMLCHAR" 536>xmlChar</A 537> *ID); 538int <A 539HREF="libxml-valid.html#XMLISID" 540>xmlIsID</A 541> (<A 542HREF="libxml-tree.html#XMLDOCPTR" 543>xmlDocPtr</A 544> doc, 545 <A 546HREF="libxml-tree.html#XMLNODEPTR" 547>xmlNodePtr</A 548> elem, 549 <A 550HREF="libxml-tree.html#XMLATTRPTR" 551>xmlAttrPtr</A 552> attr); 553int <A 554HREF="libxml-valid.html#XMLREMOVEID" 555>xmlRemoveID</A 556> (<A 557HREF="libxml-tree.html#XMLDOCPTR" 558>xmlDocPtr</A 559> doc, 560 <A 561HREF="libxml-tree.html#XMLATTRPTR" 562>xmlAttrPtr</A 563> attr); 564<A 565HREF="libxml-tree.html#XMLREFPTR" 566>xmlRefPtr</A 567> <A 568HREF="libxml-valid.html#XMLADDREF" 569>xmlAddRef</A 570> (<A 571HREF="libxml-valid.html#XMLVALIDCTXTPTR" 572>xmlValidCtxtPtr</A 573> ctxt, 574 <A 575HREF="libxml-tree.html#XMLDOCPTR" 576>xmlDocPtr</A 577> doc, 578 const <A 579HREF="libxml-tree.html#XMLCHAR" 580>xmlChar</A 581> *value, 582 <A 583HREF="libxml-tree.html#XMLATTRPTR" 584>xmlAttrPtr</A 585> attr); 586void <A 587HREF="libxml-valid.html#XMLFREEREFTABLE" 588>xmlFreeRefTable</A 589> (<A 590HREF="libxml-valid.html#XMLREFTABLEPTR" 591>xmlRefTablePtr</A 592> table); 593int <A 594HREF="libxml-valid.html#XMLISREF" 595>xmlIsRef</A 596> (<A 597HREF="libxml-tree.html#XMLDOCPTR" 598>xmlDocPtr</A 599> doc, 600 <A 601HREF="libxml-tree.html#XMLNODEPTR" 602>xmlNodePtr</A 603> elem, 604 <A 605HREF="libxml-tree.html#XMLATTRPTR" 606>xmlAttrPtr</A 607> attr); 608int <A 609HREF="libxml-valid.html#XMLREMOVEREF" 610>xmlRemoveRef</A 611> (<A 612HREF="libxml-tree.html#XMLDOCPTR" 613>xmlDocPtr</A 614> doc, 615 <A 616HREF="libxml-tree.html#XMLATTRPTR" 617>xmlAttrPtr</A 618> attr); 619<GTKDOCLINK 620HREF="XMLLISTPTR" 621>xmlListPtr</GTKDOCLINK 622> <A 623HREF="libxml-valid.html#XMLGETREFS" 624>xmlGetRefs</A 625> (<A 626HREF="libxml-tree.html#XMLDOCPTR" 627>xmlDocPtr</A 628> doc, 629 const <A 630HREF="libxml-tree.html#XMLCHAR" 631>xmlChar</A 632> *ID); 633int <A 634HREF="libxml-valid.html#XMLVALIDATEROOT" 635>xmlValidateRoot</A 636> (<A 637HREF="libxml-valid.html#XMLVALIDCTXTPTR" 638>xmlValidCtxtPtr</A 639> ctxt, 640 <A 641HREF="libxml-tree.html#XMLDOCPTR" 642>xmlDocPtr</A 643> doc); 644int <A 645HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL" 646>xmlValidateElementDecl</A 647> (<A 648HREF="libxml-valid.html#XMLVALIDCTXTPTR" 649>xmlValidCtxtPtr</A 650> ctxt, 651 <A 652HREF="libxml-tree.html#XMLDOCPTR" 653>xmlDocPtr</A 654> doc, 655 <A 656HREF="libxml-tree.html#XMLELEMENTPTR" 657>xmlElementPtr</A 658> elem); 659<A 660HREF="libxml-tree.html#XMLCHAR" 661>xmlChar</A 662>* <A 663HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE" 664>xmlValidNormalizeAttributeValue</A 665> (<A 666HREF="libxml-tree.html#XMLDOCPTR" 667>xmlDocPtr</A 668> doc, 669 <A 670HREF="libxml-tree.html#XMLNODEPTR" 671>xmlNodePtr</A 672> elem, 673 const <A 674HREF="libxml-tree.html#XMLCHAR" 675>xmlChar</A 676> *name, 677 const <A 678HREF="libxml-tree.html#XMLCHAR" 679>xmlChar</A 680> *value); 681<A 682HREF="libxml-tree.html#XMLCHAR" 683>xmlChar</A 684>* <A 685HREF="libxml-valid.html#XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE" 686>xmlValidCtxtNormalizeAttributeValue</A 687> 688 (<A 689HREF="libxml-valid.html#XMLVALIDCTXTPTR" 690>xmlValidCtxtPtr</A 691> ctxt, 692 <A 693HREF="libxml-tree.html#XMLDOCPTR" 694>xmlDocPtr</A 695> doc, 696 <A 697HREF="libxml-tree.html#XMLNODEPTR" 698>xmlNodePtr</A 699> elem, 700 const <A 701HREF="libxml-tree.html#XMLCHAR" 702>xmlChar</A 703> *name, 704 const <A 705HREF="libxml-tree.html#XMLCHAR" 706>xmlChar</A 707> *value); 708int <A 709HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL" 710>xmlValidateAttributeDecl</A 711> (<A 712HREF="libxml-valid.html#XMLVALIDCTXTPTR" 713>xmlValidCtxtPtr</A 714> ctxt, 715 <A 716HREF="libxml-tree.html#XMLDOCPTR" 717>xmlDocPtr</A 718> doc, 719 <A 720HREF="libxml-tree.html#XMLATTRIBUTEPTR" 721>xmlAttributePtr</A 722> attr); 723int <A 724HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE" 725>xmlValidateAttributeValue</A 726> (<A 727HREF="libxml-tree.html#XMLATTRIBUTETYPE" 728>xmlAttributeType</A 729> type, 730 const <A 731HREF="libxml-tree.html#XMLCHAR" 732>xmlChar</A 733> *value); 734int <A 735HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL" 736>xmlValidateNotationDecl</A 737> (<A 738HREF="libxml-valid.html#XMLVALIDCTXTPTR" 739>xmlValidCtxtPtr</A 740> ctxt, 741 <A 742HREF="libxml-tree.html#XMLDOCPTR" 743>xmlDocPtr</A 744> doc, 745 <A 746HREF="libxml-tree.html#XMLNOTATIONPTR" 747>xmlNotationPtr</A 748> nota); 749int <A 750HREF="libxml-valid.html#XMLVALIDATEDTD" 751>xmlValidateDtd</A 752> (<A 753HREF="libxml-valid.html#XMLVALIDCTXTPTR" 754>xmlValidCtxtPtr</A 755> ctxt, 756 <A 757HREF="libxml-tree.html#XMLDOCPTR" 758>xmlDocPtr</A 759> doc, 760 <A 761HREF="libxml-tree.html#XMLDTDPTR" 762>xmlDtdPtr</A 763> dtd); 764int <A 765HREF="libxml-valid.html#XMLVALIDATEDTDFINAL" 766>xmlValidateDtdFinal</A 767> (<A 768HREF="libxml-valid.html#XMLVALIDCTXTPTR" 769>xmlValidCtxtPtr</A 770> ctxt, 771 <A 772HREF="libxml-tree.html#XMLDOCPTR" 773>xmlDocPtr</A 774> doc); 775int <A 776HREF="libxml-valid.html#XMLVALIDATEDOCUMENT" 777>xmlValidateDocument</A 778> (<A 779HREF="libxml-valid.html#XMLVALIDCTXTPTR" 780>xmlValidCtxtPtr</A 781> ctxt, 782 <A 783HREF="libxml-tree.html#XMLDOCPTR" 784>xmlDocPtr</A 785> doc); 786int <A 787HREF="libxml-valid.html#XMLVALIDATEELEMENT" 788>xmlValidateElement</A 789> (<A 790HREF="libxml-valid.html#XMLVALIDCTXTPTR" 791>xmlValidCtxtPtr</A 792> ctxt, 793 <A 794HREF="libxml-tree.html#XMLDOCPTR" 795>xmlDocPtr</A 796> doc, 797 <A 798HREF="libxml-tree.html#XMLNODEPTR" 799>xmlNodePtr</A 800> elem); 801int <A 802HREF="libxml-valid.html#XMLVALIDATEONEELEMENT" 803>xmlValidateOneElement</A 804> (<A 805HREF="libxml-valid.html#XMLVALIDCTXTPTR" 806>xmlValidCtxtPtr</A 807> ctxt, 808 <A 809HREF="libxml-tree.html#XMLDOCPTR" 810>xmlDocPtr</A 811> doc, 812 <A 813HREF="libxml-tree.html#XMLNODEPTR" 814>xmlNodePtr</A 815> elem); 816int <A 817HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE" 818>xmlValidateOneAttribute</A 819> (<A 820HREF="libxml-valid.html#XMLVALIDCTXTPTR" 821>xmlValidCtxtPtr</A 822> ctxt, 823 <A 824HREF="libxml-tree.html#XMLDOCPTR" 825>xmlDocPtr</A 826> doc, 827 <A 828HREF="libxml-tree.html#XMLNODEPTR" 829>xmlNodePtr</A 830> elem, 831 <A 832HREF="libxml-tree.html#XMLATTRPTR" 833>xmlAttrPtr</A 834> attr, 835 const <A 836HREF="libxml-tree.html#XMLCHAR" 837>xmlChar</A 838> *value); 839int <A 840HREF="libxml-valid.html#XMLVALIDATEONENAMESPACE" 841>xmlValidateOneNamespace</A 842> (<A 843HREF="libxml-valid.html#XMLVALIDCTXTPTR" 844>xmlValidCtxtPtr</A 845> ctxt, 846 <A 847HREF="libxml-tree.html#XMLDOCPTR" 848>xmlDocPtr</A 849> doc, 850 <A 851HREF="libxml-tree.html#XMLNODEPTR" 852>xmlNodePtr</A 853> elem, 854 const <A 855HREF="libxml-tree.html#XMLCHAR" 856>xmlChar</A 857> *prefix, 858 <A 859HREF="libxml-tree.html#XMLNSPTR" 860>xmlNsPtr</A 861> ns, 862 const <A 863HREF="libxml-tree.html#XMLCHAR" 864>xmlChar</A 865> *value); 866int <A 867HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL" 868>xmlValidateDocumentFinal</A 869> (<A 870HREF="libxml-valid.html#XMLVALIDCTXTPTR" 871>xmlValidCtxtPtr</A 872> ctxt, 873 <A 874HREF="libxml-tree.html#XMLDOCPTR" 875>xmlDocPtr</A 876> doc); 877int <A 878HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE" 879>xmlValidateNotationUse</A 880> (<A 881HREF="libxml-valid.html#XMLVALIDCTXTPTR" 882>xmlValidCtxtPtr</A 883> ctxt, 884 <A 885HREF="libxml-tree.html#XMLDOCPTR" 886>xmlDocPtr</A 887> doc, 888 const <A 889HREF="libxml-tree.html#XMLCHAR" 890>xmlChar</A 891> *notationName); 892int <A 893HREF="libxml-valid.html#XMLISMIXEDELEMENT" 894>xmlIsMixedElement</A 895> (<A 896HREF="libxml-tree.html#XMLDOCPTR" 897>xmlDocPtr</A 898> doc, 899 const <A 900HREF="libxml-tree.html#XMLCHAR" 901>xmlChar</A 902> *name); 903<A 904HREF="libxml-tree.html#XMLATTRIBUTEPTR" 905>xmlAttributePtr</A 906> <A 907HREF="libxml-valid.html#XMLGETDTDATTRDESC" 908>xmlGetDtdAttrDesc</A 909> (<A 910HREF="libxml-tree.html#XMLDTDPTR" 911>xmlDtdPtr</A 912> dtd, 913 const <A 914HREF="libxml-tree.html#XMLCHAR" 915>xmlChar</A 916> *elem, 917 const <A 918HREF="libxml-tree.html#XMLCHAR" 919>xmlChar</A 920> *name); 921<A 922HREF="libxml-tree.html#XMLATTRIBUTEPTR" 923>xmlAttributePtr</A 924> <A 925HREF="libxml-valid.html#XMLGETDTDQATTRDESC" 926>xmlGetDtdQAttrDesc</A 927> (<A 928HREF="libxml-tree.html#XMLDTDPTR" 929>xmlDtdPtr</A 930> dtd, 931 const <A 932HREF="libxml-tree.html#XMLCHAR" 933>xmlChar</A 934> *elem, 935 const <A 936HREF="libxml-tree.html#XMLCHAR" 937>xmlChar</A 938> *name, 939 const <A 940HREF="libxml-tree.html#XMLCHAR" 941>xmlChar</A 942> *prefix); 943<A 944HREF="libxml-tree.html#XMLNOTATIONPTR" 945>xmlNotationPtr</A 946> <A 947HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC" 948>xmlGetDtdNotationDesc</A 949> (<A 950HREF="libxml-tree.html#XMLDTDPTR" 951>xmlDtdPtr</A 952> dtd, 953 const <A 954HREF="libxml-tree.html#XMLCHAR" 955>xmlChar</A 956> *name); 957<A 958HREF="libxml-tree.html#XMLELEMENTPTR" 959>xmlElementPtr</A 960> <A 961HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC" 962>xmlGetDtdQElementDesc</A 963> (<A 964HREF="libxml-tree.html#XMLDTDPTR" 965>xmlDtdPtr</A 966> dtd, 967 const <A 968HREF="libxml-tree.html#XMLCHAR" 969>xmlChar</A 970> *name, 971 const <A 972HREF="libxml-tree.html#XMLCHAR" 973>xmlChar</A 974> *prefix); 975<A 976HREF="libxml-tree.html#XMLELEMENTPTR" 977>xmlElementPtr</A 978> <A 979HREF="libxml-valid.html#XMLGETDTDELEMENTDESC" 980>xmlGetDtdElementDesc</A 981> (<A 982HREF="libxml-tree.html#XMLDTDPTR" 983>xmlDtdPtr</A 984> dtd, 985 const <A 986HREF="libxml-tree.html#XMLCHAR" 987>xmlChar</A 988> *name); 989int <A 990HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS" 991>xmlValidGetValidElements</A 992> (<A 993HREF="libxml-tree.html#XMLNODE" 994>xmlNode</A 995> *prev, 996 <A 997HREF="libxml-tree.html#XMLNODE" 998>xmlNode</A 999> *next, 1000 const <A 1001HREF="libxml-tree.html#XMLCHAR" 1002>xmlChar</A 1003> **list, 1004 int max); 1005int <A 1006HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN" 1007>xmlValidGetPotentialChildren</A 1008> (<A 1009HREF="libxml-tree.html#XMLELEMENTCONTENT" 1010>xmlElementContent</A 1011> *ctree, 1012 const <A 1013HREF="libxml-tree.html#XMLCHAR" 1014>xmlChar</A 1015> **list, 1016 int *len, 1017 int max); 1018int <A 1019HREF="libxml-valid.html#XMLVALIDATENAMEVALUE" 1020>xmlValidateNameValue</A 1021> (const <A 1022HREF="libxml-tree.html#XMLCHAR" 1023>xmlChar</A 1024> *value); 1025int <A 1026HREF="libxml-valid.html#XMLVALIDATENAMESVALUE" 1027>xmlValidateNamesValue</A 1028> (const <A 1029HREF="libxml-tree.html#XMLCHAR" 1030>xmlChar</A 1031> *value); 1032int <A 1033HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE" 1034>xmlValidateNmtokenValue</A 1035> (const <A 1036HREF="libxml-tree.html#XMLCHAR" 1037>xmlChar</A 1038> *value); 1039int <A 1040HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE" 1041>xmlValidateNmtokensValue</A 1042> (const <A 1043HREF="libxml-tree.html#XMLCHAR" 1044>xmlChar</A 1045> *value); 1046int <A 1047HREF="libxml-valid.html#XMLVALIDBUILDCONTENTMODEL" 1048>xmlValidBuildContentModel</A 1049> (<A 1050HREF="libxml-valid.html#XMLVALIDCTXTPTR" 1051>xmlValidCtxtPtr</A 1052> ctxt, 1053 <A 1054HREF="libxml-tree.html#XMLELEMENTPTR" 1055>xmlElementPtr</A 1056> elem);</PRE 1057></TD 1058></TR 1059></TABLE 1060></DIV 1061><DIV 1062CLASS="REFSECT1" 1063><A 1064NAME="AEN8839" 1065></A 1066><H2 1067>Description</H2 1068><P 1069></P 1070></DIV 1071><DIV 1072CLASS="REFSECT1" 1073><A 1074NAME="AEN8842" 1075></A 1076><H2 1077>Details</H2 1078><DIV 1079CLASS="REFSECT2" 1080><A 1081NAME="AEN8844" 1082></A 1083><H3 1084><A 1085NAME="XMLVALIDSTATE" 1086></A 1087>struct xmlValidState</H3 1088><TABLE 1089BORDER="0" 1090BGCOLOR="#D6E8FF" 1091WIDTH="100%" 1092CELLPADDING="6" 1093><TR 1094><TD 1095><PRE 1096CLASS="PROGRAMLISTING" 1097>struct xmlValidState;</PRE 1098></TD 1099></TR 1100></TABLE 1101><P 1102></P 1103></DIV 1104><HR><DIV 1105CLASS="REFSECT2" 1106><A 1107NAME="AEN8849" 1108></A 1109><H3 1110><A 1111NAME="XMLVALIDSTATEPTR" 1112></A 1113>xmlValidStatePtr</H3 1114><TABLE 1115BORDER="0" 1116BGCOLOR="#D6E8FF" 1117WIDTH="100%" 1118CELLPADDING="6" 1119><TR 1120><TD 1121><PRE 1122CLASS="PROGRAMLISTING" 1123>typedef xmlValidState *xmlValidStatePtr;</PRE 1124></TD 1125></TR 1126></TABLE 1127><P 1128></P 1129></DIV 1130><HR><DIV 1131CLASS="REFSECT2" 1132><A 1133NAME="AEN8854" 1134></A 1135><H3 1136><A 1137NAME="XMLVALIDITYERRORFUNC" 1138></A 1139>xmlValidityErrorFunc ()</H3 1140><TABLE 1141BORDER="0" 1142BGCOLOR="#D6E8FF" 1143WIDTH="100%" 1144CELLPADDING="6" 1145><TR 1146><TD 1147><PRE 1148CLASS="PROGRAMLISTING" 1149>void (*xmlValidityErrorFunc) (void *ctx, 1150 const char *msg, 1151 ...);</PRE 1152></TD 1153></TR 1154></TABLE 1155><P 1156>Callback called when a validity error is found. This is a message 1157oriented function similar to an *printf function.</P 1158><P 1159></P 1160><DIV 1161CLASS="INFORMALTABLE" 1162><A 1163NAME="AEN8860"><P 1164></P 1165><TABLE 1166BORDER="0" 1167WIDTH="100%" 1168BGCOLOR="#FFD0D0" 1169CELLSPACING="0" 1170CELLPADDING="4" 1171CLASS="CALSTABLE" 1172><TBODY 1173><TR 1174><TD 1175WIDTH="20%" 1176ALIGN="RIGHT" 1177VALIGN="TOP" 1178><TT 1179CLASS="PARAMETER" 1180><I 1181>ctx</I 1182></TT 1183> :</TD 1184><TD 1185WIDTH="80%" 1186ALIGN="LEFT" 1187VALIGN="TOP" 1188> an xmlValidCtxtPtr validity error context</TD 1189></TR 1190><TR 1191><TD 1192WIDTH="20%" 1193ALIGN="RIGHT" 1194VALIGN="TOP" 1195><TT 1196CLASS="PARAMETER" 1197><I 1198>msg</I 1199></TT 1200> :</TD 1201><TD 1202WIDTH="80%" 1203ALIGN="LEFT" 1204VALIGN="TOP" 1205> the string to format *printf like vararg</TD 1206></TR 1207><TR 1208><TD 1209WIDTH="20%" 1210ALIGN="RIGHT" 1211VALIGN="TOP" 1212><TT 1213CLASS="PARAMETER" 1214><I 1215>...</I 1216></TT 1217> :</TD 1218><TD 1219WIDTH="80%" 1220ALIGN="LEFT" 1221VALIGN="TOP" 1222> remaining arguments to the format</TD 1223></TR 1224></TBODY 1225></TABLE 1226><P 1227></P 1228></DIV 1229></DIV 1230><HR><DIV 1231CLASS="REFSECT2" 1232><A 1233NAME="AEN8877" 1234></A 1235><H3 1236><A 1237NAME="XMLVALIDITYWARNINGFUNC" 1238></A 1239>xmlValidityWarningFunc ()</H3 1240><TABLE 1241BORDER="0" 1242BGCOLOR="#D6E8FF" 1243WIDTH="100%" 1244CELLPADDING="6" 1245><TR 1246><TD 1247><PRE 1248CLASS="PROGRAMLISTING" 1249>void (*xmlValidityWarningFunc) (void *ctx, 1250 const char *msg, 1251 ...);</PRE 1252></TD 1253></TR 1254></TABLE 1255><P 1256>Callback called when a validity warning is found. This is a message 1257oriented function similar to an *printf function.</P 1258><P 1259></P 1260><DIV 1261CLASS="INFORMALTABLE" 1262><A 1263NAME="AEN8883"><P 1264></P 1265><TABLE 1266BORDER="0" 1267WIDTH="100%" 1268BGCOLOR="#FFD0D0" 1269CELLSPACING="0" 1270CELLPADDING="4" 1271CLASS="CALSTABLE" 1272><TBODY 1273><TR 1274><TD 1275WIDTH="20%" 1276ALIGN="RIGHT" 1277VALIGN="TOP" 1278><TT 1279CLASS="PARAMETER" 1280><I 1281>ctx</I 1282></TT 1283> :</TD 1284><TD 1285WIDTH="80%" 1286ALIGN="LEFT" 1287VALIGN="TOP" 1288> an xmlValidCtxtPtr validity error context</TD 1289></TR 1290><TR 1291><TD 1292WIDTH="20%" 1293ALIGN="RIGHT" 1294VALIGN="TOP" 1295><TT 1296CLASS="PARAMETER" 1297><I 1298>msg</I 1299></TT 1300> :</TD 1301><TD 1302WIDTH="80%" 1303ALIGN="LEFT" 1304VALIGN="TOP" 1305> the string to format *printf like vararg</TD 1306></TR 1307><TR 1308><TD 1309WIDTH="20%" 1310ALIGN="RIGHT" 1311VALIGN="TOP" 1312><TT 1313CLASS="PARAMETER" 1314><I 1315>...</I 1316></TT 1317> :</TD 1318><TD 1319WIDTH="80%" 1320ALIGN="LEFT" 1321VALIGN="TOP" 1322> remaining arguments to the format</TD 1323></TR 1324></TBODY 1325></TABLE 1326><P 1327></P 1328></DIV 1329></DIV 1330><HR><DIV 1331CLASS="REFSECT2" 1332><A 1333NAME="AEN8900" 1334></A 1335><H3 1336><A 1337NAME="XMLVALIDCTXT" 1338></A 1339>struct xmlValidCtxt</H3 1340><TABLE 1341BORDER="0" 1342BGCOLOR="#D6E8FF" 1343WIDTH="100%" 1344CELLPADDING="6" 1345><TR 1346><TD 1347><PRE 1348CLASS="PROGRAMLISTING" 1349>struct xmlValidCtxt { 1350 void *userData; /* user specific data block */ 1351 xmlValidityErrorFunc error; /* the callback in case of errors */ 1352 xmlValidityWarningFunc warning; /* the callback in case of warning */ 1353 1354 /* Node analysis stack used when validating within entities */ 1355 xmlNodePtr node; /* Current parsed Node */ 1356 int nodeNr; /* Depth of the parsing stack */ 1357 int nodeMax; /* Max depth of the parsing stack */ 1358 xmlNodePtr *nodeTab; /* array of nodes */ 1359 1360 int finishDtd; /* finished validating the Dtd ? */ 1361 xmlDocPtr doc; /* the document */ 1362 int valid; /* temporary validity check result */ 1363 1364 /* state state used for non-determinist content validation */ 1365 xmlValidState *vstate; /* current state */ 1366 int vstateNr; /* Depth of the validation stack */ 1367 int vstateMax; /* Max depth of the validation stack */ 1368 xmlValidState *vstateTab; /* array of validation states */ 1369 1370#ifdef LIBXML_REGEXP_ENABLED 1371 xmlAutomataPtr am; /* the automata */ 1372 xmlAutomataStatePtr state; /* used to build the automata */ 1373#else 1374 void *am; 1375 void *state; 1376#endif 1377};</PRE 1378></TD 1379></TR 1380></TABLE 1381><P 1382></P 1383><P 1384></P 1385></DIV 1386><HR><DIV 1387CLASS="REFSECT2" 1388><A 1389NAME="AEN8906" 1390></A 1391><H3 1392><A 1393NAME="XMLVALIDCTXTPTR" 1394></A 1395>xmlValidCtxtPtr</H3 1396><TABLE 1397BORDER="0" 1398BGCOLOR="#D6E8FF" 1399WIDTH="100%" 1400CELLPADDING="6" 1401><TR 1402><TD 1403><PRE 1404CLASS="PROGRAMLISTING" 1405>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE 1406></TD 1407></TR 1408></TABLE 1409><P 1410></P 1411></DIV 1412><HR><DIV 1413CLASS="REFSECT2" 1414><A 1415NAME="AEN8911" 1416></A 1417><H3 1418><A 1419NAME="XMLNOTATIONTABLEPTR" 1420></A 1421>xmlNotationTablePtr</H3 1422><TABLE 1423BORDER="0" 1424BGCOLOR="#D6E8FF" 1425WIDTH="100%" 1426CELLPADDING="6" 1427><TR 1428><TD 1429><PRE 1430CLASS="PROGRAMLISTING" 1431>typedef xmlNotationTable *xmlNotationTablePtr;</PRE 1432></TD 1433></TR 1434></TABLE 1435><P 1436></P 1437></DIV 1438><HR><DIV 1439CLASS="REFSECT2" 1440><A 1441NAME="AEN8916" 1442></A 1443><H3 1444><A 1445NAME="XMLELEMENTTABLEPTR" 1446></A 1447>xmlElementTablePtr</H3 1448><TABLE 1449BORDER="0" 1450BGCOLOR="#D6E8FF" 1451WIDTH="100%" 1452CELLPADDING="6" 1453><TR 1454><TD 1455><PRE 1456CLASS="PROGRAMLISTING" 1457>typedef xmlElementTable *xmlElementTablePtr;</PRE 1458></TD 1459></TR 1460></TABLE 1461><P 1462></P 1463></DIV 1464><HR><DIV 1465CLASS="REFSECT2" 1466><A 1467NAME="AEN8921" 1468></A 1469><H3 1470><A 1471NAME="XMLATTRIBUTETABLEPTR" 1472></A 1473>xmlAttributeTablePtr</H3 1474><TABLE 1475BORDER="0" 1476BGCOLOR="#D6E8FF" 1477WIDTH="100%" 1478CELLPADDING="6" 1479><TR 1480><TD 1481><PRE 1482CLASS="PROGRAMLISTING" 1483>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE 1484></TD 1485></TR 1486></TABLE 1487><P 1488></P 1489></DIV 1490><HR><DIV 1491CLASS="REFSECT2" 1492><A 1493NAME="AEN8926" 1494></A 1495><H3 1496><A 1497NAME="XMLIDTABLEPTR" 1498></A 1499>xmlIDTablePtr</H3 1500><TABLE 1501BORDER="0" 1502BGCOLOR="#D6E8FF" 1503WIDTH="100%" 1504CELLPADDING="6" 1505><TR 1506><TD 1507><PRE 1508CLASS="PROGRAMLISTING" 1509>typedef xmlIDTable *xmlIDTablePtr;</PRE 1510></TD 1511></TR 1512></TABLE 1513><P 1514></P 1515></DIV 1516><HR><DIV 1517CLASS="REFSECT2" 1518><A 1519NAME="AEN8931" 1520></A 1521><H3 1522><A 1523NAME="XMLREFTABLEPTR" 1524></A 1525>xmlRefTablePtr</H3 1526><TABLE 1527BORDER="0" 1528BGCOLOR="#D6E8FF" 1529WIDTH="100%" 1530CELLPADDING="6" 1531><TR 1532><TD 1533><PRE 1534CLASS="PROGRAMLISTING" 1535>typedef xmlRefTable *xmlRefTablePtr;</PRE 1536></TD 1537></TR 1538></TABLE 1539><P 1540></P 1541></DIV 1542><HR><DIV 1543CLASS="REFSECT2" 1544><A 1545NAME="AEN8936" 1546></A 1547><H3 1548><A 1549NAME="XMLSPLITQNAME2" 1550></A 1551>xmlSplitQName2 ()</H3 1552><TABLE 1553BORDER="0" 1554BGCOLOR="#D6E8FF" 1555WIDTH="100%" 1556CELLPADDING="6" 1557><TR 1558><TD 1559><PRE 1560CLASS="PROGRAMLISTING" 1561><A 1562HREF="libxml-tree.html#XMLCHAR" 1563>xmlChar</A 1564>* xmlSplitQName2 (const <A 1565HREF="libxml-tree.html#XMLCHAR" 1566>xmlChar</A 1567> *name, 1568 <A 1569HREF="libxml-tree.html#XMLCHAR" 1570>xmlChar</A 1571> **prefix);</PRE 1572></TD 1573></TR 1574></TABLE 1575><P 1576>parse an XML qualified name string</P 1577><P 1578>[NS 5] QName ::= (Prefix ':')? LocalPart</P 1579><P 1580>[NS 6] Prefix ::= NCName</P 1581><P 1582>[NS 7] LocalPart ::= NCName</P 1583><P 1584></P 1585><DIV 1586CLASS="INFORMALTABLE" 1587><A 1588NAME="AEN8948"><P 1589></P 1590><TABLE 1591BORDER="0" 1592WIDTH="100%" 1593BGCOLOR="#FFD0D0" 1594CELLSPACING="0" 1595CELLPADDING="4" 1596CLASS="CALSTABLE" 1597><TBODY 1598><TR 1599><TD 1600WIDTH="20%" 1601ALIGN="RIGHT" 1602VALIGN="TOP" 1603><TT 1604CLASS="PARAMETER" 1605><I 1606>name</I 1607></TT 1608> :</TD 1609><TD 1610WIDTH="80%" 1611ALIGN="LEFT" 1612VALIGN="TOP" 1613> an XML parser context</TD 1614></TR 1615><TR 1616><TD 1617WIDTH="20%" 1618ALIGN="RIGHT" 1619VALIGN="TOP" 1620><TT 1621CLASS="PARAMETER" 1622><I 1623>prefix</I 1624></TT 1625> :</TD 1626><TD 1627WIDTH="80%" 1628ALIGN="LEFT" 1629VALIGN="TOP" 1630> a xmlChar ** </TD 1631></TR 1632><TR 1633><TD 1634WIDTH="20%" 1635ALIGN="RIGHT" 1636VALIGN="TOP" 1637><SPAN 1638CLASS="emphasis" 1639><I 1640CLASS="EMPHASIS" 1641>Returns</I 1642></SPAN 1643> :</TD 1644><TD 1645WIDTH="80%" 1646ALIGN="LEFT" 1647VALIGN="TOP" 1648>NULL if not a QName, otherwise the local part, and prefix 1649is updated to get the Prefix if any.</TD 1650></TR 1651></TBODY 1652></TABLE 1653><P 1654></P 1655></DIV 1656></DIV 1657><HR><DIV 1658CLASS="REFSECT2" 1659><A 1660NAME="AEN8965" 1661></A 1662><H3 1663><A 1664NAME="XMLADDNOTATIONDECL" 1665></A 1666>xmlAddNotationDecl ()</H3 1667><TABLE 1668BORDER="0" 1669BGCOLOR="#D6E8FF" 1670WIDTH="100%" 1671CELLPADDING="6" 1672><TR 1673><TD 1674><PRE 1675CLASS="PROGRAMLISTING" 1676><A 1677HREF="libxml-tree.html#XMLNOTATIONPTR" 1678>xmlNotationPtr</A 1679> xmlAddNotationDecl (<A 1680HREF="libxml-valid.html#XMLVALIDCTXTPTR" 1681>xmlValidCtxtPtr</A 1682> ctxt, 1683 <A 1684HREF="libxml-tree.html#XMLDTDPTR" 1685>xmlDtdPtr</A 1686> dtd, 1687 const <A 1688HREF="libxml-tree.html#XMLCHAR" 1689>xmlChar</A 1690> *name, 1691 const <A 1692HREF="libxml-tree.html#XMLCHAR" 1693>xmlChar</A 1694> *PublicID, 1695 const <A 1696HREF="libxml-tree.html#XMLCHAR" 1697>xmlChar</A 1698> *SystemID);</PRE 1699></TD 1700></TR 1701></TABLE 1702><P 1703>Register a new notation declaration</P 1704><P 1705></P 1706><DIV 1707CLASS="INFORMALTABLE" 1708><A 1709NAME="AEN8977"><P 1710></P 1711><TABLE 1712BORDER="0" 1713WIDTH="100%" 1714BGCOLOR="#FFD0D0" 1715CELLSPACING="0" 1716CELLPADDING="4" 1717CLASS="CALSTABLE" 1718><TBODY 1719><TR 1720><TD 1721WIDTH="20%" 1722ALIGN="RIGHT" 1723VALIGN="TOP" 1724><TT 1725CLASS="PARAMETER" 1726><I 1727>ctxt</I 1728></TT 1729> :</TD 1730><TD 1731WIDTH="80%" 1732ALIGN="LEFT" 1733VALIGN="TOP" 1734> the validation context</TD 1735></TR 1736><TR 1737><TD 1738WIDTH="20%" 1739ALIGN="RIGHT" 1740VALIGN="TOP" 1741><TT 1742CLASS="PARAMETER" 1743><I 1744>dtd</I 1745></TT 1746> :</TD 1747><TD 1748WIDTH="80%" 1749ALIGN="LEFT" 1750VALIGN="TOP" 1751> pointer to the DTD</TD 1752></TR 1753><TR 1754><TD 1755WIDTH="20%" 1756ALIGN="RIGHT" 1757VALIGN="TOP" 1758><TT 1759CLASS="PARAMETER" 1760><I 1761>name</I 1762></TT 1763> :</TD 1764><TD 1765WIDTH="80%" 1766ALIGN="LEFT" 1767VALIGN="TOP" 1768> the entity name</TD 1769></TR 1770><TR 1771><TD 1772WIDTH="20%" 1773ALIGN="RIGHT" 1774VALIGN="TOP" 1775><TT 1776CLASS="PARAMETER" 1777><I 1778>PublicID</I 1779></TT 1780> :</TD 1781><TD 1782WIDTH="80%" 1783ALIGN="LEFT" 1784VALIGN="TOP" 1785> the public identifier or NULL</TD 1786></TR 1787><TR 1788><TD 1789WIDTH="20%" 1790ALIGN="RIGHT" 1791VALIGN="TOP" 1792><TT 1793CLASS="PARAMETER" 1794><I 1795>SystemID</I 1796></TT 1797> :</TD 1798><TD 1799WIDTH="80%" 1800ALIGN="LEFT" 1801VALIGN="TOP" 1802> the system identifier or NULL</TD 1803></TR 1804><TR 1805><TD 1806WIDTH="20%" 1807ALIGN="RIGHT" 1808VALIGN="TOP" 1809><SPAN 1810CLASS="emphasis" 1811><I 1812CLASS="EMPHASIS" 1813>Returns</I 1814></SPAN 1815> :</TD 1816><TD 1817WIDTH="80%" 1818ALIGN="LEFT" 1819VALIGN="TOP" 1820>NULL if not, otherwise the entity</TD 1821></TR 1822></TBODY 1823></TABLE 1824><P 1825></P 1826></DIV 1827></DIV 1828><HR><DIV 1829CLASS="REFSECT2" 1830><A 1831NAME="AEN9006" 1832></A 1833><H3 1834><A 1835NAME="XMLCOPYNOTATIONTABLE" 1836></A 1837>xmlCopyNotationTable ()</H3 1838><TABLE 1839BORDER="0" 1840BGCOLOR="#D6E8FF" 1841WIDTH="100%" 1842CELLPADDING="6" 1843><TR 1844><TD 1845><PRE 1846CLASS="PROGRAMLISTING" 1847><A 1848HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 1849>xmlNotationTablePtr</A 1850> xmlCopyNotationTable (<A 1851HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 1852>xmlNotationTablePtr</A 1853> table);</PRE 1854></TD 1855></TR 1856></TABLE 1857><P 1858>Build a copy of a notation table.</P 1859><P 1860></P 1861><DIV 1862CLASS="INFORMALTABLE" 1863><A 1864NAME="AEN9014"><P 1865></P 1866><TABLE 1867BORDER="0" 1868WIDTH="100%" 1869BGCOLOR="#FFD0D0" 1870CELLSPACING="0" 1871CELLPADDING="4" 1872CLASS="CALSTABLE" 1873><TBODY 1874><TR 1875><TD 1876WIDTH="20%" 1877ALIGN="RIGHT" 1878VALIGN="TOP" 1879><TT 1880CLASS="PARAMETER" 1881><I 1882>table</I 1883></TT 1884> :</TD 1885><TD 1886WIDTH="80%" 1887ALIGN="LEFT" 1888VALIGN="TOP" 1889> A notation table</TD 1890></TR 1891><TR 1892><TD 1893WIDTH="20%" 1894ALIGN="RIGHT" 1895VALIGN="TOP" 1896><SPAN 1897CLASS="emphasis" 1898><I 1899CLASS="EMPHASIS" 1900>Returns</I 1901></SPAN 1902> :</TD 1903><TD 1904WIDTH="80%" 1905ALIGN="LEFT" 1906VALIGN="TOP" 1907>the new xmlNotationTablePtr or NULL in case of error.</TD 1908></TR 1909></TBODY 1910></TABLE 1911><P 1912></P 1913></DIV 1914></DIV 1915><HR><DIV 1916CLASS="REFSECT2" 1917><A 1918NAME="AEN9027" 1919></A 1920><H3 1921><A 1922NAME="XMLFREENOTATIONTABLE" 1923></A 1924>xmlFreeNotationTable ()</H3 1925><TABLE 1926BORDER="0" 1927BGCOLOR="#D6E8FF" 1928WIDTH="100%" 1929CELLPADDING="6" 1930><TR 1931><TD 1932><PRE 1933CLASS="PROGRAMLISTING" 1934>void xmlFreeNotationTable (<A 1935HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 1936>xmlNotationTablePtr</A 1937> table);</PRE 1938></TD 1939></TR 1940></TABLE 1941><P 1942>Deallocate the memory used by an entities hash table.</P 1943><P 1944></P 1945><DIV 1946CLASS="INFORMALTABLE" 1947><A 1948NAME="AEN9034"><P 1949></P 1950><TABLE 1951BORDER="0" 1952WIDTH="100%" 1953BGCOLOR="#FFD0D0" 1954CELLSPACING="0" 1955CELLPADDING="4" 1956CLASS="CALSTABLE" 1957><TBODY 1958><TR 1959><TD 1960WIDTH="20%" 1961ALIGN="RIGHT" 1962VALIGN="TOP" 1963><TT 1964CLASS="PARAMETER" 1965><I 1966>table</I 1967></TT 1968> :</TD 1969><TD 1970WIDTH="80%" 1971ALIGN="LEFT" 1972VALIGN="TOP" 1973> An notation table</TD 1974></TR 1975></TBODY 1976></TABLE 1977><P 1978></P 1979></DIV 1980></DIV 1981><HR><DIV 1982CLASS="REFSECT2" 1983><A 1984NAME="AEN9043" 1985></A 1986><H3 1987><A 1988NAME="XMLDUMPNOTATIONDECL" 1989></A 1990>xmlDumpNotationDecl ()</H3 1991><TABLE 1992BORDER="0" 1993BGCOLOR="#D6E8FF" 1994WIDTH="100%" 1995CELLPADDING="6" 1996><TR 1997><TD 1998><PRE 1999CLASS="PROGRAMLISTING" 2000>void xmlDumpNotationDecl (<A 2001HREF="libxml-tree.html#XMLBUFFERPTR" 2002>xmlBufferPtr</A 2003> buf, 2004 <A 2005HREF="libxml-tree.html#XMLNOTATIONPTR" 2006>xmlNotationPtr</A 2007> nota);</PRE 2008></TD 2009></TR 2010></TABLE 2011><P 2012>This will dump the content the notation declaration as an XML DTD definition</P 2013><P 2014></P 2015><DIV 2016CLASS="INFORMALTABLE" 2017><A 2018NAME="AEN9051"><P 2019></P 2020><TABLE 2021BORDER="0" 2022WIDTH="100%" 2023BGCOLOR="#FFD0D0" 2024CELLSPACING="0" 2025CELLPADDING="4" 2026CLASS="CALSTABLE" 2027><TBODY 2028><TR 2029><TD 2030WIDTH="20%" 2031ALIGN="RIGHT" 2032VALIGN="TOP" 2033><TT 2034CLASS="PARAMETER" 2035><I 2036>buf</I 2037></TT 2038> :</TD 2039><TD 2040WIDTH="80%" 2041ALIGN="LEFT" 2042VALIGN="TOP" 2043> the XML buffer output</TD 2044></TR 2045><TR 2046><TD 2047WIDTH="20%" 2048ALIGN="RIGHT" 2049VALIGN="TOP" 2050><TT 2051CLASS="PARAMETER" 2052><I 2053>nota</I 2054></TT 2055> :</TD 2056><TD 2057WIDTH="80%" 2058ALIGN="LEFT" 2059VALIGN="TOP" 2060> A notation declaration</TD 2061></TR 2062></TBODY 2063></TABLE 2064><P 2065></P 2066></DIV 2067></DIV 2068><HR><DIV 2069CLASS="REFSECT2" 2070><A 2071NAME="AEN9064" 2072></A 2073><H3 2074><A 2075NAME="XMLDUMPNOTATIONTABLE" 2076></A 2077>xmlDumpNotationTable ()</H3 2078><TABLE 2079BORDER="0" 2080BGCOLOR="#D6E8FF" 2081WIDTH="100%" 2082CELLPADDING="6" 2083><TR 2084><TD 2085><PRE 2086CLASS="PROGRAMLISTING" 2087>void xmlDumpNotationTable (<A 2088HREF="libxml-tree.html#XMLBUFFERPTR" 2089>xmlBufferPtr</A 2090> buf, 2091 <A 2092HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" 2093>xmlNotationTablePtr</A 2094> table);</PRE 2095></TD 2096></TR 2097></TABLE 2098><P 2099>This will dump the content of the notation table as an XML DTD definition</P 2100><P 2101></P 2102><DIV 2103CLASS="INFORMALTABLE" 2104><A 2105NAME="AEN9072"><P 2106></P 2107><TABLE 2108BORDER="0" 2109WIDTH="100%" 2110BGCOLOR="#FFD0D0" 2111CELLSPACING="0" 2112CELLPADDING="4" 2113CLASS="CALSTABLE" 2114><TBODY 2115><TR 2116><TD 2117WIDTH="20%" 2118ALIGN="RIGHT" 2119VALIGN="TOP" 2120><TT 2121CLASS="PARAMETER" 2122><I 2123>buf</I 2124></TT 2125> :</TD 2126><TD 2127WIDTH="80%" 2128ALIGN="LEFT" 2129VALIGN="TOP" 2130> the XML buffer output</TD 2131></TR 2132><TR 2133><TD 2134WIDTH="20%" 2135ALIGN="RIGHT" 2136VALIGN="TOP" 2137><TT 2138CLASS="PARAMETER" 2139><I 2140>table</I 2141></TT 2142> :</TD 2143><TD 2144WIDTH="80%" 2145ALIGN="LEFT" 2146VALIGN="TOP" 2147> A notation table</TD 2148></TR 2149></TBODY 2150></TABLE 2151><P 2152></P 2153></DIV 2154></DIV 2155><HR><DIV 2156CLASS="REFSECT2" 2157><A 2158NAME="AEN9085" 2159></A 2160><H3 2161><A 2162NAME="XMLNEWELEMENTCONTENT" 2163></A 2164>xmlNewElementContent ()</H3 2165><TABLE 2166BORDER="0" 2167BGCOLOR="#D6E8FF" 2168WIDTH="100%" 2169CELLPADDING="6" 2170><TR 2171><TD 2172><PRE 2173CLASS="PROGRAMLISTING" 2174><A 2175HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 2176>xmlElementContentPtr</A 2177> xmlNewElementContent (<A 2178HREF="libxml-tree.html#XMLCHAR" 2179>xmlChar</A 2180> *name, 2181 <A 2182HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE" 2183>xmlElementContentType</A 2184> type);</PRE 2185></TD 2186></TR 2187></TABLE 2188><P 2189>Allocate an element content structure.</P 2190><P 2191></P 2192><DIV 2193CLASS="INFORMALTABLE" 2194><A 2195NAME="AEN9094"><P 2196></P 2197><TABLE 2198BORDER="0" 2199WIDTH="100%" 2200BGCOLOR="#FFD0D0" 2201CELLSPACING="0" 2202CELLPADDING="4" 2203CLASS="CALSTABLE" 2204><TBODY 2205><TR 2206><TD 2207WIDTH="20%" 2208ALIGN="RIGHT" 2209VALIGN="TOP" 2210><TT 2211CLASS="PARAMETER" 2212><I 2213>name</I 2214></TT 2215> :</TD 2216><TD 2217WIDTH="80%" 2218ALIGN="LEFT" 2219VALIGN="TOP" 2220> the subelement name or NULL</TD 2221></TR 2222><TR 2223><TD 2224WIDTH="20%" 2225ALIGN="RIGHT" 2226VALIGN="TOP" 2227><TT 2228CLASS="PARAMETER" 2229><I 2230>type</I 2231></TT 2232> :</TD 2233><TD 2234WIDTH="80%" 2235ALIGN="LEFT" 2236VALIGN="TOP" 2237> the type of element content decl</TD 2238></TR 2239><TR 2240><TD 2241WIDTH="20%" 2242ALIGN="RIGHT" 2243VALIGN="TOP" 2244><SPAN 2245CLASS="emphasis" 2246><I 2247CLASS="EMPHASIS" 2248>Returns</I 2249></SPAN 2250> :</TD 2251><TD 2252WIDTH="80%" 2253ALIGN="LEFT" 2254VALIGN="TOP" 2255>NULL if not, otherwise the new element content structure</TD 2256></TR 2257></TBODY 2258></TABLE 2259><P 2260></P 2261></DIV 2262></DIV 2263><HR><DIV 2264CLASS="REFSECT2" 2265><A 2266NAME="AEN9111" 2267></A 2268><H3 2269><A 2270NAME="XMLCOPYELEMENTCONTENT" 2271></A 2272>xmlCopyElementContent ()</H3 2273><TABLE 2274BORDER="0" 2275BGCOLOR="#D6E8FF" 2276WIDTH="100%" 2277CELLPADDING="6" 2278><TR 2279><TD 2280><PRE 2281CLASS="PROGRAMLISTING" 2282><A 2283HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 2284>xmlElementContentPtr</A 2285> xmlCopyElementContent (<A 2286HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 2287>xmlElementContentPtr</A 2288> content);</PRE 2289></TD 2290></TR 2291></TABLE 2292><P 2293>Build a copy of an element content description.</P 2294><P 2295></P 2296><DIV 2297CLASS="INFORMALTABLE" 2298><A 2299NAME="AEN9119"><P 2300></P 2301><TABLE 2302BORDER="0" 2303WIDTH="100%" 2304BGCOLOR="#FFD0D0" 2305CELLSPACING="0" 2306CELLPADDING="4" 2307CLASS="CALSTABLE" 2308><TBODY 2309><TR 2310><TD 2311WIDTH="20%" 2312ALIGN="RIGHT" 2313VALIGN="TOP" 2314><TT 2315CLASS="PARAMETER" 2316><I 2317>content</I 2318></TT 2319> :</TD 2320><TD 2321WIDTH="80%" 2322ALIGN="LEFT" 2323VALIGN="TOP" 2324> An element content pointer.</TD 2325></TR 2326><TR 2327><TD 2328WIDTH="20%" 2329ALIGN="RIGHT" 2330VALIGN="TOP" 2331><SPAN 2332CLASS="emphasis" 2333><I 2334CLASS="EMPHASIS" 2335>Returns</I 2336></SPAN 2337> :</TD 2338><TD 2339WIDTH="80%" 2340ALIGN="LEFT" 2341VALIGN="TOP" 2342>the new xmlElementContentPtr or NULL in case of error.</TD 2343></TR 2344></TBODY 2345></TABLE 2346><P 2347></P 2348></DIV 2349></DIV 2350><HR><DIV 2351CLASS="REFSECT2" 2352><A 2353NAME="AEN9132" 2354></A 2355><H3 2356><A 2357NAME="XMLFREEELEMENTCONTENT" 2358></A 2359>xmlFreeElementContent ()</H3 2360><TABLE 2361BORDER="0" 2362BGCOLOR="#D6E8FF" 2363WIDTH="100%" 2364CELLPADDING="6" 2365><TR 2366><TD 2367><PRE 2368CLASS="PROGRAMLISTING" 2369>void xmlFreeElementContent (<A 2370HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 2371>xmlElementContentPtr</A 2372> cur);</PRE 2373></TD 2374></TR 2375></TABLE 2376><P 2377>Free an element content structure. This is a recursive call !</P 2378><P 2379></P 2380><DIV 2381CLASS="INFORMALTABLE" 2382><A 2383NAME="AEN9139"><P 2384></P 2385><TABLE 2386BORDER="0" 2387WIDTH="100%" 2388BGCOLOR="#FFD0D0" 2389CELLSPACING="0" 2390CELLPADDING="4" 2391CLASS="CALSTABLE" 2392><TBODY 2393><TR 2394><TD 2395WIDTH="20%" 2396ALIGN="RIGHT" 2397VALIGN="TOP" 2398><TT 2399CLASS="PARAMETER" 2400><I 2401>cur</I 2402></TT 2403> :</TD 2404><TD 2405WIDTH="80%" 2406ALIGN="LEFT" 2407VALIGN="TOP" 2408> the element content tree to free</TD 2409></TR 2410></TBODY 2411></TABLE 2412><P 2413></P 2414></DIV 2415></DIV 2416><HR><DIV 2417CLASS="REFSECT2" 2418><A 2419NAME="AEN9148" 2420></A 2421><H3 2422><A 2423NAME="XMLSNPRINTFELEMENTCONTENT" 2424></A 2425>xmlSnprintfElementContent ()</H3 2426><TABLE 2427BORDER="0" 2428BGCOLOR="#D6E8FF" 2429WIDTH="100%" 2430CELLPADDING="6" 2431><TR 2432><TD 2433><PRE 2434CLASS="PROGRAMLISTING" 2435>void xmlSnprintfElementContent (char *buf, 2436 int size, 2437 <A 2438HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 2439>xmlElementContentPtr</A 2440> content, 2441 int glob);</PRE 2442></TD 2443></TR 2444></TABLE 2445><P 2446>This will dump the content of the element content definition 2447Intended just for the debug routine</P 2448><P 2449></P 2450><DIV 2451CLASS="INFORMALTABLE" 2452><A 2453NAME="AEN9155"><P 2454></P 2455><TABLE 2456BORDER="0" 2457WIDTH="100%" 2458BGCOLOR="#FFD0D0" 2459CELLSPACING="0" 2460CELLPADDING="4" 2461CLASS="CALSTABLE" 2462><TBODY 2463><TR 2464><TD 2465WIDTH="20%" 2466ALIGN="RIGHT" 2467VALIGN="TOP" 2468><TT 2469CLASS="PARAMETER" 2470><I 2471>buf</I 2472></TT 2473> :</TD 2474><TD 2475WIDTH="80%" 2476ALIGN="LEFT" 2477VALIGN="TOP" 2478> an output buffer</TD 2479></TR 2480><TR 2481><TD 2482WIDTH="20%" 2483ALIGN="RIGHT" 2484VALIGN="TOP" 2485><TT 2486CLASS="PARAMETER" 2487><I 2488>size</I 2489></TT 2490> :</TD 2491><TD 2492WIDTH="80%" 2493ALIGN="LEFT" 2494VALIGN="TOP" 2495> the buffer size</TD 2496></TR 2497><TR 2498><TD 2499WIDTH="20%" 2500ALIGN="RIGHT" 2501VALIGN="TOP" 2502><TT 2503CLASS="PARAMETER" 2504><I 2505>content</I 2506></TT 2507> :</TD 2508><TD 2509WIDTH="80%" 2510ALIGN="LEFT" 2511VALIGN="TOP" 2512> An element table</TD 2513></TR 2514><TR 2515><TD 2516WIDTH="20%" 2517ALIGN="RIGHT" 2518VALIGN="TOP" 2519><TT 2520CLASS="PARAMETER" 2521><I 2522>glob</I 2523></TT 2524> :</TD 2525><TD 2526WIDTH="80%" 2527ALIGN="LEFT" 2528VALIGN="TOP" 2529> 1 if one must print the englobing parenthesis, 0 otherwise</TD 2530></TR 2531></TBODY 2532></TABLE 2533><P 2534></P 2535></DIV 2536></DIV 2537><HR><DIV 2538CLASS="REFSECT2" 2539><A 2540NAME="AEN9176" 2541></A 2542><H3 2543><A 2544NAME="XMLSPRINTFELEMENTCONTENT" 2545></A 2546>xmlSprintfElementContent ()</H3 2547><TABLE 2548BORDER="0" 2549BGCOLOR="#D6E8FF" 2550WIDTH="100%" 2551CELLPADDING="6" 2552><TR 2553><TD 2554><PRE 2555CLASS="PROGRAMLISTING" 2556>void xmlSprintfElementContent (char *buf, 2557 <A 2558HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 2559>xmlElementContentPtr</A 2560> content, 2561 int glob);</PRE 2562></TD 2563></TR 2564></TABLE 2565><P 2566>Deprecated, unsafe, use xmlSnprintfElementContent</P 2567><P 2568></P 2569><DIV 2570CLASS="INFORMALTABLE" 2571><A 2572NAME="AEN9183"><P 2573></P 2574><TABLE 2575BORDER="0" 2576WIDTH="100%" 2577BGCOLOR="#FFD0D0" 2578CELLSPACING="0" 2579CELLPADDING="4" 2580CLASS="CALSTABLE" 2581><TBODY 2582><TR 2583><TD 2584WIDTH="20%" 2585ALIGN="RIGHT" 2586VALIGN="TOP" 2587><TT 2588CLASS="PARAMETER" 2589><I 2590>buf</I 2591></TT 2592> :</TD 2593><TD 2594WIDTH="80%" 2595ALIGN="LEFT" 2596VALIGN="TOP" 2597> an output buffer</TD 2598></TR 2599><TR 2600><TD 2601WIDTH="20%" 2602ALIGN="RIGHT" 2603VALIGN="TOP" 2604><TT 2605CLASS="PARAMETER" 2606><I 2607>content</I 2608></TT 2609> :</TD 2610><TD 2611WIDTH="80%" 2612ALIGN="LEFT" 2613VALIGN="TOP" 2614> An element table</TD 2615></TR 2616><TR 2617><TD 2618WIDTH="20%" 2619ALIGN="RIGHT" 2620VALIGN="TOP" 2621><TT 2622CLASS="PARAMETER" 2623><I 2624>glob</I 2625></TT 2626> :</TD 2627><TD 2628WIDTH="80%" 2629ALIGN="LEFT" 2630VALIGN="TOP" 2631> 1 if one must print the englobing parenthesis, 0 otherwise</TD 2632></TR 2633></TBODY 2634></TABLE 2635><P 2636></P 2637></DIV 2638></DIV 2639><HR><DIV 2640CLASS="REFSECT2" 2641><A 2642NAME="AEN9200" 2643></A 2644><H3 2645><A 2646NAME="XMLADDELEMENTDECL" 2647></A 2648>xmlAddElementDecl ()</H3 2649><TABLE 2650BORDER="0" 2651BGCOLOR="#D6E8FF" 2652WIDTH="100%" 2653CELLPADDING="6" 2654><TR 2655><TD 2656><PRE 2657CLASS="PROGRAMLISTING" 2658><A 2659HREF="libxml-tree.html#XMLELEMENTPTR" 2660>xmlElementPtr</A 2661> xmlAddElementDecl (<A 2662HREF="libxml-valid.html#XMLVALIDCTXTPTR" 2663>xmlValidCtxtPtr</A 2664> ctxt, 2665 <A 2666HREF="libxml-tree.html#XMLDTDPTR" 2667>xmlDtdPtr</A 2668> dtd, 2669 const <A 2670HREF="libxml-tree.html#XMLCHAR" 2671>xmlChar</A 2672> *name, 2673 <A 2674HREF="libxml-tree.html#XMLELEMENTTYPEVAL" 2675>xmlElementTypeVal</A 2676> type, 2677 <A 2678HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" 2679>xmlElementContentPtr</A 2680> content);</PRE 2681></TD 2682></TR 2683></TABLE 2684><P 2685>Register a new element declaration</P 2686><P 2687></P 2688><DIV 2689CLASS="INFORMALTABLE" 2690><A 2691NAME="AEN9212"><P 2692></P 2693><TABLE 2694BORDER="0" 2695WIDTH="100%" 2696BGCOLOR="#FFD0D0" 2697CELLSPACING="0" 2698CELLPADDING="4" 2699CLASS="CALSTABLE" 2700><TBODY 2701><TR 2702><TD 2703WIDTH="20%" 2704ALIGN="RIGHT" 2705VALIGN="TOP" 2706><TT 2707CLASS="PARAMETER" 2708><I 2709>ctxt</I 2710></TT 2711> :</TD 2712><TD 2713WIDTH="80%" 2714ALIGN="LEFT" 2715VALIGN="TOP" 2716> the validation context</TD 2717></TR 2718><TR 2719><TD 2720WIDTH="20%" 2721ALIGN="RIGHT" 2722VALIGN="TOP" 2723><TT 2724CLASS="PARAMETER" 2725><I 2726>dtd</I 2727></TT 2728> :</TD 2729><TD 2730WIDTH="80%" 2731ALIGN="LEFT" 2732VALIGN="TOP" 2733> pointer to the DTD</TD 2734></TR 2735><TR 2736><TD 2737WIDTH="20%" 2738ALIGN="RIGHT" 2739VALIGN="TOP" 2740><TT 2741CLASS="PARAMETER" 2742><I 2743>name</I 2744></TT 2745> :</TD 2746><TD 2747WIDTH="80%" 2748ALIGN="LEFT" 2749VALIGN="TOP" 2750> the entity name</TD 2751></TR 2752><TR 2753><TD 2754WIDTH="20%" 2755ALIGN="RIGHT" 2756VALIGN="TOP" 2757><TT 2758CLASS="PARAMETER" 2759><I 2760>type</I 2761></TT 2762> :</TD 2763><TD 2764WIDTH="80%" 2765ALIGN="LEFT" 2766VALIGN="TOP" 2767> the element type</TD 2768></TR 2769><TR 2770><TD 2771WIDTH="20%" 2772ALIGN="RIGHT" 2773VALIGN="TOP" 2774><TT 2775CLASS="PARAMETER" 2776><I 2777>content</I 2778></TT 2779> :</TD 2780><TD 2781WIDTH="80%" 2782ALIGN="LEFT" 2783VALIGN="TOP" 2784> the element content tree or NULL</TD 2785></TR 2786><TR 2787><TD 2788WIDTH="20%" 2789ALIGN="RIGHT" 2790VALIGN="TOP" 2791><SPAN 2792CLASS="emphasis" 2793><I 2794CLASS="EMPHASIS" 2795>Returns</I 2796></SPAN 2797> :</TD 2798><TD 2799WIDTH="80%" 2800ALIGN="LEFT" 2801VALIGN="TOP" 2802>NULL if not, otherwise the entity</TD 2803></TR 2804></TBODY 2805></TABLE 2806><P 2807></P 2808></DIV 2809></DIV 2810><HR><DIV 2811CLASS="REFSECT2" 2812><A 2813NAME="AEN9241" 2814></A 2815><H3 2816><A 2817NAME="XMLCOPYELEMENTTABLE" 2818></A 2819>xmlCopyElementTable ()</H3 2820><TABLE 2821BORDER="0" 2822BGCOLOR="#D6E8FF" 2823WIDTH="100%" 2824CELLPADDING="6" 2825><TR 2826><TD 2827><PRE 2828CLASS="PROGRAMLISTING" 2829><A 2830HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 2831>xmlElementTablePtr</A 2832> xmlCopyElementTable (<A 2833HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 2834>xmlElementTablePtr</A 2835> table);</PRE 2836></TD 2837></TR 2838></TABLE 2839><P 2840>Build a copy of an element table.</P 2841><P 2842></P 2843><DIV 2844CLASS="INFORMALTABLE" 2845><A 2846NAME="AEN9249"><P 2847></P 2848><TABLE 2849BORDER="0" 2850WIDTH="100%" 2851BGCOLOR="#FFD0D0" 2852CELLSPACING="0" 2853CELLPADDING="4" 2854CLASS="CALSTABLE" 2855><TBODY 2856><TR 2857><TD 2858WIDTH="20%" 2859ALIGN="RIGHT" 2860VALIGN="TOP" 2861><TT 2862CLASS="PARAMETER" 2863><I 2864>table</I 2865></TT 2866> :</TD 2867><TD 2868WIDTH="80%" 2869ALIGN="LEFT" 2870VALIGN="TOP" 2871> An element table</TD 2872></TR 2873><TR 2874><TD 2875WIDTH="20%" 2876ALIGN="RIGHT" 2877VALIGN="TOP" 2878><SPAN 2879CLASS="emphasis" 2880><I 2881CLASS="EMPHASIS" 2882>Returns</I 2883></SPAN 2884> :</TD 2885><TD 2886WIDTH="80%" 2887ALIGN="LEFT" 2888VALIGN="TOP" 2889>the new xmlElementTablePtr or NULL in case of error.</TD 2890></TR 2891></TBODY 2892></TABLE 2893><P 2894></P 2895></DIV 2896></DIV 2897><HR><DIV 2898CLASS="REFSECT2" 2899><A 2900NAME="AEN9262" 2901></A 2902><H3 2903><A 2904NAME="XMLFREEELEMENTTABLE" 2905></A 2906>xmlFreeElementTable ()</H3 2907><TABLE 2908BORDER="0" 2909BGCOLOR="#D6E8FF" 2910WIDTH="100%" 2911CELLPADDING="6" 2912><TR 2913><TD 2914><PRE 2915CLASS="PROGRAMLISTING" 2916>void xmlFreeElementTable (<A 2917HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 2918>xmlElementTablePtr</A 2919> table);</PRE 2920></TD 2921></TR 2922></TABLE 2923><P 2924>Deallocate the memory used by an element hash table.</P 2925><P 2926></P 2927><DIV 2928CLASS="INFORMALTABLE" 2929><A 2930NAME="AEN9269"><P 2931></P 2932><TABLE 2933BORDER="0" 2934WIDTH="100%" 2935BGCOLOR="#FFD0D0" 2936CELLSPACING="0" 2937CELLPADDING="4" 2938CLASS="CALSTABLE" 2939><TBODY 2940><TR 2941><TD 2942WIDTH="20%" 2943ALIGN="RIGHT" 2944VALIGN="TOP" 2945><TT 2946CLASS="PARAMETER" 2947><I 2948>table</I 2949></TT 2950> :</TD 2951><TD 2952WIDTH="80%" 2953ALIGN="LEFT" 2954VALIGN="TOP" 2955> An element table</TD 2956></TR 2957></TBODY 2958></TABLE 2959><P 2960></P 2961></DIV 2962></DIV 2963><HR><DIV 2964CLASS="REFSECT2" 2965><A 2966NAME="AEN9278" 2967></A 2968><H3 2969><A 2970NAME="XMLDUMPELEMENTTABLE" 2971></A 2972>xmlDumpElementTable ()</H3 2973><TABLE 2974BORDER="0" 2975BGCOLOR="#D6E8FF" 2976WIDTH="100%" 2977CELLPADDING="6" 2978><TR 2979><TD 2980><PRE 2981CLASS="PROGRAMLISTING" 2982>void xmlDumpElementTable (<A 2983HREF="libxml-tree.html#XMLBUFFERPTR" 2984>xmlBufferPtr</A 2985> buf, 2986 <A 2987HREF="libxml-valid.html#XMLELEMENTTABLEPTR" 2988>xmlElementTablePtr</A 2989> table);</PRE 2990></TD 2991></TR 2992></TABLE 2993><P 2994>This will dump the content of the element table as an XML DTD definition</P 2995><P 2996></P 2997><DIV 2998CLASS="INFORMALTABLE" 2999><A 3000NAME="AEN9286"><P 3001></P 3002><TABLE 3003BORDER="0" 3004WIDTH="100%" 3005BGCOLOR="#FFD0D0" 3006CELLSPACING="0" 3007CELLPADDING="4" 3008CLASS="CALSTABLE" 3009><TBODY 3010><TR 3011><TD 3012WIDTH="20%" 3013ALIGN="RIGHT" 3014VALIGN="TOP" 3015><TT 3016CLASS="PARAMETER" 3017><I 3018>buf</I 3019></TT 3020> :</TD 3021><TD 3022WIDTH="80%" 3023ALIGN="LEFT" 3024VALIGN="TOP" 3025> the XML buffer output</TD 3026></TR 3027><TR 3028><TD 3029WIDTH="20%" 3030ALIGN="RIGHT" 3031VALIGN="TOP" 3032><TT 3033CLASS="PARAMETER" 3034><I 3035>table</I 3036></TT 3037> :</TD 3038><TD 3039WIDTH="80%" 3040ALIGN="LEFT" 3041VALIGN="TOP" 3042> An element table</TD 3043></TR 3044></TBODY 3045></TABLE 3046><P 3047></P 3048></DIV 3049></DIV 3050><HR><DIV 3051CLASS="REFSECT2" 3052><A 3053NAME="AEN9299" 3054></A 3055><H3 3056><A 3057NAME="XMLDUMPELEMENTDECL" 3058></A 3059>xmlDumpElementDecl ()</H3 3060><TABLE 3061BORDER="0" 3062BGCOLOR="#D6E8FF" 3063WIDTH="100%" 3064CELLPADDING="6" 3065><TR 3066><TD 3067><PRE 3068CLASS="PROGRAMLISTING" 3069>void xmlDumpElementDecl (<A 3070HREF="libxml-tree.html#XMLBUFFERPTR" 3071>xmlBufferPtr</A 3072> buf, 3073 <A 3074HREF="libxml-tree.html#XMLELEMENTPTR" 3075>xmlElementPtr</A 3076> elem);</PRE 3077></TD 3078></TR 3079></TABLE 3080><P 3081>This will dump the content of the element declaration as an XML 3082DTD definition</P 3083><P 3084></P 3085><DIV 3086CLASS="INFORMALTABLE" 3087><A 3088NAME="AEN9307"><P 3089></P 3090><TABLE 3091BORDER="0" 3092WIDTH="100%" 3093BGCOLOR="#FFD0D0" 3094CELLSPACING="0" 3095CELLPADDING="4" 3096CLASS="CALSTABLE" 3097><TBODY 3098><TR 3099><TD 3100WIDTH="20%" 3101ALIGN="RIGHT" 3102VALIGN="TOP" 3103><TT 3104CLASS="PARAMETER" 3105><I 3106>buf</I 3107></TT 3108> :</TD 3109><TD 3110WIDTH="80%" 3111ALIGN="LEFT" 3112VALIGN="TOP" 3113> the XML buffer output</TD 3114></TR 3115><TR 3116><TD 3117WIDTH="20%" 3118ALIGN="RIGHT" 3119VALIGN="TOP" 3120><TT 3121CLASS="PARAMETER" 3122><I 3123>elem</I 3124></TT 3125> :</TD 3126><TD 3127WIDTH="80%" 3128ALIGN="LEFT" 3129VALIGN="TOP" 3130> An element table</TD 3131></TR 3132></TBODY 3133></TABLE 3134><P 3135></P 3136></DIV 3137></DIV 3138><HR><DIV 3139CLASS="REFSECT2" 3140><A 3141NAME="AEN9320" 3142></A 3143><H3 3144><A 3145NAME="XMLCREATEENUMERATION" 3146></A 3147>xmlCreateEnumeration ()</H3 3148><TABLE 3149BORDER="0" 3150BGCOLOR="#D6E8FF" 3151WIDTH="100%" 3152CELLPADDING="6" 3153><TR 3154><TD 3155><PRE 3156CLASS="PROGRAMLISTING" 3157><A 3158HREF="libxml-tree.html#XMLENUMERATIONPTR" 3159>xmlEnumerationPtr</A 3160> xmlCreateEnumeration (<A 3161HREF="libxml-tree.html#XMLCHAR" 3162>xmlChar</A 3163> *name);</PRE 3164></TD 3165></TR 3166></TABLE 3167><P 3168>create and initialize an enumeration attribute node.</P 3169><P 3170></P 3171><DIV 3172CLASS="INFORMALTABLE" 3173><A 3174NAME="AEN9328"><P 3175></P 3176><TABLE 3177BORDER="0" 3178WIDTH="100%" 3179BGCOLOR="#FFD0D0" 3180CELLSPACING="0" 3181CELLPADDING="4" 3182CLASS="CALSTABLE" 3183><TBODY 3184><TR 3185><TD 3186WIDTH="20%" 3187ALIGN="RIGHT" 3188VALIGN="TOP" 3189><TT 3190CLASS="PARAMETER" 3191><I 3192>name</I 3193></TT 3194> :</TD 3195><TD 3196WIDTH="80%" 3197ALIGN="LEFT" 3198VALIGN="TOP" 3199> the enumeration name or NULL</TD 3200></TR 3201><TR 3202><TD 3203WIDTH="20%" 3204ALIGN="RIGHT" 3205VALIGN="TOP" 3206><SPAN 3207CLASS="emphasis" 3208><I 3209CLASS="EMPHASIS" 3210>Returns</I 3211></SPAN 3212> :</TD 3213><TD 3214WIDTH="80%" 3215ALIGN="LEFT" 3216VALIGN="TOP" 3217>the xmlEnumerationPtr just created or NULL in case 3218of error.</TD 3219></TR 3220></TBODY 3221></TABLE 3222><P 3223></P 3224></DIV 3225></DIV 3226><HR><DIV 3227CLASS="REFSECT2" 3228><A 3229NAME="AEN9341" 3230></A 3231><H3 3232><A 3233NAME="XMLFREEENUMERATION" 3234></A 3235>xmlFreeEnumeration ()</H3 3236><TABLE 3237BORDER="0" 3238BGCOLOR="#D6E8FF" 3239WIDTH="100%" 3240CELLPADDING="6" 3241><TR 3242><TD 3243><PRE 3244CLASS="PROGRAMLISTING" 3245>void xmlFreeEnumeration (<A 3246HREF="libxml-tree.html#XMLENUMERATIONPTR" 3247>xmlEnumerationPtr</A 3248> cur);</PRE 3249></TD 3250></TR 3251></TABLE 3252><P 3253>free an enumeration attribute node (recursive).</P 3254><P 3255></P 3256><DIV 3257CLASS="INFORMALTABLE" 3258><A 3259NAME="AEN9348"><P 3260></P 3261><TABLE 3262BORDER="0" 3263WIDTH="100%" 3264BGCOLOR="#FFD0D0" 3265CELLSPACING="0" 3266CELLPADDING="4" 3267CLASS="CALSTABLE" 3268><TBODY 3269><TR 3270><TD 3271WIDTH="20%" 3272ALIGN="RIGHT" 3273VALIGN="TOP" 3274><TT 3275CLASS="PARAMETER" 3276><I 3277>cur</I 3278></TT 3279> :</TD 3280><TD 3281WIDTH="80%" 3282ALIGN="LEFT" 3283VALIGN="TOP" 3284> the tree to free.</TD 3285></TR 3286></TBODY 3287></TABLE 3288><P 3289></P 3290></DIV 3291></DIV 3292><HR><DIV 3293CLASS="REFSECT2" 3294><A 3295NAME="AEN9357" 3296></A 3297><H3 3298><A 3299NAME="XMLCOPYENUMERATION" 3300></A 3301>xmlCopyEnumeration ()</H3 3302><TABLE 3303BORDER="0" 3304BGCOLOR="#D6E8FF" 3305WIDTH="100%" 3306CELLPADDING="6" 3307><TR 3308><TD 3309><PRE 3310CLASS="PROGRAMLISTING" 3311><A 3312HREF="libxml-tree.html#XMLENUMERATIONPTR" 3313>xmlEnumerationPtr</A 3314> xmlCopyEnumeration (<A 3315HREF="libxml-tree.html#XMLENUMERATIONPTR" 3316>xmlEnumerationPtr</A 3317> cur);</PRE 3318></TD 3319></TR 3320></TABLE 3321><P 3322>Copy an enumeration attribute node (recursive).</P 3323><P 3324></P 3325><DIV 3326CLASS="INFORMALTABLE" 3327><A 3328NAME="AEN9365"><P 3329></P 3330><TABLE 3331BORDER="0" 3332WIDTH="100%" 3333BGCOLOR="#FFD0D0" 3334CELLSPACING="0" 3335CELLPADDING="4" 3336CLASS="CALSTABLE" 3337><TBODY 3338><TR 3339><TD 3340WIDTH="20%" 3341ALIGN="RIGHT" 3342VALIGN="TOP" 3343><TT 3344CLASS="PARAMETER" 3345><I 3346>cur</I 3347></TT 3348> :</TD 3349><TD 3350WIDTH="80%" 3351ALIGN="LEFT" 3352VALIGN="TOP" 3353> the tree to copy.</TD 3354></TR 3355><TR 3356><TD 3357WIDTH="20%" 3358ALIGN="RIGHT" 3359VALIGN="TOP" 3360><SPAN 3361CLASS="emphasis" 3362><I 3363CLASS="EMPHASIS" 3364>Returns</I 3365></SPAN 3366> :</TD 3367><TD 3368WIDTH="80%" 3369ALIGN="LEFT" 3370VALIGN="TOP" 3371>the xmlEnumerationPtr just created or NULL in case 3372of error.</TD 3373></TR 3374></TBODY 3375></TABLE 3376><P 3377></P 3378></DIV 3379></DIV 3380><HR><DIV 3381CLASS="REFSECT2" 3382><A 3383NAME="AEN9378" 3384></A 3385><H3 3386><A 3387NAME="XMLADDATTRIBUTEDECL" 3388></A 3389>xmlAddAttributeDecl ()</H3 3390><TABLE 3391BORDER="0" 3392BGCOLOR="#D6E8FF" 3393WIDTH="100%" 3394CELLPADDING="6" 3395><TR 3396><TD 3397><PRE 3398CLASS="PROGRAMLISTING" 3399><A 3400HREF="libxml-tree.html#XMLATTRIBUTEPTR" 3401>xmlAttributePtr</A 3402> xmlAddAttributeDecl (<A 3403HREF="libxml-valid.html#XMLVALIDCTXTPTR" 3404>xmlValidCtxtPtr</A 3405> ctxt, 3406 <A 3407HREF="libxml-tree.html#XMLDTDPTR" 3408>xmlDtdPtr</A 3409> dtd, 3410 const <A 3411HREF="libxml-tree.html#XMLCHAR" 3412>xmlChar</A 3413> *elem, 3414 const <A 3415HREF="libxml-tree.html#XMLCHAR" 3416>xmlChar</A 3417> *name, 3418 const <A 3419HREF="libxml-tree.html#XMLCHAR" 3420>xmlChar</A 3421> *ns, 3422 <A 3423HREF="libxml-tree.html#XMLATTRIBUTETYPE" 3424>xmlAttributeType</A 3425> type, 3426 <A 3427HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT" 3428>xmlAttributeDefault</A 3429> def, 3430 const <A 3431HREF="libxml-tree.html#XMLCHAR" 3432>xmlChar</A 3433> *defaultValue, 3434 <A 3435HREF="libxml-tree.html#XMLENUMERATIONPTR" 3436>xmlEnumerationPtr</A 3437> tree);</PRE 3438></TD 3439></TR 3440></TABLE 3441><P 3442>Register a new attribute declaration 3443Note that <TT 3444CLASS="PARAMETER" 3445><I 3446>tree</I 3447></TT 3448> becomes the ownership of the DTD</P 3449><P 3450></P 3451><DIV 3452CLASS="INFORMALTABLE" 3453><A 3454NAME="AEN9395"><P 3455></P 3456><TABLE 3457BORDER="0" 3458WIDTH="100%" 3459BGCOLOR="#FFD0D0" 3460CELLSPACING="0" 3461CELLPADDING="4" 3462CLASS="CALSTABLE" 3463><TBODY 3464><TR 3465><TD 3466WIDTH="20%" 3467ALIGN="RIGHT" 3468VALIGN="TOP" 3469><TT 3470CLASS="PARAMETER" 3471><I 3472>ctxt</I 3473></TT 3474> :</TD 3475><TD 3476WIDTH="80%" 3477ALIGN="LEFT" 3478VALIGN="TOP" 3479> the validation context</TD 3480></TR 3481><TR 3482><TD 3483WIDTH="20%" 3484ALIGN="RIGHT" 3485VALIGN="TOP" 3486><TT 3487CLASS="PARAMETER" 3488><I 3489>dtd</I 3490></TT 3491> :</TD 3492><TD 3493WIDTH="80%" 3494ALIGN="LEFT" 3495VALIGN="TOP" 3496> pointer to the DTD</TD 3497></TR 3498><TR 3499><TD 3500WIDTH="20%" 3501ALIGN="RIGHT" 3502VALIGN="TOP" 3503><TT 3504CLASS="PARAMETER" 3505><I 3506>elem</I 3507></TT 3508> :</TD 3509><TD 3510WIDTH="80%" 3511ALIGN="LEFT" 3512VALIGN="TOP" 3513> the element name</TD 3514></TR 3515><TR 3516><TD 3517WIDTH="20%" 3518ALIGN="RIGHT" 3519VALIGN="TOP" 3520><TT 3521CLASS="PARAMETER" 3522><I 3523>name</I 3524></TT 3525> :</TD 3526><TD 3527WIDTH="80%" 3528ALIGN="LEFT" 3529VALIGN="TOP" 3530> the attribute name</TD 3531></TR 3532><TR 3533><TD 3534WIDTH="20%" 3535ALIGN="RIGHT" 3536VALIGN="TOP" 3537><TT 3538CLASS="PARAMETER" 3539><I 3540>ns</I 3541></TT 3542> :</TD 3543><TD 3544WIDTH="80%" 3545ALIGN="LEFT" 3546VALIGN="TOP" 3547> the attribute namespace prefix</TD 3548></TR 3549><TR 3550><TD 3551WIDTH="20%" 3552ALIGN="RIGHT" 3553VALIGN="TOP" 3554><TT 3555CLASS="PARAMETER" 3556><I 3557>type</I 3558></TT 3559> :</TD 3560><TD 3561WIDTH="80%" 3562ALIGN="LEFT" 3563VALIGN="TOP" 3564> the attribute type</TD 3565></TR 3566><TR 3567><TD 3568WIDTH="20%" 3569ALIGN="RIGHT" 3570VALIGN="TOP" 3571><TT 3572CLASS="PARAMETER" 3573><I 3574>def</I 3575></TT 3576> :</TD 3577><TD 3578WIDTH="80%" 3579ALIGN="LEFT" 3580VALIGN="TOP" 3581> the attribute default type</TD 3582></TR 3583><TR 3584><TD 3585WIDTH="20%" 3586ALIGN="RIGHT" 3587VALIGN="TOP" 3588><TT 3589CLASS="PARAMETER" 3590><I 3591>defaultValue</I 3592></TT 3593> :</TD 3594><TD 3595WIDTH="80%" 3596ALIGN="LEFT" 3597VALIGN="TOP" 3598> the attribute default value</TD 3599></TR 3600><TR 3601><TD 3602WIDTH="20%" 3603ALIGN="RIGHT" 3604VALIGN="TOP" 3605><TT 3606CLASS="PARAMETER" 3607><I 3608>tree</I 3609></TT 3610> :</TD 3611><TD 3612WIDTH="80%" 3613ALIGN="LEFT" 3614VALIGN="TOP" 3615> if it's an enumeration, the associated list</TD 3616></TR 3617><TR 3618><TD 3619WIDTH="20%" 3620ALIGN="RIGHT" 3621VALIGN="TOP" 3622><SPAN 3623CLASS="emphasis" 3624><I 3625CLASS="EMPHASIS" 3626>Returns</I 3627></SPAN 3628> :</TD 3629><TD 3630WIDTH="80%" 3631ALIGN="LEFT" 3632VALIGN="TOP" 3633>NULL if not new, otherwise the attribute decl</TD 3634></TR 3635></TBODY 3636></TABLE 3637><P 3638></P 3639></DIV 3640></DIV 3641><HR><DIV 3642CLASS="REFSECT2" 3643><A 3644NAME="AEN9440" 3645></A 3646><H3 3647><A 3648NAME="XMLCOPYATTRIBUTETABLE" 3649></A 3650>xmlCopyAttributeTable ()</H3 3651><TABLE 3652BORDER="0" 3653BGCOLOR="#D6E8FF" 3654WIDTH="100%" 3655CELLPADDING="6" 3656><TR 3657><TD 3658><PRE 3659CLASS="PROGRAMLISTING" 3660><A 3661HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 3662>xmlAttributeTablePtr</A 3663> xmlCopyAttributeTable (<A 3664HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 3665>xmlAttributeTablePtr</A 3666> table);</PRE 3667></TD 3668></TR 3669></TABLE 3670><P 3671>Build a copy of an attribute table.</P 3672><P 3673></P 3674><DIV 3675CLASS="INFORMALTABLE" 3676><A 3677NAME="AEN9448"><P 3678></P 3679><TABLE 3680BORDER="0" 3681WIDTH="100%" 3682BGCOLOR="#FFD0D0" 3683CELLSPACING="0" 3684CELLPADDING="4" 3685CLASS="CALSTABLE" 3686><TBODY 3687><TR 3688><TD 3689WIDTH="20%" 3690ALIGN="RIGHT" 3691VALIGN="TOP" 3692><TT 3693CLASS="PARAMETER" 3694><I 3695>table</I 3696></TT 3697> :</TD 3698><TD 3699WIDTH="80%" 3700ALIGN="LEFT" 3701VALIGN="TOP" 3702> An attribute table</TD 3703></TR 3704><TR 3705><TD 3706WIDTH="20%" 3707ALIGN="RIGHT" 3708VALIGN="TOP" 3709><SPAN 3710CLASS="emphasis" 3711><I 3712CLASS="EMPHASIS" 3713>Returns</I 3714></SPAN 3715> :</TD 3716><TD 3717WIDTH="80%" 3718ALIGN="LEFT" 3719VALIGN="TOP" 3720>the new xmlAttributeTablePtr or NULL in case of error.</TD 3721></TR 3722></TBODY 3723></TABLE 3724><P 3725></P 3726></DIV 3727></DIV 3728><HR><DIV 3729CLASS="REFSECT2" 3730><A 3731NAME="AEN9461" 3732></A 3733><H3 3734><A 3735NAME="XMLFREEATTRIBUTETABLE" 3736></A 3737>xmlFreeAttributeTable ()</H3 3738><TABLE 3739BORDER="0" 3740BGCOLOR="#D6E8FF" 3741WIDTH="100%" 3742CELLPADDING="6" 3743><TR 3744><TD 3745><PRE 3746CLASS="PROGRAMLISTING" 3747>void xmlFreeAttributeTable (<A 3748HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 3749>xmlAttributeTablePtr</A 3750> table);</PRE 3751></TD 3752></TR 3753></TABLE 3754><P 3755>Deallocate the memory used by an entities hash table.</P 3756><P 3757></P 3758><DIV 3759CLASS="INFORMALTABLE" 3760><A 3761NAME="AEN9468"><P 3762></P 3763><TABLE 3764BORDER="0" 3765WIDTH="100%" 3766BGCOLOR="#FFD0D0" 3767CELLSPACING="0" 3768CELLPADDING="4" 3769CLASS="CALSTABLE" 3770><TBODY 3771><TR 3772><TD 3773WIDTH="20%" 3774ALIGN="RIGHT" 3775VALIGN="TOP" 3776><TT 3777CLASS="PARAMETER" 3778><I 3779>table</I 3780></TT 3781> :</TD 3782><TD 3783WIDTH="80%" 3784ALIGN="LEFT" 3785VALIGN="TOP" 3786> An attribute table</TD 3787></TR 3788></TBODY 3789></TABLE 3790><P 3791></P 3792></DIV 3793></DIV 3794><HR><DIV 3795CLASS="REFSECT2" 3796><A 3797NAME="AEN9477" 3798></A 3799><H3 3800><A 3801NAME="XMLDUMPATTRIBUTETABLE" 3802></A 3803>xmlDumpAttributeTable ()</H3 3804><TABLE 3805BORDER="0" 3806BGCOLOR="#D6E8FF" 3807WIDTH="100%" 3808CELLPADDING="6" 3809><TR 3810><TD 3811><PRE 3812CLASS="PROGRAMLISTING" 3813>void xmlDumpAttributeTable (<A 3814HREF="libxml-tree.html#XMLBUFFERPTR" 3815>xmlBufferPtr</A 3816> buf, 3817 <A 3818HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" 3819>xmlAttributeTablePtr</A 3820> table);</PRE 3821></TD 3822></TR 3823></TABLE 3824><P 3825>This will dump the content of the attribute table as an XML DTD definition</P 3826><P 3827></P 3828><DIV 3829CLASS="INFORMALTABLE" 3830><A 3831NAME="AEN9485"><P 3832></P 3833><TABLE 3834BORDER="0" 3835WIDTH="100%" 3836BGCOLOR="#FFD0D0" 3837CELLSPACING="0" 3838CELLPADDING="4" 3839CLASS="CALSTABLE" 3840><TBODY 3841><TR 3842><TD 3843WIDTH="20%" 3844ALIGN="RIGHT" 3845VALIGN="TOP" 3846><TT 3847CLASS="PARAMETER" 3848><I 3849>buf</I 3850></TT 3851> :</TD 3852><TD 3853WIDTH="80%" 3854ALIGN="LEFT" 3855VALIGN="TOP" 3856> the XML buffer output</TD 3857></TR 3858><TR 3859><TD 3860WIDTH="20%" 3861ALIGN="RIGHT" 3862VALIGN="TOP" 3863><TT 3864CLASS="PARAMETER" 3865><I 3866>table</I 3867></TT 3868> :</TD 3869><TD 3870WIDTH="80%" 3871ALIGN="LEFT" 3872VALIGN="TOP" 3873> An attribute table</TD 3874></TR 3875></TBODY 3876></TABLE 3877><P 3878></P 3879></DIV 3880></DIV 3881><HR><DIV 3882CLASS="REFSECT2" 3883><A 3884NAME="AEN9498" 3885></A 3886><H3 3887><A 3888NAME="XMLDUMPATTRIBUTEDECL" 3889></A 3890>xmlDumpAttributeDecl ()</H3 3891><TABLE 3892BORDER="0" 3893BGCOLOR="#D6E8FF" 3894WIDTH="100%" 3895CELLPADDING="6" 3896><TR 3897><TD 3898><PRE 3899CLASS="PROGRAMLISTING" 3900>void xmlDumpAttributeDecl (<A 3901HREF="libxml-tree.html#XMLBUFFERPTR" 3902>xmlBufferPtr</A 3903> buf, 3904 <A 3905HREF="libxml-tree.html#XMLATTRIBUTEPTR" 3906>xmlAttributePtr</A 3907> attr);</PRE 3908></TD 3909></TR 3910></TABLE 3911><P 3912>This will dump the content of the attribute declaration as an XML 3913DTD definition</P 3914><P 3915></P 3916><DIV 3917CLASS="INFORMALTABLE" 3918><A 3919NAME="AEN9506"><P 3920></P 3921><TABLE 3922BORDER="0" 3923WIDTH="100%" 3924BGCOLOR="#FFD0D0" 3925CELLSPACING="0" 3926CELLPADDING="4" 3927CLASS="CALSTABLE" 3928><TBODY 3929><TR 3930><TD 3931WIDTH="20%" 3932ALIGN="RIGHT" 3933VALIGN="TOP" 3934><TT 3935CLASS="PARAMETER" 3936><I 3937>buf</I 3938></TT 3939> :</TD 3940><TD 3941WIDTH="80%" 3942ALIGN="LEFT" 3943VALIGN="TOP" 3944> the XML buffer output</TD 3945></TR 3946><TR 3947><TD 3948WIDTH="20%" 3949ALIGN="RIGHT" 3950VALIGN="TOP" 3951><TT 3952CLASS="PARAMETER" 3953><I 3954>attr</I 3955></TT 3956> :</TD 3957><TD 3958WIDTH="80%" 3959ALIGN="LEFT" 3960VALIGN="TOP" 3961> An attribute declaration</TD 3962></TR 3963></TBODY 3964></TABLE 3965><P 3966></P 3967></DIV 3968></DIV 3969><HR><DIV 3970CLASS="REFSECT2" 3971><A 3972NAME="AEN9519" 3973></A 3974><H3 3975><A 3976NAME="XMLADDID" 3977></A 3978>xmlAddID ()</H3 3979><TABLE 3980BORDER="0" 3981BGCOLOR="#D6E8FF" 3982WIDTH="100%" 3983CELLPADDING="6" 3984><TR 3985><TD 3986><PRE 3987CLASS="PROGRAMLISTING" 3988><A 3989HREF="libxml-tree.html#XMLIDPTR" 3990>xmlIDPtr</A 3991> xmlAddID (<A 3992HREF="libxml-valid.html#XMLVALIDCTXTPTR" 3993>xmlValidCtxtPtr</A 3994> ctxt, 3995 <A 3996HREF="libxml-tree.html#XMLDOCPTR" 3997>xmlDocPtr</A 3998> doc, 3999 const <A 4000HREF="libxml-tree.html#XMLCHAR" 4001>xmlChar</A 4002> *value, 4003 <A 4004HREF="libxml-tree.html#XMLATTRPTR" 4005>xmlAttrPtr</A 4006> attr);</PRE 4007></TD 4008></TR 4009></TABLE 4010><P 4011>Register a new id declaration</P 4012><P 4013></P 4014><DIV 4015CLASS="INFORMALTABLE" 4016><A 4017NAME="AEN9530"><P 4018></P 4019><TABLE 4020BORDER="0" 4021WIDTH="100%" 4022BGCOLOR="#FFD0D0" 4023CELLSPACING="0" 4024CELLPADDING="4" 4025CLASS="CALSTABLE" 4026><TBODY 4027><TR 4028><TD 4029WIDTH="20%" 4030ALIGN="RIGHT" 4031VALIGN="TOP" 4032><TT 4033CLASS="PARAMETER" 4034><I 4035>ctxt</I 4036></TT 4037> :</TD 4038><TD 4039WIDTH="80%" 4040ALIGN="LEFT" 4041VALIGN="TOP" 4042> the validation context</TD 4043></TR 4044><TR 4045><TD 4046WIDTH="20%" 4047ALIGN="RIGHT" 4048VALIGN="TOP" 4049><TT 4050CLASS="PARAMETER" 4051><I 4052>doc</I 4053></TT 4054> :</TD 4055><TD 4056WIDTH="80%" 4057ALIGN="LEFT" 4058VALIGN="TOP" 4059> pointer to the document</TD 4060></TR 4061><TR 4062><TD 4063WIDTH="20%" 4064ALIGN="RIGHT" 4065VALIGN="TOP" 4066><TT 4067CLASS="PARAMETER" 4068><I 4069>value</I 4070></TT 4071> :</TD 4072><TD 4073WIDTH="80%" 4074ALIGN="LEFT" 4075VALIGN="TOP" 4076> the value name</TD 4077></TR 4078><TR 4079><TD 4080WIDTH="20%" 4081ALIGN="RIGHT" 4082VALIGN="TOP" 4083><TT 4084CLASS="PARAMETER" 4085><I 4086>attr</I 4087></TT 4088> :</TD 4089><TD 4090WIDTH="80%" 4091ALIGN="LEFT" 4092VALIGN="TOP" 4093> the attribute holding the ID</TD 4094></TR 4095><TR 4096><TD 4097WIDTH="20%" 4098ALIGN="RIGHT" 4099VALIGN="TOP" 4100><SPAN 4101CLASS="emphasis" 4102><I 4103CLASS="EMPHASIS" 4104>Returns</I 4105></SPAN 4106> :</TD 4107><TD 4108WIDTH="80%" 4109ALIGN="LEFT" 4110VALIGN="TOP" 4111>NULL if not, otherwise the new xmlIDPtr</TD 4112></TR 4113></TBODY 4114></TABLE 4115><P 4116></P 4117></DIV 4118></DIV 4119><HR><DIV 4120CLASS="REFSECT2" 4121><A 4122NAME="AEN9555" 4123></A 4124><H3 4125><A 4126NAME="XMLFREEIDTABLE" 4127></A 4128>xmlFreeIDTable ()</H3 4129><TABLE 4130BORDER="0" 4131BGCOLOR="#D6E8FF" 4132WIDTH="100%" 4133CELLPADDING="6" 4134><TR 4135><TD 4136><PRE 4137CLASS="PROGRAMLISTING" 4138>void xmlFreeIDTable (<A 4139HREF="libxml-valid.html#XMLIDTABLEPTR" 4140>xmlIDTablePtr</A 4141> table);</PRE 4142></TD 4143></TR 4144></TABLE 4145><P 4146>Deallocate the memory used by an ID hash table.</P 4147><P 4148></P 4149><DIV 4150CLASS="INFORMALTABLE" 4151><A 4152NAME="AEN9562"><P 4153></P 4154><TABLE 4155BORDER="0" 4156WIDTH="100%" 4157BGCOLOR="#FFD0D0" 4158CELLSPACING="0" 4159CELLPADDING="4" 4160CLASS="CALSTABLE" 4161><TBODY 4162><TR 4163><TD 4164WIDTH="20%" 4165ALIGN="RIGHT" 4166VALIGN="TOP" 4167><TT 4168CLASS="PARAMETER" 4169><I 4170>table</I 4171></TT 4172> :</TD 4173><TD 4174WIDTH="80%" 4175ALIGN="LEFT" 4176VALIGN="TOP" 4177> An id table</TD 4178></TR 4179></TBODY 4180></TABLE 4181><P 4182></P 4183></DIV 4184></DIV 4185><HR><DIV 4186CLASS="REFSECT2" 4187><A 4188NAME="AEN9571" 4189></A 4190><H3 4191><A 4192NAME="XMLGETID" 4193></A 4194>xmlGetID ()</H3 4195><TABLE 4196BORDER="0" 4197BGCOLOR="#D6E8FF" 4198WIDTH="100%" 4199CELLPADDING="6" 4200><TR 4201><TD 4202><PRE 4203CLASS="PROGRAMLISTING" 4204><A 4205HREF="libxml-tree.html#XMLATTRPTR" 4206>xmlAttrPtr</A 4207> xmlGetID (<A 4208HREF="libxml-tree.html#XMLDOCPTR" 4209>xmlDocPtr</A 4210> doc, 4211 const <A 4212HREF="libxml-tree.html#XMLCHAR" 4213>xmlChar</A 4214> *ID);</PRE 4215></TD 4216></TR 4217></TABLE 4218><P 4219>Search the attribute declaring the given ID</P 4220><P 4221></P 4222><DIV 4223CLASS="INFORMALTABLE" 4224><A 4225NAME="AEN9580"><P 4226></P 4227><TABLE 4228BORDER="0" 4229WIDTH="100%" 4230BGCOLOR="#FFD0D0" 4231CELLSPACING="0" 4232CELLPADDING="4" 4233CLASS="CALSTABLE" 4234><TBODY 4235><TR 4236><TD 4237WIDTH="20%" 4238ALIGN="RIGHT" 4239VALIGN="TOP" 4240><TT 4241CLASS="PARAMETER" 4242><I 4243>doc</I 4244></TT 4245> :</TD 4246><TD 4247WIDTH="80%" 4248ALIGN="LEFT" 4249VALIGN="TOP" 4250> pointer to the document</TD 4251></TR 4252><TR 4253><TD 4254WIDTH="20%" 4255ALIGN="RIGHT" 4256VALIGN="TOP" 4257><TT 4258CLASS="PARAMETER" 4259><I 4260>ID</I 4261></TT 4262> :</TD 4263><TD 4264WIDTH="80%" 4265ALIGN="LEFT" 4266VALIGN="TOP" 4267> the ID value</TD 4268></TR 4269><TR 4270><TD 4271WIDTH="20%" 4272ALIGN="RIGHT" 4273VALIGN="TOP" 4274><SPAN 4275CLASS="emphasis" 4276><I 4277CLASS="EMPHASIS" 4278>Returns</I 4279></SPAN 4280> :</TD 4281><TD 4282WIDTH="80%" 4283ALIGN="LEFT" 4284VALIGN="TOP" 4285>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD 4286></TR 4287></TBODY 4288></TABLE 4289><P 4290></P 4291></DIV 4292></DIV 4293><HR><DIV 4294CLASS="REFSECT2" 4295><A 4296NAME="AEN9597" 4297></A 4298><H3 4299><A 4300NAME="XMLISID" 4301></A 4302>xmlIsID ()</H3 4303><TABLE 4304BORDER="0" 4305BGCOLOR="#D6E8FF" 4306WIDTH="100%" 4307CELLPADDING="6" 4308><TR 4309><TD 4310><PRE 4311CLASS="PROGRAMLISTING" 4312>int xmlIsID (<A 4313HREF="libxml-tree.html#XMLDOCPTR" 4314>xmlDocPtr</A 4315> doc, 4316 <A 4317HREF="libxml-tree.html#XMLNODEPTR" 4318>xmlNodePtr</A 4319> elem, 4320 <A 4321HREF="libxml-tree.html#XMLATTRPTR" 4322>xmlAttrPtr</A 4323> attr);</PRE 4324></TD 4325></TR 4326></TABLE 4327><P 4328>Determine whether an attribute is of type ID. In case we have DTD(s) 4329then this is done if DTD loading has been requested. In the case 4330of HTML documents parsed with the HTML parser, then ID detection is 4331done systematically.</P 4332><P 4333></P 4334><DIV 4335CLASS="INFORMALTABLE" 4336><A 4337NAME="AEN9606"><P 4338></P 4339><TABLE 4340BORDER="0" 4341WIDTH="100%" 4342BGCOLOR="#FFD0D0" 4343CELLSPACING="0" 4344CELLPADDING="4" 4345CLASS="CALSTABLE" 4346><TBODY 4347><TR 4348><TD 4349WIDTH="20%" 4350ALIGN="RIGHT" 4351VALIGN="TOP" 4352><TT 4353CLASS="PARAMETER" 4354><I 4355>doc</I 4356></TT 4357> :</TD 4358><TD 4359WIDTH="80%" 4360ALIGN="LEFT" 4361VALIGN="TOP" 4362> the document</TD 4363></TR 4364><TR 4365><TD 4366WIDTH="20%" 4367ALIGN="RIGHT" 4368VALIGN="TOP" 4369><TT 4370CLASS="PARAMETER" 4371><I 4372>elem</I 4373></TT 4374> :</TD 4375><TD 4376WIDTH="80%" 4377ALIGN="LEFT" 4378VALIGN="TOP" 4379> the element carrying the attribute</TD 4380></TR 4381><TR 4382><TD 4383WIDTH="20%" 4384ALIGN="RIGHT" 4385VALIGN="TOP" 4386><TT 4387CLASS="PARAMETER" 4388><I 4389>attr</I 4390></TT 4391> :</TD 4392><TD 4393WIDTH="80%" 4394ALIGN="LEFT" 4395VALIGN="TOP" 4396> the attribute</TD 4397></TR 4398><TR 4399><TD 4400WIDTH="20%" 4401ALIGN="RIGHT" 4402VALIGN="TOP" 4403><SPAN 4404CLASS="emphasis" 4405><I 4406CLASS="EMPHASIS" 4407>Returns</I 4408></SPAN 4409> :</TD 4410><TD 4411WIDTH="80%" 4412ALIGN="LEFT" 4413VALIGN="TOP" 4414>0 or 1 depending on the lookup result</TD 4415></TR 4416></TBODY 4417></TABLE 4418><P 4419></P 4420></DIV 4421></DIV 4422><HR><DIV 4423CLASS="REFSECT2" 4424><A 4425NAME="AEN9627" 4426></A 4427><H3 4428><A 4429NAME="XMLREMOVEID" 4430></A 4431>xmlRemoveID ()</H3 4432><TABLE 4433BORDER="0" 4434BGCOLOR="#D6E8FF" 4435WIDTH="100%" 4436CELLPADDING="6" 4437><TR 4438><TD 4439><PRE 4440CLASS="PROGRAMLISTING" 4441>int xmlRemoveID (<A 4442HREF="libxml-tree.html#XMLDOCPTR" 4443>xmlDocPtr</A 4444> doc, 4445 <A 4446HREF="libxml-tree.html#XMLATTRPTR" 4447>xmlAttrPtr</A 4448> attr);</PRE 4449></TD 4450></TR 4451></TABLE 4452><P 4453>Remove the given attribute from the ID table maintained internally.</P 4454><P 4455></P 4456><DIV 4457CLASS="INFORMALTABLE" 4458><A 4459NAME="AEN9635"><P 4460></P 4461><TABLE 4462BORDER="0" 4463WIDTH="100%" 4464BGCOLOR="#FFD0D0" 4465CELLSPACING="0" 4466CELLPADDING="4" 4467CLASS="CALSTABLE" 4468><TBODY 4469><TR 4470><TD 4471WIDTH="20%" 4472ALIGN="RIGHT" 4473VALIGN="TOP" 4474><TT 4475CLASS="PARAMETER" 4476><I 4477>doc</I 4478></TT 4479> :</TD 4480><TD 4481WIDTH="80%" 4482ALIGN="LEFT" 4483VALIGN="TOP" 4484> the document</TD 4485></TR 4486><TR 4487><TD 4488WIDTH="20%" 4489ALIGN="RIGHT" 4490VALIGN="TOP" 4491><TT 4492CLASS="PARAMETER" 4493><I 4494>attr</I 4495></TT 4496> :</TD 4497><TD 4498WIDTH="80%" 4499ALIGN="LEFT" 4500VALIGN="TOP" 4501> the attribute</TD 4502></TR 4503><TR 4504><TD 4505WIDTH="20%" 4506ALIGN="RIGHT" 4507VALIGN="TOP" 4508><SPAN 4509CLASS="emphasis" 4510><I 4511CLASS="EMPHASIS" 4512>Returns</I 4513></SPAN 4514> :</TD 4515><TD 4516WIDTH="80%" 4517ALIGN="LEFT" 4518VALIGN="TOP" 4519>-1 if the lookup failed and 0 otherwise</TD 4520></TR 4521></TBODY 4522></TABLE 4523><P 4524></P 4525></DIV 4526></DIV 4527><HR><DIV 4528CLASS="REFSECT2" 4529><A 4530NAME="AEN9652" 4531></A 4532><H3 4533><A 4534NAME="XMLADDREF" 4535></A 4536>xmlAddRef ()</H3 4537><TABLE 4538BORDER="0" 4539BGCOLOR="#D6E8FF" 4540WIDTH="100%" 4541CELLPADDING="6" 4542><TR 4543><TD 4544><PRE 4545CLASS="PROGRAMLISTING" 4546><A 4547HREF="libxml-tree.html#XMLREFPTR" 4548>xmlRefPtr</A 4549> xmlAddRef (<A 4550HREF="libxml-valid.html#XMLVALIDCTXTPTR" 4551>xmlValidCtxtPtr</A 4552> ctxt, 4553 <A 4554HREF="libxml-tree.html#XMLDOCPTR" 4555>xmlDocPtr</A 4556> doc, 4557 const <A 4558HREF="libxml-tree.html#XMLCHAR" 4559>xmlChar</A 4560> *value, 4561 <A 4562HREF="libxml-tree.html#XMLATTRPTR" 4563>xmlAttrPtr</A 4564> attr);</PRE 4565></TD 4566></TR 4567></TABLE 4568><P 4569>Register a new ref declaration</P 4570><P 4571></P 4572><DIV 4573CLASS="INFORMALTABLE" 4574><A 4575NAME="AEN9663"><P 4576></P 4577><TABLE 4578BORDER="0" 4579WIDTH="100%" 4580BGCOLOR="#FFD0D0" 4581CELLSPACING="0" 4582CELLPADDING="4" 4583CLASS="CALSTABLE" 4584><TBODY 4585><TR 4586><TD 4587WIDTH="20%" 4588ALIGN="RIGHT" 4589VALIGN="TOP" 4590><TT 4591CLASS="PARAMETER" 4592><I 4593>ctxt</I 4594></TT 4595> :</TD 4596><TD 4597WIDTH="80%" 4598ALIGN="LEFT" 4599VALIGN="TOP" 4600> the validation context</TD 4601></TR 4602><TR 4603><TD 4604WIDTH="20%" 4605ALIGN="RIGHT" 4606VALIGN="TOP" 4607><TT 4608CLASS="PARAMETER" 4609><I 4610>doc</I 4611></TT 4612> :</TD 4613><TD 4614WIDTH="80%" 4615ALIGN="LEFT" 4616VALIGN="TOP" 4617> pointer to the document</TD 4618></TR 4619><TR 4620><TD 4621WIDTH="20%" 4622ALIGN="RIGHT" 4623VALIGN="TOP" 4624><TT 4625CLASS="PARAMETER" 4626><I 4627>value</I 4628></TT 4629> :</TD 4630><TD 4631WIDTH="80%" 4632ALIGN="LEFT" 4633VALIGN="TOP" 4634> the value name</TD 4635></TR 4636><TR 4637><TD 4638WIDTH="20%" 4639ALIGN="RIGHT" 4640VALIGN="TOP" 4641><TT 4642CLASS="PARAMETER" 4643><I 4644>attr</I 4645></TT 4646> :</TD 4647><TD 4648WIDTH="80%" 4649ALIGN="LEFT" 4650VALIGN="TOP" 4651> the attribute holding the Ref</TD 4652></TR 4653><TR 4654><TD 4655WIDTH="20%" 4656ALIGN="RIGHT" 4657VALIGN="TOP" 4658><SPAN 4659CLASS="emphasis" 4660><I 4661CLASS="EMPHASIS" 4662>Returns</I 4663></SPAN 4664> :</TD 4665><TD 4666WIDTH="80%" 4667ALIGN="LEFT" 4668VALIGN="TOP" 4669>NULL if not, otherwise the new xmlRefPtr</TD 4670></TR 4671></TBODY 4672></TABLE 4673><P 4674></P 4675></DIV 4676></DIV 4677><HR><DIV 4678CLASS="REFSECT2" 4679><A 4680NAME="AEN9688" 4681></A 4682><H3 4683><A 4684NAME="XMLFREEREFTABLE" 4685></A 4686>xmlFreeRefTable ()</H3 4687><TABLE 4688BORDER="0" 4689BGCOLOR="#D6E8FF" 4690WIDTH="100%" 4691CELLPADDING="6" 4692><TR 4693><TD 4694><PRE 4695CLASS="PROGRAMLISTING" 4696>void xmlFreeRefTable (<A 4697HREF="libxml-valid.html#XMLREFTABLEPTR" 4698>xmlRefTablePtr</A 4699> table);</PRE 4700></TD 4701></TR 4702></TABLE 4703><P 4704>Deallocate the memory used by an Ref hash table.</P 4705><P 4706></P 4707><DIV 4708CLASS="INFORMALTABLE" 4709><A 4710NAME="AEN9695"><P 4711></P 4712><TABLE 4713BORDER="0" 4714WIDTH="100%" 4715BGCOLOR="#FFD0D0" 4716CELLSPACING="0" 4717CELLPADDING="4" 4718CLASS="CALSTABLE" 4719><TBODY 4720><TR 4721><TD 4722WIDTH="20%" 4723ALIGN="RIGHT" 4724VALIGN="TOP" 4725><TT 4726CLASS="PARAMETER" 4727><I 4728>table</I 4729></TT 4730> :</TD 4731><TD 4732WIDTH="80%" 4733ALIGN="LEFT" 4734VALIGN="TOP" 4735> An ref table</TD 4736></TR 4737></TBODY 4738></TABLE 4739><P 4740></P 4741></DIV 4742></DIV 4743><HR><DIV 4744CLASS="REFSECT2" 4745><A 4746NAME="AEN9704" 4747></A 4748><H3 4749><A 4750NAME="XMLISREF" 4751></A 4752>xmlIsRef ()</H3 4753><TABLE 4754BORDER="0" 4755BGCOLOR="#D6E8FF" 4756WIDTH="100%" 4757CELLPADDING="6" 4758><TR 4759><TD 4760><PRE 4761CLASS="PROGRAMLISTING" 4762>int xmlIsRef (<A 4763HREF="libxml-tree.html#XMLDOCPTR" 4764>xmlDocPtr</A 4765> doc, 4766 <A 4767HREF="libxml-tree.html#XMLNODEPTR" 4768>xmlNodePtr</A 4769> elem, 4770 <A 4771HREF="libxml-tree.html#XMLATTRPTR" 4772>xmlAttrPtr</A 4773> attr);</PRE 4774></TD 4775></TR 4776></TABLE 4777><P 4778>Determine whether an attribute is of type Ref. In case we have DTD(s) 4779then this is simple, otherwise we use an heuristic: name Ref (upper 4780or lowercase).</P 4781><P 4782></P 4783><DIV 4784CLASS="INFORMALTABLE" 4785><A 4786NAME="AEN9713"><P 4787></P 4788><TABLE 4789BORDER="0" 4790WIDTH="100%" 4791BGCOLOR="#FFD0D0" 4792CELLSPACING="0" 4793CELLPADDING="4" 4794CLASS="CALSTABLE" 4795><TBODY 4796><TR 4797><TD 4798WIDTH="20%" 4799ALIGN="RIGHT" 4800VALIGN="TOP" 4801><TT 4802CLASS="PARAMETER" 4803><I 4804>doc</I 4805></TT 4806> :</TD 4807><TD 4808WIDTH="80%" 4809ALIGN="LEFT" 4810VALIGN="TOP" 4811> the document</TD 4812></TR 4813><TR 4814><TD 4815WIDTH="20%" 4816ALIGN="RIGHT" 4817VALIGN="TOP" 4818><TT 4819CLASS="PARAMETER" 4820><I 4821>elem</I 4822></TT 4823> :</TD 4824><TD 4825WIDTH="80%" 4826ALIGN="LEFT" 4827VALIGN="TOP" 4828> the element carrying the attribute</TD 4829></TR 4830><TR 4831><TD 4832WIDTH="20%" 4833ALIGN="RIGHT" 4834VALIGN="TOP" 4835><TT 4836CLASS="PARAMETER" 4837><I 4838>attr</I 4839></TT 4840> :</TD 4841><TD 4842WIDTH="80%" 4843ALIGN="LEFT" 4844VALIGN="TOP" 4845> the attribute</TD 4846></TR 4847><TR 4848><TD 4849WIDTH="20%" 4850ALIGN="RIGHT" 4851VALIGN="TOP" 4852><SPAN 4853CLASS="emphasis" 4854><I 4855CLASS="EMPHASIS" 4856>Returns</I 4857></SPAN 4858> :</TD 4859><TD 4860WIDTH="80%" 4861ALIGN="LEFT" 4862VALIGN="TOP" 4863>0 or 1 depending on the lookup result</TD 4864></TR 4865></TBODY 4866></TABLE 4867><P 4868></P 4869></DIV 4870></DIV 4871><HR><DIV 4872CLASS="REFSECT2" 4873><A 4874NAME="AEN9734" 4875></A 4876><H3 4877><A 4878NAME="XMLREMOVEREF" 4879></A 4880>xmlRemoveRef ()</H3 4881><TABLE 4882BORDER="0" 4883BGCOLOR="#D6E8FF" 4884WIDTH="100%" 4885CELLPADDING="6" 4886><TR 4887><TD 4888><PRE 4889CLASS="PROGRAMLISTING" 4890>int xmlRemoveRef (<A 4891HREF="libxml-tree.html#XMLDOCPTR" 4892>xmlDocPtr</A 4893> doc, 4894 <A 4895HREF="libxml-tree.html#XMLATTRPTR" 4896>xmlAttrPtr</A 4897> attr);</PRE 4898></TD 4899></TR 4900></TABLE 4901><P 4902>Remove the given attribute from the Ref table maintained internally.</P 4903><P 4904></P 4905><DIV 4906CLASS="INFORMALTABLE" 4907><A 4908NAME="AEN9742"><P 4909></P 4910><TABLE 4911BORDER="0" 4912WIDTH="100%" 4913BGCOLOR="#FFD0D0" 4914CELLSPACING="0" 4915CELLPADDING="4" 4916CLASS="CALSTABLE" 4917><TBODY 4918><TR 4919><TD 4920WIDTH="20%" 4921ALIGN="RIGHT" 4922VALIGN="TOP" 4923><TT 4924CLASS="PARAMETER" 4925><I 4926>doc</I 4927></TT 4928> :</TD 4929><TD 4930WIDTH="80%" 4931ALIGN="LEFT" 4932VALIGN="TOP" 4933> the document</TD 4934></TR 4935><TR 4936><TD 4937WIDTH="20%" 4938ALIGN="RIGHT" 4939VALIGN="TOP" 4940><TT 4941CLASS="PARAMETER" 4942><I 4943>attr</I 4944></TT 4945> :</TD 4946><TD 4947WIDTH="80%" 4948ALIGN="LEFT" 4949VALIGN="TOP" 4950> the attribute</TD 4951></TR 4952><TR 4953><TD 4954WIDTH="20%" 4955ALIGN="RIGHT" 4956VALIGN="TOP" 4957><SPAN 4958CLASS="emphasis" 4959><I 4960CLASS="EMPHASIS" 4961>Returns</I 4962></SPAN 4963> :</TD 4964><TD 4965WIDTH="80%" 4966ALIGN="LEFT" 4967VALIGN="TOP" 4968>-1 if the lookup failed and 0 otherwise</TD 4969></TR 4970></TBODY 4971></TABLE 4972><P 4973></P 4974></DIV 4975></DIV 4976><HR><DIV 4977CLASS="REFSECT2" 4978><A 4979NAME="AEN9759" 4980></A 4981><H3 4982><A 4983NAME="XMLGETREFS" 4984></A 4985>xmlGetRefs ()</H3 4986><TABLE 4987BORDER="0" 4988BGCOLOR="#D6E8FF" 4989WIDTH="100%" 4990CELLPADDING="6" 4991><TR 4992><TD 4993><PRE 4994CLASS="PROGRAMLISTING" 4995><GTKDOCLINK 4996HREF="XMLLISTPTR" 4997>xmlListPtr</GTKDOCLINK 4998> xmlGetRefs (<A 4999HREF="libxml-tree.html#XMLDOCPTR" 5000>xmlDocPtr</A 5001> doc, 5002 const <A 5003HREF="libxml-tree.html#XMLCHAR" 5004>xmlChar</A 5005> *ID);</PRE 5006></TD 5007></TR 5008></TABLE 5009><P 5010>Find the set of references for the supplied ID.</P 5011><P 5012></P 5013><DIV 5014CLASS="INFORMALTABLE" 5015><A 5016NAME="AEN9768"><P 5017></P 5018><TABLE 5019BORDER="0" 5020WIDTH="100%" 5021BGCOLOR="#FFD0D0" 5022CELLSPACING="0" 5023CELLPADDING="4" 5024CLASS="CALSTABLE" 5025><TBODY 5026><TR 5027><TD 5028WIDTH="20%" 5029ALIGN="RIGHT" 5030VALIGN="TOP" 5031><TT 5032CLASS="PARAMETER" 5033><I 5034>doc</I 5035></TT 5036> :</TD 5037><TD 5038WIDTH="80%" 5039ALIGN="LEFT" 5040VALIGN="TOP" 5041> pointer to the document</TD 5042></TR 5043><TR 5044><TD 5045WIDTH="20%" 5046ALIGN="RIGHT" 5047VALIGN="TOP" 5048><TT 5049CLASS="PARAMETER" 5050><I 5051>ID</I 5052></TT 5053> :</TD 5054><TD 5055WIDTH="80%" 5056ALIGN="LEFT" 5057VALIGN="TOP" 5058> the ID value</TD 5059></TR 5060><TR 5061><TD 5062WIDTH="20%" 5063ALIGN="RIGHT" 5064VALIGN="TOP" 5065><SPAN 5066CLASS="emphasis" 5067><I 5068CLASS="EMPHASIS" 5069>Returns</I 5070></SPAN 5071> :</TD 5072><TD 5073WIDTH="80%" 5074ALIGN="LEFT" 5075VALIGN="TOP" 5076>NULL if not found, otherwise node set for the ID.</TD 5077></TR 5078></TBODY 5079></TABLE 5080><P 5081></P 5082></DIV 5083></DIV 5084><HR><DIV 5085CLASS="REFSECT2" 5086><A 5087NAME="AEN9785" 5088></A 5089><H3 5090><A 5091NAME="XMLVALIDATEROOT" 5092></A 5093>xmlValidateRoot ()</H3 5094><TABLE 5095BORDER="0" 5096BGCOLOR="#D6E8FF" 5097WIDTH="100%" 5098CELLPADDING="6" 5099><TR 5100><TD 5101><PRE 5102CLASS="PROGRAMLISTING" 5103>int xmlValidateRoot (<A 5104HREF="libxml-valid.html#XMLVALIDCTXTPTR" 5105>xmlValidCtxtPtr</A 5106> ctxt, 5107 <A 5108HREF="libxml-tree.html#XMLDOCPTR" 5109>xmlDocPtr</A 5110> doc);</PRE 5111></TD 5112></TR 5113></TABLE 5114><P 5115>Try to validate a the root element 5116basically it does the following check as described by the 5117XML-1.0 recommendation: 5118- [ VC: Root Element Type ] 5119it doesn't try to recurse or apply other check to the element</P 5120><P 5121></P 5122><DIV 5123CLASS="INFORMALTABLE" 5124><A 5125NAME="AEN9793"><P 5126></P 5127><TABLE 5128BORDER="0" 5129WIDTH="100%" 5130BGCOLOR="#FFD0D0" 5131CELLSPACING="0" 5132CELLPADDING="4" 5133CLASS="CALSTABLE" 5134><TBODY 5135><TR 5136><TD 5137WIDTH="20%" 5138ALIGN="RIGHT" 5139VALIGN="TOP" 5140><TT 5141CLASS="PARAMETER" 5142><I 5143>ctxt</I 5144></TT 5145> :</TD 5146><TD 5147WIDTH="80%" 5148ALIGN="LEFT" 5149VALIGN="TOP" 5150> the validation context</TD 5151></TR 5152><TR 5153><TD 5154WIDTH="20%" 5155ALIGN="RIGHT" 5156VALIGN="TOP" 5157><TT 5158CLASS="PARAMETER" 5159><I 5160>doc</I 5161></TT 5162> :</TD 5163><TD 5164WIDTH="80%" 5165ALIGN="LEFT" 5166VALIGN="TOP" 5167> a document instance</TD 5168></TR 5169><TR 5170><TD 5171WIDTH="20%" 5172ALIGN="RIGHT" 5173VALIGN="TOP" 5174><SPAN 5175CLASS="emphasis" 5176><I 5177CLASS="EMPHASIS" 5178>Returns</I 5179></SPAN 5180> :</TD 5181><TD 5182WIDTH="80%" 5183ALIGN="LEFT" 5184VALIGN="TOP" 5185>1 if valid or 0 otherwise</TD 5186></TR 5187></TBODY 5188></TABLE 5189><P 5190></P 5191></DIV 5192></DIV 5193><HR><DIV 5194CLASS="REFSECT2" 5195><A 5196NAME="AEN9810" 5197></A 5198><H3 5199><A 5200NAME="XMLVALIDATEELEMENTDECL" 5201></A 5202>xmlValidateElementDecl ()</H3 5203><TABLE 5204BORDER="0" 5205BGCOLOR="#D6E8FF" 5206WIDTH="100%" 5207CELLPADDING="6" 5208><TR 5209><TD 5210><PRE 5211CLASS="PROGRAMLISTING" 5212>int xmlValidateElementDecl (<A 5213HREF="libxml-valid.html#XMLVALIDCTXTPTR" 5214>xmlValidCtxtPtr</A 5215> ctxt, 5216 <A 5217HREF="libxml-tree.html#XMLDOCPTR" 5218>xmlDocPtr</A 5219> doc, 5220 <A 5221HREF="libxml-tree.html#XMLELEMENTPTR" 5222>xmlElementPtr</A 5223> elem);</PRE 5224></TD 5225></TR 5226></TABLE 5227><P 5228>Try to validate a single element definition 5229basically it does the following checks as described by the 5230XML-1.0 recommendation: 5231- [ VC: One ID per Element Type ] 5232- [ VC: No Duplicate Types ] 5233- [ VC: Unique Element Type Declaration ]</P 5234><P 5235></P 5236><DIV 5237CLASS="INFORMALTABLE" 5238><A 5239NAME="AEN9819"><P 5240></P 5241><TABLE 5242BORDER="0" 5243WIDTH="100%" 5244BGCOLOR="#FFD0D0" 5245CELLSPACING="0" 5246CELLPADDING="4" 5247CLASS="CALSTABLE" 5248><TBODY 5249><TR 5250><TD 5251WIDTH="20%" 5252ALIGN="RIGHT" 5253VALIGN="TOP" 5254><TT 5255CLASS="PARAMETER" 5256><I 5257>ctxt</I 5258></TT 5259> :</TD 5260><TD 5261WIDTH="80%" 5262ALIGN="LEFT" 5263VALIGN="TOP" 5264> the validation context</TD 5265></TR 5266><TR 5267><TD 5268WIDTH="20%" 5269ALIGN="RIGHT" 5270VALIGN="TOP" 5271><TT 5272CLASS="PARAMETER" 5273><I 5274>doc</I 5275></TT 5276> :</TD 5277><TD 5278WIDTH="80%" 5279ALIGN="LEFT" 5280VALIGN="TOP" 5281> a document instance</TD 5282></TR 5283><TR 5284><TD 5285WIDTH="20%" 5286ALIGN="RIGHT" 5287VALIGN="TOP" 5288><TT 5289CLASS="PARAMETER" 5290><I 5291>elem</I 5292></TT 5293> :</TD 5294><TD 5295WIDTH="80%" 5296ALIGN="LEFT" 5297VALIGN="TOP" 5298> an element definition</TD 5299></TR 5300><TR 5301><TD 5302WIDTH="20%" 5303ALIGN="RIGHT" 5304VALIGN="TOP" 5305><SPAN 5306CLASS="emphasis" 5307><I 5308CLASS="EMPHASIS" 5309>Returns</I 5310></SPAN 5311> :</TD 5312><TD 5313WIDTH="80%" 5314ALIGN="LEFT" 5315VALIGN="TOP" 5316>1 if valid or 0 otherwise</TD 5317></TR 5318></TBODY 5319></TABLE 5320><P 5321></P 5322></DIV 5323></DIV 5324><HR><DIV 5325CLASS="REFSECT2" 5326><A 5327NAME="AEN9840" 5328></A 5329><H3 5330><A 5331NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE" 5332></A 5333>xmlValidNormalizeAttributeValue ()</H3 5334><TABLE 5335BORDER="0" 5336BGCOLOR="#D6E8FF" 5337WIDTH="100%" 5338CELLPADDING="6" 5339><TR 5340><TD 5341><PRE 5342CLASS="PROGRAMLISTING" 5343><A 5344HREF="libxml-tree.html#XMLCHAR" 5345>xmlChar</A 5346>* xmlValidNormalizeAttributeValue (<A 5347HREF="libxml-tree.html#XMLDOCPTR" 5348>xmlDocPtr</A 5349> doc, 5350 <A 5351HREF="libxml-tree.html#XMLNODEPTR" 5352>xmlNodePtr</A 5353> elem, 5354 const <A 5355HREF="libxml-tree.html#XMLCHAR" 5356>xmlChar</A 5357> *name, 5358 const <A 5359HREF="libxml-tree.html#XMLCHAR" 5360>xmlChar</A 5361> *value);</PRE 5362></TD 5363></TR 5364></TABLE 5365><P 5366>Does the validation related extra step of the normalization of attribute 5367values:</P 5368><P 5369>If the declared value is not CDATA, then the XML processor must further 5370process the normalized attribute value by discarding any leading and 5371trailing space (<GTKDOCLINK 5372HREF="X20" 5373>x20</GTKDOCLINK 5374>) characters, and by replacing sequences of space 5375(<GTKDOCLINK 5376HREF="X20" 5377>x20</GTKDOCLINK 5378>) characters by single space (<GTKDOCLINK 5379HREF="X20" 5380>x20</GTKDOCLINK 5381>) character.</P 5382><P 5383></P 5384><DIV 5385CLASS="INFORMALTABLE" 5386><A 5387NAME="AEN9855"><P 5388></P 5389><TABLE 5390BORDER="0" 5391WIDTH="100%" 5392BGCOLOR="#FFD0D0" 5393CELLSPACING="0" 5394CELLPADDING="4" 5395CLASS="CALSTABLE" 5396><TBODY 5397><TR 5398><TD 5399WIDTH="20%" 5400ALIGN="RIGHT" 5401VALIGN="TOP" 5402><TT 5403CLASS="PARAMETER" 5404><I 5405>doc</I 5406></TT 5407> :</TD 5408><TD 5409WIDTH="80%" 5410ALIGN="LEFT" 5411VALIGN="TOP" 5412> the document</TD 5413></TR 5414><TR 5415><TD 5416WIDTH="20%" 5417ALIGN="RIGHT" 5418VALIGN="TOP" 5419><TT 5420CLASS="PARAMETER" 5421><I 5422>elem</I 5423></TT 5424> :</TD 5425><TD 5426WIDTH="80%" 5427ALIGN="LEFT" 5428VALIGN="TOP" 5429> the parent</TD 5430></TR 5431><TR 5432><TD 5433WIDTH="20%" 5434ALIGN="RIGHT" 5435VALIGN="TOP" 5436><TT 5437CLASS="PARAMETER" 5438><I 5439>name</I 5440></TT 5441> :</TD 5442><TD 5443WIDTH="80%" 5444ALIGN="LEFT" 5445VALIGN="TOP" 5446> the attribute name</TD 5447></TR 5448><TR 5449><TD 5450WIDTH="20%" 5451ALIGN="RIGHT" 5452VALIGN="TOP" 5453><TT 5454CLASS="PARAMETER" 5455><I 5456>value</I 5457></TT 5458> :</TD 5459><TD 5460WIDTH="80%" 5461ALIGN="LEFT" 5462VALIGN="TOP" 5463> the attribute value</TD 5464></TR 5465><TR 5466><TD 5467WIDTH="20%" 5468ALIGN="RIGHT" 5469VALIGN="TOP" 5470><SPAN 5471CLASS="emphasis" 5472><I 5473CLASS="EMPHASIS" 5474>Returns</I 5475></SPAN 5476> :</TD 5477><TD 5478WIDTH="80%" 5479ALIGN="LEFT" 5480VALIGN="TOP" 5481>a new normalized string if normalization is needed, NULL otherwise 5482the caller must free the returned value.</TD 5483></TR 5484></TBODY 5485></TABLE 5486><P 5487></P 5488></DIV 5489></DIV 5490><HR><DIV 5491CLASS="REFSECT2" 5492><A 5493NAME="AEN9880" 5494></A 5495><H3 5496><A 5497NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE" 5498></A 5499>xmlValidCtxtNormalizeAttributeValue ()</H3 5500><TABLE 5501BORDER="0" 5502BGCOLOR="#D6E8FF" 5503WIDTH="100%" 5504CELLPADDING="6" 5505><TR 5506><TD 5507><PRE 5508CLASS="PROGRAMLISTING" 5509><A 5510HREF="libxml-tree.html#XMLCHAR" 5511>xmlChar</A 5512>* xmlValidCtxtNormalizeAttributeValue 5513 (<A 5514HREF="libxml-valid.html#XMLVALIDCTXTPTR" 5515>xmlValidCtxtPtr</A 5516> ctxt, 5517 <A 5518HREF="libxml-tree.html#XMLDOCPTR" 5519>xmlDocPtr</A 5520> doc, 5521 <A 5522HREF="libxml-tree.html#XMLNODEPTR" 5523>xmlNodePtr</A 5524> elem, 5525 const <A 5526HREF="libxml-tree.html#XMLCHAR" 5527>xmlChar</A 5528> *name, 5529 const <A 5530HREF="libxml-tree.html#XMLCHAR" 5531>xmlChar</A 5532> *value);</PRE 5533></TD 5534></TR 5535></TABLE 5536><P 5537>Does the validation related extra step of the normalization of attribute 5538values:</P 5539><P 5540>If the declared value is not CDATA, then the XML processor must further 5541process the normalized attribute value by discarding any leading and 5542trailing space (<GTKDOCLINK 5543HREF="X20" 5544>x20</GTKDOCLINK 5545>) characters, and by replacing sequences of space 5546(<GTKDOCLINK 5547HREF="X20" 5548>x20</GTKDOCLINK 5549>) characters by single space (<GTKDOCLINK 5550HREF="X20" 5551>x20</GTKDOCLINK 5552>) character.</P 5553><P 5554>Also check VC: Standalone Document Declaration in P32, and update 5555ctxt->valid accordingly</P 5556><P 5557></P 5558><DIV 5559CLASS="INFORMALTABLE" 5560><A 5561NAME="AEN9897"><P 5562></P 5563><TABLE 5564BORDER="0" 5565WIDTH="100%" 5566BGCOLOR="#FFD0D0" 5567CELLSPACING="0" 5568CELLPADDING="4" 5569CLASS="CALSTABLE" 5570><TBODY 5571><TR 5572><TD 5573WIDTH="20%" 5574ALIGN="RIGHT" 5575VALIGN="TOP" 5576><TT 5577CLASS="PARAMETER" 5578><I 5579>ctxt</I 5580></TT 5581> :</TD 5582><TD 5583WIDTH="80%" 5584ALIGN="LEFT" 5585VALIGN="TOP" 5586> the validation context</TD 5587></TR 5588><TR 5589><TD 5590WIDTH="20%" 5591ALIGN="RIGHT" 5592VALIGN="TOP" 5593><TT 5594CLASS="PARAMETER" 5595><I 5596>doc</I 5597></TT 5598> :</TD 5599><TD 5600WIDTH="80%" 5601ALIGN="LEFT" 5602VALIGN="TOP" 5603> the document</TD 5604></TR 5605><TR 5606><TD 5607WIDTH="20%" 5608ALIGN="RIGHT" 5609VALIGN="TOP" 5610><TT 5611CLASS="PARAMETER" 5612><I 5613>elem</I 5614></TT 5615> :</TD 5616><TD 5617WIDTH="80%" 5618ALIGN="LEFT" 5619VALIGN="TOP" 5620> the parent</TD 5621></TR 5622><TR 5623><TD 5624WIDTH="20%" 5625ALIGN="RIGHT" 5626VALIGN="TOP" 5627><TT 5628CLASS="PARAMETER" 5629><I 5630>name</I 5631></TT 5632> :</TD 5633><TD 5634WIDTH="80%" 5635ALIGN="LEFT" 5636VALIGN="TOP" 5637> the attribute name</TD 5638></TR 5639><TR 5640><TD 5641WIDTH="20%" 5642ALIGN="RIGHT" 5643VALIGN="TOP" 5644><TT 5645CLASS="PARAMETER" 5646><I 5647>value</I 5648></TT 5649> :</TD 5650><TD 5651WIDTH="80%" 5652ALIGN="LEFT" 5653VALIGN="TOP" 5654> the attribute value</TD 5655></TR 5656><TR 5657><TD 5658WIDTH="20%" 5659ALIGN="RIGHT" 5660VALIGN="TOP" 5661><SPAN 5662CLASS="emphasis" 5663><I 5664CLASS="EMPHASIS" 5665>Returns</I 5666></SPAN 5667> :</TD 5668><TD 5669WIDTH="80%" 5670ALIGN="LEFT" 5671VALIGN="TOP" 5672>a new normalized string if normalization is needed, NULL otherwise 5673the caller must free the returned value.</TD 5674></TR 5675></TBODY 5676></TABLE 5677><P 5678></P 5679></DIV 5680></DIV 5681><HR><DIV 5682CLASS="REFSECT2" 5683><A 5684NAME="AEN9926" 5685></A 5686><H3 5687><A 5688NAME="XMLVALIDATEATTRIBUTEDECL" 5689></A 5690>xmlValidateAttributeDecl ()</H3 5691><TABLE 5692BORDER="0" 5693BGCOLOR="#D6E8FF" 5694WIDTH="100%" 5695CELLPADDING="6" 5696><TR 5697><TD 5698><PRE 5699CLASS="PROGRAMLISTING" 5700>int xmlValidateAttributeDecl (<A 5701HREF="libxml-valid.html#XMLVALIDCTXTPTR" 5702>xmlValidCtxtPtr</A 5703> ctxt, 5704 <A 5705HREF="libxml-tree.html#XMLDOCPTR" 5706>xmlDocPtr</A 5707> doc, 5708 <A 5709HREF="libxml-tree.html#XMLATTRIBUTEPTR" 5710>xmlAttributePtr</A 5711> attr);</PRE 5712></TD 5713></TR 5714></TABLE 5715><P 5716>Try to validate a single attribute definition 5717basically it does the following checks as described by the 5718XML-1.0 recommendation: 5719- [ VC: Attribute Default Legal ] 5720- [ VC: Enumeration ] 5721- [ VC: ID Attribute Default ]</P 5722><P 5723>The ID/IDREF uniqueness and matching are done separately</P 5724><P 5725></P 5726><DIV 5727CLASS="INFORMALTABLE" 5728><A 5729NAME="AEN9936"><P 5730></P 5731><TABLE 5732BORDER="0" 5733WIDTH="100%" 5734BGCOLOR="#FFD0D0" 5735CELLSPACING="0" 5736CELLPADDING="4" 5737CLASS="CALSTABLE" 5738><TBODY 5739><TR 5740><TD 5741WIDTH="20%" 5742ALIGN="RIGHT" 5743VALIGN="TOP" 5744><TT 5745CLASS="PARAMETER" 5746><I 5747>ctxt</I 5748></TT 5749> :</TD 5750><TD 5751WIDTH="80%" 5752ALIGN="LEFT" 5753VALIGN="TOP" 5754> the validation context</TD 5755></TR 5756><TR 5757><TD 5758WIDTH="20%" 5759ALIGN="RIGHT" 5760VALIGN="TOP" 5761><TT 5762CLASS="PARAMETER" 5763><I 5764>doc</I 5765></TT 5766> :</TD 5767><TD 5768WIDTH="80%" 5769ALIGN="LEFT" 5770VALIGN="TOP" 5771> a document instance</TD 5772></TR 5773><TR 5774><TD 5775WIDTH="20%" 5776ALIGN="RIGHT" 5777VALIGN="TOP" 5778><TT 5779CLASS="PARAMETER" 5780><I 5781>attr</I 5782></TT 5783> :</TD 5784><TD 5785WIDTH="80%" 5786ALIGN="LEFT" 5787VALIGN="TOP" 5788> an attribute definition</TD 5789></TR 5790><TR 5791><TD 5792WIDTH="20%" 5793ALIGN="RIGHT" 5794VALIGN="TOP" 5795><SPAN 5796CLASS="emphasis" 5797><I 5798CLASS="EMPHASIS" 5799>Returns</I 5800></SPAN 5801> :</TD 5802><TD 5803WIDTH="80%" 5804ALIGN="LEFT" 5805VALIGN="TOP" 5806>1 if valid or 0 otherwise</TD 5807></TR 5808></TBODY 5809></TABLE 5810><P 5811></P 5812></DIV 5813></DIV 5814><HR><DIV 5815CLASS="REFSECT2" 5816><A 5817NAME="AEN9957" 5818></A 5819><H3 5820><A 5821NAME="XMLVALIDATEATTRIBUTEVALUE" 5822></A 5823>xmlValidateAttributeValue ()</H3 5824><TABLE 5825BORDER="0" 5826BGCOLOR="#D6E8FF" 5827WIDTH="100%" 5828CELLPADDING="6" 5829><TR 5830><TD 5831><PRE 5832CLASS="PROGRAMLISTING" 5833>int xmlValidateAttributeValue (<A 5834HREF="libxml-tree.html#XMLATTRIBUTETYPE" 5835>xmlAttributeType</A 5836> type, 5837 const <A 5838HREF="libxml-tree.html#XMLCHAR" 5839>xmlChar</A 5840> *value);</PRE 5841></TD 5842></TR 5843></TABLE 5844><P 5845>Validate that the given attribute value match the proper production</P 5846><P 5847>[ VC: ID ] 5848Values of type ID must match the Name production....</P 5849><P 5850>[ VC: IDREF ] 5851Values of type IDREF must match the Name production, and values 5852of type IDREFS must match Names ...</P 5853><P 5854>[ VC: Entity Name ] 5855Values of type ENTITY must match the Name production, values 5856of type ENTITIES must match Names ...</P 5857><P 5858>[ VC: Name Token ] 5859Values of type NMTOKEN must match the Nmtoken production; values 5860of type NMTOKENS must match Nmtokens.</P 5861><P 5862></P 5863><DIV 5864CLASS="INFORMALTABLE" 5865><A 5866NAME="AEN9969"><P 5867></P 5868><TABLE 5869BORDER="0" 5870WIDTH="100%" 5871BGCOLOR="#FFD0D0" 5872CELLSPACING="0" 5873CELLPADDING="4" 5874CLASS="CALSTABLE" 5875><TBODY 5876><TR 5877><TD 5878WIDTH="20%" 5879ALIGN="RIGHT" 5880VALIGN="TOP" 5881><TT 5882CLASS="PARAMETER" 5883><I 5884>type</I 5885></TT 5886> :</TD 5887><TD 5888WIDTH="80%" 5889ALIGN="LEFT" 5890VALIGN="TOP" 5891> an attribute type</TD 5892></TR 5893><TR 5894><TD 5895WIDTH="20%" 5896ALIGN="RIGHT" 5897VALIGN="TOP" 5898><TT 5899CLASS="PARAMETER" 5900><I 5901>value</I 5902></TT 5903> :</TD 5904><TD 5905WIDTH="80%" 5906ALIGN="LEFT" 5907VALIGN="TOP" 5908> an attribute value</TD 5909></TR 5910><TR 5911><TD 5912WIDTH="20%" 5913ALIGN="RIGHT" 5914VALIGN="TOP" 5915><SPAN 5916CLASS="emphasis" 5917><I 5918CLASS="EMPHASIS" 5919>Returns</I 5920></SPAN 5921> :</TD 5922><TD 5923WIDTH="80%" 5924ALIGN="LEFT" 5925VALIGN="TOP" 5926>1 if valid or 0 otherwise</TD 5927></TR 5928></TBODY 5929></TABLE 5930><P 5931></P 5932></DIV 5933></DIV 5934><HR><DIV 5935CLASS="REFSECT2" 5936><A 5937NAME="AEN9986" 5938></A 5939><H3 5940><A 5941NAME="XMLVALIDATENOTATIONDECL" 5942></A 5943>xmlValidateNotationDecl ()</H3 5944><TABLE 5945BORDER="0" 5946BGCOLOR="#D6E8FF" 5947WIDTH="100%" 5948CELLPADDING="6" 5949><TR 5950><TD 5951><PRE 5952CLASS="PROGRAMLISTING" 5953>int xmlValidateNotationDecl (<A 5954HREF="libxml-valid.html#XMLVALIDCTXTPTR" 5955>xmlValidCtxtPtr</A 5956> ctxt, 5957 <A 5958HREF="libxml-tree.html#XMLDOCPTR" 5959>xmlDocPtr</A 5960> doc, 5961 <A 5962HREF="libxml-tree.html#XMLNOTATIONPTR" 5963>xmlNotationPtr</A 5964> nota);</PRE 5965></TD 5966></TR 5967></TABLE 5968><P 5969>Try to validate a single notation definition 5970basically it does the following checks as described by the 5971XML-1.0 recommendation: 5972- it seems that no validity constraint exists on notation declarations 5973But this function get called anyway ...</P 5974><P 5975></P 5976><DIV 5977CLASS="INFORMALTABLE" 5978><A 5979NAME="AEN9995"><P 5980></P 5981><TABLE 5982BORDER="0" 5983WIDTH="100%" 5984BGCOLOR="#FFD0D0" 5985CELLSPACING="0" 5986CELLPADDING="4" 5987CLASS="CALSTABLE" 5988><TBODY 5989><TR 5990><TD 5991WIDTH="20%" 5992ALIGN="RIGHT" 5993VALIGN="TOP" 5994><TT 5995CLASS="PARAMETER" 5996><I 5997>ctxt</I 5998></TT 5999> :</TD 6000><TD 6001WIDTH="80%" 6002ALIGN="LEFT" 6003VALIGN="TOP" 6004> the validation context</TD 6005></TR 6006><TR 6007><TD 6008WIDTH="20%" 6009ALIGN="RIGHT" 6010VALIGN="TOP" 6011><TT 6012CLASS="PARAMETER" 6013><I 6014>doc</I 6015></TT 6016> :</TD 6017><TD 6018WIDTH="80%" 6019ALIGN="LEFT" 6020VALIGN="TOP" 6021> a document instance</TD 6022></TR 6023><TR 6024><TD 6025WIDTH="20%" 6026ALIGN="RIGHT" 6027VALIGN="TOP" 6028><TT 6029CLASS="PARAMETER" 6030><I 6031>nota</I 6032></TT 6033> :</TD 6034><TD 6035WIDTH="80%" 6036ALIGN="LEFT" 6037VALIGN="TOP" 6038> a notation definition</TD 6039></TR 6040><TR 6041><TD 6042WIDTH="20%" 6043ALIGN="RIGHT" 6044VALIGN="TOP" 6045><SPAN 6046CLASS="emphasis" 6047><I 6048CLASS="EMPHASIS" 6049>Returns</I 6050></SPAN 6051> :</TD 6052><TD 6053WIDTH="80%" 6054ALIGN="LEFT" 6055VALIGN="TOP" 6056>1 if valid or 0 otherwise</TD 6057></TR 6058></TBODY 6059></TABLE 6060><P 6061></P 6062></DIV 6063></DIV 6064><HR><DIV 6065CLASS="REFSECT2" 6066><A 6067NAME="AEN10016" 6068></A 6069><H3 6070><A 6071NAME="XMLVALIDATEDTD" 6072></A 6073>xmlValidateDtd ()</H3 6074><TABLE 6075BORDER="0" 6076BGCOLOR="#D6E8FF" 6077WIDTH="100%" 6078CELLPADDING="6" 6079><TR 6080><TD 6081><PRE 6082CLASS="PROGRAMLISTING" 6083>int xmlValidateDtd (<A 6084HREF="libxml-valid.html#XMLVALIDCTXTPTR" 6085>xmlValidCtxtPtr</A 6086> ctxt, 6087 <A 6088HREF="libxml-tree.html#XMLDOCPTR" 6089>xmlDocPtr</A 6090> doc, 6091 <A 6092HREF="libxml-tree.html#XMLDTDPTR" 6093>xmlDtdPtr</A 6094> dtd);</PRE 6095></TD 6096></TR 6097></TABLE 6098><P 6099>Try to validate the document against the dtd instance</P 6100><P 6101>basically it does check all the definitions in the DtD.</P 6102><P 6103></P 6104><DIV 6105CLASS="INFORMALTABLE" 6106><A 6107NAME="AEN10026"><P 6108></P 6109><TABLE 6110BORDER="0" 6111WIDTH="100%" 6112BGCOLOR="#FFD0D0" 6113CELLSPACING="0" 6114CELLPADDING="4" 6115CLASS="CALSTABLE" 6116><TBODY 6117><TR 6118><TD 6119WIDTH="20%" 6120ALIGN="RIGHT" 6121VALIGN="TOP" 6122><TT 6123CLASS="PARAMETER" 6124><I 6125>ctxt</I 6126></TT 6127> :</TD 6128><TD 6129WIDTH="80%" 6130ALIGN="LEFT" 6131VALIGN="TOP" 6132> the validation context</TD 6133></TR 6134><TR 6135><TD 6136WIDTH="20%" 6137ALIGN="RIGHT" 6138VALIGN="TOP" 6139><TT 6140CLASS="PARAMETER" 6141><I 6142>doc</I 6143></TT 6144> :</TD 6145><TD 6146WIDTH="80%" 6147ALIGN="LEFT" 6148VALIGN="TOP" 6149> a document instance</TD 6150></TR 6151><TR 6152><TD 6153WIDTH="20%" 6154ALIGN="RIGHT" 6155VALIGN="TOP" 6156><TT 6157CLASS="PARAMETER" 6158><I 6159>dtd</I 6160></TT 6161> :</TD 6162><TD 6163WIDTH="80%" 6164ALIGN="LEFT" 6165VALIGN="TOP" 6166> a dtd instance</TD 6167></TR 6168><TR 6169><TD 6170WIDTH="20%" 6171ALIGN="RIGHT" 6172VALIGN="TOP" 6173><SPAN 6174CLASS="emphasis" 6175><I 6176CLASS="EMPHASIS" 6177>Returns</I 6178></SPAN 6179> :</TD 6180><TD 6181WIDTH="80%" 6182ALIGN="LEFT" 6183VALIGN="TOP" 6184>1 if valid or 0 otherwise</TD 6185></TR 6186></TBODY 6187></TABLE 6188><P 6189></P 6190></DIV 6191></DIV 6192><HR><DIV 6193CLASS="REFSECT2" 6194><A 6195NAME="AEN10047" 6196></A 6197><H3 6198><A 6199NAME="XMLVALIDATEDTDFINAL" 6200></A 6201>xmlValidateDtdFinal ()</H3 6202><TABLE 6203BORDER="0" 6204BGCOLOR="#D6E8FF" 6205WIDTH="100%" 6206CELLPADDING="6" 6207><TR 6208><TD 6209><PRE 6210CLASS="PROGRAMLISTING" 6211>int xmlValidateDtdFinal (<A 6212HREF="libxml-valid.html#XMLVALIDCTXTPTR" 6213>xmlValidCtxtPtr</A 6214> ctxt, 6215 <A 6216HREF="libxml-tree.html#XMLDOCPTR" 6217>xmlDocPtr</A 6218> doc);</PRE 6219></TD 6220></TR 6221></TABLE 6222><P 6223>Does the final step for the dtds validation once all the 6224subsets have been parsed</P 6225><P 6226>basically it does the following checks described by the XML Rec 6227- check that ENTITY and ENTITIES type attributes default or 6228possible values matches one of the defined entities. 6229- check that NOTATION type attributes default or 6230possible values matches one of the defined notations.</P 6231><P 6232></P 6233><DIV 6234CLASS="INFORMALTABLE" 6235><A 6236NAME="AEN10056"><P 6237></P 6238><TABLE 6239BORDER="0" 6240WIDTH="100%" 6241BGCOLOR="#FFD0D0" 6242CELLSPACING="0" 6243CELLPADDING="4" 6244CLASS="CALSTABLE" 6245><TBODY 6246><TR 6247><TD 6248WIDTH="20%" 6249ALIGN="RIGHT" 6250VALIGN="TOP" 6251><TT 6252CLASS="PARAMETER" 6253><I 6254>ctxt</I 6255></TT 6256> :</TD 6257><TD 6258WIDTH="80%" 6259ALIGN="LEFT" 6260VALIGN="TOP" 6261> the validation context</TD 6262></TR 6263><TR 6264><TD 6265WIDTH="20%" 6266ALIGN="RIGHT" 6267VALIGN="TOP" 6268><TT 6269CLASS="PARAMETER" 6270><I 6271>doc</I 6272></TT 6273> :</TD 6274><TD 6275WIDTH="80%" 6276ALIGN="LEFT" 6277VALIGN="TOP" 6278> a document instance</TD 6279></TR 6280><TR 6281><TD 6282WIDTH="20%" 6283ALIGN="RIGHT" 6284VALIGN="TOP" 6285><SPAN 6286CLASS="emphasis" 6287><I 6288CLASS="EMPHASIS" 6289>Returns</I 6290></SPAN 6291> :</TD 6292><TD 6293WIDTH="80%" 6294ALIGN="LEFT" 6295VALIGN="TOP" 6296>1 if valid or 0 if invalid and -1 if not well-formed</TD 6297></TR 6298></TBODY 6299></TABLE 6300><P 6301></P 6302></DIV 6303></DIV 6304><HR><DIV 6305CLASS="REFSECT2" 6306><A 6307NAME="AEN10073" 6308></A 6309><H3 6310><A 6311NAME="XMLVALIDATEDOCUMENT" 6312></A 6313>xmlValidateDocument ()</H3 6314><TABLE 6315BORDER="0" 6316BGCOLOR="#D6E8FF" 6317WIDTH="100%" 6318CELLPADDING="6" 6319><TR 6320><TD 6321><PRE 6322CLASS="PROGRAMLISTING" 6323>int xmlValidateDocument (<A 6324HREF="libxml-valid.html#XMLVALIDCTXTPTR" 6325>xmlValidCtxtPtr</A 6326> ctxt, 6327 <A 6328HREF="libxml-tree.html#XMLDOCPTR" 6329>xmlDocPtr</A 6330> doc);</PRE 6331></TD 6332></TR 6333></TABLE 6334><P 6335>Try to validate the document instance</P 6336><P 6337>basically it does the all the checks described by the XML Rec 6338i.e. validates the internal and external subset (if present) 6339and validate the document tree.</P 6340><P 6341></P 6342><DIV 6343CLASS="INFORMALTABLE" 6344><A 6345NAME="AEN10082"><P 6346></P 6347><TABLE 6348BORDER="0" 6349WIDTH="100%" 6350BGCOLOR="#FFD0D0" 6351CELLSPACING="0" 6352CELLPADDING="4" 6353CLASS="CALSTABLE" 6354><TBODY 6355><TR 6356><TD 6357WIDTH="20%" 6358ALIGN="RIGHT" 6359VALIGN="TOP" 6360><TT 6361CLASS="PARAMETER" 6362><I 6363>ctxt</I 6364></TT 6365> :</TD 6366><TD 6367WIDTH="80%" 6368ALIGN="LEFT" 6369VALIGN="TOP" 6370> the validation context</TD 6371></TR 6372><TR 6373><TD 6374WIDTH="20%" 6375ALIGN="RIGHT" 6376VALIGN="TOP" 6377><TT 6378CLASS="PARAMETER" 6379><I 6380>doc</I 6381></TT 6382> :</TD 6383><TD 6384WIDTH="80%" 6385ALIGN="LEFT" 6386VALIGN="TOP" 6387> a document instance</TD 6388></TR 6389><TR 6390><TD 6391WIDTH="20%" 6392ALIGN="RIGHT" 6393VALIGN="TOP" 6394><SPAN 6395CLASS="emphasis" 6396><I 6397CLASS="EMPHASIS" 6398>Returns</I 6399></SPAN 6400> :</TD 6401><TD 6402WIDTH="80%" 6403ALIGN="LEFT" 6404VALIGN="TOP" 6405>1 if valid or 0 otherwise</TD 6406></TR 6407></TBODY 6408></TABLE 6409><P 6410></P 6411></DIV 6412></DIV 6413><HR><DIV 6414CLASS="REFSECT2" 6415><A 6416NAME="AEN10099" 6417></A 6418><H3 6419><A 6420NAME="XMLVALIDATEELEMENT" 6421></A 6422>xmlValidateElement ()</H3 6423><TABLE 6424BORDER="0" 6425BGCOLOR="#D6E8FF" 6426WIDTH="100%" 6427CELLPADDING="6" 6428><TR 6429><TD 6430><PRE 6431CLASS="PROGRAMLISTING" 6432>int xmlValidateElement (<A 6433HREF="libxml-valid.html#XMLVALIDCTXTPTR" 6434>xmlValidCtxtPtr</A 6435> ctxt, 6436 <A 6437HREF="libxml-tree.html#XMLDOCPTR" 6438>xmlDocPtr</A 6439> doc, 6440 <A 6441HREF="libxml-tree.html#XMLNODEPTR" 6442>xmlNodePtr</A 6443> elem);</PRE 6444></TD 6445></TR 6446></TABLE 6447><P 6448>Try to validate the subtree under an element</P 6449><P 6450></P 6451><DIV 6452CLASS="INFORMALTABLE" 6453><A 6454NAME="AEN10108"><P 6455></P 6456><TABLE 6457BORDER="0" 6458WIDTH="100%" 6459BGCOLOR="#FFD0D0" 6460CELLSPACING="0" 6461CELLPADDING="4" 6462CLASS="CALSTABLE" 6463><TBODY 6464><TR 6465><TD 6466WIDTH="20%" 6467ALIGN="RIGHT" 6468VALIGN="TOP" 6469><TT 6470CLASS="PARAMETER" 6471><I 6472>ctxt</I 6473></TT 6474> :</TD 6475><TD 6476WIDTH="80%" 6477ALIGN="LEFT" 6478VALIGN="TOP" 6479> the validation context</TD 6480></TR 6481><TR 6482><TD 6483WIDTH="20%" 6484ALIGN="RIGHT" 6485VALIGN="TOP" 6486><TT 6487CLASS="PARAMETER" 6488><I 6489>doc</I 6490></TT 6491> :</TD 6492><TD 6493WIDTH="80%" 6494ALIGN="LEFT" 6495VALIGN="TOP" 6496> a document instance</TD 6497></TR 6498><TR 6499><TD 6500WIDTH="20%" 6501ALIGN="RIGHT" 6502VALIGN="TOP" 6503><TT 6504CLASS="PARAMETER" 6505><I 6506>elem</I 6507></TT 6508> :</TD 6509><TD 6510WIDTH="80%" 6511ALIGN="LEFT" 6512VALIGN="TOP" 6513> an element instance</TD 6514></TR 6515><TR 6516><TD 6517WIDTH="20%" 6518ALIGN="RIGHT" 6519VALIGN="TOP" 6520><SPAN 6521CLASS="emphasis" 6522><I 6523CLASS="EMPHASIS" 6524>Returns</I 6525></SPAN 6526> :</TD 6527><TD 6528WIDTH="80%" 6529ALIGN="LEFT" 6530VALIGN="TOP" 6531>1 if valid or 0 otherwise</TD 6532></TR 6533></TBODY 6534></TABLE 6535><P 6536></P 6537></DIV 6538></DIV 6539><HR><DIV 6540CLASS="REFSECT2" 6541><A 6542NAME="AEN10129" 6543></A 6544><H3 6545><A 6546NAME="XMLVALIDATEONEELEMENT" 6547></A 6548>xmlValidateOneElement ()</H3 6549><TABLE 6550BORDER="0" 6551BGCOLOR="#D6E8FF" 6552WIDTH="100%" 6553CELLPADDING="6" 6554><TR 6555><TD 6556><PRE 6557CLASS="PROGRAMLISTING" 6558>int xmlValidateOneElement (<A 6559HREF="libxml-valid.html#XMLVALIDCTXTPTR" 6560>xmlValidCtxtPtr</A 6561> ctxt, 6562 <A 6563HREF="libxml-tree.html#XMLDOCPTR" 6564>xmlDocPtr</A 6565> doc, 6566 <A 6567HREF="libxml-tree.html#XMLNODEPTR" 6568>xmlNodePtr</A 6569> elem);</PRE 6570></TD 6571></TR 6572></TABLE 6573><P 6574>Try to validate a single element and it's attributes, 6575basically it does the following checks as described by the 6576XML-1.0 recommendation: 6577- [ VC: Element Valid ] 6578- [ VC: Required Attribute ] 6579Then call <A 6580HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE" 6581>xmlValidateOneAttribute</A 6582>() for each attribute present.</P 6583><P 6584>The ID/IDREF checkings are done separately</P 6585><P 6586></P 6587><DIV 6588CLASS="INFORMALTABLE" 6589><A 6590NAME="AEN10140"><P 6591></P 6592><TABLE 6593BORDER="0" 6594WIDTH="100%" 6595BGCOLOR="#FFD0D0" 6596CELLSPACING="0" 6597CELLPADDING="4" 6598CLASS="CALSTABLE" 6599><TBODY 6600><TR 6601><TD 6602WIDTH="20%" 6603ALIGN="RIGHT" 6604VALIGN="TOP" 6605><TT 6606CLASS="PARAMETER" 6607><I 6608>ctxt</I 6609></TT 6610> :</TD 6611><TD 6612WIDTH="80%" 6613ALIGN="LEFT" 6614VALIGN="TOP" 6615> the validation context</TD 6616></TR 6617><TR 6618><TD 6619WIDTH="20%" 6620ALIGN="RIGHT" 6621VALIGN="TOP" 6622><TT 6623CLASS="PARAMETER" 6624><I 6625>doc</I 6626></TT 6627> :</TD 6628><TD 6629WIDTH="80%" 6630ALIGN="LEFT" 6631VALIGN="TOP" 6632> a document instance</TD 6633></TR 6634><TR 6635><TD 6636WIDTH="20%" 6637ALIGN="RIGHT" 6638VALIGN="TOP" 6639><TT 6640CLASS="PARAMETER" 6641><I 6642>elem</I 6643></TT 6644> :</TD 6645><TD 6646WIDTH="80%" 6647ALIGN="LEFT" 6648VALIGN="TOP" 6649> an element instance</TD 6650></TR 6651><TR 6652><TD 6653WIDTH="20%" 6654ALIGN="RIGHT" 6655VALIGN="TOP" 6656><SPAN 6657CLASS="emphasis" 6658><I 6659CLASS="EMPHASIS" 6660>Returns</I 6661></SPAN 6662> :</TD 6663><TD 6664WIDTH="80%" 6665ALIGN="LEFT" 6666VALIGN="TOP" 6667>1 if valid or 0 otherwise</TD 6668></TR 6669></TBODY 6670></TABLE 6671><P 6672></P 6673></DIV 6674></DIV 6675><HR><DIV 6676CLASS="REFSECT2" 6677><A 6678NAME="AEN10161" 6679></A 6680><H3 6681><A 6682NAME="XMLVALIDATEONEATTRIBUTE" 6683></A 6684>xmlValidateOneAttribute ()</H3 6685><TABLE 6686BORDER="0" 6687BGCOLOR="#D6E8FF" 6688WIDTH="100%" 6689CELLPADDING="6" 6690><TR 6691><TD 6692><PRE 6693CLASS="PROGRAMLISTING" 6694>int xmlValidateOneAttribute (<A 6695HREF="libxml-valid.html#XMLVALIDCTXTPTR" 6696>xmlValidCtxtPtr</A 6697> ctxt, 6698 <A 6699HREF="libxml-tree.html#XMLDOCPTR" 6700>xmlDocPtr</A 6701> doc, 6702 <A 6703HREF="libxml-tree.html#XMLNODEPTR" 6704>xmlNodePtr</A 6705> elem, 6706 <A 6707HREF="libxml-tree.html#XMLATTRPTR" 6708>xmlAttrPtr</A 6709> attr, 6710 const <A 6711HREF="libxml-tree.html#XMLCHAR" 6712>xmlChar</A 6713> *value);</PRE 6714></TD 6715></TR 6716></TABLE 6717><P 6718>Try to validate a single attribute for an element 6719basically it does the following checks as described by the 6720XML-1.0 recommendation: 6721- [ VC: Attribute Value Type ] 6722- [ VC: Fixed Attribute Default ] 6723- [ VC: Entity Name ] 6724- [ VC: Name Token ] 6725- [ VC: ID ] 6726- [ VC: IDREF ] 6727- [ VC: Entity Name ] 6728- [ VC: Notation Attributes ]</P 6729><P 6730>The ID/IDREF uniqueness and matching are done separately</P 6731><P 6732></P 6733><DIV 6734CLASS="INFORMALTABLE" 6735><A 6736NAME="AEN10173"><P 6737></P 6738><TABLE 6739BORDER="0" 6740WIDTH="100%" 6741BGCOLOR="#FFD0D0" 6742CELLSPACING="0" 6743CELLPADDING="4" 6744CLASS="CALSTABLE" 6745><TBODY 6746><TR 6747><TD 6748WIDTH="20%" 6749ALIGN="RIGHT" 6750VALIGN="TOP" 6751><TT 6752CLASS="PARAMETER" 6753><I 6754>ctxt</I 6755></TT 6756> :</TD 6757><TD 6758WIDTH="80%" 6759ALIGN="LEFT" 6760VALIGN="TOP" 6761> the validation context</TD 6762></TR 6763><TR 6764><TD 6765WIDTH="20%" 6766ALIGN="RIGHT" 6767VALIGN="TOP" 6768><TT 6769CLASS="PARAMETER" 6770><I 6771>doc</I 6772></TT 6773> :</TD 6774><TD 6775WIDTH="80%" 6776ALIGN="LEFT" 6777VALIGN="TOP" 6778> a document instance</TD 6779></TR 6780><TR 6781><TD 6782WIDTH="20%" 6783ALIGN="RIGHT" 6784VALIGN="TOP" 6785><TT 6786CLASS="PARAMETER" 6787><I 6788>elem</I 6789></TT 6790> :</TD 6791><TD 6792WIDTH="80%" 6793ALIGN="LEFT" 6794VALIGN="TOP" 6795> an element instance</TD 6796></TR 6797><TR 6798><TD 6799WIDTH="20%" 6800ALIGN="RIGHT" 6801VALIGN="TOP" 6802><TT 6803CLASS="PARAMETER" 6804><I 6805>attr</I 6806></TT 6807> :</TD 6808><TD 6809WIDTH="80%" 6810ALIGN="LEFT" 6811VALIGN="TOP" 6812> an attribute instance</TD 6813></TR 6814><TR 6815><TD 6816WIDTH="20%" 6817ALIGN="RIGHT" 6818VALIGN="TOP" 6819><TT 6820CLASS="PARAMETER" 6821><I 6822>value</I 6823></TT 6824> :</TD 6825><TD 6826WIDTH="80%" 6827ALIGN="LEFT" 6828VALIGN="TOP" 6829> the attribute value (without entities processing)</TD 6830></TR 6831><TR 6832><TD 6833WIDTH="20%" 6834ALIGN="RIGHT" 6835VALIGN="TOP" 6836><SPAN 6837CLASS="emphasis" 6838><I 6839CLASS="EMPHASIS" 6840>Returns</I 6841></SPAN 6842> :</TD 6843><TD 6844WIDTH="80%" 6845ALIGN="LEFT" 6846VALIGN="TOP" 6847>1 if valid or 0 otherwise</TD 6848></TR 6849></TBODY 6850></TABLE 6851><P 6852></P 6853></DIV 6854></DIV 6855><HR><DIV 6856CLASS="REFSECT2" 6857><A 6858NAME="AEN10202" 6859></A 6860><H3 6861><A 6862NAME="XMLVALIDATEONENAMESPACE" 6863></A 6864>xmlValidateOneNamespace ()</H3 6865><TABLE 6866BORDER="0" 6867BGCOLOR="#D6E8FF" 6868WIDTH="100%" 6869CELLPADDING="6" 6870><TR 6871><TD 6872><PRE 6873CLASS="PROGRAMLISTING" 6874>int xmlValidateOneNamespace (<A 6875HREF="libxml-valid.html#XMLVALIDCTXTPTR" 6876>xmlValidCtxtPtr</A 6877> ctxt, 6878 <A 6879HREF="libxml-tree.html#XMLDOCPTR" 6880>xmlDocPtr</A 6881> doc, 6882 <A 6883HREF="libxml-tree.html#XMLNODEPTR" 6884>xmlNodePtr</A 6885> elem, 6886 const <A 6887HREF="libxml-tree.html#XMLCHAR" 6888>xmlChar</A 6889> *prefix, 6890 <A 6891HREF="libxml-tree.html#XMLNSPTR" 6892>xmlNsPtr</A 6893> ns, 6894 const <A 6895HREF="libxml-tree.html#XMLCHAR" 6896>xmlChar</A 6897> *value);</PRE 6898></TD 6899></TR 6900></TABLE 6901><P 6902>Try to validate a single namespace declaration for an element 6903basically it does the following checks as described by the 6904XML-1.0 recommendation: 6905- [ VC: Attribute Value Type ] 6906- [ VC: Fixed Attribute Default ] 6907- [ VC: Entity Name ] 6908- [ VC: Name Token ] 6909- [ VC: ID ] 6910- [ VC: IDREF ] 6911- [ VC: Entity Name ] 6912- [ VC: Notation Attributes ]</P 6913><P 6914>The ID/IDREF uniqueness and matching are done separately</P 6915><P 6916></P 6917><DIV 6918CLASS="INFORMALTABLE" 6919><A 6920NAME="AEN10215"><P 6921></P 6922><TABLE 6923BORDER="0" 6924WIDTH="100%" 6925BGCOLOR="#FFD0D0" 6926CELLSPACING="0" 6927CELLPADDING="4" 6928CLASS="CALSTABLE" 6929><TBODY 6930><TR 6931><TD 6932WIDTH="20%" 6933ALIGN="RIGHT" 6934VALIGN="TOP" 6935><TT 6936CLASS="PARAMETER" 6937><I 6938>ctxt</I 6939></TT 6940> :</TD 6941><TD 6942WIDTH="80%" 6943ALIGN="LEFT" 6944VALIGN="TOP" 6945> the validation context</TD 6946></TR 6947><TR 6948><TD 6949WIDTH="20%" 6950ALIGN="RIGHT" 6951VALIGN="TOP" 6952><TT 6953CLASS="PARAMETER" 6954><I 6955>doc</I 6956></TT 6957> :</TD 6958><TD 6959WIDTH="80%" 6960ALIGN="LEFT" 6961VALIGN="TOP" 6962> a document instance</TD 6963></TR 6964><TR 6965><TD 6966WIDTH="20%" 6967ALIGN="RIGHT" 6968VALIGN="TOP" 6969><TT 6970CLASS="PARAMETER" 6971><I 6972>elem</I 6973></TT 6974> :</TD 6975><TD 6976WIDTH="80%" 6977ALIGN="LEFT" 6978VALIGN="TOP" 6979> an element instance</TD 6980></TR 6981><TR 6982><TD 6983WIDTH="20%" 6984ALIGN="RIGHT" 6985VALIGN="TOP" 6986><TT 6987CLASS="PARAMETER" 6988><I 6989>prefix</I 6990></TT 6991> :</TD 6992><TD 6993WIDTH="80%" 6994ALIGN="LEFT" 6995VALIGN="TOP" 6996> </TD 6997></TR 6998><TR 6999><TD 7000WIDTH="20%" 7001ALIGN="RIGHT" 7002VALIGN="TOP" 7003><TT 7004CLASS="PARAMETER" 7005><I 7006>ns</I 7007></TT 7008> :</TD 7009><TD 7010WIDTH="80%" 7011ALIGN="LEFT" 7012VALIGN="TOP" 7013> an namespace declaration instance</TD 7014></TR 7015><TR 7016><TD 7017WIDTH="20%" 7018ALIGN="RIGHT" 7019VALIGN="TOP" 7020><TT 7021CLASS="PARAMETER" 7022><I 7023>value</I 7024></TT 7025> :</TD 7026><TD 7027WIDTH="80%" 7028ALIGN="LEFT" 7029VALIGN="TOP" 7030> the attribute value (without entities processing)</TD 7031></TR 7032><TR 7033><TD 7034WIDTH="20%" 7035ALIGN="RIGHT" 7036VALIGN="TOP" 7037><SPAN 7038CLASS="emphasis" 7039><I 7040CLASS="EMPHASIS" 7041>Returns</I 7042></SPAN 7043> :</TD 7044><TD 7045WIDTH="80%" 7046ALIGN="LEFT" 7047VALIGN="TOP" 7048>1 if valid or 0 otherwise</TD 7049></TR 7050></TBODY 7051></TABLE 7052><P 7053></P 7054></DIV 7055></DIV 7056><HR><DIV 7057CLASS="REFSECT2" 7058><A 7059NAME="AEN10248" 7060></A 7061><H3 7062><A 7063NAME="XMLVALIDATEDOCUMENTFINAL" 7064></A 7065>xmlValidateDocumentFinal ()</H3 7066><TABLE 7067BORDER="0" 7068BGCOLOR="#D6E8FF" 7069WIDTH="100%" 7070CELLPADDING="6" 7071><TR 7072><TD 7073><PRE 7074CLASS="PROGRAMLISTING" 7075>int xmlValidateDocumentFinal (<A 7076HREF="libxml-valid.html#XMLVALIDCTXTPTR" 7077>xmlValidCtxtPtr</A 7078> ctxt, 7079 <A 7080HREF="libxml-tree.html#XMLDOCPTR" 7081>xmlDocPtr</A 7082> doc);</PRE 7083></TD 7084></TR 7085></TABLE 7086><P 7087>Does the final step for the document validation once all the 7088incremental validation steps have been completed</P 7089><P 7090>basically it does the following checks described by the XML Rec</P 7091><P 7092></P 7093><DIV 7094CLASS="INFORMALTABLE" 7095><A 7096NAME="AEN10257"><P 7097></P 7098><TABLE 7099BORDER="0" 7100WIDTH="100%" 7101BGCOLOR="#FFD0D0" 7102CELLSPACING="0" 7103CELLPADDING="4" 7104CLASS="CALSTABLE" 7105><TBODY 7106><TR 7107><TD 7108WIDTH="20%" 7109ALIGN="RIGHT" 7110VALIGN="TOP" 7111><TT 7112CLASS="PARAMETER" 7113><I 7114>ctxt</I 7115></TT 7116> :</TD 7117><TD 7118WIDTH="80%" 7119ALIGN="LEFT" 7120VALIGN="TOP" 7121> the validation context</TD 7122></TR 7123><TR 7124><TD 7125WIDTH="20%" 7126ALIGN="RIGHT" 7127VALIGN="TOP" 7128><TT 7129CLASS="PARAMETER" 7130><I 7131>doc</I 7132></TT 7133> :</TD 7134><TD 7135WIDTH="80%" 7136ALIGN="LEFT" 7137VALIGN="TOP" 7138> a document instance</TD 7139></TR 7140><TR 7141><TD 7142WIDTH="20%" 7143ALIGN="RIGHT" 7144VALIGN="TOP" 7145><SPAN 7146CLASS="emphasis" 7147><I 7148CLASS="EMPHASIS" 7149>Returns</I 7150></SPAN 7151> :</TD 7152><TD 7153WIDTH="80%" 7154ALIGN="LEFT" 7155VALIGN="TOP" 7156>1 if valid or 0 otherwise</TD 7157></TR 7158></TBODY 7159></TABLE 7160><P 7161></P 7162></DIV 7163></DIV 7164><HR><DIV 7165CLASS="REFSECT2" 7166><A 7167NAME="AEN10274" 7168></A 7169><H3 7170><A 7171NAME="XMLVALIDATENOTATIONUSE" 7172></A 7173>xmlValidateNotationUse ()</H3 7174><TABLE 7175BORDER="0" 7176BGCOLOR="#D6E8FF" 7177WIDTH="100%" 7178CELLPADDING="6" 7179><TR 7180><TD 7181><PRE 7182CLASS="PROGRAMLISTING" 7183>int xmlValidateNotationUse (<A 7184HREF="libxml-valid.html#XMLVALIDCTXTPTR" 7185>xmlValidCtxtPtr</A 7186> ctxt, 7187 <A 7188HREF="libxml-tree.html#XMLDOCPTR" 7189>xmlDocPtr</A 7190> doc, 7191 const <A 7192HREF="libxml-tree.html#XMLCHAR" 7193>xmlChar</A 7194> *notationName);</PRE 7195></TD 7196></TR 7197></TABLE 7198><P 7199>Validate that the given name match a notation declaration. 7200- [ VC: Notation Declared ]</P 7201><P 7202></P 7203><DIV 7204CLASS="INFORMALTABLE" 7205><A 7206NAME="AEN10283"><P 7207></P 7208><TABLE 7209BORDER="0" 7210WIDTH="100%" 7211BGCOLOR="#FFD0D0" 7212CELLSPACING="0" 7213CELLPADDING="4" 7214CLASS="CALSTABLE" 7215><TBODY 7216><TR 7217><TD 7218WIDTH="20%" 7219ALIGN="RIGHT" 7220VALIGN="TOP" 7221><TT 7222CLASS="PARAMETER" 7223><I 7224>ctxt</I 7225></TT 7226> :</TD 7227><TD 7228WIDTH="80%" 7229ALIGN="LEFT" 7230VALIGN="TOP" 7231> the validation context</TD 7232></TR 7233><TR 7234><TD 7235WIDTH="20%" 7236ALIGN="RIGHT" 7237VALIGN="TOP" 7238><TT 7239CLASS="PARAMETER" 7240><I 7241>doc</I 7242></TT 7243> :</TD 7244><TD 7245WIDTH="80%" 7246ALIGN="LEFT" 7247VALIGN="TOP" 7248> the document</TD 7249></TR 7250><TR 7251><TD 7252WIDTH="20%" 7253ALIGN="RIGHT" 7254VALIGN="TOP" 7255><TT 7256CLASS="PARAMETER" 7257><I 7258>notationName</I 7259></TT 7260> :</TD 7261><TD 7262WIDTH="80%" 7263ALIGN="LEFT" 7264VALIGN="TOP" 7265> the notation name to check</TD 7266></TR 7267><TR 7268><TD 7269WIDTH="20%" 7270ALIGN="RIGHT" 7271VALIGN="TOP" 7272><SPAN 7273CLASS="emphasis" 7274><I 7275CLASS="EMPHASIS" 7276>Returns</I 7277></SPAN 7278> :</TD 7279><TD 7280WIDTH="80%" 7281ALIGN="LEFT" 7282VALIGN="TOP" 7283>1 if valid or 0 otherwise</TD 7284></TR 7285></TBODY 7286></TABLE 7287><P 7288></P 7289></DIV 7290></DIV 7291><HR><DIV 7292CLASS="REFSECT2" 7293><A 7294NAME="AEN10304" 7295></A 7296><H3 7297><A 7298NAME="XMLISMIXEDELEMENT" 7299></A 7300>xmlIsMixedElement ()</H3 7301><TABLE 7302BORDER="0" 7303BGCOLOR="#D6E8FF" 7304WIDTH="100%" 7305CELLPADDING="6" 7306><TR 7307><TD 7308><PRE 7309CLASS="PROGRAMLISTING" 7310>int xmlIsMixedElement (<A 7311HREF="libxml-tree.html#XMLDOCPTR" 7312>xmlDocPtr</A 7313> doc, 7314 const <A 7315HREF="libxml-tree.html#XMLCHAR" 7316>xmlChar</A 7317> *name);</PRE 7318></TD 7319></TR 7320></TABLE 7321><P 7322>Search in the DtDs whether an element accept Mixed content (or ANY) 7323basically if it is supposed to accept text childs</P 7324><P 7325></P 7326><DIV 7327CLASS="INFORMALTABLE" 7328><A 7329NAME="AEN10312"><P 7330></P 7331><TABLE 7332BORDER="0" 7333WIDTH="100%" 7334BGCOLOR="#FFD0D0" 7335CELLSPACING="0" 7336CELLPADDING="4" 7337CLASS="CALSTABLE" 7338><TBODY 7339><TR 7340><TD 7341WIDTH="20%" 7342ALIGN="RIGHT" 7343VALIGN="TOP" 7344><TT 7345CLASS="PARAMETER" 7346><I 7347>doc</I 7348></TT 7349> :</TD 7350><TD 7351WIDTH="80%" 7352ALIGN="LEFT" 7353VALIGN="TOP" 7354> the document</TD 7355></TR 7356><TR 7357><TD 7358WIDTH="20%" 7359ALIGN="RIGHT" 7360VALIGN="TOP" 7361><TT 7362CLASS="PARAMETER" 7363><I 7364>name</I 7365></TT 7366> :</TD 7367><TD 7368WIDTH="80%" 7369ALIGN="LEFT" 7370VALIGN="TOP" 7371> the element name</TD 7372></TR 7373><TR 7374><TD 7375WIDTH="20%" 7376ALIGN="RIGHT" 7377VALIGN="TOP" 7378><SPAN 7379CLASS="emphasis" 7380><I 7381CLASS="EMPHASIS" 7382>Returns</I 7383></SPAN 7384> :</TD 7385><TD 7386WIDTH="80%" 7387ALIGN="LEFT" 7388VALIGN="TOP" 7389>0 if no, 1 if yes, and -1 if no element description is available</TD 7390></TR 7391></TBODY 7392></TABLE 7393><P 7394></P 7395></DIV 7396></DIV 7397><HR><DIV 7398CLASS="REFSECT2" 7399><A 7400NAME="AEN10329" 7401></A 7402><H3 7403><A 7404NAME="XMLGETDTDATTRDESC" 7405></A 7406>xmlGetDtdAttrDesc ()</H3 7407><TABLE 7408BORDER="0" 7409BGCOLOR="#D6E8FF" 7410WIDTH="100%" 7411CELLPADDING="6" 7412><TR 7413><TD 7414><PRE 7415CLASS="PROGRAMLISTING" 7416><A 7417HREF="libxml-tree.html#XMLATTRIBUTEPTR" 7418>xmlAttributePtr</A 7419> xmlGetDtdAttrDesc (<A 7420HREF="libxml-tree.html#XMLDTDPTR" 7421>xmlDtdPtr</A 7422> dtd, 7423 const <A 7424HREF="libxml-tree.html#XMLCHAR" 7425>xmlChar</A 7426> *elem, 7427 const <A 7428HREF="libxml-tree.html#XMLCHAR" 7429>xmlChar</A 7430> *name);</PRE 7431></TD 7432></TR 7433></TABLE 7434><P 7435>Search the DTD for the description of this attribute on 7436this element.</P 7437><P 7438></P 7439><DIV 7440CLASS="INFORMALTABLE" 7441><A 7442NAME="AEN10339"><P 7443></P 7444><TABLE 7445BORDER="0" 7446WIDTH="100%" 7447BGCOLOR="#FFD0D0" 7448CELLSPACING="0" 7449CELLPADDING="4" 7450CLASS="CALSTABLE" 7451><TBODY 7452><TR 7453><TD 7454WIDTH="20%" 7455ALIGN="RIGHT" 7456VALIGN="TOP" 7457><TT 7458CLASS="PARAMETER" 7459><I 7460>dtd</I 7461></TT 7462> :</TD 7463><TD 7464WIDTH="80%" 7465ALIGN="LEFT" 7466VALIGN="TOP" 7467> a pointer to the DtD to search</TD 7468></TR 7469><TR 7470><TD 7471WIDTH="20%" 7472ALIGN="RIGHT" 7473VALIGN="TOP" 7474><TT 7475CLASS="PARAMETER" 7476><I 7477>elem</I 7478></TT 7479> :</TD 7480><TD 7481WIDTH="80%" 7482ALIGN="LEFT" 7483VALIGN="TOP" 7484> the element name</TD 7485></TR 7486><TR 7487><TD 7488WIDTH="20%" 7489ALIGN="RIGHT" 7490VALIGN="TOP" 7491><TT 7492CLASS="PARAMETER" 7493><I 7494>name</I 7495></TT 7496> :</TD 7497><TD 7498WIDTH="80%" 7499ALIGN="LEFT" 7500VALIGN="TOP" 7501> the attribute name</TD 7502></TR 7503><TR 7504><TD 7505WIDTH="20%" 7506ALIGN="RIGHT" 7507VALIGN="TOP" 7508><SPAN 7509CLASS="emphasis" 7510><I 7511CLASS="EMPHASIS" 7512>Returns</I 7513></SPAN 7514> :</TD 7515><TD 7516WIDTH="80%" 7517ALIGN="LEFT" 7518VALIGN="TOP" 7519>the xmlAttributePtr if found or NULL</TD 7520></TR 7521></TBODY 7522></TABLE 7523><P 7524></P 7525></DIV 7526></DIV 7527><HR><DIV 7528CLASS="REFSECT2" 7529><A 7530NAME="AEN10360" 7531></A 7532><H3 7533><A 7534NAME="XMLGETDTDQATTRDESC" 7535></A 7536>xmlGetDtdQAttrDesc ()</H3 7537><TABLE 7538BORDER="0" 7539BGCOLOR="#D6E8FF" 7540WIDTH="100%" 7541CELLPADDING="6" 7542><TR 7543><TD 7544><PRE 7545CLASS="PROGRAMLISTING" 7546><A 7547HREF="libxml-tree.html#XMLATTRIBUTEPTR" 7548>xmlAttributePtr</A 7549> xmlGetDtdQAttrDesc (<A 7550HREF="libxml-tree.html#XMLDTDPTR" 7551>xmlDtdPtr</A 7552> dtd, 7553 const <A 7554HREF="libxml-tree.html#XMLCHAR" 7555>xmlChar</A 7556> *elem, 7557 const <A 7558HREF="libxml-tree.html#XMLCHAR" 7559>xmlChar</A 7560> *name, 7561 const <A 7562HREF="libxml-tree.html#XMLCHAR" 7563>xmlChar</A 7564> *prefix);</PRE 7565></TD 7566></TR 7567></TABLE 7568><P 7569>Search the DTD for the description of this qualified attribute on 7570this element.</P 7571><P 7572></P 7573><DIV 7574CLASS="INFORMALTABLE" 7575><A 7576NAME="AEN10371"><P 7577></P 7578><TABLE 7579BORDER="0" 7580WIDTH="100%" 7581BGCOLOR="#FFD0D0" 7582CELLSPACING="0" 7583CELLPADDING="4" 7584CLASS="CALSTABLE" 7585><TBODY 7586><TR 7587><TD 7588WIDTH="20%" 7589ALIGN="RIGHT" 7590VALIGN="TOP" 7591><TT 7592CLASS="PARAMETER" 7593><I 7594>dtd</I 7595></TT 7596> :</TD 7597><TD 7598WIDTH="80%" 7599ALIGN="LEFT" 7600VALIGN="TOP" 7601> a pointer to the DtD to search</TD 7602></TR 7603><TR 7604><TD 7605WIDTH="20%" 7606ALIGN="RIGHT" 7607VALIGN="TOP" 7608><TT 7609CLASS="PARAMETER" 7610><I 7611>elem</I 7612></TT 7613> :</TD 7614><TD 7615WIDTH="80%" 7616ALIGN="LEFT" 7617VALIGN="TOP" 7618> the element name</TD 7619></TR 7620><TR 7621><TD 7622WIDTH="20%" 7623ALIGN="RIGHT" 7624VALIGN="TOP" 7625><TT 7626CLASS="PARAMETER" 7627><I 7628>name</I 7629></TT 7630> :</TD 7631><TD 7632WIDTH="80%" 7633ALIGN="LEFT" 7634VALIGN="TOP" 7635> the attribute name</TD 7636></TR 7637><TR 7638><TD 7639WIDTH="20%" 7640ALIGN="RIGHT" 7641VALIGN="TOP" 7642><TT 7643CLASS="PARAMETER" 7644><I 7645>prefix</I 7646></TT 7647> :</TD 7648><TD 7649WIDTH="80%" 7650ALIGN="LEFT" 7651VALIGN="TOP" 7652> the attribute namespace prefix</TD 7653></TR 7654><TR 7655><TD 7656WIDTH="20%" 7657ALIGN="RIGHT" 7658VALIGN="TOP" 7659><SPAN 7660CLASS="emphasis" 7661><I 7662CLASS="EMPHASIS" 7663>Returns</I 7664></SPAN 7665> :</TD 7666><TD 7667WIDTH="80%" 7668ALIGN="LEFT" 7669VALIGN="TOP" 7670>the xmlAttributePtr if found or NULL</TD 7671></TR 7672></TBODY 7673></TABLE 7674><P 7675></P 7676></DIV 7677></DIV 7678><HR><DIV 7679CLASS="REFSECT2" 7680><A 7681NAME="AEN10396" 7682></A 7683><H3 7684><A 7685NAME="XMLGETDTDNOTATIONDESC" 7686></A 7687>xmlGetDtdNotationDesc ()</H3 7688><TABLE 7689BORDER="0" 7690BGCOLOR="#D6E8FF" 7691WIDTH="100%" 7692CELLPADDING="6" 7693><TR 7694><TD 7695><PRE 7696CLASS="PROGRAMLISTING" 7697><A 7698HREF="libxml-tree.html#XMLNOTATIONPTR" 7699>xmlNotationPtr</A 7700> xmlGetDtdNotationDesc (<A 7701HREF="libxml-tree.html#XMLDTDPTR" 7702>xmlDtdPtr</A 7703> dtd, 7704 const <A 7705HREF="libxml-tree.html#XMLCHAR" 7706>xmlChar</A 7707> *name);</PRE 7708></TD 7709></TR 7710></TABLE 7711><P 7712>Search the DTD for the description of this notation</P 7713><P 7714></P 7715><DIV 7716CLASS="INFORMALTABLE" 7717><A 7718NAME="AEN10405"><P 7719></P 7720><TABLE 7721BORDER="0" 7722WIDTH="100%" 7723BGCOLOR="#FFD0D0" 7724CELLSPACING="0" 7725CELLPADDING="4" 7726CLASS="CALSTABLE" 7727><TBODY 7728><TR 7729><TD 7730WIDTH="20%" 7731ALIGN="RIGHT" 7732VALIGN="TOP" 7733><TT 7734CLASS="PARAMETER" 7735><I 7736>dtd</I 7737></TT 7738> :</TD 7739><TD 7740WIDTH="80%" 7741ALIGN="LEFT" 7742VALIGN="TOP" 7743> a pointer to the DtD to search</TD 7744></TR 7745><TR 7746><TD 7747WIDTH="20%" 7748ALIGN="RIGHT" 7749VALIGN="TOP" 7750><TT 7751CLASS="PARAMETER" 7752><I 7753>name</I 7754></TT 7755> :</TD 7756><TD 7757WIDTH="80%" 7758ALIGN="LEFT" 7759VALIGN="TOP" 7760> the notation name</TD 7761></TR 7762><TR 7763><TD 7764WIDTH="20%" 7765ALIGN="RIGHT" 7766VALIGN="TOP" 7767><SPAN 7768CLASS="emphasis" 7769><I 7770CLASS="EMPHASIS" 7771>Returns</I 7772></SPAN 7773> :</TD 7774><TD 7775WIDTH="80%" 7776ALIGN="LEFT" 7777VALIGN="TOP" 7778>the xmlNotationPtr if found or NULL</TD 7779></TR 7780></TBODY 7781></TABLE 7782><P 7783></P 7784></DIV 7785></DIV 7786><HR><DIV 7787CLASS="REFSECT2" 7788><A 7789NAME="AEN10422" 7790></A 7791><H3 7792><A 7793NAME="XMLGETDTDQELEMENTDESC" 7794></A 7795>xmlGetDtdQElementDesc ()</H3 7796><TABLE 7797BORDER="0" 7798BGCOLOR="#D6E8FF" 7799WIDTH="100%" 7800CELLPADDING="6" 7801><TR 7802><TD 7803><PRE 7804CLASS="PROGRAMLISTING" 7805><A 7806HREF="libxml-tree.html#XMLELEMENTPTR" 7807>xmlElementPtr</A 7808> xmlGetDtdQElementDesc (<A 7809HREF="libxml-tree.html#XMLDTDPTR" 7810>xmlDtdPtr</A 7811> dtd, 7812 const <A 7813HREF="libxml-tree.html#XMLCHAR" 7814>xmlChar</A 7815> *name, 7816 const <A 7817HREF="libxml-tree.html#XMLCHAR" 7818>xmlChar</A 7819> *prefix);</PRE 7820></TD 7821></TR 7822></TABLE 7823><P 7824>Search the DTD for the description of this element</P 7825><P 7826></P 7827><DIV 7828CLASS="INFORMALTABLE" 7829><A 7830NAME="AEN10432"><P 7831></P 7832><TABLE 7833BORDER="0" 7834WIDTH="100%" 7835BGCOLOR="#FFD0D0" 7836CELLSPACING="0" 7837CELLPADDING="4" 7838CLASS="CALSTABLE" 7839><TBODY 7840><TR 7841><TD 7842WIDTH="20%" 7843ALIGN="RIGHT" 7844VALIGN="TOP" 7845><TT 7846CLASS="PARAMETER" 7847><I 7848>dtd</I 7849></TT 7850> :</TD 7851><TD 7852WIDTH="80%" 7853ALIGN="LEFT" 7854VALIGN="TOP" 7855> a pointer to the DtD to search</TD 7856></TR 7857><TR 7858><TD 7859WIDTH="20%" 7860ALIGN="RIGHT" 7861VALIGN="TOP" 7862><TT 7863CLASS="PARAMETER" 7864><I 7865>name</I 7866></TT 7867> :</TD 7868><TD 7869WIDTH="80%" 7870ALIGN="LEFT" 7871VALIGN="TOP" 7872> the element name</TD 7873></TR 7874><TR 7875><TD 7876WIDTH="20%" 7877ALIGN="RIGHT" 7878VALIGN="TOP" 7879><TT 7880CLASS="PARAMETER" 7881><I 7882>prefix</I 7883></TT 7884> :</TD 7885><TD 7886WIDTH="80%" 7887ALIGN="LEFT" 7888VALIGN="TOP" 7889> the element namespace prefix</TD 7890></TR 7891><TR 7892><TD 7893WIDTH="20%" 7894ALIGN="RIGHT" 7895VALIGN="TOP" 7896><SPAN 7897CLASS="emphasis" 7898><I 7899CLASS="EMPHASIS" 7900>Returns</I 7901></SPAN 7902> :</TD 7903><TD 7904WIDTH="80%" 7905ALIGN="LEFT" 7906VALIGN="TOP" 7907>the xmlElementPtr if found or NULL</TD 7908></TR 7909></TBODY 7910></TABLE 7911><P 7912></P 7913></DIV 7914></DIV 7915><HR><DIV 7916CLASS="REFSECT2" 7917><A 7918NAME="AEN10453" 7919></A 7920><H3 7921><A 7922NAME="XMLGETDTDELEMENTDESC" 7923></A 7924>xmlGetDtdElementDesc ()</H3 7925><TABLE 7926BORDER="0" 7927BGCOLOR="#D6E8FF" 7928WIDTH="100%" 7929CELLPADDING="6" 7930><TR 7931><TD 7932><PRE 7933CLASS="PROGRAMLISTING" 7934><A 7935HREF="libxml-tree.html#XMLELEMENTPTR" 7936>xmlElementPtr</A 7937> xmlGetDtdElementDesc (<A 7938HREF="libxml-tree.html#XMLDTDPTR" 7939>xmlDtdPtr</A 7940> dtd, 7941 const <A 7942HREF="libxml-tree.html#XMLCHAR" 7943>xmlChar</A 7944> *name);</PRE 7945></TD 7946></TR 7947></TABLE 7948><P 7949>Search the DTD for the description of this element</P 7950><P 7951></P 7952><DIV 7953CLASS="INFORMALTABLE" 7954><A 7955NAME="AEN10462"><P 7956></P 7957><TABLE 7958BORDER="0" 7959WIDTH="100%" 7960BGCOLOR="#FFD0D0" 7961CELLSPACING="0" 7962CELLPADDING="4" 7963CLASS="CALSTABLE" 7964><TBODY 7965><TR 7966><TD 7967WIDTH="20%" 7968ALIGN="RIGHT" 7969VALIGN="TOP" 7970><TT 7971CLASS="PARAMETER" 7972><I 7973>dtd</I 7974></TT 7975> :</TD 7976><TD 7977WIDTH="80%" 7978ALIGN="LEFT" 7979VALIGN="TOP" 7980> a pointer to the DtD to search</TD 7981></TR 7982><TR 7983><TD 7984WIDTH="20%" 7985ALIGN="RIGHT" 7986VALIGN="TOP" 7987><TT 7988CLASS="PARAMETER" 7989><I 7990>name</I 7991></TT 7992> :</TD 7993><TD 7994WIDTH="80%" 7995ALIGN="LEFT" 7996VALIGN="TOP" 7997> the element name</TD 7998></TR 7999><TR 8000><TD 8001WIDTH="20%" 8002ALIGN="RIGHT" 8003VALIGN="TOP" 8004><SPAN 8005CLASS="emphasis" 8006><I 8007CLASS="EMPHASIS" 8008>Returns</I 8009></SPAN 8010> :</TD 8011><TD 8012WIDTH="80%" 8013ALIGN="LEFT" 8014VALIGN="TOP" 8015>the xmlElementPtr if found or NULL</TD 8016></TR 8017></TBODY 8018></TABLE 8019><P 8020></P 8021></DIV 8022></DIV 8023><HR><DIV 8024CLASS="REFSECT2" 8025><A 8026NAME="AEN10479" 8027></A 8028><H3 8029><A 8030NAME="XMLVALIDGETVALIDELEMENTS" 8031></A 8032>xmlValidGetValidElements ()</H3 8033><TABLE 8034BORDER="0" 8035BGCOLOR="#D6E8FF" 8036WIDTH="100%" 8037CELLPADDING="6" 8038><TR 8039><TD 8040><PRE 8041CLASS="PROGRAMLISTING" 8042>int xmlValidGetValidElements (<A 8043HREF="libxml-tree.html#XMLNODE" 8044>xmlNode</A 8045> *prev, 8046 <A 8047HREF="libxml-tree.html#XMLNODE" 8048>xmlNode</A 8049> *next, 8050 const <A 8051HREF="libxml-tree.html#XMLCHAR" 8052>xmlChar</A 8053> **list, 8054 int max);</PRE 8055></TD 8056></TR 8057></TABLE 8058><P 8059>This function returns the list of authorized children to insert 8060within an existing tree while respecting the validity constraints 8061forced by the Dtd. The insertion point is defined using <TT 8062CLASS="PARAMETER" 8063><I 8064>prev</I 8065></TT 8066> and 8067<TT 8068CLASS="PARAMETER" 8069><I 8070>next</I 8071></TT 8072> in the following ways: 8073to insert before 'node': xmlValidGetValidElements(node->prev, node, ... 8074to insert next 'node': xmlValidGetValidElements(node, node->next, ... 8075to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... 8076to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, 8077to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ...</P 8078><P 8079>pointers to the element names are inserted at the beginning of the array 8080and do not need to be freed.</P 8081><P 8082></P 8083><DIV 8084CLASS="INFORMALTABLE" 8085><A 8086NAME="AEN10491"><P 8087></P 8088><TABLE 8089BORDER="0" 8090WIDTH="100%" 8091BGCOLOR="#FFD0D0" 8092CELLSPACING="0" 8093CELLPADDING="4" 8094CLASS="CALSTABLE" 8095><TBODY 8096><TR 8097><TD 8098WIDTH="20%" 8099ALIGN="RIGHT" 8100VALIGN="TOP" 8101><TT 8102CLASS="PARAMETER" 8103><I 8104>prev</I 8105></TT 8106> :</TD 8107><TD 8108WIDTH="80%" 8109ALIGN="LEFT" 8110VALIGN="TOP" 8111> an element to insert after</TD 8112></TR 8113><TR 8114><TD 8115WIDTH="20%" 8116ALIGN="RIGHT" 8117VALIGN="TOP" 8118><TT 8119CLASS="PARAMETER" 8120><I 8121>next</I 8122></TT 8123> :</TD 8124><TD 8125WIDTH="80%" 8126ALIGN="LEFT" 8127VALIGN="TOP" 8128> an element to insert next</TD 8129></TR 8130><TR 8131><TD 8132WIDTH="20%" 8133ALIGN="RIGHT" 8134VALIGN="TOP" 8135><TT 8136CLASS="PARAMETER" 8137><I 8138>list</I 8139></TT 8140> :</TD 8141><TD 8142WIDTH="80%" 8143ALIGN="LEFT" 8144VALIGN="TOP" 8145> an array to store the list of child names</TD 8146></TR 8147><TR 8148><TD 8149WIDTH="20%" 8150ALIGN="RIGHT" 8151VALIGN="TOP" 8152><TT 8153CLASS="PARAMETER" 8154><I 8155>max</I 8156></TT 8157> :</TD 8158><TD 8159WIDTH="80%" 8160ALIGN="LEFT" 8161VALIGN="TOP" 8162> the size of the array</TD 8163></TR 8164><TR 8165><TD 8166WIDTH="20%" 8167ALIGN="RIGHT" 8168VALIGN="TOP" 8169><SPAN 8170CLASS="emphasis" 8171><I 8172CLASS="EMPHASIS" 8173>Returns</I 8174></SPAN 8175> :</TD 8176><TD 8177WIDTH="80%" 8178ALIGN="LEFT" 8179VALIGN="TOP" 8180>the number of element in the list, or -1 in case of error. If 8181the function returns the value <TT 8182CLASS="PARAMETER" 8183><I 8184>max</I 8185></TT 8186> the caller is invited to grow the 8187receiving array and retry.</TD 8188></TR 8189></TBODY 8190></TABLE 8191><P 8192></P 8193></DIV 8194></DIV 8195><HR><DIV 8196CLASS="REFSECT2" 8197><A 8198NAME="AEN10517" 8199></A 8200><H3 8201><A 8202NAME="XMLVALIDGETPOTENTIALCHILDREN" 8203></A 8204>xmlValidGetPotentialChildren ()</H3 8205><TABLE 8206BORDER="0" 8207BGCOLOR="#D6E8FF" 8208WIDTH="100%" 8209CELLPADDING="6" 8210><TR 8211><TD 8212><PRE 8213CLASS="PROGRAMLISTING" 8214>int xmlValidGetPotentialChildren (<A 8215HREF="libxml-tree.html#XMLELEMENTCONTENT" 8216>xmlElementContent</A 8217> *ctree, 8218 const <A 8219HREF="libxml-tree.html#XMLCHAR" 8220>xmlChar</A 8221> **list, 8222 int *len, 8223 int max);</PRE 8224></TD 8225></TR 8226></TABLE 8227><P 8228>Build/extend a list of potential children allowed by the content tree</P 8229><P 8230></P 8231><DIV 8232CLASS="INFORMALTABLE" 8233><A 8234NAME="AEN10525"><P 8235></P 8236><TABLE 8237BORDER="0" 8238WIDTH="100%" 8239BGCOLOR="#FFD0D0" 8240CELLSPACING="0" 8241CELLPADDING="4" 8242CLASS="CALSTABLE" 8243><TBODY 8244><TR 8245><TD 8246WIDTH="20%" 8247ALIGN="RIGHT" 8248VALIGN="TOP" 8249><TT 8250CLASS="PARAMETER" 8251><I 8252>ctree</I 8253></TT 8254> :</TD 8255><TD 8256WIDTH="80%" 8257ALIGN="LEFT" 8258VALIGN="TOP" 8259> an element content tree</TD 8260></TR 8261><TR 8262><TD 8263WIDTH="20%" 8264ALIGN="RIGHT" 8265VALIGN="TOP" 8266><TT 8267CLASS="PARAMETER" 8268><I 8269>list</I 8270></TT 8271> :</TD 8272><TD 8273WIDTH="80%" 8274ALIGN="LEFT" 8275VALIGN="TOP" 8276> an array to store the list of child names</TD 8277></TR 8278><TR 8279><TD 8280WIDTH="20%" 8281ALIGN="RIGHT" 8282VALIGN="TOP" 8283><TT 8284CLASS="PARAMETER" 8285><I 8286>len</I 8287></TT 8288> :</TD 8289><TD 8290WIDTH="80%" 8291ALIGN="LEFT" 8292VALIGN="TOP" 8293> a pointer to the number of element in the list</TD 8294></TR 8295><TR 8296><TD 8297WIDTH="20%" 8298ALIGN="RIGHT" 8299VALIGN="TOP" 8300><TT 8301CLASS="PARAMETER" 8302><I 8303>max</I 8304></TT 8305> :</TD 8306><TD 8307WIDTH="80%" 8308ALIGN="LEFT" 8309VALIGN="TOP" 8310> the size of the array</TD 8311></TR 8312><TR 8313><TD 8314WIDTH="20%" 8315ALIGN="RIGHT" 8316VALIGN="TOP" 8317><SPAN 8318CLASS="emphasis" 8319><I 8320CLASS="EMPHASIS" 8321>Returns</I 8322></SPAN 8323> :</TD 8324><TD 8325WIDTH="80%" 8326ALIGN="LEFT" 8327VALIGN="TOP" 8328>the number of element in the list, or -1 in case of error.</TD 8329></TR 8330></TBODY 8331></TABLE 8332><P 8333></P 8334></DIV 8335></DIV 8336><HR><DIV 8337CLASS="REFSECT2" 8338><A 8339NAME="AEN10550" 8340></A 8341><H3 8342><A 8343NAME="XMLVALIDATENAMEVALUE" 8344></A 8345>xmlValidateNameValue ()</H3 8346><TABLE 8347BORDER="0" 8348BGCOLOR="#D6E8FF" 8349WIDTH="100%" 8350CELLPADDING="6" 8351><TR 8352><TD 8353><PRE 8354CLASS="PROGRAMLISTING" 8355>int xmlValidateNameValue (const <A 8356HREF="libxml-tree.html#XMLCHAR" 8357>xmlChar</A 8358> *value);</PRE 8359></TD 8360></TR 8361></TABLE 8362><P 8363>Validate that the given value match Name production</P 8364><P 8365></P 8366><DIV 8367CLASS="INFORMALTABLE" 8368><A 8369NAME="AEN10557"><P 8370></P 8371><TABLE 8372BORDER="0" 8373WIDTH="100%" 8374BGCOLOR="#FFD0D0" 8375CELLSPACING="0" 8376CELLPADDING="4" 8377CLASS="CALSTABLE" 8378><TBODY 8379><TR 8380><TD 8381WIDTH="20%" 8382ALIGN="RIGHT" 8383VALIGN="TOP" 8384><TT 8385CLASS="PARAMETER" 8386><I 8387>value</I 8388></TT 8389> :</TD 8390><TD 8391WIDTH="80%" 8392ALIGN="LEFT" 8393VALIGN="TOP" 8394> an Name value</TD 8395></TR 8396><TR 8397><TD 8398WIDTH="20%" 8399ALIGN="RIGHT" 8400VALIGN="TOP" 8401><SPAN 8402CLASS="emphasis" 8403><I 8404CLASS="EMPHASIS" 8405>Returns</I 8406></SPAN 8407> :</TD 8408><TD 8409WIDTH="80%" 8410ALIGN="LEFT" 8411VALIGN="TOP" 8412>1 if valid or 0 otherwise</TD 8413></TR 8414></TBODY 8415></TABLE 8416><P 8417></P 8418></DIV 8419></DIV 8420><HR><DIV 8421CLASS="REFSECT2" 8422><A 8423NAME="AEN10570" 8424></A 8425><H3 8426><A 8427NAME="XMLVALIDATENAMESVALUE" 8428></A 8429>xmlValidateNamesValue ()</H3 8430><TABLE 8431BORDER="0" 8432BGCOLOR="#D6E8FF" 8433WIDTH="100%" 8434CELLPADDING="6" 8435><TR 8436><TD 8437><PRE 8438CLASS="PROGRAMLISTING" 8439>int xmlValidateNamesValue (const <A 8440HREF="libxml-tree.html#XMLCHAR" 8441>xmlChar</A 8442> *value);</PRE 8443></TD 8444></TR 8445></TABLE 8446><P 8447>Validate that the given value match Names production</P 8448><P 8449></P 8450><DIV 8451CLASS="INFORMALTABLE" 8452><A 8453NAME="AEN10577"><P 8454></P 8455><TABLE 8456BORDER="0" 8457WIDTH="100%" 8458BGCOLOR="#FFD0D0" 8459CELLSPACING="0" 8460CELLPADDING="4" 8461CLASS="CALSTABLE" 8462><TBODY 8463><TR 8464><TD 8465WIDTH="20%" 8466ALIGN="RIGHT" 8467VALIGN="TOP" 8468><TT 8469CLASS="PARAMETER" 8470><I 8471>value</I 8472></TT 8473> :</TD 8474><TD 8475WIDTH="80%" 8476ALIGN="LEFT" 8477VALIGN="TOP" 8478> an Names value</TD 8479></TR 8480><TR 8481><TD 8482WIDTH="20%" 8483ALIGN="RIGHT" 8484VALIGN="TOP" 8485><SPAN 8486CLASS="emphasis" 8487><I 8488CLASS="EMPHASIS" 8489>Returns</I 8490></SPAN 8491> :</TD 8492><TD 8493WIDTH="80%" 8494ALIGN="LEFT" 8495VALIGN="TOP" 8496>1 if valid or 0 otherwise</TD 8497></TR 8498></TBODY 8499></TABLE 8500><P 8501></P 8502></DIV 8503></DIV 8504><HR><DIV 8505CLASS="REFSECT2" 8506><A 8507NAME="AEN10590" 8508></A 8509><H3 8510><A 8511NAME="XMLVALIDATENMTOKENVALUE" 8512></A 8513>xmlValidateNmtokenValue ()</H3 8514><TABLE 8515BORDER="0" 8516BGCOLOR="#D6E8FF" 8517WIDTH="100%" 8518CELLPADDING="6" 8519><TR 8520><TD 8521><PRE 8522CLASS="PROGRAMLISTING" 8523>int xmlValidateNmtokenValue (const <A 8524HREF="libxml-tree.html#XMLCHAR" 8525>xmlChar</A 8526> *value);</PRE 8527></TD 8528></TR 8529></TABLE 8530><P 8531>Validate that the given value match Nmtoken production</P 8532><P 8533>[ VC: Name Token ]</P 8534><P 8535></P 8536><DIV 8537CLASS="INFORMALTABLE" 8538><A 8539NAME="AEN10598"><P 8540></P 8541><TABLE 8542BORDER="0" 8543WIDTH="100%" 8544BGCOLOR="#FFD0D0" 8545CELLSPACING="0" 8546CELLPADDING="4" 8547CLASS="CALSTABLE" 8548><TBODY 8549><TR 8550><TD 8551WIDTH="20%" 8552ALIGN="RIGHT" 8553VALIGN="TOP" 8554><TT 8555CLASS="PARAMETER" 8556><I 8557>value</I 8558></TT 8559> :</TD 8560><TD 8561WIDTH="80%" 8562ALIGN="LEFT" 8563VALIGN="TOP" 8564> an Nmtoken value</TD 8565></TR 8566><TR 8567><TD 8568WIDTH="20%" 8569ALIGN="RIGHT" 8570VALIGN="TOP" 8571><SPAN 8572CLASS="emphasis" 8573><I 8574CLASS="EMPHASIS" 8575>Returns</I 8576></SPAN 8577> :</TD 8578><TD 8579WIDTH="80%" 8580ALIGN="LEFT" 8581VALIGN="TOP" 8582>1 if valid or 0 otherwise</TD 8583></TR 8584></TBODY 8585></TABLE 8586><P 8587></P 8588></DIV 8589></DIV 8590><HR><DIV 8591CLASS="REFSECT2" 8592><A 8593NAME="AEN10611" 8594></A 8595><H3 8596><A 8597NAME="XMLVALIDATENMTOKENSVALUE" 8598></A 8599>xmlValidateNmtokensValue ()</H3 8600><TABLE 8601BORDER="0" 8602BGCOLOR="#D6E8FF" 8603WIDTH="100%" 8604CELLPADDING="6" 8605><TR 8606><TD 8607><PRE 8608CLASS="PROGRAMLISTING" 8609>int xmlValidateNmtokensValue (const <A 8610HREF="libxml-tree.html#XMLCHAR" 8611>xmlChar</A 8612> *value);</PRE 8613></TD 8614></TR 8615></TABLE 8616><P 8617>Validate that the given value match Nmtokens production</P 8618><P 8619>[ VC: Name Token ]</P 8620><P 8621></P 8622><DIV 8623CLASS="INFORMALTABLE" 8624><A 8625NAME="AEN10619"><P 8626></P 8627><TABLE 8628BORDER="0" 8629WIDTH="100%" 8630BGCOLOR="#FFD0D0" 8631CELLSPACING="0" 8632CELLPADDING="4" 8633CLASS="CALSTABLE" 8634><TBODY 8635><TR 8636><TD 8637WIDTH="20%" 8638ALIGN="RIGHT" 8639VALIGN="TOP" 8640><TT 8641CLASS="PARAMETER" 8642><I 8643>value</I 8644></TT 8645> :</TD 8646><TD 8647WIDTH="80%" 8648ALIGN="LEFT" 8649VALIGN="TOP" 8650> an Nmtokens value</TD 8651></TR 8652><TR 8653><TD 8654WIDTH="20%" 8655ALIGN="RIGHT" 8656VALIGN="TOP" 8657><SPAN 8658CLASS="emphasis" 8659><I 8660CLASS="EMPHASIS" 8661>Returns</I 8662></SPAN 8663> :</TD 8664><TD 8665WIDTH="80%" 8666ALIGN="LEFT" 8667VALIGN="TOP" 8668>1 if valid or 0 otherwise</TD 8669></TR 8670></TBODY 8671></TABLE 8672><P 8673></P 8674></DIV 8675></DIV 8676><HR><DIV 8677CLASS="REFSECT2" 8678><A 8679NAME="AEN10632" 8680></A 8681><H3 8682><A 8683NAME="XMLVALIDBUILDCONTENTMODEL" 8684></A 8685>xmlValidBuildContentModel ()</H3 8686><TABLE 8687BORDER="0" 8688BGCOLOR="#D6E8FF" 8689WIDTH="100%" 8690CELLPADDING="6" 8691><TR 8692><TD 8693><PRE 8694CLASS="PROGRAMLISTING" 8695>int xmlValidBuildContentModel (<A 8696HREF="libxml-valid.html#XMLVALIDCTXTPTR" 8697>xmlValidCtxtPtr</A 8698> ctxt, 8699 <A 8700HREF="libxml-tree.html#XMLELEMENTPTR" 8701>xmlElementPtr</A 8702> elem);</PRE 8703></TD 8704></TR 8705></TABLE 8706><P 8707>(Re)Build the automata associated to the content model of this 8708element</P 8709><P 8710></P 8711><DIV 8712CLASS="INFORMALTABLE" 8713><A 8714NAME="AEN10640"><P 8715></P 8716><TABLE 8717BORDER="0" 8718WIDTH="100%" 8719BGCOLOR="#FFD0D0" 8720CELLSPACING="0" 8721CELLPADDING="4" 8722CLASS="CALSTABLE" 8723><TBODY 8724><TR 8725><TD 8726WIDTH="20%" 8727ALIGN="RIGHT" 8728VALIGN="TOP" 8729><TT 8730CLASS="PARAMETER" 8731><I 8732>ctxt</I 8733></TT 8734> :</TD 8735><TD 8736WIDTH="80%" 8737ALIGN="LEFT" 8738VALIGN="TOP" 8739> a validation context</TD 8740></TR 8741><TR 8742><TD 8743WIDTH="20%" 8744ALIGN="RIGHT" 8745VALIGN="TOP" 8746><TT 8747CLASS="PARAMETER" 8748><I 8749>elem</I 8750></TT 8751> :</TD 8752><TD 8753WIDTH="80%" 8754ALIGN="LEFT" 8755VALIGN="TOP" 8756> an element declaration node</TD 8757></TR 8758><TR 8759><TD 8760WIDTH="20%" 8761ALIGN="RIGHT" 8762VALIGN="TOP" 8763><SPAN 8764CLASS="emphasis" 8765><I 8766CLASS="EMPHASIS" 8767>Returns</I 8768></SPAN 8769> :</TD 8770><TD 8771WIDTH="80%" 8772ALIGN="LEFT" 8773VALIGN="TOP" 8774>1 in case of success, 0 in case of error</TD 8775></TR 8776></TBODY 8777></TABLE 8778><P 8779></P 8780></DIV 8781></DIV 8782></DIV 8783><DIV 8784CLASS="NAVFOOTER" 8785><BR 8786CLEAR="all"><BR><TABLE 8787WIDTH="100%" 8788BORDER="0" 8789BGCOLOR="#000000" 8790CELLPADDING="1" 8791CELLSPACING="0" 8792><TR 8793><TD 8794WIDTH="25%" 8795BGCOLOR="#C00000" 8796ALIGN="left" 8797><A 8798HREF="libxml-entities.html" 8799><FONT 8800COLOR="#FFFFFF" 8801SIZE="3" 8802><B 8803><<< Previous Page</B 8804></FONT 8805></A 8806></TD 8807><TD 8808WIDTH="25%" 8809BGCOLOR="#0000C0" 8810ALIGN="center" 8811><FONT 8812COLOR="#FFFFFF" 8813SIZE="3" 8814><B 8815><A 8816HREF="book1.html" 8817><FONT 8818COLOR="#FFFFFF" 8819SIZE="3" 8820><B 8821>Home</B 8822></FONT 8823></A 8824></B 8825></FONT 8826></TD 8827><TD 8828WIDTH="25%" 8829BGCOLOR="#00C000" 8830ALIGN="center" 8831><FONT 8832COLOR="#FFFFFF" 8833SIZE="3" 8834><B 8835><A 8836HREF="libxml-lib.html" 8837><FONT 8838COLOR="#FFFFFF" 8839SIZE="3" 8840><B 8841>Up</B 8842></FONT 8843></A 8844></B 8845></FONT 8846></TD 8847><TD 8848WIDTH="25%" 8849BGCOLOR="#C00000" 8850ALIGN="right" 8851><A 8852HREF="libxml-uri.html" 8853><FONT 8854COLOR="#FFFFFF" 8855SIZE="3" 8856><B 8857>Next Page >>></B 8858></FONT 8859></A 8860></TD 8861></TR 8862><TR 8863><TD 8864COLSPAN="2" 8865ALIGN="left" 8866><FONT 8867COLOR="#FFFFFF" 8868SIZE="3" 8869><B 8870>entities</B 8871></FONT 8872></TD 8873><TD 8874COLSPAN="2" 8875ALIGN="right" 8876><FONT 8877COLOR="#FFFFFF" 8878SIZE="3" 8879><B 8880>uri</B 8881></FONT 8882></TD 8883></TR 8884></TABLE 8885></DIV 8886></BODY 8887></HTML 8888>