| <HTML |
| ><HEAD |
| ><TITLE |
| >valid</TITLE |
| ><META |
| NAME="GENERATOR" |
| CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK |
| REL="HOME" |
| TITLE="Gnome XML Library Reference Manual" |
| HREF="book1.html"><LINK |
| REL="UP" |
| TITLE="Libxml Library Reference" |
| HREF="libxml-lib.html"><LINK |
| REL="PREVIOUS" |
| TITLE="entities" |
| HREF="gnome-xml-entities.html"><LINK |
| REL="NEXT" |
| TITLE="uri" |
| HREF="gnome-xml-uri.html"></HEAD |
| ><BODY |
| BGCOLOR="#FFFFFF" |
| TEXT="#000000" |
| ><DIV |
| CLASS="NAVHEADER" |
| ><TABLE |
| WIDTH="100%" |
| BORDER="0" |
| BGCOLOR="#000000" |
| CELLPADDING="1" |
| CELLSPACING="0" |
| ><TR |
| ><TH |
| COLSPAN="4" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="5" |
| >Gnome XML Library Reference Manual</FONT |
| ></TH |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#C00000" |
| ALIGN="left" |
| ><A |
| HREF="gnome-xml-entities.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><<< Previous Page</B |
| ></FONT |
| ></A |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#0000C0" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><A |
| HREF="book1.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Home</B |
| ></FONT |
| ></A |
| ></B |
| ></FONT |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#00C000" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><A |
| HREF="libxml-lib.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Up</B |
| ></FONT |
| ></A |
| ></B |
| ></FONT |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#C00000" |
| ALIGN="right" |
| ><A |
| HREF="gnome-xml-uri.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Next Page >>></B |
| ></FONT |
| ></A |
| ></TD |
| ></TR |
| ></TABLE |
| ></DIV |
| ><H1 |
| >valid</H1 |
| ><DIV |
| CLASS="REFNAMEDIV" |
| ><A |
| NAME="AEN7093" |
| ></A |
| ><H2 |
| >Name</H2 |
| >valid — </DIV |
| ><DIV |
| CLASS="REFSYNOPSISDIV" |
| ><A |
| NAME="AEN7096" |
| ></A |
| ><H2 |
| >Synopsis</H2 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="SYNOPSIS" |
| > |
| |
| void (<A |
| HREF="gnome-xml-valid.html#XMLVALIDITYERRORFUNC" |
| >*xmlValidityErrorFunc</A |
| >) (void *ctx, |
| const char *msg, |
| ...); |
| void (<A |
| HREF="gnome-xml-valid.html#XMLVALIDITYWARNINGFUNC" |
| >*xmlValidityWarningFunc</A |
| >) (void *ctx, |
| const char *msg, |
| ...); |
| struct <A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXT" |
| >xmlValidCtxt</A |
| >; |
| typedef <A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| >; |
| #define <A |
| HREF="gnome-xml-valid.html#XML-MIN-NOTATION-TABLE" |
| >XML_MIN_NOTATION_TABLE</A |
| > |
| struct <A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLE" |
| >xmlNotationTable</A |
| >; |
| typedef <A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| >; |
| #define <A |
| HREF="gnome-xml-valid.html#XML-MIN-ELEMENT-TABLE" |
| >XML_MIN_ELEMENT_TABLE</A |
| > |
| struct <A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLE" |
| >xmlElementTable</A |
| >; |
| typedef <A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| >; |
| #define <A |
| HREF="gnome-xml-valid.html#XML-MIN-ATTRIBUTE-TABLE" |
| >XML_MIN_ATTRIBUTE_TABLE</A |
| > |
| struct <A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLE" |
| >xmlAttributeTable</A |
| >; |
| typedef <A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| >; |
| #define <A |
| HREF="gnome-xml-valid.html#XML-MIN-ID-TABLE" |
| >XML_MIN_ID_TABLE</A |
| > |
| struct <A |
| HREF="gnome-xml-valid.html#XMLIDTABLE" |
| >xmlIDTable</A |
| >; |
| typedef <A |
| HREF="gnome-xml-valid.html#XMLIDTABLEPTR" |
| >xmlIDTablePtr</A |
| >; |
| #define <A |
| HREF="gnome-xml-valid.html#XML-MIN-REF-TABLE" |
| >XML_MIN_REF_TABLE</A |
| > |
| struct <A |
| HREF="gnome-xml-valid.html#XMLREFTABLE" |
| >xmlRefTable</A |
| >; |
| typedef <A |
| HREF="gnome-xml-valid.html#XMLREFTABLEPTR" |
| >xmlRefTablePtr</A |
| >; |
| <A |
| HREF="gnome-xml-tree.html#XMLNOTATIONPTR" |
| >xmlNotationPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL" |
| >xmlAddNotationDecl</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *PublicID, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *SystemID); |
| <A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLCOPYNOTATIONTABLE" |
| >xmlCopyNotationTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLFREENOTATIONTABLE" |
| >xmlFreeNotationTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLDUMPNOTATIONDECL" |
| >xmlDumpNotationDecl</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-tree.html#XMLNOTATIONPTR" |
| >xmlNotationPtr</A |
| > nota); |
| void <A |
| HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE" |
| >xmlDumpNotationTable</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| > table); |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT" |
| >xmlNewElementContent</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE" |
| >xmlElementContentType</A |
| > type); |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT" |
| >xmlCopyElementContent</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > content); |
| void <A |
| HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT" |
| >xmlFreeElementContent</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > cur); |
| void <A |
| HREF="gnome-xml-valid.html#XMLSPRINTFELEMENTCONTENT" |
| >xmlSprintfElementContent</A |
| > (char *buf, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > content, |
| int glob); |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTPTR" |
| >xmlElementPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLADDELEMENTDECL" |
| >xmlAddElementDecl</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL" |
| >xmlElementTypeVal</A |
| > type, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > content); |
| <A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE" |
| >xmlCopyElementTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE" |
| >xmlFreeElementTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE" |
| >xmlDumpElementTable</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLDUMPELEMENTDECL" |
| >xmlDumpElementDecl</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTPTR" |
| >xmlElementPtr</A |
| > elem); |
| <A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLCREATEENUMERATION" |
| >xmlCreateEnumeration</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name); |
| void <A |
| HREF="gnome-xml-valid.html#XMLFREEENUMERATION" |
| >xmlFreeEnumeration</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > cur); |
| <A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLCOPYENUMERATION" |
| >xmlCopyEnumeration</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > cur); |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" |
| >xmlAttributePtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL" |
| >xmlAddAttributeDecl</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *elem, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *ns, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE" |
| >xmlAttributeType</A |
| > type, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT" |
| >xmlAttributeDefault</A |
| > def, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *defaultValue, |
| <A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > tree); |
| <A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE" |
| >xmlCopyAttributeTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE" |
| >xmlFreeAttributeTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE" |
| >xmlDumpAttributeTable</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTEDECL" |
| >xmlDumpAttributeDecl</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" |
| >xmlAttributePtr</A |
| > attr); |
| <A |
| HREF="gnome-xml-tree.html#XMLIDPTR" |
| >xmlIDPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLADDID" |
| >xmlAddID</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr); |
| <A |
| HREF="gnome-xml-valid.html#XMLIDTABLEPTR" |
| >xmlIDTablePtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLCOPYIDTABLE" |
| >xmlCopyIDTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLIDTABLEPTR" |
| >xmlIDTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLFREEIDTABLE" |
| >xmlFreeIDTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLIDTABLEPTR" |
| >xmlIDTablePtr</A |
| > table); |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLGETID" |
| >xmlGetID</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *ID); |
| int <A |
| HREF="gnome-xml-valid.html#XMLISID" |
| >xmlIsID</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr); |
| int <A |
| HREF="gnome-xml-valid.html#XMLREMOVEID" |
| >xmlRemoveID</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr); |
| <A |
| HREF="gnome-xml-tree.html#XMLREFPTR" |
| >xmlRefPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLADDREF" |
| >xmlAddRef</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr); |
| <A |
| HREF="gnome-xml-valid.html#XMLREFTABLEPTR" |
| >xmlRefTablePtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLCOPYREFTABLE" |
| >xmlCopyRefTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLREFTABLEPTR" |
| >xmlRefTablePtr</A |
| > table); |
| void <A |
| HREF="gnome-xml-valid.html#XMLFREEREFTABLE" |
| >xmlFreeRefTable</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLREFTABLEPTR" |
| >xmlRefTablePtr</A |
| > table); |
| int <A |
| HREF="gnome-xml-valid.html#XMLISREF" |
| >xmlIsRef</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr); |
| int <A |
| HREF="gnome-xml-valid.html#XMLREMOVEREF" |
| >xmlRemoveRef</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEROOT" |
| >xmlValidateRoot</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL" |
| >xmlValidateElementDecl</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTPTR" |
| >xmlElementPtr</A |
| > elem); |
| <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| >* <A |
| HREF="gnome-xml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE" |
| >xmlValidNormalizeAttributeValue</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL" |
| >xmlValidateAttributeDecl</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" |
| >xmlAttributePtr</A |
| > attr); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE" |
| >xmlValidateAttributeValue</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE" |
| >xmlAttributeType</A |
| > type, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL" |
| >xmlValidateNotationDecl</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNOTATIONPTR" |
| >xmlNotationPtr</A |
| > nota); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEDTD" |
| >xmlValidateDtd</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEDTDFINAL" |
| >xmlValidateDtdFinal</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT" |
| >xmlValidateDocument</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT" |
| >xmlValidateElement</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT" |
| >xmlValidateOneElement</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE" |
| >xmlValidateOneAttribute</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENTFINAL" |
| >xmlValidateDocumentFinal</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE" |
| >xmlValidateNotationUse</A |
| > (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *notationName); |
| int <A |
| HREF="gnome-xml-valid.html#XMLISMIXEDELEMENT" |
| >xmlIsMixedElement</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name); |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" |
| >xmlAttributePtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLGETDTDATTRDESC" |
| >xmlGetDtdAttrDesc</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *elem, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name); |
| <A |
| HREF="gnome-xml-tree.html#XMLNOTATIONPTR" |
| >xmlNotationPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLGETDTDNOTATIONDESC" |
| >xmlGetDtdNotationDesc</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name); |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTPTR" |
| >xmlElementPtr</A |
| > <A |
| HREF="gnome-xml-valid.html#XMLGETDTDELEMENTDESC" |
| >xmlGetDtdElementDesc</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDGETVALIDELEMENTS" |
| >xmlValidGetValidElements</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLNODE" |
| >xmlNode</A |
| > *prev, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODE" |
| >xmlNode</A |
| > *next, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > **list, |
| int max); |
| int <A |
| HREF="gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN" |
| >xmlValidGetPotentialChildren</A |
| > (<A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENT" |
| >xmlElementContent</A |
| > *ctree, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > **list, |
| int *len, |
| int max);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ></DIV |
| ><DIV |
| CLASS="REFSECT1" |
| ><A |
| NAME="AEN7313" |
| ></A |
| ><H2 |
| >Description</H2 |
| ><P |
| ></P |
| ></DIV |
| ><DIV |
| CLASS="REFSECT1" |
| ><A |
| NAME="AEN7316" |
| ></A |
| ><H2 |
| >Details</H2 |
| ><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7318" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDITYERRORFUNC" |
| ></A |
| >xmlValidityErrorFunc ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void (*xmlValidityErrorFunc) (void *ctx, |
| const char *msg, |
| ...);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctx</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >msg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >...</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7340" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDITYWARNINGFUNC" |
| ></A |
| >xmlValidityWarningFunc ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void (*xmlValidityWarningFunc) (void *ctx, |
| const char *msg, |
| ...);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctx</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >msg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >...</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7362" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDCTXT" |
| ></A |
| >struct xmlValidCtxt</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >struct xmlValidCtxt { |
| void *userData; /* user specific data block */ |
| xmlValidityErrorFunc error; /* the callback in case of errors */ |
| xmlValidityWarningFunc warning; /* the callback in case of warning */ |
| |
| /* Node analysis stack used when validating within entities */ |
| xmlNodePtr node; /* Current parsed Node */ |
| int nodeNr; /* Depth of the parsing stack */ |
| int nodeMax; /* Max depth of the parsing stack */ |
| xmlNodePtr *nodeTab; /* array of nodes */ |
| |
| int finishDtd; /* finished validating the Dtd ? */ |
| };</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7367" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDCTXTPTR" |
| ></A |
| >xmlValidCtxtPtr</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7372" |
| ></A |
| ><H3 |
| ><A |
| NAME="XML-MIN-NOTATION-TABLE" |
| ></A |
| >XML_MIN_NOTATION_TABLE</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define XML_MIN_NOTATION_TABLE 32</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7377" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLNOTATIONTABLE" |
| ></A |
| >struct xmlNotationTable</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >struct xmlNotationTable { |
| int nb_notations; /* number of notations stored */ |
| int max_notations; /* maximum number of notations */ |
| xmlNotationPtr *table; /* the table of attributes */ |
| };</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7382" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLNOTATIONTABLEPTR" |
| ></A |
| >xmlNotationTablePtr</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >typedef xmlNotationTable *xmlNotationTablePtr;</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7387" |
| ></A |
| ><H3 |
| ><A |
| NAME="XML-MIN-ELEMENT-TABLE" |
| ></A |
| >XML_MIN_ELEMENT_TABLE</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define XML_MIN_ELEMENT_TABLE 32</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7392" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLELEMENTTABLE" |
| ></A |
| >struct xmlElementTable</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >struct xmlElementTable { |
| int nb_elements; /* number of elements stored */ |
| int max_elements; /* maximum number of elements */ |
| xmlElementPtr *table; /* the table of elements */ |
| };</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7397" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLELEMENTTABLEPTR" |
| ></A |
| >xmlElementTablePtr</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >typedef xmlElementTable *xmlElementTablePtr;</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7402" |
| ></A |
| ><H3 |
| ><A |
| NAME="XML-MIN-ATTRIBUTE-TABLE" |
| ></A |
| >XML_MIN_ATTRIBUTE_TABLE</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define XML_MIN_ATTRIBUTE_TABLE 32</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7407" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLATTRIBUTETABLE" |
| ></A |
| >struct xmlAttributeTable</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >struct xmlAttributeTable { |
| int nb_attributes; /* number of attributes stored */ |
| int max_attributes; /* maximum number of attributes */ |
| xmlAttributePtr *table; /* the table of attributes */ |
| };</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7412" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLATTRIBUTETABLEPTR" |
| ></A |
| >xmlAttributeTablePtr</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7417" |
| ></A |
| ><H3 |
| ><A |
| NAME="XML-MIN-ID-TABLE" |
| ></A |
| >XML_MIN_ID_TABLE</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define XML_MIN_ID_TABLE 32</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7422" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLIDTABLE" |
| ></A |
| >struct xmlIDTable</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >struct xmlIDTable { |
| int nb_ids; /* number of ids stored */ |
| int max_ids; /* maximum number of ids */ |
| xmlIDPtr *table; /* the table of ids */ |
| };</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7427" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLIDTABLEPTR" |
| ></A |
| >xmlIDTablePtr</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >typedef xmlIDTable *xmlIDTablePtr;</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7432" |
| ></A |
| ><H3 |
| ><A |
| NAME="XML-MIN-REF-TABLE" |
| ></A |
| >XML_MIN_REF_TABLE</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >#define XML_MIN_REF_TABLE 32</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7437" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLREFTABLE" |
| ></A |
| >struct xmlRefTable</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >struct xmlRefTable { |
| int nb_refs; /* number of refs stored */ |
| int max_refs; /* maximum number of refs */ |
| xmlRefPtr *table; /* the table of refs */ |
| };</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7442" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLREFTABLEPTR" |
| ></A |
| >xmlRefTablePtr</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >typedef xmlRefTable *xmlRefTablePtr;</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7447" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLADDNOTATIONDECL" |
| ></A |
| >xmlAddNotationDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLNOTATIONPTR" |
| >xmlNotationPtr</A |
| > xmlAddNotationDecl (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *PublicID, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *SystemID);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Register a new notation declaration</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > pointer to the DTD</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the entity name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >PublicID</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the public identifier or NULL</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >SystemID</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the system identifier or NULL</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >NULL if not, othervise the entity</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7488" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLCOPYNOTATIONTABLE" |
| ></A |
| >xmlCopyNotationTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| > xmlCopyNotationTable (<A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Build a copy of a notation table.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > A notation table</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the new xmlNotationTablePtr or NULL in case of error.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7509" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLFREENOTATIONTABLE" |
| ></A |
| >xmlFreeNotationTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlFreeNotationTable (<A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Deallocate the memory used by an entities hash table.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An notation table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7525" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDUMPNOTATIONDECL" |
| ></A |
| >xmlDumpNotationDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlDumpNotationDecl (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-tree.html#XMLNOTATIONPTR" |
| >xmlNotationPtr</A |
| > nota);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >This will dump the content the notation declaration as an XML DTD definition</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >buf</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the XML buffer output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >nota</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > A notation declaration</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7546" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDUMPNOTATIONTABLE" |
| ></A |
| >xmlDumpNotationTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlDumpNotationTable (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" |
| >xmlNotationTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >This will dump the content of the notation table as an XML DTD definition</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >buf</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the XML buffer output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > A notation table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7567" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLNEWELEMENTCONTENT" |
| ></A |
| >xmlNewElementContent ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > xmlNewElementContent (<A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE" |
| >xmlElementContentType</A |
| > type);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Allocate an element content structure.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the subelement name or NULL</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >type</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the type of element content decl</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >NULL if not, othervise the new element content structure</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7593" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLCOPYELEMENTCONTENT" |
| ></A |
| >xmlCopyElementContent ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > xmlCopyElementContent (<A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > content);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Build a copy of an element content description.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >content</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An element content pointer.</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the new xmlElementContentPtr or NULL in case of error.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7614" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLFREEELEMENTCONTENT" |
| ></A |
| >xmlFreeElementContent ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlFreeElementContent (<A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > cur);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Free an element content structure. This is a recursive call !</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >cur</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element content tree to free</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7630" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLSPRINTFELEMENTCONTENT" |
| ></A |
| >xmlSprintfElementContent ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlSprintfElementContent (char *buf, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > content, |
| int glob);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >This will dump the content of the element content definition |
| Intended just for the debug routine</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >buf</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an output buffer</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >content</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An element table</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >glob</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > 1 if one must print the englobing parenthesis, 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7654" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLADDELEMENTDECL" |
| ></A |
| >xmlAddElementDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLELEMENTPTR" |
| >xmlElementPtr</A |
| > xmlAddElementDecl (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL" |
| >xmlElementTypeVal</A |
| > type, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" |
| >xmlElementContentPtr</A |
| > content);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Register a new element declaration</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > pointer to the DTD</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the entity name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >type</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element type</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >content</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element content tree or NULL</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >NULL if not, othervise the entity</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7695" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLCOPYELEMENTTABLE" |
| ></A |
| >xmlCopyElementTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| > xmlCopyElementTable (<A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Build a copy of an element table.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An element table</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the new xmlElementTablePtr or NULL in case of error.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7716" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLFREEELEMENTTABLE" |
| ></A |
| >xmlFreeElementTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlFreeElementTable (<A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Deallocate the memory used by an element hash table.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An element table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7732" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDUMPELEMENTTABLE" |
| ></A |
| >xmlDumpElementTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlDumpElementTable (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" |
| >xmlElementTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >This will dump the content of the element table as an XML DTD definition</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >buf</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the XML buffer output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An element table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7753" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDUMPELEMENTDECL" |
| ></A |
| >xmlDumpElementDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlDumpElementDecl (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTPTR" |
| >xmlElementPtr</A |
| > elem);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >This will dump the content of the element declaration as an XML |
| DTD definition</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >buf</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the XML buffer output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An element table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7774" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLCREATEENUMERATION" |
| ></A |
| >xmlCreateEnumeration ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > xmlCreateEnumeration (<A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >create and initialize an enumeration attribute node.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the enumeration name or NULL</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the xmlEnumerationPtr just created or NULL in case |
| of error.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7795" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLFREEENUMERATION" |
| ></A |
| >xmlFreeEnumeration ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlFreeEnumeration (<A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > cur);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >free an enumeration attribute node (recursive).</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >cur</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the tree to free.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7811" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLCOPYENUMERATION" |
| ></A |
| >xmlCopyEnumeration ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > xmlCopyEnumeration (<A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > cur);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Copy an enumeration attribute node (recursive).</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >cur</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the tree to copy.</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the xmlEnumerationPtr just created or NULL in case |
| of error.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7832" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLADDATTRIBUTEDECL" |
| ></A |
| >xmlAddAttributeDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" |
| >xmlAttributePtr</A |
| > xmlAddAttributeDecl (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *elem, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *ns, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE" |
| >xmlAttributeType</A |
| > type, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT" |
| >xmlAttributeDefault</A |
| > def, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *defaultValue, |
| <A |
| HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" |
| >xmlEnumerationPtr</A |
| > tree);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Register a new attribute declaration</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > pointer to the DTD</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ns</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute namespace prefix</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >type</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute type</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >def</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute default type</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >defaultValue</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute default value</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >tree</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > if it's an enumeration, the associated list</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >NULL if not new, othervise the attribute decl</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7893" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLCOPYATTRIBUTETABLE" |
| ></A |
| >xmlCopyAttributeTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| > xmlCopyAttributeTable (<A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Build a copy of an attribute table.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An attribute table</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the new xmlAttributeTablePtr or NULL in case of error.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7914" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLFREEATTRIBUTETABLE" |
| ></A |
| >xmlFreeAttributeTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlFreeAttributeTable (<A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Deallocate the memory used by an entities hash table.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An attribute table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7930" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDUMPATTRIBUTETABLE" |
| ></A |
| >xmlDumpAttributeTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlDumpAttributeTable (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" |
| >xmlAttributeTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >This will dump the content of the attribute table as an XML DTD definition</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >buf</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the XML buffer output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An attribute table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7951" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLDUMPATTRIBUTEDECL" |
| ></A |
| >xmlDumpAttributeDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlDumpAttributeDecl (<A |
| HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| >xmlBufferPtr</A |
| > buf, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" |
| >xmlAttributePtr</A |
| > attr);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >This will dump the content of the attribute declaration as an XML |
| DTD definition</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >buf</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the XML buffer output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An attribute declaration</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN7972" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLADDID" |
| ></A |
| >xmlAddID ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLIDPTR" |
| >xmlIDPtr</A |
| > xmlAddID (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Register a new id declaration</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > pointer to the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >value</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the value name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute holding the ID</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >NULL if not, othervise the new xmlIDPtr</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8008" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLCOPYIDTABLE" |
| ></A |
| >xmlCopyIDTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-valid.html#XMLIDTABLEPTR" |
| >xmlIDTablePtr</A |
| > xmlCopyIDTable (<A |
| HREF="gnome-xml-valid.html#XMLIDTABLEPTR" |
| >xmlIDTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8028" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLFREEIDTABLE" |
| ></A |
| >xmlFreeIDTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlFreeIDTable (<A |
| HREF="gnome-xml-valid.html#XMLIDTABLEPTR" |
| >xmlIDTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Deallocate the memory used by an ID hash table.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An id table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8044" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGETID" |
| ></A |
| >xmlGetID ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > xmlGetID (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *ID);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Search the attribute declaring the given ID</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > pointer to the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ID</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the ID value</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >NULL if not found, otherwise the xmlAttrPtr defining the ID</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8070" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLISID" |
| ></A |
| >xmlIsID ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlIsID (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Determine whether an attribute is of type ID. In case we have Dtd(s) |
| then this is simple, otherwise we use an heuristic: name ID (upper |
| or lowercase).</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element carrying the attribute</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 or 1 depending on the lookup result</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8100" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLREMOVEID" |
| ></A |
| >xmlRemoveID ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlRemoveID (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Remove the given attribute from the ID table maintained internally.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >-1 if the lookup failed and 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8125" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLADDREF" |
| ></A |
| >xmlAddRef ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLREFPTR" |
| >xmlRefPtr</A |
| > xmlAddRef (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Register a new ref declaration</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > pointer to the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >value</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the value name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute holding the Ref</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >NULL if not, othervise the new xmlRefPtr</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8161" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLCOPYREFTABLE" |
| ></A |
| >xmlCopyRefTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-valid.html#XMLREFTABLEPTR" |
| >xmlRefTablePtr</A |
| > xmlCopyRefTable (<A |
| HREF="gnome-xml-valid.html#XMLREFTABLEPTR" |
| >xmlRefTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8181" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLFREEREFTABLE" |
| ></A |
| >xmlFreeRefTable ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >void xmlFreeRefTable (<A |
| HREF="gnome-xml-valid.html#XMLREFTABLEPTR" |
| >xmlRefTablePtr</A |
| > table);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Deallocate the memory used by an Ref hash table.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >table</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > An ref table</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8197" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLISREF" |
| ></A |
| >xmlIsRef ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlIsRef (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Determine whether an attribute is of type Ref. In case we have Dtd(s) |
| then this is simple, otherwise we use an heuristic: name Ref (upper |
| or lowercase).</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element carrying the attribute</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 or 1 depending on the lookup result</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8227" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLREMOVEREF" |
| ></A |
| >xmlRemoveRef ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlRemoveRef (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Remove the given attribute from the Ref table maintained internally.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >-1 if the lookup failed and 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8252" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEROOT" |
| ></A |
| >xmlValidateRoot ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateRoot (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate a the root element |
| basically it does the following check as described by the |
| XML-1.0 recommendation: |
| - [ VC: Root Element Type ] |
| it doesn't try to recurse or apply other check to the element</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8277" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEELEMENTDECL" |
| ></A |
| >xmlValidateElementDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateElementDecl (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLELEMENTPTR" |
| >xmlElementPtr</A |
| > elem);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate a single element definition |
| basically it does the following checks as described by the |
| XML-1.0 recommendation: |
| - [ VC: One ID per Element Type ] |
| - [ VC: No Duplicate Types ] |
| - [ VC: Unique Element Type Declaration ]</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an element definition</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8307" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE" |
| ></A |
| >xmlValidNormalizeAttributeValue ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| >* xmlValidNormalizeAttributeValue (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Does the validation related extra step of the normalization of attribute |
| values:</P |
| ><P |
| >If the declared value is not CDATA, then the XML processor must further |
| process the normalized attribute value by discarding any leading and |
| trailing space (<GTKDOCLINK |
| HREF="X20" |
| >x20</GTKDOCLINK |
| >) characters, and by replacing sequences of space |
| (<GTKDOCLINK |
| HREF="X20" |
| >x20</GTKDOCLINK |
| >) characters by single space (<GTKDOCLINK |
| HREF="X20" |
| >x20</GTKDOCLINK |
| >) character.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the parent</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >value</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute value</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >a new normalized string if normalization is needed, NULL otherwise |
| the caller must free the returned value.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8347" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEATTRIBUTEDECL" |
| ></A |
| >xmlValidateAttributeDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateAttributeDecl (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" |
| >xmlAttributePtr</A |
| > attr);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate a single attribute definition |
| basically it does the following checks as described by the |
| XML-1.0 recommendation: |
| - [ VC: Attribute Default Legal ] |
| - [ VC: Enumeration ] |
| - [ VC: ID Attribute Default ]</P |
| ><P |
| >The ID/IDREF uniqueness and matching are done separately</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an attribute definition</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8378" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEATTRIBUTEVALUE" |
| ></A |
| >xmlValidateAttributeValue ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateAttributeValue (<A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE" |
| >xmlAttributeType</A |
| > type, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Validate that the given attribute value match the proper production</P |
| ><P |
| >[ VC: ID ] |
| Values of type ID must match the Name production....</P |
| ><P |
| >[ VC: IDREF ] |
| Values of type IDREF must match the Name production, and values |
| of type IDREFS must match Names ...</P |
| ><P |
| >[ VC: Entity Name ] |
| Values of type ENTITY must match the Name production, values |
| of type ENTITIES must match Names ...</P |
| ><P |
| >[ VC: Name Token ] |
| Values of type NMTOKEN must match the Nmtoken production; values |
| of type NMTOKENS must match Nmtokens.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >type</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an attribute type</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >value</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an attribute value</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8407" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATENOTATIONDECL" |
| ></A |
| >xmlValidateNotationDecl ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateNotationDecl (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNOTATIONPTR" |
| >xmlNotationPtr</A |
| > nota);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate a single notation definition |
| basically it does the following checks as described by the |
| XML-1.0 recommendation: |
| - it seems that no validity constraing exist on notation declarations |
| But this function get called anyway ...</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >nota</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a notation definition</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8437" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEDTD" |
| ></A |
| >xmlValidateDtd ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateDtd (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate the document against the dtd instance</P |
| ><P |
| >basically it does check all the definitions in the DtD.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a dtd instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8468" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEDTDFINAL" |
| ></A |
| >xmlValidateDtdFinal ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateDtdFinal (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Does the final step for the dtds validation once all the |
| subsets have been parsed</P |
| ><P |
| >basically it does the following checks described by the XML Rec |
| - check that ENTITY and ENTITIES type attributes default or |
| possible values matches one of the defined entities. |
| - check that NOTATION type attributes default or |
| possible values matches one of the defined notations.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8494" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEDOCUMENT" |
| ></A |
| >xmlValidateDocument ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateDocument (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate the document instance</P |
| ><P |
| >basically it does the all the checks described by the XML Rec |
| i.e. validates the internal and external subset (if present) |
| and validate the document tree.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8520" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEELEMENT" |
| ></A |
| >xmlValidateElement ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateElement (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate the subtree under an element</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an element instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8550" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEONEELEMENT" |
| ></A |
| >xmlValidateOneElement ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateOneElement (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate a single element and it's attributes, |
| basically it does the following checks as described by the |
| XML-1.0 recommendation: |
| - [ VC: Element Valid ] |
| - [ VC: Required Attribute ] |
| Then call <A |
| HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE" |
| >xmlValidateOneAttribute</A |
| >() for each attribute present.</P |
| ><P |
| >The ID/IDREF checkings are done separately</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an element instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8582" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEONEATTRIBUTE" |
| ></A |
| >xmlValidateOneAttribute ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateOneAttribute (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > elem, |
| <A |
| HREF="gnome-xml-tree.html#XMLATTRPTR" |
| >xmlAttrPtr</A |
| > attr, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *value);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Try to validate a single attribute for an element |
| basically it does the following checks as described by the |
| XML-1.0 recommendation: |
| - [ VC: Attribute Value Type ] |
| - [ VC: Fixed Attribute Default ] |
| - [ VC: Entity Name ] |
| - [ VC: Name Token ] |
| - [ VC: ID ] |
| - [ VC: IDREF ] |
| - [ VC: Entity Name ] |
| - [ VC: Notation Attributes ]</P |
| ><P |
| >The ID/IDREF uniqueness and matching are done separately</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an element instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an attribute instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >value</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute value (without entities processing)</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8623" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATEDOCUMENTFINAL" |
| ></A |
| >xmlValidateDocumentFinal ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateDocumentFinal (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Does the final step for the document validation once all the |
| incremental validation steps have been completed</P |
| ><P |
| >basically it does the following checks described by the XML Rec</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a document instance</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8649" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDATENOTATIONUSE" |
| ></A |
| >xmlValidateNotationUse ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidateNotationUse (<A |
| HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" |
| >xmlValidCtxtPtr</A |
| > ctxt, |
| <A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *notationName);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Validate that the given mame match a notation declaration. |
| - [ VC: Notation Declared ]</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctxt</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the validation context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >notationName</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the notation name to check</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >1 if valid or 0 otherwise</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8679" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLISMIXEDELEMENT" |
| ></A |
| >xmlIsMixedElement ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlIsMixedElement (<A |
| HREF="gnome-xml-tree.html#XMLDOCPTR" |
| >xmlDocPtr</A |
| > doc, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Search in the DtDs whether an element accept Mixed content (or ANY) |
| basically if it is supposed to accept text childs</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 if no, 1 if yes, and -1 if no element description is available</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8704" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGETDTDATTRDESC" |
| ></A |
| >xmlGetDtdAttrDesc ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" |
| >xmlAttributePtr</A |
| > xmlGetDtdAttrDesc (<A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *elem, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Search the Dtd for the description of this attribute on |
| this element.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a pointer to the DtD to search</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >elem</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the xmlAttributePtr if found or NULL</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8735" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGETDTDNOTATIONDESC" |
| ></A |
| >xmlGetDtdNotationDesc ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLNOTATIONPTR" |
| >xmlNotationPtr</A |
| > xmlGetDtdNotationDesc (<A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Search the Dtd for the description of this notation</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a pointer to the DtD to search</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the notation name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the xmlNotationPtr if found or NULL</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8761" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGETDTDELEMENTDESC" |
| ></A |
| >xmlGetDtdElementDesc ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="gnome-xml-tree.html#XMLELEMENTPTR" |
| >xmlElementPtr</A |
| > xmlGetDtdElementDesc (<A |
| HREF="gnome-xml-tree.html#XMLDTDPTR" |
| >xmlDtdPtr</A |
| > dtd, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > *name);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Search the Dtd for the description of this element</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a pointer to the DtD to search</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >name</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the element name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the xmlElementPtr if found or NULL</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8787" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDGETVALIDELEMENTS" |
| ></A |
| >xmlValidGetValidElements ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidGetValidElements (<A |
| HREF="gnome-xml-tree.html#XMLNODE" |
| >xmlNode</A |
| > *prev, |
| <A |
| HREF="gnome-xml-tree.html#XMLNODE" |
| >xmlNode</A |
| > *next, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > **list, |
| int max);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >This function returns the list of authorized children to insert |
| within an existing tree while respecting the validity constraints |
| forced by the Dtd. The insertion point is defined using <TT |
| CLASS="PARAMETER" |
| ><I |
| >prev</I |
| ></TT |
| > and |
| <TT |
| CLASS="PARAMETER" |
| ><I |
| >next</I |
| ></TT |
| > in the following ways: |
| to insert before 'node': xmlValidGetValidElements(node->prev, node, ... |
| to insert next 'node': xmlValidGetValidElements(node, node->next, ... |
| to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... |
| to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, |
| to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ...</P |
| ><P |
| >pointers to the element names are inserted at the beginning of the array |
| and do not need to be freed.</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >prev</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an element to insert after</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >next</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an element to insert next</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >list</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an array to store the list of child names</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >max</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the size of the array</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the number of element in the list, or -1 in case of error. If |
| the function returns the value <TT |
| CLASS="PARAMETER" |
| ><I |
| >max</I |
| ></TT |
| > the caller is invited to grow the |
| receiving array and retry.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN8825" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLVALIDGETPOTENTIALCHILDREN" |
| ></A |
| >xmlValidGetPotentialChildren ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >int xmlValidGetPotentialChildren (<A |
| HREF="gnome-xml-tree.html#XMLELEMENTCONTENT" |
| >xmlElementContent</A |
| > *ctree, |
| const <A |
| HREF="gnome-xml-tree.html#XMLCHAR" |
| >xmlChar</A |
| > **list, |
| int *len, |
| int max);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Build/extend a list of potential children allowed by the content tree</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><P |
| ></P |
| ><TABLE |
| BORDER="0" |
| WIDTH="100%" |
| BGCOLOR="#FFD0D0" |
| CELLSPACING="0" |
| CELLPADDING="4" |
| CLASS="CALSTABLE" |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >ctree</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an element content tree</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >list</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > an array to store the list of child names</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >len</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a pointer to the number of element in the list</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >max</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the size of the array</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the number of element in the list, or -1 in case of error.</TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ></DIV |
| ><DIV |
| CLASS="NAVFOOTER" |
| ><BR |
| CLEAR="all"><BR><TABLE |
| WIDTH="100%" |
| BORDER="0" |
| BGCOLOR="#000000" |
| CELLPADDING="1" |
| CELLSPACING="0" |
| ><TR |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#C00000" |
| ALIGN="left" |
| ><A |
| HREF="gnome-xml-entities.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><<< Previous Page</B |
| ></FONT |
| ></A |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#0000C0" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><A |
| HREF="book1.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Home</B |
| ></FONT |
| ></A |
| ></B |
| ></FONT |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#00C000" |
| ALIGN="center" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| ><A |
| HREF="libxml-lib.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Up</B |
| ></FONT |
| ></A |
| ></B |
| ></FONT |
| ></TD |
| ><TD |
| WIDTH="25%" |
| BGCOLOR="#C00000" |
| ALIGN="right" |
| ><A |
| HREF="gnome-xml-uri.html" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >Next Page >>></B |
| ></FONT |
| ></A |
| ></TD |
| ></TR |
| ><TR |
| ><TD |
| COLSPAN="2" |
| ALIGN="left" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >entities</B |
| ></FONT |
| ></TD |
| ><TD |
| COLSPAN="2" |
| ALIGN="right" |
| ><FONT |
| COLOR="#FFFFFF" |
| SIZE="3" |
| ><B |
| >uri</B |
| ></FONT |
| ></TD |
| ></TR |
| ></TABLE |
| ></DIV |
| ></BODY |
| ></HTML |
| > |