Annotation of embedaddon/libxml2/doc/devhelp/libxml2-valid.html, revision 1.1

1.1     ! misho       1: <?xml version="1.0" encoding="UTF-8"?>
        !             2: <html>
        !             3:   <head>
        !             4:     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        !             5:     <title>valid: The DTD validation</title>
        !             6:     <meta name="generator" content="Libxml2 devhelp stylesheet"/>
        !             7:     <link rel="start" href="index.html" title="libxml2 Reference Manual"/>
        !             8:     <link rel="up" href="general.html" title="API"/>
        !             9:     <link rel="stylesheet" href="style.css" type="text/css"/>
        !            10:     <link rel="chapter" href="general.html" title="API"/>
        !            11:   </head>
        !            12:   <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
        !            13:     <table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
        !            14:       <tr valign="middle">
        !            15:         <td>
        !            16:           <a accesskey="p" href="libxml2-uri.html">
        !            17:             <img src="left.png" width="24" height="24" border="0" alt="Prev"/>
        !            18:           </a>
        !            19:         </td>
        !            20:         <td>
        !            21:           <a accesskey="u" href="general.html">
        !            22:             <img src="up.png" width="24" height="24" border="0" alt="Up"/>
        !            23:           </a>
        !            24:         </td>
        !            25:         <td>
        !            26:           <a accesskey="h" href="index.html">
        !            27:             <img src="home.png" width="24" height="24" border="0" alt="Home"/>
        !            28:           </a>
        !            29:         </td>
        !            30:         <td>
        !            31:           <a accesskey="n" href="libxml2-xinclude.html">
        !            32:             <img src="right.png" width="24" height="24" border="0" alt="Next"/>
        !            33:           </a>
        !            34:         </td>
        !            35:         <th width="100%" align="center">libxml2 Reference Manual</th>
        !            36:       </tr>
        !            37:     </table>
        !            38:     <h2>
        !            39:       <span class="refentrytitle">valid</span>
        !            40:     </h2>
        !            41:     <p>valid - The DTD validation</p>
        !            42:     <p>API for the DTD handling and the validity checking </p>
        !            43:     <p>Author(s): Daniel Veillard </p>
        !            44:     <div class="refsynopsisdiv">
        !            45:       <h2>Synopsis</h2>
        !            46:       <pre class="synopsis">#define <a href="#XML_CTXT_FINISH_DTD_0">XML_CTXT_FINISH_DTD_0</a>;
        !            47: #define <a href="#XML_CTXT_FINISH_DTD_1">XML_CTXT_FINISH_DTD_1</a>;
        !            48: typedef struct _xmlHashTable <a href="#xmlElementTable">xmlElementTable</a>;
        !            49: typedef <a href="libxml2-valid.html#xmlValidState">xmlValidState</a> * <a href="#xmlValidStatePtr">xmlValidStatePtr</a>;
        !            50: typedef <a href="libxml2-valid.html#xmlIDTable">xmlIDTable</a> * <a href="#xmlIDTablePtr">xmlIDTablePtr</a>;
        !            51: typedef <a href="libxml2-valid.html#xmlNotationTable">xmlNotationTable</a> * <a href="#xmlNotationTablePtr">xmlNotationTablePtr</a>;
        !            52: typedef struct _xmlValidCtxt <a href="#xmlValidCtxt">xmlValidCtxt</a>;
        !            53: typedef <a href="libxml2-valid.html#xmlElementTable">xmlElementTable</a> * <a href="#xmlElementTablePtr">xmlElementTablePtr</a>;
        !            54: typedef <a href="libxml2-valid.html#xmlRefTable">xmlRefTable</a> * <a href="#xmlRefTablePtr">xmlRefTablePtr</a>;
        !            55: typedef struct _xmlHashTable <a href="#xmlNotationTable">xmlNotationTable</a>;
        !            56: typedef struct _xmlHashTable <a href="#xmlRefTable">xmlRefTable</a>;
        !            57: typedef struct _xmlValidState <a href="#xmlValidState">xmlValidState</a>;
        !            58: typedef struct _xmlHashTable <a href="#xmlAttributeTable">xmlAttributeTable</a>;
        !            59: typedef <a href="libxml2-valid.html#xmlAttributeTable">xmlAttributeTable</a> * <a href="#xmlAttributeTablePtr">xmlAttributeTablePtr</a>;
        !            60: typedef struct _xmlHashTable <a href="#xmlIDTable">xmlIDTable</a>;
        !            61: typedef <a href="libxml2-valid.html#xmlValidCtxt">xmlValidCtxt</a> * <a href="#xmlValidCtxtPtr">xmlValidCtxtPtr</a>;
        !            62: void   <a href="#xmlFreeNotationTable">xmlFreeNotationTable</a>                (<a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a> table);
        !            63: int    <a href="#xmlValidateNameValue">xmlValidateNameValue</a>                (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !            64: void   <a href="#xmlSnprintfElementContent">xmlSnprintfElementContent</a>      (char * buf, <br/>                                       int size, <br/>                                         <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> content, <br/>                                        int englob);
        !            65: <a href="libxml2-tree.html#xmlRefPtr">xmlRefPtr</a>    <a href="#xmlAddRef">xmlAddRef</a>              (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr);
        !            66: void   <a href="#xmlDumpAttributeDecl">xmlDumpAttributeDecl</a>                (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a> attr);
        !            67: int    <a href="#xmlValidateDocumentFinal">xmlValidateDocumentFinal</a>        (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
        !            68: int    <a href="#xmlValidateDtdFinal">xmlValidateDtdFinal</a>          (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
        !            69: void   <a href="#xmlDumpAttributeTable">xmlDumpAttributeTable</a>              (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a> table);
        !            70: <a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a>    <a href="#xmlCreateEnumeration">xmlCreateEnumeration</a>        (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name);
        !            71: int    <a href="#xmlValidateOneAttribute">xmlValidateOneAttribute</a>          (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr, <br/>                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !            72: int    <a href="#xmlValidGetValidElements">xmlValidGetValidElements</a>        (<a href="libxml2-tree.html#xmlNode">xmlNode</a> * prev, <br/>                                   <a href="libxml2-tree.html#xmlNode">xmlNode</a> * next, <br/>                                   const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** names, <br/>                                      int max);
        !            73: int    <a href="#xmlIsMixedElement">xmlIsMixedElement</a>              (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name);
        !            74: void   <a href="#xmlDumpNotationDecl">xmlDumpNotationDecl</a>          (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a> nota);
        !            75: int    <a href="#xmlIsID">xmlIsID</a>                  (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr);
        !            76: <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a>        <a href="#xmlGetDtdQAttrDesc">xmlGetDtdQAttrDesc</a>    (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elem, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix);
        !            77: <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a>      <a href="#xmlNewDocElementContent">xmlNewDocElementContent</a>  (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                          const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                                <a href="libxml2-tree.html#xmlElementContentType">xmlElementContentType</a> type);
        !            78: void   <a href="#xmlFreeAttributeTable">xmlFreeAttributeTable</a>              (<a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a> table);
        !            79: typedef void <a href="#xmlValidityErrorFunc">xmlValidityErrorFunc</a>          (void * ctx, <br/>                                       const char * msg, <br/>                                         ... ...);
        !            80: int    <a href="#xmlValidateAttributeDecl">xmlValidateAttributeDecl</a>        (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a> attr);
        !            81: <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a>    <a href="#xmlGetDtdQElementDesc">xmlGetDtdQElementDesc</a>      (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix);
        !            82: <a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a>       <a href="#xmlCopyNotationTable">xmlCopyNotationTable</a>        (<a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a> table);
        !            83: int    <a href="#xmlValidateDocument">xmlValidateDocument</a>          (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
        !            84: int    <a href="#xmlValidGetPotentialChildren">xmlValidGetPotentialChildren</a>        (<a href="libxml2-tree.html#xmlElementContent">xmlElementContent</a> * ctree, <br/>                                      const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** names, <br/>                                      int * len, <br/>                                        int max);
        !            85: <a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a>  <a href="#xmlAddNotationDecl">xmlAddNotationDecl</a>    (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * PublicID, <br/>                                    const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID);
        !            86: int    <a href="#xmlValidateElementDecl">xmlValidateElementDecl</a>            (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a> elem);
        !            87: <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a>        <a href="#xmlAddAttributeDecl">xmlAddAttributeDecl</a>  (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elem, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns, <br/>                                  <a href="libxml2-tree.html#xmlAttributeType">xmlAttributeType</a> type, <br/>                                   <a href="libxml2-tree.html#xmlAttributeDefault">xmlAttributeDefault</a> def, <br/>                                      const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * defaultValue, <br/>                                        <a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> tree);
        !            88: <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a>  <a href="#xmlGetID">xmlGetID</a>                (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ID);
        !            89: <a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a> <a href="#xmlCopyElementTable">xmlCopyElementTable</a>  (<a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a> table);
        !            90: <a href="libxml2-list.html#xmlListPtr">xmlListPtr</a>  <a href="#xmlGetRefs">xmlGetRefs</a>            (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ID);
        !            91: void   <a href="#xmlSprintfElementContent">xmlSprintfElementContent</a>        (char * buf, <br/>                                       <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> content, <br/>                                        int englob);
        !            92: int    <a href="#xmlValidateOneElement">xmlValidateOneElement</a>              (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem);
        !            93: int    <a href="#xmlValidateNmtokenValue">xmlValidateNmtokenValue</a>          (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !            94: void   <a href="#xmlDumpElementTable">xmlDumpElementTable</a>          (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a> table);
        !            95: <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlValidCtxtNormalizeAttributeValue">xmlValidCtxtNormalizeAttributeValue</a>  (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !            96: void   <a href="#xmlDumpElementDecl">xmlDumpElementDecl</a>            (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a> elem);
        !            97: void   <a href="#xmlFreeElementContent">xmlFreeElementContent</a>              (<a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> cur);
        !            98: int    <a href="#xmlValidateOneNamespace">xmlValidateOneNamespace</a>          (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix, <br/>                                      <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br/>                                     const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !            99: int    <a href="#xmlValidatePushElement">xmlValidatePushElement</a>            (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * qname);
        !           100: int    <a href="#xmlIsRef">xmlIsRef</a>                        (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr);
        !           101: <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a>      <a href="#xmlCopyDocElementContent">xmlCopyDocElementContent</a>        (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                                  <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> cur);
        !           102: <a href="libxml2-tree.html#xmlIDPtr">xmlIDPtr</a>      <a href="#xmlAddID">xmlAddID</a>                (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr);
        !           103: void   <a href="#xmlFreeRefTable">xmlFreeRefTable</a>                  (<a href="libxml2-valid.html#xmlRefTablePtr">xmlRefTablePtr</a> table);
        !           104: int    <a href="#xmlValidateNamesValue">xmlValidateNamesValue</a>              (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !           105: int    <a href="#xmlRemoveID">xmlRemoveID</a>                  (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr);
        !           106: void   <a href="#xmlFreeElementTable">xmlFreeElementTable</a>          (<a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a> table);
        !           107: void   <a href="#xmlFreeIDTable">xmlFreeIDTable</a>                    (<a href="libxml2-valid.html#xmlIDTablePtr">xmlIDTablePtr</a> table);
        !           108: void   <a href="#xmlFreeValidCtxt">xmlFreeValidCtxt</a>                (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> cur);
        !           109: <a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a>     <a href="#xmlCopyAttributeTable">xmlCopyAttributeTable</a>      (<a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a> table);
        !           110: <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a>      <a href="#xmlCopyElementContent">xmlCopyElementContent</a>      (<a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> cur);
        !           111: int    <a href="#xmlValidateAttributeValue">xmlValidateAttributeValue</a>      (<a href="libxml2-tree.html#xmlAttributeType">xmlAttributeType</a> type, <br/>                                   const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !           112: int    <a href="#xmlRemoveRef">xmlRemoveRef</a>                        (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr);
        !           113: typedef void <a href="#xmlValidityWarningFunc">xmlValidityWarningFunc</a>              (void * ctx, <br/>                                       const char * msg, <br/>                                         ... ...);
        !           114: int    <a href="#xmlValidatePopElement">xmlValidatePopElement</a>              (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * qname);
        !           115: void   <a href="#xmlFreeEnumeration">xmlFreeEnumeration</a>            (<a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> cur);
        !           116: <a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a>    <a href="#xmlCopyEnumeration">xmlCopyEnumeration</a>    (<a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> cur);
        !           117: <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a>        <a href="#xmlGetDtdAttrDesc">xmlGetDtdAttrDesc</a>      (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elem, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name);
        !           118: int    <a href="#xmlValidateDtd">xmlValidateDtd</a>                    (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd);
        !           119: <a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a>       <a href="#xmlNewValidCtxt">xmlNewValidCtxt</a>          (void);
        !           120: void   <a href="#xmlDumpNotationTable">xmlDumpNotationTable</a>                (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a> table);
        !           121: <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a>    <a href="#xmlAddElementDecl">xmlAddElementDecl</a>      (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        <a href="libxml2-tree.html#xmlElementTypeVal">xmlElementTypeVal</a> type, <br/>                                         <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> content);
        !           122: <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlValidNormalizeAttributeValue">xmlValidNormalizeAttributeValue</a>  (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                          <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                               const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                                const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !           123: int    <a href="#xmlValidBuildContentModel">xmlValidBuildContentModel</a>      (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a> elem);
        !           124: int    <a href="#xmlValidateElement">xmlValidateElement</a>            (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem);
        !           125: int    <a href="#xmlValidateNotationUse">xmlValidateNotationUse</a>            (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * notationName);
        !           126: int    <a href="#xmlValidateRoot">xmlValidateRoot</a>                  (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
        !           127: int    <a href="#xmlValidateNotationDecl">xmlValidateNotationDecl</a>          (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a> nota);
        !           128: <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a>      <a href="#xmlNewElementContent">xmlNewElementContent</a>        (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                                <a href="libxml2-tree.html#xmlElementContentType">xmlElementContentType</a> type);
        !           129: <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a>    <a href="#xmlGetDtdElementDesc">xmlGetDtdElementDesc</a>        (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name);
        !           130: <a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a>  <a href="#xmlGetDtdNotationDesc">xmlGetDtdNotationDesc</a>      (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name);
        !           131: int    <a href="#xmlValidatePushCData">xmlValidatePushCData</a>                (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * data, <br/>                                        int len);
        !           132: int    <a href="#xmlValidateNmtokensValue">xmlValidateNmtokensValue</a>        (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
        !           133: void   <a href="#xmlFreeDocElementContent">xmlFreeDocElementContent</a>        (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> cur);
        !           134: </pre>
        !           135:     </div>
        !           136:     <div class="refsect1" lang="en">
        !           137:       <h2>Description</h2>
        !           138:     </div>
        !           139:     <div class="refsect1" lang="en">
        !           140:       <h2>Details</h2>
        !           141:       <div class="refsect2" lang="en">
        !           142:         <div class="refsect2" lang="en"><h3><a name="XML_CTXT_FINISH_DTD_0">Macro </a>XML_CTXT_FINISH_DTD_0</h3><pre class="programlisting">#define <a href="#XML_CTXT_FINISH_DTD_0">XML_CTXT_FINISH_DTD_0</a>;
        !           143: </pre><p>Special value for finishDtd field when embedded in an <a href="libxml2-tree.html#xmlParserCtxt">xmlParserCtxt</a></p>
        !           144: </div>
        !           145:         <hr/>
        !           146:         <div class="refsect2" lang="en"><h3><a name="XML_CTXT_FINISH_DTD_1">Macro </a>XML_CTXT_FINISH_DTD_1</h3><pre class="programlisting">#define <a href="#XML_CTXT_FINISH_DTD_1">XML_CTXT_FINISH_DTD_1</a>;
        !           147: </pre><p>Special value for finishDtd field when embedded in an <a href="libxml2-tree.html#xmlParserCtxt">xmlParserCtxt</a></p>
        !           148: </div>
        !           149:         <hr/>
        !           150:         <div class="refsect2" lang="en"><h3><a name="xmlAttributeTable">Structure </a>xmlAttributeTable</h3><pre class="programlisting">struct _xmlHashTable {
        !           151: The content of this structure is not made public by the API.
        !           152: } xmlAttributeTable;
        !           153: </pre><p/>
        !           154: </div>
        !           155:         <hr/>
        !           156:         <div class="refsect2" lang="en"><h3><a name="xmlAttributeTablePtr">Typedef </a>xmlAttributeTablePtr</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlAttributeTable">xmlAttributeTable</a> * xmlAttributeTablePtr;
        !           157: </pre><p/>
        !           158: </div>
        !           159:         <hr/>
        !           160:         <div class="refsect2" lang="en"><h3><a name="xmlElementTable">Structure </a>xmlElementTable</h3><pre class="programlisting">struct _xmlHashTable {
        !           161: The content of this structure is not made public by the API.
        !           162: } xmlElementTable;
        !           163: </pre><p/>
        !           164: </div>
        !           165:         <hr/>
        !           166:         <div class="refsect2" lang="en"><h3><a name="xmlElementTablePtr">Typedef </a>xmlElementTablePtr</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlElementTable">xmlElementTable</a> * xmlElementTablePtr;
        !           167: </pre><p/>
        !           168: </div>
        !           169:         <hr/>
        !           170:         <div class="refsect2" lang="en"><h3><a name="xmlIDTable">Structure </a>xmlIDTable</h3><pre class="programlisting">struct _xmlHashTable {
        !           171: The content of this structure is not made public by the API.
        !           172: } xmlIDTable;
        !           173: </pre><p/>
        !           174: </div>
        !           175:         <hr/>
        !           176:         <div class="refsect2" lang="en"><h3><a name="xmlIDTablePtr">Typedef </a>xmlIDTablePtr</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlIDTable">xmlIDTable</a> * xmlIDTablePtr;
        !           177: </pre><p/>
        !           178: </div>
        !           179:         <hr/>
        !           180:         <div class="refsect2" lang="en"><h3><a name="xmlNotationTable">Structure </a>xmlNotationTable</h3><pre class="programlisting">struct _xmlHashTable {
        !           181: The content of this structure is not made public by the API.
        !           182: } xmlNotationTable;
        !           183: </pre><p/>
        !           184: </div>
        !           185:         <hr/>
        !           186:         <div class="refsect2" lang="en"><h3><a name="xmlNotationTablePtr">Typedef </a>xmlNotationTablePtr</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlNotationTable">xmlNotationTable</a> * xmlNotationTablePtr;
        !           187: </pre><p/>
        !           188: </div>
        !           189:         <hr/>
        !           190:         <div class="refsect2" lang="en"><h3><a name="xmlRefTable">Structure </a>xmlRefTable</h3><pre class="programlisting">struct _xmlHashTable {
        !           191: The content of this structure is not made public by the API.
        !           192: } xmlRefTable;
        !           193: </pre><p/>
        !           194: </div>
        !           195:         <hr/>
        !           196:         <div class="refsect2" lang="en"><h3><a name="xmlRefTablePtr">Typedef </a>xmlRefTablePtr</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlRefTable">xmlRefTable</a> * xmlRefTablePtr;
        !           197: </pre><p/>
        !           198: </div>
        !           199:         <hr/>
        !           200:         <div class="refsect2" lang="en"><h3><a name="xmlValidCtxt">Structure </a>xmlValidCtxt</h3><pre class="programlisting">struct _xmlValidCtxt {
        !           201:     void *     userData        : user specific data block
        !           202:     <a href="libxml2-valid.html#xmlValidityErrorFunc">xmlValidityErrorFunc</a> error   : the callback in case of errors
        !           203:     <a href="libxml2-valid.html#xmlValidityWarningFunc">xmlValidityWarningFunc</a>     warning : the callback in case of warning Node analysis stack used when validat
        !           204:     <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a>      node    : Current parsed Node
        !           205:     int        nodeNr  : Depth of the parsing stack
        !           206:     int        nodeMax : Max depth of the parsing stack
        !           207:     <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> *    nodeTab : array of nodes
        !           208:     unsigned int       finishDtd       : finished validating the Dtd ?
        !           209:     <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a>        doc     : the document
        !           210:     int        valid   : temporary validity check result state state used for non-determinist
        !           211:     <a href="libxml2-valid.html#xmlValidState">xmlValidState</a> *     vstate  : current state
        !           212:     int        vstateNr        : Depth of the validation stack
        !           213:     int        vstateMax       : Max depth of the validation stack
        !           214:     <a href="libxml2-valid.html#xmlValidState">xmlValidState</a> *     vstateTab       : array of validation states
        !           215:     <a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a>       am      : the automata
        !           216:     <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a>     state   : used to build the automata
        !           217:     void *     am
        !           218:     void *     state
        !           219: } xmlValidCtxt;
        !           220: </pre><p/>
        !           221: </div>
        !           222:         <hr/>
        !           223:         <div class="refsect2" lang="en"><h3><a name="xmlValidCtxtPtr">Typedef </a>xmlValidCtxtPtr</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlValidCtxt">xmlValidCtxt</a> * xmlValidCtxtPtr;
        !           224: </pre><p/>
        !           225: </div>
        !           226:         <hr/>
        !           227:         <div class="refsect2" lang="en"><h3><a name="xmlValidState">Structure </a>xmlValidState</h3><pre class="programlisting">struct _xmlValidState {
        !           228: The content of this structure is not made public by the API.
        !           229: } xmlValidState;
        !           230: </pre><p/>
        !           231: </div>
        !           232:         <hr/>
        !           233:         <div class="refsect2" lang="en"><h3><a name="xmlValidStatePtr">Typedef </a>xmlValidStatePtr</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlValidState">xmlValidState</a> * xmlValidStatePtr;
        !           234: </pre><p/>
        !           235: </div>
        !           236:         <hr/>
        !           237:         <div class="refsect2" lang="en"><h3><a name="xmlValidityErrorFunc"/>Function type xmlValidityErrorFunc</h3><pre class="programlisting">void    xmlValidityErrorFunc            (void * ctx, <br/>                                       const char * msg, <br/>                                         ... ...)<br/>
        !           238: </pre><p>Callback called when a validity error is found. This is a message oriented function similar to an *printf function.</p>
        !           239: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>usually an <a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> to a validity error context, but comes from ctxt-&gt;userData (which normally contains such a pointer); ctxt-&gt;userData can be changed by the user.</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the string to format *printf like vararg</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>remaining arguments to the format</td></tr></tbody></table></div></div>
        !           240:         <hr/>
        !           241:         <div class="refsect2" lang="en"><h3><a name="xmlValidityWarningFunc"/>Function type xmlValidityWarningFunc</h3><pre class="programlisting">void        xmlValidityWarningFunc          (void * ctx, <br/>                                       const char * msg, <br/>                                         ... ...)<br/>
        !           242: </pre><p>Callback called when a validity warning is found. This is a message oriented function similar to an *printf function.</p>
        !           243: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>usually an <a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> to a validity error context, but comes from ctxt-&gt;userData (which normally contains such a pointer); ctxt-&gt;userData can be changed by the user.</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the string to format *printf like vararg</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>remaining arguments to the format</td></tr></tbody></table></div></div>
        !           244:         <hr/>
        !           245:         <div class="refsect2" lang="en"><h3><a name="xmlAddAttributeDecl"/>xmlAddAttributeDecl ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a>      xmlAddAttributeDecl     (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elem, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns, <br/>                                  <a href="libxml2-tree.html#xmlAttributeType">xmlAttributeType</a> type, <br/>                                   <a href="libxml2-tree.html#xmlAttributeDefault">xmlAttributeDefault</a> def, <br/>                                      const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * defaultValue, <br/>                                        <a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> tree)<br/>
        !           246: </pre><p>Register a new <a href="libxml2-SAX.html#attribute">attribute</a> declaration Note that @tree becomes the ownership of the DTD</p>
        !           247: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>pointer to the DTD</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the element name</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> namespace prefix</td></tr><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> type</td></tr><tr><td><span class="term"><i><tt>def</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> default type</td></tr><tr><td><span class="term"><i><tt>defaultValue</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> default value</td></tr><tr><td><span class="term"><i><tt>tree</tt></i>:</span></td><td>if it's an enumeration, the associated list</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not new, otherwise the <a href="libxml2-SAX.html#attribute">attribute</a> decl</td></tr></tbody></table></div></div>
        !           248:         <hr/>
        !           249:         <div class="refsect2" lang="en"><h3><a name="xmlAddElementDecl"/>xmlAddElementDecl ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a>      xmlAddElementDecl       (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        <a href="libxml2-tree.html#xmlElementTypeVal">xmlElementTypeVal</a> type, <br/>                                         <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> content)<br/>
        !           250: </pre><p>Register a new element declaration</p>
        !           251: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>pointer to the DTD</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the entity name</td></tr><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the element type</td></tr><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>the element content tree or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not, otherwise the entity</td></tr></tbody></table></div></div>
        !           252:         <hr/>
        !           253:         <div class="refsect2" lang="en"><h3><a name="xmlAddID"/>xmlAddID ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlIDPtr">xmlIDPtr</a>  xmlAddID                (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr)<br/>
        !           254: </pre><p>Register a new id declaration</p>
        !           255: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>pointer to the document</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the value name</td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> holding the ID</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not, otherwise the new <a href="libxml2-tree.html#xmlIDPtr">xmlIDPtr</a></td></tr></tbody></table></div></div>
        !           256:         <hr/>
        !           257:         <div class="refsect2" lang="en"><h3><a name="xmlAddNotationDecl"/>xmlAddNotationDecl ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a>  xmlAddNotationDecl      (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * PublicID, <br/>                                    const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID)<br/>
        !           258: </pre><p>Register a new notation declaration</p>
        !           259: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>pointer to the DTD</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the entity name</td></tr><tr><td><span class="term"><i><tt>PublicID</tt></i>:</span></td><td>the public identifier or NULL</td></tr><tr><td><span class="term"><i><tt>SystemID</tt></i>:</span></td><td>the system identifier or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not, otherwise the entity</td></tr></tbody></table></div></div>
        !           260:         <hr/>
        !           261:         <div class="refsect2" lang="en"><h3><a name="xmlAddRef"/>xmlAddRef ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlRefPtr">xmlRefPtr</a>      xmlAddRef               (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr)<br/>
        !           262: </pre><p>Register a new ref declaration</p>
        !           263: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>pointer to the document</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the value name</td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> holding the Ref</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not, otherwise the new <a href="libxml2-tree.html#xmlRefPtr">xmlRefPtr</a></td></tr></tbody></table></div></div>
        !           264:         <hr/>
        !           265:         <div class="refsect2" lang="en"><h3><a name="xmlCopyAttributeTable"/>xmlCopyAttributeTable ()</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a>       xmlCopyAttributeTable   (<a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a> table)<br/>
        !           266: </pre><p>Build a copy of an <a href="libxml2-SAX.html#attribute">attribute</a> table.</p>
        !           267: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An <a href="libxml2-SAX.html#attribute">attribute</a> table</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a> or NULL in case of error.</td></tr></tbody></table></div></div>
        !           268:         <hr/>
        !           269:         <div class="refsect2" lang="en"><h3><a name="xmlCopyDocElementContent"/>xmlCopyDocElementContent ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a>  xmlCopyDocElementContent        (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                                  <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> cur)<br/>
        !           270: </pre><p>Build a copy of an element content description.</p>
        !           271: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document owning the element declaration</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>An element content pointer.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> or NULL in case of error.</td></tr></tbody></table></div></div>
        !           272:         <hr/>
        !           273:         <div class="refsect2" lang="en"><h3><a name="xmlCopyElementContent"/>xmlCopyElementContent ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a>        xmlCopyElementContent   (<a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> cur)<br/>
        !           274: </pre><p>Build a copy of an element content description. Deprecated, use <a href="libxml2-valid.html#xmlCopyDocElementContent">xmlCopyDocElementContent</a> instead</p>
        !           275: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>An element content pointer.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> or NULL in case of error.</td></tr></tbody></table></div></div>
        !           276:         <hr/>
        !           277:         <div class="refsect2" lang="en"><h3><a name="xmlCopyElementTable"/>xmlCopyElementTable ()</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a>       xmlCopyElementTable     (<a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a> table)<br/>
        !           278: </pre><p>Build a copy of an element table.</p>
        !           279: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An element table</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a> or NULL in case of error.</td></tr></tbody></table></div></div>
        !           280:         <hr/>
        !           281:         <div class="refsect2" lang="en"><h3><a name="xmlCopyEnumeration"/>xmlCopyEnumeration ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a>    xmlCopyEnumeration      (<a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> cur)<br/>
        !           282: </pre><p>Copy an enumeration <a href="libxml2-SAX.html#attribute">attribute</a> node (recursive).</p>
        !           283: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the tree to copy.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> just created or NULL in case of error.</td></tr></tbody></table></div></div>
        !           284:         <hr/>
        !           285:         <div class="refsect2" lang="en"><h3><a name="xmlCopyNotationTable"/>xmlCopyNotationTable ()</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a>   xmlCopyNotationTable    (<a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a> table)<br/>
        !           286: </pre><p>Build a copy of a notation table.</p>
        !           287: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>A notation table</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a> or NULL in case of error.</td></tr></tbody></table></div></div>
        !           288:         <hr/>
        !           289:         <div class="refsect2" lang="en"><h3><a name="xmlCreateEnumeration"/>xmlCreateEnumeration ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a>        xmlCreateEnumeration    (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br/>
        !           290: </pre><p>create and initialize an enumeration <a href="libxml2-SAX.html#attribute">attribute</a> node.</p>
        !           291: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the enumeration name or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> just created or NULL in case of error.</td></tr></tbody></table></div></div>
        !           292:         <hr/>
        !           293:         <div class="refsect2" lang="en"><h3><a name="xmlDumpAttributeDecl"/>xmlDumpAttributeDecl ()</h3><pre class="programlisting">void       xmlDumpAttributeDecl            (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a> attr)<br/>
        !           294: </pre><p>This will dump the content of the <a href="libxml2-SAX.html#attribute">attribute</a> declaration as an XML DTD definition</p>
        !           295: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the XML buffer output</td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>An <a href="libxml2-SAX.html#attribute">attribute</a> declaration</td></tr></tbody></table></div></div>
        !           296:         <hr/>
        !           297:         <div class="refsect2" lang="en"><h3><a name="xmlDumpAttributeTable"/>xmlDumpAttributeTable ()</h3><pre class="programlisting">void     xmlDumpAttributeTable           (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a> table)<br/>
        !           298: </pre><p>This will dump the content of the <a href="libxml2-SAX.html#attribute">attribute</a> table as an XML DTD definition</p>
        !           299: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the XML buffer output</td></tr><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An <a href="libxml2-SAX.html#attribute">attribute</a> table</td></tr></tbody></table></div></div>
        !           300:         <hr/>
        !           301:         <div class="refsect2" lang="en"><h3><a name="xmlDumpElementDecl"/>xmlDumpElementDecl ()</h3><pre class="programlisting">void   xmlDumpElementDecl              (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a> elem)<br/>
        !           302: </pre><p>This will dump the content of the element declaration as an XML DTD definition</p>
        !           303: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the XML buffer output</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>An element table</td></tr></tbody></table></div></div>
        !           304:         <hr/>
        !           305:         <div class="refsect2" lang="en"><h3><a name="xmlDumpElementTable"/>xmlDumpElementTable ()</h3><pre class="programlisting">void xmlDumpElementTable             (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a> table)<br/>
        !           306: </pre><p>This will dump the content of the element table as an XML DTD definition</p>
        !           307: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the XML buffer output</td></tr><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An element table</td></tr></tbody></table></div></div>
        !           308:         <hr/>
        !           309:         <div class="refsect2" lang="en"><h3><a name="xmlDumpNotationDecl"/>xmlDumpNotationDecl ()</h3><pre class="programlisting">void xmlDumpNotationDecl             (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a> nota)<br/>
        !           310: </pre><p>This will dump the content the notation declaration as an XML DTD definition</p>
        !           311: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the XML buffer output</td></tr><tr><td><span class="term"><i><tt>nota</tt></i>:</span></td><td>A notation declaration</td></tr></tbody></table></div></div>
        !           312:         <hr/>
        !           313:         <div class="refsect2" lang="en"><h3><a name="xmlDumpNotationTable"/>xmlDumpNotationTable ()</h3><pre class="programlisting">void       xmlDumpNotationTable            (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/>                                    <a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a> table)<br/>
        !           314: </pre><p>This will dump the content of the notation table as an XML DTD definition</p>
        !           315: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the XML buffer output</td></tr><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>A notation table</td></tr></tbody></table></div></div>
        !           316:         <hr/>
        !           317:         <div class="refsect2" lang="en"><h3><a name="xmlFreeAttributeTable"/>xmlFreeAttributeTable ()</h3><pre class="programlisting">void     xmlFreeAttributeTable           (<a href="libxml2-valid.html#xmlAttributeTablePtr">xmlAttributeTablePtr</a> table)<br/>
        !           318: </pre><p>Deallocate the memory used by an entities hash table.</p>
        !           319: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An <a href="libxml2-SAX.html#attribute">attribute</a> table</td></tr></tbody></table></div></div>
        !           320:         <hr/>
        !           321:         <div class="refsect2" lang="en"><h3><a name="xmlFreeDocElementContent"/>xmlFreeDocElementContent ()</h3><pre class="programlisting">void       xmlFreeDocElementContent        (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> cur)<br/>
        !           322: </pre><p>Free an element content structure. The whole subtree is removed.</p>
        !           323: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document owning the element declaration</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the element content tree to free</td></tr></tbody></table></div></div>
        !           324:         <hr/>
        !           325:         <div class="refsect2" lang="en"><h3><a name="xmlFreeElementContent"/>xmlFreeElementContent ()</h3><pre class="programlisting">void     xmlFreeElementContent           (<a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> cur)<br/>
        !           326: </pre><p>Free an element content structure. The whole subtree is removed. Deprecated, use <a href="libxml2-valid.html#xmlFreeDocElementContent">xmlFreeDocElementContent</a> instead</p>
        !           327: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the element content tree to free</td></tr></tbody></table></div></div>
        !           328:         <hr/>
        !           329:         <div class="refsect2" lang="en"><h3><a name="xmlFreeElementTable"/>xmlFreeElementTable ()</h3><pre class="programlisting">void xmlFreeElementTable             (<a href="libxml2-valid.html#xmlElementTablePtr">xmlElementTablePtr</a> table)<br/>
        !           330: </pre><p>Deallocate the memory used by an element hash table.</p>
        !           331: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An element table</td></tr></tbody></table></div></div>
        !           332:         <hr/>
        !           333:         <div class="refsect2" lang="en"><h3><a name="xmlFreeEnumeration"/>xmlFreeEnumeration ()</h3><pre class="programlisting">void   xmlFreeEnumeration              (<a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> cur)<br/>
        !           334: </pre><p>free an enumeration <a href="libxml2-SAX.html#attribute">attribute</a> node (recursive).</p>
        !           335: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the tree to free.</td></tr></tbody></table></div></div>
        !           336:         <hr/>
        !           337:         <div class="refsect2" lang="en"><h3><a name="xmlFreeIDTable"/>xmlFreeIDTable ()</h3><pre class="programlisting">void   xmlFreeIDTable                  (<a href="libxml2-valid.html#xmlIDTablePtr">xmlIDTablePtr</a> table)<br/>
        !           338: </pre><p>Deallocate the memory used by an ID hash table.</p>
        !           339: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An id table</td></tr></tbody></table></div></div>
        !           340:         <hr/>
        !           341:         <div class="refsect2" lang="en"><h3><a name="xmlFreeNotationTable"/>xmlFreeNotationTable ()</h3><pre class="programlisting">void       xmlFreeNotationTable            (<a href="libxml2-valid.html#xmlNotationTablePtr">xmlNotationTablePtr</a> table)<br/>
        !           342: </pre><p>Deallocate the memory used by an entities hash table.</p>
        !           343: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An notation table</td></tr></tbody></table></div></div>
        !           344:         <hr/>
        !           345:         <div class="refsect2" lang="en"><h3><a name="xmlFreeRefTable"/>xmlFreeRefTable ()</h3><pre class="programlisting">void xmlFreeRefTable                 (<a href="libxml2-valid.html#xmlRefTablePtr">xmlRefTablePtr</a> table)<br/>
        !           346: </pre><p>Deallocate the memory used by an Ref hash table.</p>
        !           347: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>An ref table</td></tr></tbody></table></div></div>
        !           348:         <hr/>
        !           349:         <div class="refsect2" lang="en"><h3><a name="xmlFreeValidCtxt"/>xmlFreeValidCtxt ()</h3><pre class="programlisting">void       xmlFreeValidCtxt                (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> cur)<br/>
        !           350: </pre><p>Free a validation context structure.</p>
        !           351: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the validation context to free</td></tr></tbody></table></div></div>
        !           352:         <hr/>
        !           353:         <div class="refsect2" lang="en"><h3><a name="xmlGetDtdAttrDesc"/>xmlGetDtdAttrDesc ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a>  xmlGetDtdAttrDesc       (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elem, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br/>
        !           354: </pre><p>Search the DTD for the description of this <a href="libxml2-SAX.html#attribute">attribute</a> on this element.</p>
        !           355: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>a pointer to the DtD to search</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the element name</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a> if found or NULL</td></tr></tbody></table></div></div>
        !           356:         <hr/>
        !           357:         <div class="refsect2" lang="en"><h3><a name="xmlGetDtdElementDesc"/>xmlGetDtdElementDesc ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a>        xmlGetDtdElementDesc    (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br/>
        !           358: </pre><p>Search the DTD for the description of this element</p>
        !           359: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>a pointer to the DtD to search</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the element name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a> if found or NULL</td></tr></tbody></table></div></div>
        !           360:         <hr/>
        !           361:         <div class="refsect2" lang="en"><h3><a name="xmlGetDtdNotationDesc"/>xmlGetDtdNotationDesc ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a>    xmlGetDtdNotationDesc   (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br/>
        !           362: </pre><p>Search the DTD for the description of this notation</p>
        !           363: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>a pointer to the DtD to search</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the notation name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a> if found or NULL</td></tr></tbody></table></div></div>
        !           364:         <hr/>
        !           365:         <div class="refsect2" lang="en"><h3><a name="xmlGetDtdQAttrDesc"/>xmlGetDtdQAttrDesc ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a>        xmlGetDtdQAttrDesc      (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elem, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix)<br/>
        !           366: </pre><p>Search the DTD for the description of this qualified <a href="libxml2-SAX.html#attribute">attribute</a> on this element.</p>
        !           367: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>a pointer to the DtD to search</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the element name</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td></tr><tr><td><span class="term"><i><tt>prefix</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> namespace prefix</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a> if found or NULL</td></tr></tbody></table></div></div>
        !           368:         <hr/>
        !           369:         <div class="refsect2" lang="en"><h3><a name="xmlGetDtdQElementDesc"/>xmlGetDtdQElementDesc ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a>      xmlGetDtdQElementDesc   (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix)<br/>
        !           370: </pre><p>Search the DTD for the description of this element</p>
        !           371: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>a pointer to the DtD to search</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the element name</td></tr><tr><td><span class="term"><i><tt>prefix</tt></i>:</span></td><td>the element namespace prefix</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a> if found or NULL</td></tr></tbody></table></div></div>
        !           372:         <hr/>
        !           373:         <div class="refsect2" lang="en"><h3><a name="xmlGetID"/>xmlGetID ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a>      xmlGetID                (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ID)<br/>
        !           374: </pre><p>Search the <a href="libxml2-SAX.html#attribute">attribute</a> declaring the given ID</p>
        !           375: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>pointer to the document</td></tr><tr><td><span class="term"><i><tt>ID</tt></i>:</span></td><td>the ID value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not found, otherwise the <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> defining the ID</td></tr></tbody></table></div></div>
        !           376:         <hr/>
        !           377:         <div class="refsect2" lang="en"><h3><a name="xmlGetRefs"/>xmlGetRefs ()</h3><pre class="programlisting"><a href="libxml2-list.html#xmlListPtr">xmlListPtr</a>  xmlGetRefs              (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ID)<br/>
        !           378: </pre><p>Find the set of references for the supplied ID.</p>
        !           379: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>pointer to the document</td></tr><tr><td><span class="term"><i><tt>ID</tt></i>:</span></td><td>the ID value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not found, otherwise node set for the ID.</td></tr></tbody></table></div></div>
        !           380:         <hr/>
        !           381:         <div class="refsect2" lang="en"><h3><a name="xmlIsID"/>xmlIsID ()</h3><pre class="programlisting">int  xmlIsID                 (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr)<br/>
        !           382: </pre><p>Determine whether an <a href="libxml2-SAX.html#attribute">attribute</a> is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically.</p>
        !           383: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the element carrying the <a href="libxml2-SAX.html#attribute">attribute</a></td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 or 1 depending on the lookup result</td></tr></tbody></table></div></div>
        !           384:         <hr/>
        !           385:         <div class="refsect2" lang="en"><h3><a name="xmlIsMixedElement"/>xmlIsMixedElement ()</h3><pre class="programlisting">int      xmlIsMixedElement               (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br/>
        !           386: </pre><p>Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs</p>
        !           387: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the element name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if no, 1 if yes, and -1 if no element description is available</td></tr></tbody></table></div></div>
        !           388:         <hr/>
        !           389:         <div class="refsect2" lang="en"><h3><a name="xmlIsRef"/>xmlIsRef ()</h3><pre class="programlisting">int        xmlIsRef                        (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr)<br/>
        !           390: </pre><p>Determine whether an <a href="libxml2-SAX.html#attribute">attribute</a> 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>
        !           391: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the element carrying the <a href="libxml2-SAX.html#attribute">attribute</a></td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 or 1 depending on the lookup result</td></tr></tbody></table></div></div>
        !           392:         <hr/>
        !           393:         <div class="refsect2" lang="en"><h3><a name="xmlNewDocElementContent"/>xmlNewDocElementContent ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a>    xmlNewDocElementContent (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                          const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                                <a href="libxml2-tree.html#xmlElementContentType">xmlElementContentType</a> type)<br/>
        !           394: </pre><p>Allocate an element content structure for the document.</p>
        !           395: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the subelement name or NULL</td></tr><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the type of element content decl</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not, otherwise the new element content structure</td></tr></tbody></table></div></div>
        !           396:         <hr/>
        !           397:         <div class="refsect2" lang="en"><h3><a name="xmlNewElementContent"/>xmlNewElementContent ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a>  xmlNewElementContent    (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                                <a href="libxml2-tree.html#xmlElementContentType">xmlElementContentType</a> type)<br/>
        !           398: </pre><p>Allocate an element content structure. Deprecated in favor of <a href="libxml2-valid.html#xmlNewDocElementContent">xmlNewDocElementContent</a></p>
        !           399: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the subelement name or NULL</td></tr><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the type of element content decl</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not, otherwise the new element content structure</td></tr></tbody></table></div></div>
        !           400:         <hr/>
        !           401:         <div class="refsect2" lang="en"><h3><a name="xmlNewValidCtxt"/>xmlNewValidCtxt ()</h3><pre class="programlisting"><a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a>     xmlNewValidCtxt         (void)<br/>
        !           402: </pre><p>Allocate a validation context structure.</p>
        !           403: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not, otherwise the new validation context structure</td></tr></tbody></table></div></div>
        !           404:         <hr/>
        !           405:         <div class="refsect2" lang="en"><h3><a name="xmlRemoveID"/>xmlRemoveID ()</h3><pre class="programlisting">int  xmlRemoveID                     (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr)<br/>
        !           406: </pre><p>Remove the given <a href="libxml2-SAX.html#attribute">attribute</a> from the ID table maintained internally.</p>
        !           407: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 if the lookup failed and 0 otherwise</td></tr></tbody></table></div></div>
        !           408:         <hr/>
        !           409:         <div class="refsect2" lang="en"><h3><a name="xmlRemoveRef"/>xmlRemoveRef ()</h3><pre class="programlisting">int        xmlRemoveRef                    (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr)<br/>
        !           410: </pre><p>Remove the given <a href="libxml2-SAX.html#attribute">attribute</a> from the Ref table maintained internally.</p>
        !           411: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 if the lookup failed and 0 otherwise</td></tr></tbody></table></div></div>
        !           412:         <hr/>
        !           413:         <div class="refsect2" lang="en"><h3><a name="xmlSnprintfElementContent"/>xmlSnprintfElementContent ()</h3><pre class="programlisting">void     xmlSnprintfElementContent       (char * buf, <br/>                                       int size, <br/>                                         <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> content, <br/>                                        int englob)<br/>
        !           414: </pre><p>This will dump the content of the element content definition Intended just for the debug routine</p>
        !           415: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>an output buffer</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the buffer size</td></tr><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>An element table</td></tr><tr><td><span class="term"><i><tt>englob</tt></i>:</span></td><td>1 if one must print the englobing parenthesis, 0 otherwise</td></tr></tbody></table></div></div>
        !           416:         <hr/>
        !           417:         <div class="refsect2" lang="en"><h3><a name="xmlSprintfElementContent"/>xmlSprintfElementContent ()</h3><pre class="programlisting">void       xmlSprintfElementContent        (char * buf, <br/>                                       <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> content, <br/>                                        int englob)<br/>
        !           418: </pre><p>Deprecated, unsafe, use <a href="libxml2-valid.html#xmlSnprintfElementContent">xmlSnprintfElementContent</a></p>
        !           419: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>an output buffer</td></tr><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>An element table</td></tr><tr><td><span class="term"><i><tt>englob</tt></i>:</span></td><td>1 if one must print the englobing parenthesis, 0 otherwise</td></tr></tbody></table></div></div>
        !           420:         <hr/>
        !           421:         <div class="refsect2" lang="en"><h3><a name="xmlValidBuildContentModel"/>xmlValidBuildContentModel ()</h3><pre class="programlisting">int      xmlValidBuildContentModel       (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a> elem)<br/>
        !           422: </pre><p>(Re)Build the automata associated to the content model of this element</p>
        !           423: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a validation context</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element declaration node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 in case of success, 0 in case of error</td></tr></tbody></table></div></div>
        !           424:         <hr/>
        !           425:         <div class="refsect2" lang="en"><h3><a name="xmlValidCtxtNormalizeAttributeValue"/>xmlValidCtxtNormalizeAttributeValue ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *       xmlValidCtxtNormalizeAttributeValue     (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                                        const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           426: </pre><p>Does the validation related extra step of the normalization of <a href="libxml2-SAX.html#attribute">attribute</a> values: If the declared value is not CDATA, then the XML processor must further process the normalized <a href="libxml2-SAX.html#attribute">attribute</a> value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) <a href="libxml2-SAX.html#characters">characters</a> by single space (#x20) character. Also check VC: Standalone Document Declaration in P32, and update ctxt-&gt;valid accordingly</p>
        !           427: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context or NULL</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the parent</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value.</td></tr></tbody></table></div></div>
        !           428:         <hr/>
        !           429:         <div class="refsect2" lang="en"><h3><a name="xmlValidGetPotentialChildren"/>xmlValidGetPotentialChildren ()</h3><pre class="programlisting">int        xmlValidGetPotentialChildren    (<a href="libxml2-tree.html#xmlElementContent">xmlElementContent</a> * ctree, <br/>                                      const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** names, <br/>                                      int * len, <br/>                                        int max)<br/>
        !           430: </pre><p>Build/extend a list of potential children allowed by the content tree</p>
        !           431: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctree</tt></i>:</span></td><td>an element content tree</td></tr><tr><td><span class="term"><i><tt>names</tt></i>:</span></td><td>an array to store the list of child names</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>a pointer to the number of element in the list</td></tr><tr><td><span class="term"><i><tt>max</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of element in the list, or -1 in case of error.</td></tr></tbody></table></div></div>
        !           432:         <hr/>
        !           433:         <div class="refsect2" lang="en"><h3><a name="xmlValidGetValidElements"/>xmlValidGetValidElements ()</h3><pre class="programlisting">int        xmlValidGetValidElements        (<a href="libxml2-tree.html#xmlNode">xmlNode</a> * prev, <br/>                                   <a href="libxml2-tree.html#xmlNode">xmlNode</a> * next, <br/>                                   const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** names, <br/>                                      int max)<br/>
        !           434: </pre><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 @prev and @next in the following ways: to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ... to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ... to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ... to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs, to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ... pointers to the element names are inserted at the beginning of the array and do not need to be freed.</p>
        !           435: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>prev</tt></i>:</span></td><td>an element to insert after</td></tr><tr><td><span class="term"><i><tt>next</tt></i>:</span></td><td>an element to insert next</td></tr><tr><td><span class="term"><i><tt>names</tt></i>:</span></td><td>an array to store the list of child names</td></tr><tr><td><span class="term"><i><tt>max</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of element in the list, or -1 in case of error. If the function returns the value @max the caller is invited to grow the receiving array and retry.</td></tr></tbody></table></div></div>
        !           436:         <hr/>
        !           437:         <div class="refsect2" lang="en"><h3><a name="xmlValidNormalizeAttributeValue"/>xmlValidNormalizeAttributeValue ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *       xmlValidNormalizeAttributeValue (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                          <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                               const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/>                                                const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           438: </pre><p>Does the validation related extra step of the normalization of <a href="libxml2-SAX.html#attribute">attribute</a> values: If the declared value is not CDATA, then the XML processor must further process the normalized <a href="libxml2-SAX.html#attribute">attribute</a> value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) <a href="libxml2-SAX.html#characters">characters</a> by single space (#x20) character.</p>
        !           439: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the parent</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value.</td></tr></tbody></table></div></div>
        !           440:         <hr/>
        !           441:         <div class="refsect2" lang="en"><h3><a name="xmlValidateAttributeDecl"/>xmlValidateAttributeDecl ()</h3><pre class="programlisting">int        xmlValidateAttributeDecl        (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a> attr)<br/>
        !           442: </pre><p>Try to validate a single <a href="libxml2-SAX.html#attribute">attribute</a> 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 ] The ID/IDREF uniqueness and matching are done separately</p>
        !           443: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>an <a href="libxml2-SAX.html#attribute">attribute</a> definition</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           444:         <hr/>
        !           445:         <div class="refsect2" lang="en"><h3><a name="xmlValidateAttributeValue"/>xmlValidateAttributeValue ()</h3><pre class="programlisting">int      xmlValidateAttributeValue       (<a href="libxml2-tree.html#xmlAttributeType">xmlAttributeType</a> type, <br/>                                   const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           446: </pre><p>Validate that the given <a href="libxml2-SAX.html#attribute">attribute</a> value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.</p>
        !           447: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>an <a href="libxml2-SAX.html#attribute">attribute</a> type</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>an <a href="libxml2-SAX.html#attribute">attribute</a> value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           448:         <hr/>
        !           449:         <div class="refsect2" lang="en"><h3><a name="xmlValidateDocument"/>xmlValidateDocument ()</h3><pre class="programlisting">int  xmlValidateDocument             (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
        !           450: </pre><p>Try to validate the document instance 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>
        !           451: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           452:         <hr/>
        !           453:         <div class="refsect2" lang="en"><h3><a name="xmlValidateDocumentFinal"/>xmlValidateDocumentFinal ()</h3><pre class="programlisting">int        xmlValidateDocumentFinal        (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
        !           454: </pre><p>Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec Check all the IDREF/IDREFS attributes definition for validity</p>
        !           455: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           456:         <hr/>
        !           457:         <div class="refsect2" lang="en"><h3><a name="xmlValidateDtd"/>xmlValidateDtd ()</h3><pre class="programlisting">int    xmlValidateDtd                  (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd)<br/>
        !           458: </pre><p>Try to validate the document against the dtd instance Basically it does check all the definitions in the DtD. Note the the internal subset (if present) is de-coupled (i.e. not used), which could give problems if ID or IDREF is present.</p>
        !           459: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>dtd</tt></i>:</span></td><td>a dtd instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           460:         <hr/>
        !           461:         <div class="refsect2" lang="en"><h3><a name="xmlValidateDtdFinal"/>xmlValidateDtdFinal ()</h3><pre class="programlisting">int  xmlValidateDtdFinal             (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
        !           462: </pre><p>Does the final step for the dtds validation once all the subsets have been parsed 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>
        !           463: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 if invalid and -1 if not well-formed</td></tr></tbody></table></div></div>
        !           464:         <hr/>
        !           465:         <div class="refsect2" lang="en"><h3><a name="xmlValidateElement"/>xmlValidateElement ()</h3><pre class="programlisting">int    xmlValidateElement              (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem)<br/>
        !           466: </pre><p>Try to validate the subtree under an element</p>
        !           467: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           468:         <hr/>
        !           469:         <div class="refsect2" lang="en"><h3><a name="xmlValidateElementDecl"/>xmlValidateElementDecl ()</h3><pre class="programlisting">int    xmlValidateElementDecl          (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlElementPtr">xmlElementPtr</a> elem)<br/>
        !           470: </pre><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>
        !           471: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element definition</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           472:         <hr/>
        !           473:         <div class="refsect2" lang="en"><h3><a name="xmlValidateNameValue"/>xmlValidateNameValue ()</h3><pre class="programlisting">int        xmlValidateNameValue            (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           474: </pre><p>Validate that the given value match Name production</p>
        !           475: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>an Name value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           476:         <hr/>
        !           477:         <div class="refsect2" lang="en"><h3><a name="xmlValidateNamesValue"/>xmlValidateNamesValue ()</h3><pre class="programlisting">int      xmlValidateNamesValue           (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           478: </pre><p>Validate that the given value match Names production</p>
        !           479: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>an Names value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           480:         <hr/>
        !           481:         <div class="refsect2" lang="en"><h3><a name="xmlValidateNmtokenValue"/>xmlValidateNmtokenValue ()</h3><pre class="programlisting">int  xmlValidateNmtokenValue         (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           482: </pre><p>Validate that the given value match Nmtoken production [ VC: Name Token ]</p>
        !           483: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>an Nmtoken value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           484:         <hr/>
        !           485:         <div class="refsect2" lang="en"><h3><a name="xmlValidateNmtokensValue"/>xmlValidateNmtokensValue ()</h3><pre class="programlisting">int        xmlValidateNmtokensValue        (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           486: </pre><p>Validate that the given value match Nmtokens production [ VC: Name Token ]</p>
        !           487: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>an Nmtokens value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           488:         <hr/>
        !           489:         <div class="refsect2" lang="en"><h3><a name="xmlValidateNotationDecl"/>xmlValidateNotationDecl ()</h3><pre class="programlisting">int  xmlValidateNotationDecl         (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNotationPtr">xmlNotationPtr</a> nota)<br/>
        !           490: </pre><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 constraint exists on notation declarations But this function get called anyway ...</p>
        !           491: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>nota</tt></i>:</span></td><td>a notation definition</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           492:         <hr/>
        !           493:         <div class="refsect2" lang="en"><h3><a name="xmlValidateNotationUse"/>xmlValidateNotationUse ()</h3><pre class="programlisting">int    xmlValidateNotationUse          (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * notationName)<br/>
        !           494: </pre><p>Validate that the given name match a notation declaration. - [ VC: Notation Declared ]</p>
        !           495: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>notationName</tt></i>:</span></td><td>the notation name to check</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           496:         <hr/>
        !           497:         <div class="refsect2" lang="en"><h3><a name="xmlValidateOneAttribute"/>xmlValidateOneAttribute ()</h3><pre class="programlisting">int  xmlValidateOneAttribute         (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr, <br/>                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           498: </pre><p>Try to validate a single <a href="libxml2-SAX.html#attribute">attribute</a> 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 ] The ID/IDREF uniqueness and matching are done separately</p>
        !           499: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>an <a href="libxml2-SAX.html#attribute">attribute</a> instance</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> value (without entities processing)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           500:         <hr/>
        !           501:         <div class="refsect2" lang="en"><h3><a name="xmlValidateOneElement"/>xmlValidateOneElement ()</h3><pre class="programlisting">int      xmlValidateOneElement           (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem)<br/>
        !           502: </pre><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 xmlValidateOneAttribute() for each <a href="libxml2-SAX.html#attribute">attribute</a> present. The ID/IDREF checkings are done separately</p>
        !           503: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           504:         <hr/>
        !           505:         <div class="refsect2" lang="en"><h3><a name="xmlValidateOneNamespace"/>xmlValidateOneNamespace ()</h3><pre class="programlisting">int  xmlValidateOneNamespace         (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix, <br/>                                      <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br/>                                     const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
        !           506: </pre><p>Try to validate a single namespace declaration 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 ] The ID/IDREF uniqueness and matching are done separately</p>
        !           507: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>prefix</tt></i>:</span></td><td>the namespace prefix</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>an namespace declaration instance</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the <a href="libxml2-SAX.html#attribute">attribute</a> value (without entities processing)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           508:         <hr/>
        !           509:         <div class="refsect2" lang="en"><h3><a name="xmlValidatePopElement"/>xmlValidatePopElement ()</h3><pre class="programlisting">int      xmlValidatePopElement           (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * qname)<br/>
        !           510: </pre><p>Pop the element end from the validation stack.</p>
        !           511: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>qname</tt></i>:</span></td><td>the qualified name as appearing in the serialization</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if no validation problem was found or 0 otherwise</td></tr></tbody></table></div></div>
        !           512:         <hr/>
        !           513:         <div class="refsect2" lang="en"><h3><a name="xmlValidatePushCData"/>xmlValidatePushCData ()</h3><pre class="programlisting">int        xmlValidatePushCData            (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * data, <br/>                                        int len)<br/>
        !           514: </pre><p>check the CData parsed for validation in the current stack</p>
        !           515: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>some character data read</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the lenght of the data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if no validation problem was found or 0 otherwise</td></tr></tbody></table></div></div>
        !           516:         <hr/>
        !           517:         <div class="refsect2" lang="en"><h3><a name="xmlValidatePushElement"/>xmlValidatePushElement ()</h3><pre class="programlisting">int    xmlValidatePushElement          (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/>                                  <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br/>                                       const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * qname)<br/>
        !           518: </pre><p>Push a new element start on the validation stack.</p>
        !           519: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>qname</tt></i>:</span></td><td>the qualified name as appearing in the serialization</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if no validation problem was found or 0 otherwise</td></tr></tbody></table></div></div>
        !           520:         <hr/>
        !           521:         <div class="refsect2" lang="en"><h3><a name="xmlValidateRoot"/>xmlValidateRoot ()</h3><pre class="programlisting">int  xmlValidateRoot                 (<a href="libxml2-valid.html#xmlValidCtxtPtr">xmlValidCtxtPtr</a> ctxt, <br/>                                    <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
        !           522: </pre><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>
        !           523: <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid or 0 otherwise</td></tr></tbody></table></div></div>
        !           524:         <hr/>
        !           525:       </div>
        !           526:     </div>
        !           527:   </body>
        !           528: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>