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