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 | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
Daniel Veillard | 60087f3 | 2001-10-10 09:45:09 +0000 | [diff] [blame] | 8 | "><LINK |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 9 | REL="HOME" |
| 10 | TITLE="Gnome XML Library Reference Manual" |
| 11 | HREF="book1.html"><LINK |
| 12 | REL="UP" |
Daniel Veillard | 3500838 | 1999-10-25 13:15:52 +0000 | [diff] [blame] | 13 | TITLE="Libxml Library Reference" |
| 14 | HREF="libxml-lib.html"><LINK |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 15 | REL="PREVIOUS" |
| 16 | TITLE="entities" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 17 | HREF="libxml-entities.html"><LINK |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 18 | REL="NEXT" |
Daniel Veillard | 8f62198 | 2000-03-20 13:07:15 +0000 | [diff] [blame] | 19 | TITLE="uri" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 20 | HREF="libxml-uri.html"></HEAD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 21 | ><BODY |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 22 | CLASS="REFENTRY" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 23 | BGCOLOR="#FFFFFF" |
| 24 | TEXT="#000000" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 25 | LINK="#0000FF" |
| 26 | VLINK="#840084" |
| 27 | ALINK="#0000FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 28 | ><DIV |
| 29 | CLASS="NAVHEADER" |
| 30 | ><TABLE |
| 31 | WIDTH="100%" |
| 32 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 33 | BGCOLOR="#000000" |
| 34 | CELLPADDING="1" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 35 | CELLSPACING="0" |
| 36 | ><TR |
| 37 | ><TH |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 38 | COLSPAN="4" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 39 | ALIGN="center" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 40 | ><FONT |
| 41 | COLOR="#FFFFFF" |
| 42 | SIZE="5" |
| 43 | >Gnome XML Library Reference Manual</FONT |
| 44 | ></TH |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 45 | ></TR |
| 46 | ><TR |
| 47 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 48 | WIDTH="25%" |
| 49 | BGCOLOR="#C00000" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 50 | ALIGN="left" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 51 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 52 | HREF="libxml-entities.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 53 | ><FONT |
| 54 | COLOR="#FFFFFF" |
| 55 | SIZE="3" |
| 56 | ><B |
| 57 | ><<< Previous Page</B |
| 58 | ></FONT |
| 59 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 60 | ></TD |
| 61 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 62 | WIDTH="25%" |
| 63 | BGCOLOR="#0000C0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 64 | ALIGN="center" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 65 | ><FONT |
| 66 | COLOR="#FFFFFF" |
| 67 | SIZE="3" |
| 68 | ><B |
| 69 | ><A |
| 70 | HREF="book1.html" |
| 71 | ><FONT |
| 72 | COLOR="#FFFFFF" |
| 73 | SIZE="3" |
| 74 | ><B |
| 75 | >Home</B |
| 76 | ></FONT |
| 77 | ></A |
| 78 | ></B |
| 79 | ></FONT |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 80 | ></TD |
| 81 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 82 | WIDTH="25%" |
| 83 | BGCOLOR="#00C000" |
| 84 | ALIGN="center" |
| 85 | ><FONT |
| 86 | COLOR="#FFFFFF" |
| 87 | SIZE="3" |
| 88 | ><B |
| 89 | ><A |
Daniel Veillard | 3500838 | 1999-10-25 13:15:52 +0000 | [diff] [blame] | 90 | HREF="libxml-lib.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 91 | ><FONT |
| 92 | COLOR="#FFFFFF" |
| 93 | SIZE="3" |
| 94 | ><B |
| 95 | >Up</B |
| 96 | ></FONT |
| 97 | ></A |
| 98 | ></B |
| 99 | ></FONT |
| 100 | ></TD |
| 101 | ><TD |
| 102 | WIDTH="25%" |
| 103 | BGCOLOR="#C00000" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 104 | ALIGN="right" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 105 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 106 | HREF="libxml-uri.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 107 | ><FONT |
| 108 | COLOR="#FFFFFF" |
| 109 | SIZE="3" |
| 110 | ><B |
| 111 | >Next Page >>></B |
| 112 | ></FONT |
| 113 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 114 | ></TD |
| 115 | ></TR |
| 116 | ></TABLE |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 117 | ></DIV |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 118 | ><H1 |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 119 | ><A |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 120 | NAME="LIBXML-VALID">valid</H1 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 121 | ><DIV |
| 122 | CLASS="REFNAMEDIV" |
| 123 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 124 | NAME="AEN8587" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 125 | ></A |
| 126 | ><H2 |
| 127 | >Name</H2 |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 128 | >valid -- </DIV |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 129 | ><DIV |
| 130 | CLASS="REFSYNOPSISDIV" |
| 131 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 132 | NAME="AEN8590"><H2 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 133 | >Synopsis</H2 |
| 134 | ><TABLE |
| 135 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 136 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 137 | WIDTH="100%" |
| 138 | CELLPADDING="6" |
| 139 | ><TR |
| 140 | ><TD |
| 141 | ><PRE |
| 142 | CLASS="SYNOPSIS" |
| 143 | > |
| 144 | |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 145 | struct <A |
| 146 | HREF="libxml-valid.html#XMLVALIDSTATE" |
| 147 | >xmlValidState</A |
| 148 | >; |
| 149 | typedef <A |
| 150 | HREF="libxml-valid.html#XMLVALIDSTATEPTR" |
| 151 | >xmlValidStatePtr</A |
| 152 | >; |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 153 | void (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 154 | HREF="libxml-valid.html#XMLVALIDITYERRORFUNC" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 155 | >*xmlValidityErrorFunc</A |
| 156 | >) (void *ctx, |
| 157 | const char *msg, |
| 158 | ...); |
| 159 | void (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 160 | HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 161 | >*xmlValidityWarningFunc</A |
| 162 | >) (void *ctx, |
| 163 | const char *msg, |
| 164 | ...); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 165 | struct <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 166 | HREF="libxml-valid.html#XMLVALIDCTXT" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 167 | >xmlValidCtxt</A |
| 168 | >; |
| 169 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 170 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 171 | >xmlValidCtxtPtr</A |
| 172 | >; |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 173 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 174 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 175 | >xmlNotationTablePtr</A |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 176 | >; |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 177 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 178 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 179 | >xmlElementTablePtr</A |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 180 | >; |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 181 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 182 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 183 | >xmlAttributeTablePtr</A |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 184 | >; |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 185 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 186 | HREF="libxml-valid.html#XMLIDTABLEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 187 | >xmlIDTablePtr</A |
| 188 | >; |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 189 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 190 | HREF="libxml-valid.html#XMLREFTABLEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 191 | >xmlRefTablePtr</A |
| 192 | >; |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 193 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 194 | HREF="libxml-tree.html#XMLCHAR" |
| 195 | >xmlChar</A |
| 196 | >* <A |
| 197 | HREF="libxml-valid.html#XMLSPLITQNAME2" |
| 198 | >xmlSplitQName2</A |
| 199 | > (const <A |
| 200 | HREF="libxml-tree.html#XMLCHAR" |
| 201 | >xmlChar</A |
| 202 | > *name, |
| 203 | <A |
| 204 | HREF="libxml-tree.html#XMLCHAR" |
| 205 | >xmlChar</A |
| 206 | > **prefix); |
| 207 | <A |
| 208 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 209 | >xmlNotationPtr</A |
| 210 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 211 | HREF="libxml-valid.html#XMLADDNOTATIONDECL" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 212 | >xmlAddNotationDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 213 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 214 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 215 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 216 | > ctxt, |
| 217 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 218 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 219 | >xmlDtdPtr</A |
| 220 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 221 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 222 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 223 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 224 | > *name, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 225 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 226 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 227 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 228 | > *PublicID, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 229 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 230 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 231 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 232 | > *SystemID); |
| 233 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 234 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 235 | >xmlNotationTablePtr</A |
| 236 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 237 | HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 238 | >xmlCopyNotationTable</A |
| 239 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 240 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 241 | >xmlNotationTablePtr</A |
| 242 | > table); |
| 243 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 244 | HREF="libxml-valid.html#XMLFREENOTATIONTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 245 | >xmlFreeNotationTable</A |
| 246 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 247 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 248 | >xmlNotationTablePtr</A |
| 249 | > table); |
| 250 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 251 | HREF="libxml-valid.html#XMLDUMPNOTATIONDECL" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 252 | >xmlDumpNotationDecl</A |
| 253 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 254 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 255 | >xmlBufferPtr</A |
| 256 | > buf, |
| 257 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 258 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 259 | >xmlNotationPtr</A |
| 260 | > nota); |
| 261 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 262 | HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 263 | >xmlDumpNotationTable</A |
| 264 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 265 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 266 | >xmlBufferPtr</A |
| 267 | > buf, |
| 268 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 269 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 270 | >xmlNotationTablePtr</A |
| 271 | > table); |
| 272 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 273 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 274 | >xmlElementContentPtr</A |
| 275 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 276 | HREF="libxml-valid.html#XMLNEWELEMENTCONTENT" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 277 | >xmlNewElementContent</A |
| 278 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 279 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 280 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 281 | > *name, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 282 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 283 | HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 284 | >xmlElementContentType</A |
| 285 | > type); |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 286 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 287 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 288 | >xmlElementContentPtr</A |
| 289 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 290 | HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 291 | >xmlCopyElementContent</A |
| 292 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 293 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 294 | >xmlElementContentPtr</A |
| 295 | > content); |
| 296 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 297 | HREF="libxml-valid.html#XMLFREEELEMENTCONTENT" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 298 | >xmlFreeElementContent</A |
| 299 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 300 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 301 | >xmlElementContentPtr</A |
| 302 | > cur); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 303 | void <A |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 304 | HREF="libxml-valid.html#XMLSNPRINTFELEMENTCONTENT" |
| 305 | >xmlSnprintfElementContent</A |
| 306 | > (char *buf, |
| 307 | int size, |
| 308 | <A |
| 309 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
| 310 | >xmlElementContentPtr</A |
| 311 | > content, |
| 312 | int glob); |
| 313 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 314 | HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 315 | >xmlSprintfElementContent</A |
| 316 | > (char *buf, |
| 317 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 318 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 319 | >xmlElementContentPtr</A |
| 320 | > content, |
| 321 | int glob); |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 322 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 323 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 324 | >xmlElementPtr</A |
| 325 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 326 | HREF="libxml-valid.html#XMLADDELEMENTDECL" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 327 | >xmlAddElementDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 328 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 329 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 330 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 331 | > ctxt, |
| 332 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 333 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 334 | >xmlDtdPtr</A |
| 335 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 336 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 337 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 338 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 339 | > *name, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 340 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 341 | HREF="libxml-tree.html#XMLELEMENTTYPEVAL" |
Daniel Veillard | 4c3a203 | 1999-11-19 17:46:26 +0000 | [diff] [blame] | 342 | >xmlElementTypeVal</A |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 343 | > type, |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 344 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 345 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 346 | >xmlElementContentPtr</A |
| 347 | > content); |
| 348 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 349 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 350 | >xmlElementTablePtr</A |
| 351 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 352 | HREF="libxml-valid.html#XMLCOPYELEMENTTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 353 | >xmlCopyElementTable</A |
| 354 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 355 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 356 | >xmlElementTablePtr</A |
| 357 | > table); |
| 358 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 359 | HREF="libxml-valid.html#XMLFREEELEMENTTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 360 | >xmlFreeElementTable</A |
| 361 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 362 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 363 | >xmlElementTablePtr</A |
| 364 | > table); |
| 365 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 366 | HREF="libxml-valid.html#XMLDUMPELEMENTTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 367 | >xmlDumpElementTable</A |
| 368 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 369 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 370 | >xmlBufferPtr</A |
| 371 | > buf, |
| 372 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 373 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 374 | >xmlElementTablePtr</A |
| 375 | > table); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 376 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 377 | HREF="libxml-valid.html#XMLDUMPELEMENTDECL" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 378 | >xmlDumpElementDecl</A |
| 379 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 380 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 381 | >xmlBufferPtr</A |
| 382 | > buf, |
| 383 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 384 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 385 | >xmlElementPtr</A |
| 386 | > elem); |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 387 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 388 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 389 | >xmlEnumerationPtr</A |
| 390 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 391 | HREF="libxml-valid.html#XMLCREATEENUMERATION" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 392 | >xmlCreateEnumeration</A |
| 393 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 394 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 395 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 396 | > *name); |
| 397 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 398 | HREF="libxml-valid.html#XMLFREEENUMERATION" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 399 | >xmlFreeEnumeration</A |
| 400 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 401 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 402 | >xmlEnumerationPtr</A |
| 403 | > cur); |
| 404 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 405 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 406 | >xmlEnumerationPtr</A |
| 407 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 408 | HREF="libxml-valid.html#XMLCOPYENUMERATION" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 409 | >xmlCopyEnumeration</A |
| 410 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 411 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 412 | >xmlEnumerationPtr</A |
| 413 | > cur); |
| 414 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 415 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 416 | >xmlAttributePtr</A |
| 417 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 418 | HREF="libxml-valid.html#XMLADDATTRIBUTEDECL" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 419 | >xmlAddAttributeDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 420 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 421 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 422 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 423 | > ctxt, |
| 424 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 425 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 426 | >xmlDtdPtr</A |
| 427 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 428 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 429 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 430 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 431 | > *elem, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 432 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 433 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 434 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 435 | > *name, |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 436 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 437 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 438 | >xmlChar</A |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 439 | > *ns, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 440 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 441 | HREF="libxml-tree.html#XMLATTRIBUTETYPE" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 442 | >xmlAttributeType</A |
| 443 | > type, |
| 444 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 445 | HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 446 | >xmlAttributeDefault</A |
| 447 | > def, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 448 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 449 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 450 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 451 | > *defaultValue, |
| 452 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 453 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 454 | >xmlEnumerationPtr</A |
| 455 | > tree); |
| 456 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 457 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 458 | >xmlAttributeTablePtr</A |
| 459 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 460 | HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 461 | >xmlCopyAttributeTable</A |
| 462 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 463 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 464 | >xmlAttributeTablePtr</A |
| 465 | > table); |
| 466 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 467 | HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 468 | >xmlFreeAttributeTable</A |
| 469 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 470 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 471 | >xmlAttributeTablePtr</A |
| 472 | > table); |
| 473 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 474 | HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 475 | >xmlDumpAttributeTable</A |
| 476 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 477 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 478 | >xmlBufferPtr</A |
| 479 | > buf, |
| 480 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 481 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 482 | >xmlAttributeTablePtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 483 | > table); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 484 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 485 | HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 486 | >xmlDumpAttributeDecl</A |
| 487 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 488 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 489 | >xmlBufferPtr</A |
| 490 | > buf, |
| 491 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 492 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 493 | >xmlAttributePtr</A |
| 494 | > attr); |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 495 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 496 | HREF="libxml-tree.html#XMLIDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 497 | >xmlIDPtr</A |
| 498 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 499 | HREF="libxml-valid.html#XMLADDID" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 500 | >xmlAddID</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 501 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 502 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 503 | >xmlValidCtxtPtr</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 504 | > ctxt, |
| 505 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 506 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 507 | >xmlDocPtr</A |
| 508 | > doc, |
| 509 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 510 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 511 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 512 | > *value, |
| 513 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 514 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 515 | >xmlAttrPtr</A |
| 516 | > attr); |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 517 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 518 | HREF="libxml-valid.html#XMLFREEIDTABLE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 519 | >xmlFreeIDTable</A |
| 520 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 521 | HREF="libxml-valid.html#XMLIDTABLEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 522 | >xmlIDTablePtr</A |
| 523 | > table); |
| 524 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 525 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 526 | >xmlAttrPtr</A |
| 527 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 528 | HREF="libxml-valid.html#XMLGETID" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 529 | >xmlGetID</A |
| 530 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 531 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 532 | >xmlDocPtr</A |
| 533 | > doc, |
| 534 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 535 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 536 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 537 | > *ID); |
| 538 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 539 | HREF="libxml-valid.html#XMLISID" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 540 | >xmlIsID</A |
| 541 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 542 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 543 | >xmlDocPtr</A |
| 544 | > doc, |
| 545 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 546 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 547 | >xmlNodePtr</A |
| 548 | > elem, |
| 549 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 550 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 551 | >xmlAttrPtr</A |
| 552 | > attr); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 553 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 554 | HREF="libxml-valid.html#XMLREMOVEID" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 555 | >xmlRemoveID</A |
| 556 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 557 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 558 | >xmlDocPtr</A |
| 559 | > doc, |
| 560 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 561 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 562 | >xmlAttrPtr</A |
| 563 | > attr); |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 564 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 565 | HREF="libxml-tree.html#XMLREFPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 566 | >xmlRefPtr</A |
| 567 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 568 | HREF="libxml-valid.html#XMLADDREF" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 569 | >xmlAddRef</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 570 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 571 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 572 | >xmlValidCtxtPtr</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 573 | > ctxt, |
| 574 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 575 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 576 | >xmlDocPtr</A |
| 577 | > doc, |
| 578 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 579 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 580 | >xmlChar</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 581 | > *value, |
| 582 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 583 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 584 | >xmlAttrPtr</A |
| 585 | > attr); |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 586 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 587 | HREF="libxml-valid.html#XMLFREEREFTABLE" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 588 | >xmlFreeRefTable</A |
| 589 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 590 | HREF="libxml-valid.html#XMLREFTABLEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 591 | >xmlRefTablePtr</A |
| 592 | > table); |
| 593 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 594 | HREF="libxml-valid.html#XMLISREF" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 595 | >xmlIsRef</A |
| 596 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 597 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 598 | >xmlDocPtr</A |
| 599 | > doc, |
| 600 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 601 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 602 | >xmlNodePtr</A |
| 603 | > elem, |
| 604 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 605 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 606 | >xmlAttrPtr</A |
| 607 | > attr); |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 608 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 609 | HREF="libxml-valid.html#XMLREMOVEREF" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 610 | >xmlRemoveRef</A |
| 611 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 612 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 613 | >xmlDocPtr</A |
| 614 | > doc, |
| 615 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 616 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 617 | >xmlAttrPtr</A |
| 618 | > attr); |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 619 | <GTKDOCLINK |
| 620 | HREF="XMLLISTPTR" |
| 621 | >xmlListPtr</GTKDOCLINK |
| 622 | > <A |
| 623 | HREF="libxml-valid.html#XMLGETREFS" |
| 624 | >xmlGetRefs</A |
| 625 | > (<A |
| 626 | HREF="libxml-tree.html#XMLDOCPTR" |
| 627 | >xmlDocPtr</A |
| 628 | > doc, |
| 629 | const <A |
| 630 | HREF="libxml-tree.html#XMLCHAR" |
| 631 | >xmlChar</A |
| 632 | > *ID); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 633 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 634 | HREF="libxml-valid.html#XMLVALIDATEROOT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 635 | >xmlValidateRoot</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 636 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 637 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 638 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 639 | > ctxt, |
| 640 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 641 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 642 | >xmlDocPtr</A |
| 643 | > doc); |
| 644 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 645 | HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 646 | >xmlValidateElementDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 647 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 648 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 649 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 650 | > ctxt, |
| 651 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 652 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 653 | >xmlDocPtr</A |
| 654 | > doc, |
| 655 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 656 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 657 | >xmlElementPtr</A |
| 658 | > elem); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 659 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 660 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 661 | >xmlChar</A |
| 662 | >* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 663 | HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 664 | >xmlValidNormalizeAttributeValue</A |
| 665 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 666 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 667 | >xmlDocPtr</A |
| 668 | > doc, |
| 669 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 670 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 671 | >xmlNodePtr</A |
| 672 | > elem, |
| 673 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 674 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 675 | >xmlChar</A |
| 676 | > *name, |
| 677 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 678 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 679 | >xmlChar</A |
| 680 | > *value); |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 681 | <A |
| 682 | HREF="libxml-tree.html#XMLCHAR" |
| 683 | >xmlChar</A |
| 684 | >* <A |
| 685 | HREF="libxml-valid.html#XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE" |
| 686 | >xmlValidCtxtNormalizeAttributeValue</A |
| 687 | > |
| 688 | (<A |
| 689 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
| 690 | >xmlValidCtxtPtr</A |
| 691 | > ctxt, |
| 692 | <A |
| 693 | HREF="libxml-tree.html#XMLDOCPTR" |
| 694 | >xmlDocPtr</A |
| 695 | > doc, |
| 696 | <A |
| 697 | HREF="libxml-tree.html#XMLNODEPTR" |
| 698 | >xmlNodePtr</A |
| 699 | > elem, |
| 700 | const <A |
| 701 | HREF="libxml-tree.html#XMLCHAR" |
| 702 | >xmlChar</A |
| 703 | > *name, |
| 704 | const <A |
| 705 | HREF="libxml-tree.html#XMLCHAR" |
| 706 | >xmlChar</A |
| 707 | > *value); |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 708 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 709 | HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 710 | >xmlValidateAttributeDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 711 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 712 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 713 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 714 | > ctxt, |
| 715 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 716 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 717 | >xmlDocPtr</A |
| 718 | > doc, |
| 719 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 720 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 721 | >xmlAttributePtr</A |
| 722 | > attr); |
| 723 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 724 | HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 725 | >xmlValidateAttributeValue</A |
| 726 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 727 | HREF="libxml-tree.html#XMLATTRIBUTETYPE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 728 | >xmlAttributeType</A |
| 729 | > type, |
| 730 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 731 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 732 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 733 | > *value); |
| 734 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 735 | HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 736 | >xmlValidateNotationDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 737 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 738 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 739 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 740 | > ctxt, |
| 741 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 742 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 743 | >xmlDocPtr</A |
| 744 | > doc, |
| 745 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 746 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 747 | >xmlNotationPtr</A |
| 748 | > nota); |
| 749 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 750 | HREF="libxml-valid.html#XMLVALIDATEDTD" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 751 | >xmlValidateDtd</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 752 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 753 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 754 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 755 | > ctxt, |
| 756 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 757 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 758 | >xmlDocPtr</A |
| 759 | > doc, |
| 760 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 761 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 762 | >xmlDtdPtr</A |
| 763 | > dtd); |
| 764 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 765 | HREF="libxml-valid.html#XMLVALIDATEDTDFINAL" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 766 | >xmlValidateDtdFinal</A |
| 767 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 768 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 769 | >xmlValidCtxtPtr</A |
| 770 | > ctxt, |
| 771 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 772 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 773 | >xmlDocPtr</A |
| 774 | > doc); |
| 775 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 776 | HREF="libxml-valid.html#XMLVALIDATEDOCUMENT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 777 | >xmlValidateDocument</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 778 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 779 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 780 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 781 | > ctxt, |
| 782 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 783 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 784 | >xmlDocPtr</A |
| 785 | > doc); |
| 786 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 787 | HREF="libxml-valid.html#XMLVALIDATEELEMENT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 788 | >xmlValidateElement</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 789 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 790 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 791 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 792 | > ctxt, |
| 793 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 794 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 795 | >xmlDocPtr</A |
| 796 | > doc, |
| 797 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 798 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 799 | >xmlNodePtr</A |
| 800 | > elem); |
| 801 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 802 | HREF="libxml-valid.html#XMLVALIDATEONEELEMENT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 803 | >xmlValidateOneElement</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 804 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 805 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 806 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 807 | > ctxt, |
| 808 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 809 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 810 | >xmlDocPtr</A |
| 811 | > doc, |
| 812 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 813 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 814 | >xmlNodePtr</A |
| 815 | > elem); |
| 816 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 817 | HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 818 | >xmlValidateOneAttribute</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 819 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 820 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 821 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 822 | > ctxt, |
| 823 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 824 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 825 | >xmlDocPtr</A |
| 826 | > doc, |
| 827 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 828 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 829 | >xmlNodePtr</A |
| 830 | > elem, |
| 831 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 832 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 833 | >xmlAttrPtr</A |
| 834 | > attr, |
| 835 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 836 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 837 | >xmlChar</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 838 | > *value); |
| 839 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 840 | HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 841 | >xmlValidateDocumentFinal</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 842 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 843 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 844 | >xmlValidCtxtPtr</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 845 | > ctxt, |
| 846 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 847 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 848 | >xmlDocPtr</A |
| 849 | > doc); |
| 850 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 851 | HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 852 | >xmlValidateNotationUse</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 853 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 854 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 855 | >xmlValidCtxtPtr</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 856 | > ctxt, |
| 857 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 858 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 859 | >xmlDocPtr</A |
| 860 | > doc, |
| 861 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 862 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 863 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 864 | > *notationName); |
| 865 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 866 | HREF="libxml-valid.html#XMLISMIXEDELEMENT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 867 | >xmlIsMixedElement</A |
| 868 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 869 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 870 | >xmlDocPtr</A |
| 871 | > doc, |
| 872 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 873 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 874 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 875 | > *name); |
| 876 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 877 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 878 | >xmlAttributePtr</A |
| 879 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 880 | HREF="libxml-valid.html#XMLGETDTDATTRDESC" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 881 | >xmlGetDtdAttrDesc</A |
| 882 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 883 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 884 | >xmlDtdPtr</A |
| 885 | > dtd, |
| 886 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 887 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 888 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 889 | > *elem, |
| 890 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 891 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 892 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 893 | > *name); |
| 894 | <A |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 895 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
| 896 | >xmlAttributePtr</A |
| 897 | > <A |
| 898 | HREF="libxml-valid.html#XMLGETDTDQATTRDESC" |
| 899 | >xmlGetDtdQAttrDesc</A |
| 900 | > (<A |
| 901 | HREF="libxml-tree.html#XMLDTDPTR" |
| 902 | >xmlDtdPtr</A |
| 903 | > dtd, |
| 904 | const <A |
| 905 | HREF="libxml-tree.html#XMLCHAR" |
| 906 | >xmlChar</A |
| 907 | > *elem, |
| 908 | const <A |
| 909 | HREF="libxml-tree.html#XMLCHAR" |
| 910 | >xmlChar</A |
| 911 | > *name, |
| 912 | const <A |
| 913 | HREF="libxml-tree.html#XMLCHAR" |
| 914 | >xmlChar</A |
| 915 | > *prefix); |
| 916 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 917 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 918 | >xmlNotationPtr</A |
| 919 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 920 | HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 921 | >xmlGetDtdNotationDesc</A |
| 922 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 923 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 924 | >xmlDtdPtr</A |
| 925 | > dtd, |
| 926 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 927 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 928 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 929 | > *name); |
| 930 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 931 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 932 | >xmlElementPtr</A |
| 933 | > <A |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 934 | HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC" |
| 935 | >xmlGetDtdQElementDesc</A |
| 936 | > (<A |
| 937 | HREF="libxml-tree.html#XMLDTDPTR" |
| 938 | >xmlDtdPtr</A |
| 939 | > dtd, |
| 940 | const <A |
| 941 | HREF="libxml-tree.html#XMLCHAR" |
| 942 | >xmlChar</A |
| 943 | > *name, |
| 944 | const <A |
| 945 | HREF="libxml-tree.html#XMLCHAR" |
| 946 | >xmlChar</A |
| 947 | > *prefix); |
| 948 | <A |
| 949 | HREF="libxml-tree.html#XMLELEMENTPTR" |
| 950 | >xmlElementPtr</A |
| 951 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 952 | HREF="libxml-valid.html#XMLGETDTDELEMENTDESC" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 953 | >xmlGetDtdElementDesc</A |
| 954 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 955 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 956 | >xmlDtdPtr</A |
| 957 | > dtd, |
| 958 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 959 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 960 | >xmlChar</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 961 | > *name); |
| 962 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 963 | HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 964 | >xmlValidGetValidElements</A |
| 965 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 966 | HREF="libxml-tree.html#XMLNODE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 967 | >xmlNode</A |
| 968 | > *prev, |
| 969 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 970 | HREF="libxml-tree.html#XMLNODE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 971 | >xmlNode</A |
| 972 | > *next, |
| 973 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 974 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 975 | >xmlChar</A |
| 976 | > **list, |
| 977 | int max); |
| 978 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 979 | HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 980 | >xmlValidGetPotentialChildren</A |
| 981 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 982 | HREF="libxml-tree.html#XMLELEMENTCONTENT" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 983 | >xmlElementContent</A |
| 984 | > *ctree, |
| 985 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 986 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 987 | >xmlChar</A |
| 988 | > **list, |
| 989 | int *len, |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 990 | int max); |
| 991 | int <A |
| 992 | HREF="libxml-valid.html#XMLVALIDATENAMEVALUE" |
| 993 | >xmlValidateNameValue</A |
| 994 | > (const <A |
| 995 | HREF="libxml-tree.html#XMLCHAR" |
| 996 | >xmlChar</A |
| 997 | > *value); |
| 998 | int <A |
| 999 | HREF="libxml-valid.html#XMLVALIDATENAMESVALUE" |
| 1000 | >xmlValidateNamesValue</A |
| 1001 | > (const <A |
| 1002 | HREF="libxml-tree.html#XMLCHAR" |
| 1003 | >xmlChar</A |
| 1004 | > *value); |
| 1005 | int <A |
| 1006 | HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE" |
| 1007 | >xmlValidateNmtokenValue</A |
| 1008 | > (const <A |
| 1009 | HREF="libxml-tree.html#XMLCHAR" |
| 1010 | >xmlChar</A |
| 1011 | > *value); |
| 1012 | int <A |
| 1013 | HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE" |
| 1014 | >xmlValidateNmtokensValue</A |
| 1015 | > (const <A |
| 1016 | HREF="libxml-tree.html#XMLCHAR" |
| 1017 | >xmlChar</A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1018 | > *value); |
| 1019 | int <A |
| 1020 | HREF="libxml-valid.html#XMLVALIDBUILDCONTENTMODEL" |
| 1021 | >xmlValidBuildContentModel</A |
| 1022 | > (<A |
| 1023 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
| 1024 | >xmlValidCtxtPtr</A |
| 1025 | > ctxt, |
| 1026 | <A |
| 1027 | HREF="libxml-tree.html#XMLELEMENTPTR" |
| 1028 | >xmlElementPtr</A |
| 1029 | > elem);</PRE |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1030 | ></TD |
| 1031 | ></TR |
| 1032 | ></TABLE |
| 1033 | ></DIV |
| 1034 | ><DIV |
| 1035 | CLASS="REFSECT1" |
| 1036 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1037 | NAME="AEN8832" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1038 | ></A |
| 1039 | ><H2 |
| 1040 | >Description</H2 |
| 1041 | ><P |
| 1042 | ></P |
| 1043 | ></DIV |
| 1044 | ><DIV |
| 1045 | CLASS="REFSECT1" |
| 1046 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1047 | NAME="AEN8835" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1048 | ></A |
| 1049 | ><H2 |
| 1050 | >Details</H2 |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1051 | ><DIV |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1052 | CLASS="REFSECT2" |
| 1053 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1054 | NAME="AEN8837" |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1055 | ></A |
| 1056 | ><H3 |
| 1057 | ><A |
| 1058 | NAME="XMLVALIDSTATE" |
| 1059 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1060 | >struct xmlValidState</H3 |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1061 | ><TABLE |
| 1062 | BORDER="0" |
| 1063 | BGCOLOR="#D6E8FF" |
| 1064 | WIDTH="100%" |
| 1065 | CELLPADDING="6" |
| 1066 | ><TR |
| 1067 | ><TD |
| 1068 | ><PRE |
| 1069 | CLASS="PROGRAMLISTING" |
| 1070 | >struct xmlValidState;</PRE |
| 1071 | ></TD |
| 1072 | ></TR |
| 1073 | ></TABLE |
| 1074 | ><P |
| 1075 | ></P |
| 1076 | ></DIV |
| 1077 | ><HR><DIV |
| 1078 | CLASS="REFSECT2" |
| 1079 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1080 | NAME="AEN8842" |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1081 | ></A |
| 1082 | ><H3 |
| 1083 | ><A |
| 1084 | NAME="XMLVALIDSTATEPTR" |
| 1085 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1086 | >xmlValidStatePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1087 | ><TABLE |
| 1088 | BORDER="0" |
| 1089 | BGCOLOR="#D6E8FF" |
| 1090 | WIDTH="100%" |
| 1091 | CELLPADDING="6" |
| 1092 | ><TR |
| 1093 | ><TD |
| 1094 | ><PRE |
| 1095 | CLASS="PROGRAMLISTING" |
| 1096 | >typedef xmlValidState *xmlValidStatePtr;</PRE |
| 1097 | ></TD |
| 1098 | ></TR |
| 1099 | ></TABLE |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1100 | ><P |
| 1101 | ></P |
| 1102 | ></DIV |
| 1103 | ><HR><DIV |
| 1104 | CLASS="REFSECT2" |
| 1105 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1106 | NAME="AEN8847" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1107 | ></A |
| 1108 | ><H3 |
| 1109 | ><A |
| 1110 | NAME="XMLVALIDITYERRORFUNC" |
| 1111 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1112 | >xmlValidityErrorFunc ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1113 | ><TABLE |
| 1114 | BORDER="0" |
| 1115 | BGCOLOR="#D6E8FF" |
| 1116 | WIDTH="100%" |
| 1117 | CELLPADDING="6" |
| 1118 | ><TR |
| 1119 | ><TD |
| 1120 | ><PRE |
| 1121 | CLASS="PROGRAMLISTING" |
| 1122 | >void (*xmlValidityErrorFunc) (void *ctx, |
| 1123 | const char *msg, |
| 1124 | ...);</PRE |
| 1125 | ></TD |
| 1126 | ></TR |
| 1127 | ></TABLE |
| 1128 | ><P |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1129 | >Callback called when a validity error is found. This is a message |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1130 | oriented function similar to an *printf function.</P |
| 1131 | ><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1132 | ></P |
| 1133 | ><DIV |
| 1134 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1135 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1136 | NAME="AEN8853"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1137 | ></P |
| 1138 | ><TABLE |
| 1139 | BORDER="0" |
| 1140 | WIDTH="100%" |
| 1141 | BGCOLOR="#FFD0D0" |
| 1142 | CELLSPACING="0" |
| 1143 | CELLPADDING="4" |
| 1144 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1145 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1146 | ><TR |
| 1147 | ><TD |
| 1148 | WIDTH="20%" |
| 1149 | ALIGN="RIGHT" |
| 1150 | VALIGN="TOP" |
| 1151 | ><TT |
| 1152 | CLASS="PARAMETER" |
| 1153 | ><I |
| 1154 | >ctx</I |
| 1155 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1156 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1157 | ><TD |
| 1158 | WIDTH="80%" |
| 1159 | ALIGN="LEFT" |
| 1160 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1161 | > an xmlValidCtxtPtr validity error context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1162 | ></TR |
| 1163 | ><TR |
| 1164 | ><TD |
| 1165 | WIDTH="20%" |
| 1166 | ALIGN="RIGHT" |
| 1167 | VALIGN="TOP" |
| 1168 | ><TT |
| 1169 | CLASS="PARAMETER" |
| 1170 | ><I |
| 1171 | >msg</I |
| 1172 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1173 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1174 | ><TD |
| 1175 | WIDTH="80%" |
| 1176 | ALIGN="LEFT" |
| 1177 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1178 | > the string to format *printf like vararg</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1179 | ></TR |
| 1180 | ><TR |
| 1181 | ><TD |
| 1182 | WIDTH="20%" |
| 1183 | ALIGN="RIGHT" |
| 1184 | VALIGN="TOP" |
| 1185 | ><TT |
| 1186 | CLASS="PARAMETER" |
| 1187 | ><I |
| 1188 | >...</I |
| 1189 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1190 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1191 | ><TD |
| 1192 | WIDTH="80%" |
| 1193 | ALIGN="LEFT" |
| 1194 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1195 | > remaining arguments to the format</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1196 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1197 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1198 | ></TABLE |
| 1199 | ><P |
| 1200 | ></P |
| 1201 | ></DIV |
| 1202 | ></DIV |
| 1203 | ><HR><DIV |
| 1204 | CLASS="REFSECT2" |
| 1205 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1206 | NAME="AEN8870" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1207 | ></A |
| 1208 | ><H3 |
| 1209 | ><A |
| 1210 | NAME="XMLVALIDITYWARNINGFUNC" |
| 1211 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1212 | >xmlValidityWarningFunc ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1213 | ><TABLE |
| 1214 | BORDER="0" |
| 1215 | BGCOLOR="#D6E8FF" |
| 1216 | WIDTH="100%" |
| 1217 | CELLPADDING="6" |
| 1218 | ><TR |
| 1219 | ><TD |
| 1220 | ><PRE |
| 1221 | CLASS="PROGRAMLISTING" |
| 1222 | >void (*xmlValidityWarningFunc) (void *ctx, |
| 1223 | const char *msg, |
| 1224 | ...);</PRE |
| 1225 | ></TD |
| 1226 | ></TR |
| 1227 | ></TABLE |
| 1228 | ><P |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1229 | >Callback called when a validity warning is found. This is a message |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1230 | oriented function similar to an *printf function.</P |
| 1231 | ><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1232 | ></P |
| 1233 | ><DIV |
| 1234 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1235 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1236 | NAME="AEN8876"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1237 | ></P |
| 1238 | ><TABLE |
| 1239 | BORDER="0" |
| 1240 | WIDTH="100%" |
| 1241 | BGCOLOR="#FFD0D0" |
| 1242 | CELLSPACING="0" |
| 1243 | CELLPADDING="4" |
| 1244 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1245 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1246 | ><TR |
| 1247 | ><TD |
| 1248 | WIDTH="20%" |
| 1249 | ALIGN="RIGHT" |
| 1250 | VALIGN="TOP" |
| 1251 | ><TT |
| 1252 | CLASS="PARAMETER" |
| 1253 | ><I |
| 1254 | >ctx</I |
| 1255 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1256 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1257 | ><TD |
| 1258 | WIDTH="80%" |
| 1259 | ALIGN="LEFT" |
| 1260 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1261 | > an xmlValidCtxtPtr validity error context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1262 | ></TR |
| 1263 | ><TR |
| 1264 | ><TD |
| 1265 | WIDTH="20%" |
| 1266 | ALIGN="RIGHT" |
| 1267 | VALIGN="TOP" |
| 1268 | ><TT |
| 1269 | CLASS="PARAMETER" |
| 1270 | ><I |
| 1271 | >msg</I |
| 1272 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1273 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1274 | ><TD |
| 1275 | WIDTH="80%" |
| 1276 | ALIGN="LEFT" |
| 1277 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1278 | > the string to format *printf like vararg</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1279 | ></TR |
| 1280 | ><TR |
| 1281 | ><TD |
| 1282 | WIDTH="20%" |
| 1283 | ALIGN="RIGHT" |
| 1284 | VALIGN="TOP" |
| 1285 | ><TT |
| 1286 | CLASS="PARAMETER" |
| 1287 | ><I |
| 1288 | >...</I |
| 1289 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1290 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1291 | ><TD |
| 1292 | WIDTH="80%" |
| 1293 | ALIGN="LEFT" |
| 1294 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1295 | > remaining arguments to the format</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1296 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1297 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1298 | ></TABLE |
| 1299 | ><P |
| 1300 | ></P |
| 1301 | ></DIV |
| 1302 | ></DIV |
| 1303 | ><HR><DIV |
| 1304 | CLASS="REFSECT2" |
| 1305 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1306 | NAME="AEN8893" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1307 | ></A |
| 1308 | ><H3 |
| 1309 | ><A |
| 1310 | NAME="XMLVALIDCTXT" |
| 1311 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1312 | >struct xmlValidCtxt</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1313 | ><TABLE |
| 1314 | BORDER="0" |
| 1315 | BGCOLOR="#D6E8FF" |
| 1316 | WIDTH="100%" |
| 1317 | CELLPADDING="6" |
| 1318 | ><TR |
| 1319 | ><TD |
| 1320 | ><PRE |
| 1321 | CLASS="PROGRAMLISTING" |
| 1322 | >struct xmlValidCtxt { |
| 1323 | void *userData; /* user specific data block */ |
| 1324 | xmlValidityErrorFunc error; /* the callback in case of errors */ |
| 1325 | xmlValidityWarningFunc warning; /* the callback in case of warning */ |
| 1326 | |
| 1327 | /* Node analysis stack used when validating within entities */ |
| 1328 | xmlNodePtr node; /* Current parsed Node */ |
| 1329 | int nodeNr; /* Depth of the parsing stack */ |
| 1330 | int nodeMax; /* Max depth of the parsing stack */ |
| 1331 | xmlNodePtr *nodeTab; /* array of nodes */ |
| 1332 | |
| 1333 | int finishDtd; /* finished validating the Dtd ? */ |
Daniel Veillard | 29a11cc | 2000-10-25 13:32:39 +0000 | [diff] [blame] | 1334 | xmlDocPtr doc; /* the document */ |
| 1335 | int valid; /* temporary validity check result */ |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1336 | |
| 1337 | /* state state used for non-determinist content validation */ |
| 1338 | xmlValidState *vstate; /* current state */ |
| 1339 | int vstateNr; /* Depth of the validation stack */ |
| 1340 | int vstateMax; /* Max depth of the validation stack */ |
| 1341 | xmlValidState *vstateTab; /* array of validation states */ |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1342 | |
| 1343 | #ifdef LIBXML_REGEXP_ENABLED |
| 1344 | xmlAutomataPtr am; /* the automata */ |
| 1345 | xmlAutomataStatePtr state; /* used to build the automata */ |
| 1346 | #else |
| 1347 | void *am; |
| 1348 | void *state; |
| 1349 | #endif |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1350 | };</PRE |
| 1351 | ></TD |
| 1352 | ></TR |
| 1353 | ></TABLE |
| 1354 | ><P |
| 1355 | ></P |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1356 | ><P |
| 1357 | ></P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1358 | ></DIV |
| 1359 | ><HR><DIV |
| 1360 | CLASS="REFSECT2" |
| 1361 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1362 | NAME="AEN8899" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1363 | ></A |
| 1364 | ><H3 |
| 1365 | ><A |
| 1366 | NAME="XMLVALIDCTXTPTR" |
| 1367 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1368 | >xmlValidCtxtPtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1369 | ><TABLE |
| 1370 | BORDER="0" |
| 1371 | BGCOLOR="#D6E8FF" |
| 1372 | WIDTH="100%" |
| 1373 | CELLPADDING="6" |
| 1374 | ><TR |
| 1375 | ><TD |
| 1376 | ><PRE |
| 1377 | CLASS="PROGRAMLISTING" |
| 1378 | >typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE |
| 1379 | ></TD |
| 1380 | ></TR |
| 1381 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1382 | ><P |
| 1383 | ></P |
| 1384 | ></DIV |
| 1385 | ><HR><DIV |
| 1386 | CLASS="REFSECT2" |
| 1387 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1388 | NAME="AEN8904" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1389 | ></A |
| 1390 | ><H3 |
| 1391 | ><A |
| 1392 | NAME="XMLNOTATIONTABLEPTR" |
| 1393 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1394 | >xmlNotationTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1395 | ><TABLE |
| 1396 | BORDER="0" |
| 1397 | BGCOLOR="#D6E8FF" |
| 1398 | WIDTH="100%" |
| 1399 | CELLPADDING="6" |
| 1400 | ><TR |
| 1401 | ><TD |
| 1402 | ><PRE |
| 1403 | CLASS="PROGRAMLISTING" |
| 1404 | >typedef xmlNotationTable *xmlNotationTablePtr;</PRE |
| 1405 | ></TD |
| 1406 | ></TR |
| 1407 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1408 | ><P |
| 1409 | ></P |
| 1410 | ></DIV |
| 1411 | ><HR><DIV |
| 1412 | CLASS="REFSECT2" |
| 1413 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1414 | NAME="AEN8909" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1415 | ></A |
| 1416 | ><H3 |
| 1417 | ><A |
| 1418 | NAME="XMLELEMENTTABLEPTR" |
| 1419 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1420 | >xmlElementTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1421 | ><TABLE |
| 1422 | BORDER="0" |
| 1423 | BGCOLOR="#D6E8FF" |
| 1424 | WIDTH="100%" |
| 1425 | CELLPADDING="6" |
| 1426 | ><TR |
| 1427 | ><TD |
| 1428 | ><PRE |
| 1429 | CLASS="PROGRAMLISTING" |
| 1430 | >typedef xmlElementTable *xmlElementTablePtr;</PRE |
| 1431 | ></TD |
| 1432 | ></TR |
| 1433 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1434 | ><P |
| 1435 | ></P |
| 1436 | ></DIV |
| 1437 | ><HR><DIV |
| 1438 | CLASS="REFSECT2" |
| 1439 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1440 | NAME="AEN8914" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1441 | ></A |
| 1442 | ><H3 |
| 1443 | ><A |
| 1444 | NAME="XMLATTRIBUTETABLEPTR" |
| 1445 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1446 | >xmlAttributeTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1447 | ><TABLE |
| 1448 | BORDER="0" |
| 1449 | BGCOLOR="#D6E8FF" |
| 1450 | WIDTH="100%" |
| 1451 | CELLPADDING="6" |
| 1452 | ><TR |
| 1453 | ><TD |
| 1454 | ><PRE |
| 1455 | CLASS="PROGRAMLISTING" |
| 1456 | >typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE |
| 1457 | ></TD |
| 1458 | ></TR |
| 1459 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1460 | ><P |
| 1461 | ></P |
| 1462 | ></DIV |
| 1463 | ><HR><DIV |
| 1464 | CLASS="REFSECT2" |
| 1465 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1466 | NAME="AEN8919" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1467 | ></A |
| 1468 | ><H3 |
| 1469 | ><A |
| 1470 | NAME="XMLIDTABLEPTR" |
| 1471 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1472 | >xmlIDTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1473 | ><TABLE |
| 1474 | BORDER="0" |
| 1475 | BGCOLOR="#D6E8FF" |
| 1476 | WIDTH="100%" |
| 1477 | CELLPADDING="6" |
| 1478 | ><TR |
| 1479 | ><TD |
| 1480 | ><PRE |
| 1481 | CLASS="PROGRAMLISTING" |
| 1482 | >typedef xmlIDTable *xmlIDTablePtr;</PRE |
| 1483 | ></TD |
| 1484 | ></TR |
| 1485 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1486 | ><P |
| 1487 | ></P |
| 1488 | ></DIV |
| 1489 | ><HR><DIV |
| 1490 | CLASS="REFSECT2" |
| 1491 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1492 | NAME="AEN8924" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1493 | ></A |
| 1494 | ><H3 |
| 1495 | ><A |
| 1496 | NAME="XMLREFTABLEPTR" |
| 1497 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1498 | >xmlRefTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1499 | ><TABLE |
| 1500 | BORDER="0" |
| 1501 | BGCOLOR="#D6E8FF" |
| 1502 | WIDTH="100%" |
| 1503 | CELLPADDING="6" |
| 1504 | ><TR |
| 1505 | ><TD |
| 1506 | ><PRE |
| 1507 | CLASS="PROGRAMLISTING" |
| 1508 | >typedef xmlRefTable *xmlRefTablePtr;</PRE |
| 1509 | ></TD |
| 1510 | ></TR |
| 1511 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1512 | ><P |
| 1513 | ></P |
| 1514 | ></DIV |
| 1515 | ><HR><DIV |
| 1516 | CLASS="REFSECT2" |
| 1517 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1518 | NAME="AEN8929" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1519 | ></A |
| 1520 | ><H3 |
| 1521 | ><A |
| 1522 | NAME="XMLSPLITQNAME2" |
| 1523 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1524 | >xmlSplitQName2 ()</H3 |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1525 | ><TABLE |
| 1526 | BORDER="0" |
| 1527 | BGCOLOR="#D6E8FF" |
| 1528 | WIDTH="100%" |
| 1529 | CELLPADDING="6" |
| 1530 | ><TR |
| 1531 | ><TD |
| 1532 | ><PRE |
| 1533 | CLASS="PROGRAMLISTING" |
| 1534 | ><A |
| 1535 | HREF="libxml-tree.html#XMLCHAR" |
| 1536 | >xmlChar</A |
| 1537 | >* xmlSplitQName2 (const <A |
| 1538 | HREF="libxml-tree.html#XMLCHAR" |
| 1539 | >xmlChar</A |
| 1540 | > *name, |
| 1541 | <A |
| 1542 | HREF="libxml-tree.html#XMLCHAR" |
| 1543 | >xmlChar</A |
| 1544 | > **prefix);</PRE |
| 1545 | ></TD |
| 1546 | ></TR |
| 1547 | ></TABLE |
| 1548 | ><P |
| 1549 | >parse an XML qualified name string</P |
| 1550 | ><P |
| 1551 | >[NS 5] QName ::= (Prefix ':')? LocalPart</P |
| 1552 | ><P |
| 1553 | >[NS 6] Prefix ::= NCName</P |
| 1554 | ><P |
| 1555 | >[NS 7] LocalPart ::= NCName</P |
| 1556 | ><P |
| 1557 | ></P |
| 1558 | ><DIV |
| 1559 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1560 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1561 | NAME="AEN8941"><P |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1562 | ></P |
| 1563 | ><TABLE |
| 1564 | BORDER="0" |
| 1565 | WIDTH="100%" |
| 1566 | BGCOLOR="#FFD0D0" |
| 1567 | CELLSPACING="0" |
| 1568 | CELLPADDING="4" |
| 1569 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1570 | ><TBODY |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1571 | ><TR |
| 1572 | ><TD |
| 1573 | WIDTH="20%" |
| 1574 | ALIGN="RIGHT" |
| 1575 | VALIGN="TOP" |
| 1576 | ><TT |
| 1577 | CLASS="PARAMETER" |
| 1578 | ><I |
| 1579 | >name</I |
| 1580 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1581 | > :</TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1582 | ><TD |
| 1583 | WIDTH="80%" |
| 1584 | ALIGN="LEFT" |
| 1585 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1586 | > an XML parser context</TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1587 | ></TR |
| 1588 | ><TR |
| 1589 | ><TD |
| 1590 | WIDTH="20%" |
| 1591 | ALIGN="RIGHT" |
| 1592 | VALIGN="TOP" |
| 1593 | ><TT |
| 1594 | CLASS="PARAMETER" |
| 1595 | ><I |
| 1596 | >prefix</I |
| 1597 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1598 | > :</TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1599 | ><TD |
| 1600 | WIDTH="80%" |
| 1601 | ALIGN="LEFT" |
| 1602 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1603 | > a xmlChar ** </TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1604 | ></TR |
| 1605 | ><TR |
| 1606 | ><TD |
| 1607 | WIDTH="20%" |
| 1608 | ALIGN="RIGHT" |
| 1609 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1610 | ><SPAN |
| 1611 | CLASS="emphasis" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1612 | ><I |
| 1613 | CLASS="EMPHASIS" |
| 1614 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1615 | ></SPAN |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1616 | > :</TD |
| 1617 | ><TD |
| 1618 | WIDTH="80%" |
| 1619 | ALIGN="LEFT" |
| 1620 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1621 | >NULL if not a QName, otherwise the local part, and prefix |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1622 | is updated to get the Prefix if any.</TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1623 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1624 | ></TBODY |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1625 | ></TABLE |
| 1626 | ><P |
| 1627 | ></P |
| 1628 | ></DIV |
| 1629 | ></DIV |
| 1630 | ><HR><DIV |
| 1631 | CLASS="REFSECT2" |
| 1632 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1633 | NAME="AEN8958" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1634 | ></A |
| 1635 | ><H3 |
| 1636 | ><A |
| 1637 | NAME="XMLADDNOTATIONDECL" |
| 1638 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1639 | >xmlAddNotationDecl ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1640 | ><TABLE |
| 1641 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1642 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1643 | WIDTH="100%" |
| 1644 | CELLPADDING="6" |
| 1645 | ><TR |
| 1646 | ><TD |
| 1647 | ><PRE |
| 1648 | CLASS="PROGRAMLISTING" |
| 1649 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1650 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1651 | >xmlNotationPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1652 | > xmlAddNotationDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1653 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1654 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1655 | > ctxt, |
| 1656 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1657 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1658 | >xmlDtdPtr</A |
| 1659 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 1660 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1661 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 1662 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1663 | > *name, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 1664 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1665 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 1666 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1667 | > *PublicID, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 1668 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1669 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 1670 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1671 | > *SystemID);</PRE |
| 1672 | ></TD |
| 1673 | ></TR |
| 1674 | ></TABLE |
| 1675 | ><P |
| 1676 | >Register a new notation declaration</P |
| 1677 | ><P |
| 1678 | ></P |
| 1679 | ><DIV |
| 1680 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1681 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1682 | NAME="AEN8970"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1683 | ></P |
| 1684 | ><TABLE |
| 1685 | BORDER="0" |
| 1686 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1687 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1688 | CELLSPACING="0" |
| 1689 | CELLPADDING="4" |
| 1690 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1691 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1692 | ><TR |
| 1693 | ><TD |
| 1694 | WIDTH="20%" |
| 1695 | ALIGN="RIGHT" |
| 1696 | VALIGN="TOP" |
| 1697 | ><TT |
| 1698 | CLASS="PARAMETER" |
| 1699 | ><I |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1700 | >ctxt</I |
| 1701 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1702 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1703 | ><TD |
| 1704 | WIDTH="80%" |
| 1705 | ALIGN="LEFT" |
| 1706 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1707 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1708 | ></TR |
| 1709 | ><TR |
| 1710 | ><TD |
| 1711 | WIDTH="20%" |
| 1712 | ALIGN="RIGHT" |
| 1713 | VALIGN="TOP" |
| 1714 | ><TT |
| 1715 | CLASS="PARAMETER" |
| 1716 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1717 | >dtd</I |
| 1718 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1719 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1720 | ><TD |
| 1721 | WIDTH="80%" |
| 1722 | ALIGN="LEFT" |
| 1723 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1724 | > pointer to the DTD</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1725 | ></TR |
| 1726 | ><TR |
| 1727 | ><TD |
| 1728 | WIDTH="20%" |
| 1729 | ALIGN="RIGHT" |
| 1730 | VALIGN="TOP" |
| 1731 | ><TT |
| 1732 | CLASS="PARAMETER" |
| 1733 | ><I |
| 1734 | >name</I |
| 1735 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1736 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1737 | ><TD |
| 1738 | WIDTH="80%" |
| 1739 | ALIGN="LEFT" |
| 1740 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1741 | > the entity name</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1742 | ></TR |
| 1743 | ><TR |
| 1744 | ><TD |
| 1745 | WIDTH="20%" |
| 1746 | ALIGN="RIGHT" |
| 1747 | VALIGN="TOP" |
| 1748 | ><TT |
| 1749 | CLASS="PARAMETER" |
| 1750 | ><I |
| 1751 | >PublicID</I |
| 1752 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1753 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1754 | ><TD |
| 1755 | WIDTH="80%" |
| 1756 | ALIGN="LEFT" |
| 1757 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1758 | > the public identifier or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1759 | ></TR |
| 1760 | ><TR |
| 1761 | ><TD |
| 1762 | WIDTH="20%" |
| 1763 | ALIGN="RIGHT" |
| 1764 | VALIGN="TOP" |
| 1765 | ><TT |
| 1766 | CLASS="PARAMETER" |
| 1767 | ><I |
| 1768 | >SystemID</I |
| 1769 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1770 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1771 | ><TD |
| 1772 | WIDTH="80%" |
| 1773 | ALIGN="LEFT" |
| 1774 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1775 | > the system identifier or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1776 | ></TR |
| 1777 | ><TR |
| 1778 | ><TD |
| 1779 | WIDTH="20%" |
| 1780 | ALIGN="RIGHT" |
| 1781 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1782 | ><SPAN |
| 1783 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1784 | ><I |
| 1785 | CLASS="EMPHASIS" |
| 1786 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1787 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1788 | > :</TD |
| 1789 | ><TD |
| 1790 | WIDTH="80%" |
| 1791 | ALIGN="LEFT" |
| 1792 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 1793 | >NULL if not, otherwise the entity</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1794 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1795 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1796 | ></TABLE |
| 1797 | ><P |
| 1798 | ></P |
| 1799 | ></DIV |
| 1800 | ></DIV |
| 1801 | ><HR><DIV |
| 1802 | CLASS="REFSECT2" |
| 1803 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1804 | NAME="AEN8999" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1805 | ></A |
| 1806 | ><H3 |
| 1807 | ><A |
| 1808 | NAME="XMLCOPYNOTATIONTABLE" |
| 1809 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1810 | >xmlCopyNotationTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1811 | ><TABLE |
| 1812 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1813 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1814 | WIDTH="100%" |
| 1815 | CELLPADDING="6" |
| 1816 | ><TR |
| 1817 | ><TD |
| 1818 | ><PRE |
| 1819 | CLASS="PROGRAMLISTING" |
| 1820 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1821 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1822 | >xmlNotationTablePtr</A |
| 1823 | > xmlCopyNotationTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1824 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1825 | >xmlNotationTablePtr</A |
| 1826 | > table);</PRE |
| 1827 | ></TD |
| 1828 | ></TR |
| 1829 | ></TABLE |
| 1830 | ><P |
| 1831 | >Build a copy of a notation table.</P |
| 1832 | ><P |
| 1833 | ></P |
| 1834 | ><DIV |
| 1835 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1836 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1837 | NAME="AEN9007"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1838 | ></P |
| 1839 | ><TABLE |
| 1840 | BORDER="0" |
| 1841 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1842 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1843 | CELLSPACING="0" |
| 1844 | CELLPADDING="4" |
| 1845 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1846 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1847 | ><TR |
| 1848 | ><TD |
| 1849 | WIDTH="20%" |
| 1850 | ALIGN="RIGHT" |
| 1851 | VALIGN="TOP" |
| 1852 | ><TT |
| 1853 | CLASS="PARAMETER" |
| 1854 | ><I |
| 1855 | >table</I |
| 1856 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1857 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1858 | ><TD |
| 1859 | WIDTH="80%" |
| 1860 | ALIGN="LEFT" |
| 1861 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1862 | > A notation table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1863 | ></TR |
| 1864 | ><TR |
| 1865 | ><TD |
| 1866 | WIDTH="20%" |
| 1867 | ALIGN="RIGHT" |
| 1868 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1869 | ><SPAN |
| 1870 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1871 | ><I |
| 1872 | CLASS="EMPHASIS" |
| 1873 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1874 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1875 | > :</TD |
| 1876 | ><TD |
| 1877 | WIDTH="80%" |
| 1878 | ALIGN="LEFT" |
| 1879 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1880 | >the new xmlNotationTablePtr or NULL in case of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1881 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1882 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1883 | ></TABLE |
| 1884 | ><P |
| 1885 | ></P |
| 1886 | ></DIV |
| 1887 | ></DIV |
| 1888 | ><HR><DIV |
| 1889 | CLASS="REFSECT2" |
| 1890 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1891 | NAME="AEN9020" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1892 | ></A |
| 1893 | ><H3 |
| 1894 | ><A |
| 1895 | NAME="XMLFREENOTATIONTABLE" |
| 1896 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1897 | >xmlFreeNotationTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1898 | ><TABLE |
| 1899 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1900 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1901 | WIDTH="100%" |
| 1902 | CELLPADDING="6" |
| 1903 | ><TR |
| 1904 | ><TD |
| 1905 | ><PRE |
| 1906 | CLASS="PROGRAMLISTING" |
| 1907 | >void xmlFreeNotationTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1908 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1909 | >xmlNotationTablePtr</A |
| 1910 | > table);</PRE |
| 1911 | ></TD |
| 1912 | ></TR |
| 1913 | ></TABLE |
| 1914 | ><P |
| 1915 | >Deallocate the memory used by an entities hash table.</P |
| 1916 | ><P |
| 1917 | ></P |
| 1918 | ><DIV |
| 1919 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1920 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1921 | NAME="AEN9027"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1922 | ></P |
| 1923 | ><TABLE |
| 1924 | BORDER="0" |
| 1925 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1926 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1927 | CELLSPACING="0" |
| 1928 | CELLPADDING="4" |
| 1929 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1930 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1931 | ><TR |
| 1932 | ><TD |
| 1933 | WIDTH="20%" |
| 1934 | ALIGN="RIGHT" |
| 1935 | VALIGN="TOP" |
| 1936 | ><TT |
| 1937 | CLASS="PARAMETER" |
| 1938 | ><I |
| 1939 | >table</I |
| 1940 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1941 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1942 | ><TD |
| 1943 | WIDTH="80%" |
| 1944 | ALIGN="LEFT" |
| 1945 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1946 | > An notation table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1947 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1948 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1949 | ></TABLE |
| 1950 | ><P |
| 1951 | ></P |
| 1952 | ></DIV |
| 1953 | ></DIV |
| 1954 | ><HR><DIV |
| 1955 | CLASS="REFSECT2" |
| 1956 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1957 | NAME="AEN9036" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1958 | ></A |
| 1959 | ><H3 |
| 1960 | ><A |
| 1961 | NAME="XMLDUMPNOTATIONDECL" |
| 1962 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1963 | >xmlDumpNotationDecl ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1964 | ><TABLE |
| 1965 | BORDER="0" |
| 1966 | BGCOLOR="#D6E8FF" |
| 1967 | WIDTH="100%" |
| 1968 | CELLPADDING="6" |
| 1969 | ><TR |
| 1970 | ><TD |
| 1971 | ><PRE |
| 1972 | CLASS="PROGRAMLISTING" |
| 1973 | >void xmlDumpNotationDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1974 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1975 | >xmlBufferPtr</A |
| 1976 | > buf, |
| 1977 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1978 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1979 | >xmlNotationPtr</A |
| 1980 | > nota);</PRE |
| 1981 | ></TD |
| 1982 | ></TR |
| 1983 | ></TABLE |
| 1984 | ><P |
| 1985 | >This will dump the content the notation declaration as an XML DTD definition</P |
| 1986 | ><P |
| 1987 | ></P |
| 1988 | ><DIV |
| 1989 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1990 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 1991 | NAME="AEN9044"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1992 | ></P |
| 1993 | ><TABLE |
| 1994 | BORDER="0" |
| 1995 | WIDTH="100%" |
| 1996 | BGCOLOR="#FFD0D0" |
| 1997 | CELLSPACING="0" |
| 1998 | CELLPADDING="4" |
| 1999 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2000 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2001 | ><TR |
| 2002 | ><TD |
| 2003 | WIDTH="20%" |
| 2004 | ALIGN="RIGHT" |
| 2005 | VALIGN="TOP" |
| 2006 | ><TT |
| 2007 | CLASS="PARAMETER" |
| 2008 | ><I |
| 2009 | >buf</I |
| 2010 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2011 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2012 | ><TD |
| 2013 | WIDTH="80%" |
| 2014 | ALIGN="LEFT" |
| 2015 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2016 | > the XML buffer output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2017 | ></TR |
| 2018 | ><TR |
| 2019 | ><TD |
| 2020 | WIDTH="20%" |
| 2021 | ALIGN="RIGHT" |
| 2022 | VALIGN="TOP" |
| 2023 | ><TT |
| 2024 | CLASS="PARAMETER" |
| 2025 | ><I |
| 2026 | >nota</I |
| 2027 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2028 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2029 | ><TD |
| 2030 | WIDTH="80%" |
| 2031 | ALIGN="LEFT" |
| 2032 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2033 | > A notation declaration</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2034 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2035 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2036 | ></TABLE |
| 2037 | ><P |
| 2038 | ></P |
| 2039 | ></DIV |
| 2040 | ></DIV |
| 2041 | ><HR><DIV |
| 2042 | CLASS="REFSECT2" |
| 2043 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2044 | NAME="AEN9057" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2045 | ></A |
| 2046 | ><H3 |
| 2047 | ><A |
| 2048 | NAME="XMLDUMPNOTATIONTABLE" |
| 2049 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2050 | >xmlDumpNotationTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2051 | ><TABLE |
| 2052 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2053 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2054 | WIDTH="100%" |
| 2055 | CELLPADDING="6" |
| 2056 | ><TR |
| 2057 | ><TD |
| 2058 | ><PRE |
| 2059 | CLASS="PROGRAMLISTING" |
| 2060 | >void xmlDumpNotationTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2061 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2062 | >xmlBufferPtr</A |
| 2063 | > buf, |
| 2064 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2065 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2066 | >xmlNotationTablePtr</A |
| 2067 | > table);</PRE |
| 2068 | ></TD |
| 2069 | ></TR |
| 2070 | ></TABLE |
| 2071 | ><P |
| 2072 | >This will dump the content of the notation table as an XML DTD definition</P |
| 2073 | ><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2074 | ></P |
| 2075 | ><DIV |
| 2076 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2077 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2078 | NAME="AEN9065"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2079 | ></P |
| 2080 | ><TABLE |
| 2081 | BORDER="0" |
| 2082 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2083 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2084 | CELLSPACING="0" |
| 2085 | CELLPADDING="4" |
| 2086 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2087 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2088 | ><TR |
| 2089 | ><TD |
| 2090 | WIDTH="20%" |
| 2091 | ALIGN="RIGHT" |
| 2092 | VALIGN="TOP" |
| 2093 | ><TT |
| 2094 | CLASS="PARAMETER" |
| 2095 | ><I |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2096 | >buf</I |
| 2097 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2098 | > :</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2099 | ><TD |
| 2100 | WIDTH="80%" |
| 2101 | ALIGN="LEFT" |
| 2102 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2103 | > the XML buffer output</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2104 | ></TR |
| 2105 | ><TR |
| 2106 | ><TD |
| 2107 | WIDTH="20%" |
| 2108 | ALIGN="RIGHT" |
| 2109 | VALIGN="TOP" |
| 2110 | ><TT |
| 2111 | CLASS="PARAMETER" |
| 2112 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2113 | >table</I |
| 2114 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2115 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2116 | ><TD |
| 2117 | WIDTH="80%" |
| 2118 | ALIGN="LEFT" |
| 2119 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2120 | > A notation table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2121 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2122 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2123 | ></TABLE |
| 2124 | ><P |
| 2125 | ></P |
| 2126 | ></DIV |
| 2127 | ></DIV |
| 2128 | ><HR><DIV |
| 2129 | CLASS="REFSECT2" |
| 2130 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2131 | NAME="AEN9078" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2132 | ></A |
| 2133 | ><H3 |
| 2134 | ><A |
| 2135 | NAME="XMLNEWELEMENTCONTENT" |
| 2136 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2137 | >xmlNewElementContent ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2138 | ><TABLE |
| 2139 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2140 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2141 | WIDTH="100%" |
| 2142 | CELLPADDING="6" |
| 2143 | ><TR |
| 2144 | ><TD |
| 2145 | ><PRE |
| 2146 | CLASS="PROGRAMLISTING" |
| 2147 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2148 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2149 | >xmlElementContentPtr</A |
| 2150 | > xmlNewElementContent (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2151 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 2152 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2153 | > *name, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 2154 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2155 | HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 2156 | >xmlElementContentType</A |
| 2157 | > type);</PRE |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2158 | ></TD |
| 2159 | ></TR |
| 2160 | ></TABLE |
| 2161 | ><P |
| 2162 | >Allocate an element content structure.</P |
| 2163 | ><P |
| 2164 | ></P |
| 2165 | ><DIV |
| 2166 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2167 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2168 | NAME="AEN9087"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2169 | ></P |
| 2170 | ><TABLE |
| 2171 | BORDER="0" |
| 2172 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2173 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2174 | CELLSPACING="0" |
| 2175 | CELLPADDING="4" |
| 2176 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2177 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2178 | ><TR |
| 2179 | ><TD |
| 2180 | WIDTH="20%" |
| 2181 | ALIGN="RIGHT" |
| 2182 | VALIGN="TOP" |
| 2183 | ><TT |
| 2184 | CLASS="PARAMETER" |
| 2185 | ><I |
| 2186 | >name</I |
| 2187 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2188 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2189 | ><TD |
| 2190 | WIDTH="80%" |
| 2191 | ALIGN="LEFT" |
| 2192 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2193 | > the subelement name or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2194 | ></TR |
| 2195 | ><TR |
| 2196 | ><TD |
| 2197 | WIDTH="20%" |
| 2198 | ALIGN="RIGHT" |
| 2199 | VALIGN="TOP" |
| 2200 | ><TT |
| 2201 | CLASS="PARAMETER" |
| 2202 | ><I |
| 2203 | >type</I |
| 2204 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2205 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2206 | ><TD |
| 2207 | WIDTH="80%" |
| 2208 | ALIGN="LEFT" |
| 2209 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2210 | > the type of element content decl</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2211 | ></TR |
| 2212 | ><TR |
| 2213 | ><TD |
| 2214 | WIDTH="20%" |
| 2215 | ALIGN="RIGHT" |
| 2216 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2217 | ><SPAN |
| 2218 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2219 | ><I |
| 2220 | CLASS="EMPHASIS" |
| 2221 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2222 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2223 | > :</TD |
| 2224 | ><TD |
| 2225 | WIDTH="80%" |
| 2226 | ALIGN="LEFT" |
| 2227 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 2228 | >NULL if not, otherwise the new element content structure</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2229 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2230 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2231 | ></TABLE |
| 2232 | ><P |
| 2233 | ></P |
| 2234 | ></DIV |
| 2235 | ></DIV |
| 2236 | ><HR><DIV |
| 2237 | CLASS="REFSECT2" |
| 2238 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2239 | NAME="AEN9104" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2240 | ></A |
| 2241 | ><H3 |
| 2242 | ><A |
| 2243 | NAME="XMLCOPYELEMENTCONTENT" |
| 2244 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2245 | >xmlCopyElementContent ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2246 | ><TABLE |
| 2247 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2248 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2249 | WIDTH="100%" |
| 2250 | CELLPADDING="6" |
| 2251 | ><TR |
| 2252 | ><TD |
| 2253 | ><PRE |
| 2254 | CLASS="PROGRAMLISTING" |
| 2255 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2256 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2257 | >xmlElementContentPtr</A |
| 2258 | > xmlCopyElementContent (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2259 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2260 | >xmlElementContentPtr</A |
| 2261 | > content);</PRE |
| 2262 | ></TD |
| 2263 | ></TR |
| 2264 | ></TABLE |
| 2265 | ><P |
| 2266 | >Build a copy of an element content description.</P |
| 2267 | ><P |
| 2268 | ></P |
| 2269 | ><DIV |
| 2270 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2271 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2272 | NAME="AEN9112"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2273 | ></P |
| 2274 | ><TABLE |
| 2275 | BORDER="0" |
| 2276 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2277 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2278 | CELLSPACING="0" |
| 2279 | CELLPADDING="4" |
| 2280 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2281 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2282 | ><TR |
| 2283 | ><TD |
| 2284 | WIDTH="20%" |
| 2285 | ALIGN="RIGHT" |
| 2286 | VALIGN="TOP" |
| 2287 | ><TT |
| 2288 | CLASS="PARAMETER" |
| 2289 | ><I |
| 2290 | >content</I |
| 2291 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2292 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2293 | ><TD |
| 2294 | WIDTH="80%" |
| 2295 | ALIGN="LEFT" |
| 2296 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2297 | > An element content pointer.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2298 | ></TR |
| 2299 | ><TR |
| 2300 | ><TD |
| 2301 | WIDTH="20%" |
| 2302 | ALIGN="RIGHT" |
| 2303 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2304 | ><SPAN |
| 2305 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2306 | ><I |
| 2307 | CLASS="EMPHASIS" |
| 2308 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2309 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2310 | > :</TD |
| 2311 | ><TD |
| 2312 | WIDTH="80%" |
| 2313 | ALIGN="LEFT" |
| 2314 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2315 | >the new xmlElementContentPtr or NULL in case of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2316 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2317 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2318 | ></TABLE |
| 2319 | ><P |
| 2320 | ></P |
| 2321 | ></DIV |
| 2322 | ></DIV |
| 2323 | ><HR><DIV |
| 2324 | CLASS="REFSECT2" |
| 2325 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2326 | NAME="AEN9125" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2327 | ></A |
| 2328 | ><H3 |
| 2329 | ><A |
| 2330 | NAME="XMLFREEELEMENTCONTENT" |
| 2331 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2332 | >xmlFreeElementContent ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2333 | ><TABLE |
| 2334 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2335 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2336 | WIDTH="100%" |
| 2337 | CELLPADDING="6" |
| 2338 | ><TR |
| 2339 | ><TD |
| 2340 | ><PRE |
| 2341 | CLASS="PROGRAMLISTING" |
| 2342 | >void xmlFreeElementContent (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2343 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2344 | >xmlElementContentPtr</A |
| 2345 | > cur);</PRE |
| 2346 | ></TD |
| 2347 | ></TR |
| 2348 | ></TABLE |
| 2349 | ><P |
| 2350 | >Free an element content structure. This is a recursive call !</P |
| 2351 | ><P |
| 2352 | ></P |
| 2353 | ><DIV |
| 2354 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2355 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2356 | NAME="AEN9132"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2357 | ></P |
| 2358 | ><TABLE |
| 2359 | BORDER="0" |
| 2360 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2361 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2362 | CELLSPACING="0" |
| 2363 | CELLPADDING="4" |
| 2364 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2365 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2366 | ><TR |
| 2367 | ><TD |
| 2368 | WIDTH="20%" |
| 2369 | ALIGN="RIGHT" |
| 2370 | VALIGN="TOP" |
| 2371 | ><TT |
| 2372 | CLASS="PARAMETER" |
| 2373 | ><I |
| 2374 | >cur</I |
| 2375 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2376 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2377 | ><TD |
| 2378 | WIDTH="80%" |
| 2379 | ALIGN="LEFT" |
| 2380 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2381 | > the element content tree to free</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2382 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2383 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2384 | ></TABLE |
| 2385 | ><P |
| 2386 | ></P |
| 2387 | ></DIV |
| 2388 | ></DIV |
| 2389 | ><HR><DIV |
| 2390 | CLASS="REFSECT2" |
| 2391 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2392 | NAME="AEN9141" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 2393 | ></A |
| 2394 | ><H3 |
| 2395 | ><A |
| 2396 | NAME="XMLSNPRINTFELEMENTCONTENT" |
| 2397 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2398 | >xmlSnprintfElementContent ()</H3 |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 2399 | ><TABLE |
| 2400 | BORDER="0" |
| 2401 | BGCOLOR="#D6E8FF" |
| 2402 | WIDTH="100%" |
| 2403 | CELLPADDING="6" |
| 2404 | ><TR |
| 2405 | ><TD |
| 2406 | ><PRE |
| 2407 | CLASS="PROGRAMLISTING" |
| 2408 | >void xmlSnprintfElementContent (char *buf, |
| 2409 | int size, |
| 2410 | <A |
| 2411 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
| 2412 | >xmlElementContentPtr</A |
| 2413 | > content, |
| 2414 | int glob);</PRE |
| 2415 | ></TD |
| 2416 | ></TR |
| 2417 | ></TABLE |
| 2418 | ><P |
| 2419 | >This will dump the content of the element content definition |
| 2420 | Intended just for the debug routine</P |
| 2421 | ><P |
| 2422 | ></P |
| 2423 | ><DIV |
| 2424 | CLASS="INFORMALTABLE" |
| 2425 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2426 | NAME="AEN9148"><P |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 2427 | ></P |
| 2428 | ><TABLE |
| 2429 | BORDER="0" |
| 2430 | WIDTH="100%" |
| 2431 | BGCOLOR="#FFD0D0" |
| 2432 | CELLSPACING="0" |
| 2433 | CELLPADDING="4" |
| 2434 | CLASS="CALSTABLE" |
| 2435 | ><TBODY |
| 2436 | ><TR |
| 2437 | ><TD |
| 2438 | WIDTH="20%" |
| 2439 | ALIGN="RIGHT" |
| 2440 | VALIGN="TOP" |
| 2441 | ><TT |
| 2442 | CLASS="PARAMETER" |
| 2443 | ><I |
| 2444 | >buf</I |
| 2445 | ></TT |
| 2446 | > :</TD |
| 2447 | ><TD |
| 2448 | WIDTH="80%" |
| 2449 | ALIGN="LEFT" |
| 2450 | VALIGN="TOP" |
| 2451 | > an output buffer</TD |
| 2452 | ></TR |
| 2453 | ><TR |
| 2454 | ><TD |
| 2455 | WIDTH="20%" |
| 2456 | ALIGN="RIGHT" |
| 2457 | VALIGN="TOP" |
| 2458 | ><TT |
| 2459 | CLASS="PARAMETER" |
| 2460 | ><I |
| 2461 | >size</I |
| 2462 | ></TT |
| 2463 | > :</TD |
| 2464 | ><TD |
| 2465 | WIDTH="80%" |
| 2466 | ALIGN="LEFT" |
| 2467 | VALIGN="TOP" |
| 2468 | > the buffer size</TD |
| 2469 | ></TR |
| 2470 | ><TR |
| 2471 | ><TD |
| 2472 | WIDTH="20%" |
| 2473 | ALIGN="RIGHT" |
| 2474 | VALIGN="TOP" |
| 2475 | ><TT |
| 2476 | CLASS="PARAMETER" |
| 2477 | ><I |
| 2478 | >content</I |
| 2479 | ></TT |
| 2480 | > :</TD |
| 2481 | ><TD |
| 2482 | WIDTH="80%" |
| 2483 | ALIGN="LEFT" |
| 2484 | VALIGN="TOP" |
| 2485 | > An element table</TD |
| 2486 | ></TR |
| 2487 | ><TR |
| 2488 | ><TD |
| 2489 | WIDTH="20%" |
| 2490 | ALIGN="RIGHT" |
| 2491 | VALIGN="TOP" |
| 2492 | ><TT |
| 2493 | CLASS="PARAMETER" |
| 2494 | ><I |
| 2495 | >glob</I |
| 2496 | ></TT |
| 2497 | > :</TD |
| 2498 | ><TD |
| 2499 | WIDTH="80%" |
| 2500 | ALIGN="LEFT" |
| 2501 | VALIGN="TOP" |
| 2502 | > 1 if one must print the englobing parenthesis, 0 otherwise</TD |
| 2503 | ></TR |
| 2504 | ></TBODY |
| 2505 | ></TABLE |
| 2506 | ><P |
| 2507 | ></P |
| 2508 | ></DIV |
| 2509 | ></DIV |
| 2510 | ><HR><DIV |
| 2511 | CLASS="REFSECT2" |
| 2512 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2513 | NAME="AEN9169" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2514 | ></A |
| 2515 | ><H3 |
| 2516 | ><A |
| 2517 | NAME="XMLSPRINTFELEMENTCONTENT" |
| 2518 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2519 | >xmlSprintfElementContent ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2520 | ><TABLE |
| 2521 | BORDER="0" |
| 2522 | BGCOLOR="#D6E8FF" |
| 2523 | WIDTH="100%" |
| 2524 | CELLPADDING="6" |
| 2525 | ><TR |
| 2526 | ><TD |
| 2527 | ><PRE |
| 2528 | CLASS="PROGRAMLISTING" |
| 2529 | >void xmlSprintfElementContent (char *buf, |
| 2530 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2531 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2532 | >xmlElementContentPtr</A |
| 2533 | > content, |
| 2534 | int glob);</PRE |
| 2535 | ></TD |
| 2536 | ></TR |
| 2537 | ></TABLE |
| 2538 | ><P |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 2539 | >Deprecated, unsafe, use xmlSnprintfElementContent</P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2540 | ><P |
| 2541 | ></P |
| 2542 | ><DIV |
| 2543 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2544 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2545 | NAME="AEN9176"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2546 | ></P |
| 2547 | ><TABLE |
| 2548 | BORDER="0" |
| 2549 | WIDTH="100%" |
| 2550 | BGCOLOR="#FFD0D0" |
| 2551 | CELLSPACING="0" |
| 2552 | CELLPADDING="4" |
| 2553 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2554 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2555 | ><TR |
| 2556 | ><TD |
| 2557 | WIDTH="20%" |
| 2558 | ALIGN="RIGHT" |
| 2559 | VALIGN="TOP" |
| 2560 | ><TT |
| 2561 | CLASS="PARAMETER" |
| 2562 | ><I |
| 2563 | >buf</I |
| 2564 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2565 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2566 | ><TD |
| 2567 | WIDTH="80%" |
| 2568 | ALIGN="LEFT" |
| 2569 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2570 | > an output buffer</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2571 | ></TR |
| 2572 | ><TR |
| 2573 | ><TD |
| 2574 | WIDTH="20%" |
| 2575 | ALIGN="RIGHT" |
| 2576 | VALIGN="TOP" |
| 2577 | ><TT |
| 2578 | CLASS="PARAMETER" |
| 2579 | ><I |
| 2580 | >content</I |
| 2581 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2582 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2583 | ><TD |
| 2584 | WIDTH="80%" |
| 2585 | ALIGN="LEFT" |
| 2586 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2587 | > An element table</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2588 | ></TR |
| 2589 | ><TR |
| 2590 | ><TD |
| 2591 | WIDTH="20%" |
| 2592 | ALIGN="RIGHT" |
| 2593 | VALIGN="TOP" |
| 2594 | ><TT |
| 2595 | CLASS="PARAMETER" |
| 2596 | ><I |
| 2597 | >glob</I |
| 2598 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2599 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2600 | ><TD |
| 2601 | WIDTH="80%" |
| 2602 | ALIGN="LEFT" |
| 2603 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2604 | > 1 if one must print the englobing parenthesis, 0 otherwise</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2605 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2606 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2607 | ></TABLE |
| 2608 | ><P |
| 2609 | ></P |
| 2610 | ></DIV |
| 2611 | ></DIV |
| 2612 | ><HR><DIV |
| 2613 | CLASS="REFSECT2" |
| 2614 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2615 | NAME="AEN9193" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2616 | ></A |
| 2617 | ><H3 |
| 2618 | ><A |
| 2619 | NAME="XMLADDELEMENTDECL" |
| 2620 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2621 | >xmlAddElementDecl ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2622 | ><TABLE |
| 2623 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2624 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2625 | WIDTH="100%" |
| 2626 | CELLPADDING="6" |
| 2627 | ><TR |
| 2628 | ><TD |
| 2629 | ><PRE |
| 2630 | CLASS="PROGRAMLISTING" |
| 2631 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2632 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2633 | >xmlElementPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2634 | > xmlAddElementDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2635 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2636 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 2637 | > ctxt, |
| 2638 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2639 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2640 | >xmlDtdPtr</A |
| 2641 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2642 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2643 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 2644 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2645 | > *name, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 2646 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2647 | HREF="libxml-tree.html#XMLELEMENTTYPEVAL" |
Daniel Veillard | 4c3a203 | 1999-11-19 17:46:26 +0000 | [diff] [blame] | 2648 | >xmlElementTypeVal</A |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 2649 | > type, |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2650 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2651 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2652 | >xmlElementContentPtr</A |
| 2653 | > content);</PRE |
| 2654 | ></TD |
| 2655 | ></TR |
| 2656 | ></TABLE |
| 2657 | ><P |
| 2658 | >Register a new element declaration</P |
| 2659 | ><P |
| 2660 | ></P |
| 2661 | ><DIV |
| 2662 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2663 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2664 | NAME="AEN9205"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2665 | ></P |
| 2666 | ><TABLE |
| 2667 | BORDER="0" |
| 2668 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2669 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2670 | CELLSPACING="0" |
| 2671 | CELLPADDING="4" |
| 2672 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2673 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2674 | ><TR |
| 2675 | ><TD |
| 2676 | WIDTH="20%" |
| 2677 | ALIGN="RIGHT" |
| 2678 | VALIGN="TOP" |
| 2679 | ><TT |
| 2680 | CLASS="PARAMETER" |
| 2681 | ><I |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 2682 | >ctxt</I |
| 2683 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2684 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 2685 | ><TD |
| 2686 | WIDTH="80%" |
| 2687 | ALIGN="LEFT" |
| 2688 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2689 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 2690 | ></TR |
| 2691 | ><TR |
| 2692 | ><TD |
| 2693 | WIDTH="20%" |
| 2694 | ALIGN="RIGHT" |
| 2695 | VALIGN="TOP" |
| 2696 | ><TT |
| 2697 | CLASS="PARAMETER" |
| 2698 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2699 | >dtd</I |
| 2700 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2701 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2702 | ><TD |
| 2703 | WIDTH="80%" |
| 2704 | ALIGN="LEFT" |
| 2705 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2706 | > pointer to the DTD</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2707 | ></TR |
| 2708 | ><TR |
| 2709 | ><TD |
| 2710 | WIDTH="20%" |
| 2711 | ALIGN="RIGHT" |
| 2712 | VALIGN="TOP" |
| 2713 | ><TT |
| 2714 | CLASS="PARAMETER" |
| 2715 | ><I |
| 2716 | >name</I |
| 2717 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2718 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2719 | ><TD |
| 2720 | WIDTH="80%" |
| 2721 | ALIGN="LEFT" |
| 2722 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2723 | > the entity name</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2724 | ></TR |
| 2725 | ><TR |
| 2726 | ><TD |
| 2727 | WIDTH="20%" |
| 2728 | ALIGN="RIGHT" |
| 2729 | VALIGN="TOP" |
| 2730 | ><TT |
| 2731 | CLASS="PARAMETER" |
| 2732 | ><I |
| 2733 | >type</I |
| 2734 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2735 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2736 | ><TD |
| 2737 | WIDTH="80%" |
| 2738 | ALIGN="LEFT" |
| 2739 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2740 | > the element type</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2741 | ></TR |
| 2742 | ><TR |
| 2743 | ><TD |
| 2744 | WIDTH="20%" |
| 2745 | ALIGN="RIGHT" |
| 2746 | VALIGN="TOP" |
| 2747 | ><TT |
| 2748 | CLASS="PARAMETER" |
| 2749 | ><I |
| 2750 | >content</I |
| 2751 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2752 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2753 | ><TD |
| 2754 | WIDTH="80%" |
| 2755 | ALIGN="LEFT" |
| 2756 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2757 | > the element content tree or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2758 | ></TR |
| 2759 | ><TR |
| 2760 | ><TD |
| 2761 | WIDTH="20%" |
| 2762 | ALIGN="RIGHT" |
| 2763 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2764 | ><SPAN |
| 2765 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2766 | ><I |
| 2767 | CLASS="EMPHASIS" |
| 2768 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2769 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2770 | > :</TD |
| 2771 | ><TD |
| 2772 | WIDTH="80%" |
| 2773 | ALIGN="LEFT" |
| 2774 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 2775 | >NULL if not, otherwise the entity</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2776 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2777 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2778 | ></TABLE |
| 2779 | ><P |
| 2780 | ></P |
| 2781 | ></DIV |
| 2782 | ></DIV |
| 2783 | ><HR><DIV |
| 2784 | CLASS="REFSECT2" |
| 2785 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2786 | NAME="AEN9234" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2787 | ></A |
| 2788 | ><H3 |
| 2789 | ><A |
| 2790 | NAME="XMLCOPYELEMENTTABLE" |
| 2791 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2792 | >xmlCopyElementTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2793 | ><TABLE |
| 2794 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2795 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2796 | WIDTH="100%" |
| 2797 | CELLPADDING="6" |
| 2798 | ><TR |
| 2799 | ><TD |
| 2800 | ><PRE |
| 2801 | CLASS="PROGRAMLISTING" |
| 2802 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2803 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2804 | >xmlElementTablePtr</A |
| 2805 | > xmlCopyElementTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2806 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2807 | >xmlElementTablePtr</A |
| 2808 | > table);</PRE |
| 2809 | ></TD |
| 2810 | ></TR |
| 2811 | ></TABLE |
| 2812 | ><P |
| 2813 | >Build a copy of an element table.</P |
| 2814 | ><P |
| 2815 | ></P |
| 2816 | ><DIV |
| 2817 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2818 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2819 | NAME="AEN9242"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2820 | ></P |
| 2821 | ><TABLE |
| 2822 | BORDER="0" |
| 2823 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2824 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2825 | CELLSPACING="0" |
| 2826 | CELLPADDING="4" |
| 2827 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2828 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2829 | ><TR |
| 2830 | ><TD |
| 2831 | WIDTH="20%" |
| 2832 | ALIGN="RIGHT" |
| 2833 | VALIGN="TOP" |
| 2834 | ><TT |
| 2835 | CLASS="PARAMETER" |
| 2836 | ><I |
| 2837 | >table</I |
| 2838 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2839 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2840 | ><TD |
| 2841 | WIDTH="80%" |
| 2842 | ALIGN="LEFT" |
| 2843 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2844 | > An element table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2845 | ></TR |
| 2846 | ><TR |
| 2847 | ><TD |
| 2848 | WIDTH="20%" |
| 2849 | ALIGN="RIGHT" |
| 2850 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2851 | ><SPAN |
| 2852 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2853 | ><I |
| 2854 | CLASS="EMPHASIS" |
| 2855 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2856 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2857 | > :</TD |
| 2858 | ><TD |
| 2859 | WIDTH="80%" |
| 2860 | ALIGN="LEFT" |
| 2861 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2862 | >the new xmlElementTablePtr or NULL in case of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2863 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2864 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2865 | ></TABLE |
| 2866 | ><P |
| 2867 | ></P |
| 2868 | ></DIV |
| 2869 | ></DIV |
| 2870 | ><HR><DIV |
| 2871 | CLASS="REFSECT2" |
| 2872 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2873 | NAME="AEN9255" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2874 | ></A |
| 2875 | ><H3 |
| 2876 | ><A |
| 2877 | NAME="XMLFREEELEMENTTABLE" |
| 2878 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2879 | >xmlFreeElementTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2880 | ><TABLE |
| 2881 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2882 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2883 | WIDTH="100%" |
| 2884 | CELLPADDING="6" |
| 2885 | ><TR |
| 2886 | ><TD |
| 2887 | ><PRE |
| 2888 | CLASS="PROGRAMLISTING" |
| 2889 | >void xmlFreeElementTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2890 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2891 | >xmlElementTablePtr</A |
| 2892 | > table);</PRE |
| 2893 | ></TD |
| 2894 | ></TR |
| 2895 | ></TABLE |
| 2896 | ><P |
| 2897 | >Deallocate the memory used by an element hash table.</P |
| 2898 | ><P |
| 2899 | ></P |
| 2900 | ><DIV |
| 2901 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2902 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2903 | NAME="AEN9262"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2904 | ></P |
| 2905 | ><TABLE |
| 2906 | BORDER="0" |
| 2907 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2908 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2909 | CELLSPACING="0" |
| 2910 | CELLPADDING="4" |
| 2911 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2912 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2913 | ><TR |
| 2914 | ><TD |
| 2915 | WIDTH="20%" |
| 2916 | ALIGN="RIGHT" |
| 2917 | VALIGN="TOP" |
| 2918 | ><TT |
| 2919 | CLASS="PARAMETER" |
| 2920 | ><I |
| 2921 | >table</I |
| 2922 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2923 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2924 | ><TD |
| 2925 | WIDTH="80%" |
| 2926 | ALIGN="LEFT" |
| 2927 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2928 | > An element table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2929 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2930 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2931 | ></TABLE |
| 2932 | ><P |
| 2933 | ></P |
| 2934 | ></DIV |
| 2935 | ></DIV |
| 2936 | ><HR><DIV |
| 2937 | CLASS="REFSECT2" |
| 2938 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2939 | NAME="AEN9271" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2940 | ></A |
| 2941 | ><H3 |
| 2942 | ><A |
| 2943 | NAME="XMLDUMPELEMENTTABLE" |
| 2944 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2945 | >xmlDumpElementTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2946 | ><TABLE |
| 2947 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2948 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2949 | WIDTH="100%" |
| 2950 | CELLPADDING="6" |
| 2951 | ><TR |
| 2952 | ><TD |
| 2953 | ><PRE |
| 2954 | CLASS="PROGRAMLISTING" |
| 2955 | >void xmlDumpElementTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2956 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2957 | >xmlBufferPtr</A |
| 2958 | > buf, |
| 2959 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2960 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2961 | >xmlElementTablePtr</A |
| 2962 | > table);</PRE |
| 2963 | ></TD |
| 2964 | ></TR |
| 2965 | ></TABLE |
| 2966 | ><P |
| 2967 | >This will dump the content of the element table as an XML DTD definition</P |
| 2968 | ><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2969 | ></P |
| 2970 | ><DIV |
| 2971 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2972 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 2973 | NAME="AEN9279"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2974 | ></P |
| 2975 | ><TABLE |
| 2976 | BORDER="0" |
| 2977 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2978 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2979 | CELLSPACING="0" |
| 2980 | CELLPADDING="4" |
| 2981 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2982 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2983 | ><TR |
| 2984 | ><TD |
| 2985 | WIDTH="20%" |
| 2986 | ALIGN="RIGHT" |
| 2987 | VALIGN="TOP" |
| 2988 | ><TT |
| 2989 | CLASS="PARAMETER" |
| 2990 | ><I |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2991 | >buf</I |
| 2992 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2993 | > :</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2994 | ><TD |
| 2995 | WIDTH="80%" |
| 2996 | ALIGN="LEFT" |
| 2997 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2998 | > the XML buffer output</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2999 | ></TR |
| 3000 | ><TR |
| 3001 | ><TD |
| 3002 | WIDTH="20%" |
| 3003 | ALIGN="RIGHT" |
| 3004 | VALIGN="TOP" |
| 3005 | ><TT |
| 3006 | CLASS="PARAMETER" |
| 3007 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3008 | >table</I |
| 3009 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3010 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3011 | ><TD |
| 3012 | WIDTH="80%" |
| 3013 | ALIGN="LEFT" |
| 3014 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3015 | > An element table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3016 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3017 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3018 | ></TABLE |
| 3019 | ><P |
| 3020 | ></P |
| 3021 | ></DIV |
| 3022 | ></DIV |
| 3023 | ><HR><DIV |
| 3024 | CLASS="REFSECT2" |
| 3025 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3026 | NAME="AEN9292" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3027 | ></A |
| 3028 | ><H3 |
| 3029 | ><A |
| 3030 | NAME="XMLDUMPELEMENTDECL" |
| 3031 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3032 | >xmlDumpElementDecl ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3033 | ><TABLE |
| 3034 | BORDER="0" |
| 3035 | BGCOLOR="#D6E8FF" |
| 3036 | WIDTH="100%" |
| 3037 | CELLPADDING="6" |
| 3038 | ><TR |
| 3039 | ><TD |
| 3040 | ><PRE |
| 3041 | CLASS="PROGRAMLISTING" |
| 3042 | >void xmlDumpElementDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3043 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3044 | >xmlBufferPtr</A |
| 3045 | > buf, |
| 3046 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3047 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3048 | >xmlElementPtr</A |
| 3049 | > elem);</PRE |
| 3050 | ></TD |
| 3051 | ></TR |
| 3052 | ></TABLE |
| 3053 | ><P |
| 3054 | >This will dump the content of the element declaration as an XML |
| 3055 | DTD definition</P |
| 3056 | ><P |
| 3057 | ></P |
| 3058 | ><DIV |
| 3059 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3060 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3061 | NAME="AEN9300"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3062 | ></P |
| 3063 | ><TABLE |
| 3064 | BORDER="0" |
| 3065 | WIDTH="100%" |
| 3066 | BGCOLOR="#FFD0D0" |
| 3067 | CELLSPACING="0" |
| 3068 | CELLPADDING="4" |
| 3069 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3070 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3071 | ><TR |
| 3072 | ><TD |
| 3073 | WIDTH="20%" |
| 3074 | ALIGN="RIGHT" |
| 3075 | VALIGN="TOP" |
| 3076 | ><TT |
| 3077 | CLASS="PARAMETER" |
| 3078 | ><I |
| 3079 | >buf</I |
| 3080 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3081 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3082 | ><TD |
| 3083 | WIDTH="80%" |
| 3084 | ALIGN="LEFT" |
| 3085 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3086 | > the XML buffer output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3087 | ></TR |
| 3088 | ><TR |
| 3089 | ><TD |
| 3090 | WIDTH="20%" |
| 3091 | ALIGN="RIGHT" |
| 3092 | VALIGN="TOP" |
| 3093 | ><TT |
| 3094 | CLASS="PARAMETER" |
| 3095 | ><I |
| 3096 | >elem</I |
| 3097 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3098 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3099 | ><TD |
| 3100 | WIDTH="80%" |
| 3101 | ALIGN="LEFT" |
| 3102 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3103 | > An element table</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3104 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3105 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3106 | ></TABLE |
| 3107 | ><P |
| 3108 | ></P |
| 3109 | ></DIV |
| 3110 | ></DIV |
| 3111 | ><HR><DIV |
| 3112 | CLASS="REFSECT2" |
| 3113 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3114 | NAME="AEN9313" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3115 | ></A |
| 3116 | ><H3 |
| 3117 | ><A |
| 3118 | NAME="XMLCREATEENUMERATION" |
| 3119 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3120 | >xmlCreateEnumeration ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3121 | ><TABLE |
| 3122 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3123 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3124 | WIDTH="100%" |
| 3125 | CELLPADDING="6" |
| 3126 | ><TR |
| 3127 | ><TD |
| 3128 | ><PRE |
| 3129 | CLASS="PROGRAMLISTING" |
| 3130 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3131 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3132 | >xmlEnumerationPtr</A |
| 3133 | > xmlCreateEnumeration (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3134 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 3135 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3136 | > *name);</PRE |
| 3137 | ></TD |
| 3138 | ></TR |
| 3139 | ></TABLE |
| 3140 | ><P |
| 3141 | >create and initialize an enumeration attribute node.</P |
| 3142 | ><P |
| 3143 | ></P |
| 3144 | ><DIV |
| 3145 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3146 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3147 | NAME="AEN9321"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3148 | ></P |
| 3149 | ><TABLE |
| 3150 | BORDER="0" |
| 3151 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3152 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3153 | CELLSPACING="0" |
| 3154 | CELLPADDING="4" |
| 3155 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3156 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3157 | ><TR |
| 3158 | ><TD |
| 3159 | WIDTH="20%" |
| 3160 | ALIGN="RIGHT" |
| 3161 | VALIGN="TOP" |
| 3162 | ><TT |
| 3163 | CLASS="PARAMETER" |
| 3164 | ><I |
| 3165 | >name</I |
| 3166 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3167 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3168 | ><TD |
| 3169 | WIDTH="80%" |
| 3170 | ALIGN="LEFT" |
| 3171 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3172 | > the enumeration name or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3173 | ></TR |
| 3174 | ><TR |
| 3175 | ><TD |
| 3176 | WIDTH="20%" |
| 3177 | ALIGN="RIGHT" |
| 3178 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 3179 | ><SPAN |
| 3180 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3181 | ><I |
| 3182 | CLASS="EMPHASIS" |
| 3183 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 3184 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3185 | > :</TD |
| 3186 | ><TD |
| 3187 | WIDTH="80%" |
| 3188 | ALIGN="LEFT" |
| 3189 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3190 | >the xmlEnumerationPtr just created or NULL in case |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3191 | of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3192 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3193 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3194 | ></TABLE |
| 3195 | ><P |
| 3196 | ></P |
| 3197 | ></DIV |
| 3198 | ></DIV |
| 3199 | ><HR><DIV |
| 3200 | CLASS="REFSECT2" |
| 3201 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3202 | NAME="AEN9334" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3203 | ></A |
| 3204 | ><H3 |
| 3205 | ><A |
| 3206 | NAME="XMLFREEENUMERATION" |
| 3207 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3208 | >xmlFreeEnumeration ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3209 | ><TABLE |
| 3210 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3211 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3212 | WIDTH="100%" |
| 3213 | CELLPADDING="6" |
| 3214 | ><TR |
| 3215 | ><TD |
| 3216 | ><PRE |
| 3217 | CLASS="PROGRAMLISTING" |
| 3218 | >void xmlFreeEnumeration (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3219 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3220 | >xmlEnumerationPtr</A |
| 3221 | > cur);</PRE |
| 3222 | ></TD |
| 3223 | ></TR |
| 3224 | ></TABLE |
| 3225 | ><P |
| 3226 | >free an enumeration attribute node (recursive).</P |
| 3227 | ><P |
| 3228 | ></P |
| 3229 | ><DIV |
| 3230 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3231 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3232 | NAME="AEN9341"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3233 | ></P |
| 3234 | ><TABLE |
| 3235 | BORDER="0" |
| 3236 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3237 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3238 | CELLSPACING="0" |
| 3239 | CELLPADDING="4" |
| 3240 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3241 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3242 | ><TR |
| 3243 | ><TD |
| 3244 | WIDTH="20%" |
| 3245 | ALIGN="RIGHT" |
| 3246 | VALIGN="TOP" |
| 3247 | ><TT |
| 3248 | CLASS="PARAMETER" |
| 3249 | ><I |
| 3250 | >cur</I |
| 3251 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3252 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3253 | ><TD |
| 3254 | WIDTH="80%" |
| 3255 | ALIGN="LEFT" |
| 3256 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3257 | > the tree to free.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3258 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3259 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3260 | ></TABLE |
| 3261 | ><P |
| 3262 | ></P |
| 3263 | ></DIV |
| 3264 | ></DIV |
| 3265 | ><HR><DIV |
| 3266 | CLASS="REFSECT2" |
| 3267 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3268 | NAME="AEN9350" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3269 | ></A |
| 3270 | ><H3 |
| 3271 | ><A |
| 3272 | NAME="XMLCOPYENUMERATION" |
| 3273 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3274 | >xmlCopyEnumeration ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3275 | ><TABLE |
| 3276 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3277 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3278 | WIDTH="100%" |
| 3279 | CELLPADDING="6" |
| 3280 | ><TR |
| 3281 | ><TD |
| 3282 | ><PRE |
| 3283 | CLASS="PROGRAMLISTING" |
| 3284 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3285 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3286 | >xmlEnumerationPtr</A |
| 3287 | > xmlCopyEnumeration (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3288 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3289 | >xmlEnumerationPtr</A |
| 3290 | > cur);</PRE |
| 3291 | ></TD |
| 3292 | ></TR |
| 3293 | ></TABLE |
| 3294 | ><P |
| 3295 | >Copy an enumeration attribute node (recursive).</P |
| 3296 | ><P |
| 3297 | ></P |
| 3298 | ><DIV |
| 3299 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3300 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3301 | NAME="AEN9358"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3302 | ></P |
| 3303 | ><TABLE |
| 3304 | BORDER="0" |
| 3305 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3306 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3307 | CELLSPACING="0" |
| 3308 | CELLPADDING="4" |
| 3309 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3310 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3311 | ><TR |
| 3312 | ><TD |
| 3313 | WIDTH="20%" |
| 3314 | ALIGN="RIGHT" |
| 3315 | VALIGN="TOP" |
| 3316 | ><TT |
| 3317 | CLASS="PARAMETER" |
| 3318 | ><I |
| 3319 | >cur</I |
| 3320 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3321 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3322 | ><TD |
| 3323 | WIDTH="80%" |
| 3324 | ALIGN="LEFT" |
| 3325 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3326 | > the tree to copy.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3327 | ></TR |
| 3328 | ><TR |
| 3329 | ><TD |
| 3330 | WIDTH="20%" |
| 3331 | ALIGN="RIGHT" |
| 3332 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 3333 | ><SPAN |
| 3334 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3335 | ><I |
| 3336 | CLASS="EMPHASIS" |
| 3337 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 3338 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3339 | > :</TD |
| 3340 | ><TD |
| 3341 | WIDTH="80%" |
| 3342 | ALIGN="LEFT" |
| 3343 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3344 | >the xmlEnumerationPtr just created or NULL in case |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3345 | of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3346 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3347 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3348 | ></TABLE |
| 3349 | ><P |
| 3350 | ></P |
| 3351 | ></DIV |
| 3352 | ></DIV |
| 3353 | ><HR><DIV |
| 3354 | CLASS="REFSECT2" |
| 3355 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3356 | NAME="AEN9371" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3357 | ></A |
| 3358 | ><H3 |
| 3359 | ><A |
| 3360 | NAME="XMLADDATTRIBUTEDECL" |
| 3361 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3362 | >xmlAddAttributeDecl ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3363 | ><TABLE |
| 3364 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3365 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3366 | WIDTH="100%" |
| 3367 | CELLPADDING="6" |
| 3368 | ><TR |
| 3369 | ><TD |
| 3370 | ><PRE |
| 3371 | CLASS="PROGRAMLISTING" |
| 3372 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3373 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3374 | >xmlAttributePtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3375 | > xmlAddAttributeDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3376 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3377 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 3378 | > ctxt, |
| 3379 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3380 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3381 | >xmlDtdPtr</A |
| 3382 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3383 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3384 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 3385 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3386 | > *elem, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3387 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3388 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 3389 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3390 | > *name, |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 3391 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3392 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 3393 | >xmlChar</A |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 3394 | > *ns, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 3395 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3396 | HREF="libxml-tree.html#XMLATTRIBUTETYPE" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 3397 | >xmlAttributeType</A |
| 3398 | > type, |
| 3399 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3400 | HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 3401 | >xmlAttributeDefault</A |
| 3402 | > def, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3403 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3404 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 3405 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3406 | > *defaultValue, |
| 3407 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3408 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3409 | >xmlEnumerationPtr</A |
| 3410 | > tree);</PRE |
| 3411 | ></TD |
| 3412 | ></TR |
| 3413 | ></TABLE |
| 3414 | ><P |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3415 | >Register a new attribute declaration |
| 3416 | Note that <TT |
| 3417 | CLASS="PARAMETER" |
| 3418 | ><I |
| 3419 | >tree</I |
| 3420 | ></TT |
| 3421 | > becomes the ownership of the DTD</P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3422 | ><P |
| 3423 | ></P |
| 3424 | ><DIV |
| 3425 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3426 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3427 | NAME="AEN9388"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3428 | ></P |
| 3429 | ><TABLE |
| 3430 | BORDER="0" |
| 3431 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3432 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3433 | CELLSPACING="0" |
| 3434 | CELLPADDING="4" |
| 3435 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3436 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3437 | ><TR |
| 3438 | ><TD |
| 3439 | WIDTH="20%" |
| 3440 | ALIGN="RIGHT" |
| 3441 | VALIGN="TOP" |
| 3442 | ><TT |
| 3443 | CLASS="PARAMETER" |
| 3444 | ><I |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 3445 | >ctxt</I |
| 3446 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3447 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 3448 | ><TD |
| 3449 | WIDTH="80%" |
| 3450 | ALIGN="LEFT" |
| 3451 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3452 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 3453 | ></TR |
| 3454 | ><TR |
| 3455 | ><TD |
| 3456 | WIDTH="20%" |
| 3457 | ALIGN="RIGHT" |
| 3458 | VALIGN="TOP" |
| 3459 | ><TT |
| 3460 | CLASS="PARAMETER" |
| 3461 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3462 | >dtd</I |
| 3463 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3464 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3465 | ><TD |
| 3466 | WIDTH="80%" |
| 3467 | ALIGN="LEFT" |
| 3468 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3469 | > pointer to the DTD</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3470 | ></TR |
| 3471 | ><TR |
| 3472 | ><TD |
| 3473 | WIDTH="20%" |
| 3474 | ALIGN="RIGHT" |
| 3475 | VALIGN="TOP" |
| 3476 | ><TT |
| 3477 | CLASS="PARAMETER" |
| 3478 | ><I |
| 3479 | >elem</I |
| 3480 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3481 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3482 | ><TD |
| 3483 | WIDTH="80%" |
| 3484 | ALIGN="LEFT" |
| 3485 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3486 | > the element name</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3487 | ></TR |
| 3488 | ><TR |
| 3489 | ><TD |
| 3490 | WIDTH="20%" |
| 3491 | ALIGN="RIGHT" |
| 3492 | VALIGN="TOP" |
| 3493 | ><TT |
| 3494 | CLASS="PARAMETER" |
| 3495 | ><I |
| 3496 | >name</I |
| 3497 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3498 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3499 | ><TD |
| 3500 | WIDTH="80%" |
| 3501 | ALIGN="LEFT" |
| 3502 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3503 | > the attribute name</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3504 | ></TR |
| 3505 | ><TR |
| 3506 | ><TD |
| 3507 | WIDTH="20%" |
| 3508 | ALIGN="RIGHT" |
| 3509 | VALIGN="TOP" |
| 3510 | ><TT |
| 3511 | CLASS="PARAMETER" |
| 3512 | ><I |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 3513 | >ns</I |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 3514 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3515 | > :</TD |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 3516 | ><TD |
| 3517 | WIDTH="80%" |
| 3518 | ALIGN="LEFT" |
| 3519 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3520 | > the attribute namespace prefix</TD |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 3521 | ></TR |
| 3522 | ><TR |
| 3523 | ><TD |
| 3524 | WIDTH="20%" |
| 3525 | ALIGN="RIGHT" |
| 3526 | VALIGN="TOP" |
| 3527 | ><TT |
| 3528 | CLASS="PARAMETER" |
| 3529 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3530 | >type</I |
| 3531 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3532 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3533 | ><TD |
| 3534 | WIDTH="80%" |
| 3535 | ALIGN="LEFT" |
| 3536 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3537 | > the attribute type</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3538 | ></TR |
| 3539 | ><TR |
| 3540 | ><TD |
| 3541 | WIDTH="20%" |
| 3542 | ALIGN="RIGHT" |
| 3543 | VALIGN="TOP" |
| 3544 | ><TT |
| 3545 | CLASS="PARAMETER" |
| 3546 | ><I |
| 3547 | >def</I |
| 3548 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3549 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3550 | ><TD |
| 3551 | WIDTH="80%" |
| 3552 | ALIGN="LEFT" |
| 3553 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3554 | > the attribute default type</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3555 | ></TR |
| 3556 | ><TR |
| 3557 | ><TD |
| 3558 | WIDTH="20%" |
| 3559 | ALIGN="RIGHT" |
| 3560 | VALIGN="TOP" |
| 3561 | ><TT |
| 3562 | CLASS="PARAMETER" |
| 3563 | ><I |
| 3564 | >defaultValue</I |
| 3565 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3566 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3567 | ><TD |
| 3568 | WIDTH="80%" |
| 3569 | ALIGN="LEFT" |
| 3570 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3571 | > the attribute default value</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3572 | ></TR |
| 3573 | ><TR |
| 3574 | ><TD |
| 3575 | WIDTH="20%" |
| 3576 | ALIGN="RIGHT" |
| 3577 | VALIGN="TOP" |
| 3578 | ><TT |
| 3579 | CLASS="PARAMETER" |
| 3580 | ><I |
| 3581 | >tree</I |
| 3582 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3583 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3584 | ><TD |
| 3585 | WIDTH="80%" |
| 3586 | ALIGN="LEFT" |
| 3587 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3588 | > if it's an enumeration, the associated list</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3589 | ></TR |
| 3590 | ><TR |
| 3591 | ><TD |
| 3592 | WIDTH="20%" |
| 3593 | ALIGN="RIGHT" |
| 3594 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 3595 | ><SPAN |
| 3596 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3597 | ><I |
| 3598 | CLASS="EMPHASIS" |
| 3599 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 3600 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3601 | > :</TD |
| 3602 | ><TD |
| 3603 | WIDTH="80%" |
| 3604 | ALIGN="LEFT" |
| 3605 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 3606 | >NULL if not new, otherwise the attribute decl</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3607 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3608 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3609 | ></TABLE |
| 3610 | ><P |
| 3611 | ></P |
| 3612 | ></DIV |
| 3613 | ></DIV |
| 3614 | ><HR><DIV |
| 3615 | CLASS="REFSECT2" |
| 3616 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3617 | NAME="AEN9433" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3618 | ></A |
| 3619 | ><H3 |
| 3620 | ><A |
| 3621 | NAME="XMLCOPYATTRIBUTETABLE" |
| 3622 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3623 | >xmlCopyAttributeTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3624 | ><TABLE |
| 3625 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3626 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3627 | WIDTH="100%" |
| 3628 | CELLPADDING="6" |
| 3629 | ><TR |
| 3630 | ><TD |
| 3631 | ><PRE |
| 3632 | CLASS="PROGRAMLISTING" |
| 3633 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3634 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3635 | >xmlAttributeTablePtr</A |
| 3636 | > xmlCopyAttributeTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3637 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3638 | >xmlAttributeTablePtr</A |
| 3639 | > table);</PRE |
| 3640 | ></TD |
| 3641 | ></TR |
| 3642 | ></TABLE |
| 3643 | ><P |
| 3644 | >Build a copy of an attribute table.</P |
| 3645 | ><P |
| 3646 | ></P |
| 3647 | ><DIV |
| 3648 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3649 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3650 | NAME="AEN9441"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3651 | ></P |
| 3652 | ><TABLE |
| 3653 | BORDER="0" |
| 3654 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3655 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3656 | CELLSPACING="0" |
| 3657 | CELLPADDING="4" |
| 3658 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3659 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3660 | ><TR |
| 3661 | ><TD |
| 3662 | WIDTH="20%" |
| 3663 | ALIGN="RIGHT" |
| 3664 | VALIGN="TOP" |
| 3665 | ><TT |
| 3666 | CLASS="PARAMETER" |
| 3667 | ><I |
| 3668 | >table</I |
| 3669 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3670 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3671 | ><TD |
| 3672 | WIDTH="80%" |
| 3673 | ALIGN="LEFT" |
| 3674 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3675 | > An attribute table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3676 | ></TR |
| 3677 | ><TR |
| 3678 | ><TD |
| 3679 | WIDTH="20%" |
| 3680 | ALIGN="RIGHT" |
| 3681 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 3682 | ><SPAN |
| 3683 | CLASS="emphasis" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3684 | ><I |
| 3685 | CLASS="EMPHASIS" |
| 3686 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 3687 | ></SPAN |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3688 | > :</TD |
| 3689 | ><TD |
| 3690 | WIDTH="80%" |
| 3691 | ALIGN="LEFT" |
| 3692 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3693 | >the new xmlAttributeTablePtr or NULL in case of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3694 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3695 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3696 | ></TABLE |
| 3697 | ><P |
| 3698 | ></P |
| 3699 | ></DIV |
| 3700 | ></DIV |
| 3701 | ><HR><DIV |
| 3702 | CLASS="REFSECT2" |
| 3703 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3704 | NAME="AEN9454" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3705 | ></A |
| 3706 | ><H3 |
| 3707 | ><A |
| 3708 | NAME="XMLFREEATTRIBUTETABLE" |
| 3709 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3710 | >xmlFreeAttributeTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3711 | ><TABLE |
| 3712 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3713 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3714 | WIDTH="100%" |
| 3715 | CELLPADDING="6" |
| 3716 | ><TR |
| 3717 | ><TD |
| 3718 | ><PRE |
| 3719 | CLASS="PROGRAMLISTING" |
| 3720 | >void xmlFreeAttributeTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3721 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3722 | >xmlAttributeTablePtr</A |
| 3723 | > table);</PRE |
| 3724 | ></TD |
| 3725 | ></TR |
| 3726 | ></TABLE |
| 3727 | ><P |
| 3728 | >Deallocate the memory used by an entities hash table.</P |
| 3729 | ><P |
| 3730 | ></P |
| 3731 | ><DIV |
| 3732 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3733 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3734 | NAME="AEN9461"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3735 | ></P |
| 3736 | ><TABLE |
| 3737 | BORDER="0" |
| 3738 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3739 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3740 | CELLSPACING="0" |
| 3741 | CELLPADDING="4" |
| 3742 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3743 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3744 | ><TR |
| 3745 | ><TD |
| 3746 | WIDTH="20%" |
| 3747 | ALIGN="RIGHT" |
| 3748 | VALIGN="TOP" |
| 3749 | ><TT |
| 3750 | CLASS="PARAMETER" |
| 3751 | ><I |
| 3752 | >table</I |
| 3753 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3754 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3755 | ><TD |
| 3756 | WIDTH="80%" |
| 3757 | ALIGN="LEFT" |
| 3758 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3759 | > An attribute table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3760 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3761 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3762 | ></TABLE |
| 3763 | ><P |
| 3764 | ></P |
| 3765 | ></DIV |
| 3766 | ></DIV |
| 3767 | ><HR><DIV |
| 3768 | CLASS="REFSECT2" |
| 3769 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3770 | NAME="AEN9470" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3771 | ></A |
| 3772 | ><H3 |
| 3773 | ><A |
| 3774 | NAME="XMLDUMPATTRIBUTETABLE" |
| 3775 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3776 | >xmlDumpAttributeTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3777 | ><TABLE |
| 3778 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3779 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3780 | WIDTH="100%" |
| 3781 | CELLPADDING="6" |
| 3782 | ><TR |
| 3783 | ><TD |
| 3784 | ><PRE |
| 3785 | CLASS="PROGRAMLISTING" |
| 3786 | >void xmlDumpAttributeTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3787 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3788 | >xmlBufferPtr</A |
| 3789 | > buf, |
| 3790 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3791 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3792 | >xmlAttributeTablePtr</A |
| 3793 | > table);</PRE |
| 3794 | ></TD |
| 3795 | ></TR |
| 3796 | ></TABLE |
| 3797 | ><P |
| 3798 | >This will dump the content of the attribute table as an XML DTD definition</P |
| 3799 | ><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3800 | ></P |
| 3801 | ><DIV |
| 3802 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3803 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3804 | NAME="AEN9478"><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3805 | ></P |
| 3806 | ><TABLE |
| 3807 | BORDER="0" |
| 3808 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3809 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3810 | CELLSPACING="0" |
| 3811 | CELLPADDING="4" |
| 3812 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3813 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3814 | ><TR |
| 3815 | ><TD |
| 3816 | WIDTH="20%" |
| 3817 | ALIGN="RIGHT" |
| 3818 | VALIGN="TOP" |
| 3819 | ><TT |
| 3820 | CLASS="PARAMETER" |
| 3821 | ><I |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3822 | >buf</I |
| 3823 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3824 | > :</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3825 | ><TD |
| 3826 | WIDTH="80%" |
| 3827 | ALIGN="LEFT" |
| 3828 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3829 | > the XML buffer output</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3830 | ></TR |
| 3831 | ><TR |
| 3832 | ><TD |
| 3833 | WIDTH="20%" |
| 3834 | ALIGN="RIGHT" |
| 3835 | VALIGN="TOP" |
| 3836 | ><TT |
| 3837 | CLASS="PARAMETER" |
| 3838 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3839 | >table</I |
| 3840 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3841 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3842 | ><TD |
| 3843 | WIDTH="80%" |
| 3844 | ALIGN="LEFT" |
| 3845 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3846 | > An attribute table</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3847 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3848 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3849 | ></TABLE |
| 3850 | ><P |
| 3851 | ></P |
| 3852 | ></DIV |
| 3853 | ></DIV |
| 3854 | ><HR><DIV |
| 3855 | CLASS="REFSECT2" |
| 3856 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3857 | NAME="AEN9491" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3858 | ></A |
| 3859 | ><H3 |
| 3860 | ><A |
| 3861 | NAME="XMLDUMPATTRIBUTEDECL" |
| 3862 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3863 | >xmlDumpAttributeDecl ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3864 | ><TABLE |
| 3865 | BORDER="0" |
| 3866 | BGCOLOR="#D6E8FF" |
| 3867 | WIDTH="100%" |
| 3868 | CELLPADDING="6" |
| 3869 | ><TR |
| 3870 | ><TD |
| 3871 | ><PRE |
| 3872 | CLASS="PROGRAMLISTING" |
| 3873 | >void xmlDumpAttributeDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3874 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3875 | >xmlBufferPtr</A |
| 3876 | > buf, |
| 3877 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3878 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3879 | >xmlAttributePtr</A |
| 3880 | > attr);</PRE |
| 3881 | ></TD |
| 3882 | ></TR |
| 3883 | ></TABLE |
| 3884 | ><P |
| 3885 | >This will dump the content of the attribute declaration as an XML |
| 3886 | DTD definition</P |
| 3887 | ><P |
| 3888 | ></P |
| 3889 | ><DIV |
| 3890 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3891 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3892 | NAME="AEN9499"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3893 | ></P |
| 3894 | ><TABLE |
| 3895 | BORDER="0" |
| 3896 | WIDTH="100%" |
| 3897 | BGCOLOR="#FFD0D0" |
| 3898 | CELLSPACING="0" |
| 3899 | CELLPADDING="4" |
| 3900 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3901 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3902 | ><TR |
| 3903 | ><TD |
| 3904 | WIDTH="20%" |
| 3905 | ALIGN="RIGHT" |
| 3906 | VALIGN="TOP" |
| 3907 | ><TT |
| 3908 | CLASS="PARAMETER" |
| 3909 | ><I |
| 3910 | >buf</I |
| 3911 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3912 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3913 | ><TD |
| 3914 | WIDTH="80%" |
| 3915 | ALIGN="LEFT" |
| 3916 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3917 | > the XML buffer output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3918 | ></TR |
| 3919 | ><TR |
| 3920 | ><TD |
| 3921 | WIDTH="20%" |
| 3922 | ALIGN="RIGHT" |
| 3923 | VALIGN="TOP" |
| 3924 | ><TT |
| 3925 | CLASS="PARAMETER" |
| 3926 | ><I |
| 3927 | >attr</I |
| 3928 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3929 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3930 | ><TD |
| 3931 | WIDTH="80%" |
| 3932 | ALIGN="LEFT" |
| 3933 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3934 | > An attribute declaration</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3935 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3936 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3937 | ></TABLE |
| 3938 | ><P |
| 3939 | ></P |
| 3940 | ></DIV |
| 3941 | ></DIV |
| 3942 | ><HR><DIV |
| 3943 | CLASS="REFSECT2" |
| 3944 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3945 | NAME="AEN9512" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3946 | ></A |
| 3947 | ><H3 |
| 3948 | ><A |
| 3949 | NAME="XMLADDID" |
| 3950 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3951 | >xmlAddID ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3952 | ><TABLE |
| 3953 | BORDER="0" |
| 3954 | BGCOLOR="#D6E8FF" |
| 3955 | WIDTH="100%" |
| 3956 | CELLPADDING="6" |
| 3957 | ><TR |
| 3958 | ><TD |
| 3959 | ><PRE |
| 3960 | CLASS="PROGRAMLISTING" |
| 3961 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3962 | HREF="libxml-tree.html#XMLIDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3963 | >xmlIDPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3964 | > xmlAddID (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3965 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3966 | >xmlValidCtxtPtr</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3967 | > ctxt, |
| 3968 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3969 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3970 | >xmlDocPtr</A |
| 3971 | > doc, |
| 3972 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3973 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 3974 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3975 | > *value, |
| 3976 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3977 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3978 | >xmlAttrPtr</A |
| 3979 | > attr);</PRE |
| 3980 | ></TD |
| 3981 | ></TR |
| 3982 | ></TABLE |
| 3983 | ><P |
| 3984 | >Register a new id declaration</P |
| 3985 | ><P |
| 3986 | ></P |
| 3987 | ><DIV |
| 3988 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3989 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 3990 | NAME="AEN9523"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3991 | ></P |
| 3992 | ><TABLE |
| 3993 | BORDER="0" |
| 3994 | WIDTH="100%" |
| 3995 | BGCOLOR="#FFD0D0" |
| 3996 | CELLSPACING="0" |
| 3997 | CELLPADDING="4" |
| 3998 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3999 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4000 | ><TR |
| 4001 | ><TD |
| 4002 | WIDTH="20%" |
| 4003 | ALIGN="RIGHT" |
| 4004 | VALIGN="TOP" |
| 4005 | ><TT |
| 4006 | CLASS="PARAMETER" |
| 4007 | ><I |
| 4008 | >ctxt</I |
| 4009 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4010 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4011 | ><TD |
| 4012 | WIDTH="80%" |
| 4013 | ALIGN="LEFT" |
| 4014 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4015 | > the validation context</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4016 | ></TR |
| 4017 | ><TR |
| 4018 | ><TD |
| 4019 | WIDTH="20%" |
| 4020 | ALIGN="RIGHT" |
| 4021 | VALIGN="TOP" |
| 4022 | ><TT |
| 4023 | CLASS="PARAMETER" |
| 4024 | ><I |
| 4025 | >doc</I |
| 4026 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4027 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4028 | ><TD |
| 4029 | WIDTH="80%" |
| 4030 | ALIGN="LEFT" |
| 4031 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4032 | > pointer to the document</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4033 | ></TR |
| 4034 | ><TR |
| 4035 | ><TD |
| 4036 | WIDTH="20%" |
| 4037 | ALIGN="RIGHT" |
| 4038 | VALIGN="TOP" |
| 4039 | ><TT |
| 4040 | CLASS="PARAMETER" |
| 4041 | ><I |
| 4042 | >value</I |
| 4043 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4044 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4045 | ><TD |
| 4046 | WIDTH="80%" |
| 4047 | ALIGN="LEFT" |
| 4048 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4049 | > the value name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4050 | ></TR |
| 4051 | ><TR |
| 4052 | ><TD |
| 4053 | WIDTH="20%" |
| 4054 | ALIGN="RIGHT" |
| 4055 | VALIGN="TOP" |
| 4056 | ><TT |
| 4057 | CLASS="PARAMETER" |
| 4058 | ><I |
| 4059 | >attr</I |
| 4060 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4061 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4062 | ><TD |
| 4063 | WIDTH="80%" |
| 4064 | ALIGN="LEFT" |
| 4065 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4066 | > the attribute holding the ID</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4067 | ></TR |
| 4068 | ><TR |
| 4069 | ><TD |
| 4070 | WIDTH="20%" |
| 4071 | ALIGN="RIGHT" |
| 4072 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4073 | ><SPAN |
| 4074 | CLASS="emphasis" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4075 | ><I |
| 4076 | CLASS="EMPHASIS" |
| 4077 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4078 | ></SPAN |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4079 | > :</TD |
| 4080 | ><TD |
| 4081 | WIDTH="80%" |
| 4082 | ALIGN="LEFT" |
| 4083 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 4084 | >NULL if not, otherwise the new xmlIDPtr</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4085 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4086 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4087 | ></TABLE |
| 4088 | ><P |
| 4089 | ></P |
| 4090 | ></DIV |
| 4091 | ></DIV |
| 4092 | ><HR><DIV |
| 4093 | CLASS="REFSECT2" |
| 4094 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4095 | NAME="AEN9548" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4096 | ></A |
| 4097 | ><H3 |
| 4098 | ><A |
| 4099 | NAME="XMLFREEIDTABLE" |
| 4100 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4101 | >xmlFreeIDTable ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4102 | ><TABLE |
| 4103 | BORDER="0" |
| 4104 | BGCOLOR="#D6E8FF" |
| 4105 | WIDTH="100%" |
| 4106 | CELLPADDING="6" |
| 4107 | ><TR |
| 4108 | ><TD |
| 4109 | ><PRE |
| 4110 | CLASS="PROGRAMLISTING" |
| 4111 | >void xmlFreeIDTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4112 | HREF="libxml-valid.html#XMLIDTABLEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4113 | >xmlIDTablePtr</A |
| 4114 | > table);</PRE |
| 4115 | ></TD |
| 4116 | ></TR |
| 4117 | ></TABLE |
| 4118 | ><P |
| 4119 | >Deallocate the memory used by an ID hash table.</P |
| 4120 | ><P |
| 4121 | ></P |
| 4122 | ><DIV |
| 4123 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4124 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4125 | NAME="AEN9555"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4126 | ></P |
| 4127 | ><TABLE |
| 4128 | BORDER="0" |
| 4129 | WIDTH="100%" |
| 4130 | BGCOLOR="#FFD0D0" |
| 4131 | CELLSPACING="0" |
| 4132 | CELLPADDING="4" |
| 4133 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4134 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4135 | ><TR |
| 4136 | ><TD |
| 4137 | WIDTH="20%" |
| 4138 | ALIGN="RIGHT" |
| 4139 | VALIGN="TOP" |
| 4140 | ><TT |
| 4141 | CLASS="PARAMETER" |
| 4142 | ><I |
| 4143 | >table</I |
| 4144 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4145 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4146 | ><TD |
| 4147 | WIDTH="80%" |
| 4148 | ALIGN="LEFT" |
| 4149 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4150 | > An id table</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4151 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4152 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4153 | ></TABLE |
| 4154 | ><P |
| 4155 | ></P |
| 4156 | ></DIV |
| 4157 | ></DIV |
| 4158 | ><HR><DIV |
| 4159 | CLASS="REFSECT2" |
| 4160 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4161 | NAME="AEN9564" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4162 | ></A |
| 4163 | ><H3 |
| 4164 | ><A |
| 4165 | NAME="XMLGETID" |
| 4166 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4167 | >xmlGetID ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4168 | ><TABLE |
| 4169 | BORDER="0" |
| 4170 | BGCOLOR="#D6E8FF" |
| 4171 | WIDTH="100%" |
| 4172 | CELLPADDING="6" |
| 4173 | ><TR |
| 4174 | ><TD |
| 4175 | ><PRE |
| 4176 | CLASS="PROGRAMLISTING" |
| 4177 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4178 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4179 | >xmlAttrPtr</A |
| 4180 | > xmlGetID (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4181 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4182 | >xmlDocPtr</A |
| 4183 | > doc, |
| 4184 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4185 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 4186 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4187 | > *ID);</PRE |
| 4188 | ></TD |
| 4189 | ></TR |
| 4190 | ></TABLE |
| 4191 | ><P |
| 4192 | >Search the attribute declaring the given ID</P |
| 4193 | ><P |
| 4194 | ></P |
| 4195 | ><DIV |
| 4196 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4197 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4198 | NAME="AEN9573"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4199 | ></P |
| 4200 | ><TABLE |
| 4201 | BORDER="0" |
| 4202 | WIDTH="100%" |
| 4203 | BGCOLOR="#FFD0D0" |
| 4204 | CELLSPACING="0" |
| 4205 | CELLPADDING="4" |
| 4206 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4207 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4208 | ><TR |
| 4209 | ><TD |
| 4210 | WIDTH="20%" |
| 4211 | ALIGN="RIGHT" |
| 4212 | VALIGN="TOP" |
| 4213 | ><TT |
| 4214 | CLASS="PARAMETER" |
| 4215 | ><I |
| 4216 | >doc</I |
| 4217 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4218 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4219 | ><TD |
| 4220 | WIDTH="80%" |
| 4221 | ALIGN="LEFT" |
| 4222 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4223 | > pointer to the document</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4224 | ></TR |
| 4225 | ><TR |
| 4226 | ><TD |
| 4227 | WIDTH="20%" |
| 4228 | ALIGN="RIGHT" |
| 4229 | VALIGN="TOP" |
| 4230 | ><TT |
| 4231 | CLASS="PARAMETER" |
| 4232 | ><I |
| 4233 | >ID</I |
| 4234 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4235 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4236 | ><TD |
| 4237 | WIDTH="80%" |
| 4238 | ALIGN="LEFT" |
| 4239 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4240 | > the ID value</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4241 | ></TR |
| 4242 | ><TR |
| 4243 | ><TD |
| 4244 | WIDTH="20%" |
| 4245 | ALIGN="RIGHT" |
| 4246 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4247 | ><SPAN |
| 4248 | CLASS="emphasis" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4249 | ><I |
| 4250 | CLASS="EMPHASIS" |
| 4251 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4252 | ></SPAN |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4253 | > :</TD |
| 4254 | ><TD |
| 4255 | WIDTH="80%" |
| 4256 | ALIGN="LEFT" |
| 4257 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4258 | >NULL if not found, otherwise the xmlAttrPtr defining the ID</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4259 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4260 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4261 | ></TABLE |
| 4262 | ><P |
| 4263 | ></P |
| 4264 | ></DIV |
| 4265 | ></DIV |
| 4266 | ><HR><DIV |
| 4267 | CLASS="REFSECT2" |
| 4268 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4269 | NAME="AEN9590" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4270 | ></A |
| 4271 | ><H3 |
| 4272 | ><A |
| 4273 | NAME="XMLISID" |
| 4274 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4275 | >xmlIsID ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4276 | ><TABLE |
| 4277 | BORDER="0" |
| 4278 | BGCOLOR="#D6E8FF" |
| 4279 | WIDTH="100%" |
| 4280 | CELLPADDING="6" |
| 4281 | ><TR |
| 4282 | ><TD |
| 4283 | ><PRE |
| 4284 | CLASS="PROGRAMLISTING" |
| 4285 | >int xmlIsID (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4286 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4287 | >xmlDocPtr</A |
| 4288 | > doc, |
| 4289 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4290 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4291 | >xmlNodePtr</A |
| 4292 | > elem, |
| 4293 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4294 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4295 | >xmlAttrPtr</A |
| 4296 | > attr);</PRE |
| 4297 | ></TD |
| 4298 | ></TR |
| 4299 | ></TABLE |
| 4300 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 4301 | >Determine whether an attribute is of type ID. In case we have DTD(s) |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4302 | then this is simple, otherwise we use an heuristic: name ID (upper |
| 4303 | or lowercase).</P |
| 4304 | ><P |
| 4305 | ></P |
| 4306 | ><DIV |
| 4307 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4308 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4309 | NAME="AEN9599"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4310 | ></P |
| 4311 | ><TABLE |
| 4312 | BORDER="0" |
| 4313 | WIDTH="100%" |
| 4314 | BGCOLOR="#FFD0D0" |
| 4315 | CELLSPACING="0" |
| 4316 | CELLPADDING="4" |
| 4317 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4318 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4319 | ><TR |
| 4320 | ><TD |
| 4321 | WIDTH="20%" |
| 4322 | ALIGN="RIGHT" |
| 4323 | VALIGN="TOP" |
| 4324 | ><TT |
| 4325 | CLASS="PARAMETER" |
| 4326 | ><I |
| 4327 | >doc</I |
| 4328 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4329 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4330 | ><TD |
| 4331 | WIDTH="80%" |
| 4332 | ALIGN="LEFT" |
| 4333 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4334 | > the document</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4335 | ></TR |
| 4336 | ><TR |
| 4337 | ><TD |
| 4338 | WIDTH="20%" |
| 4339 | ALIGN="RIGHT" |
| 4340 | VALIGN="TOP" |
| 4341 | ><TT |
| 4342 | CLASS="PARAMETER" |
| 4343 | ><I |
| 4344 | >elem</I |
| 4345 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4346 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4347 | ><TD |
| 4348 | WIDTH="80%" |
| 4349 | ALIGN="LEFT" |
| 4350 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4351 | > the element carrying the attribute</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4352 | ></TR |
| 4353 | ><TR |
| 4354 | ><TD |
| 4355 | WIDTH="20%" |
| 4356 | ALIGN="RIGHT" |
| 4357 | VALIGN="TOP" |
| 4358 | ><TT |
| 4359 | CLASS="PARAMETER" |
| 4360 | ><I |
| 4361 | >attr</I |
| 4362 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4363 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4364 | ><TD |
| 4365 | WIDTH="80%" |
| 4366 | ALIGN="LEFT" |
| 4367 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4368 | > the attribute</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4369 | ></TR |
| 4370 | ><TR |
| 4371 | ><TD |
| 4372 | WIDTH="20%" |
| 4373 | ALIGN="RIGHT" |
| 4374 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4375 | ><SPAN |
| 4376 | CLASS="emphasis" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4377 | ><I |
| 4378 | CLASS="EMPHASIS" |
| 4379 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4380 | ></SPAN |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4381 | > :</TD |
| 4382 | ><TD |
| 4383 | WIDTH="80%" |
| 4384 | ALIGN="LEFT" |
| 4385 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4386 | >0 or 1 depending on the lookup result</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4387 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4388 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4389 | ></TABLE |
| 4390 | ><P |
| 4391 | ></P |
| 4392 | ></DIV |
| 4393 | ></DIV |
| 4394 | ><HR><DIV |
| 4395 | CLASS="REFSECT2" |
| 4396 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4397 | NAME="AEN9620" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4398 | ></A |
| 4399 | ><H3 |
| 4400 | ><A |
| 4401 | NAME="XMLREMOVEID" |
| 4402 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4403 | >xmlRemoveID ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4404 | ><TABLE |
| 4405 | BORDER="0" |
| 4406 | BGCOLOR="#D6E8FF" |
| 4407 | WIDTH="100%" |
| 4408 | CELLPADDING="6" |
| 4409 | ><TR |
| 4410 | ><TD |
| 4411 | ><PRE |
| 4412 | CLASS="PROGRAMLISTING" |
| 4413 | >int xmlRemoveID (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4414 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4415 | >xmlDocPtr</A |
| 4416 | > doc, |
| 4417 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4418 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4419 | >xmlAttrPtr</A |
| 4420 | > attr);</PRE |
| 4421 | ></TD |
| 4422 | ></TR |
| 4423 | ></TABLE |
| 4424 | ><P |
| 4425 | >Remove the given attribute from the ID table maintained internally.</P |
| 4426 | ><P |
| 4427 | ></P |
| 4428 | ><DIV |
| 4429 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4430 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4431 | NAME="AEN9628"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4432 | ></P |
| 4433 | ><TABLE |
| 4434 | BORDER="0" |
| 4435 | WIDTH="100%" |
| 4436 | BGCOLOR="#FFD0D0" |
| 4437 | CELLSPACING="0" |
| 4438 | CELLPADDING="4" |
| 4439 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4440 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4441 | ><TR |
| 4442 | ><TD |
| 4443 | WIDTH="20%" |
| 4444 | ALIGN="RIGHT" |
| 4445 | VALIGN="TOP" |
| 4446 | ><TT |
| 4447 | CLASS="PARAMETER" |
| 4448 | ><I |
| 4449 | >doc</I |
| 4450 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4451 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4452 | ><TD |
| 4453 | WIDTH="80%" |
| 4454 | ALIGN="LEFT" |
| 4455 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4456 | > the document</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4457 | ></TR |
| 4458 | ><TR |
| 4459 | ><TD |
| 4460 | WIDTH="20%" |
| 4461 | ALIGN="RIGHT" |
| 4462 | VALIGN="TOP" |
| 4463 | ><TT |
| 4464 | CLASS="PARAMETER" |
| 4465 | ><I |
| 4466 | >attr</I |
| 4467 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4468 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4469 | ><TD |
| 4470 | WIDTH="80%" |
| 4471 | ALIGN="LEFT" |
| 4472 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4473 | > the attribute</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4474 | ></TR |
| 4475 | ><TR |
| 4476 | ><TD |
| 4477 | WIDTH="20%" |
| 4478 | ALIGN="RIGHT" |
| 4479 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4480 | ><SPAN |
| 4481 | CLASS="emphasis" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4482 | ><I |
| 4483 | CLASS="EMPHASIS" |
| 4484 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4485 | ></SPAN |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4486 | > :</TD |
| 4487 | ><TD |
| 4488 | WIDTH="80%" |
| 4489 | ALIGN="LEFT" |
| 4490 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4491 | >-1 if the lookup failed and 0 otherwise</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4492 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4493 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4494 | ></TABLE |
| 4495 | ><P |
| 4496 | ></P |
| 4497 | ></DIV |
| 4498 | ></DIV |
| 4499 | ><HR><DIV |
| 4500 | CLASS="REFSECT2" |
| 4501 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4502 | NAME="AEN9645" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4503 | ></A |
| 4504 | ><H3 |
| 4505 | ><A |
| 4506 | NAME="XMLADDREF" |
| 4507 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4508 | >xmlAddRef ()</H3 |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4509 | ><TABLE |
| 4510 | BORDER="0" |
| 4511 | BGCOLOR="#D6E8FF" |
| 4512 | WIDTH="100%" |
| 4513 | CELLPADDING="6" |
| 4514 | ><TR |
| 4515 | ><TD |
| 4516 | ><PRE |
| 4517 | CLASS="PROGRAMLISTING" |
| 4518 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4519 | HREF="libxml-tree.html#XMLREFPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4520 | >xmlRefPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4521 | > xmlAddRef (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4522 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4523 | >xmlValidCtxtPtr</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4524 | > ctxt, |
| 4525 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4526 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4527 | >xmlDocPtr</A |
| 4528 | > doc, |
| 4529 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4530 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 4531 | >xmlChar</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4532 | > *value, |
| 4533 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4534 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4535 | >xmlAttrPtr</A |
| 4536 | > attr);</PRE |
| 4537 | ></TD |
| 4538 | ></TR |
| 4539 | ></TABLE |
| 4540 | ><P |
| 4541 | >Register a new ref declaration</P |
| 4542 | ><P |
| 4543 | ></P |
| 4544 | ><DIV |
| 4545 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4546 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4547 | NAME="AEN9656"><P |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4548 | ></P |
| 4549 | ><TABLE |
| 4550 | BORDER="0" |
| 4551 | WIDTH="100%" |
| 4552 | BGCOLOR="#FFD0D0" |
| 4553 | CELLSPACING="0" |
| 4554 | CELLPADDING="4" |
| 4555 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4556 | ><TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4557 | ><TR |
| 4558 | ><TD |
| 4559 | WIDTH="20%" |
| 4560 | ALIGN="RIGHT" |
| 4561 | VALIGN="TOP" |
| 4562 | ><TT |
| 4563 | CLASS="PARAMETER" |
| 4564 | ><I |
| 4565 | >ctxt</I |
| 4566 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4567 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4568 | ><TD |
| 4569 | WIDTH="80%" |
| 4570 | ALIGN="LEFT" |
| 4571 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4572 | > the validation context</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4573 | ></TR |
| 4574 | ><TR |
| 4575 | ><TD |
| 4576 | WIDTH="20%" |
| 4577 | ALIGN="RIGHT" |
| 4578 | VALIGN="TOP" |
| 4579 | ><TT |
| 4580 | CLASS="PARAMETER" |
| 4581 | ><I |
| 4582 | >doc</I |
| 4583 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4584 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4585 | ><TD |
| 4586 | WIDTH="80%" |
| 4587 | ALIGN="LEFT" |
| 4588 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4589 | > pointer to the document</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4590 | ></TR |
| 4591 | ><TR |
| 4592 | ><TD |
| 4593 | WIDTH="20%" |
| 4594 | ALIGN="RIGHT" |
| 4595 | VALIGN="TOP" |
| 4596 | ><TT |
| 4597 | CLASS="PARAMETER" |
| 4598 | ><I |
| 4599 | >value</I |
| 4600 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4601 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4602 | ><TD |
| 4603 | WIDTH="80%" |
| 4604 | ALIGN="LEFT" |
| 4605 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4606 | > the value name</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4607 | ></TR |
| 4608 | ><TR |
| 4609 | ><TD |
| 4610 | WIDTH="20%" |
| 4611 | ALIGN="RIGHT" |
| 4612 | VALIGN="TOP" |
| 4613 | ><TT |
| 4614 | CLASS="PARAMETER" |
| 4615 | ><I |
| 4616 | >attr</I |
| 4617 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4618 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4619 | ><TD |
| 4620 | WIDTH="80%" |
| 4621 | ALIGN="LEFT" |
| 4622 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4623 | > the attribute holding the Ref</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4624 | ></TR |
| 4625 | ><TR |
| 4626 | ><TD |
| 4627 | WIDTH="20%" |
| 4628 | ALIGN="RIGHT" |
| 4629 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4630 | ><SPAN |
| 4631 | CLASS="emphasis" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4632 | ><I |
| 4633 | CLASS="EMPHASIS" |
| 4634 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4635 | ></SPAN |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4636 | > :</TD |
| 4637 | ><TD |
| 4638 | WIDTH="80%" |
| 4639 | ALIGN="LEFT" |
| 4640 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 4641 | >NULL if not, otherwise the new xmlRefPtr</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4642 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4643 | ></TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4644 | ></TABLE |
| 4645 | ><P |
| 4646 | ></P |
| 4647 | ></DIV |
| 4648 | ></DIV |
| 4649 | ><HR><DIV |
| 4650 | CLASS="REFSECT2" |
| 4651 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4652 | NAME="AEN9681" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4653 | ></A |
| 4654 | ><H3 |
| 4655 | ><A |
| 4656 | NAME="XMLFREEREFTABLE" |
| 4657 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4658 | >xmlFreeRefTable ()</H3 |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4659 | ><TABLE |
| 4660 | BORDER="0" |
| 4661 | BGCOLOR="#D6E8FF" |
| 4662 | WIDTH="100%" |
| 4663 | CELLPADDING="6" |
| 4664 | ><TR |
| 4665 | ><TD |
| 4666 | ><PRE |
| 4667 | CLASS="PROGRAMLISTING" |
| 4668 | >void xmlFreeRefTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4669 | HREF="libxml-valid.html#XMLREFTABLEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4670 | >xmlRefTablePtr</A |
| 4671 | > table);</PRE |
| 4672 | ></TD |
| 4673 | ></TR |
| 4674 | ></TABLE |
| 4675 | ><P |
| 4676 | >Deallocate the memory used by an Ref hash table.</P |
| 4677 | ><P |
| 4678 | ></P |
| 4679 | ><DIV |
| 4680 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4681 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4682 | NAME="AEN9688"><P |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4683 | ></P |
| 4684 | ><TABLE |
| 4685 | BORDER="0" |
| 4686 | WIDTH="100%" |
| 4687 | BGCOLOR="#FFD0D0" |
| 4688 | CELLSPACING="0" |
| 4689 | CELLPADDING="4" |
| 4690 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4691 | ><TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4692 | ><TR |
| 4693 | ><TD |
| 4694 | WIDTH="20%" |
| 4695 | ALIGN="RIGHT" |
| 4696 | VALIGN="TOP" |
| 4697 | ><TT |
| 4698 | CLASS="PARAMETER" |
| 4699 | ><I |
| 4700 | >table</I |
| 4701 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4702 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4703 | ><TD |
| 4704 | WIDTH="80%" |
| 4705 | ALIGN="LEFT" |
| 4706 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4707 | > An ref table</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4708 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4709 | ></TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4710 | ></TABLE |
| 4711 | ><P |
| 4712 | ></P |
| 4713 | ></DIV |
| 4714 | ></DIV |
| 4715 | ><HR><DIV |
| 4716 | CLASS="REFSECT2" |
| 4717 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4718 | NAME="AEN9697" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4719 | ></A |
| 4720 | ><H3 |
| 4721 | ><A |
| 4722 | NAME="XMLISREF" |
| 4723 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4724 | >xmlIsRef ()</H3 |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4725 | ><TABLE |
| 4726 | BORDER="0" |
| 4727 | BGCOLOR="#D6E8FF" |
| 4728 | WIDTH="100%" |
| 4729 | CELLPADDING="6" |
| 4730 | ><TR |
| 4731 | ><TD |
| 4732 | ><PRE |
| 4733 | CLASS="PROGRAMLISTING" |
| 4734 | >int xmlIsRef (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4735 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4736 | >xmlDocPtr</A |
| 4737 | > doc, |
| 4738 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4739 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4740 | >xmlNodePtr</A |
| 4741 | > elem, |
| 4742 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4743 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4744 | >xmlAttrPtr</A |
| 4745 | > attr);</PRE |
| 4746 | ></TD |
| 4747 | ></TR |
| 4748 | ></TABLE |
| 4749 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 4750 | >Determine whether an attribute is of type Ref. In case we have DTD(s) |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4751 | then this is simple, otherwise we use an heuristic: name Ref (upper |
| 4752 | or lowercase).</P |
| 4753 | ><P |
| 4754 | ></P |
| 4755 | ><DIV |
| 4756 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4757 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4758 | NAME="AEN9706"><P |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4759 | ></P |
| 4760 | ><TABLE |
| 4761 | BORDER="0" |
| 4762 | WIDTH="100%" |
| 4763 | BGCOLOR="#FFD0D0" |
| 4764 | CELLSPACING="0" |
| 4765 | CELLPADDING="4" |
| 4766 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4767 | ><TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4768 | ><TR |
| 4769 | ><TD |
| 4770 | WIDTH="20%" |
| 4771 | ALIGN="RIGHT" |
| 4772 | VALIGN="TOP" |
| 4773 | ><TT |
| 4774 | CLASS="PARAMETER" |
| 4775 | ><I |
| 4776 | >doc</I |
| 4777 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4778 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4779 | ><TD |
| 4780 | WIDTH="80%" |
| 4781 | ALIGN="LEFT" |
| 4782 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4783 | > the document</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4784 | ></TR |
| 4785 | ><TR |
| 4786 | ><TD |
| 4787 | WIDTH="20%" |
| 4788 | ALIGN="RIGHT" |
| 4789 | VALIGN="TOP" |
| 4790 | ><TT |
| 4791 | CLASS="PARAMETER" |
| 4792 | ><I |
| 4793 | >elem</I |
| 4794 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4795 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4796 | ><TD |
| 4797 | WIDTH="80%" |
| 4798 | ALIGN="LEFT" |
| 4799 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4800 | > the element carrying the attribute</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4801 | ></TR |
| 4802 | ><TR |
| 4803 | ><TD |
| 4804 | WIDTH="20%" |
| 4805 | ALIGN="RIGHT" |
| 4806 | VALIGN="TOP" |
| 4807 | ><TT |
| 4808 | CLASS="PARAMETER" |
| 4809 | ><I |
| 4810 | >attr</I |
| 4811 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4812 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4813 | ><TD |
| 4814 | WIDTH="80%" |
| 4815 | ALIGN="LEFT" |
| 4816 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4817 | > the attribute</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4818 | ></TR |
| 4819 | ><TR |
| 4820 | ><TD |
| 4821 | WIDTH="20%" |
| 4822 | ALIGN="RIGHT" |
| 4823 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4824 | ><SPAN |
| 4825 | CLASS="emphasis" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4826 | ><I |
| 4827 | CLASS="EMPHASIS" |
| 4828 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4829 | ></SPAN |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4830 | > :</TD |
| 4831 | ><TD |
| 4832 | WIDTH="80%" |
| 4833 | ALIGN="LEFT" |
| 4834 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4835 | >0 or 1 depending on the lookup result</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4836 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4837 | ></TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4838 | ></TABLE |
| 4839 | ><P |
| 4840 | ></P |
| 4841 | ></DIV |
| 4842 | ></DIV |
| 4843 | ><HR><DIV |
| 4844 | CLASS="REFSECT2" |
| 4845 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4846 | NAME="AEN9727" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4847 | ></A |
| 4848 | ><H3 |
| 4849 | ><A |
| 4850 | NAME="XMLREMOVEREF" |
| 4851 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4852 | >xmlRemoveRef ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4853 | ><TABLE |
| 4854 | BORDER="0" |
| 4855 | BGCOLOR="#D6E8FF" |
| 4856 | WIDTH="100%" |
| 4857 | CELLPADDING="6" |
| 4858 | ><TR |
| 4859 | ><TD |
| 4860 | ><PRE |
| 4861 | CLASS="PROGRAMLISTING" |
| 4862 | >int xmlRemoveRef (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4863 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4864 | >xmlDocPtr</A |
| 4865 | > doc, |
| 4866 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4867 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4868 | >xmlAttrPtr</A |
| 4869 | > attr);</PRE |
| 4870 | ></TD |
| 4871 | ></TR |
| 4872 | ></TABLE |
| 4873 | ><P |
| 4874 | >Remove the given attribute from the Ref table maintained internally.</P |
| 4875 | ><P |
| 4876 | ></P |
| 4877 | ><DIV |
| 4878 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4879 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4880 | NAME="AEN9735"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4881 | ></P |
| 4882 | ><TABLE |
| 4883 | BORDER="0" |
| 4884 | WIDTH="100%" |
| 4885 | BGCOLOR="#FFD0D0" |
| 4886 | CELLSPACING="0" |
| 4887 | CELLPADDING="4" |
| 4888 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4889 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4890 | ><TR |
| 4891 | ><TD |
| 4892 | WIDTH="20%" |
| 4893 | ALIGN="RIGHT" |
| 4894 | VALIGN="TOP" |
| 4895 | ><TT |
| 4896 | CLASS="PARAMETER" |
| 4897 | ><I |
| 4898 | >doc</I |
| 4899 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4900 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4901 | ><TD |
| 4902 | WIDTH="80%" |
| 4903 | ALIGN="LEFT" |
| 4904 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4905 | > the document</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4906 | ></TR |
| 4907 | ><TR |
| 4908 | ><TD |
| 4909 | WIDTH="20%" |
| 4910 | ALIGN="RIGHT" |
| 4911 | VALIGN="TOP" |
| 4912 | ><TT |
| 4913 | CLASS="PARAMETER" |
| 4914 | ><I |
| 4915 | >attr</I |
| 4916 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4917 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4918 | ><TD |
| 4919 | WIDTH="80%" |
| 4920 | ALIGN="LEFT" |
| 4921 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4922 | > the attribute</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4923 | ></TR |
| 4924 | ><TR |
| 4925 | ><TD |
| 4926 | WIDTH="20%" |
| 4927 | ALIGN="RIGHT" |
| 4928 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4929 | ><SPAN |
| 4930 | CLASS="emphasis" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4931 | ><I |
| 4932 | CLASS="EMPHASIS" |
| 4933 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4934 | ></SPAN |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4935 | > :</TD |
| 4936 | ><TD |
| 4937 | WIDTH="80%" |
| 4938 | ALIGN="LEFT" |
| 4939 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4940 | >-1 if the lookup failed and 0 otherwise</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4941 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4942 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4943 | ></TABLE |
| 4944 | ><P |
| 4945 | ></P |
| 4946 | ></DIV |
| 4947 | ></DIV |
| 4948 | ><HR><DIV |
| 4949 | CLASS="REFSECT2" |
| 4950 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4951 | NAME="AEN9752" |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 4952 | ></A |
| 4953 | ><H3 |
| 4954 | ><A |
| 4955 | NAME="XMLGETREFS" |
| 4956 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4957 | >xmlGetRefs ()</H3 |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 4958 | ><TABLE |
| 4959 | BORDER="0" |
| 4960 | BGCOLOR="#D6E8FF" |
| 4961 | WIDTH="100%" |
| 4962 | CELLPADDING="6" |
| 4963 | ><TR |
| 4964 | ><TD |
| 4965 | ><PRE |
| 4966 | CLASS="PROGRAMLISTING" |
| 4967 | ><GTKDOCLINK |
| 4968 | HREF="XMLLISTPTR" |
| 4969 | >xmlListPtr</GTKDOCLINK |
| 4970 | > xmlGetRefs (<A |
| 4971 | HREF="libxml-tree.html#XMLDOCPTR" |
| 4972 | >xmlDocPtr</A |
| 4973 | > doc, |
| 4974 | const <A |
| 4975 | HREF="libxml-tree.html#XMLCHAR" |
| 4976 | >xmlChar</A |
| 4977 | > *ID);</PRE |
| 4978 | ></TD |
| 4979 | ></TR |
| 4980 | ></TABLE |
| 4981 | ><P |
| 4982 | >Find the set of references for the supplied ID.</P |
| 4983 | ><P |
| 4984 | ></P |
| 4985 | ><DIV |
| 4986 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4987 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 4988 | NAME="AEN9761"><P |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 4989 | ></P |
| 4990 | ><TABLE |
| 4991 | BORDER="0" |
| 4992 | WIDTH="100%" |
| 4993 | BGCOLOR="#FFD0D0" |
| 4994 | CELLSPACING="0" |
| 4995 | CELLPADDING="4" |
| 4996 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4997 | ><TBODY |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 4998 | ><TR |
| 4999 | ><TD |
| 5000 | WIDTH="20%" |
| 5001 | ALIGN="RIGHT" |
| 5002 | VALIGN="TOP" |
| 5003 | ><TT |
| 5004 | CLASS="PARAMETER" |
| 5005 | ><I |
| 5006 | >doc</I |
| 5007 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5008 | > :</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5009 | ><TD |
| 5010 | WIDTH="80%" |
| 5011 | ALIGN="LEFT" |
| 5012 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5013 | > pointer to the document</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5014 | ></TR |
| 5015 | ><TR |
| 5016 | ><TD |
| 5017 | WIDTH="20%" |
| 5018 | ALIGN="RIGHT" |
| 5019 | VALIGN="TOP" |
| 5020 | ><TT |
| 5021 | CLASS="PARAMETER" |
| 5022 | ><I |
| 5023 | >ID</I |
| 5024 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5025 | > :</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5026 | ><TD |
| 5027 | WIDTH="80%" |
| 5028 | ALIGN="LEFT" |
| 5029 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5030 | > the ID value</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5031 | ></TR |
| 5032 | ><TR |
| 5033 | ><TD |
| 5034 | WIDTH="20%" |
| 5035 | ALIGN="RIGHT" |
| 5036 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5037 | ><SPAN |
| 5038 | CLASS="emphasis" |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5039 | ><I |
| 5040 | CLASS="EMPHASIS" |
| 5041 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5042 | ></SPAN |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5043 | > :</TD |
| 5044 | ><TD |
| 5045 | WIDTH="80%" |
| 5046 | ALIGN="LEFT" |
| 5047 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5048 | >NULL if not found, otherwise node set for the ID.</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5049 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5050 | ></TBODY |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5051 | ></TABLE |
| 5052 | ><P |
| 5053 | ></P |
| 5054 | ></DIV |
| 5055 | ></DIV |
| 5056 | ><HR><DIV |
| 5057 | CLASS="REFSECT2" |
| 5058 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5059 | NAME="AEN9778" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5060 | ></A |
| 5061 | ><H3 |
| 5062 | ><A |
| 5063 | NAME="XMLVALIDATEROOT" |
| 5064 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5065 | >xmlValidateRoot ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5066 | ><TABLE |
| 5067 | BORDER="0" |
| 5068 | BGCOLOR="#D6E8FF" |
| 5069 | WIDTH="100%" |
| 5070 | CELLPADDING="6" |
| 5071 | ><TR |
| 5072 | ><TD |
| 5073 | ><PRE |
| 5074 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5075 | >int xmlValidateRoot (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5076 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5077 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5078 | > ctxt, |
| 5079 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5080 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5081 | >xmlDocPtr</A |
| 5082 | > doc);</PRE |
| 5083 | ></TD |
| 5084 | ></TR |
| 5085 | ></TABLE |
| 5086 | ><P |
| 5087 | >Try to validate a the root element |
| 5088 | basically it does the following check as described by the |
| 5089 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5090 | - [ VC: Root Element Type ] |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5091 | it doesn't try to recurse or apply other check to the element</P |
| 5092 | ><P |
| 5093 | ></P |
| 5094 | ><DIV |
| 5095 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5096 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5097 | NAME="AEN9786"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5098 | ></P |
| 5099 | ><TABLE |
| 5100 | BORDER="0" |
| 5101 | WIDTH="100%" |
| 5102 | BGCOLOR="#FFD0D0" |
| 5103 | CELLSPACING="0" |
| 5104 | CELLPADDING="4" |
| 5105 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5106 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5107 | ><TR |
| 5108 | ><TD |
| 5109 | WIDTH="20%" |
| 5110 | ALIGN="RIGHT" |
| 5111 | VALIGN="TOP" |
| 5112 | ><TT |
| 5113 | CLASS="PARAMETER" |
| 5114 | ><I |
| 5115 | >ctxt</I |
| 5116 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5117 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5118 | ><TD |
| 5119 | WIDTH="80%" |
| 5120 | ALIGN="LEFT" |
| 5121 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5122 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5123 | ></TR |
| 5124 | ><TR |
| 5125 | ><TD |
| 5126 | WIDTH="20%" |
| 5127 | ALIGN="RIGHT" |
| 5128 | VALIGN="TOP" |
| 5129 | ><TT |
| 5130 | CLASS="PARAMETER" |
| 5131 | ><I |
| 5132 | >doc</I |
| 5133 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5134 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5135 | ><TD |
| 5136 | WIDTH="80%" |
| 5137 | ALIGN="LEFT" |
| 5138 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5139 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5140 | ></TR |
| 5141 | ><TR |
| 5142 | ><TD |
| 5143 | WIDTH="20%" |
| 5144 | ALIGN="RIGHT" |
| 5145 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5146 | ><SPAN |
| 5147 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5148 | ><I |
| 5149 | CLASS="EMPHASIS" |
| 5150 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5151 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5152 | > :</TD |
| 5153 | ><TD |
| 5154 | WIDTH="80%" |
| 5155 | ALIGN="LEFT" |
| 5156 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5157 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5158 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5159 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5160 | ></TABLE |
| 5161 | ><P |
| 5162 | ></P |
| 5163 | ></DIV |
| 5164 | ></DIV |
| 5165 | ><HR><DIV |
| 5166 | CLASS="REFSECT2" |
| 5167 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5168 | NAME="AEN9803" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5169 | ></A |
| 5170 | ><H3 |
| 5171 | ><A |
| 5172 | NAME="XMLVALIDATEELEMENTDECL" |
| 5173 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5174 | >xmlValidateElementDecl ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5175 | ><TABLE |
| 5176 | BORDER="0" |
| 5177 | BGCOLOR="#D6E8FF" |
| 5178 | WIDTH="100%" |
| 5179 | CELLPADDING="6" |
| 5180 | ><TR |
| 5181 | ><TD |
| 5182 | ><PRE |
| 5183 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5184 | >int xmlValidateElementDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5185 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5186 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5187 | > ctxt, |
| 5188 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5189 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5190 | >xmlDocPtr</A |
| 5191 | > doc, |
| 5192 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5193 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5194 | >xmlElementPtr</A |
| 5195 | > elem);</PRE |
| 5196 | ></TD |
| 5197 | ></TR |
| 5198 | ></TABLE |
| 5199 | ><P |
| 5200 | >Try to validate a single element definition |
| 5201 | basically it does the following checks as described by the |
| 5202 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5203 | - [ VC: One ID per Element Type ] |
| 5204 | - [ VC: No Duplicate Types ] |
| 5205 | - [ VC: Unique Element Type Declaration ]</P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5206 | ><P |
| 5207 | ></P |
| 5208 | ><DIV |
| 5209 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5210 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5211 | NAME="AEN9812"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5212 | ></P |
| 5213 | ><TABLE |
| 5214 | BORDER="0" |
| 5215 | WIDTH="100%" |
| 5216 | BGCOLOR="#FFD0D0" |
| 5217 | CELLSPACING="0" |
| 5218 | CELLPADDING="4" |
| 5219 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5220 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5221 | ><TR |
| 5222 | ><TD |
| 5223 | WIDTH="20%" |
| 5224 | ALIGN="RIGHT" |
| 5225 | VALIGN="TOP" |
| 5226 | ><TT |
| 5227 | CLASS="PARAMETER" |
| 5228 | ><I |
| 5229 | >ctxt</I |
| 5230 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5231 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5232 | ><TD |
| 5233 | WIDTH="80%" |
| 5234 | ALIGN="LEFT" |
| 5235 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5236 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5237 | ></TR |
| 5238 | ><TR |
| 5239 | ><TD |
| 5240 | WIDTH="20%" |
| 5241 | ALIGN="RIGHT" |
| 5242 | VALIGN="TOP" |
| 5243 | ><TT |
| 5244 | CLASS="PARAMETER" |
| 5245 | ><I |
| 5246 | >doc</I |
| 5247 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5248 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5249 | ><TD |
| 5250 | WIDTH="80%" |
| 5251 | ALIGN="LEFT" |
| 5252 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5253 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5254 | ></TR |
| 5255 | ><TR |
| 5256 | ><TD |
| 5257 | WIDTH="20%" |
| 5258 | ALIGN="RIGHT" |
| 5259 | VALIGN="TOP" |
| 5260 | ><TT |
| 5261 | CLASS="PARAMETER" |
| 5262 | ><I |
| 5263 | >elem</I |
| 5264 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5265 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5266 | ><TD |
| 5267 | WIDTH="80%" |
| 5268 | ALIGN="LEFT" |
| 5269 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5270 | > an element definition</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5271 | ></TR |
| 5272 | ><TR |
| 5273 | ><TD |
| 5274 | WIDTH="20%" |
| 5275 | ALIGN="RIGHT" |
| 5276 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5277 | ><SPAN |
| 5278 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5279 | ><I |
| 5280 | CLASS="EMPHASIS" |
| 5281 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5282 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5283 | > :</TD |
| 5284 | ><TD |
| 5285 | WIDTH="80%" |
| 5286 | ALIGN="LEFT" |
| 5287 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5288 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5289 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5290 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5291 | ></TABLE |
| 5292 | ><P |
| 5293 | ></P |
| 5294 | ></DIV |
| 5295 | ></DIV |
| 5296 | ><HR><DIV |
| 5297 | CLASS="REFSECT2" |
| 5298 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5299 | NAME="AEN9833" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5300 | ></A |
| 5301 | ><H3 |
| 5302 | ><A |
| 5303 | NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE" |
| 5304 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5305 | >xmlValidNormalizeAttributeValue ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5306 | ><TABLE |
| 5307 | BORDER="0" |
| 5308 | BGCOLOR="#D6E8FF" |
| 5309 | WIDTH="100%" |
| 5310 | CELLPADDING="6" |
| 5311 | ><TR |
| 5312 | ><TD |
| 5313 | ><PRE |
| 5314 | CLASS="PROGRAMLISTING" |
| 5315 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5316 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5317 | >xmlChar</A |
| 5318 | >* xmlValidNormalizeAttributeValue (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5319 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5320 | >xmlDocPtr</A |
| 5321 | > doc, |
| 5322 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5323 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5324 | >xmlNodePtr</A |
| 5325 | > elem, |
| 5326 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5327 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5328 | >xmlChar</A |
| 5329 | > *name, |
| 5330 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5331 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5332 | >xmlChar</A |
| 5333 | > *value);</PRE |
| 5334 | ></TD |
| 5335 | ></TR |
| 5336 | ></TABLE |
| 5337 | ><P |
| 5338 | >Does the validation related extra step of the normalization of attribute |
| 5339 | values:</P |
| 5340 | ><P |
| 5341 | >If the declared value is not CDATA, then the XML processor must further |
| 5342 | process the normalized attribute value by discarding any leading and |
| 5343 | trailing space (<GTKDOCLINK |
| 5344 | HREF="X20" |
| 5345 | >x20</GTKDOCLINK |
| 5346 | >) characters, and by replacing sequences of space |
| 5347 | (<GTKDOCLINK |
| 5348 | HREF="X20" |
| 5349 | >x20</GTKDOCLINK |
| 5350 | >) characters by single space (<GTKDOCLINK |
| 5351 | HREF="X20" |
| 5352 | >x20</GTKDOCLINK |
| 5353 | >) character.</P |
| 5354 | ><P |
| 5355 | ></P |
| 5356 | ><DIV |
| 5357 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5358 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5359 | NAME="AEN9848"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5360 | ></P |
| 5361 | ><TABLE |
| 5362 | BORDER="0" |
| 5363 | WIDTH="100%" |
| 5364 | BGCOLOR="#FFD0D0" |
| 5365 | CELLSPACING="0" |
| 5366 | CELLPADDING="4" |
| 5367 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5368 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5369 | ><TR |
| 5370 | ><TD |
| 5371 | WIDTH="20%" |
| 5372 | ALIGN="RIGHT" |
| 5373 | VALIGN="TOP" |
| 5374 | ><TT |
| 5375 | CLASS="PARAMETER" |
| 5376 | ><I |
| 5377 | >doc</I |
| 5378 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5379 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5380 | ><TD |
| 5381 | WIDTH="80%" |
| 5382 | ALIGN="LEFT" |
| 5383 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5384 | > the document</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5385 | ></TR |
| 5386 | ><TR |
| 5387 | ><TD |
| 5388 | WIDTH="20%" |
| 5389 | ALIGN="RIGHT" |
| 5390 | VALIGN="TOP" |
| 5391 | ><TT |
| 5392 | CLASS="PARAMETER" |
| 5393 | ><I |
| 5394 | >elem</I |
| 5395 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5396 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5397 | ><TD |
| 5398 | WIDTH="80%" |
| 5399 | ALIGN="LEFT" |
| 5400 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5401 | > the parent</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5402 | ></TR |
| 5403 | ><TR |
| 5404 | ><TD |
| 5405 | WIDTH="20%" |
| 5406 | ALIGN="RIGHT" |
| 5407 | VALIGN="TOP" |
| 5408 | ><TT |
| 5409 | CLASS="PARAMETER" |
| 5410 | ><I |
| 5411 | >name</I |
| 5412 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5413 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5414 | ><TD |
| 5415 | WIDTH="80%" |
| 5416 | ALIGN="LEFT" |
| 5417 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5418 | > the attribute name</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5419 | ></TR |
| 5420 | ><TR |
| 5421 | ><TD |
| 5422 | WIDTH="20%" |
| 5423 | ALIGN="RIGHT" |
| 5424 | VALIGN="TOP" |
| 5425 | ><TT |
| 5426 | CLASS="PARAMETER" |
| 5427 | ><I |
| 5428 | >value</I |
| 5429 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5430 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5431 | ><TD |
| 5432 | WIDTH="80%" |
| 5433 | ALIGN="LEFT" |
| 5434 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5435 | > the attribute value</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5436 | ></TR |
| 5437 | ><TR |
| 5438 | ><TD |
| 5439 | WIDTH="20%" |
| 5440 | ALIGN="RIGHT" |
| 5441 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5442 | ><SPAN |
| 5443 | CLASS="emphasis" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5444 | ><I |
| 5445 | CLASS="EMPHASIS" |
| 5446 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5447 | ></SPAN |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5448 | > :</TD |
| 5449 | ><TD |
| 5450 | WIDTH="80%" |
| 5451 | ALIGN="LEFT" |
| 5452 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5453 | >a new normalized string if normalization is needed, NULL otherwise |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5454 | the caller must free the returned value.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5455 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5456 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5457 | ></TABLE |
| 5458 | ><P |
| 5459 | ></P |
| 5460 | ></DIV |
| 5461 | ></DIV |
| 5462 | ><HR><DIV |
| 5463 | CLASS="REFSECT2" |
| 5464 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5465 | NAME="AEN9873" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5466 | ></A |
| 5467 | ><H3 |
| 5468 | ><A |
| 5469 | NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE" |
| 5470 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5471 | >xmlValidCtxtNormalizeAttributeValue ()</H3 |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5472 | ><TABLE |
| 5473 | BORDER="0" |
| 5474 | BGCOLOR="#D6E8FF" |
| 5475 | WIDTH="100%" |
| 5476 | CELLPADDING="6" |
| 5477 | ><TR |
| 5478 | ><TD |
| 5479 | ><PRE |
| 5480 | CLASS="PROGRAMLISTING" |
| 5481 | ><A |
| 5482 | HREF="libxml-tree.html#XMLCHAR" |
| 5483 | >xmlChar</A |
| 5484 | >* xmlValidCtxtNormalizeAttributeValue |
| 5485 | (<A |
| 5486 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
| 5487 | >xmlValidCtxtPtr</A |
| 5488 | > ctxt, |
| 5489 | <A |
| 5490 | HREF="libxml-tree.html#XMLDOCPTR" |
| 5491 | >xmlDocPtr</A |
| 5492 | > doc, |
| 5493 | <A |
| 5494 | HREF="libxml-tree.html#XMLNODEPTR" |
| 5495 | >xmlNodePtr</A |
| 5496 | > elem, |
| 5497 | const <A |
| 5498 | HREF="libxml-tree.html#XMLCHAR" |
| 5499 | >xmlChar</A |
| 5500 | > *name, |
| 5501 | const <A |
| 5502 | HREF="libxml-tree.html#XMLCHAR" |
| 5503 | >xmlChar</A |
| 5504 | > *value);</PRE |
| 5505 | ></TD |
| 5506 | ></TR |
| 5507 | ></TABLE |
| 5508 | ><P |
| 5509 | >Does the validation related extra step of the normalization of attribute |
| 5510 | values:</P |
| 5511 | ><P |
| 5512 | >If the declared value is not CDATA, then the XML processor must further |
| 5513 | process the normalized attribute value by discarding any leading and |
| 5514 | trailing space (<GTKDOCLINK |
| 5515 | HREF="X20" |
| 5516 | >x20</GTKDOCLINK |
| 5517 | >) characters, and by replacing sequences of space |
| 5518 | (<GTKDOCLINK |
| 5519 | HREF="X20" |
| 5520 | >x20</GTKDOCLINK |
| 5521 | >) characters by single space (<GTKDOCLINK |
| 5522 | HREF="X20" |
| 5523 | >x20</GTKDOCLINK |
| 5524 | >) character.</P |
| 5525 | ><P |
| 5526 | >Also check VC: Standalone Document Declaration in P32, and update |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5527 | ctxt->valid accordingly</P |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5528 | ><P |
| 5529 | ></P |
| 5530 | ><DIV |
| 5531 | CLASS="INFORMALTABLE" |
| 5532 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5533 | NAME="AEN9890"><P |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5534 | ></P |
| 5535 | ><TABLE |
| 5536 | BORDER="0" |
| 5537 | WIDTH="100%" |
| 5538 | BGCOLOR="#FFD0D0" |
| 5539 | CELLSPACING="0" |
| 5540 | CELLPADDING="4" |
| 5541 | CLASS="CALSTABLE" |
| 5542 | ><TBODY |
| 5543 | ><TR |
| 5544 | ><TD |
| 5545 | WIDTH="20%" |
| 5546 | ALIGN="RIGHT" |
| 5547 | VALIGN="TOP" |
| 5548 | ><TT |
| 5549 | CLASS="PARAMETER" |
| 5550 | ><I |
| 5551 | >ctxt</I |
| 5552 | ></TT |
| 5553 | > :</TD |
| 5554 | ><TD |
| 5555 | WIDTH="80%" |
| 5556 | ALIGN="LEFT" |
| 5557 | VALIGN="TOP" |
| 5558 | > the validation context</TD |
| 5559 | ></TR |
| 5560 | ><TR |
| 5561 | ><TD |
| 5562 | WIDTH="20%" |
| 5563 | ALIGN="RIGHT" |
| 5564 | VALIGN="TOP" |
| 5565 | ><TT |
| 5566 | CLASS="PARAMETER" |
| 5567 | ><I |
| 5568 | >doc</I |
| 5569 | ></TT |
| 5570 | > :</TD |
| 5571 | ><TD |
| 5572 | WIDTH="80%" |
| 5573 | ALIGN="LEFT" |
| 5574 | VALIGN="TOP" |
| 5575 | > the document</TD |
| 5576 | ></TR |
| 5577 | ><TR |
| 5578 | ><TD |
| 5579 | WIDTH="20%" |
| 5580 | ALIGN="RIGHT" |
| 5581 | VALIGN="TOP" |
| 5582 | ><TT |
| 5583 | CLASS="PARAMETER" |
| 5584 | ><I |
| 5585 | >elem</I |
| 5586 | ></TT |
| 5587 | > :</TD |
| 5588 | ><TD |
| 5589 | WIDTH="80%" |
| 5590 | ALIGN="LEFT" |
| 5591 | VALIGN="TOP" |
| 5592 | > the parent</TD |
| 5593 | ></TR |
| 5594 | ><TR |
| 5595 | ><TD |
| 5596 | WIDTH="20%" |
| 5597 | ALIGN="RIGHT" |
| 5598 | VALIGN="TOP" |
| 5599 | ><TT |
| 5600 | CLASS="PARAMETER" |
| 5601 | ><I |
| 5602 | >name</I |
| 5603 | ></TT |
| 5604 | > :</TD |
| 5605 | ><TD |
| 5606 | WIDTH="80%" |
| 5607 | ALIGN="LEFT" |
| 5608 | VALIGN="TOP" |
| 5609 | > the attribute name</TD |
| 5610 | ></TR |
| 5611 | ><TR |
| 5612 | ><TD |
| 5613 | WIDTH="20%" |
| 5614 | ALIGN="RIGHT" |
| 5615 | VALIGN="TOP" |
| 5616 | ><TT |
| 5617 | CLASS="PARAMETER" |
| 5618 | ><I |
| 5619 | >value</I |
| 5620 | ></TT |
| 5621 | > :</TD |
| 5622 | ><TD |
| 5623 | WIDTH="80%" |
| 5624 | ALIGN="LEFT" |
| 5625 | VALIGN="TOP" |
| 5626 | > the attribute value</TD |
| 5627 | ></TR |
| 5628 | ><TR |
| 5629 | ><TD |
| 5630 | WIDTH="20%" |
| 5631 | ALIGN="RIGHT" |
| 5632 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5633 | ><SPAN |
| 5634 | CLASS="emphasis" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5635 | ><I |
| 5636 | CLASS="EMPHASIS" |
| 5637 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5638 | ></SPAN |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5639 | > :</TD |
| 5640 | ><TD |
| 5641 | WIDTH="80%" |
| 5642 | ALIGN="LEFT" |
| 5643 | VALIGN="TOP" |
| 5644 | >a new normalized string if normalization is needed, NULL otherwise |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5645 | the caller must free the returned value.</TD |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5646 | ></TR |
| 5647 | ></TBODY |
| 5648 | ></TABLE |
| 5649 | ><P |
| 5650 | ></P |
| 5651 | ></DIV |
| 5652 | ></DIV |
| 5653 | ><HR><DIV |
| 5654 | CLASS="REFSECT2" |
| 5655 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5656 | NAME="AEN9919" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5657 | ></A |
| 5658 | ><H3 |
| 5659 | ><A |
| 5660 | NAME="XMLVALIDATEATTRIBUTEDECL" |
| 5661 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5662 | >xmlValidateAttributeDecl ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5663 | ><TABLE |
| 5664 | BORDER="0" |
| 5665 | BGCOLOR="#D6E8FF" |
| 5666 | WIDTH="100%" |
| 5667 | CELLPADDING="6" |
| 5668 | ><TR |
| 5669 | ><TD |
| 5670 | ><PRE |
| 5671 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5672 | >int xmlValidateAttributeDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5673 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5674 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5675 | > ctxt, |
| 5676 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5677 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5678 | >xmlDocPtr</A |
| 5679 | > doc, |
| 5680 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5681 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5682 | >xmlAttributePtr</A |
| 5683 | > attr);</PRE |
| 5684 | ></TD |
| 5685 | ></TR |
| 5686 | ></TABLE |
| 5687 | ><P |
| 5688 | >Try to validate a single attribute definition |
| 5689 | basically it does the following checks as described by the |
| 5690 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5691 | - [ VC: Attribute Default Legal ] |
| 5692 | - [ VC: Enumeration ] |
| 5693 | - [ VC: ID Attribute Default ]</P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5694 | ><P |
| 5695 | >The ID/IDREF uniqueness and matching are done separately</P |
| 5696 | ><P |
| 5697 | ></P |
| 5698 | ><DIV |
| 5699 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5700 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5701 | NAME="AEN9929"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5702 | ></P |
| 5703 | ><TABLE |
| 5704 | BORDER="0" |
| 5705 | WIDTH="100%" |
| 5706 | BGCOLOR="#FFD0D0" |
| 5707 | CELLSPACING="0" |
| 5708 | CELLPADDING="4" |
| 5709 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5710 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5711 | ><TR |
| 5712 | ><TD |
| 5713 | WIDTH="20%" |
| 5714 | ALIGN="RIGHT" |
| 5715 | VALIGN="TOP" |
| 5716 | ><TT |
| 5717 | CLASS="PARAMETER" |
| 5718 | ><I |
| 5719 | >ctxt</I |
| 5720 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5721 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5722 | ><TD |
| 5723 | WIDTH="80%" |
| 5724 | ALIGN="LEFT" |
| 5725 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5726 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5727 | ></TR |
| 5728 | ><TR |
| 5729 | ><TD |
| 5730 | WIDTH="20%" |
| 5731 | ALIGN="RIGHT" |
| 5732 | VALIGN="TOP" |
| 5733 | ><TT |
| 5734 | CLASS="PARAMETER" |
| 5735 | ><I |
| 5736 | >doc</I |
| 5737 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5738 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5739 | ><TD |
| 5740 | WIDTH="80%" |
| 5741 | ALIGN="LEFT" |
| 5742 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5743 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5744 | ></TR |
| 5745 | ><TR |
| 5746 | ><TD |
| 5747 | WIDTH="20%" |
| 5748 | ALIGN="RIGHT" |
| 5749 | VALIGN="TOP" |
| 5750 | ><TT |
| 5751 | CLASS="PARAMETER" |
| 5752 | ><I |
| 5753 | >attr</I |
| 5754 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5755 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5756 | ><TD |
| 5757 | WIDTH="80%" |
| 5758 | ALIGN="LEFT" |
| 5759 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5760 | > an attribute definition</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5761 | ></TR |
| 5762 | ><TR |
| 5763 | ><TD |
| 5764 | WIDTH="20%" |
| 5765 | ALIGN="RIGHT" |
| 5766 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5767 | ><SPAN |
| 5768 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5769 | ><I |
| 5770 | CLASS="EMPHASIS" |
| 5771 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5772 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5773 | > :</TD |
| 5774 | ><TD |
| 5775 | WIDTH="80%" |
| 5776 | ALIGN="LEFT" |
| 5777 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5778 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5779 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5780 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5781 | ></TABLE |
| 5782 | ><P |
| 5783 | ></P |
| 5784 | ></DIV |
| 5785 | ></DIV |
| 5786 | ><HR><DIV |
| 5787 | CLASS="REFSECT2" |
| 5788 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5789 | NAME="AEN9950" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5790 | ></A |
| 5791 | ><H3 |
| 5792 | ><A |
| 5793 | NAME="XMLVALIDATEATTRIBUTEVALUE" |
| 5794 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5795 | >xmlValidateAttributeValue ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5796 | ><TABLE |
| 5797 | BORDER="0" |
| 5798 | BGCOLOR="#D6E8FF" |
| 5799 | WIDTH="100%" |
| 5800 | CELLPADDING="6" |
| 5801 | ><TR |
| 5802 | ><TD |
| 5803 | ><PRE |
| 5804 | CLASS="PROGRAMLISTING" |
| 5805 | >int xmlValidateAttributeValue (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5806 | HREF="libxml-tree.html#XMLATTRIBUTETYPE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5807 | >xmlAttributeType</A |
| 5808 | > type, |
| 5809 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5810 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 5811 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5812 | > *value);</PRE |
| 5813 | ></TD |
| 5814 | ></TR |
| 5815 | ></TABLE |
| 5816 | ><P |
| 5817 | >Validate that the given attribute value match the proper production</P |
| 5818 | ><P |
| 5819 | >[ VC: ID ] |
| 5820 | Values of type ID must match the Name production....</P |
| 5821 | ><P |
| 5822 | >[ VC: IDREF ] |
| 5823 | Values of type IDREF must match the Name production, and values |
| 5824 | of type IDREFS must match Names ...</P |
| 5825 | ><P |
| 5826 | >[ VC: Entity Name ] |
| 5827 | Values of type ENTITY must match the Name production, values |
| 5828 | of type ENTITIES must match Names ...</P |
| 5829 | ><P |
| 5830 | >[ VC: Name Token ] |
| 5831 | Values of type NMTOKEN must match the Nmtoken production; values |
| 5832 | of type NMTOKENS must match Nmtokens.</P |
| 5833 | ><P |
| 5834 | ></P |
| 5835 | ><DIV |
| 5836 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5837 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5838 | NAME="AEN9962"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5839 | ></P |
| 5840 | ><TABLE |
| 5841 | BORDER="0" |
| 5842 | WIDTH="100%" |
| 5843 | BGCOLOR="#FFD0D0" |
| 5844 | CELLSPACING="0" |
| 5845 | CELLPADDING="4" |
| 5846 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5847 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5848 | ><TR |
| 5849 | ><TD |
| 5850 | WIDTH="20%" |
| 5851 | ALIGN="RIGHT" |
| 5852 | VALIGN="TOP" |
| 5853 | ><TT |
| 5854 | CLASS="PARAMETER" |
| 5855 | ><I |
| 5856 | >type</I |
| 5857 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5858 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5859 | ><TD |
| 5860 | WIDTH="80%" |
| 5861 | ALIGN="LEFT" |
| 5862 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5863 | > an attribute type</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5864 | ></TR |
| 5865 | ><TR |
| 5866 | ><TD |
| 5867 | WIDTH="20%" |
| 5868 | ALIGN="RIGHT" |
| 5869 | VALIGN="TOP" |
| 5870 | ><TT |
| 5871 | CLASS="PARAMETER" |
| 5872 | ><I |
| 5873 | >value</I |
| 5874 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5875 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5876 | ><TD |
| 5877 | WIDTH="80%" |
| 5878 | ALIGN="LEFT" |
| 5879 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5880 | > an attribute value</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5881 | ></TR |
| 5882 | ><TR |
| 5883 | ><TD |
| 5884 | WIDTH="20%" |
| 5885 | ALIGN="RIGHT" |
| 5886 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5887 | ><SPAN |
| 5888 | CLASS="emphasis" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5889 | ><I |
| 5890 | CLASS="EMPHASIS" |
| 5891 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5892 | ></SPAN |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5893 | > :</TD |
| 5894 | ><TD |
| 5895 | WIDTH="80%" |
| 5896 | ALIGN="LEFT" |
| 5897 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5898 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5899 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5900 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5901 | ></TABLE |
| 5902 | ><P |
| 5903 | ></P |
| 5904 | ></DIV |
| 5905 | ></DIV |
| 5906 | ><HR><DIV |
| 5907 | CLASS="REFSECT2" |
| 5908 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5909 | NAME="AEN9979" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5910 | ></A |
| 5911 | ><H3 |
| 5912 | ><A |
| 5913 | NAME="XMLVALIDATENOTATIONDECL" |
| 5914 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5915 | >xmlValidateNotationDecl ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5916 | ><TABLE |
| 5917 | BORDER="0" |
| 5918 | BGCOLOR="#D6E8FF" |
| 5919 | WIDTH="100%" |
| 5920 | CELLPADDING="6" |
| 5921 | ><TR |
| 5922 | ><TD |
| 5923 | ><PRE |
| 5924 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5925 | >int xmlValidateNotationDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5926 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5927 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5928 | > ctxt, |
| 5929 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5930 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5931 | >xmlDocPtr</A |
| 5932 | > doc, |
| 5933 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5934 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5935 | >xmlNotationPtr</A |
| 5936 | > nota);</PRE |
| 5937 | ></TD |
| 5938 | ></TR |
| 5939 | ></TABLE |
| 5940 | ><P |
| 5941 | >Try to validate a single notation definition |
| 5942 | basically it does the following checks as described by the |
| 5943 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5944 | - it seems that no validity constraint exists on notation declarations |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5945 | But this function get called anyway ...</P |
| 5946 | ><P |
| 5947 | ></P |
| 5948 | ><DIV |
| 5949 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5950 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 5951 | NAME="AEN9988"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5952 | ></P |
| 5953 | ><TABLE |
| 5954 | BORDER="0" |
| 5955 | WIDTH="100%" |
| 5956 | BGCOLOR="#FFD0D0" |
| 5957 | CELLSPACING="0" |
| 5958 | CELLPADDING="4" |
| 5959 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5960 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5961 | ><TR |
| 5962 | ><TD |
| 5963 | WIDTH="20%" |
| 5964 | ALIGN="RIGHT" |
| 5965 | VALIGN="TOP" |
| 5966 | ><TT |
| 5967 | CLASS="PARAMETER" |
| 5968 | ><I |
| 5969 | >ctxt</I |
| 5970 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5971 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5972 | ><TD |
| 5973 | WIDTH="80%" |
| 5974 | ALIGN="LEFT" |
| 5975 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5976 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5977 | ></TR |
| 5978 | ><TR |
| 5979 | ><TD |
| 5980 | WIDTH="20%" |
| 5981 | ALIGN="RIGHT" |
| 5982 | VALIGN="TOP" |
| 5983 | ><TT |
| 5984 | CLASS="PARAMETER" |
| 5985 | ><I |
| 5986 | >doc</I |
| 5987 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5988 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5989 | ><TD |
| 5990 | WIDTH="80%" |
| 5991 | ALIGN="LEFT" |
| 5992 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5993 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5994 | ></TR |
| 5995 | ><TR |
| 5996 | ><TD |
| 5997 | WIDTH="20%" |
| 5998 | ALIGN="RIGHT" |
| 5999 | VALIGN="TOP" |
| 6000 | ><TT |
| 6001 | CLASS="PARAMETER" |
| 6002 | ><I |
| 6003 | >nota</I |
| 6004 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6005 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6006 | ><TD |
| 6007 | WIDTH="80%" |
| 6008 | ALIGN="LEFT" |
| 6009 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6010 | > a notation definition</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6011 | ></TR |
| 6012 | ><TR |
| 6013 | ><TD |
| 6014 | WIDTH="20%" |
| 6015 | ALIGN="RIGHT" |
| 6016 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6017 | ><SPAN |
| 6018 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6019 | ><I |
| 6020 | CLASS="EMPHASIS" |
| 6021 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6022 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6023 | > :</TD |
| 6024 | ><TD |
| 6025 | WIDTH="80%" |
| 6026 | ALIGN="LEFT" |
| 6027 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6028 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6029 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6030 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6031 | ></TABLE |
| 6032 | ><P |
| 6033 | ></P |
| 6034 | ></DIV |
| 6035 | ></DIV |
| 6036 | ><HR><DIV |
| 6037 | CLASS="REFSECT2" |
| 6038 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6039 | NAME="AEN10009" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6040 | ></A |
| 6041 | ><H3 |
| 6042 | ><A |
| 6043 | NAME="XMLVALIDATEDTD" |
| 6044 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6045 | >xmlValidateDtd ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6046 | ><TABLE |
| 6047 | BORDER="0" |
| 6048 | BGCOLOR="#D6E8FF" |
| 6049 | WIDTH="100%" |
| 6050 | CELLPADDING="6" |
| 6051 | ><TR |
| 6052 | ><TD |
| 6053 | ><PRE |
| 6054 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6055 | >int xmlValidateDtd (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6056 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6057 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6058 | > ctxt, |
| 6059 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6060 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6061 | >xmlDocPtr</A |
| 6062 | > doc, |
| 6063 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6064 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6065 | >xmlDtdPtr</A |
| 6066 | > dtd);</PRE |
| 6067 | ></TD |
| 6068 | ></TR |
| 6069 | ></TABLE |
| 6070 | ><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6071 | >Try to validate the document against the dtd instance</P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6072 | ><P |
| 6073 | >basically it does check all the definitions in the DtD.</P |
| 6074 | ><P |
| 6075 | ></P |
| 6076 | ><DIV |
| 6077 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6078 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6079 | NAME="AEN10019"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6080 | ></P |
| 6081 | ><TABLE |
| 6082 | BORDER="0" |
| 6083 | WIDTH="100%" |
| 6084 | BGCOLOR="#FFD0D0" |
| 6085 | CELLSPACING="0" |
| 6086 | CELLPADDING="4" |
| 6087 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6088 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6089 | ><TR |
| 6090 | ><TD |
| 6091 | WIDTH="20%" |
| 6092 | ALIGN="RIGHT" |
| 6093 | VALIGN="TOP" |
| 6094 | ><TT |
| 6095 | CLASS="PARAMETER" |
| 6096 | ><I |
| 6097 | >ctxt</I |
| 6098 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6099 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6100 | ><TD |
| 6101 | WIDTH="80%" |
| 6102 | ALIGN="LEFT" |
| 6103 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6104 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6105 | ></TR |
| 6106 | ><TR |
| 6107 | ><TD |
| 6108 | WIDTH="20%" |
| 6109 | ALIGN="RIGHT" |
| 6110 | VALIGN="TOP" |
| 6111 | ><TT |
| 6112 | CLASS="PARAMETER" |
| 6113 | ><I |
| 6114 | >doc</I |
| 6115 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6116 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6117 | ><TD |
| 6118 | WIDTH="80%" |
| 6119 | ALIGN="LEFT" |
| 6120 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6121 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6122 | ></TR |
| 6123 | ><TR |
| 6124 | ><TD |
| 6125 | WIDTH="20%" |
| 6126 | ALIGN="RIGHT" |
| 6127 | VALIGN="TOP" |
| 6128 | ><TT |
| 6129 | CLASS="PARAMETER" |
| 6130 | ><I |
| 6131 | >dtd</I |
| 6132 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6133 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6134 | ><TD |
| 6135 | WIDTH="80%" |
| 6136 | ALIGN="LEFT" |
| 6137 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6138 | > a dtd instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6139 | ></TR |
| 6140 | ><TR |
| 6141 | ><TD |
| 6142 | WIDTH="20%" |
| 6143 | ALIGN="RIGHT" |
| 6144 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6145 | ><SPAN |
| 6146 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6147 | ><I |
| 6148 | CLASS="EMPHASIS" |
| 6149 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6150 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6151 | > :</TD |
| 6152 | ><TD |
| 6153 | WIDTH="80%" |
| 6154 | ALIGN="LEFT" |
| 6155 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6156 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6157 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6158 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6159 | ></TABLE |
| 6160 | ><P |
| 6161 | ></P |
| 6162 | ></DIV |
| 6163 | ></DIV |
| 6164 | ><HR><DIV |
| 6165 | CLASS="REFSECT2" |
| 6166 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6167 | NAME="AEN10040" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6168 | ></A |
| 6169 | ><H3 |
| 6170 | ><A |
| 6171 | NAME="XMLVALIDATEDTDFINAL" |
| 6172 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6173 | >xmlValidateDtdFinal ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6174 | ><TABLE |
| 6175 | BORDER="0" |
| 6176 | BGCOLOR="#D6E8FF" |
| 6177 | WIDTH="100%" |
| 6178 | CELLPADDING="6" |
| 6179 | ><TR |
| 6180 | ><TD |
| 6181 | ><PRE |
| 6182 | CLASS="PROGRAMLISTING" |
| 6183 | >int xmlValidateDtdFinal (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6184 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6185 | >xmlValidCtxtPtr</A |
| 6186 | > ctxt, |
| 6187 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6188 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6189 | >xmlDocPtr</A |
| 6190 | > doc);</PRE |
| 6191 | ></TD |
| 6192 | ></TR |
| 6193 | ></TABLE |
| 6194 | ><P |
| 6195 | >Does the final step for the dtds validation once all the |
| 6196 | subsets have been parsed</P |
| 6197 | ><P |
| 6198 | >basically it does the following checks described by the XML Rec |
| 6199 | - check that ENTITY and ENTITIES type attributes default or |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6200 | possible values matches one of the defined entities. |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6201 | - check that NOTATION type attributes default or |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6202 | possible values matches one of the defined notations.</P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6203 | ><P |
| 6204 | ></P |
| 6205 | ><DIV |
| 6206 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6207 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6208 | NAME="AEN10049"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6209 | ></P |
| 6210 | ><TABLE |
| 6211 | BORDER="0" |
| 6212 | WIDTH="100%" |
| 6213 | BGCOLOR="#FFD0D0" |
| 6214 | CELLSPACING="0" |
| 6215 | CELLPADDING="4" |
| 6216 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6217 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6218 | ><TR |
| 6219 | ><TD |
| 6220 | WIDTH="20%" |
| 6221 | ALIGN="RIGHT" |
| 6222 | VALIGN="TOP" |
| 6223 | ><TT |
| 6224 | CLASS="PARAMETER" |
| 6225 | ><I |
| 6226 | >ctxt</I |
| 6227 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6228 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6229 | ><TD |
| 6230 | WIDTH="80%" |
| 6231 | ALIGN="LEFT" |
| 6232 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6233 | > the validation context</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6234 | ></TR |
| 6235 | ><TR |
| 6236 | ><TD |
| 6237 | WIDTH="20%" |
| 6238 | ALIGN="RIGHT" |
| 6239 | VALIGN="TOP" |
| 6240 | ><TT |
| 6241 | CLASS="PARAMETER" |
| 6242 | ><I |
| 6243 | >doc</I |
| 6244 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6245 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6246 | ><TD |
| 6247 | WIDTH="80%" |
| 6248 | ALIGN="LEFT" |
| 6249 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6250 | > a document instance</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6251 | ></TR |
| 6252 | ><TR |
| 6253 | ><TD |
| 6254 | WIDTH="20%" |
| 6255 | ALIGN="RIGHT" |
| 6256 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6257 | ><SPAN |
| 6258 | CLASS="emphasis" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6259 | ><I |
| 6260 | CLASS="EMPHASIS" |
| 6261 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6262 | ></SPAN |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6263 | > :</TD |
| 6264 | ><TD |
| 6265 | WIDTH="80%" |
| 6266 | ALIGN="LEFT" |
| 6267 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 6268 | >1 if valid or 0 if invalid and -1 if not well-formed</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6269 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6270 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6271 | ></TABLE |
| 6272 | ><P |
| 6273 | ></P |
| 6274 | ></DIV |
| 6275 | ></DIV |
| 6276 | ><HR><DIV |
| 6277 | CLASS="REFSECT2" |
| 6278 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6279 | NAME="AEN10066" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6280 | ></A |
| 6281 | ><H3 |
| 6282 | ><A |
| 6283 | NAME="XMLVALIDATEDOCUMENT" |
| 6284 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6285 | >xmlValidateDocument ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6286 | ><TABLE |
| 6287 | BORDER="0" |
| 6288 | BGCOLOR="#D6E8FF" |
| 6289 | WIDTH="100%" |
| 6290 | CELLPADDING="6" |
| 6291 | ><TR |
| 6292 | ><TD |
| 6293 | ><PRE |
| 6294 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6295 | >int xmlValidateDocument (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6296 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6297 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6298 | > ctxt, |
| 6299 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6300 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6301 | >xmlDocPtr</A |
| 6302 | > doc);</PRE |
| 6303 | ></TD |
| 6304 | ></TR |
| 6305 | ></TABLE |
| 6306 | ><P |
| 6307 | >Try to validate the document instance</P |
| 6308 | ><P |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6309 | >basically it does the all the checks described by the XML Rec |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6310 | i.e. validates the internal and external subset (if present) |
| 6311 | and validate the document tree.</P |
| 6312 | ><P |
| 6313 | ></P |
| 6314 | ><DIV |
| 6315 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6316 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6317 | NAME="AEN10075"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6318 | ></P |
| 6319 | ><TABLE |
| 6320 | BORDER="0" |
| 6321 | WIDTH="100%" |
| 6322 | BGCOLOR="#FFD0D0" |
| 6323 | CELLSPACING="0" |
| 6324 | CELLPADDING="4" |
| 6325 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6326 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6327 | ><TR |
| 6328 | ><TD |
| 6329 | WIDTH="20%" |
| 6330 | ALIGN="RIGHT" |
| 6331 | VALIGN="TOP" |
| 6332 | ><TT |
| 6333 | CLASS="PARAMETER" |
| 6334 | ><I |
| 6335 | >ctxt</I |
| 6336 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6337 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6338 | ><TD |
| 6339 | WIDTH="80%" |
| 6340 | ALIGN="LEFT" |
| 6341 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6342 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6343 | ></TR |
| 6344 | ><TR |
| 6345 | ><TD |
| 6346 | WIDTH="20%" |
| 6347 | ALIGN="RIGHT" |
| 6348 | VALIGN="TOP" |
| 6349 | ><TT |
| 6350 | CLASS="PARAMETER" |
| 6351 | ><I |
| 6352 | >doc</I |
| 6353 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6354 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6355 | ><TD |
| 6356 | WIDTH="80%" |
| 6357 | ALIGN="LEFT" |
| 6358 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6359 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6360 | ></TR |
| 6361 | ><TR |
| 6362 | ><TD |
| 6363 | WIDTH="20%" |
| 6364 | ALIGN="RIGHT" |
| 6365 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6366 | ><SPAN |
| 6367 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6368 | ><I |
| 6369 | CLASS="EMPHASIS" |
| 6370 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6371 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6372 | > :</TD |
| 6373 | ><TD |
| 6374 | WIDTH="80%" |
| 6375 | ALIGN="LEFT" |
| 6376 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6377 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6378 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6379 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6380 | ></TABLE |
| 6381 | ><P |
| 6382 | ></P |
| 6383 | ></DIV |
| 6384 | ></DIV |
| 6385 | ><HR><DIV |
| 6386 | CLASS="REFSECT2" |
| 6387 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6388 | NAME="AEN10092" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6389 | ></A |
| 6390 | ><H3 |
| 6391 | ><A |
| 6392 | NAME="XMLVALIDATEELEMENT" |
| 6393 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6394 | >xmlValidateElement ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6395 | ><TABLE |
| 6396 | BORDER="0" |
| 6397 | BGCOLOR="#D6E8FF" |
| 6398 | WIDTH="100%" |
| 6399 | CELLPADDING="6" |
| 6400 | ><TR |
| 6401 | ><TD |
| 6402 | ><PRE |
| 6403 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6404 | >int xmlValidateElement (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6405 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6406 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6407 | > ctxt, |
| 6408 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6409 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6410 | >xmlDocPtr</A |
| 6411 | > doc, |
| 6412 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6413 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6414 | >xmlNodePtr</A |
| 6415 | > elem);</PRE |
| 6416 | ></TD |
| 6417 | ></TR |
| 6418 | ></TABLE |
| 6419 | ><P |
| 6420 | >Try to validate the subtree under an element</P |
| 6421 | ><P |
| 6422 | ></P |
| 6423 | ><DIV |
| 6424 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6425 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6426 | NAME="AEN10101"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6427 | ></P |
| 6428 | ><TABLE |
| 6429 | BORDER="0" |
| 6430 | WIDTH="100%" |
| 6431 | BGCOLOR="#FFD0D0" |
| 6432 | CELLSPACING="0" |
| 6433 | CELLPADDING="4" |
| 6434 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6435 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6436 | ><TR |
| 6437 | ><TD |
| 6438 | WIDTH="20%" |
| 6439 | ALIGN="RIGHT" |
| 6440 | VALIGN="TOP" |
| 6441 | ><TT |
| 6442 | CLASS="PARAMETER" |
| 6443 | ><I |
| 6444 | >ctxt</I |
| 6445 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6446 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6447 | ><TD |
| 6448 | WIDTH="80%" |
| 6449 | ALIGN="LEFT" |
| 6450 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6451 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6452 | ></TR |
| 6453 | ><TR |
| 6454 | ><TD |
| 6455 | WIDTH="20%" |
| 6456 | ALIGN="RIGHT" |
| 6457 | VALIGN="TOP" |
| 6458 | ><TT |
| 6459 | CLASS="PARAMETER" |
| 6460 | ><I |
| 6461 | >doc</I |
| 6462 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6463 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6464 | ><TD |
| 6465 | WIDTH="80%" |
| 6466 | ALIGN="LEFT" |
| 6467 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6468 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6469 | ></TR |
| 6470 | ><TR |
| 6471 | ><TD |
| 6472 | WIDTH="20%" |
| 6473 | ALIGN="RIGHT" |
| 6474 | VALIGN="TOP" |
| 6475 | ><TT |
| 6476 | CLASS="PARAMETER" |
| 6477 | ><I |
| 6478 | >elem</I |
| 6479 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6480 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6481 | ><TD |
| 6482 | WIDTH="80%" |
| 6483 | ALIGN="LEFT" |
| 6484 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6485 | > an element instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6486 | ></TR |
| 6487 | ><TR |
| 6488 | ><TD |
| 6489 | WIDTH="20%" |
| 6490 | ALIGN="RIGHT" |
| 6491 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6492 | ><SPAN |
| 6493 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6494 | ><I |
| 6495 | CLASS="EMPHASIS" |
| 6496 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6497 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6498 | > :</TD |
| 6499 | ><TD |
| 6500 | WIDTH="80%" |
| 6501 | ALIGN="LEFT" |
| 6502 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6503 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6504 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6505 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6506 | ></TABLE |
| 6507 | ><P |
| 6508 | ></P |
| 6509 | ></DIV |
| 6510 | ></DIV |
| 6511 | ><HR><DIV |
| 6512 | CLASS="REFSECT2" |
| 6513 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6514 | NAME="AEN10122" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6515 | ></A |
| 6516 | ><H3 |
| 6517 | ><A |
| 6518 | NAME="XMLVALIDATEONEELEMENT" |
| 6519 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6520 | >xmlValidateOneElement ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6521 | ><TABLE |
| 6522 | BORDER="0" |
| 6523 | BGCOLOR="#D6E8FF" |
| 6524 | WIDTH="100%" |
| 6525 | CELLPADDING="6" |
| 6526 | ><TR |
| 6527 | ><TD |
| 6528 | ><PRE |
| 6529 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6530 | >int xmlValidateOneElement (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6531 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6532 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6533 | > ctxt, |
| 6534 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6535 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6536 | >xmlDocPtr</A |
| 6537 | > doc, |
| 6538 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6539 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6540 | >xmlNodePtr</A |
| 6541 | > elem);</PRE |
| 6542 | ></TD |
| 6543 | ></TR |
| 6544 | ></TABLE |
| 6545 | ><P |
| 6546 | >Try to validate a single element and it's attributes, |
| 6547 | basically it does the following checks as described by the |
| 6548 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6549 | - [ VC: Element Valid ] |
| 6550 | - [ VC: Required Attribute ] |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6551 | Then call <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6552 | HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6553 | >xmlValidateOneAttribute</A |
| 6554 | >() for each attribute present.</P |
| 6555 | ><P |
| 6556 | >The ID/IDREF checkings are done separately</P |
| 6557 | ><P |
| 6558 | ></P |
| 6559 | ><DIV |
| 6560 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6561 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6562 | NAME="AEN10133"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6563 | ></P |
| 6564 | ><TABLE |
| 6565 | BORDER="0" |
| 6566 | WIDTH="100%" |
| 6567 | BGCOLOR="#FFD0D0" |
| 6568 | CELLSPACING="0" |
| 6569 | CELLPADDING="4" |
| 6570 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6571 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6572 | ><TR |
| 6573 | ><TD |
| 6574 | WIDTH="20%" |
| 6575 | ALIGN="RIGHT" |
| 6576 | VALIGN="TOP" |
| 6577 | ><TT |
| 6578 | CLASS="PARAMETER" |
| 6579 | ><I |
| 6580 | >ctxt</I |
| 6581 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6582 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6583 | ><TD |
| 6584 | WIDTH="80%" |
| 6585 | ALIGN="LEFT" |
| 6586 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6587 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6588 | ></TR |
| 6589 | ><TR |
| 6590 | ><TD |
| 6591 | WIDTH="20%" |
| 6592 | ALIGN="RIGHT" |
| 6593 | VALIGN="TOP" |
| 6594 | ><TT |
| 6595 | CLASS="PARAMETER" |
| 6596 | ><I |
| 6597 | >doc</I |
| 6598 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6599 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6600 | ><TD |
| 6601 | WIDTH="80%" |
| 6602 | ALIGN="LEFT" |
| 6603 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6604 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6605 | ></TR |
| 6606 | ><TR |
| 6607 | ><TD |
| 6608 | WIDTH="20%" |
| 6609 | ALIGN="RIGHT" |
| 6610 | VALIGN="TOP" |
| 6611 | ><TT |
| 6612 | CLASS="PARAMETER" |
| 6613 | ><I |
| 6614 | >elem</I |
| 6615 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6616 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6617 | ><TD |
| 6618 | WIDTH="80%" |
| 6619 | ALIGN="LEFT" |
| 6620 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6621 | > an element instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6622 | ></TR |
| 6623 | ><TR |
| 6624 | ><TD |
| 6625 | WIDTH="20%" |
| 6626 | ALIGN="RIGHT" |
| 6627 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6628 | ><SPAN |
| 6629 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6630 | ><I |
| 6631 | CLASS="EMPHASIS" |
| 6632 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6633 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6634 | > :</TD |
| 6635 | ><TD |
| 6636 | WIDTH="80%" |
| 6637 | ALIGN="LEFT" |
| 6638 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6639 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6640 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6641 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6642 | ></TABLE |
| 6643 | ><P |
| 6644 | ></P |
| 6645 | ></DIV |
| 6646 | ></DIV |
| 6647 | ><HR><DIV |
| 6648 | CLASS="REFSECT2" |
| 6649 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6650 | NAME="AEN10154" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6651 | ></A |
| 6652 | ><H3 |
| 6653 | ><A |
| 6654 | NAME="XMLVALIDATEONEATTRIBUTE" |
| 6655 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6656 | >xmlValidateOneAttribute ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6657 | ><TABLE |
| 6658 | BORDER="0" |
| 6659 | BGCOLOR="#D6E8FF" |
| 6660 | WIDTH="100%" |
| 6661 | CELLPADDING="6" |
| 6662 | ><TR |
| 6663 | ><TD |
| 6664 | ><PRE |
| 6665 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6666 | >int xmlValidateOneAttribute (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6667 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6668 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6669 | > ctxt, |
| 6670 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6671 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6672 | >xmlDocPtr</A |
| 6673 | > doc, |
| 6674 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6675 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6676 | >xmlNodePtr</A |
| 6677 | > elem, |
| 6678 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6679 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6680 | >xmlAttrPtr</A |
| 6681 | > attr, |
| 6682 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6683 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 6684 | >xmlChar</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6685 | > *value);</PRE |
| 6686 | ></TD |
| 6687 | ></TR |
| 6688 | ></TABLE |
| 6689 | ><P |
| 6690 | >Try to validate a single attribute for an element |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6691 | basically it does the following checks as described by the |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6692 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6693 | - [ VC: Attribute Value Type ] |
| 6694 | - [ VC: Fixed Attribute Default ] |
| 6695 | - [ VC: Entity Name ] |
| 6696 | - [ VC: Name Token ] |
| 6697 | - [ VC: ID ] |
| 6698 | - [ VC: IDREF ] |
| 6699 | - [ VC: Entity Name ] |
| 6700 | - [ VC: Notation Attributes ]</P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6701 | ><P |
| 6702 | >The ID/IDREF uniqueness and matching are done separately</P |
| 6703 | ><P |
| 6704 | ></P |
| 6705 | ><DIV |
| 6706 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6707 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6708 | NAME="AEN10166"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6709 | ></P |
| 6710 | ><TABLE |
| 6711 | BORDER="0" |
| 6712 | WIDTH="100%" |
| 6713 | BGCOLOR="#FFD0D0" |
| 6714 | CELLSPACING="0" |
| 6715 | CELLPADDING="4" |
| 6716 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6717 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6718 | ><TR |
| 6719 | ><TD |
| 6720 | WIDTH="20%" |
| 6721 | ALIGN="RIGHT" |
| 6722 | VALIGN="TOP" |
| 6723 | ><TT |
| 6724 | CLASS="PARAMETER" |
| 6725 | ><I |
| 6726 | >ctxt</I |
| 6727 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6728 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6729 | ><TD |
| 6730 | WIDTH="80%" |
| 6731 | ALIGN="LEFT" |
| 6732 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6733 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6734 | ></TR |
| 6735 | ><TR |
| 6736 | ><TD |
| 6737 | WIDTH="20%" |
| 6738 | ALIGN="RIGHT" |
| 6739 | VALIGN="TOP" |
| 6740 | ><TT |
| 6741 | CLASS="PARAMETER" |
| 6742 | ><I |
| 6743 | >doc</I |
| 6744 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6745 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6746 | ><TD |
| 6747 | WIDTH="80%" |
| 6748 | ALIGN="LEFT" |
| 6749 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6750 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6751 | ></TR |
| 6752 | ><TR |
| 6753 | ><TD |
| 6754 | WIDTH="20%" |
| 6755 | ALIGN="RIGHT" |
| 6756 | VALIGN="TOP" |
| 6757 | ><TT |
| 6758 | CLASS="PARAMETER" |
| 6759 | ><I |
| 6760 | >elem</I |
| 6761 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6762 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6763 | ><TD |
| 6764 | WIDTH="80%" |
| 6765 | ALIGN="LEFT" |
| 6766 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6767 | > an element instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6768 | ></TR |
| 6769 | ><TR |
| 6770 | ><TD |
| 6771 | WIDTH="20%" |
| 6772 | ALIGN="RIGHT" |
| 6773 | VALIGN="TOP" |
| 6774 | ><TT |
| 6775 | CLASS="PARAMETER" |
| 6776 | ><I |
| 6777 | >attr</I |
| 6778 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6779 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6780 | ><TD |
| 6781 | WIDTH="80%" |
| 6782 | ALIGN="LEFT" |
| 6783 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6784 | > an attribute instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6785 | ></TR |
| 6786 | ><TR |
| 6787 | ><TD |
| 6788 | WIDTH="20%" |
| 6789 | ALIGN="RIGHT" |
| 6790 | VALIGN="TOP" |
| 6791 | ><TT |
| 6792 | CLASS="PARAMETER" |
| 6793 | ><I |
| 6794 | >value</I |
| 6795 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6796 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6797 | ><TD |
| 6798 | WIDTH="80%" |
| 6799 | ALIGN="LEFT" |
| 6800 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6801 | > the attribute value (without entities processing)</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6802 | ></TR |
| 6803 | ><TR |
| 6804 | ><TD |
| 6805 | WIDTH="20%" |
| 6806 | ALIGN="RIGHT" |
| 6807 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6808 | ><SPAN |
| 6809 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6810 | ><I |
| 6811 | CLASS="EMPHASIS" |
| 6812 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6813 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6814 | > :</TD |
| 6815 | ><TD |
| 6816 | WIDTH="80%" |
| 6817 | ALIGN="LEFT" |
| 6818 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6819 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6820 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6821 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6822 | ></TABLE |
| 6823 | ><P |
| 6824 | ></P |
| 6825 | ></DIV |
| 6826 | ></DIV |
| 6827 | ><HR><DIV |
| 6828 | CLASS="REFSECT2" |
| 6829 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6830 | NAME="AEN10195" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6831 | ></A |
| 6832 | ><H3 |
| 6833 | ><A |
| 6834 | NAME="XMLVALIDATEDOCUMENTFINAL" |
| 6835 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6836 | >xmlValidateDocumentFinal ()</H3 |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6837 | ><TABLE |
| 6838 | BORDER="0" |
| 6839 | BGCOLOR="#D6E8FF" |
| 6840 | WIDTH="100%" |
| 6841 | CELLPADDING="6" |
| 6842 | ><TR |
| 6843 | ><TD |
| 6844 | ><PRE |
| 6845 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6846 | >int xmlValidateDocumentFinal (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6847 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6848 | >xmlValidCtxtPtr</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6849 | > ctxt, |
| 6850 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6851 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6852 | >xmlDocPtr</A |
| 6853 | > doc);</PRE |
| 6854 | ></TD |
| 6855 | ></TR |
| 6856 | ></TABLE |
| 6857 | ><P |
| 6858 | >Does the final step for the document validation once all the |
| 6859 | incremental validation steps have been completed</P |
| 6860 | ><P |
| 6861 | >basically it does the following checks described by the XML Rec</P |
| 6862 | ><P |
| 6863 | ></P |
| 6864 | ><DIV |
| 6865 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6866 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6867 | NAME="AEN10204"><P |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6868 | ></P |
| 6869 | ><TABLE |
| 6870 | BORDER="0" |
| 6871 | WIDTH="100%" |
| 6872 | BGCOLOR="#FFD0D0" |
| 6873 | CELLSPACING="0" |
| 6874 | CELLPADDING="4" |
| 6875 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6876 | ><TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6877 | ><TR |
| 6878 | ><TD |
| 6879 | WIDTH="20%" |
| 6880 | ALIGN="RIGHT" |
| 6881 | VALIGN="TOP" |
| 6882 | ><TT |
| 6883 | CLASS="PARAMETER" |
| 6884 | ><I |
| 6885 | >ctxt</I |
| 6886 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6887 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6888 | ><TD |
| 6889 | WIDTH="80%" |
| 6890 | ALIGN="LEFT" |
| 6891 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6892 | > the validation context</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6893 | ></TR |
| 6894 | ><TR |
| 6895 | ><TD |
| 6896 | WIDTH="20%" |
| 6897 | ALIGN="RIGHT" |
| 6898 | VALIGN="TOP" |
| 6899 | ><TT |
| 6900 | CLASS="PARAMETER" |
| 6901 | ><I |
| 6902 | >doc</I |
| 6903 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6904 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6905 | ><TD |
| 6906 | WIDTH="80%" |
| 6907 | ALIGN="LEFT" |
| 6908 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6909 | > a document instance</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6910 | ></TR |
| 6911 | ><TR |
| 6912 | ><TD |
| 6913 | WIDTH="20%" |
| 6914 | ALIGN="RIGHT" |
| 6915 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6916 | ><SPAN |
| 6917 | CLASS="emphasis" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6918 | ><I |
| 6919 | CLASS="EMPHASIS" |
| 6920 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 6921 | ></SPAN |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6922 | > :</TD |
| 6923 | ><TD |
| 6924 | WIDTH="80%" |
| 6925 | ALIGN="LEFT" |
| 6926 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6927 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6928 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6929 | ></TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6930 | ></TABLE |
| 6931 | ><P |
| 6932 | ></P |
| 6933 | ></DIV |
| 6934 | ></DIV |
| 6935 | ><HR><DIV |
| 6936 | CLASS="REFSECT2" |
| 6937 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6938 | NAME="AEN10221" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6939 | ></A |
| 6940 | ><H3 |
| 6941 | ><A |
| 6942 | NAME="XMLVALIDATENOTATIONUSE" |
| 6943 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6944 | >xmlValidateNotationUse ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6945 | ><TABLE |
| 6946 | BORDER="0" |
| 6947 | BGCOLOR="#D6E8FF" |
| 6948 | WIDTH="100%" |
| 6949 | CELLPADDING="6" |
| 6950 | ><TR |
| 6951 | ><TD |
| 6952 | ><PRE |
| 6953 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6954 | >int xmlValidateNotationUse (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6955 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6956 | >xmlValidCtxtPtr</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6957 | > ctxt, |
| 6958 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6959 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6960 | >xmlDocPtr</A |
| 6961 | > doc, |
| 6962 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6963 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 6964 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6965 | > *notationName);</PRE |
| 6966 | ></TD |
| 6967 | ></TR |
| 6968 | ></TABLE |
| 6969 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 6970 | >Validate that the given name match a notation declaration. |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6971 | - [ VC: Notation Declared ]</P |
| 6972 | ><P |
| 6973 | ></P |
| 6974 | ><DIV |
| 6975 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6976 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 6977 | NAME="AEN10230"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6978 | ></P |
| 6979 | ><TABLE |
| 6980 | BORDER="0" |
| 6981 | WIDTH="100%" |
| 6982 | BGCOLOR="#FFD0D0" |
| 6983 | CELLSPACING="0" |
| 6984 | CELLPADDING="4" |
| 6985 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6986 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6987 | ><TR |
| 6988 | ><TD |
| 6989 | WIDTH="20%" |
| 6990 | ALIGN="RIGHT" |
| 6991 | VALIGN="TOP" |
| 6992 | ><TT |
| 6993 | CLASS="PARAMETER" |
| 6994 | ><I |
| 6995 | >ctxt</I |
| 6996 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6997 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6998 | ><TD |
| 6999 | WIDTH="80%" |
| 7000 | ALIGN="LEFT" |
| 7001 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7002 | > the validation context</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7003 | ></TR |
| 7004 | ><TR |
| 7005 | ><TD |
| 7006 | WIDTH="20%" |
| 7007 | ALIGN="RIGHT" |
| 7008 | VALIGN="TOP" |
| 7009 | ><TT |
| 7010 | CLASS="PARAMETER" |
| 7011 | ><I |
| 7012 | >doc</I |
| 7013 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7014 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7015 | ><TD |
| 7016 | WIDTH="80%" |
| 7017 | ALIGN="LEFT" |
| 7018 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7019 | > the document</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7020 | ></TR |
| 7021 | ><TR |
| 7022 | ><TD |
| 7023 | WIDTH="20%" |
| 7024 | ALIGN="RIGHT" |
| 7025 | VALIGN="TOP" |
| 7026 | ><TT |
| 7027 | CLASS="PARAMETER" |
| 7028 | ><I |
| 7029 | >notationName</I |
| 7030 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7031 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7032 | ><TD |
| 7033 | WIDTH="80%" |
| 7034 | ALIGN="LEFT" |
| 7035 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7036 | > the notation name to check</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7037 | ></TR |
| 7038 | ><TR |
| 7039 | ><TD |
| 7040 | WIDTH="20%" |
| 7041 | ALIGN="RIGHT" |
| 7042 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7043 | ><SPAN |
| 7044 | CLASS="emphasis" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7045 | ><I |
| 7046 | CLASS="EMPHASIS" |
| 7047 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7048 | ></SPAN |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7049 | > :</TD |
| 7050 | ><TD |
| 7051 | WIDTH="80%" |
| 7052 | ALIGN="LEFT" |
| 7053 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7054 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7055 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7056 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7057 | ></TABLE |
| 7058 | ><P |
| 7059 | ></P |
| 7060 | ></DIV |
| 7061 | ></DIV |
| 7062 | ><HR><DIV |
| 7063 | CLASS="REFSECT2" |
| 7064 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7065 | NAME="AEN10251" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7066 | ></A |
| 7067 | ><H3 |
| 7068 | ><A |
| 7069 | NAME="XMLISMIXEDELEMENT" |
| 7070 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7071 | >xmlIsMixedElement ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7072 | ><TABLE |
| 7073 | BORDER="0" |
| 7074 | BGCOLOR="#D6E8FF" |
| 7075 | WIDTH="100%" |
| 7076 | CELLPADDING="6" |
| 7077 | ><TR |
| 7078 | ><TD |
| 7079 | ><PRE |
| 7080 | CLASS="PROGRAMLISTING" |
| 7081 | >int xmlIsMixedElement (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7082 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7083 | >xmlDocPtr</A |
| 7084 | > doc, |
| 7085 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7086 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7087 | >xmlChar</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7088 | > *name);</PRE |
| 7089 | ></TD |
| 7090 | ></TR |
| 7091 | ></TABLE |
| 7092 | ><P |
| 7093 | >Search in the DtDs whether an element accept Mixed content (or ANY) |
| 7094 | basically if it is supposed to accept text childs</P |
| 7095 | ><P |
| 7096 | ></P |
| 7097 | ><DIV |
| 7098 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7099 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7100 | NAME="AEN10259"><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7101 | ></P |
| 7102 | ><TABLE |
| 7103 | BORDER="0" |
| 7104 | WIDTH="100%" |
| 7105 | BGCOLOR="#FFD0D0" |
| 7106 | CELLSPACING="0" |
| 7107 | CELLPADDING="4" |
| 7108 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7109 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7110 | ><TR |
| 7111 | ><TD |
| 7112 | WIDTH="20%" |
| 7113 | ALIGN="RIGHT" |
| 7114 | VALIGN="TOP" |
| 7115 | ><TT |
| 7116 | CLASS="PARAMETER" |
| 7117 | ><I |
| 7118 | >doc</I |
| 7119 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7120 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7121 | ><TD |
| 7122 | WIDTH="80%" |
| 7123 | ALIGN="LEFT" |
| 7124 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7125 | > the document</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7126 | ></TR |
| 7127 | ><TR |
| 7128 | ><TD |
| 7129 | WIDTH="20%" |
| 7130 | ALIGN="RIGHT" |
| 7131 | VALIGN="TOP" |
| 7132 | ><TT |
| 7133 | CLASS="PARAMETER" |
| 7134 | ><I |
| 7135 | >name</I |
| 7136 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7137 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7138 | ><TD |
| 7139 | WIDTH="80%" |
| 7140 | ALIGN="LEFT" |
| 7141 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7142 | > the element name</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7143 | ></TR |
| 7144 | ><TR |
| 7145 | ><TD |
| 7146 | WIDTH="20%" |
| 7147 | ALIGN="RIGHT" |
| 7148 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7149 | ><SPAN |
| 7150 | CLASS="emphasis" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7151 | ><I |
| 7152 | CLASS="EMPHASIS" |
| 7153 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7154 | ></SPAN |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7155 | > :</TD |
| 7156 | ><TD |
| 7157 | WIDTH="80%" |
| 7158 | ALIGN="LEFT" |
| 7159 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7160 | >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] | 7161 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7162 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7163 | ></TABLE |
| 7164 | ><P |
| 7165 | ></P |
| 7166 | ></DIV |
| 7167 | ></DIV |
| 7168 | ><HR><DIV |
| 7169 | CLASS="REFSECT2" |
| 7170 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7171 | NAME="AEN10276" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7172 | ></A |
| 7173 | ><H3 |
| 7174 | ><A |
| 7175 | NAME="XMLGETDTDATTRDESC" |
| 7176 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7177 | >xmlGetDtdAttrDesc ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7178 | ><TABLE |
| 7179 | BORDER="0" |
| 7180 | BGCOLOR="#D6E8FF" |
| 7181 | WIDTH="100%" |
| 7182 | CELLPADDING="6" |
| 7183 | ><TR |
| 7184 | ><TD |
| 7185 | ><PRE |
| 7186 | CLASS="PROGRAMLISTING" |
| 7187 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7188 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7189 | >xmlAttributePtr</A |
| 7190 | > xmlGetDtdAttrDesc (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7191 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7192 | >xmlDtdPtr</A |
| 7193 | > dtd, |
| 7194 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7195 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7196 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7197 | > *elem, |
| 7198 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7199 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7200 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7201 | > *name);</PRE |
| 7202 | ></TD |
| 7203 | ></TR |
| 7204 | ></TABLE |
| 7205 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7206 | >Search the DTD for the description of this attribute on |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7207 | this element.</P |
| 7208 | ><P |
| 7209 | ></P |
| 7210 | ><DIV |
| 7211 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7212 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7213 | NAME="AEN10286"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7214 | ></P |
| 7215 | ><TABLE |
| 7216 | BORDER="0" |
| 7217 | WIDTH="100%" |
| 7218 | BGCOLOR="#FFD0D0" |
| 7219 | CELLSPACING="0" |
| 7220 | CELLPADDING="4" |
| 7221 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7222 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7223 | ><TR |
| 7224 | ><TD |
| 7225 | WIDTH="20%" |
| 7226 | ALIGN="RIGHT" |
| 7227 | VALIGN="TOP" |
| 7228 | ><TT |
| 7229 | CLASS="PARAMETER" |
| 7230 | ><I |
| 7231 | >dtd</I |
| 7232 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7233 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7234 | ><TD |
| 7235 | WIDTH="80%" |
| 7236 | ALIGN="LEFT" |
| 7237 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7238 | > a pointer to the DtD to search</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7239 | ></TR |
| 7240 | ><TR |
| 7241 | ><TD |
| 7242 | WIDTH="20%" |
| 7243 | ALIGN="RIGHT" |
| 7244 | VALIGN="TOP" |
| 7245 | ><TT |
| 7246 | CLASS="PARAMETER" |
| 7247 | ><I |
| 7248 | >elem</I |
| 7249 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7250 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7251 | ><TD |
| 7252 | WIDTH="80%" |
| 7253 | ALIGN="LEFT" |
| 7254 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7255 | > the element name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7256 | ></TR |
| 7257 | ><TR |
| 7258 | ><TD |
| 7259 | WIDTH="20%" |
| 7260 | ALIGN="RIGHT" |
| 7261 | VALIGN="TOP" |
| 7262 | ><TT |
| 7263 | CLASS="PARAMETER" |
| 7264 | ><I |
| 7265 | >name</I |
| 7266 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7267 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7268 | ><TD |
| 7269 | WIDTH="80%" |
| 7270 | ALIGN="LEFT" |
| 7271 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7272 | > the attribute name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7273 | ></TR |
| 7274 | ><TR |
| 7275 | ><TD |
| 7276 | WIDTH="20%" |
| 7277 | ALIGN="RIGHT" |
| 7278 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7279 | ><SPAN |
| 7280 | CLASS="emphasis" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7281 | ><I |
| 7282 | CLASS="EMPHASIS" |
| 7283 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7284 | ></SPAN |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7285 | > :</TD |
| 7286 | ><TD |
| 7287 | WIDTH="80%" |
| 7288 | ALIGN="LEFT" |
| 7289 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7290 | >the xmlAttributePtr if found or NULL</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7291 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7292 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7293 | ></TABLE |
| 7294 | ><P |
| 7295 | ></P |
| 7296 | ></DIV |
| 7297 | ></DIV |
| 7298 | ><HR><DIV |
| 7299 | CLASS="REFSECT2" |
| 7300 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7301 | NAME="AEN10307" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7302 | ></A |
| 7303 | ><H3 |
| 7304 | ><A |
| 7305 | NAME="XMLGETDTDQATTRDESC" |
| 7306 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7307 | >xmlGetDtdQAttrDesc ()</H3 |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7308 | ><TABLE |
| 7309 | BORDER="0" |
| 7310 | BGCOLOR="#D6E8FF" |
| 7311 | WIDTH="100%" |
| 7312 | CELLPADDING="6" |
| 7313 | ><TR |
| 7314 | ><TD |
| 7315 | ><PRE |
| 7316 | CLASS="PROGRAMLISTING" |
| 7317 | ><A |
| 7318 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
| 7319 | >xmlAttributePtr</A |
| 7320 | > xmlGetDtdQAttrDesc (<A |
| 7321 | HREF="libxml-tree.html#XMLDTDPTR" |
| 7322 | >xmlDtdPtr</A |
| 7323 | > dtd, |
| 7324 | const <A |
| 7325 | HREF="libxml-tree.html#XMLCHAR" |
| 7326 | >xmlChar</A |
| 7327 | > *elem, |
| 7328 | const <A |
| 7329 | HREF="libxml-tree.html#XMLCHAR" |
| 7330 | >xmlChar</A |
| 7331 | > *name, |
| 7332 | const <A |
| 7333 | HREF="libxml-tree.html#XMLCHAR" |
| 7334 | >xmlChar</A |
| 7335 | > *prefix);</PRE |
| 7336 | ></TD |
| 7337 | ></TR |
| 7338 | ></TABLE |
| 7339 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7340 | >Search the DTD for the description of this qualified attribute on |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7341 | this element.</P |
| 7342 | ><P |
| 7343 | ></P |
| 7344 | ><DIV |
| 7345 | CLASS="INFORMALTABLE" |
| 7346 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7347 | NAME="AEN10318"><P |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7348 | ></P |
| 7349 | ><TABLE |
| 7350 | BORDER="0" |
| 7351 | WIDTH="100%" |
| 7352 | BGCOLOR="#FFD0D0" |
| 7353 | CELLSPACING="0" |
| 7354 | CELLPADDING="4" |
| 7355 | CLASS="CALSTABLE" |
| 7356 | ><TBODY |
| 7357 | ><TR |
| 7358 | ><TD |
| 7359 | WIDTH="20%" |
| 7360 | ALIGN="RIGHT" |
| 7361 | VALIGN="TOP" |
| 7362 | ><TT |
| 7363 | CLASS="PARAMETER" |
| 7364 | ><I |
| 7365 | >dtd</I |
| 7366 | ></TT |
| 7367 | > :</TD |
| 7368 | ><TD |
| 7369 | WIDTH="80%" |
| 7370 | ALIGN="LEFT" |
| 7371 | VALIGN="TOP" |
| 7372 | > a pointer to the DtD to search</TD |
| 7373 | ></TR |
| 7374 | ><TR |
| 7375 | ><TD |
| 7376 | WIDTH="20%" |
| 7377 | ALIGN="RIGHT" |
| 7378 | VALIGN="TOP" |
| 7379 | ><TT |
| 7380 | CLASS="PARAMETER" |
| 7381 | ><I |
| 7382 | >elem</I |
| 7383 | ></TT |
| 7384 | > :</TD |
| 7385 | ><TD |
| 7386 | WIDTH="80%" |
| 7387 | ALIGN="LEFT" |
| 7388 | VALIGN="TOP" |
| 7389 | > the element name</TD |
| 7390 | ></TR |
| 7391 | ><TR |
| 7392 | ><TD |
| 7393 | WIDTH="20%" |
| 7394 | ALIGN="RIGHT" |
| 7395 | VALIGN="TOP" |
| 7396 | ><TT |
| 7397 | CLASS="PARAMETER" |
| 7398 | ><I |
| 7399 | >name</I |
| 7400 | ></TT |
| 7401 | > :</TD |
| 7402 | ><TD |
| 7403 | WIDTH="80%" |
| 7404 | ALIGN="LEFT" |
| 7405 | VALIGN="TOP" |
| 7406 | > the attribute name</TD |
| 7407 | ></TR |
| 7408 | ><TR |
| 7409 | ><TD |
| 7410 | WIDTH="20%" |
| 7411 | ALIGN="RIGHT" |
| 7412 | VALIGN="TOP" |
| 7413 | ><TT |
| 7414 | CLASS="PARAMETER" |
| 7415 | ><I |
| 7416 | >prefix</I |
| 7417 | ></TT |
| 7418 | > :</TD |
| 7419 | ><TD |
| 7420 | WIDTH="80%" |
| 7421 | ALIGN="LEFT" |
| 7422 | VALIGN="TOP" |
| 7423 | > the attribute namespace prefix</TD |
| 7424 | ></TR |
| 7425 | ><TR |
| 7426 | ><TD |
| 7427 | WIDTH="20%" |
| 7428 | ALIGN="RIGHT" |
| 7429 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7430 | ><SPAN |
| 7431 | CLASS="emphasis" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7432 | ><I |
| 7433 | CLASS="EMPHASIS" |
| 7434 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7435 | ></SPAN |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7436 | > :</TD |
| 7437 | ><TD |
| 7438 | WIDTH="80%" |
| 7439 | ALIGN="LEFT" |
| 7440 | VALIGN="TOP" |
| 7441 | >the xmlAttributePtr if found or NULL</TD |
| 7442 | ></TR |
| 7443 | ></TBODY |
| 7444 | ></TABLE |
| 7445 | ><P |
| 7446 | ></P |
| 7447 | ></DIV |
| 7448 | ></DIV |
| 7449 | ><HR><DIV |
| 7450 | CLASS="REFSECT2" |
| 7451 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7452 | NAME="AEN10343" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7453 | ></A |
| 7454 | ><H3 |
| 7455 | ><A |
| 7456 | NAME="XMLGETDTDNOTATIONDESC" |
| 7457 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7458 | >xmlGetDtdNotationDesc ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7459 | ><TABLE |
| 7460 | BORDER="0" |
| 7461 | BGCOLOR="#D6E8FF" |
| 7462 | WIDTH="100%" |
| 7463 | CELLPADDING="6" |
| 7464 | ><TR |
| 7465 | ><TD |
| 7466 | ><PRE |
| 7467 | CLASS="PROGRAMLISTING" |
| 7468 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7469 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7470 | >xmlNotationPtr</A |
| 7471 | > xmlGetDtdNotationDesc (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7472 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7473 | >xmlDtdPtr</A |
| 7474 | > dtd, |
| 7475 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7476 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7477 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7478 | > *name);</PRE |
| 7479 | ></TD |
| 7480 | ></TR |
| 7481 | ></TABLE |
| 7482 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7483 | >Search the DTD for the description of this notation</P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7484 | ><P |
| 7485 | ></P |
| 7486 | ><DIV |
| 7487 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7488 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7489 | NAME="AEN10352"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7490 | ></P |
| 7491 | ><TABLE |
| 7492 | BORDER="0" |
| 7493 | WIDTH="100%" |
| 7494 | BGCOLOR="#FFD0D0" |
| 7495 | CELLSPACING="0" |
| 7496 | CELLPADDING="4" |
| 7497 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7498 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7499 | ><TR |
| 7500 | ><TD |
| 7501 | WIDTH="20%" |
| 7502 | ALIGN="RIGHT" |
| 7503 | VALIGN="TOP" |
| 7504 | ><TT |
| 7505 | CLASS="PARAMETER" |
| 7506 | ><I |
| 7507 | >dtd</I |
| 7508 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7509 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7510 | ><TD |
| 7511 | WIDTH="80%" |
| 7512 | ALIGN="LEFT" |
| 7513 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7514 | > a pointer to the DtD to search</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7515 | ></TR |
| 7516 | ><TR |
| 7517 | ><TD |
| 7518 | WIDTH="20%" |
| 7519 | ALIGN="RIGHT" |
| 7520 | VALIGN="TOP" |
| 7521 | ><TT |
| 7522 | CLASS="PARAMETER" |
| 7523 | ><I |
| 7524 | >name</I |
| 7525 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7526 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7527 | ><TD |
| 7528 | WIDTH="80%" |
| 7529 | ALIGN="LEFT" |
| 7530 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7531 | > the notation name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7532 | ></TR |
| 7533 | ><TR |
| 7534 | ><TD |
| 7535 | WIDTH="20%" |
| 7536 | ALIGN="RIGHT" |
| 7537 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7538 | ><SPAN |
| 7539 | CLASS="emphasis" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7540 | ><I |
| 7541 | CLASS="EMPHASIS" |
| 7542 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7543 | ></SPAN |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7544 | > :</TD |
| 7545 | ><TD |
| 7546 | WIDTH="80%" |
| 7547 | ALIGN="LEFT" |
| 7548 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7549 | >the xmlNotationPtr if found or NULL</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7550 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7551 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7552 | ></TABLE |
| 7553 | ><P |
| 7554 | ></P |
| 7555 | ></DIV |
| 7556 | ></DIV |
| 7557 | ><HR><DIV |
| 7558 | CLASS="REFSECT2" |
| 7559 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7560 | NAME="AEN10369" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7561 | ></A |
| 7562 | ><H3 |
| 7563 | ><A |
| 7564 | NAME="XMLGETDTDQELEMENTDESC" |
| 7565 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7566 | >xmlGetDtdQElementDesc ()</H3 |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7567 | ><TABLE |
| 7568 | BORDER="0" |
| 7569 | BGCOLOR="#D6E8FF" |
| 7570 | WIDTH="100%" |
| 7571 | CELLPADDING="6" |
| 7572 | ><TR |
| 7573 | ><TD |
| 7574 | ><PRE |
| 7575 | CLASS="PROGRAMLISTING" |
| 7576 | ><A |
| 7577 | HREF="libxml-tree.html#XMLELEMENTPTR" |
| 7578 | >xmlElementPtr</A |
| 7579 | > xmlGetDtdQElementDesc (<A |
| 7580 | HREF="libxml-tree.html#XMLDTDPTR" |
| 7581 | >xmlDtdPtr</A |
| 7582 | > dtd, |
| 7583 | const <A |
| 7584 | HREF="libxml-tree.html#XMLCHAR" |
| 7585 | >xmlChar</A |
| 7586 | > *name, |
| 7587 | const <A |
| 7588 | HREF="libxml-tree.html#XMLCHAR" |
| 7589 | >xmlChar</A |
| 7590 | > *prefix);</PRE |
| 7591 | ></TD |
| 7592 | ></TR |
| 7593 | ></TABLE |
| 7594 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7595 | >Search the DTD for the description of this element</P |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7596 | ><P |
| 7597 | ></P |
| 7598 | ><DIV |
| 7599 | CLASS="INFORMALTABLE" |
| 7600 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7601 | NAME="AEN10379"><P |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7602 | ></P |
| 7603 | ><TABLE |
| 7604 | BORDER="0" |
| 7605 | WIDTH="100%" |
| 7606 | BGCOLOR="#FFD0D0" |
| 7607 | CELLSPACING="0" |
| 7608 | CELLPADDING="4" |
| 7609 | CLASS="CALSTABLE" |
| 7610 | ><TBODY |
| 7611 | ><TR |
| 7612 | ><TD |
| 7613 | WIDTH="20%" |
| 7614 | ALIGN="RIGHT" |
| 7615 | VALIGN="TOP" |
| 7616 | ><TT |
| 7617 | CLASS="PARAMETER" |
| 7618 | ><I |
| 7619 | >dtd</I |
| 7620 | ></TT |
| 7621 | > :</TD |
| 7622 | ><TD |
| 7623 | WIDTH="80%" |
| 7624 | ALIGN="LEFT" |
| 7625 | VALIGN="TOP" |
| 7626 | > a pointer to the DtD to search</TD |
| 7627 | ></TR |
| 7628 | ><TR |
| 7629 | ><TD |
| 7630 | WIDTH="20%" |
| 7631 | ALIGN="RIGHT" |
| 7632 | VALIGN="TOP" |
| 7633 | ><TT |
| 7634 | CLASS="PARAMETER" |
| 7635 | ><I |
| 7636 | >name</I |
| 7637 | ></TT |
| 7638 | > :</TD |
| 7639 | ><TD |
| 7640 | WIDTH="80%" |
| 7641 | ALIGN="LEFT" |
| 7642 | VALIGN="TOP" |
| 7643 | > the element name</TD |
| 7644 | ></TR |
| 7645 | ><TR |
| 7646 | ><TD |
| 7647 | WIDTH="20%" |
| 7648 | ALIGN="RIGHT" |
| 7649 | VALIGN="TOP" |
| 7650 | ><TT |
| 7651 | CLASS="PARAMETER" |
| 7652 | ><I |
| 7653 | >prefix</I |
| 7654 | ></TT |
| 7655 | > :</TD |
| 7656 | ><TD |
| 7657 | WIDTH="80%" |
| 7658 | ALIGN="LEFT" |
| 7659 | VALIGN="TOP" |
| 7660 | > the element namespace prefix</TD |
| 7661 | ></TR |
| 7662 | ><TR |
| 7663 | ><TD |
| 7664 | WIDTH="20%" |
| 7665 | ALIGN="RIGHT" |
| 7666 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7667 | ><SPAN |
| 7668 | CLASS="emphasis" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7669 | ><I |
| 7670 | CLASS="EMPHASIS" |
| 7671 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7672 | ></SPAN |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7673 | > :</TD |
| 7674 | ><TD |
| 7675 | WIDTH="80%" |
| 7676 | ALIGN="LEFT" |
| 7677 | VALIGN="TOP" |
| 7678 | >the xmlElementPtr if found or NULL</TD |
| 7679 | ></TR |
| 7680 | ></TBODY |
| 7681 | ></TABLE |
| 7682 | ><P |
| 7683 | ></P |
| 7684 | ></DIV |
| 7685 | ></DIV |
| 7686 | ><HR><DIV |
| 7687 | CLASS="REFSECT2" |
| 7688 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7689 | NAME="AEN10400" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7690 | ></A |
| 7691 | ><H3 |
| 7692 | ><A |
| 7693 | NAME="XMLGETDTDELEMENTDESC" |
| 7694 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7695 | >xmlGetDtdElementDesc ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7696 | ><TABLE |
| 7697 | BORDER="0" |
| 7698 | BGCOLOR="#D6E8FF" |
| 7699 | WIDTH="100%" |
| 7700 | CELLPADDING="6" |
| 7701 | ><TR |
| 7702 | ><TD |
| 7703 | ><PRE |
| 7704 | CLASS="PROGRAMLISTING" |
| 7705 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7706 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7707 | >xmlElementPtr</A |
| 7708 | > xmlGetDtdElementDesc (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7709 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7710 | >xmlDtdPtr</A |
| 7711 | > dtd, |
| 7712 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7713 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7714 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7715 | > *name);</PRE |
| 7716 | ></TD |
| 7717 | ></TR |
| 7718 | ></TABLE |
| 7719 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7720 | >Search the DTD for the description of this element</P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7721 | ><P |
| 7722 | ></P |
| 7723 | ><DIV |
| 7724 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7725 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7726 | NAME="AEN10409"><P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7727 | ></P |
| 7728 | ><TABLE |
| 7729 | BORDER="0" |
| 7730 | WIDTH="100%" |
| 7731 | BGCOLOR="#FFD0D0" |
| 7732 | CELLSPACING="0" |
| 7733 | CELLPADDING="4" |
| 7734 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7735 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7736 | ><TR |
| 7737 | ><TD |
| 7738 | WIDTH="20%" |
| 7739 | ALIGN="RIGHT" |
| 7740 | VALIGN="TOP" |
| 7741 | ><TT |
| 7742 | CLASS="PARAMETER" |
| 7743 | ><I |
| 7744 | >dtd</I |
| 7745 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7746 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7747 | ><TD |
| 7748 | WIDTH="80%" |
| 7749 | ALIGN="LEFT" |
| 7750 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7751 | > a pointer to the DtD to search</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7752 | ></TR |
| 7753 | ><TR |
| 7754 | ><TD |
| 7755 | WIDTH="20%" |
| 7756 | ALIGN="RIGHT" |
| 7757 | VALIGN="TOP" |
| 7758 | ><TT |
| 7759 | CLASS="PARAMETER" |
| 7760 | ><I |
| 7761 | >name</I |
| 7762 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7763 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7764 | ><TD |
| 7765 | WIDTH="80%" |
| 7766 | ALIGN="LEFT" |
| 7767 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7768 | > the element name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7769 | ></TR |
| 7770 | ><TR |
| 7771 | ><TD |
| 7772 | WIDTH="20%" |
| 7773 | ALIGN="RIGHT" |
| 7774 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7775 | ><SPAN |
| 7776 | CLASS="emphasis" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7777 | ><I |
| 7778 | CLASS="EMPHASIS" |
| 7779 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7780 | ></SPAN |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7781 | > :</TD |
| 7782 | ><TD |
| 7783 | WIDTH="80%" |
| 7784 | ALIGN="LEFT" |
| 7785 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7786 | >the xmlElementPtr if found or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7787 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7788 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7789 | ></TABLE |
| 7790 | ><P |
| 7791 | ></P |
| 7792 | ></DIV |
| 7793 | ></DIV |
| 7794 | ><HR><DIV |
| 7795 | CLASS="REFSECT2" |
| 7796 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7797 | NAME="AEN10426" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7798 | ></A |
| 7799 | ><H3 |
| 7800 | ><A |
| 7801 | NAME="XMLVALIDGETVALIDELEMENTS" |
| 7802 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7803 | >xmlValidGetValidElements ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7804 | ><TABLE |
| 7805 | BORDER="0" |
| 7806 | BGCOLOR="#D6E8FF" |
| 7807 | WIDTH="100%" |
| 7808 | CELLPADDING="6" |
| 7809 | ><TR |
| 7810 | ><TD |
| 7811 | ><PRE |
| 7812 | CLASS="PROGRAMLISTING" |
| 7813 | >int xmlValidGetValidElements (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7814 | HREF="libxml-tree.html#XMLNODE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7815 | >xmlNode</A |
| 7816 | > *prev, |
| 7817 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7818 | HREF="libxml-tree.html#XMLNODE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7819 | >xmlNode</A |
| 7820 | > *next, |
| 7821 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7822 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7823 | >xmlChar</A |
| 7824 | > **list, |
| 7825 | int max);</PRE |
| 7826 | ></TD |
| 7827 | ></TR |
| 7828 | ></TABLE |
| 7829 | ><P |
| 7830 | >This function returns the list of authorized children to insert |
| 7831 | within an existing tree while respecting the validity constraints |
| 7832 | forced by the Dtd. The insertion point is defined using <TT |
| 7833 | CLASS="PARAMETER" |
| 7834 | ><I |
| 7835 | >prev</I |
| 7836 | ></TT |
| 7837 | > and |
| 7838 | <TT |
| 7839 | CLASS="PARAMETER" |
| 7840 | ><I |
| 7841 | >next</I |
| 7842 | ></TT |
| 7843 | > in the following ways: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7844 | to insert before 'node': xmlValidGetValidElements(node->prev, node, ... |
| 7845 | to insert next 'node': xmlValidGetValidElements(node, node->next, ... |
| 7846 | to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... |
| 7847 | to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, |
| 7848 | to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ...</P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7849 | ><P |
| 7850 | >pointers to the element names are inserted at the beginning of the array |
| 7851 | and do not need to be freed.</P |
| 7852 | ><P |
| 7853 | ></P |
| 7854 | ><DIV |
| 7855 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7856 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7857 | NAME="AEN10438"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7858 | ></P |
| 7859 | ><TABLE |
| 7860 | BORDER="0" |
| 7861 | WIDTH="100%" |
| 7862 | BGCOLOR="#FFD0D0" |
| 7863 | CELLSPACING="0" |
| 7864 | CELLPADDING="4" |
| 7865 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7866 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7867 | ><TR |
| 7868 | ><TD |
| 7869 | WIDTH="20%" |
| 7870 | ALIGN="RIGHT" |
| 7871 | VALIGN="TOP" |
| 7872 | ><TT |
| 7873 | CLASS="PARAMETER" |
| 7874 | ><I |
| 7875 | >prev</I |
| 7876 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7877 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7878 | ><TD |
| 7879 | WIDTH="80%" |
| 7880 | ALIGN="LEFT" |
| 7881 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7882 | > an element to insert after</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7883 | ></TR |
| 7884 | ><TR |
| 7885 | ><TD |
| 7886 | WIDTH="20%" |
| 7887 | ALIGN="RIGHT" |
| 7888 | VALIGN="TOP" |
| 7889 | ><TT |
| 7890 | CLASS="PARAMETER" |
| 7891 | ><I |
| 7892 | >next</I |
| 7893 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7894 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7895 | ><TD |
| 7896 | WIDTH="80%" |
| 7897 | ALIGN="LEFT" |
| 7898 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7899 | > an element to insert next</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7900 | ></TR |
| 7901 | ><TR |
| 7902 | ><TD |
| 7903 | WIDTH="20%" |
| 7904 | ALIGN="RIGHT" |
| 7905 | VALIGN="TOP" |
| 7906 | ><TT |
| 7907 | CLASS="PARAMETER" |
| 7908 | ><I |
| 7909 | >list</I |
| 7910 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7911 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7912 | ><TD |
| 7913 | WIDTH="80%" |
| 7914 | ALIGN="LEFT" |
| 7915 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7916 | > an array to store the list of child names</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7917 | ></TR |
| 7918 | ><TR |
| 7919 | ><TD |
| 7920 | WIDTH="20%" |
| 7921 | ALIGN="RIGHT" |
| 7922 | VALIGN="TOP" |
| 7923 | ><TT |
| 7924 | CLASS="PARAMETER" |
| 7925 | ><I |
| 7926 | >max</I |
| 7927 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7928 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7929 | ><TD |
| 7930 | WIDTH="80%" |
| 7931 | ALIGN="LEFT" |
| 7932 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7933 | > the size of the array</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7934 | ></TR |
| 7935 | ><TR |
| 7936 | ><TD |
| 7937 | WIDTH="20%" |
| 7938 | ALIGN="RIGHT" |
| 7939 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7940 | ><SPAN |
| 7941 | CLASS="emphasis" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7942 | ><I |
| 7943 | CLASS="EMPHASIS" |
| 7944 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7945 | ></SPAN |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7946 | > :</TD |
| 7947 | ><TD |
| 7948 | WIDTH="80%" |
| 7949 | ALIGN="LEFT" |
| 7950 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7951 | >the number of element in the list, or -1 in case of error. If |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7952 | the function returns the value <TT |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7953 | CLASS="PARAMETER" |
| 7954 | ><I |
| 7955 | >max</I |
| 7956 | ></TT |
| 7957 | > the caller is invited to grow the |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7958 | receiving array and retry.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7959 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7960 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7961 | ></TABLE |
| 7962 | ><P |
| 7963 | ></P |
| 7964 | ></DIV |
| 7965 | ></DIV |
| 7966 | ><HR><DIV |
| 7967 | CLASS="REFSECT2" |
| 7968 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 7969 | NAME="AEN10464" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7970 | ></A |
| 7971 | ><H3 |
| 7972 | ><A |
| 7973 | NAME="XMLVALIDGETPOTENTIALCHILDREN" |
| 7974 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7975 | >xmlValidGetPotentialChildren ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7976 | ><TABLE |
| 7977 | BORDER="0" |
| 7978 | BGCOLOR="#D6E8FF" |
| 7979 | WIDTH="100%" |
| 7980 | CELLPADDING="6" |
| 7981 | ><TR |
| 7982 | ><TD |
| 7983 | ><PRE |
| 7984 | CLASS="PROGRAMLISTING" |
| 7985 | >int xmlValidGetPotentialChildren (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7986 | HREF="libxml-tree.html#XMLELEMENTCONTENT" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7987 | >xmlElementContent</A |
| 7988 | > *ctree, |
| 7989 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7990 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7991 | >xmlChar</A |
| 7992 | > **list, |
| 7993 | int *len, |
| 7994 | int max);</PRE |
| 7995 | ></TD |
| 7996 | ></TR |
| 7997 | ></TABLE |
| 7998 | ><P |
| 7999 | >Build/extend a list of potential children allowed by the content tree</P |
| 8000 | ><P |
| 8001 | ></P |
| 8002 | ><DIV |
| 8003 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 8004 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8005 | NAME="AEN10472"><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8006 | ></P |
| 8007 | ><TABLE |
| 8008 | BORDER="0" |
| 8009 | WIDTH="100%" |
| 8010 | BGCOLOR="#FFD0D0" |
| 8011 | CELLSPACING="0" |
| 8012 | CELLPADDING="4" |
| 8013 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 8014 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8015 | ><TR |
| 8016 | ><TD |
| 8017 | WIDTH="20%" |
| 8018 | ALIGN="RIGHT" |
| 8019 | VALIGN="TOP" |
| 8020 | ><TT |
| 8021 | CLASS="PARAMETER" |
| 8022 | ><I |
| 8023 | >ctree</I |
| 8024 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 8025 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8026 | ><TD |
| 8027 | WIDTH="80%" |
| 8028 | ALIGN="LEFT" |
| 8029 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8030 | > an element content tree</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8031 | ></TR |
| 8032 | ><TR |
| 8033 | ><TD |
| 8034 | WIDTH="20%" |
| 8035 | ALIGN="RIGHT" |
| 8036 | VALIGN="TOP" |
| 8037 | ><TT |
| 8038 | CLASS="PARAMETER" |
| 8039 | ><I |
| 8040 | >list</I |
| 8041 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 8042 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8043 | ><TD |
| 8044 | WIDTH="80%" |
| 8045 | ALIGN="LEFT" |
| 8046 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8047 | > an array to store the list of child names</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8048 | ></TR |
| 8049 | ><TR |
| 8050 | ><TD |
| 8051 | WIDTH="20%" |
| 8052 | ALIGN="RIGHT" |
| 8053 | VALIGN="TOP" |
| 8054 | ><TT |
| 8055 | CLASS="PARAMETER" |
| 8056 | ><I |
| 8057 | >len</I |
| 8058 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 8059 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8060 | ><TD |
| 8061 | WIDTH="80%" |
| 8062 | ALIGN="LEFT" |
| 8063 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8064 | > a pointer to the number of element in the list</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8065 | ></TR |
| 8066 | ><TR |
| 8067 | ><TD |
| 8068 | WIDTH="20%" |
| 8069 | ALIGN="RIGHT" |
| 8070 | VALIGN="TOP" |
| 8071 | ><TT |
| 8072 | CLASS="PARAMETER" |
| 8073 | ><I |
| 8074 | >max</I |
| 8075 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 8076 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8077 | ><TD |
| 8078 | WIDTH="80%" |
| 8079 | ALIGN="LEFT" |
| 8080 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8081 | > the size of the array</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8082 | ></TR |
| 8083 | ><TR |
| 8084 | ><TD |
| 8085 | WIDTH="20%" |
| 8086 | ALIGN="RIGHT" |
| 8087 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8088 | ><SPAN |
| 8089 | CLASS="emphasis" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8090 | ><I |
| 8091 | CLASS="EMPHASIS" |
| 8092 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8093 | ></SPAN |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8094 | > :</TD |
| 8095 | ><TD |
| 8096 | WIDTH="80%" |
| 8097 | ALIGN="LEFT" |
| 8098 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8099 | >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] | 8100 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 8101 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8102 | ></TABLE |
| 8103 | ><P |
| 8104 | ></P |
| 8105 | ></DIV |
| 8106 | ></DIV |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8107 | ><HR><DIV |
| 8108 | CLASS="REFSECT2" |
| 8109 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8110 | NAME="AEN10497" |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8111 | ></A |
| 8112 | ><H3 |
| 8113 | ><A |
| 8114 | NAME="XMLVALIDATENAMEVALUE" |
| 8115 | ></A |
| 8116 | >xmlValidateNameValue ()</H3 |
| 8117 | ><TABLE |
| 8118 | BORDER="0" |
| 8119 | BGCOLOR="#D6E8FF" |
| 8120 | WIDTH="100%" |
| 8121 | CELLPADDING="6" |
| 8122 | ><TR |
| 8123 | ><TD |
| 8124 | ><PRE |
| 8125 | CLASS="PROGRAMLISTING" |
| 8126 | >int xmlValidateNameValue (const <A |
| 8127 | HREF="libxml-tree.html#XMLCHAR" |
| 8128 | >xmlChar</A |
| 8129 | > *value);</PRE |
| 8130 | ></TD |
| 8131 | ></TR |
| 8132 | ></TABLE |
| 8133 | ><P |
| 8134 | >Validate that the given value match Name production</P |
| 8135 | ><P |
| 8136 | ></P |
| 8137 | ><DIV |
| 8138 | CLASS="INFORMALTABLE" |
| 8139 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8140 | NAME="AEN10504"><P |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8141 | ></P |
| 8142 | ><TABLE |
| 8143 | BORDER="0" |
| 8144 | WIDTH="100%" |
| 8145 | BGCOLOR="#FFD0D0" |
| 8146 | CELLSPACING="0" |
| 8147 | CELLPADDING="4" |
| 8148 | CLASS="CALSTABLE" |
| 8149 | ><TBODY |
| 8150 | ><TR |
| 8151 | ><TD |
| 8152 | WIDTH="20%" |
| 8153 | ALIGN="RIGHT" |
| 8154 | VALIGN="TOP" |
| 8155 | ><TT |
| 8156 | CLASS="PARAMETER" |
| 8157 | ><I |
| 8158 | >value</I |
| 8159 | ></TT |
| 8160 | > :</TD |
| 8161 | ><TD |
| 8162 | WIDTH="80%" |
| 8163 | ALIGN="LEFT" |
| 8164 | VALIGN="TOP" |
| 8165 | > an Name value</TD |
| 8166 | ></TR |
| 8167 | ><TR |
| 8168 | ><TD |
| 8169 | WIDTH="20%" |
| 8170 | ALIGN="RIGHT" |
| 8171 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8172 | ><SPAN |
| 8173 | CLASS="emphasis" |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8174 | ><I |
| 8175 | CLASS="EMPHASIS" |
| 8176 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8177 | ></SPAN |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8178 | > :</TD |
| 8179 | ><TD |
| 8180 | WIDTH="80%" |
| 8181 | ALIGN="LEFT" |
| 8182 | VALIGN="TOP" |
| 8183 | >1 if valid or 0 otherwise</TD |
| 8184 | ></TR |
| 8185 | ></TBODY |
| 8186 | ></TABLE |
| 8187 | ><P |
| 8188 | ></P |
| 8189 | ></DIV |
| 8190 | ></DIV |
| 8191 | ><HR><DIV |
| 8192 | CLASS="REFSECT2" |
| 8193 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8194 | NAME="AEN10517" |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8195 | ></A |
| 8196 | ><H3 |
| 8197 | ><A |
| 8198 | NAME="XMLVALIDATENAMESVALUE" |
| 8199 | ></A |
| 8200 | >xmlValidateNamesValue ()</H3 |
| 8201 | ><TABLE |
| 8202 | BORDER="0" |
| 8203 | BGCOLOR="#D6E8FF" |
| 8204 | WIDTH="100%" |
| 8205 | CELLPADDING="6" |
| 8206 | ><TR |
| 8207 | ><TD |
| 8208 | ><PRE |
| 8209 | CLASS="PROGRAMLISTING" |
| 8210 | >int xmlValidateNamesValue (const <A |
| 8211 | HREF="libxml-tree.html#XMLCHAR" |
| 8212 | >xmlChar</A |
| 8213 | > *value);</PRE |
| 8214 | ></TD |
| 8215 | ></TR |
| 8216 | ></TABLE |
| 8217 | ><P |
| 8218 | >Validate that the given value match Names production</P |
| 8219 | ><P |
| 8220 | ></P |
| 8221 | ><DIV |
| 8222 | CLASS="INFORMALTABLE" |
| 8223 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8224 | NAME="AEN10524"><P |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8225 | ></P |
| 8226 | ><TABLE |
| 8227 | BORDER="0" |
| 8228 | WIDTH="100%" |
| 8229 | BGCOLOR="#FFD0D0" |
| 8230 | CELLSPACING="0" |
| 8231 | CELLPADDING="4" |
| 8232 | CLASS="CALSTABLE" |
| 8233 | ><TBODY |
| 8234 | ><TR |
| 8235 | ><TD |
| 8236 | WIDTH="20%" |
| 8237 | ALIGN="RIGHT" |
| 8238 | VALIGN="TOP" |
| 8239 | ><TT |
| 8240 | CLASS="PARAMETER" |
| 8241 | ><I |
| 8242 | >value</I |
| 8243 | ></TT |
| 8244 | > :</TD |
| 8245 | ><TD |
| 8246 | WIDTH="80%" |
| 8247 | ALIGN="LEFT" |
| 8248 | VALIGN="TOP" |
| 8249 | > an Names value</TD |
| 8250 | ></TR |
| 8251 | ><TR |
| 8252 | ><TD |
| 8253 | WIDTH="20%" |
| 8254 | ALIGN="RIGHT" |
| 8255 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8256 | ><SPAN |
| 8257 | CLASS="emphasis" |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8258 | ><I |
| 8259 | CLASS="EMPHASIS" |
| 8260 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8261 | ></SPAN |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8262 | > :</TD |
| 8263 | ><TD |
| 8264 | WIDTH="80%" |
| 8265 | ALIGN="LEFT" |
| 8266 | VALIGN="TOP" |
| 8267 | >1 if valid or 0 otherwise</TD |
| 8268 | ></TR |
| 8269 | ></TBODY |
| 8270 | ></TABLE |
| 8271 | ><P |
| 8272 | ></P |
| 8273 | ></DIV |
| 8274 | ></DIV |
| 8275 | ><HR><DIV |
| 8276 | CLASS="REFSECT2" |
| 8277 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8278 | NAME="AEN10537" |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8279 | ></A |
| 8280 | ><H3 |
| 8281 | ><A |
| 8282 | NAME="XMLVALIDATENMTOKENVALUE" |
| 8283 | ></A |
| 8284 | >xmlValidateNmtokenValue ()</H3 |
| 8285 | ><TABLE |
| 8286 | BORDER="0" |
| 8287 | BGCOLOR="#D6E8FF" |
| 8288 | WIDTH="100%" |
| 8289 | CELLPADDING="6" |
| 8290 | ><TR |
| 8291 | ><TD |
| 8292 | ><PRE |
| 8293 | CLASS="PROGRAMLISTING" |
| 8294 | >int xmlValidateNmtokenValue (const <A |
| 8295 | HREF="libxml-tree.html#XMLCHAR" |
| 8296 | >xmlChar</A |
| 8297 | > *value);</PRE |
| 8298 | ></TD |
| 8299 | ></TR |
| 8300 | ></TABLE |
| 8301 | ><P |
| 8302 | >Validate that the given value match Nmtoken production</P |
| 8303 | ><P |
| 8304 | >[ VC: Name Token ]</P |
| 8305 | ><P |
| 8306 | ></P |
| 8307 | ><DIV |
| 8308 | CLASS="INFORMALTABLE" |
| 8309 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8310 | NAME="AEN10545"><P |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8311 | ></P |
| 8312 | ><TABLE |
| 8313 | BORDER="0" |
| 8314 | WIDTH="100%" |
| 8315 | BGCOLOR="#FFD0D0" |
| 8316 | CELLSPACING="0" |
| 8317 | CELLPADDING="4" |
| 8318 | CLASS="CALSTABLE" |
| 8319 | ><TBODY |
| 8320 | ><TR |
| 8321 | ><TD |
| 8322 | WIDTH="20%" |
| 8323 | ALIGN="RIGHT" |
| 8324 | VALIGN="TOP" |
| 8325 | ><TT |
| 8326 | CLASS="PARAMETER" |
| 8327 | ><I |
| 8328 | >value</I |
| 8329 | ></TT |
| 8330 | > :</TD |
| 8331 | ><TD |
| 8332 | WIDTH="80%" |
| 8333 | ALIGN="LEFT" |
| 8334 | VALIGN="TOP" |
| 8335 | > an Nmtoken value</TD |
| 8336 | ></TR |
| 8337 | ><TR |
| 8338 | ><TD |
| 8339 | WIDTH="20%" |
| 8340 | ALIGN="RIGHT" |
| 8341 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8342 | ><SPAN |
| 8343 | CLASS="emphasis" |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8344 | ><I |
| 8345 | CLASS="EMPHASIS" |
| 8346 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8347 | ></SPAN |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8348 | > :</TD |
| 8349 | ><TD |
| 8350 | WIDTH="80%" |
| 8351 | ALIGN="LEFT" |
| 8352 | VALIGN="TOP" |
| 8353 | >1 if valid or 0 otherwise</TD |
| 8354 | ></TR |
| 8355 | ></TBODY |
| 8356 | ></TABLE |
| 8357 | ><P |
| 8358 | ></P |
| 8359 | ></DIV |
| 8360 | ></DIV |
| 8361 | ><HR><DIV |
| 8362 | CLASS="REFSECT2" |
| 8363 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8364 | NAME="AEN10558" |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8365 | ></A |
| 8366 | ><H3 |
| 8367 | ><A |
| 8368 | NAME="XMLVALIDATENMTOKENSVALUE" |
| 8369 | ></A |
| 8370 | >xmlValidateNmtokensValue ()</H3 |
| 8371 | ><TABLE |
| 8372 | BORDER="0" |
| 8373 | BGCOLOR="#D6E8FF" |
| 8374 | WIDTH="100%" |
| 8375 | CELLPADDING="6" |
| 8376 | ><TR |
| 8377 | ><TD |
| 8378 | ><PRE |
| 8379 | CLASS="PROGRAMLISTING" |
| 8380 | >int xmlValidateNmtokensValue (const <A |
| 8381 | HREF="libxml-tree.html#XMLCHAR" |
| 8382 | >xmlChar</A |
| 8383 | > *value);</PRE |
| 8384 | ></TD |
| 8385 | ></TR |
| 8386 | ></TABLE |
| 8387 | ><P |
| 8388 | >Validate that the given value match Nmtokens production</P |
| 8389 | ><P |
| 8390 | >[ VC: Name Token ]</P |
| 8391 | ><P |
| 8392 | ></P |
| 8393 | ><DIV |
| 8394 | CLASS="INFORMALTABLE" |
| 8395 | ><A |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8396 | NAME="AEN10566"><P |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8397 | ></P |
| 8398 | ><TABLE |
| 8399 | BORDER="0" |
| 8400 | WIDTH="100%" |
| 8401 | BGCOLOR="#FFD0D0" |
| 8402 | CELLSPACING="0" |
| 8403 | CELLPADDING="4" |
| 8404 | CLASS="CALSTABLE" |
| 8405 | ><TBODY |
| 8406 | ><TR |
| 8407 | ><TD |
| 8408 | WIDTH="20%" |
| 8409 | ALIGN="RIGHT" |
| 8410 | VALIGN="TOP" |
| 8411 | ><TT |
| 8412 | CLASS="PARAMETER" |
| 8413 | ><I |
| 8414 | >value</I |
| 8415 | ></TT |
| 8416 | > :</TD |
| 8417 | ><TD |
| 8418 | WIDTH="80%" |
| 8419 | ALIGN="LEFT" |
| 8420 | VALIGN="TOP" |
| 8421 | > an Nmtokens value</TD |
| 8422 | ></TR |
| 8423 | ><TR |
| 8424 | ><TD |
| 8425 | WIDTH="20%" |
| 8426 | ALIGN="RIGHT" |
| 8427 | VALIGN="TOP" |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8428 | ><SPAN |
| 8429 | CLASS="emphasis" |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8430 | ><I |
| 8431 | CLASS="EMPHASIS" |
| 8432 | >Returns</I |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8433 | ></SPAN |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8434 | > :</TD |
| 8435 | ><TD |
| 8436 | WIDTH="80%" |
| 8437 | ALIGN="LEFT" |
| 8438 | VALIGN="TOP" |
| 8439 | >1 if valid or 0 otherwise</TD |
| 8440 | ></TR |
| 8441 | ></TBODY |
| 8442 | ></TABLE |
| 8443 | ><P |
| 8444 | ></P |
| 8445 | ></DIV |
| 8446 | ></DIV |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame^] | 8447 | ><HR><DIV |
| 8448 | CLASS="REFSECT2" |
| 8449 | ><A |
| 8450 | NAME="AEN10579" |
| 8451 | ></A |
| 8452 | ><H3 |
| 8453 | ><A |
| 8454 | NAME="XMLVALIDBUILDCONTENTMODEL" |
| 8455 | ></A |
| 8456 | >xmlValidBuildContentModel ()</H3 |
| 8457 | ><TABLE |
| 8458 | BORDER="0" |
| 8459 | BGCOLOR="#D6E8FF" |
| 8460 | WIDTH="100%" |
| 8461 | CELLPADDING="6" |
| 8462 | ><TR |
| 8463 | ><TD |
| 8464 | ><PRE |
| 8465 | CLASS="PROGRAMLISTING" |
| 8466 | >int xmlValidBuildContentModel (<A |
| 8467 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
| 8468 | >xmlValidCtxtPtr</A |
| 8469 | > ctxt, |
| 8470 | <A |
| 8471 | HREF="libxml-tree.html#XMLELEMENTPTR" |
| 8472 | >xmlElementPtr</A |
| 8473 | > elem);</PRE |
| 8474 | ></TD |
| 8475 | ></TR |
| 8476 | ></TABLE |
| 8477 | ><P |
| 8478 | >(Re)Build the automata associated to the content model of this |
| 8479 | element</P |
| 8480 | ><P |
| 8481 | ></P |
| 8482 | ><DIV |
| 8483 | CLASS="INFORMALTABLE" |
| 8484 | ><A |
| 8485 | NAME="AEN10587"><P |
| 8486 | ></P |
| 8487 | ><TABLE |
| 8488 | BORDER="0" |
| 8489 | WIDTH="100%" |
| 8490 | BGCOLOR="#FFD0D0" |
| 8491 | CELLSPACING="0" |
| 8492 | CELLPADDING="4" |
| 8493 | CLASS="CALSTABLE" |
| 8494 | ><TBODY |
| 8495 | ><TR |
| 8496 | ><TD |
| 8497 | WIDTH="20%" |
| 8498 | ALIGN="RIGHT" |
| 8499 | VALIGN="TOP" |
| 8500 | ><TT |
| 8501 | CLASS="PARAMETER" |
| 8502 | ><I |
| 8503 | >ctxt</I |
| 8504 | ></TT |
| 8505 | > :</TD |
| 8506 | ><TD |
| 8507 | WIDTH="80%" |
| 8508 | ALIGN="LEFT" |
| 8509 | VALIGN="TOP" |
| 8510 | > a validation context</TD |
| 8511 | ></TR |
| 8512 | ><TR |
| 8513 | ><TD |
| 8514 | WIDTH="20%" |
| 8515 | ALIGN="RIGHT" |
| 8516 | VALIGN="TOP" |
| 8517 | ><TT |
| 8518 | CLASS="PARAMETER" |
| 8519 | ><I |
| 8520 | >elem</I |
| 8521 | ></TT |
| 8522 | > :</TD |
| 8523 | ><TD |
| 8524 | WIDTH="80%" |
| 8525 | ALIGN="LEFT" |
| 8526 | VALIGN="TOP" |
| 8527 | > an element declaration node</TD |
| 8528 | ></TR |
| 8529 | ><TR |
| 8530 | ><TD |
| 8531 | WIDTH="20%" |
| 8532 | ALIGN="RIGHT" |
| 8533 | VALIGN="TOP" |
| 8534 | ><SPAN |
| 8535 | CLASS="emphasis" |
| 8536 | ><I |
| 8537 | CLASS="EMPHASIS" |
| 8538 | >Returns</I |
| 8539 | ></SPAN |
| 8540 | > :</TD |
| 8541 | ><TD |
| 8542 | WIDTH="80%" |
| 8543 | ALIGN="LEFT" |
| 8544 | VALIGN="TOP" |
| 8545 | >1 in case of success, 0 in case of error</TD |
| 8546 | ></TR |
| 8547 | ></TBODY |
| 8548 | ></TABLE |
| 8549 | ><P |
| 8550 | ></P |
| 8551 | ></DIV |
| 8552 | ></DIV |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8553 | ></DIV |
| 8554 | ><DIV |
| 8555 | CLASS="NAVFOOTER" |
Daniel Veillard | 00fdf37 | 1999-10-08 09:40:39 +0000 | [diff] [blame] | 8556 | ><BR |
| 8557 | CLEAR="all"><BR><TABLE |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8558 | WIDTH="100%" |
| 8559 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8560 | BGCOLOR="#000000" |
| 8561 | CELLPADDING="1" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8562 | CELLSPACING="0" |
| 8563 | ><TR |
| 8564 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8565 | WIDTH="25%" |
| 8566 | BGCOLOR="#C00000" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8567 | ALIGN="left" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8568 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8569 | HREF="libxml-entities.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8570 | ><FONT |
| 8571 | COLOR="#FFFFFF" |
| 8572 | SIZE="3" |
| 8573 | ><B |
| 8574 | ><<< Previous Page</B |
| 8575 | ></FONT |
| 8576 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8577 | ></TD |
| 8578 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8579 | WIDTH="25%" |
| 8580 | BGCOLOR="#0000C0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8581 | ALIGN="center" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8582 | ><FONT |
| 8583 | COLOR="#FFFFFF" |
| 8584 | SIZE="3" |
| 8585 | ><B |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8586 | ><A |
| 8587 | HREF="book1.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8588 | ><FONT |
| 8589 | COLOR="#FFFFFF" |
| 8590 | SIZE="3" |
| 8591 | ><B |
| 8592 | >Home</B |
| 8593 | ></FONT |
| 8594 | ></A |
| 8595 | ></B |
| 8596 | ></FONT |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8597 | ></TD |
| 8598 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8599 | WIDTH="25%" |
| 8600 | BGCOLOR="#00C000" |
| 8601 | ALIGN="center" |
| 8602 | ><FONT |
| 8603 | COLOR="#FFFFFF" |
| 8604 | SIZE="3" |
| 8605 | ><B |
| 8606 | ><A |
Daniel Veillard | 3500838 | 1999-10-25 13:15:52 +0000 | [diff] [blame] | 8607 | HREF="libxml-lib.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8608 | ><FONT |
| 8609 | COLOR="#FFFFFF" |
| 8610 | SIZE="3" |
| 8611 | ><B |
| 8612 | >Up</B |
| 8613 | ></FONT |
| 8614 | ></A |
| 8615 | ></B |
| 8616 | ></FONT |
| 8617 | ></TD |
| 8618 | ><TD |
| 8619 | WIDTH="25%" |
| 8620 | BGCOLOR="#C00000" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8621 | ALIGN="right" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8622 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8623 | HREF="libxml-uri.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8624 | ><FONT |
| 8625 | COLOR="#FFFFFF" |
| 8626 | SIZE="3" |
| 8627 | ><B |
| 8628 | >Next Page >>></B |
| 8629 | ></FONT |
| 8630 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8631 | ></TD |
| 8632 | ></TR |
| 8633 | ><TR |
| 8634 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8635 | COLSPAN="2" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8636 | ALIGN="left" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8637 | ><FONT |
| 8638 | COLOR="#FFFFFF" |
| 8639 | SIZE="3" |
| 8640 | ><B |
| 8641 | >entities</B |
| 8642 | ></FONT |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8643 | ></TD |
| 8644 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8645 | COLSPAN="2" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8646 | ALIGN="right" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8647 | ><FONT |
| 8648 | COLOR="#FFFFFF" |
| 8649 | SIZE="3" |
| 8650 | ><B |
Daniel Veillard | 8f62198 | 2000-03-20 13:07:15 +0000 | [diff] [blame] | 8651 | >uri</B |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8652 | ></FONT |
| 8653 | ></TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8654 | ></TR |
| 8655 | ></TABLE |
| 8656 | ></DIV |
| 8657 | ></BODY |
| 8658 | ></HTML |
| 8659 | > |