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 | 60087f3 | 2001-10-10 09:45:09 +0000 | [diff] [blame] | 7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
| 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 | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 120 | NAME="LIBXML-VALID" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 121 | >valid</A |
| 122 | ></H1 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 123 | ><DIV |
| 124 | CLASS="REFNAMEDIV" |
| 125 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 126 | NAME="AEN8371" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 127 | ></A |
| 128 | ><H2 |
| 129 | >Name</H2 |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 130 | >valid -- </DIV |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 131 | ><DIV |
| 132 | CLASS="REFSYNOPSISDIV" |
| 133 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 134 | NAME="AEN8374" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 135 | ></A |
| 136 | ><H2 |
| 137 | >Synopsis</H2 |
| 138 | ><TABLE |
| 139 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 140 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 141 | WIDTH="100%" |
| 142 | CELLPADDING="6" |
| 143 | ><TR |
| 144 | ><TD |
| 145 | ><PRE |
| 146 | CLASS="SYNOPSIS" |
| 147 | > |
| 148 | |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 149 | struct <A |
| 150 | HREF="libxml-valid.html#XMLVALIDSTATE" |
| 151 | >xmlValidState</A |
| 152 | >; |
| 153 | typedef <A |
| 154 | HREF="libxml-valid.html#XMLVALIDSTATEPTR" |
| 155 | >xmlValidStatePtr</A |
| 156 | >; |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 157 | void (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 158 | HREF="libxml-valid.html#XMLVALIDITYERRORFUNC" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 159 | >*xmlValidityErrorFunc</A |
| 160 | >) (void *ctx, |
| 161 | const char *msg, |
| 162 | ...); |
| 163 | void (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 164 | HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 165 | >*xmlValidityWarningFunc</A |
| 166 | >) (void *ctx, |
| 167 | const char *msg, |
| 168 | ...); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 169 | struct <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 170 | HREF="libxml-valid.html#XMLVALIDCTXT" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 171 | >xmlValidCtxt</A |
| 172 | >; |
| 173 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 174 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 175 | >xmlValidCtxtPtr</A |
| 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#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 179 | >xmlNotationTablePtr</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#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 183 | >xmlElementTablePtr</A |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 184 | >; |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 185 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 186 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 187 | >xmlAttributeTablePtr</A |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 188 | >; |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 189 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 190 | HREF="libxml-valid.html#XMLIDTABLEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 191 | >xmlIDTablePtr</A |
| 192 | >; |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 193 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 194 | HREF="libxml-valid.html#XMLREFTABLEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 195 | >xmlRefTablePtr</A |
| 196 | >; |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 197 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 198 | HREF="libxml-tree.html#XMLCHAR" |
| 199 | >xmlChar</A |
| 200 | >* <A |
| 201 | HREF="libxml-valid.html#XMLSPLITQNAME2" |
| 202 | >xmlSplitQName2</A |
| 203 | > (const <A |
| 204 | HREF="libxml-tree.html#XMLCHAR" |
| 205 | >xmlChar</A |
| 206 | > *name, |
| 207 | <A |
| 208 | HREF="libxml-tree.html#XMLCHAR" |
| 209 | >xmlChar</A |
| 210 | > **prefix); |
| 211 | <A |
| 212 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 213 | >xmlNotationPtr</A |
| 214 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 215 | HREF="libxml-valid.html#XMLADDNOTATIONDECL" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 216 | >xmlAddNotationDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 217 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 218 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 219 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 220 | > ctxt, |
| 221 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 222 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 223 | >xmlDtdPtr</A |
| 224 | > dtd, |
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 | > *name, |
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 | > *PublicID, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 233 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 234 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 235 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 236 | > *SystemID); |
| 237 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 238 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 239 | >xmlNotationTablePtr</A |
| 240 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 241 | HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 242 | >xmlCopyNotationTable</A |
| 243 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 244 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 245 | >xmlNotationTablePtr</A |
| 246 | > table); |
| 247 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 248 | HREF="libxml-valid.html#XMLFREENOTATIONTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 249 | >xmlFreeNotationTable</A |
| 250 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 251 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 252 | >xmlNotationTablePtr</A |
| 253 | > table); |
| 254 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 255 | HREF="libxml-valid.html#XMLDUMPNOTATIONDECL" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 256 | >xmlDumpNotationDecl</A |
| 257 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 258 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 259 | >xmlBufferPtr</A |
| 260 | > buf, |
| 261 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 262 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 263 | >xmlNotationPtr</A |
| 264 | > nota); |
| 265 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 266 | HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 267 | >xmlDumpNotationTable</A |
| 268 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 269 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 270 | >xmlBufferPtr</A |
| 271 | > buf, |
| 272 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 273 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 274 | >xmlNotationTablePtr</A |
| 275 | > table); |
| 276 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 277 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 278 | >xmlElementContentPtr</A |
| 279 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 280 | HREF="libxml-valid.html#XMLNEWELEMENTCONTENT" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 281 | >xmlNewElementContent</A |
| 282 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 283 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 284 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 285 | > *name, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 286 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 287 | HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 288 | >xmlElementContentType</A |
| 289 | > type); |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 290 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 291 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 292 | >xmlElementContentPtr</A |
| 293 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 294 | HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 295 | >xmlCopyElementContent</A |
| 296 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 297 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 298 | >xmlElementContentPtr</A |
| 299 | > content); |
| 300 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 301 | HREF="libxml-valid.html#XMLFREEELEMENTCONTENT" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 302 | >xmlFreeElementContent</A |
| 303 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 304 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 305 | >xmlElementContentPtr</A |
| 306 | > cur); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 307 | void <A |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 308 | HREF="libxml-valid.html#XMLSNPRINTFELEMENTCONTENT" |
| 309 | >xmlSnprintfElementContent</A |
| 310 | > (char *buf, |
| 311 | int size, |
| 312 | <A |
| 313 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
| 314 | >xmlElementContentPtr</A |
| 315 | > content, |
| 316 | int glob); |
| 317 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 318 | HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 319 | >xmlSprintfElementContent</A |
| 320 | > (char *buf, |
| 321 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 322 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 323 | >xmlElementContentPtr</A |
| 324 | > content, |
| 325 | int glob); |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 326 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 327 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 328 | >xmlElementPtr</A |
| 329 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 330 | HREF="libxml-valid.html#XMLADDELEMENTDECL" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 331 | >xmlAddElementDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 332 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 333 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 334 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 335 | > ctxt, |
| 336 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 337 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 338 | >xmlDtdPtr</A |
| 339 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 340 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 341 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 342 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 343 | > *name, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 344 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 345 | HREF="libxml-tree.html#XMLELEMENTTYPEVAL" |
Daniel Veillard | 4c3a203 | 1999-11-19 17:46:26 +0000 | [diff] [blame] | 346 | >xmlElementTypeVal</A |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 347 | > type, |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 348 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 349 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 350 | >xmlElementContentPtr</A |
| 351 | > content); |
| 352 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 353 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 354 | >xmlElementTablePtr</A |
| 355 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 356 | HREF="libxml-valid.html#XMLCOPYELEMENTTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 357 | >xmlCopyElementTable</A |
| 358 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 359 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 360 | >xmlElementTablePtr</A |
| 361 | > table); |
| 362 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 363 | HREF="libxml-valid.html#XMLFREEELEMENTTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 364 | >xmlFreeElementTable</A |
| 365 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 366 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 367 | >xmlElementTablePtr</A |
| 368 | > table); |
| 369 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 370 | HREF="libxml-valid.html#XMLDUMPELEMENTTABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 371 | >xmlDumpElementTable</A |
| 372 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 373 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 374 | >xmlBufferPtr</A |
| 375 | > buf, |
| 376 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 377 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 378 | >xmlElementTablePtr</A |
| 379 | > table); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 380 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 381 | HREF="libxml-valid.html#XMLDUMPELEMENTDECL" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 382 | >xmlDumpElementDecl</A |
| 383 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 384 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 385 | >xmlBufferPtr</A |
| 386 | > buf, |
| 387 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 388 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 389 | >xmlElementPtr</A |
| 390 | > elem); |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 391 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 392 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 393 | >xmlEnumerationPtr</A |
| 394 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 395 | HREF="libxml-valid.html#XMLCREATEENUMERATION" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 396 | >xmlCreateEnumeration</A |
| 397 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 398 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 399 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 400 | > *name); |
| 401 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 402 | HREF="libxml-valid.html#XMLFREEENUMERATION" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 403 | >xmlFreeEnumeration</A |
| 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 | > cur); |
| 408 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 409 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 410 | >xmlEnumerationPtr</A |
| 411 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 412 | HREF="libxml-valid.html#XMLCOPYENUMERATION" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 413 | >xmlCopyEnumeration</A |
| 414 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 415 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 416 | >xmlEnumerationPtr</A |
| 417 | > cur); |
| 418 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 419 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 420 | >xmlAttributePtr</A |
| 421 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 422 | HREF="libxml-valid.html#XMLADDATTRIBUTEDECL" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 423 | >xmlAddAttributeDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 424 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 425 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 426 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 427 | > ctxt, |
| 428 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 429 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 430 | >xmlDtdPtr</A |
| 431 | > dtd, |
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 | > *elem, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +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 | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 438 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 439 | > *name, |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 440 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 441 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 442 | >xmlChar</A |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 443 | > *ns, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 444 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 445 | HREF="libxml-tree.html#XMLATTRIBUTETYPE" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 446 | >xmlAttributeType</A |
| 447 | > type, |
| 448 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 449 | HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 450 | >xmlAttributeDefault</A |
| 451 | > def, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 452 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 453 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 454 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 455 | > *defaultValue, |
| 456 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 457 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 458 | >xmlEnumerationPtr</A |
| 459 | > tree); |
| 460 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 461 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 462 | >xmlAttributeTablePtr</A |
| 463 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 464 | HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 465 | >xmlCopyAttributeTable</A |
| 466 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 467 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 468 | >xmlAttributeTablePtr</A |
| 469 | > table); |
| 470 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 471 | HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 472 | >xmlFreeAttributeTable</A |
| 473 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 474 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 475 | >xmlAttributeTablePtr</A |
| 476 | > table); |
| 477 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 478 | HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 479 | >xmlDumpAttributeTable</A |
| 480 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 481 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 482 | >xmlBufferPtr</A |
| 483 | > buf, |
| 484 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 485 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 486 | >xmlAttributeTablePtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 487 | > table); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 488 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 489 | HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 490 | >xmlDumpAttributeDecl</A |
| 491 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 492 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 493 | >xmlBufferPtr</A |
| 494 | > buf, |
| 495 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 496 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 497 | >xmlAttributePtr</A |
| 498 | > attr); |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 499 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 500 | HREF="libxml-tree.html#XMLIDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 501 | >xmlIDPtr</A |
| 502 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 503 | HREF="libxml-valid.html#XMLADDID" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 504 | >xmlAddID</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 505 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 506 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 507 | >xmlValidCtxtPtr</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 508 | > ctxt, |
| 509 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 510 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 511 | >xmlDocPtr</A |
| 512 | > doc, |
| 513 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 514 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 515 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 516 | > *value, |
| 517 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 518 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 519 | >xmlAttrPtr</A |
| 520 | > attr); |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 521 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 522 | HREF="libxml-valid.html#XMLFREEIDTABLE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 523 | >xmlFreeIDTable</A |
| 524 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 525 | HREF="libxml-valid.html#XMLIDTABLEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 526 | >xmlIDTablePtr</A |
| 527 | > table); |
| 528 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 529 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 530 | >xmlAttrPtr</A |
| 531 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 532 | HREF="libxml-valid.html#XMLGETID" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 533 | >xmlGetID</A |
| 534 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 535 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 536 | >xmlDocPtr</A |
| 537 | > doc, |
| 538 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 539 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 540 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 541 | > *ID); |
| 542 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 543 | HREF="libxml-valid.html#XMLISID" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 544 | >xmlIsID</A |
| 545 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 546 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 547 | >xmlDocPtr</A |
| 548 | > doc, |
| 549 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 550 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 551 | >xmlNodePtr</A |
| 552 | > elem, |
| 553 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 554 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 555 | >xmlAttrPtr</A |
| 556 | > attr); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 557 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 558 | HREF="libxml-valid.html#XMLREMOVEID" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 559 | >xmlRemoveID</A |
| 560 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 561 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 562 | >xmlDocPtr</A |
| 563 | > doc, |
| 564 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 565 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 566 | >xmlAttrPtr</A |
| 567 | > attr); |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 568 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 569 | HREF="libxml-tree.html#XMLREFPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 570 | >xmlRefPtr</A |
| 571 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 572 | HREF="libxml-valid.html#XMLADDREF" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 573 | >xmlAddRef</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 574 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 575 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 576 | >xmlValidCtxtPtr</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 577 | > ctxt, |
| 578 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 579 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 580 | >xmlDocPtr</A |
| 581 | > doc, |
| 582 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 583 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 584 | >xmlChar</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 585 | > *value, |
| 586 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 587 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 588 | >xmlAttrPtr</A |
| 589 | > attr); |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 590 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 591 | HREF="libxml-valid.html#XMLFREEREFTABLE" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 592 | >xmlFreeRefTable</A |
| 593 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 594 | HREF="libxml-valid.html#XMLREFTABLEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 595 | >xmlRefTablePtr</A |
| 596 | > table); |
| 597 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 598 | HREF="libxml-valid.html#XMLISREF" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 599 | >xmlIsRef</A |
| 600 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 601 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 602 | >xmlDocPtr</A |
| 603 | > doc, |
| 604 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 605 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 606 | >xmlNodePtr</A |
| 607 | > elem, |
| 608 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 609 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 610 | >xmlAttrPtr</A |
| 611 | > attr); |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 612 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 613 | HREF="libxml-valid.html#XMLREMOVEREF" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 614 | >xmlRemoveRef</A |
| 615 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 616 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 617 | >xmlDocPtr</A |
| 618 | > doc, |
| 619 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 620 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 621 | >xmlAttrPtr</A |
| 622 | > attr); |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 623 | <GTKDOCLINK |
| 624 | HREF="XMLLISTPTR" |
| 625 | >xmlListPtr</GTKDOCLINK |
| 626 | > <A |
| 627 | HREF="libxml-valid.html#XMLGETREFS" |
| 628 | >xmlGetRefs</A |
| 629 | > (<A |
| 630 | HREF="libxml-tree.html#XMLDOCPTR" |
| 631 | >xmlDocPtr</A |
| 632 | > doc, |
| 633 | const <A |
| 634 | HREF="libxml-tree.html#XMLCHAR" |
| 635 | >xmlChar</A |
| 636 | > *ID); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 637 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 638 | HREF="libxml-valid.html#XMLVALIDATEROOT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 639 | >xmlValidateRoot</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 640 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 641 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 642 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 643 | > ctxt, |
| 644 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 645 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 646 | >xmlDocPtr</A |
| 647 | > doc); |
| 648 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 649 | HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 650 | >xmlValidateElementDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 651 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 652 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 653 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 654 | > ctxt, |
| 655 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 656 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 657 | >xmlDocPtr</A |
| 658 | > doc, |
| 659 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 660 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 661 | >xmlElementPtr</A |
| 662 | > elem); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 663 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 664 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 665 | >xmlChar</A |
| 666 | >* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 667 | HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 668 | >xmlValidNormalizeAttributeValue</A |
| 669 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 670 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 671 | >xmlDocPtr</A |
| 672 | > doc, |
| 673 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 674 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 675 | >xmlNodePtr</A |
| 676 | > elem, |
| 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 | > *name, |
| 681 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 682 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 683 | >xmlChar</A |
| 684 | > *value); |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 685 | <A |
| 686 | HREF="libxml-tree.html#XMLCHAR" |
| 687 | >xmlChar</A |
| 688 | >* <A |
| 689 | HREF="libxml-valid.html#XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE" |
| 690 | >xmlValidCtxtNormalizeAttributeValue</A |
| 691 | > |
| 692 | (<A |
| 693 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
| 694 | >xmlValidCtxtPtr</A |
| 695 | > ctxt, |
| 696 | <A |
| 697 | HREF="libxml-tree.html#XMLDOCPTR" |
| 698 | >xmlDocPtr</A |
| 699 | > doc, |
| 700 | <A |
| 701 | HREF="libxml-tree.html#XMLNODEPTR" |
| 702 | >xmlNodePtr</A |
| 703 | > elem, |
| 704 | const <A |
| 705 | HREF="libxml-tree.html#XMLCHAR" |
| 706 | >xmlChar</A |
| 707 | > *name, |
| 708 | const <A |
| 709 | HREF="libxml-tree.html#XMLCHAR" |
| 710 | >xmlChar</A |
| 711 | > *value); |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 712 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 713 | HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 714 | >xmlValidateAttributeDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 715 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 716 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 717 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 718 | > ctxt, |
| 719 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 720 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 721 | >xmlDocPtr</A |
| 722 | > doc, |
| 723 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 724 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 725 | >xmlAttributePtr</A |
| 726 | > attr); |
| 727 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 728 | HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 729 | >xmlValidateAttributeValue</A |
| 730 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 731 | HREF="libxml-tree.html#XMLATTRIBUTETYPE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 732 | >xmlAttributeType</A |
| 733 | > type, |
| 734 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 735 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 736 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 737 | > *value); |
| 738 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 739 | HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 740 | >xmlValidateNotationDecl</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 741 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 742 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 743 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 744 | > ctxt, |
| 745 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 746 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 747 | >xmlDocPtr</A |
| 748 | > doc, |
| 749 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 750 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 751 | >xmlNotationPtr</A |
| 752 | > nota); |
| 753 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 754 | HREF="libxml-valid.html#XMLVALIDATEDTD" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 755 | >xmlValidateDtd</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 756 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 757 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 758 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 759 | > ctxt, |
| 760 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 761 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 762 | >xmlDocPtr</A |
| 763 | > doc, |
| 764 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 765 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 766 | >xmlDtdPtr</A |
| 767 | > dtd); |
| 768 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 769 | HREF="libxml-valid.html#XMLVALIDATEDTDFINAL" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 770 | >xmlValidateDtdFinal</A |
| 771 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 772 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 773 | >xmlValidCtxtPtr</A |
| 774 | > ctxt, |
| 775 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 776 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 777 | >xmlDocPtr</A |
| 778 | > doc); |
| 779 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 780 | HREF="libxml-valid.html#XMLVALIDATEDOCUMENT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 781 | >xmlValidateDocument</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 782 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 783 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 784 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 785 | > ctxt, |
| 786 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 787 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 788 | >xmlDocPtr</A |
| 789 | > doc); |
| 790 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 791 | HREF="libxml-valid.html#XMLVALIDATEELEMENT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 792 | >xmlValidateElement</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 793 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 794 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 795 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 796 | > ctxt, |
| 797 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 798 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 799 | >xmlDocPtr</A |
| 800 | > doc, |
| 801 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 802 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 803 | >xmlNodePtr</A |
| 804 | > elem); |
| 805 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 806 | HREF="libxml-valid.html#XMLVALIDATEONEELEMENT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 807 | >xmlValidateOneElement</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 808 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 809 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 810 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 811 | > ctxt, |
| 812 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 813 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 814 | >xmlDocPtr</A |
| 815 | > doc, |
| 816 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 817 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 818 | >xmlNodePtr</A |
| 819 | > elem); |
| 820 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 821 | HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 822 | >xmlValidateOneAttribute</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 823 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 824 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 825 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 826 | > ctxt, |
| 827 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 828 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 829 | >xmlDocPtr</A |
| 830 | > doc, |
| 831 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 832 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 833 | >xmlNodePtr</A |
| 834 | > elem, |
| 835 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 836 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 837 | >xmlAttrPtr</A |
| 838 | > attr, |
| 839 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 840 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 841 | >xmlChar</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 842 | > *value); |
| 843 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 844 | HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 845 | >xmlValidateDocumentFinal</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 846 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 847 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 848 | >xmlValidCtxtPtr</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 849 | > ctxt, |
| 850 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 851 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 852 | >xmlDocPtr</A |
| 853 | > doc); |
| 854 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 855 | HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 856 | >xmlValidateNotationUse</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 857 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 858 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 859 | >xmlValidCtxtPtr</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 860 | > ctxt, |
| 861 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 862 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 863 | >xmlDocPtr</A |
| 864 | > doc, |
| 865 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 866 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 867 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 868 | > *notationName); |
| 869 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 870 | HREF="libxml-valid.html#XMLISMIXEDELEMENT" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 871 | >xmlIsMixedElement</A |
| 872 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 873 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 874 | >xmlDocPtr</A |
| 875 | > doc, |
| 876 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 877 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 878 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 879 | > *name); |
| 880 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 881 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 882 | >xmlAttributePtr</A |
| 883 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 884 | HREF="libxml-valid.html#XMLGETDTDATTRDESC" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 885 | >xmlGetDtdAttrDesc</A |
| 886 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 887 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 888 | >xmlDtdPtr</A |
| 889 | > dtd, |
| 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 | > *elem, |
| 894 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 895 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 896 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 897 | > *name); |
| 898 | <A |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 899 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
| 900 | >xmlAttributePtr</A |
| 901 | > <A |
| 902 | HREF="libxml-valid.html#XMLGETDTDQATTRDESC" |
| 903 | >xmlGetDtdQAttrDesc</A |
| 904 | > (<A |
| 905 | HREF="libxml-tree.html#XMLDTDPTR" |
| 906 | >xmlDtdPtr</A |
| 907 | > dtd, |
| 908 | const <A |
| 909 | HREF="libxml-tree.html#XMLCHAR" |
| 910 | >xmlChar</A |
| 911 | > *elem, |
| 912 | const <A |
| 913 | HREF="libxml-tree.html#XMLCHAR" |
| 914 | >xmlChar</A |
| 915 | > *name, |
| 916 | const <A |
| 917 | HREF="libxml-tree.html#XMLCHAR" |
| 918 | >xmlChar</A |
| 919 | > *prefix); |
| 920 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 921 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 922 | >xmlNotationPtr</A |
| 923 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 924 | HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 925 | >xmlGetDtdNotationDesc</A |
| 926 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 927 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 928 | >xmlDtdPtr</A |
| 929 | > dtd, |
| 930 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 931 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 932 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 933 | > *name); |
| 934 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 935 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 936 | >xmlElementPtr</A |
| 937 | > <A |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 938 | HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC" |
| 939 | >xmlGetDtdQElementDesc</A |
| 940 | > (<A |
| 941 | HREF="libxml-tree.html#XMLDTDPTR" |
| 942 | >xmlDtdPtr</A |
| 943 | > dtd, |
| 944 | const <A |
| 945 | HREF="libxml-tree.html#XMLCHAR" |
| 946 | >xmlChar</A |
| 947 | > *name, |
| 948 | const <A |
| 949 | HREF="libxml-tree.html#XMLCHAR" |
| 950 | >xmlChar</A |
| 951 | > *prefix); |
| 952 | <A |
| 953 | HREF="libxml-tree.html#XMLELEMENTPTR" |
| 954 | >xmlElementPtr</A |
| 955 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 956 | HREF="libxml-valid.html#XMLGETDTDELEMENTDESC" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 957 | >xmlGetDtdElementDesc</A |
| 958 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 959 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 960 | >xmlDtdPtr</A |
| 961 | > dtd, |
| 962 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 963 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 964 | >xmlChar</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 965 | > *name); |
| 966 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 967 | HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 968 | >xmlValidGetValidElements</A |
| 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 | > *prev, |
| 973 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 974 | HREF="libxml-tree.html#XMLNODE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 975 | >xmlNode</A |
| 976 | > *next, |
| 977 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 978 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 979 | >xmlChar</A |
| 980 | > **list, |
| 981 | int max); |
| 982 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 983 | HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 984 | >xmlValidGetPotentialChildren</A |
| 985 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 986 | HREF="libxml-tree.html#XMLELEMENTCONTENT" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 987 | >xmlElementContent</A |
| 988 | > *ctree, |
| 989 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 990 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 991 | >xmlChar</A |
| 992 | > **list, |
| 993 | int *len, |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 994 | int max); |
| 995 | int <A |
| 996 | HREF="libxml-valid.html#XMLVALIDATENAMEVALUE" |
| 997 | >xmlValidateNameValue</A |
| 998 | > (const <A |
| 999 | HREF="libxml-tree.html#XMLCHAR" |
| 1000 | >xmlChar</A |
| 1001 | > *value); |
| 1002 | int <A |
| 1003 | HREF="libxml-valid.html#XMLVALIDATENAMESVALUE" |
| 1004 | >xmlValidateNamesValue</A |
| 1005 | > (const <A |
| 1006 | HREF="libxml-tree.html#XMLCHAR" |
| 1007 | >xmlChar</A |
| 1008 | > *value); |
| 1009 | int <A |
| 1010 | HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE" |
| 1011 | >xmlValidateNmtokenValue</A |
| 1012 | > (const <A |
| 1013 | HREF="libxml-tree.html#XMLCHAR" |
| 1014 | >xmlChar</A |
| 1015 | > *value); |
| 1016 | int <A |
| 1017 | HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE" |
| 1018 | >xmlValidateNmtokensValue</A |
| 1019 | > (const <A |
| 1020 | HREF="libxml-tree.html#XMLCHAR" |
| 1021 | >xmlChar</A |
| 1022 | > *value);</PRE |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1023 | ></TD |
| 1024 | ></TR |
| 1025 | ></TABLE |
| 1026 | ></DIV |
| 1027 | ><DIV |
| 1028 | CLASS="REFSECT1" |
| 1029 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1030 | NAME="AEN8613" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1031 | ></A |
| 1032 | ><H2 |
| 1033 | >Description</H2 |
| 1034 | ><P |
| 1035 | ></P |
| 1036 | ></DIV |
| 1037 | ><DIV |
| 1038 | CLASS="REFSECT1" |
| 1039 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1040 | NAME="AEN8616" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1041 | ></A |
| 1042 | ><H2 |
| 1043 | >Details</H2 |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1044 | ><DIV |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1045 | CLASS="REFSECT2" |
| 1046 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1047 | NAME="AEN8618" |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1048 | ></A |
| 1049 | ><H3 |
| 1050 | ><A |
| 1051 | NAME="XMLVALIDSTATE" |
| 1052 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1053 | >struct xmlValidState</H3 |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1054 | ><TABLE |
| 1055 | BORDER="0" |
| 1056 | BGCOLOR="#D6E8FF" |
| 1057 | WIDTH="100%" |
| 1058 | CELLPADDING="6" |
| 1059 | ><TR |
| 1060 | ><TD |
| 1061 | ><PRE |
| 1062 | CLASS="PROGRAMLISTING" |
| 1063 | >struct xmlValidState;</PRE |
| 1064 | ></TD |
| 1065 | ></TR |
| 1066 | ></TABLE |
| 1067 | ><P |
| 1068 | ></P |
| 1069 | ></DIV |
| 1070 | ><HR><DIV |
| 1071 | CLASS="REFSECT2" |
| 1072 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1073 | NAME="AEN8623" |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1074 | ></A |
| 1075 | ><H3 |
| 1076 | ><A |
| 1077 | NAME="XMLVALIDSTATEPTR" |
| 1078 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1079 | >xmlValidStatePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1080 | ><TABLE |
| 1081 | BORDER="0" |
| 1082 | BGCOLOR="#D6E8FF" |
| 1083 | WIDTH="100%" |
| 1084 | CELLPADDING="6" |
| 1085 | ><TR |
| 1086 | ><TD |
| 1087 | ><PRE |
| 1088 | CLASS="PROGRAMLISTING" |
| 1089 | >typedef xmlValidState *xmlValidStatePtr;</PRE |
| 1090 | ></TD |
| 1091 | ></TR |
| 1092 | ></TABLE |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1093 | ><P |
| 1094 | ></P |
| 1095 | ></DIV |
| 1096 | ><HR><DIV |
| 1097 | CLASS="REFSECT2" |
| 1098 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1099 | NAME="AEN8628" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1100 | ></A |
| 1101 | ><H3 |
| 1102 | ><A |
| 1103 | NAME="XMLVALIDITYERRORFUNC" |
| 1104 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1105 | >xmlValidityErrorFunc ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1106 | ><TABLE |
| 1107 | BORDER="0" |
| 1108 | BGCOLOR="#D6E8FF" |
| 1109 | WIDTH="100%" |
| 1110 | CELLPADDING="6" |
| 1111 | ><TR |
| 1112 | ><TD |
| 1113 | ><PRE |
| 1114 | CLASS="PROGRAMLISTING" |
| 1115 | >void (*xmlValidityErrorFunc) (void *ctx, |
| 1116 | const char *msg, |
| 1117 | ...);</PRE |
| 1118 | ></TD |
| 1119 | ></TR |
| 1120 | ></TABLE |
| 1121 | ><P |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1122 | >Callback called when a validity error is found. This is a message |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1123 | oriented function similar to an *printf function.</P |
| 1124 | ><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1125 | ></P |
| 1126 | ><DIV |
| 1127 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1128 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1129 | NAME="AEN8634" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1130 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1131 | ><P |
| 1132 | ></P |
| 1133 | ><TABLE |
| 1134 | BORDER="0" |
| 1135 | WIDTH="100%" |
| 1136 | BGCOLOR="#FFD0D0" |
| 1137 | CELLSPACING="0" |
| 1138 | CELLPADDING="4" |
| 1139 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1140 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1141 | ><TR |
| 1142 | ><TD |
| 1143 | WIDTH="20%" |
| 1144 | ALIGN="RIGHT" |
| 1145 | VALIGN="TOP" |
| 1146 | ><TT |
| 1147 | CLASS="PARAMETER" |
| 1148 | ><I |
| 1149 | >ctx</I |
| 1150 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1151 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1152 | ><TD |
| 1153 | WIDTH="80%" |
| 1154 | ALIGN="LEFT" |
| 1155 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1156 | > an xmlValidCtxtPtr validity error context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1157 | ></TR |
| 1158 | ><TR |
| 1159 | ><TD |
| 1160 | WIDTH="20%" |
| 1161 | ALIGN="RIGHT" |
| 1162 | VALIGN="TOP" |
| 1163 | ><TT |
| 1164 | CLASS="PARAMETER" |
| 1165 | ><I |
| 1166 | >msg</I |
| 1167 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1168 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1169 | ><TD |
| 1170 | WIDTH="80%" |
| 1171 | ALIGN="LEFT" |
| 1172 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1173 | > the string to format *printf like vararg</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1174 | ></TR |
| 1175 | ><TR |
| 1176 | ><TD |
| 1177 | WIDTH="20%" |
| 1178 | ALIGN="RIGHT" |
| 1179 | VALIGN="TOP" |
| 1180 | ><TT |
| 1181 | CLASS="PARAMETER" |
| 1182 | ><I |
| 1183 | >...</I |
| 1184 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1185 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1186 | ><TD |
| 1187 | WIDTH="80%" |
| 1188 | ALIGN="LEFT" |
| 1189 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1190 | > remaining arguments to the format</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1191 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1192 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1193 | ></TABLE |
| 1194 | ><P |
| 1195 | ></P |
| 1196 | ></DIV |
| 1197 | ></DIV |
| 1198 | ><HR><DIV |
| 1199 | CLASS="REFSECT2" |
| 1200 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1201 | NAME="AEN8651" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1202 | ></A |
| 1203 | ><H3 |
| 1204 | ><A |
| 1205 | NAME="XMLVALIDITYWARNINGFUNC" |
| 1206 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1207 | >xmlValidityWarningFunc ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1208 | ><TABLE |
| 1209 | BORDER="0" |
| 1210 | BGCOLOR="#D6E8FF" |
| 1211 | WIDTH="100%" |
| 1212 | CELLPADDING="6" |
| 1213 | ><TR |
| 1214 | ><TD |
| 1215 | ><PRE |
| 1216 | CLASS="PROGRAMLISTING" |
| 1217 | >void (*xmlValidityWarningFunc) (void *ctx, |
| 1218 | const char *msg, |
| 1219 | ...);</PRE |
| 1220 | ></TD |
| 1221 | ></TR |
| 1222 | ></TABLE |
| 1223 | ><P |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1224 | >Callback called when a validity warning is found. This is a message |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1225 | oriented function similar to an *printf function.</P |
| 1226 | ><P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1227 | ></P |
| 1228 | ><DIV |
| 1229 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1230 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1231 | NAME="AEN8657" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1232 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1233 | ><P |
| 1234 | ></P |
| 1235 | ><TABLE |
| 1236 | BORDER="0" |
| 1237 | WIDTH="100%" |
| 1238 | BGCOLOR="#FFD0D0" |
| 1239 | CELLSPACING="0" |
| 1240 | CELLPADDING="4" |
| 1241 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1242 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1243 | ><TR |
| 1244 | ><TD |
| 1245 | WIDTH="20%" |
| 1246 | ALIGN="RIGHT" |
| 1247 | VALIGN="TOP" |
| 1248 | ><TT |
| 1249 | CLASS="PARAMETER" |
| 1250 | ><I |
| 1251 | >ctx</I |
| 1252 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1253 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1254 | ><TD |
| 1255 | WIDTH="80%" |
| 1256 | ALIGN="LEFT" |
| 1257 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1258 | > an xmlValidCtxtPtr validity error context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1259 | ></TR |
| 1260 | ><TR |
| 1261 | ><TD |
| 1262 | WIDTH="20%" |
| 1263 | ALIGN="RIGHT" |
| 1264 | VALIGN="TOP" |
| 1265 | ><TT |
| 1266 | CLASS="PARAMETER" |
| 1267 | ><I |
| 1268 | >msg</I |
| 1269 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1270 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1271 | ><TD |
| 1272 | WIDTH="80%" |
| 1273 | ALIGN="LEFT" |
| 1274 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1275 | > the string to format *printf like vararg</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1276 | ></TR |
| 1277 | ><TR |
| 1278 | ><TD |
| 1279 | WIDTH="20%" |
| 1280 | ALIGN="RIGHT" |
| 1281 | VALIGN="TOP" |
| 1282 | ><TT |
| 1283 | CLASS="PARAMETER" |
| 1284 | ><I |
| 1285 | >...</I |
| 1286 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1287 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1288 | ><TD |
| 1289 | WIDTH="80%" |
| 1290 | ALIGN="LEFT" |
| 1291 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1292 | > remaining arguments to the format</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1293 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1294 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1295 | ></TABLE |
| 1296 | ><P |
| 1297 | ></P |
| 1298 | ></DIV |
| 1299 | ></DIV |
| 1300 | ><HR><DIV |
| 1301 | CLASS="REFSECT2" |
| 1302 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1303 | NAME="AEN8674" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1304 | ></A |
| 1305 | ><H3 |
| 1306 | ><A |
| 1307 | NAME="XMLVALIDCTXT" |
| 1308 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1309 | >struct xmlValidCtxt</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1310 | ><TABLE |
| 1311 | BORDER="0" |
| 1312 | BGCOLOR="#D6E8FF" |
| 1313 | WIDTH="100%" |
| 1314 | CELLPADDING="6" |
| 1315 | ><TR |
| 1316 | ><TD |
| 1317 | ><PRE |
| 1318 | CLASS="PROGRAMLISTING" |
| 1319 | >struct xmlValidCtxt { |
| 1320 | void *userData; /* user specific data block */ |
| 1321 | xmlValidityErrorFunc error; /* the callback in case of errors */ |
| 1322 | xmlValidityWarningFunc warning; /* the callback in case of warning */ |
| 1323 | |
| 1324 | /* Node analysis stack used when validating within entities */ |
| 1325 | xmlNodePtr node; /* Current parsed Node */ |
| 1326 | int nodeNr; /* Depth of the parsing stack */ |
| 1327 | int nodeMax; /* Max depth of the parsing stack */ |
| 1328 | xmlNodePtr *nodeTab; /* array of nodes */ |
| 1329 | |
| 1330 | int finishDtd; /* finished validating the Dtd ? */ |
Daniel Veillard | 29a11cc | 2000-10-25 13:32:39 +0000 | [diff] [blame] | 1331 | xmlDocPtr doc; /* the document */ |
| 1332 | int valid; /* temporary validity check result */ |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 1333 | |
| 1334 | /* state state used for non-determinist content validation */ |
| 1335 | xmlValidState *vstate; /* current state */ |
| 1336 | int vstateNr; /* Depth of the validation stack */ |
| 1337 | int vstateMax; /* Max depth of the validation stack */ |
| 1338 | xmlValidState *vstateTab; /* array of validation states */ |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1339 | };</PRE |
| 1340 | ></TD |
| 1341 | ></TR |
| 1342 | ></TABLE |
| 1343 | ><P |
| 1344 | ></P |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1345 | ><P |
| 1346 | ></P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1347 | ></DIV |
| 1348 | ><HR><DIV |
| 1349 | CLASS="REFSECT2" |
| 1350 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1351 | NAME="AEN8680" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1352 | ></A |
| 1353 | ><H3 |
| 1354 | ><A |
| 1355 | NAME="XMLVALIDCTXTPTR" |
| 1356 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1357 | >xmlValidCtxtPtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1358 | ><TABLE |
| 1359 | BORDER="0" |
| 1360 | BGCOLOR="#D6E8FF" |
| 1361 | WIDTH="100%" |
| 1362 | CELLPADDING="6" |
| 1363 | ><TR |
| 1364 | ><TD |
| 1365 | ><PRE |
| 1366 | CLASS="PROGRAMLISTING" |
| 1367 | >typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE |
| 1368 | ></TD |
| 1369 | ></TR |
| 1370 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1371 | ><P |
| 1372 | ></P |
| 1373 | ></DIV |
| 1374 | ><HR><DIV |
| 1375 | CLASS="REFSECT2" |
| 1376 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1377 | NAME="AEN8685" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1378 | ></A |
| 1379 | ><H3 |
| 1380 | ><A |
| 1381 | NAME="XMLNOTATIONTABLEPTR" |
| 1382 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1383 | >xmlNotationTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1384 | ><TABLE |
| 1385 | BORDER="0" |
| 1386 | BGCOLOR="#D6E8FF" |
| 1387 | WIDTH="100%" |
| 1388 | CELLPADDING="6" |
| 1389 | ><TR |
| 1390 | ><TD |
| 1391 | ><PRE |
| 1392 | CLASS="PROGRAMLISTING" |
| 1393 | >typedef xmlNotationTable *xmlNotationTablePtr;</PRE |
| 1394 | ></TD |
| 1395 | ></TR |
| 1396 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1397 | ><P |
| 1398 | ></P |
| 1399 | ></DIV |
| 1400 | ><HR><DIV |
| 1401 | CLASS="REFSECT2" |
| 1402 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1403 | NAME="AEN8690" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1404 | ></A |
| 1405 | ><H3 |
| 1406 | ><A |
| 1407 | NAME="XMLELEMENTTABLEPTR" |
| 1408 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1409 | >xmlElementTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1410 | ><TABLE |
| 1411 | BORDER="0" |
| 1412 | BGCOLOR="#D6E8FF" |
| 1413 | WIDTH="100%" |
| 1414 | CELLPADDING="6" |
| 1415 | ><TR |
| 1416 | ><TD |
| 1417 | ><PRE |
| 1418 | CLASS="PROGRAMLISTING" |
| 1419 | >typedef xmlElementTable *xmlElementTablePtr;</PRE |
| 1420 | ></TD |
| 1421 | ></TR |
| 1422 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1423 | ><P |
| 1424 | ></P |
| 1425 | ></DIV |
| 1426 | ><HR><DIV |
| 1427 | CLASS="REFSECT2" |
| 1428 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1429 | NAME="AEN8695" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1430 | ></A |
| 1431 | ><H3 |
| 1432 | ><A |
| 1433 | NAME="XMLATTRIBUTETABLEPTR" |
| 1434 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1435 | >xmlAttributeTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1436 | ><TABLE |
| 1437 | BORDER="0" |
| 1438 | BGCOLOR="#D6E8FF" |
| 1439 | WIDTH="100%" |
| 1440 | CELLPADDING="6" |
| 1441 | ><TR |
| 1442 | ><TD |
| 1443 | ><PRE |
| 1444 | CLASS="PROGRAMLISTING" |
| 1445 | >typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE |
| 1446 | ></TD |
| 1447 | ></TR |
| 1448 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1449 | ><P |
| 1450 | ></P |
| 1451 | ></DIV |
| 1452 | ><HR><DIV |
| 1453 | CLASS="REFSECT2" |
| 1454 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1455 | NAME="AEN8700" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1456 | ></A |
| 1457 | ><H3 |
| 1458 | ><A |
| 1459 | NAME="XMLIDTABLEPTR" |
| 1460 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1461 | >xmlIDTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1462 | ><TABLE |
| 1463 | BORDER="0" |
| 1464 | BGCOLOR="#D6E8FF" |
| 1465 | WIDTH="100%" |
| 1466 | CELLPADDING="6" |
| 1467 | ><TR |
| 1468 | ><TD |
| 1469 | ><PRE |
| 1470 | CLASS="PROGRAMLISTING" |
| 1471 | >typedef xmlIDTable *xmlIDTablePtr;</PRE |
| 1472 | ></TD |
| 1473 | ></TR |
| 1474 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1475 | ><P |
| 1476 | ></P |
| 1477 | ></DIV |
| 1478 | ><HR><DIV |
| 1479 | CLASS="REFSECT2" |
| 1480 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1481 | NAME="AEN8705" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1482 | ></A |
| 1483 | ><H3 |
| 1484 | ><A |
| 1485 | NAME="XMLREFTABLEPTR" |
| 1486 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1487 | >xmlRefTablePtr</H3 |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1488 | ><TABLE |
| 1489 | BORDER="0" |
| 1490 | BGCOLOR="#D6E8FF" |
| 1491 | WIDTH="100%" |
| 1492 | CELLPADDING="6" |
| 1493 | ><TR |
| 1494 | ><TD |
| 1495 | ><PRE |
| 1496 | CLASS="PROGRAMLISTING" |
| 1497 | >typedef xmlRefTable *xmlRefTablePtr;</PRE |
| 1498 | ></TD |
| 1499 | ></TR |
| 1500 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1501 | ><P |
| 1502 | ></P |
| 1503 | ></DIV |
| 1504 | ><HR><DIV |
| 1505 | CLASS="REFSECT2" |
| 1506 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1507 | NAME="AEN8710" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1508 | ></A |
| 1509 | ><H3 |
| 1510 | ><A |
| 1511 | NAME="XMLSPLITQNAME2" |
| 1512 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1513 | >xmlSplitQName2 ()</H3 |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1514 | ><TABLE |
| 1515 | BORDER="0" |
| 1516 | BGCOLOR="#D6E8FF" |
| 1517 | WIDTH="100%" |
| 1518 | CELLPADDING="6" |
| 1519 | ><TR |
| 1520 | ><TD |
| 1521 | ><PRE |
| 1522 | CLASS="PROGRAMLISTING" |
| 1523 | ><A |
| 1524 | HREF="libxml-tree.html#XMLCHAR" |
| 1525 | >xmlChar</A |
| 1526 | >* xmlSplitQName2 (const <A |
| 1527 | HREF="libxml-tree.html#XMLCHAR" |
| 1528 | >xmlChar</A |
| 1529 | > *name, |
| 1530 | <A |
| 1531 | HREF="libxml-tree.html#XMLCHAR" |
| 1532 | >xmlChar</A |
| 1533 | > **prefix);</PRE |
| 1534 | ></TD |
| 1535 | ></TR |
| 1536 | ></TABLE |
| 1537 | ><P |
| 1538 | >parse an XML qualified name string</P |
| 1539 | ><P |
| 1540 | >[NS 5] QName ::= (Prefix ':')? LocalPart</P |
| 1541 | ><P |
| 1542 | >[NS 6] Prefix ::= NCName</P |
| 1543 | ><P |
| 1544 | >[NS 7] LocalPart ::= NCName</P |
| 1545 | ><P |
| 1546 | ></P |
| 1547 | ><DIV |
| 1548 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1549 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1550 | NAME="AEN8722" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1551 | ></A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1552 | ><P |
| 1553 | ></P |
| 1554 | ><TABLE |
| 1555 | BORDER="0" |
| 1556 | WIDTH="100%" |
| 1557 | BGCOLOR="#FFD0D0" |
| 1558 | CELLSPACING="0" |
| 1559 | CELLPADDING="4" |
| 1560 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1561 | ><TBODY |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1562 | ><TR |
| 1563 | ><TD |
| 1564 | WIDTH="20%" |
| 1565 | ALIGN="RIGHT" |
| 1566 | VALIGN="TOP" |
| 1567 | ><TT |
| 1568 | CLASS="PARAMETER" |
| 1569 | ><I |
| 1570 | >name</I |
| 1571 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1572 | > :</TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1573 | ><TD |
| 1574 | WIDTH="80%" |
| 1575 | ALIGN="LEFT" |
| 1576 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1577 | > an XML parser context</TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1578 | ></TR |
| 1579 | ><TR |
| 1580 | ><TD |
| 1581 | WIDTH="20%" |
| 1582 | ALIGN="RIGHT" |
| 1583 | VALIGN="TOP" |
| 1584 | ><TT |
| 1585 | CLASS="PARAMETER" |
| 1586 | ><I |
| 1587 | >prefix</I |
| 1588 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1589 | > :</TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1590 | ><TD |
| 1591 | WIDTH="80%" |
| 1592 | ALIGN="LEFT" |
| 1593 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1594 | > a xmlChar ** </TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1595 | ></TR |
| 1596 | ><TR |
| 1597 | ><TD |
| 1598 | WIDTH="20%" |
| 1599 | ALIGN="RIGHT" |
| 1600 | VALIGN="TOP" |
| 1601 | ><I |
| 1602 | CLASS="EMPHASIS" |
| 1603 | >Returns</I |
| 1604 | > :</TD |
| 1605 | ><TD |
| 1606 | WIDTH="80%" |
| 1607 | ALIGN="LEFT" |
| 1608 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1609 | >NULL if not a QName, otherwise the local part, and prefix |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1610 | is updated to get the Prefix if any.</TD |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1611 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1612 | ></TBODY |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1613 | ></TABLE |
| 1614 | ><P |
| 1615 | ></P |
| 1616 | ></DIV |
| 1617 | ></DIV |
| 1618 | ><HR><DIV |
| 1619 | CLASS="REFSECT2" |
| 1620 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1621 | NAME="AEN8739" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1622 | ></A |
| 1623 | ><H3 |
| 1624 | ><A |
| 1625 | NAME="XMLADDNOTATIONDECL" |
| 1626 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1627 | >xmlAddNotationDecl ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1628 | ><TABLE |
| 1629 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1630 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1631 | WIDTH="100%" |
| 1632 | CELLPADDING="6" |
| 1633 | ><TR |
| 1634 | ><TD |
| 1635 | ><PRE |
| 1636 | CLASS="PROGRAMLISTING" |
| 1637 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1638 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1639 | >xmlNotationPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1640 | > xmlAddNotationDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1641 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1642 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1643 | > ctxt, |
| 1644 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1645 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1646 | >xmlDtdPtr</A |
| 1647 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 1648 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1649 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 1650 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1651 | > *name, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 1652 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1653 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 1654 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1655 | > *PublicID, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 1656 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1657 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 1658 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1659 | > *SystemID);</PRE |
| 1660 | ></TD |
| 1661 | ></TR |
| 1662 | ></TABLE |
| 1663 | ><P |
| 1664 | >Register a new notation declaration</P |
| 1665 | ><P |
| 1666 | ></P |
| 1667 | ><DIV |
| 1668 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1669 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1670 | NAME="AEN8751" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1671 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1672 | ><P |
| 1673 | ></P |
| 1674 | ><TABLE |
| 1675 | BORDER="0" |
| 1676 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1677 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1678 | CELLSPACING="0" |
| 1679 | CELLPADDING="4" |
| 1680 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1681 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1682 | ><TR |
| 1683 | ><TD |
| 1684 | WIDTH="20%" |
| 1685 | ALIGN="RIGHT" |
| 1686 | VALIGN="TOP" |
| 1687 | ><TT |
| 1688 | CLASS="PARAMETER" |
| 1689 | ><I |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1690 | >ctxt</I |
| 1691 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1692 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1693 | ><TD |
| 1694 | WIDTH="80%" |
| 1695 | ALIGN="LEFT" |
| 1696 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1697 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 1698 | ></TR |
| 1699 | ><TR |
| 1700 | ><TD |
| 1701 | WIDTH="20%" |
| 1702 | ALIGN="RIGHT" |
| 1703 | VALIGN="TOP" |
| 1704 | ><TT |
| 1705 | CLASS="PARAMETER" |
| 1706 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1707 | >dtd</I |
| 1708 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1709 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1710 | ><TD |
| 1711 | WIDTH="80%" |
| 1712 | ALIGN="LEFT" |
| 1713 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1714 | > pointer to the DTD</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1715 | ></TR |
| 1716 | ><TR |
| 1717 | ><TD |
| 1718 | WIDTH="20%" |
| 1719 | ALIGN="RIGHT" |
| 1720 | VALIGN="TOP" |
| 1721 | ><TT |
| 1722 | CLASS="PARAMETER" |
| 1723 | ><I |
| 1724 | >name</I |
| 1725 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1726 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1727 | ><TD |
| 1728 | WIDTH="80%" |
| 1729 | ALIGN="LEFT" |
| 1730 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1731 | > the entity name</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1732 | ></TR |
| 1733 | ><TR |
| 1734 | ><TD |
| 1735 | WIDTH="20%" |
| 1736 | ALIGN="RIGHT" |
| 1737 | VALIGN="TOP" |
| 1738 | ><TT |
| 1739 | CLASS="PARAMETER" |
| 1740 | ><I |
| 1741 | >PublicID</I |
| 1742 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1743 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1744 | ><TD |
| 1745 | WIDTH="80%" |
| 1746 | ALIGN="LEFT" |
| 1747 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1748 | > the public identifier or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1749 | ></TR |
| 1750 | ><TR |
| 1751 | ><TD |
| 1752 | WIDTH="20%" |
| 1753 | ALIGN="RIGHT" |
| 1754 | VALIGN="TOP" |
| 1755 | ><TT |
| 1756 | CLASS="PARAMETER" |
| 1757 | ><I |
| 1758 | >SystemID</I |
| 1759 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1760 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1761 | ><TD |
| 1762 | WIDTH="80%" |
| 1763 | ALIGN="LEFT" |
| 1764 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1765 | > the system identifier or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1766 | ></TR |
| 1767 | ><TR |
| 1768 | ><TD |
| 1769 | WIDTH="20%" |
| 1770 | ALIGN="RIGHT" |
| 1771 | VALIGN="TOP" |
| 1772 | ><I |
| 1773 | CLASS="EMPHASIS" |
| 1774 | >Returns</I |
| 1775 | > :</TD |
| 1776 | ><TD |
| 1777 | WIDTH="80%" |
| 1778 | ALIGN="LEFT" |
| 1779 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 1780 | >NULL if not, otherwise the entity</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1781 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1782 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1783 | ></TABLE |
| 1784 | ><P |
| 1785 | ></P |
| 1786 | ></DIV |
| 1787 | ></DIV |
| 1788 | ><HR><DIV |
| 1789 | CLASS="REFSECT2" |
| 1790 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1791 | NAME="AEN8780" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1792 | ></A |
| 1793 | ><H3 |
| 1794 | ><A |
| 1795 | NAME="XMLCOPYNOTATIONTABLE" |
| 1796 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1797 | >xmlCopyNotationTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1798 | ><TABLE |
| 1799 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1800 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1801 | WIDTH="100%" |
| 1802 | CELLPADDING="6" |
| 1803 | ><TR |
| 1804 | ><TD |
| 1805 | ><PRE |
| 1806 | CLASS="PROGRAMLISTING" |
| 1807 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1808 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1809 | >xmlNotationTablePtr</A |
| 1810 | > xmlCopyNotationTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1811 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1812 | >xmlNotationTablePtr</A |
| 1813 | > table);</PRE |
| 1814 | ></TD |
| 1815 | ></TR |
| 1816 | ></TABLE |
| 1817 | ><P |
| 1818 | >Build a copy of a notation table.</P |
| 1819 | ><P |
| 1820 | ></P |
| 1821 | ><DIV |
| 1822 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1823 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1824 | NAME="AEN8788" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1825 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1826 | ><P |
| 1827 | ></P |
| 1828 | ><TABLE |
| 1829 | BORDER="0" |
| 1830 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1831 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1832 | CELLSPACING="0" |
| 1833 | CELLPADDING="4" |
| 1834 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1835 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1836 | ><TR |
| 1837 | ><TD |
| 1838 | WIDTH="20%" |
| 1839 | ALIGN="RIGHT" |
| 1840 | VALIGN="TOP" |
| 1841 | ><TT |
| 1842 | CLASS="PARAMETER" |
| 1843 | ><I |
| 1844 | >table</I |
| 1845 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1846 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1847 | ><TD |
| 1848 | WIDTH="80%" |
| 1849 | ALIGN="LEFT" |
| 1850 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1851 | > A notation table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1852 | ></TR |
| 1853 | ><TR |
| 1854 | ><TD |
| 1855 | WIDTH="20%" |
| 1856 | ALIGN="RIGHT" |
| 1857 | VALIGN="TOP" |
| 1858 | ><I |
| 1859 | CLASS="EMPHASIS" |
| 1860 | >Returns</I |
| 1861 | > :</TD |
| 1862 | ><TD |
| 1863 | WIDTH="80%" |
| 1864 | ALIGN="LEFT" |
| 1865 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1866 | >the new xmlNotationTablePtr or NULL in case of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1867 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1868 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1869 | ></TABLE |
| 1870 | ><P |
| 1871 | ></P |
| 1872 | ></DIV |
| 1873 | ></DIV |
| 1874 | ><HR><DIV |
| 1875 | CLASS="REFSECT2" |
| 1876 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1877 | NAME="AEN8801" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1878 | ></A |
| 1879 | ><H3 |
| 1880 | ><A |
| 1881 | NAME="XMLFREENOTATIONTABLE" |
| 1882 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1883 | >xmlFreeNotationTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1884 | ><TABLE |
| 1885 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1886 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1887 | WIDTH="100%" |
| 1888 | CELLPADDING="6" |
| 1889 | ><TR |
| 1890 | ><TD |
| 1891 | ><PRE |
| 1892 | CLASS="PROGRAMLISTING" |
| 1893 | >void xmlFreeNotationTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1894 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1895 | >xmlNotationTablePtr</A |
| 1896 | > table);</PRE |
| 1897 | ></TD |
| 1898 | ></TR |
| 1899 | ></TABLE |
| 1900 | ><P |
| 1901 | >Deallocate the memory used by an entities hash table.</P |
| 1902 | ><P |
| 1903 | ></P |
| 1904 | ><DIV |
| 1905 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1906 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1907 | NAME="AEN8808" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1908 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1909 | ><P |
| 1910 | ></P |
| 1911 | ><TABLE |
| 1912 | BORDER="0" |
| 1913 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 1914 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1915 | CELLSPACING="0" |
| 1916 | CELLPADDING="4" |
| 1917 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1918 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1919 | ><TR |
| 1920 | ><TD |
| 1921 | WIDTH="20%" |
| 1922 | ALIGN="RIGHT" |
| 1923 | VALIGN="TOP" |
| 1924 | ><TT |
| 1925 | CLASS="PARAMETER" |
| 1926 | ><I |
| 1927 | >table</I |
| 1928 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1929 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1930 | ><TD |
| 1931 | WIDTH="80%" |
| 1932 | ALIGN="LEFT" |
| 1933 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1934 | > An notation table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1935 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1936 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 1937 | ></TABLE |
| 1938 | ><P |
| 1939 | ></P |
| 1940 | ></DIV |
| 1941 | ></DIV |
| 1942 | ><HR><DIV |
| 1943 | CLASS="REFSECT2" |
| 1944 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1945 | NAME="AEN8817" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1946 | ></A |
| 1947 | ><H3 |
| 1948 | ><A |
| 1949 | NAME="XMLDUMPNOTATIONDECL" |
| 1950 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1951 | >xmlDumpNotationDecl ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1952 | ><TABLE |
| 1953 | BORDER="0" |
| 1954 | BGCOLOR="#D6E8FF" |
| 1955 | WIDTH="100%" |
| 1956 | CELLPADDING="6" |
| 1957 | ><TR |
| 1958 | ><TD |
| 1959 | ><PRE |
| 1960 | CLASS="PROGRAMLISTING" |
| 1961 | >void xmlDumpNotationDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1962 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1963 | >xmlBufferPtr</A |
| 1964 | > buf, |
| 1965 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1966 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1967 | >xmlNotationPtr</A |
| 1968 | > nota);</PRE |
| 1969 | ></TD |
| 1970 | ></TR |
| 1971 | ></TABLE |
| 1972 | ><P |
| 1973 | >This will dump the content the notation declaration as an XML DTD definition</P |
| 1974 | ><P |
| 1975 | ></P |
| 1976 | ><DIV |
| 1977 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1978 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 1979 | NAME="AEN8825" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1980 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1981 | ><P |
| 1982 | ></P |
| 1983 | ><TABLE |
| 1984 | BORDER="0" |
| 1985 | WIDTH="100%" |
| 1986 | BGCOLOR="#FFD0D0" |
| 1987 | CELLSPACING="0" |
| 1988 | CELLPADDING="4" |
| 1989 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1990 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1991 | ><TR |
| 1992 | ><TD |
| 1993 | WIDTH="20%" |
| 1994 | ALIGN="RIGHT" |
| 1995 | VALIGN="TOP" |
| 1996 | ><TT |
| 1997 | CLASS="PARAMETER" |
| 1998 | ><I |
| 1999 | >buf</I |
| 2000 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2001 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2002 | ><TD |
| 2003 | WIDTH="80%" |
| 2004 | ALIGN="LEFT" |
| 2005 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2006 | > the XML buffer output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2007 | ></TR |
| 2008 | ><TR |
| 2009 | ><TD |
| 2010 | WIDTH="20%" |
| 2011 | ALIGN="RIGHT" |
| 2012 | VALIGN="TOP" |
| 2013 | ><TT |
| 2014 | CLASS="PARAMETER" |
| 2015 | ><I |
| 2016 | >nota</I |
| 2017 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2018 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2019 | ><TD |
| 2020 | WIDTH="80%" |
| 2021 | ALIGN="LEFT" |
| 2022 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2023 | > A notation declaration</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2024 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2025 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2026 | ></TABLE |
| 2027 | ><P |
| 2028 | ></P |
| 2029 | ></DIV |
| 2030 | ></DIV |
| 2031 | ><HR><DIV |
| 2032 | CLASS="REFSECT2" |
| 2033 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2034 | NAME="AEN8838" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2035 | ></A |
| 2036 | ><H3 |
| 2037 | ><A |
| 2038 | NAME="XMLDUMPNOTATIONTABLE" |
| 2039 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2040 | >xmlDumpNotationTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2041 | ><TABLE |
| 2042 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2043 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2044 | WIDTH="100%" |
| 2045 | CELLPADDING="6" |
| 2046 | ><TR |
| 2047 | ><TD |
| 2048 | ><PRE |
| 2049 | CLASS="PROGRAMLISTING" |
| 2050 | >void xmlDumpNotationTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2051 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2052 | >xmlBufferPtr</A |
| 2053 | > buf, |
| 2054 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2055 | HREF="libxml-valid.html#XMLNOTATIONTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2056 | >xmlNotationTablePtr</A |
| 2057 | > table);</PRE |
| 2058 | ></TD |
| 2059 | ></TR |
| 2060 | ></TABLE |
| 2061 | ><P |
| 2062 | >This will dump the content of the notation table as an XML DTD definition</P |
| 2063 | ><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2064 | ></P |
| 2065 | ><DIV |
| 2066 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2067 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2068 | NAME="AEN8846" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2069 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2070 | ><P |
| 2071 | ></P |
| 2072 | ><TABLE |
| 2073 | BORDER="0" |
| 2074 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2075 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2076 | CELLSPACING="0" |
| 2077 | CELLPADDING="4" |
| 2078 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2079 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2080 | ><TR |
| 2081 | ><TD |
| 2082 | WIDTH="20%" |
| 2083 | ALIGN="RIGHT" |
| 2084 | VALIGN="TOP" |
| 2085 | ><TT |
| 2086 | CLASS="PARAMETER" |
| 2087 | ><I |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2088 | >buf</I |
| 2089 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2090 | > :</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2091 | ><TD |
| 2092 | WIDTH="80%" |
| 2093 | ALIGN="LEFT" |
| 2094 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2095 | > the XML buffer output</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2096 | ></TR |
| 2097 | ><TR |
| 2098 | ><TD |
| 2099 | WIDTH="20%" |
| 2100 | ALIGN="RIGHT" |
| 2101 | VALIGN="TOP" |
| 2102 | ><TT |
| 2103 | CLASS="PARAMETER" |
| 2104 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2105 | >table</I |
| 2106 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2107 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2108 | ><TD |
| 2109 | WIDTH="80%" |
| 2110 | ALIGN="LEFT" |
| 2111 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2112 | > A notation table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2113 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2114 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2115 | ></TABLE |
| 2116 | ><P |
| 2117 | ></P |
| 2118 | ></DIV |
| 2119 | ></DIV |
| 2120 | ><HR><DIV |
| 2121 | CLASS="REFSECT2" |
| 2122 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2123 | NAME="AEN8859" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2124 | ></A |
| 2125 | ><H3 |
| 2126 | ><A |
| 2127 | NAME="XMLNEWELEMENTCONTENT" |
| 2128 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2129 | >xmlNewElementContent ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2130 | ><TABLE |
| 2131 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2132 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2133 | WIDTH="100%" |
| 2134 | CELLPADDING="6" |
| 2135 | ><TR |
| 2136 | ><TD |
| 2137 | ><PRE |
| 2138 | CLASS="PROGRAMLISTING" |
| 2139 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2140 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2141 | >xmlElementContentPtr</A |
| 2142 | > xmlNewElementContent (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2143 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 2144 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2145 | > *name, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 2146 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2147 | HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE" |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 2148 | >xmlElementContentType</A |
| 2149 | > type);</PRE |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2150 | ></TD |
| 2151 | ></TR |
| 2152 | ></TABLE |
| 2153 | ><P |
| 2154 | >Allocate an element content structure.</P |
| 2155 | ><P |
| 2156 | ></P |
| 2157 | ><DIV |
| 2158 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2159 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2160 | NAME="AEN8868" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2161 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2162 | ><P |
| 2163 | ></P |
| 2164 | ><TABLE |
| 2165 | BORDER="0" |
| 2166 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2167 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2168 | CELLSPACING="0" |
| 2169 | CELLPADDING="4" |
| 2170 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2171 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2172 | ><TR |
| 2173 | ><TD |
| 2174 | WIDTH="20%" |
| 2175 | ALIGN="RIGHT" |
| 2176 | VALIGN="TOP" |
| 2177 | ><TT |
| 2178 | CLASS="PARAMETER" |
| 2179 | ><I |
| 2180 | >name</I |
| 2181 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2182 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2183 | ><TD |
| 2184 | WIDTH="80%" |
| 2185 | ALIGN="LEFT" |
| 2186 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2187 | > the subelement name or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2188 | ></TR |
| 2189 | ><TR |
| 2190 | ><TD |
| 2191 | WIDTH="20%" |
| 2192 | ALIGN="RIGHT" |
| 2193 | VALIGN="TOP" |
| 2194 | ><TT |
| 2195 | CLASS="PARAMETER" |
| 2196 | ><I |
| 2197 | >type</I |
| 2198 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2199 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2200 | ><TD |
| 2201 | WIDTH="80%" |
| 2202 | ALIGN="LEFT" |
| 2203 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2204 | > the type of element content decl</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2205 | ></TR |
| 2206 | ><TR |
| 2207 | ><TD |
| 2208 | WIDTH="20%" |
| 2209 | ALIGN="RIGHT" |
| 2210 | VALIGN="TOP" |
| 2211 | ><I |
| 2212 | CLASS="EMPHASIS" |
| 2213 | >Returns</I |
| 2214 | > :</TD |
| 2215 | ><TD |
| 2216 | WIDTH="80%" |
| 2217 | ALIGN="LEFT" |
| 2218 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 2219 | >NULL if not, otherwise the new element content structure</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2220 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2221 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2222 | ></TABLE |
| 2223 | ><P |
| 2224 | ></P |
| 2225 | ></DIV |
| 2226 | ></DIV |
| 2227 | ><HR><DIV |
| 2228 | CLASS="REFSECT2" |
| 2229 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2230 | NAME="AEN8885" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2231 | ></A |
| 2232 | ><H3 |
| 2233 | ><A |
| 2234 | NAME="XMLCOPYELEMENTCONTENT" |
| 2235 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2236 | >xmlCopyElementContent ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2237 | ><TABLE |
| 2238 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2239 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2240 | WIDTH="100%" |
| 2241 | CELLPADDING="6" |
| 2242 | ><TR |
| 2243 | ><TD |
| 2244 | ><PRE |
| 2245 | CLASS="PROGRAMLISTING" |
| 2246 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2247 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2248 | >xmlElementContentPtr</A |
| 2249 | > xmlCopyElementContent (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2250 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2251 | >xmlElementContentPtr</A |
| 2252 | > content);</PRE |
| 2253 | ></TD |
| 2254 | ></TR |
| 2255 | ></TABLE |
| 2256 | ><P |
| 2257 | >Build a copy of an element content description.</P |
| 2258 | ><P |
| 2259 | ></P |
| 2260 | ><DIV |
| 2261 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2262 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2263 | NAME="AEN8893" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2264 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2265 | ><P |
| 2266 | ></P |
| 2267 | ><TABLE |
| 2268 | BORDER="0" |
| 2269 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2270 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2271 | CELLSPACING="0" |
| 2272 | CELLPADDING="4" |
| 2273 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2274 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2275 | ><TR |
| 2276 | ><TD |
| 2277 | WIDTH="20%" |
| 2278 | ALIGN="RIGHT" |
| 2279 | VALIGN="TOP" |
| 2280 | ><TT |
| 2281 | CLASS="PARAMETER" |
| 2282 | ><I |
| 2283 | >content</I |
| 2284 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2285 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2286 | ><TD |
| 2287 | WIDTH="80%" |
| 2288 | ALIGN="LEFT" |
| 2289 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2290 | > An element content pointer.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2291 | ></TR |
| 2292 | ><TR |
| 2293 | ><TD |
| 2294 | WIDTH="20%" |
| 2295 | ALIGN="RIGHT" |
| 2296 | VALIGN="TOP" |
| 2297 | ><I |
| 2298 | CLASS="EMPHASIS" |
| 2299 | >Returns</I |
| 2300 | > :</TD |
| 2301 | ><TD |
| 2302 | WIDTH="80%" |
| 2303 | ALIGN="LEFT" |
| 2304 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2305 | >the new xmlElementContentPtr or NULL in case of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2306 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2307 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2308 | ></TABLE |
| 2309 | ><P |
| 2310 | ></P |
| 2311 | ></DIV |
| 2312 | ></DIV |
| 2313 | ><HR><DIV |
| 2314 | CLASS="REFSECT2" |
| 2315 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2316 | NAME="AEN8906" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2317 | ></A |
| 2318 | ><H3 |
| 2319 | ><A |
| 2320 | NAME="XMLFREEELEMENTCONTENT" |
| 2321 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2322 | >xmlFreeElementContent ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2323 | ><TABLE |
| 2324 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2325 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2326 | WIDTH="100%" |
| 2327 | CELLPADDING="6" |
| 2328 | ><TR |
| 2329 | ><TD |
| 2330 | ><PRE |
| 2331 | CLASS="PROGRAMLISTING" |
| 2332 | >void xmlFreeElementContent (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2333 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2334 | >xmlElementContentPtr</A |
| 2335 | > cur);</PRE |
| 2336 | ></TD |
| 2337 | ></TR |
| 2338 | ></TABLE |
| 2339 | ><P |
| 2340 | >Free an element content structure. This is a recursive call !</P |
| 2341 | ><P |
| 2342 | ></P |
| 2343 | ><DIV |
| 2344 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2345 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2346 | NAME="AEN8913" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2347 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2348 | ><P |
| 2349 | ></P |
| 2350 | ><TABLE |
| 2351 | BORDER="0" |
| 2352 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2353 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2354 | CELLSPACING="0" |
| 2355 | CELLPADDING="4" |
| 2356 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2357 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2358 | ><TR |
| 2359 | ><TD |
| 2360 | WIDTH="20%" |
| 2361 | ALIGN="RIGHT" |
| 2362 | VALIGN="TOP" |
| 2363 | ><TT |
| 2364 | CLASS="PARAMETER" |
| 2365 | ><I |
| 2366 | >cur</I |
| 2367 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2368 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2369 | ><TD |
| 2370 | WIDTH="80%" |
| 2371 | ALIGN="LEFT" |
| 2372 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2373 | > the element content tree to free</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2374 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2375 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2376 | ></TABLE |
| 2377 | ><P |
| 2378 | ></P |
| 2379 | ></DIV |
| 2380 | ></DIV |
| 2381 | ><HR><DIV |
| 2382 | CLASS="REFSECT2" |
| 2383 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2384 | NAME="AEN8922" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 2385 | ></A |
| 2386 | ><H3 |
| 2387 | ><A |
| 2388 | NAME="XMLSNPRINTFELEMENTCONTENT" |
| 2389 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2390 | >xmlSnprintfElementContent ()</H3 |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 2391 | ><TABLE |
| 2392 | BORDER="0" |
| 2393 | BGCOLOR="#D6E8FF" |
| 2394 | WIDTH="100%" |
| 2395 | CELLPADDING="6" |
| 2396 | ><TR |
| 2397 | ><TD |
| 2398 | ><PRE |
| 2399 | CLASS="PROGRAMLISTING" |
| 2400 | >void xmlSnprintfElementContent (char *buf, |
| 2401 | int size, |
| 2402 | <A |
| 2403 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
| 2404 | >xmlElementContentPtr</A |
| 2405 | > content, |
| 2406 | int glob);</PRE |
| 2407 | ></TD |
| 2408 | ></TR |
| 2409 | ></TABLE |
| 2410 | ><P |
| 2411 | >This will dump the content of the element content definition |
| 2412 | Intended just for the debug routine</P |
| 2413 | ><P |
| 2414 | ></P |
| 2415 | ><DIV |
| 2416 | CLASS="INFORMALTABLE" |
| 2417 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2418 | NAME="AEN8929" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 2419 | ></A |
| 2420 | ><P |
| 2421 | ></P |
| 2422 | ><TABLE |
| 2423 | BORDER="0" |
| 2424 | WIDTH="100%" |
| 2425 | BGCOLOR="#FFD0D0" |
| 2426 | CELLSPACING="0" |
| 2427 | CELLPADDING="4" |
| 2428 | CLASS="CALSTABLE" |
| 2429 | ><TBODY |
| 2430 | ><TR |
| 2431 | ><TD |
| 2432 | WIDTH="20%" |
| 2433 | ALIGN="RIGHT" |
| 2434 | VALIGN="TOP" |
| 2435 | ><TT |
| 2436 | CLASS="PARAMETER" |
| 2437 | ><I |
| 2438 | >buf</I |
| 2439 | ></TT |
| 2440 | > :</TD |
| 2441 | ><TD |
| 2442 | WIDTH="80%" |
| 2443 | ALIGN="LEFT" |
| 2444 | VALIGN="TOP" |
| 2445 | > an output buffer</TD |
| 2446 | ></TR |
| 2447 | ><TR |
| 2448 | ><TD |
| 2449 | WIDTH="20%" |
| 2450 | ALIGN="RIGHT" |
| 2451 | VALIGN="TOP" |
| 2452 | ><TT |
| 2453 | CLASS="PARAMETER" |
| 2454 | ><I |
| 2455 | >size</I |
| 2456 | ></TT |
| 2457 | > :</TD |
| 2458 | ><TD |
| 2459 | WIDTH="80%" |
| 2460 | ALIGN="LEFT" |
| 2461 | VALIGN="TOP" |
| 2462 | > the buffer size</TD |
| 2463 | ></TR |
| 2464 | ><TR |
| 2465 | ><TD |
| 2466 | WIDTH="20%" |
| 2467 | ALIGN="RIGHT" |
| 2468 | VALIGN="TOP" |
| 2469 | ><TT |
| 2470 | CLASS="PARAMETER" |
| 2471 | ><I |
| 2472 | >content</I |
| 2473 | ></TT |
| 2474 | > :</TD |
| 2475 | ><TD |
| 2476 | WIDTH="80%" |
| 2477 | ALIGN="LEFT" |
| 2478 | VALIGN="TOP" |
| 2479 | > An element table</TD |
| 2480 | ></TR |
| 2481 | ><TR |
| 2482 | ><TD |
| 2483 | WIDTH="20%" |
| 2484 | ALIGN="RIGHT" |
| 2485 | VALIGN="TOP" |
| 2486 | ><TT |
| 2487 | CLASS="PARAMETER" |
| 2488 | ><I |
| 2489 | >glob</I |
| 2490 | ></TT |
| 2491 | > :</TD |
| 2492 | ><TD |
| 2493 | WIDTH="80%" |
| 2494 | ALIGN="LEFT" |
| 2495 | VALIGN="TOP" |
| 2496 | > 1 if one must print the englobing parenthesis, 0 otherwise</TD |
| 2497 | ></TR |
| 2498 | ></TBODY |
| 2499 | ></TABLE |
| 2500 | ><P |
| 2501 | ></P |
| 2502 | ></DIV |
| 2503 | ></DIV |
| 2504 | ><HR><DIV |
| 2505 | CLASS="REFSECT2" |
| 2506 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2507 | NAME="AEN8950" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2508 | ></A |
| 2509 | ><H3 |
| 2510 | ><A |
| 2511 | NAME="XMLSPRINTFELEMENTCONTENT" |
| 2512 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2513 | >xmlSprintfElementContent ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2514 | ><TABLE |
| 2515 | BORDER="0" |
| 2516 | BGCOLOR="#D6E8FF" |
| 2517 | WIDTH="100%" |
| 2518 | CELLPADDING="6" |
| 2519 | ><TR |
| 2520 | ><TD |
| 2521 | ><PRE |
| 2522 | CLASS="PROGRAMLISTING" |
| 2523 | >void xmlSprintfElementContent (char *buf, |
| 2524 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2525 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2526 | >xmlElementContentPtr</A |
| 2527 | > content, |
| 2528 | int glob);</PRE |
| 2529 | ></TD |
| 2530 | ></TR |
| 2531 | ></TABLE |
| 2532 | ><P |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 2533 | >Deprecated, unsafe, use xmlSnprintfElementContent</P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2534 | ><P |
| 2535 | ></P |
| 2536 | ><DIV |
| 2537 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2538 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2539 | NAME="AEN8957" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2540 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2541 | ><P |
| 2542 | ></P |
| 2543 | ><TABLE |
| 2544 | BORDER="0" |
| 2545 | WIDTH="100%" |
| 2546 | BGCOLOR="#FFD0D0" |
| 2547 | CELLSPACING="0" |
| 2548 | CELLPADDING="4" |
| 2549 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2550 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2551 | ><TR |
| 2552 | ><TD |
| 2553 | WIDTH="20%" |
| 2554 | ALIGN="RIGHT" |
| 2555 | VALIGN="TOP" |
| 2556 | ><TT |
| 2557 | CLASS="PARAMETER" |
| 2558 | ><I |
| 2559 | >buf</I |
| 2560 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2561 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2562 | ><TD |
| 2563 | WIDTH="80%" |
| 2564 | ALIGN="LEFT" |
| 2565 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2566 | > an output buffer</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2567 | ></TR |
| 2568 | ><TR |
| 2569 | ><TD |
| 2570 | WIDTH="20%" |
| 2571 | ALIGN="RIGHT" |
| 2572 | VALIGN="TOP" |
| 2573 | ><TT |
| 2574 | CLASS="PARAMETER" |
| 2575 | ><I |
| 2576 | >content</I |
| 2577 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2578 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2579 | ><TD |
| 2580 | WIDTH="80%" |
| 2581 | ALIGN="LEFT" |
| 2582 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2583 | > An element table</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2584 | ></TR |
| 2585 | ><TR |
| 2586 | ><TD |
| 2587 | WIDTH="20%" |
| 2588 | ALIGN="RIGHT" |
| 2589 | VALIGN="TOP" |
| 2590 | ><TT |
| 2591 | CLASS="PARAMETER" |
| 2592 | ><I |
| 2593 | >glob</I |
| 2594 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2595 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2596 | ><TD |
| 2597 | WIDTH="80%" |
| 2598 | ALIGN="LEFT" |
| 2599 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2600 | > 1 if one must print the englobing parenthesis, 0 otherwise</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2601 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2602 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2603 | ></TABLE |
| 2604 | ><P |
| 2605 | ></P |
| 2606 | ></DIV |
| 2607 | ></DIV |
| 2608 | ><HR><DIV |
| 2609 | CLASS="REFSECT2" |
| 2610 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2611 | NAME="AEN8974" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2612 | ></A |
| 2613 | ><H3 |
| 2614 | ><A |
| 2615 | NAME="XMLADDELEMENTDECL" |
| 2616 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2617 | >xmlAddElementDecl ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2618 | ><TABLE |
| 2619 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2620 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2621 | WIDTH="100%" |
| 2622 | CELLPADDING="6" |
| 2623 | ><TR |
| 2624 | ><TD |
| 2625 | ><PRE |
| 2626 | CLASS="PROGRAMLISTING" |
| 2627 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2628 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2629 | >xmlElementPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2630 | > xmlAddElementDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2631 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2632 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 2633 | > ctxt, |
| 2634 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2635 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2636 | >xmlDtdPtr</A |
| 2637 | > dtd, |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2638 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2639 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 2640 | >xmlChar</A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2641 | > *name, |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 2642 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2643 | HREF="libxml-tree.html#XMLELEMENTTYPEVAL" |
Daniel Veillard | 4c3a203 | 1999-11-19 17:46:26 +0000 | [diff] [blame] | 2644 | >xmlElementTypeVal</A |
Daniel Veillard | d2d38e9 | 1999-08-30 11:42:36 +0000 | [diff] [blame] | 2645 | > type, |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2646 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2647 | HREF="libxml-tree.html#XMLELEMENTCONTENTPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2648 | >xmlElementContentPtr</A |
| 2649 | > content);</PRE |
| 2650 | ></TD |
| 2651 | ></TR |
| 2652 | ></TABLE |
| 2653 | ><P |
| 2654 | >Register a new element declaration</P |
| 2655 | ><P |
| 2656 | ></P |
| 2657 | ><DIV |
| 2658 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2659 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2660 | NAME="AEN8986" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2661 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2662 | ><P |
| 2663 | ></P |
| 2664 | ><TABLE |
| 2665 | BORDER="0" |
| 2666 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2667 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2668 | CELLSPACING="0" |
| 2669 | CELLPADDING="4" |
| 2670 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2671 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2672 | ><TR |
| 2673 | ><TD |
| 2674 | WIDTH="20%" |
| 2675 | ALIGN="RIGHT" |
| 2676 | VALIGN="TOP" |
| 2677 | ><TT |
| 2678 | CLASS="PARAMETER" |
| 2679 | ><I |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 2680 | >ctxt</I |
| 2681 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2682 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 2683 | ><TD |
| 2684 | WIDTH="80%" |
| 2685 | ALIGN="LEFT" |
| 2686 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2687 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 2688 | ></TR |
| 2689 | ><TR |
| 2690 | ><TD |
| 2691 | WIDTH="20%" |
| 2692 | ALIGN="RIGHT" |
| 2693 | VALIGN="TOP" |
| 2694 | ><TT |
| 2695 | CLASS="PARAMETER" |
| 2696 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2697 | >dtd</I |
| 2698 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2699 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2700 | ><TD |
| 2701 | WIDTH="80%" |
| 2702 | ALIGN="LEFT" |
| 2703 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2704 | > pointer to the DTD</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2705 | ></TR |
| 2706 | ><TR |
| 2707 | ><TD |
| 2708 | WIDTH="20%" |
| 2709 | ALIGN="RIGHT" |
| 2710 | VALIGN="TOP" |
| 2711 | ><TT |
| 2712 | CLASS="PARAMETER" |
| 2713 | ><I |
| 2714 | >name</I |
| 2715 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2716 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2717 | ><TD |
| 2718 | WIDTH="80%" |
| 2719 | ALIGN="LEFT" |
| 2720 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2721 | > the entity name</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2722 | ></TR |
| 2723 | ><TR |
| 2724 | ><TD |
| 2725 | WIDTH="20%" |
| 2726 | ALIGN="RIGHT" |
| 2727 | VALIGN="TOP" |
| 2728 | ><TT |
| 2729 | CLASS="PARAMETER" |
| 2730 | ><I |
| 2731 | >type</I |
| 2732 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2733 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2734 | ><TD |
| 2735 | WIDTH="80%" |
| 2736 | ALIGN="LEFT" |
| 2737 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2738 | > the element type</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2739 | ></TR |
| 2740 | ><TR |
| 2741 | ><TD |
| 2742 | WIDTH="20%" |
| 2743 | ALIGN="RIGHT" |
| 2744 | VALIGN="TOP" |
| 2745 | ><TT |
| 2746 | CLASS="PARAMETER" |
| 2747 | ><I |
| 2748 | >content</I |
| 2749 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2750 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2751 | ><TD |
| 2752 | WIDTH="80%" |
| 2753 | ALIGN="LEFT" |
| 2754 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2755 | > the element content tree or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2756 | ></TR |
| 2757 | ><TR |
| 2758 | ><TD |
| 2759 | WIDTH="20%" |
| 2760 | ALIGN="RIGHT" |
| 2761 | VALIGN="TOP" |
| 2762 | ><I |
| 2763 | CLASS="EMPHASIS" |
| 2764 | >Returns</I |
| 2765 | > :</TD |
| 2766 | ><TD |
| 2767 | WIDTH="80%" |
| 2768 | ALIGN="LEFT" |
| 2769 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 2770 | >NULL if not, otherwise the entity</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2771 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2772 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2773 | ></TABLE |
| 2774 | ><P |
| 2775 | ></P |
| 2776 | ></DIV |
| 2777 | ></DIV |
| 2778 | ><HR><DIV |
| 2779 | CLASS="REFSECT2" |
| 2780 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2781 | NAME="AEN9015" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2782 | ></A |
| 2783 | ><H3 |
| 2784 | ><A |
| 2785 | NAME="XMLCOPYELEMENTTABLE" |
| 2786 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2787 | >xmlCopyElementTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2788 | ><TABLE |
| 2789 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2790 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2791 | WIDTH="100%" |
| 2792 | CELLPADDING="6" |
| 2793 | ><TR |
| 2794 | ><TD |
| 2795 | ><PRE |
| 2796 | CLASS="PROGRAMLISTING" |
| 2797 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2798 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2799 | >xmlElementTablePtr</A |
| 2800 | > xmlCopyElementTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2801 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2802 | >xmlElementTablePtr</A |
| 2803 | > table);</PRE |
| 2804 | ></TD |
| 2805 | ></TR |
| 2806 | ></TABLE |
| 2807 | ><P |
| 2808 | >Build a copy of an element table.</P |
| 2809 | ><P |
| 2810 | ></P |
| 2811 | ><DIV |
| 2812 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2813 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2814 | NAME="AEN9023" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2815 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2816 | ><P |
| 2817 | ></P |
| 2818 | ><TABLE |
| 2819 | BORDER="0" |
| 2820 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2821 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2822 | CELLSPACING="0" |
| 2823 | CELLPADDING="4" |
| 2824 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2825 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2826 | ><TR |
| 2827 | ><TD |
| 2828 | WIDTH="20%" |
| 2829 | ALIGN="RIGHT" |
| 2830 | VALIGN="TOP" |
| 2831 | ><TT |
| 2832 | CLASS="PARAMETER" |
| 2833 | ><I |
| 2834 | >table</I |
| 2835 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2836 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2837 | ><TD |
| 2838 | WIDTH="80%" |
| 2839 | ALIGN="LEFT" |
| 2840 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2841 | > An element table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2842 | ></TR |
| 2843 | ><TR |
| 2844 | ><TD |
| 2845 | WIDTH="20%" |
| 2846 | ALIGN="RIGHT" |
| 2847 | VALIGN="TOP" |
| 2848 | ><I |
| 2849 | CLASS="EMPHASIS" |
| 2850 | >Returns</I |
| 2851 | > :</TD |
| 2852 | ><TD |
| 2853 | WIDTH="80%" |
| 2854 | ALIGN="LEFT" |
| 2855 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2856 | >the new xmlElementTablePtr or NULL in case of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2857 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2858 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2859 | ></TABLE |
| 2860 | ><P |
| 2861 | ></P |
| 2862 | ></DIV |
| 2863 | ></DIV |
| 2864 | ><HR><DIV |
| 2865 | CLASS="REFSECT2" |
| 2866 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2867 | NAME="AEN9036" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2868 | ></A |
| 2869 | ><H3 |
| 2870 | ><A |
| 2871 | NAME="XMLFREEELEMENTTABLE" |
| 2872 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2873 | >xmlFreeElementTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2874 | ><TABLE |
| 2875 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2876 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2877 | WIDTH="100%" |
| 2878 | CELLPADDING="6" |
| 2879 | ><TR |
| 2880 | ><TD |
| 2881 | ><PRE |
| 2882 | CLASS="PROGRAMLISTING" |
| 2883 | >void xmlFreeElementTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2884 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2885 | >xmlElementTablePtr</A |
| 2886 | > table);</PRE |
| 2887 | ></TD |
| 2888 | ></TR |
| 2889 | ></TABLE |
| 2890 | ><P |
| 2891 | >Deallocate the memory used by an element hash table.</P |
| 2892 | ><P |
| 2893 | ></P |
| 2894 | ><DIV |
| 2895 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2896 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2897 | NAME="AEN9043" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2898 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2899 | ><P |
| 2900 | ></P |
| 2901 | ><TABLE |
| 2902 | BORDER="0" |
| 2903 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2904 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2905 | CELLSPACING="0" |
| 2906 | CELLPADDING="4" |
| 2907 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2908 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2909 | ><TR |
| 2910 | ><TD |
| 2911 | WIDTH="20%" |
| 2912 | ALIGN="RIGHT" |
| 2913 | VALIGN="TOP" |
| 2914 | ><TT |
| 2915 | CLASS="PARAMETER" |
| 2916 | ><I |
| 2917 | >table</I |
| 2918 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2919 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2920 | ><TD |
| 2921 | WIDTH="80%" |
| 2922 | ALIGN="LEFT" |
| 2923 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2924 | > An element table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2925 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2926 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2927 | ></TABLE |
| 2928 | ><P |
| 2929 | ></P |
| 2930 | ></DIV |
| 2931 | ></DIV |
| 2932 | ><HR><DIV |
| 2933 | CLASS="REFSECT2" |
| 2934 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2935 | NAME="AEN9052" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2936 | ></A |
| 2937 | ><H3 |
| 2938 | ><A |
| 2939 | NAME="XMLDUMPELEMENTTABLE" |
| 2940 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 2941 | >xmlDumpElementTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2942 | ><TABLE |
| 2943 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2944 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2945 | WIDTH="100%" |
| 2946 | CELLPADDING="6" |
| 2947 | ><TR |
| 2948 | ><TD |
| 2949 | ><PRE |
| 2950 | CLASS="PROGRAMLISTING" |
| 2951 | >void xmlDumpElementTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2952 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2953 | >xmlBufferPtr</A |
| 2954 | > buf, |
| 2955 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 2956 | HREF="libxml-valid.html#XMLELEMENTTABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2957 | >xmlElementTablePtr</A |
| 2958 | > table);</PRE |
| 2959 | ></TD |
| 2960 | ></TR |
| 2961 | ></TABLE |
| 2962 | ><P |
| 2963 | >This will dump the content of the element table as an XML DTD definition</P |
| 2964 | ><P |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2965 | ></P |
| 2966 | ><DIV |
| 2967 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2968 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 2969 | NAME="AEN9060" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2970 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2971 | ><P |
| 2972 | ></P |
| 2973 | ><TABLE |
| 2974 | BORDER="0" |
| 2975 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 2976 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2977 | CELLSPACING="0" |
| 2978 | CELLPADDING="4" |
| 2979 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 2980 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 2981 | ><TR |
| 2982 | ><TD |
| 2983 | WIDTH="20%" |
| 2984 | ALIGN="RIGHT" |
| 2985 | VALIGN="TOP" |
| 2986 | ><TT |
| 2987 | CLASS="PARAMETER" |
| 2988 | ><I |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2989 | >buf</I |
| 2990 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 2991 | > :</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2992 | ><TD |
| 2993 | WIDTH="80%" |
| 2994 | ALIGN="LEFT" |
| 2995 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 2996 | > the XML buffer output</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 2997 | ></TR |
| 2998 | ><TR |
| 2999 | ><TD |
| 3000 | WIDTH="20%" |
| 3001 | ALIGN="RIGHT" |
| 3002 | VALIGN="TOP" |
| 3003 | ><TT |
| 3004 | CLASS="PARAMETER" |
| 3005 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3006 | >table</I |
| 3007 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3008 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3009 | ><TD |
| 3010 | WIDTH="80%" |
| 3011 | ALIGN="LEFT" |
| 3012 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3013 | > An element table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3014 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3015 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3016 | ></TABLE |
| 3017 | ><P |
| 3018 | ></P |
| 3019 | ></DIV |
| 3020 | ></DIV |
| 3021 | ><HR><DIV |
| 3022 | CLASS="REFSECT2" |
| 3023 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3024 | NAME="AEN9073" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3025 | ></A |
| 3026 | ><H3 |
| 3027 | ><A |
| 3028 | NAME="XMLDUMPELEMENTDECL" |
| 3029 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3030 | >xmlDumpElementDecl ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3031 | ><TABLE |
| 3032 | BORDER="0" |
| 3033 | BGCOLOR="#D6E8FF" |
| 3034 | WIDTH="100%" |
| 3035 | CELLPADDING="6" |
| 3036 | ><TR |
| 3037 | ><TD |
| 3038 | ><PRE |
| 3039 | CLASS="PROGRAMLISTING" |
| 3040 | >void xmlDumpElementDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3041 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3042 | >xmlBufferPtr</A |
| 3043 | > buf, |
| 3044 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3045 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3046 | >xmlElementPtr</A |
| 3047 | > elem);</PRE |
| 3048 | ></TD |
| 3049 | ></TR |
| 3050 | ></TABLE |
| 3051 | ><P |
| 3052 | >This will dump the content of the element declaration as an XML |
| 3053 | DTD definition</P |
| 3054 | ><P |
| 3055 | ></P |
| 3056 | ><DIV |
| 3057 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3058 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3059 | NAME="AEN9081" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3060 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3061 | ><P |
| 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 | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3114 | NAME="AEN9094" |
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 | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3147 | NAME="AEN9102" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3148 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3149 | ><P |
| 3150 | ></P |
| 3151 | ><TABLE |
| 3152 | BORDER="0" |
| 3153 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3154 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3155 | CELLSPACING="0" |
| 3156 | CELLPADDING="4" |
| 3157 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3158 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3159 | ><TR |
| 3160 | ><TD |
| 3161 | WIDTH="20%" |
| 3162 | ALIGN="RIGHT" |
| 3163 | VALIGN="TOP" |
| 3164 | ><TT |
| 3165 | CLASS="PARAMETER" |
| 3166 | ><I |
| 3167 | >name</I |
| 3168 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3169 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3170 | ><TD |
| 3171 | WIDTH="80%" |
| 3172 | ALIGN="LEFT" |
| 3173 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3174 | > the enumeration name or NULL</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3175 | ></TR |
| 3176 | ><TR |
| 3177 | ><TD |
| 3178 | WIDTH="20%" |
| 3179 | ALIGN="RIGHT" |
| 3180 | VALIGN="TOP" |
| 3181 | ><I |
| 3182 | CLASS="EMPHASIS" |
| 3183 | >Returns</I |
| 3184 | > :</TD |
| 3185 | ><TD |
| 3186 | WIDTH="80%" |
| 3187 | ALIGN="LEFT" |
| 3188 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3189 | >the xmlEnumerationPtr just created or NULL in case |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3190 | of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3191 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3192 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3193 | ></TABLE |
| 3194 | ><P |
| 3195 | ></P |
| 3196 | ></DIV |
| 3197 | ></DIV |
| 3198 | ><HR><DIV |
| 3199 | CLASS="REFSECT2" |
| 3200 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3201 | NAME="AEN9115" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3202 | ></A |
| 3203 | ><H3 |
| 3204 | ><A |
| 3205 | NAME="XMLFREEENUMERATION" |
| 3206 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3207 | >xmlFreeEnumeration ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3208 | ><TABLE |
| 3209 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3210 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3211 | WIDTH="100%" |
| 3212 | CELLPADDING="6" |
| 3213 | ><TR |
| 3214 | ><TD |
| 3215 | ><PRE |
| 3216 | CLASS="PROGRAMLISTING" |
| 3217 | >void xmlFreeEnumeration (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3218 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3219 | >xmlEnumerationPtr</A |
| 3220 | > cur);</PRE |
| 3221 | ></TD |
| 3222 | ></TR |
| 3223 | ></TABLE |
| 3224 | ><P |
| 3225 | >free an enumeration attribute node (recursive).</P |
| 3226 | ><P |
| 3227 | ></P |
| 3228 | ><DIV |
| 3229 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3230 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3231 | NAME="AEN9122" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3232 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3233 | ><P |
| 3234 | ></P |
| 3235 | ><TABLE |
| 3236 | BORDER="0" |
| 3237 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3238 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3239 | CELLSPACING="0" |
| 3240 | CELLPADDING="4" |
| 3241 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3242 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3243 | ><TR |
| 3244 | ><TD |
| 3245 | WIDTH="20%" |
| 3246 | ALIGN="RIGHT" |
| 3247 | VALIGN="TOP" |
| 3248 | ><TT |
| 3249 | CLASS="PARAMETER" |
| 3250 | ><I |
| 3251 | >cur</I |
| 3252 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3253 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3254 | ><TD |
| 3255 | WIDTH="80%" |
| 3256 | ALIGN="LEFT" |
| 3257 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3258 | > the tree to free.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3259 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3260 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3261 | ></TABLE |
| 3262 | ><P |
| 3263 | ></P |
| 3264 | ></DIV |
| 3265 | ></DIV |
| 3266 | ><HR><DIV |
| 3267 | CLASS="REFSECT2" |
| 3268 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3269 | NAME="AEN9131" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3270 | ></A |
| 3271 | ><H3 |
| 3272 | ><A |
| 3273 | NAME="XMLCOPYENUMERATION" |
| 3274 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3275 | >xmlCopyEnumeration ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3276 | ><TABLE |
| 3277 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3278 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3279 | WIDTH="100%" |
| 3280 | CELLPADDING="6" |
| 3281 | ><TR |
| 3282 | ><TD |
| 3283 | ><PRE |
| 3284 | CLASS="PROGRAMLISTING" |
| 3285 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3286 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3287 | >xmlEnumerationPtr</A |
| 3288 | > xmlCopyEnumeration (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3289 | HREF="libxml-tree.html#XMLENUMERATIONPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3290 | >xmlEnumerationPtr</A |
| 3291 | > cur);</PRE |
| 3292 | ></TD |
| 3293 | ></TR |
| 3294 | ></TABLE |
| 3295 | ><P |
| 3296 | >Copy an enumeration attribute node (recursive).</P |
| 3297 | ><P |
| 3298 | ></P |
| 3299 | ><DIV |
| 3300 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3301 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3302 | NAME="AEN9139" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3303 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3304 | ><P |
| 3305 | ></P |
| 3306 | ><TABLE |
| 3307 | BORDER="0" |
| 3308 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3309 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3310 | CELLSPACING="0" |
| 3311 | CELLPADDING="4" |
| 3312 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3313 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3314 | ><TR |
| 3315 | ><TD |
| 3316 | WIDTH="20%" |
| 3317 | ALIGN="RIGHT" |
| 3318 | VALIGN="TOP" |
| 3319 | ><TT |
| 3320 | CLASS="PARAMETER" |
| 3321 | ><I |
| 3322 | >cur</I |
| 3323 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3324 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3325 | ><TD |
| 3326 | WIDTH="80%" |
| 3327 | ALIGN="LEFT" |
| 3328 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3329 | > the tree to copy.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3330 | ></TR |
| 3331 | ><TR |
| 3332 | ><TD |
| 3333 | WIDTH="20%" |
| 3334 | ALIGN="RIGHT" |
| 3335 | VALIGN="TOP" |
| 3336 | ><I |
| 3337 | CLASS="EMPHASIS" |
| 3338 | >Returns</I |
| 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 | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3356 | NAME="AEN9152" |
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 | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3427 | NAME="AEN9169" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3428 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3429 | ><P |
| 3430 | ></P |
| 3431 | ><TABLE |
| 3432 | BORDER="0" |
| 3433 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3434 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3435 | CELLSPACING="0" |
| 3436 | CELLPADDING="4" |
| 3437 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3438 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3439 | ><TR |
| 3440 | ><TD |
| 3441 | WIDTH="20%" |
| 3442 | ALIGN="RIGHT" |
| 3443 | VALIGN="TOP" |
| 3444 | ><TT |
| 3445 | CLASS="PARAMETER" |
| 3446 | ><I |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 3447 | >ctxt</I |
| 3448 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3449 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 3450 | ><TD |
| 3451 | WIDTH="80%" |
| 3452 | ALIGN="LEFT" |
| 3453 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3454 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 3455 | ></TR |
| 3456 | ><TR |
| 3457 | ><TD |
| 3458 | WIDTH="20%" |
| 3459 | ALIGN="RIGHT" |
| 3460 | VALIGN="TOP" |
| 3461 | ><TT |
| 3462 | CLASS="PARAMETER" |
| 3463 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3464 | >dtd</I |
| 3465 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3466 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3467 | ><TD |
| 3468 | WIDTH="80%" |
| 3469 | ALIGN="LEFT" |
| 3470 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3471 | > pointer to the DTD</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3472 | ></TR |
| 3473 | ><TR |
| 3474 | ><TD |
| 3475 | WIDTH="20%" |
| 3476 | ALIGN="RIGHT" |
| 3477 | VALIGN="TOP" |
| 3478 | ><TT |
| 3479 | CLASS="PARAMETER" |
| 3480 | ><I |
| 3481 | >elem</I |
| 3482 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3483 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3484 | ><TD |
| 3485 | WIDTH="80%" |
| 3486 | ALIGN="LEFT" |
| 3487 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3488 | > the element name</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3489 | ></TR |
| 3490 | ><TR |
| 3491 | ><TD |
| 3492 | WIDTH="20%" |
| 3493 | ALIGN="RIGHT" |
| 3494 | VALIGN="TOP" |
| 3495 | ><TT |
| 3496 | CLASS="PARAMETER" |
| 3497 | ><I |
| 3498 | >name</I |
| 3499 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3500 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3501 | ><TD |
| 3502 | WIDTH="80%" |
| 3503 | ALIGN="LEFT" |
| 3504 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3505 | > the attribute name</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3506 | ></TR |
| 3507 | ><TR |
| 3508 | ><TD |
| 3509 | WIDTH="20%" |
| 3510 | ALIGN="RIGHT" |
| 3511 | VALIGN="TOP" |
| 3512 | ><TT |
| 3513 | CLASS="PARAMETER" |
| 3514 | ><I |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 3515 | >ns</I |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 3516 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3517 | > :</TD |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 3518 | ><TD |
| 3519 | WIDTH="80%" |
| 3520 | ALIGN="LEFT" |
| 3521 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3522 | > the attribute namespace prefix</TD |
Daniel Veillard | edfb29b | 2000-03-14 19:59:05 +0000 | [diff] [blame] | 3523 | ></TR |
| 3524 | ><TR |
| 3525 | ><TD |
| 3526 | WIDTH="20%" |
| 3527 | ALIGN="RIGHT" |
| 3528 | VALIGN="TOP" |
| 3529 | ><TT |
| 3530 | CLASS="PARAMETER" |
| 3531 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3532 | >type</I |
| 3533 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3534 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3535 | ><TD |
| 3536 | WIDTH="80%" |
| 3537 | ALIGN="LEFT" |
| 3538 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3539 | > the attribute type</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3540 | ></TR |
| 3541 | ><TR |
| 3542 | ><TD |
| 3543 | WIDTH="20%" |
| 3544 | ALIGN="RIGHT" |
| 3545 | VALIGN="TOP" |
| 3546 | ><TT |
| 3547 | CLASS="PARAMETER" |
| 3548 | ><I |
| 3549 | >def</I |
| 3550 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3551 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3552 | ><TD |
| 3553 | WIDTH="80%" |
| 3554 | ALIGN="LEFT" |
| 3555 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3556 | > the attribute default type</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3557 | ></TR |
| 3558 | ><TR |
| 3559 | ><TD |
| 3560 | WIDTH="20%" |
| 3561 | ALIGN="RIGHT" |
| 3562 | VALIGN="TOP" |
| 3563 | ><TT |
| 3564 | CLASS="PARAMETER" |
| 3565 | ><I |
| 3566 | >defaultValue</I |
| 3567 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3568 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3569 | ><TD |
| 3570 | WIDTH="80%" |
| 3571 | ALIGN="LEFT" |
| 3572 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3573 | > the attribute default value</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3574 | ></TR |
| 3575 | ><TR |
| 3576 | ><TD |
| 3577 | WIDTH="20%" |
| 3578 | ALIGN="RIGHT" |
| 3579 | VALIGN="TOP" |
| 3580 | ><TT |
| 3581 | CLASS="PARAMETER" |
| 3582 | ><I |
| 3583 | >tree</I |
| 3584 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3585 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3586 | ><TD |
| 3587 | WIDTH="80%" |
| 3588 | ALIGN="LEFT" |
| 3589 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3590 | > if it's an enumeration, the associated list</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3591 | ></TR |
| 3592 | ><TR |
| 3593 | ><TD |
| 3594 | WIDTH="20%" |
| 3595 | ALIGN="RIGHT" |
| 3596 | VALIGN="TOP" |
| 3597 | ><I |
| 3598 | CLASS="EMPHASIS" |
| 3599 | >Returns</I |
| 3600 | > :</TD |
| 3601 | ><TD |
| 3602 | WIDTH="80%" |
| 3603 | ALIGN="LEFT" |
| 3604 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 3605 | >NULL if not new, otherwise the attribute decl</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3606 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3607 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3608 | ></TABLE |
| 3609 | ><P |
| 3610 | ></P |
| 3611 | ></DIV |
| 3612 | ></DIV |
| 3613 | ><HR><DIV |
| 3614 | CLASS="REFSECT2" |
| 3615 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3616 | NAME="AEN9214" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3617 | ></A |
| 3618 | ><H3 |
| 3619 | ><A |
| 3620 | NAME="XMLCOPYATTRIBUTETABLE" |
| 3621 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3622 | >xmlCopyAttributeTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3623 | ><TABLE |
| 3624 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3625 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3626 | WIDTH="100%" |
| 3627 | CELLPADDING="6" |
| 3628 | ><TR |
| 3629 | ><TD |
| 3630 | ><PRE |
| 3631 | CLASS="PROGRAMLISTING" |
| 3632 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3633 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3634 | >xmlAttributeTablePtr</A |
| 3635 | > xmlCopyAttributeTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3636 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3637 | >xmlAttributeTablePtr</A |
| 3638 | > table);</PRE |
| 3639 | ></TD |
| 3640 | ></TR |
| 3641 | ></TABLE |
| 3642 | ><P |
| 3643 | >Build a copy of an attribute table.</P |
| 3644 | ><P |
| 3645 | ></P |
| 3646 | ><DIV |
| 3647 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3648 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3649 | NAME="AEN9222" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3650 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3651 | ><P |
| 3652 | ></P |
| 3653 | ><TABLE |
| 3654 | BORDER="0" |
| 3655 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3656 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3657 | CELLSPACING="0" |
| 3658 | CELLPADDING="4" |
| 3659 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3660 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3661 | ><TR |
| 3662 | ><TD |
| 3663 | WIDTH="20%" |
| 3664 | ALIGN="RIGHT" |
| 3665 | VALIGN="TOP" |
| 3666 | ><TT |
| 3667 | CLASS="PARAMETER" |
| 3668 | ><I |
| 3669 | >table</I |
| 3670 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3671 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3672 | ><TD |
| 3673 | WIDTH="80%" |
| 3674 | ALIGN="LEFT" |
| 3675 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3676 | > An attribute table</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3677 | ></TR |
| 3678 | ><TR |
| 3679 | ><TD |
| 3680 | WIDTH="20%" |
| 3681 | ALIGN="RIGHT" |
| 3682 | VALIGN="TOP" |
| 3683 | ><I |
| 3684 | CLASS="EMPHASIS" |
| 3685 | >Returns</I |
| 3686 | > :</TD |
| 3687 | ><TD |
| 3688 | WIDTH="80%" |
| 3689 | ALIGN="LEFT" |
| 3690 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3691 | >the new xmlAttributeTablePtr or NULL in case of error.</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3692 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3693 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3694 | ></TABLE |
| 3695 | ><P |
| 3696 | ></P |
| 3697 | ></DIV |
| 3698 | ></DIV |
| 3699 | ><HR><DIV |
| 3700 | CLASS="REFSECT2" |
| 3701 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3702 | NAME="AEN9235" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3703 | ></A |
| 3704 | ><H3 |
| 3705 | ><A |
| 3706 | NAME="XMLFREEATTRIBUTETABLE" |
| 3707 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3708 | >xmlFreeAttributeTable ()</H3 |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3709 | ><TABLE |
| 3710 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3711 | BGCOLOR="#D6E8FF" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3712 | WIDTH="100%" |
| 3713 | CELLPADDING="6" |
| 3714 | ><TR |
| 3715 | ><TD |
| 3716 | ><PRE |
| 3717 | CLASS="PROGRAMLISTING" |
| 3718 | >void xmlFreeAttributeTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3719 | HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3720 | >xmlAttributeTablePtr</A |
| 3721 | > table);</PRE |
| 3722 | ></TD |
| 3723 | ></TR |
| 3724 | ></TABLE |
| 3725 | ><P |
| 3726 | >Deallocate the memory used by an entities hash table.</P |
| 3727 | ><P |
| 3728 | ></P |
| 3729 | ><DIV |
| 3730 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3731 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3732 | NAME="AEN9242" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3733 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3734 | ><P |
| 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 | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3770 | NAME="AEN9251" |
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 | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3804 | NAME="AEN9259" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3805 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3806 | ><P |
| 3807 | ></P |
| 3808 | ><TABLE |
| 3809 | BORDER="0" |
| 3810 | WIDTH="100%" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 3811 | BGCOLOR="#FFD0D0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3812 | CELLSPACING="0" |
| 3813 | CELLPADDING="4" |
| 3814 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3815 | ><TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3816 | ><TR |
| 3817 | ><TD |
| 3818 | WIDTH="20%" |
| 3819 | ALIGN="RIGHT" |
| 3820 | VALIGN="TOP" |
| 3821 | ><TT |
| 3822 | CLASS="PARAMETER" |
| 3823 | ><I |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3824 | >buf</I |
| 3825 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3826 | > :</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3827 | ><TD |
| 3828 | WIDTH="80%" |
| 3829 | ALIGN="LEFT" |
| 3830 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3831 | > the XML buffer output</TD |
Daniel Veillard | 5099ae8 | 1999-04-21 20:12:07 +0000 | [diff] [blame] | 3832 | ></TR |
| 3833 | ><TR |
| 3834 | ><TD |
| 3835 | WIDTH="20%" |
| 3836 | ALIGN="RIGHT" |
| 3837 | VALIGN="TOP" |
| 3838 | ><TT |
| 3839 | CLASS="PARAMETER" |
| 3840 | ><I |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3841 | >table</I |
| 3842 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3843 | > :</TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 3844 | ><TD |
| 3845 | WIDTH="80%" |
| 3846 | ALIGN="LEFT" |
| 3847 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3848 | > An attribute table</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3849 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3850 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3851 | ></TABLE |
| 3852 | ><P |
| 3853 | ></P |
| 3854 | ></DIV |
| 3855 | ></DIV |
| 3856 | ><HR><DIV |
| 3857 | CLASS="REFSECT2" |
| 3858 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3859 | NAME="AEN9272" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3860 | ></A |
| 3861 | ><H3 |
| 3862 | ><A |
| 3863 | NAME="XMLDUMPATTRIBUTEDECL" |
| 3864 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3865 | >xmlDumpAttributeDecl ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3866 | ><TABLE |
| 3867 | BORDER="0" |
| 3868 | BGCOLOR="#D6E8FF" |
| 3869 | WIDTH="100%" |
| 3870 | CELLPADDING="6" |
| 3871 | ><TR |
| 3872 | ><TD |
| 3873 | ><PRE |
| 3874 | CLASS="PROGRAMLISTING" |
| 3875 | >void xmlDumpAttributeDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3876 | HREF="libxml-tree.html#XMLBUFFERPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3877 | >xmlBufferPtr</A |
| 3878 | > buf, |
| 3879 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3880 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3881 | >xmlAttributePtr</A |
| 3882 | > attr);</PRE |
| 3883 | ></TD |
| 3884 | ></TR |
| 3885 | ></TABLE |
| 3886 | ><P |
| 3887 | >This will dump the content of the attribute declaration as an XML |
| 3888 | DTD definition</P |
| 3889 | ><P |
| 3890 | ></P |
| 3891 | ><DIV |
| 3892 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3893 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3894 | NAME="AEN9280" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3895 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3896 | ><P |
| 3897 | ></P |
| 3898 | ><TABLE |
| 3899 | BORDER="0" |
| 3900 | WIDTH="100%" |
| 3901 | BGCOLOR="#FFD0D0" |
| 3902 | CELLSPACING="0" |
| 3903 | CELLPADDING="4" |
| 3904 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3905 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3906 | ><TR |
| 3907 | ><TD |
| 3908 | WIDTH="20%" |
| 3909 | ALIGN="RIGHT" |
| 3910 | VALIGN="TOP" |
| 3911 | ><TT |
| 3912 | CLASS="PARAMETER" |
| 3913 | ><I |
| 3914 | >buf</I |
| 3915 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3916 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3917 | ><TD |
| 3918 | WIDTH="80%" |
| 3919 | ALIGN="LEFT" |
| 3920 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3921 | > the XML buffer output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3922 | ></TR |
| 3923 | ><TR |
| 3924 | ><TD |
| 3925 | WIDTH="20%" |
| 3926 | ALIGN="RIGHT" |
| 3927 | VALIGN="TOP" |
| 3928 | ><TT |
| 3929 | CLASS="PARAMETER" |
| 3930 | ><I |
| 3931 | >attr</I |
| 3932 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 3933 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3934 | ><TD |
| 3935 | WIDTH="80%" |
| 3936 | ALIGN="LEFT" |
| 3937 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 3938 | > An attribute declaration</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3939 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3940 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3941 | ></TABLE |
| 3942 | ><P |
| 3943 | ></P |
| 3944 | ></DIV |
| 3945 | ></DIV |
| 3946 | ><HR><DIV |
| 3947 | CLASS="REFSECT2" |
| 3948 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3949 | NAME="AEN9293" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3950 | ></A |
| 3951 | ><H3 |
| 3952 | ><A |
| 3953 | NAME="XMLADDID" |
| 3954 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3955 | >xmlAddID ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3956 | ><TABLE |
| 3957 | BORDER="0" |
| 3958 | BGCOLOR="#D6E8FF" |
| 3959 | WIDTH="100%" |
| 3960 | CELLPADDING="6" |
| 3961 | ><TR |
| 3962 | ><TD |
| 3963 | ><PRE |
| 3964 | CLASS="PROGRAMLISTING" |
| 3965 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3966 | HREF="libxml-tree.html#XMLIDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3967 | >xmlIDPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3968 | > xmlAddID (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3969 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3970 | >xmlValidCtxtPtr</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3971 | > ctxt, |
| 3972 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3973 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3974 | >xmlDocPtr</A |
| 3975 | > doc, |
| 3976 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3977 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 3978 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3979 | > *value, |
| 3980 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 3981 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3982 | >xmlAttrPtr</A |
| 3983 | > attr);</PRE |
| 3984 | ></TD |
| 3985 | ></TR |
| 3986 | ></TABLE |
| 3987 | ><P |
| 3988 | >Register a new id declaration</P |
| 3989 | ><P |
| 3990 | ></P |
| 3991 | ><DIV |
| 3992 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3993 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 3994 | NAME="AEN9304" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 3995 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 3996 | ><P |
| 3997 | ></P |
| 3998 | ><TABLE |
| 3999 | BORDER="0" |
| 4000 | WIDTH="100%" |
| 4001 | BGCOLOR="#FFD0D0" |
| 4002 | CELLSPACING="0" |
| 4003 | CELLPADDING="4" |
| 4004 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4005 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4006 | ><TR |
| 4007 | ><TD |
| 4008 | WIDTH="20%" |
| 4009 | ALIGN="RIGHT" |
| 4010 | VALIGN="TOP" |
| 4011 | ><TT |
| 4012 | CLASS="PARAMETER" |
| 4013 | ><I |
| 4014 | >ctxt</I |
| 4015 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4016 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4017 | ><TD |
| 4018 | WIDTH="80%" |
| 4019 | ALIGN="LEFT" |
| 4020 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4021 | > the validation context</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4022 | ></TR |
| 4023 | ><TR |
| 4024 | ><TD |
| 4025 | WIDTH="20%" |
| 4026 | ALIGN="RIGHT" |
| 4027 | VALIGN="TOP" |
| 4028 | ><TT |
| 4029 | CLASS="PARAMETER" |
| 4030 | ><I |
| 4031 | >doc</I |
| 4032 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4033 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4034 | ><TD |
| 4035 | WIDTH="80%" |
| 4036 | ALIGN="LEFT" |
| 4037 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4038 | > pointer to the document</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4039 | ></TR |
| 4040 | ><TR |
| 4041 | ><TD |
| 4042 | WIDTH="20%" |
| 4043 | ALIGN="RIGHT" |
| 4044 | VALIGN="TOP" |
| 4045 | ><TT |
| 4046 | CLASS="PARAMETER" |
| 4047 | ><I |
| 4048 | >value</I |
| 4049 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4050 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4051 | ><TD |
| 4052 | WIDTH="80%" |
| 4053 | ALIGN="LEFT" |
| 4054 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4055 | > the value name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4056 | ></TR |
| 4057 | ><TR |
| 4058 | ><TD |
| 4059 | WIDTH="20%" |
| 4060 | ALIGN="RIGHT" |
| 4061 | VALIGN="TOP" |
| 4062 | ><TT |
| 4063 | CLASS="PARAMETER" |
| 4064 | ><I |
| 4065 | >attr</I |
| 4066 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4067 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4068 | ><TD |
| 4069 | WIDTH="80%" |
| 4070 | ALIGN="LEFT" |
| 4071 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4072 | > the attribute holding the ID</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4073 | ></TR |
| 4074 | ><TR |
| 4075 | ><TD |
| 4076 | WIDTH="20%" |
| 4077 | ALIGN="RIGHT" |
| 4078 | VALIGN="TOP" |
| 4079 | ><I |
| 4080 | CLASS="EMPHASIS" |
| 4081 | >Returns</I |
| 4082 | > :</TD |
| 4083 | ><TD |
| 4084 | WIDTH="80%" |
| 4085 | ALIGN="LEFT" |
| 4086 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 4087 | >NULL if not, otherwise the new xmlIDPtr</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4088 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4089 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4090 | ></TABLE |
| 4091 | ><P |
| 4092 | ></P |
| 4093 | ></DIV |
| 4094 | ></DIV |
| 4095 | ><HR><DIV |
| 4096 | CLASS="REFSECT2" |
| 4097 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4098 | NAME="AEN9329" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4099 | ></A |
| 4100 | ><H3 |
| 4101 | ><A |
| 4102 | NAME="XMLFREEIDTABLE" |
| 4103 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4104 | >xmlFreeIDTable ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4105 | ><TABLE |
| 4106 | BORDER="0" |
| 4107 | BGCOLOR="#D6E8FF" |
| 4108 | WIDTH="100%" |
| 4109 | CELLPADDING="6" |
| 4110 | ><TR |
| 4111 | ><TD |
| 4112 | ><PRE |
| 4113 | CLASS="PROGRAMLISTING" |
| 4114 | >void xmlFreeIDTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4115 | HREF="libxml-valid.html#XMLIDTABLEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4116 | >xmlIDTablePtr</A |
| 4117 | > table);</PRE |
| 4118 | ></TD |
| 4119 | ></TR |
| 4120 | ></TABLE |
| 4121 | ><P |
| 4122 | >Deallocate the memory used by an ID hash table.</P |
| 4123 | ><P |
| 4124 | ></P |
| 4125 | ><DIV |
| 4126 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4127 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4128 | NAME="AEN9336" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4129 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4130 | ><P |
| 4131 | ></P |
| 4132 | ><TABLE |
| 4133 | BORDER="0" |
| 4134 | WIDTH="100%" |
| 4135 | BGCOLOR="#FFD0D0" |
| 4136 | CELLSPACING="0" |
| 4137 | CELLPADDING="4" |
| 4138 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4139 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4140 | ><TR |
| 4141 | ><TD |
| 4142 | WIDTH="20%" |
| 4143 | ALIGN="RIGHT" |
| 4144 | VALIGN="TOP" |
| 4145 | ><TT |
| 4146 | CLASS="PARAMETER" |
| 4147 | ><I |
| 4148 | >table</I |
| 4149 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4150 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4151 | ><TD |
| 4152 | WIDTH="80%" |
| 4153 | ALIGN="LEFT" |
| 4154 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4155 | > An id table</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4156 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4157 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4158 | ></TABLE |
| 4159 | ><P |
| 4160 | ></P |
| 4161 | ></DIV |
| 4162 | ></DIV |
| 4163 | ><HR><DIV |
| 4164 | CLASS="REFSECT2" |
| 4165 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4166 | NAME="AEN9345" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4167 | ></A |
| 4168 | ><H3 |
| 4169 | ><A |
| 4170 | NAME="XMLGETID" |
| 4171 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4172 | >xmlGetID ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4173 | ><TABLE |
| 4174 | BORDER="0" |
| 4175 | BGCOLOR="#D6E8FF" |
| 4176 | WIDTH="100%" |
| 4177 | CELLPADDING="6" |
| 4178 | ><TR |
| 4179 | ><TD |
| 4180 | ><PRE |
| 4181 | CLASS="PROGRAMLISTING" |
| 4182 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4183 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4184 | >xmlAttrPtr</A |
| 4185 | > xmlGetID (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4186 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4187 | >xmlDocPtr</A |
| 4188 | > doc, |
| 4189 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4190 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 4191 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4192 | > *ID);</PRE |
| 4193 | ></TD |
| 4194 | ></TR |
| 4195 | ></TABLE |
| 4196 | ><P |
| 4197 | >Search the attribute declaring the given ID</P |
| 4198 | ><P |
| 4199 | ></P |
| 4200 | ><DIV |
| 4201 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4202 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4203 | NAME="AEN9354" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4204 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4205 | ><P |
| 4206 | ></P |
| 4207 | ><TABLE |
| 4208 | BORDER="0" |
| 4209 | WIDTH="100%" |
| 4210 | BGCOLOR="#FFD0D0" |
| 4211 | CELLSPACING="0" |
| 4212 | CELLPADDING="4" |
| 4213 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4214 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4215 | ><TR |
| 4216 | ><TD |
| 4217 | WIDTH="20%" |
| 4218 | ALIGN="RIGHT" |
| 4219 | VALIGN="TOP" |
| 4220 | ><TT |
| 4221 | CLASS="PARAMETER" |
| 4222 | ><I |
| 4223 | >doc</I |
| 4224 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4225 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4226 | ><TD |
| 4227 | WIDTH="80%" |
| 4228 | ALIGN="LEFT" |
| 4229 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4230 | > pointer to the document</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4231 | ></TR |
| 4232 | ><TR |
| 4233 | ><TD |
| 4234 | WIDTH="20%" |
| 4235 | ALIGN="RIGHT" |
| 4236 | VALIGN="TOP" |
| 4237 | ><TT |
| 4238 | CLASS="PARAMETER" |
| 4239 | ><I |
| 4240 | >ID</I |
| 4241 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4242 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4243 | ><TD |
| 4244 | WIDTH="80%" |
| 4245 | ALIGN="LEFT" |
| 4246 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4247 | > the ID value</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4248 | ></TR |
| 4249 | ><TR |
| 4250 | ><TD |
| 4251 | WIDTH="20%" |
| 4252 | ALIGN="RIGHT" |
| 4253 | VALIGN="TOP" |
| 4254 | ><I |
| 4255 | CLASS="EMPHASIS" |
| 4256 | >Returns</I |
| 4257 | > :</TD |
| 4258 | ><TD |
| 4259 | WIDTH="80%" |
| 4260 | ALIGN="LEFT" |
| 4261 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4262 | >NULL if not found, otherwise the xmlAttrPtr defining the ID</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4263 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4264 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4265 | ></TABLE |
| 4266 | ><P |
| 4267 | ></P |
| 4268 | ></DIV |
| 4269 | ></DIV |
| 4270 | ><HR><DIV |
| 4271 | CLASS="REFSECT2" |
| 4272 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4273 | NAME="AEN9371" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4274 | ></A |
| 4275 | ><H3 |
| 4276 | ><A |
| 4277 | NAME="XMLISID" |
| 4278 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4279 | >xmlIsID ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4280 | ><TABLE |
| 4281 | BORDER="0" |
| 4282 | BGCOLOR="#D6E8FF" |
| 4283 | WIDTH="100%" |
| 4284 | CELLPADDING="6" |
| 4285 | ><TR |
| 4286 | ><TD |
| 4287 | ><PRE |
| 4288 | CLASS="PROGRAMLISTING" |
| 4289 | >int xmlIsID (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4290 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4291 | >xmlDocPtr</A |
| 4292 | > doc, |
| 4293 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4294 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4295 | >xmlNodePtr</A |
| 4296 | > elem, |
| 4297 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4298 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4299 | >xmlAttrPtr</A |
| 4300 | > attr);</PRE |
| 4301 | ></TD |
| 4302 | ></TR |
| 4303 | ></TABLE |
| 4304 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 4305 | >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] | 4306 | then this is simple, otherwise we use an heuristic: name ID (upper |
| 4307 | or lowercase).</P |
| 4308 | ><P |
| 4309 | ></P |
| 4310 | ><DIV |
| 4311 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4312 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4313 | NAME="AEN9380" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4314 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4315 | ><P |
| 4316 | ></P |
| 4317 | ><TABLE |
| 4318 | BORDER="0" |
| 4319 | WIDTH="100%" |
| 4320 | BGCOLOR="#FFD0D0" |
| 4321 | CELLSPACING="0" |
| 4322 | CELLPADDING="4" |
| 4323 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4324 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4325 | ><TR |
| 4326 | ><TD |
| 4327 | WIDTH="20%" |
| 4328 | ALIGN="RIGHT" |
| 4329 | VALIGN="TOP" |
| 4330 | ><TT |
| 4331 | CLASS="PARAMETER" |
| 4332 | ><I |
| 4333 | >doc</I |
| 4334 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4335 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4336 | ><TD |
| 4337 | WIDTH="80%" |
| 4338 | ALIGN="LEFT" |
| 4339 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4340 | > the document</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4341 | ></TR |
| 4342 | ><TR |
| 4343 | ><TD |
| 4344 | WIDTH="20%" |
| 4345 | ALIGN="RIGHT" |
| 4346 | VALIGN="TOP" |
| 4347 | ><TT |
| 4348 | CLASS="PARAMETER" |
| 4349 | ><I |
| 4350 | >elem</I |
| 4351 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4352 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4353 | ><TD |
| 4354 | WIDTH="80%" |
| 4355 | ALIGN="LEFT" |
| 4356 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4357 | > the element carrying the attribute</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4358 | ></TR |
| 4359 | ><TR |
| 4360 | ><TD |
| 4361 | WIDTH="20%" |
| 4362 | ALIGN="RIGHT" |
| 4363 | VALIGN="TOP" |
| 4364 | ><TT |
| 4365 | CLASS="PARAMETER" |
| 4366 | ><I |
| 4367 | >attr</I |
| 4368 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4369 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4370 | ><TD |
| 4371 | WIDTH="80%" |
| 4372 | ALIGN="LEFT" |
| 4373 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4374 | > the attribute</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4375 | ></TR |
| 4376 | ><TR |
| 4377 | ><TD |
| 4378 | WIDTH="20%" |
| 4379 | ALIGN="RIGHT" |
| 4380 | VALIGN="TOP" |
| 4381 | ><I |
| 4382 | CLASS="EMPHASIS" |
| 4383 | >Returns</I |
| 4384 | > :</TD |
| 4385 | ><TD |
| 4386 | WIDTH="80%" |
| 4387 | ALIGN="LEFT" |
| 4388 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4389 | >0 or 1 depending on the lookup result</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4390 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4391 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 4392 | ></TABLE |
| 4393 | ><P |
| 4394 | ></P |
| 4395 | ></DIV |
| 4396 | ></DIV |
| 4397 | ><HR><DIV |
| 4398 | CLASS="REFSECT2" |
| 4399 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4400 | NAME="AEN9401" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4401 | ></A |
| 4402 | ><H3 |
| 4403 | ><A |
| 4404 | NAME="XMLREMOVEID" |
| 4405 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4406 | >xmlRemoveID ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4407 | ><TABLE |
| 4408 | BORDER="0" |
| 4409 | BGCOLOR="#D6E8FF" |
| 4410 | WIDTH="100%" |
| 4411 | CELLPADDING="6" |
| 4412 | ><TR |
| 4413 | ><TD |
| 4414 | ><PRE |
| 4415 | CLASS="PROGRAMLISTING" |
| 4416 | >int xmlRemoveID (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4417 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4418 | >xmlDocPtr</A |
| 4419 | > doc, |
| 4420 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4421 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4422 | >xmlAttrPtr</A |
| 4423 | > attr);</PRE |
| 4424 | ></TD |
| 4425 | ></TR |
| 4426 | ></TABLE |
| 4427 | ><P |
| 4428 | >Remove the given attribute from the ID table maintained internally.</P |
| 4429 | ><P |
| 4430 | ></P |
| 4431 | ><DIV |
| 4432 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4433 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4434 | NAME="AEN9409" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4435 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4436 | ><P |
| 4437 | ></P |
| 4438 | ><TABLE |
| 4439 | BORDER="0" |
| 4440 | WIDTH="100%" |
| 4441 | BGCOLOR="#FFD0D0" |
| 4442 | CELLSPACING="0" |
| 4443 | CELLPADDING="4" |
| 4444 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4445 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4446 | ><TR |
| 4447 | ><TD |
| 4448 | WIDTH="20%" |
| 4449 | ALIGN="RIGHT" |
| 4450 | VALIGN="TOP" |
| 4451 | ><TT |
| 4452 | CLASS="PARAMETER" |
| 4453 | ><I |
| 4454 | >doc</I |
| 4455 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4456 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4457 | ><TD |
| 4458 | WIDTH="80%" |
| 4459 | ALIGN="LEFT" |
| 4460 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4461 | > the document</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4462 | ></TR |
| 4463 | ><TR |
| 4464 | ><TD |
| 4465 | WIDTH="20%" |
| 4466 | ALIGN="RIGHT" |
| 4467 | VALIGN="TOP" |
| 4468 | ><TT |
| 4469 | CLASS="PARAMETER" |
| 4470 | ><I |
| 4471 | >attr</I |
| 4472 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4473 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4474 | ><TD |
| 4475 | WIDTH="80%" |
| 4476 | ALIGN="LEFT" |
| 4477 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4478 | > the attribute</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4479 | ></TR |
| 4480 | ><TR |
| 4481 | ><TD |
| 4482 | WIDTH="20%" |
| 4483 | ALIGN="RIGHT" |
| 4484 | VALIGN="TOP" |
| 4485 | ><I |
| 4486 | CLASS="EMPHASIS" |
| 4487 | >Returns</I |
| 4488 | > :</TD |
| 4489 | ><TD |
| 4490 | WIDTH="80%" |
| 4491 | ALIGN="LEFT" |
| 4492 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4493 | >-1 if the lookup failed and 0 otherwise</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4494 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4495 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4496 | ></TABLE |
| 4497 | ><P |
| 4498 | ></P |
| 4499 | ></DIV |
| 4500 | ></DIV |
| 4501 | ><HR><DIV |
| 4502 | CLASS="REFSECT2" |
| 4503 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4504 | NAME="AEN9426" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4505 | ></A |
| 4506 | ><H3 |
| 4507 | ><A |
| 4508 | NAME="XMLADDREF" |
| 4509 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4510 | >xmlAddRef ()</H3 |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4511 | ><TABLE |
| 4512 | BORDER="0" |
| 4513 | BGCOLOR="#D6E8FF" |
| 4514 | WIDTH="100%" |
| 4515 | CELLPADDING="6" |
| 4516 | ><TR |
| 4517 | ><TD |
| 4518 | ><PRE |
| 4519 | CLASS="PROGRAMLISTING" |
| 4520 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4521 | HREF="libxml-tree.html#XMLREFPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4522 | >xmlRefPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4523 | > xmlAddRef (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4524 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4525 | >xmlValidCtxtPtr</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4526 | > ctxt, |
| 4527 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4528 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4529 | >xmlDocPtr</A |
| 4530 | > doc, |
| 4531 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4532 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 4533 | >xmlChar</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4534 | > *value, |
| 4535 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4536 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4537 | >xmlAttrPtr</A |
| 4538 | > attr);</PRE |
| 4539 | ></TD |
| 4540 | ></TR |
| 4541 | ></TABLE |
| 4542 | ><P |
| 4543 | >Register a new ref declaration</P |
| 4544 | ><P |
| 4545 | ></P |
| 4546 | ><DIV |
| 4547 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4548 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4549 | NAME="AEN9437" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4550 | ></A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4551 | ><P |
| 4552 | ></P |
| 4553 | ><TABLE |
| 4554 | BORDER="0" |
| 4555 | WIDTH="100%" |
| 4556 | BGCOLOR="#FFD0D0" |
| 4557 | CELLSPACING="0" |
| 4558 | CELLPADDING="4" |
| 4559 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4560 | ><TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4561 | ><TR |
| 4562 | ><TD |
| 4563 | WIDTH="20%" |
| 4564 | ALIGN="RIGHT" |
| 4565 | VALIGN="TOP" |
| 4566 | ><TT |
| 4567 | CLASS="PARAMETER" |
| 4568 | ><I |
| 4569 | >ctxt</I |
| 4570 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4571 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4572 | ><TD |
| 4573 | WIDTH="80%" |
| 4574 | ALIGN="LEFT" |
| 4575 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4576 | > the validation context</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4577 | ></TR |
| 4578 | ><TR |
| 4579 | ><TD |
| 4580 | WIDTH="20%" |
| 4581 | ALIGN="RIGHT" |
| 4582 | VALIGN="TOP" |
| 4583 | ><TT |
| 4584 | CLASS="PARAMETER" |
| 4585 | ><I |
| 4586 | >doc</I |
| 4587 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4588 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4589 | ><TD |
| 4590 | WIDTH="80%" |
| 4591 | ALIGN="LEFT" |
| 4592 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4593 | > pointer to the document</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4594 | ></TR |
| 4595 | ><TR |
| 4596 | ><TD |
| 4597 | WIDTH="20%" |
| 4598 | ALIGN="RIGHT" |
| 4599 | VALIGN="TOP" |
| 4600 | ><TT |
| 4601 | CLASS="PARAMETER" |
| 4602 | ><I |
| 4603 | >value</I |
| 4604 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4605 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4606 | ><TD |
| 4607 | WIDTH="80%" |
| 4608 | ALIGN="LEFT" |
| 4609 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4610 | > the value name</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4611 | ></TR |
| 4612 | ><TR |
| 4613 | ><TD |
| 4614 | WIDTH="20%" |
| 4615 | ALIGN="RIGHT" |
| 4616 | VALIGN="TOP" |
| 4617 | ><TT |
| 4618 | CLASS="PARAMETER" |
| 4619 | ><I |
| 4620 | >attr</I |
| 4621 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4622 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4623 | ><TD |
| 4624 | WIDTH="80%" |
| 4625 | ALIGN="LEFT" |
| 4626 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4627 | > the attribute holding the Ref</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4628 | ></TR |
| 4629 | ><TR |
| 4630 | ><TD |
| 4631 | WIDTH="20%" |
| 4632 | ALIGN="RIGHT" |
| 4633 | VALIGN="TOP" |
| 4634 | ><I |
| 4635 | CLASS="EMPHASIS" |
| 4636 | >Returns</I |
| 4637 | > :</TD |
| 4638 | ><TD |
| 4639 | WIDTH="80%" |
| 4640 | ALIGN="LEFT" |
| 4641 | VALIGN="TOP" |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 4642 | >NULL if not, otherwise the new xmlRefPtr</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4643 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4644 | ></TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4645 | ></TABLE |
| 4646 | ><P |
| 4647 | ></P |
| 4648 | ></DIV |
| 4649 | ></DIV |
| 4650 | ><HR><DIV |
| 4651 | CLASS="REFSECT2" |
| 4652 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4653 | NAME="AEN9462" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4654 | ></A |
| 4655 | ><H3 |
| 4656 | ><A |
| 4657 | NAME="XMLFREEREFTABLE" |
| 4658 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4659 | >xmlFreeRefTable ()</H3 |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4660 | ><TABLE |
| 4661 | BORDER="0" |
| 4662 | BGCOLOR="#D6E8FF" |
| 4663 | WIDTH="100%" |
| 4664 | CELLPADDING="6" |
| 4665 | ><TR |
| 4666 | ><TD |
| 4667 | ><PRE |
| 4668 | CLASS="PROGRAMLISTING" |
| 4669 | >void xmlFreeRefTable (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4670 | HREF="libxml-valid.html#XMLREFTABLEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4671 | >xmlRefTablePtr</A |
| 4672 | > table);</PRE |
| 4673 | ></TD |
| 4674 | ></TR |
| 4675 | ></TABLE |
| 4676 | ><P |
| 4677 | >Deallocate the memory used by an Ref hash table.</P |
| 4678 | ><P |
| 4679 | ></P |
| 4680 | ><DIV |
| 4681 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4682 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4683 | NAME="AEN9469" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4684 | ></A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4685 | ><P |
| 4686 | ></P |
| 4687 | ><TABLE |
| 4688 | BORDER="0" |
| 4689 | WIDTH="100%" |
| 4690 | BGCOLOR="#FFD0D0" |
| 4691 | CELLSPACING="0" |
| 4692 | CELLPADDING="4" |
| 4693 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4694 | ><TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4695 | ><TR |
| 4696 | ><TD |
| 4697 | WIDTH="20%" |
| 4698 | ALIGN="RIGHT" |
| 4699 | VALIGN="TOP" |
| 4700 | ><TT |
| 4701 | CLASS="PARAMETER" |
| 4702 | ><I |
| 4703 | >table</I |
| 4704 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4705 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4706 | ><TD |
| 4707 | WIDTH="80%" |
| 4708 | ALIGN="LEFT" |
| 4709 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4710 | > An ref table</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4711 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4712 | ></TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4713 | ></TABLE |
| 4714 | ><P |
| 4715 | ></P |
| 4716 | ></DIV |
| 4717 | ></DIV |
| 4718 | ><HR><DIV |
| 4719 | CLASS="REFSECT2" |
| 4720 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4721 | NAME="AEN9478" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4722 | ></A |
| 4723 | ><H3 |
| 4724 | ><A |
| 4725 | NAME="XMLISREF" |
| 4726 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4727 | >xmlIsRef ()</H3 |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4728 | ><TABLE |
| 4729 | BORDER="0" |
| 4730 | BGCOLOR="#D6E8FF" |
| 4731 | WIDTH="100%" |
| 4732 | CELLPADDING="6" |
| 4733 | ><TR |
| 4734 | ><TD |
| 4735 | ><PRE |
| 4736 | CLASS="PROGRAMLISTING" |
| 4737 | >int xmlIsRef (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4738 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4739 | >xmlDocPtr</A |
| 4740 | > doc, |
| 4741 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4742 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4743 | >xmlNodePtr</A |
| 4744 | > elem, |
| 4745 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4746 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4747 | >xmlAttrPtr</A |
| 4748 | > attr);</PRE |
| 4749 | ></TD |
| 4750 | ></TR |
| 4751 | ></TABLE |
| 4752 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 4753 | >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] | 4754 | then this is simple, otherwise we use an heuristic: name Ref (upper |
| 4755 | or lowercase).</P |
| 4756 | ><P |
| 4757 | ></P |
| 4758 | ><DIV |
| 4759 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4760 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4761 | NAME="AEN9487" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4762 | ></A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4763 | ><P |
| 4764 | ></P |
| 4765 | ><TABLE |
| 4766 | BORDER="0" |
| 4767 | WIDTH="100%" |
| 4768 | BGCOLOR="#FFD0D0" |
| 4769 | CELLSPACING="0" |
| 4770 | CELLPADDING="4" |
| 4771 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4772 | ><TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4773 | ><TR |
| 4774 | ><TD |
| 4775 | WIDTH="20%" |
| 4776 | ALIGN="RIGHT" |
| 4777 | VALIGN="TOP" |
| 4778 | ><TT |
| 4779 | CLASS="PARAMETER" |
| 4780 | ><I |
| 4781 | >doc</I |
| 4782 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4783 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4784 | ><TD |
| 4785 | WIDTH="80%" |
| 4786 | ALIGN="LEFT" |
| 4787 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4788 | > the document</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4789 | ></TR |
| 4790 | ><TR |
| 4791 | ><TD |
| 4792 | WIDTH="20%" |
| 4793 | ALIGN="RIGHT" |
| 4794 | VALIGN="TOP" |
| 4795 | ><TT |
| 4796 | CLASS="PARAMETER" |
| 4797 | ><I |
| 4798 | >elem</I |
| 4799 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4800 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4801 | ><TD |
| 4802 | WIDTH="80%" |
| 4803 | ALIGN="LEFT" |
| 4804 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4805 | > the element carrying the attribute</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4806 | ></TR |
| 4807 | ><TR |
| 4808 | ><TD |
| 4809 | WIDTH="20%" |
| 4810 | ALIGN="RIGHT" |
| 4811 | VALIGN="TOP" |
| 4812 | ><TT |
| 4813 | CLASS="PARAMETER" |
| 4814 | ><I |
| 4815 | >attr</I |
| 4816 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4817 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4818 | ><TD |
| 4819 | WIDTH="80%" |
| 4820 | ALIGN="LEFT" |
| 4821 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4822 | > the attribute</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4823 | ></TR |
| 4824 | ><TR |
| 4825 | ><TD |
| 4826 | WIDTH="20%" |
| 4827 | ALIGN="RIGHT" |
| 4828 | VALIGN="TOP" |
| 4829 | ><I |
| 4830 | CLASS="EMPHASIS" |
| 4831 | >Returns</I |
| 4832 | > :</TD |
| 4833 | ><TD |
| 4834 | WIDTH="80%" |
| 4835 | ALIGN="LEFT" |
| 4836 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4837 | >0 or 1 depending on the lookup result</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4838 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4839 | ></TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 4840 | ></TABLE |
| 4841 | ><P |
| 4842 | ></P |
| 4843 | ></DIV |
| 4844 | ></DIV |
| 4845 | ><HR><DIV |
| 4846 | CLASS="REFSECT2" |
| 4847 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4848 | NAME="AEN9508" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4849 | ></A |
| 4850 | ><H3 |
| 4851 | ><A |
| 4852 | NAME="XMLREMOVEREF" |
| 4853 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4854 | >xmlRemoveRef ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4855 | ><TABLE |
| 4856 | BORDER="0" |
| 4857 | BGCOLOR="#D6E8FF" |
| 4858 | WIDTH="100%" |
| 4859 | CELLPADDING="6" |
| 4860 | ><TR |
| 4861 | ><TD |
| 4862 | ><PRE |
| 4863 | CLASS="PROGRAMLISTING" |
| 4864 | >int xmlRemoveRef (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4865 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4866 | >xmlDocPtr</A |
| 4867 | > doc, |
| 4868 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 4869 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4870 | >xmlAttrPtr</A |
| 4871 | > attr);</PRE |
| 4872 | ></TD |
| 4873 | ></TR |
| 4874 | ></TABLE |
| 4875 | ><P |
| 4876 | >Remove the given attribute from the Ref table maintained internally.</P |
| 4877 | ><P |
| 4878 | ></P |
| 4879 | ><DIV |
| 4880 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4881 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4882 | NAME="AEN9516" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4883 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4884 | ><P |
| 4885 | ></P |
| 4886 | ><TABLE |
| 4887 | BORDER="0" |
| 4888 | WIDTH="100%" |
| 4889 | BGCOLOR="#FFD0D0" |
| 4890 | CELLSPACING="0" |
| 4891 | CELLPADDING="4" |
| 4892 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4893 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4894 | ><TR |
| 4895 | ><TD |
| 4896 | WIDTH="20%" |
| 4897 | ALIGN="RIGHT" |
| 4898 | VALIGN="TOP" |
| 4899 | ><TT |
| 4900 | CLASS="PARAMETER" |
| 4901 | ><I |
| 4902 | >doc</I |
| 4903 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4904 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4905 | ><TD |
| 4906 | WIDTH="80%" |
| 4907 | ALIGN="LEFT" |
| 4908 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4909 | > the document</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4910 | ></TR |
| 4911 | ><TR |
| 4912 | ><TD |
| 4913 | WIDTH="20%" |
| 4914 | ALIGN="RIGHT" |
| 4915 | VALIGN="TOP" |
| 4916 | ><TT |
| 4917 | CLASS="PARAMETER" |
| 4918 | ><I |
| 4919 | >attr</I |
| 4920 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 4921 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4922 | ><TD |
| 4923 | WIDTH="80%" |
| 4924 | ALIGN="LEFT" |
| 4925 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4926 | > the attribute</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4927 | ></TR |
| 4928 | ><TR |
| 4929 | ><TD |
| 4930 | WIDTH="20%" |
| 4931 | ALIGN="RIGHT" |
| 4932 | VALIGN="TOP" |
| 4933 | ><I |
| 4934 | CLASS="EMPHASIS" |
| 4935 | >Returns</I |
| 4936 | > :</TD |
| 4937 | ><TD |
| 4938 | WIDTH="80%" |
| 4939 | ALIGN="LEFT" |
| 4940 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 4941 | >-1 if the lookup failed and 0 otherwise</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4942 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4943 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 4944 | ></TABLE |
| 4945 | ><P |
| 4946 | ></P |
| 4947 | ></DIV |
| 4948 | ></DIV |
| 4949 | ><HR><DIV |
| 4950 | CLASS="REFSECT2" |
| 4951 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4952 | NAME="AEN9533" |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 4953 | ></A |
| 4954 | ><H3 |
| 4955 | ><A |
| 4956 | NAME="XMLGETREFS" |
| 4957 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 4958 | >xmlGetRefs ()</H3 |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 4959 | ><TABLE |
| 4960 | BORDER="0" |
| 4961 | BGCOLOR="#D6E8FF" |
| 4962 | WIDTH="100%" |
| 4963 | CELLPADDING="6" |
| 4964 | ><TR |
| 4965 | ><TD |
| 4966 | ><PRE |
| 4967 | CLASS="PROGRAMLISTING" |
| 4968 | ><GTKDOCLINK |
| 4969 | HREF="XMLLISTPTR" |
| 4970 | >xmlListPtr</GTKDOCLINK |
| 4971 | > xmlGetRefs (<A |
| 4972 | HREF="libxml-tree.html#XMLDOCPTR" |
| 4973 | >xmlDocPtr</A |
| 4974 | > doc, |
| 4975 | const <A |
| 4976 | HREF="libxml-tree.html#XMLCHAR" |
| 4977 | >xmlChar</A |
| 4978 | > *ID);</PRE |
| 4979 | ></TD |
| 4980 | ></TR |
| 4981 | ></TABLE |
| 4982 | ><P |
| 4983 | >Find the set of references for the supplied ID.</P |
| 4984 | ><P |
| 4985 | ></P |
| 4986 | ><DIV |
| 4987 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4988 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 4989 | NAME="AEN9542" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 4990 | ></A |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 4991 | ><P |
| 4992 | ></P |
| 4993 | ><TABLE |
| 4994 | BORDER="0" |
| 4995 | WIDTH="100%" |
| 4996 | BGCOLOR="#FFD0D0" |
| 4997 | CELLSPACING="0" |
| 4998 | CELLPADDING="4" |
| 4999 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5000 | ><TBODY |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5001 | ><TR |
| 5002 | ><TD |
| 5003 | WIDTH="20%" |
| 5004 | ALIGN="RIGHT" |
| 5005 | VALIGN="TOP" |
| 5006 | ><TT |
| 5007 | CLASS="PARAMETER" |
| 5008 | ><I |
| 5009 | >doc</I |
| 5010 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5011 | > :</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5012 | ><TD |
| 5013 | WIDTH="80%" |
| 5014 | ALIGN="LEFT" |
| 5015 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5016 | > pointer to the document</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5017 | ></TR |
| 5018 | ><TR |
| 5019 | ><TD |
| 5020 | WIDTH="20%" |
| 5021 | ALIGN="RIGHT" |
| 5022 | VALIGN="TOP" |
| 5023 | ><TT |
| 5024 | CLASS="PARAMETER" |
| 5025 | ><I |
| 5026 | >ID</I |
| 5027 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5028 | > :</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5029 | ><TD |
| 5030 | WIDTH="80%" |
| 5031 | ALIGN="LEFT" |
| 5032 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5033 | > the ID value</TD |
Daniel Veillard | a41123c | 2001-04-22 19:31:20 +0000 | [diff] [blame] | 5034 | ></TR |
| 5035 | ><TR |
| 5036 | ><TD |
| 5037 | WIDTH="20%" |
| 5038 | ALIGN="RIGHT" |
| 5039 | VALIGN="TOP" |
| 5040 | ><I |
| 5041 | CLASS="EMPHASIS" |
| 5042 | >Returns</I |
| 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 | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5059 | NAME="AEN9559" |
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 | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5097 | NAME="AEN9567" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5098 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5099 | ><P |
| 5100 | ></P |
| 5101 | ><TABLE |
| 5102 | BORDER="0" |
| 5103 | WIDTH="100%" |
| 5104 | BGCOLOR="#FFD0D0" |
| 5105 | CELLSPACING="0" |
| 5106 | CELLPADDING="4" |
| 5107 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5108 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5109 | ><TR |
| 5110 | ><TD |
| 5111 | WIDTH="20%" |
| 5112 | ALIGN="RIGHT" |
| 5113 | VALIGN="TOP" |
| 5114 | ><TT |
| 5115 | CLASS="PARAMETER" |
| 5116 | ><I |
| 5117 | >ctxt</I |
| 5118 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5119 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5120 | ><TD |
| 5121 | WIDTH="80%" |
| 5122 | ALIGN="LEFT" |
| 5123 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5124 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5125 | ></TR |
| 5126 | ><TR |
| 5127 | ><TD |
| 5128 | WIDTH="20%" |
| 5129 | ALIGN="RIGHT" |
| 5130 | VALIGN="TOP" |
| 5131 | ><TT |
| 5132 | CLASS="PARAMETER" |
| 5133 | ><I |
| 5134 | >doc</I |
| 5135 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5136 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5137 | ><TD |
| 5138 | WIDTH="80%" |
| 5139 | ALIGN="LEFT" |
| 5140 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5141 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5142 | ></TR |
| 5143 | ><TR |
| 5144 | ><TD |
| 5145 | WIDTH="20%" |
| 5146 | ALIGN="RIGHT" |
| 5147 | VALIGN="TOP" |
| 5148 | ><I |
| 5149 | CLASS="EMPHASIS" |
| 5150 | >Returns</I |
| 5151 | > :</TD |
| 5152 | ><TD |
| 5153 | WIDTH="80%" |
| 5154 | ALIGN="LEFT" |
| 5155 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5156 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5157 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5158 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5159 | ></TABLE |
| 5160 | ><P |
| 5161 | ></P |
| 5162 | ></DIV |
| 5163 | ></DIV |
| 5164 | ><HR><DIV |
| 5165 | CLASS="REFSECT2" |
| 5166 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5167 | NAME="AEN9584" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5168 | ></A |
| 5169 | ><H3 |
| 5170 | ><A |
| 5171 | NAME="XMLVALIDATEELEMENTDECL" |
| 5172 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5173 | >xmlValidateElementDecl ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5174 | ><TABLE |
| 5175 | BORDER="0" |
| 5176 | BGCOLOR="#D6E8FF" |
| 5177 | WIDTH="100%" |
| 5178 | CELLPADDING="6" |
| 5179 | ><TR |
| 5180 | ><TD |
| 5181 | ><PRE |
| 5182 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5183 | >int xmlValidateElementDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5184 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5185 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5186 | > ctxt, |
| 5187 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5188 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5189 | >xmlDocPtr</A |
| 5190 | > doc, |
| 5191 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5192 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5193 | >xmlElementPtr</A |
| 5194 | > elem);</PRE |
| 5195 | ></TD |
| 5196 | ></TR |
| 5197 | ></TABLE |
| 5198 | ><P |
| 5199 | >Try to validate a single element definition |
| 5200 | basically it does the following checks as described by the |
| 5201 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5202 | - [ VC: One ID per Element Type ] |
| 5203 | - [ VC: No Duplicate Types ] |
| 5204 | - [ VC: Unique Element Type Declaration ]</P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5205 | ><P |
| 5206 | ></P |
| 5207 | ><DIV |
| 5208 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5209 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5210 | NAME="AEN9593" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5211 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5212 | ><P |
| 5213 | ></P |
| 5214 | ><TABLE |
| 5215 | BORDER="0" |
| 5216 | WIDTH="100%" |
| 5217 | BGCOLOR="#FFD0D0" |
| 5218 | CELLSPACING="0" |
| 5219 | CELLPADDING="4" |
| 5220 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5221 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5222 | ><TR |
| 5223 | ><TD |
| 5224 | WIDTH="20%" |
| 5225 | ALIGN="RIGHT" |
| 5226 | VALIGN="TOP" |
| 5227 | ><TT |
| 5228 | CLASS="PARAMETER" |
| 5229 | ><I |
| 5230 | >ctxt</I |
| 5231 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5232 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5233 | ><TD |
| 5234 | WIDTH="80%" |
| 5235 | ALIGN="LEFT" |
| 5236 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5237 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5238 | ></TR |
| 5239 | ><TR |
| 5240 | ><TD |
| 5241 | WIDTH="20%" |
| 5242 | ALIGN="RIGHT" |
| 5243 | VALIGN="TOP" |
| 5244 | ><TT |
| 5245 | CLASS="PARAMETER" |
| 5246 | ><I |
| 5247 | >doc</I |
| 5248 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5249 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5250 | ><TD |
| 5251 | WIDTH="80%" |
| 5252 | ALIGN="LEFT" |
| 5253 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5254 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5255 | ></TR |
| 5256 | ><TR |
| 5257 | ><TD |
| 5258 | WIDTH="20%" |
| 5259 | ALIGN="RIGHT" |
| 5260 | VALIGN="TOP" |
| 5261 | ><TT |
| 5262 | CLASS="PARAMETER" |
| 5263 | ><I |
| 5264 | >elem</I |
| 5265 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5266 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5267 | ><TD |
| 5268 | WIDTH="80%" |
| 5269 | ALIGN="LEFT" |
| 5270 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5271 | > an element definition</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5272 | ></TR |
| 5273 | ><TR |
| 5274 | ><TD |
| 5275 | WIDTH="20%" |
| 5276 | ALIGN="RIGHT" |
| 5277 | VALIGN="TOP" |
| 5278 | ><I |
| 5279 | CLASS="EMPHASIS" |
| 5280 | >Returns</I |
| 5281 | > :</TD |
| 5282 | ><TD |
| 5283 | WIDTH="80%" |
| 5284 | ALIGN="LEFT" |
| 5285 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5286 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5287 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5288 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5289 | ></TABLE |
| 5290 | ><P |
| 5291 | ></P |
| 5292 | ></DIV |
| 5293 | ></DIV |
| 5294 | ><HR><DIV |
| 5295 | CLASS="REFSECT2" |
| 5296 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5297 | NAME="AEN9614" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5298 | ></A |
| 5299 | ><H3 |
| 5300 | ><A |
| 5301 | NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE" |
| 5302 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5303 | >xmlValidNormalizeAttributeValue ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5304 | ><TABLE |
| 5305 | BORDER="0" |
| 5306 | BGCOLOR="#D6E8FF" |
| 5307 | WIDTH="100%" |
| 5308 | CELLPADDING="6" |
| 5309 | ><TR |
| 5310 | ><TD |
| 5311 | ><PRE |
| 5312 | CLASS="PROGRAMLISTING" |
| 5313 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5314 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5315 | >xmlChar</A |
| 5316 | >* xmlValidNormalizeAttributeValue (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5317 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5318 | >xmlDocPtr</A |
| 5319 | > doc, |
| 5320 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5321 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5322 | >xmlNodePtr</A |
| 5323 | > elem, |
| 5324 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5325 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5326 | >xmlChar</A |
| 5327 | > *name, |
| 5328 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5329 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5330 | >xmlChar</A |
| 5331 | > *value);</PRE |
| 5332 | ></TD |
| 5333 | ></TR |
| 5334 | ></TABLE |
| 5335 | ><P |
| 5336 | >Does the validation related extra step of the normalization of attribute |
| 5337 | values:</P |
| 5338 | ><P |
| 5339 | >If the declared value is not CDATA, then the XML processor must further |
| 5340 | process the normalized attribute value by discarding any leading and |
| 5341 | trailing space (<GTKDOCLINK |
| 5342 | HREF="X20" |
| 5343 | >x20</GTKDOCLINK |
| 5344 | >) characters, and by replacing sequences of space |
| 5345 | (<GTKDOCLINK |
| 5346 | HREF="X20" |
| 5347 | >x20</GTKDOCLINK |
| 5348 | >) characters by single space (<GTKDOCLINK |
| 5349 | HREF="X20" |
| 5350 | >x20</GTKDOCLINK |
| 5351 | >) character.</P |
| 5352 | ><P |
| 5353 | ></P |
| 5354 | ><DIV |
| 5355 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5356 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5357 | NAME="AEN9629" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5358 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5359 | ><P |
| 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" |
| 5442 | ><I |
| 5443 | CLASS="EMPHASIS" |
| 5444 | >Returns</I |
| 5445 | > :</TD |
| 5446 | ><TD |
| 5447 | WIDTH="80%" |
| 5448 | ALIGN="LEFT" |
| 5449 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5450 | >a new normalized string if normalization is needed, NULL otherwise |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5451 | the caller must free the returned value.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5452 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5453 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5454 | ></TABLE |
| 5455 | ><P |
| 5456 | ></P |
| 5457 | ></DIV |
| 5458 | ></DIV |
| 5459 | ><HR><DIV |
| 5460 | CLASS="REFSECT2" |
| 5461 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5462 | NAME="AEN9654" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5463 | ></A |
| 5464 | ><H3 |
| 5465 | ><A |
| 5466 | NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE" |
| 5467 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5468 | >xmlValidCtxtNormalizeAttributeValue ()</H3 |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5469 | ><TABLE |
| 5470 | BORDER="0" |
| 5471 | BGCOLOR="#D6E8FF" |
| 5472 | WIDTH="100%" |
| 5473 | CELLPADDING="6" |
| 5474 | ><TR |
| 5475 | ><TD |
| 5476 | ><PRE |
| 5477 | CLASS="PROGRAMLISTING" |
| 5478 | ><A |
| 5479 | HREF="libxml-tree.html#XMLCHAR" |
| 5480 | >xmlChar</A |
| 5481 | >* xmlValidCtxtNormalizeAttributeValue |
| 5482 | (<A |
| 5483 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
| 5484 | >xmlValidCtxtPtr</A |
| 5485 | > ctxt, |
| 5486 | <A |
| 5487 | HREF="libxml-tree.html#XMLDOCPTR" |
| 5488 | >xmlDocPtr</A |
| 5489 | > doc, |
| 5490 | <A |
| 5491 | HREF="libxml-tree.html#XMLNODEPTR" |
| 5492 | >xmlNodePtr</A |
| 5493 | > elem, |
| 5494 | const <A |
| 5495 | HREF="libxml-tree.html#XMLCHAR" |
| 5496 | >xmlChar</A |
| 5497 | > *name, |
| 5498 | const <A |
| 5499 | HREF="libxml-tree.html#XMLCHAR" |
| 5500 | >xmlChar</A |
| 5501 | > *value);</PRE |
| 5502 | ></TD |
| 5503 | ></TR |
| 5504 | ></TABLE |
| 5505 | ><P |
| 5506 | >Does the validation related extra step of the normalization of attribute |
| 5507 | values:</P |
| 5508 | ><P |
| 5509 | >If the declared value is not CDATA, then the XML processor must further |
| 5510 | process the normalized attribute value by discarding any leading and |
| 5511 | trailing space (<GTKDOCLINK |
| 5512 | HREF="X20" |
| 5513 | >x20</GTKDOCLINK |
| 5514 | >) characters, and by replacing sequences of space |
| 5515 | (<GTKDOCLINK |
| 5516 | HREF="X20" |
| 5517 | >x20</GTKDOCLINK |
| 5518 | >) characters by single space (<GTKDOCLINK |
| 5519 | HREF="X20" |
| 5520 | >x20</GTKDOCLINK |
| 5521 | >) character.</P |
| 5522 | ><P |
| 5523 | >Also check VC: Standalone Document Declaration in P32, and update |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5524 | ctxt->valid accordingly</P |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5525 | ><P |
| 5526 | ></P |
| 5527 | ><DIV |
| 5528 | CLASS="INFORMALTABLE" |
| 5529 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5530 | NAME="AEN9671" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5531 | ></A |
| 5532 | ><P |
| 5533 | ></P |
| 5534 | ><TABLE |
| 5535 | BORDER="0" |
| 5536 | WIDTH="100%" |
| 5537 | BGCOLOR="#FFD0D0" |
| 5538 | CELLSPACING="0" |
| 5539 | CELLPADDING="4" |
| 5540 | CLASS="CALSTABLE" |
| 5541 | ><TBODY |
| 5542 | ><TR |
| 5543 | ><TD |
| 5544 | WIDTH="20%" |
| 5545 | ALIGN="RIGHT" |
| 5546 | VALIGN="TOP" |
| 5547 | ><TT |
| 5548 | CLASS="PARAMETER" |
| 5549 | ><I |
| 5550 | >ctxt</I |
| 5551 | ></TT |
| 5552 | > :</TD |
| 5553 | ><TD |
| 5554 | WIDTH="80%" |
| 5555 | ALIGN="LEFT" |
| 5556 | VALIGN="TOP" |
| 5557 | > the validation context</TD |
| 5558 | ></TR |
| 5559 | ><TR |
| 5560 | ><TD |
| 5561 | WIDTH="20%" |
| 5562 | ALIGN="RIGHT" |
| 5563 | VALIGN="TOP" |
| 5564 | ><TT |
| 5565 | CLASS="PARAMETER" |
| 5566 | ><I |
| 5567 | >doc</I |
| 5568 | ></TT |
| 5569 | > :</TD |
| 5570 | ><TD |
| 5571 | WIDTH="80%" |
| 5572 | ALIGN="LEFT" |
| 5573 | VALIGN="TOP" |
| 5574 | > the document</TD |
| 5575 | ></TR |
| 5576 | ><TR |
| 5577 | ><TD |
| 5578 | WIDTH="20%" |
| 5579 | ALIGN="RIGHT" |
| 5580 | VALIGN="TOP" |
| 5581 | ><TT |
| 5582 | CLASS="PARAMETER" |
| 5583 | ><I |
| 5584 | >elem</I |
| 5585 | ></TT |
| 5586 | > :</TD |
| 5587 | ><TD |
| 5588 | WIDTH="80%" |
| 5589 | ALIGN="LEFT" |
| 5590 | VALIGN="TOP" |
| 5591 | > the parent</TD |
| 5592 | ></TR |
| 5593 | ><TR |
| 5594 | ><TD |
| 5595 | WIDTH="20%" |
| 5596 | ALIGN="RIGHT" |
| 5597 | VALIGN="TOP" |
| 5598 | ><TT |
| 5599 | CLASS="PARAMETER" |
| 5600 | ><I |
| 5601 | >name</I |
| 5602 | ></TT |
| 5603 | > :</TD |
| 5604 | ><TD |
| 5605 | WIDTH="80%" |
| 5606 | ALIGN="LEFT" |
| 5607 | VALIGN="TOP" |
| 5608 | > the attribute name</TD |
| 5609 | ></TR |
| 5610 | ><TR |
| 5611 | ><TD |
| 5612 | WIDTH="20%" |
| 5613 | ALIGN="RIGHT" |
| 5614 | VALIGN="TOP" |
| 5615 | ><TT |
| 5616 | CLASS="PARAMETER" |
| 5617 | ><I |
| 5618 | >value</I |
| 5619 | ></TT |
| 5620 | > :</TD |
| 5621 | ><TD |
| 5622 | WIDTH="80%" |
| 5623 | ALIGN="LEFT" |
| 5624 | VALIGN="TOP" |
| 5625 | > the attribute value</TD |
| 5626 | ></TR |
| 5627 | ><TR |
| 5628 | ><TD |
| 5629 | WIDTH="20%" |
| 5630 | ALIGN="RIGHT" |
| 5631 | VALIGN="TOP" |
| 5632 | ><I |
| 5633 | CLASS="EMPHASIS" |
| 5634 | >Returns</I |
| 5635 | > :</TD |
| 5636 | ><TD |
| 5637 | WIDTH="80%" |
| 5638 | ALIGN="LEFT" |
| 5639 | VALIGN="TOP" |
| 5640 | >a new normalized string if normalization is needed, NULL otherwise |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5641 | the caller must free the returned value.</TD |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 5642 | ></TR |
| 5643 | ></TBODY |
| 5644 | ></TABLE |
| 5645 | ><P |
| 5646 | ></P |
| 5647 | ></DIV |
| 5648 | ></DIV |
| 5649 | ><HR><DIV |
| 5650 | CLASS="REFSECT2" |
| 5651 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5652 | NAME="AEN9700" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5653 | ></A |
| 5654 | ><H3 |
| 5655 | ><A |
| 5656 | NAME="XMLVALIDATEATTRIBUTEDECL" |
| 5657 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5658 | >xmlValidateAttributeDecl ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5659 | ><TABLE |
| 5660 | BORDER="0" |
| 5661 | BGCOLOR="#D6E8FF" |
| 5662 | WIDTH="100%" |
| 5663 | CELLPADDING="6" |
| 5664 | ><TR |
| 5665 | ><TD |
| 5666 | ><PRE |
| 5667 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5668 | >int xmlValidateAttributeDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5669 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5670 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5671 | > ctxt, |
| 5672 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5673 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5674 | >xmlDocPtr</A |
| 5675 | > doc, |
| 5676 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5677 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5678 | >xmlAttributePtr</A |
| 5679 | > attr);</PRE |
| 5680 | ></TD |
| 5681 | ></TR |
| 5682 | ></TABLE |
| 5683 | ><P |
| 5684 | >Try to validate a single attribute definition |
| 5685 | basically it does the following checks as described by the |
| 5686 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5687 | - [ VC: Attribute Default Legal ] |
| 5688 | - [ VC: Enumeration ] |
| 5689 | - [ VC: ID Attribute Default ]</P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5690 | ><P |
| 5691 | >The ID/IDREF uniqueness and matching are done separately</P |
| 5692 | ><P |
| 5693 | ></P |
| 5694 | ><DIV |
| 5695 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5696 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5697 | NAME="AEN9710" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5698 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5699 | ><P |
| 5700 | ></P |
| 5701 | ><TABLE |
| 5702 | BORDER="0" |
| 5703 | WIDTH="100%" |
| 5704 | BGCOLOR="#FFD0D0" |
| 5705 | CELLSPACING="0" |
| 5706 | CELLPADDING="4" |
| 5707 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5708 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5709 | ><TR |
| 5710 | ><TD |
| 5711 | WIDTH="20%" |
| 5712 | ALIGN="RIGHT" |
| 5713 | VALIGN="TOP" |
| 5714 | ><TT |
| 5715 | CLASS="PARAMETER" |
| 5716 | ><I |
| 5717 | >ctxt</I |
| 5718 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5719 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5720 | ><TD |
| 5721 | WIDTH="80%" |
| 5722 | ALIGN="LEFT" |
| 5723 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5724 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5725 | ></TR |
| 5726 | ><TR |
| 5727 | ><TD |
| 5728 | WIDTH="20%" |
| 5729 | ALIGN="RIGHT" |
| 5730 | VALIGN="TOP" |
| 5731 | ><TT |
| 5732 | CLASS="PARAMETER" |
| 5733 | ><I |
| 5734 | >doc</I |
| 5735 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5736 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5737 | ><TD |
| 5738 | WIDTH="80%" |
| 5739 | ALIGN="LEFT" |
| 5740 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5741 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5742 | ></TR |
| 5743 | ><TR |
| 5744 | ><TD |
| 5745 | WIDTH="20%" |
| 5746 | ALIGN="RIGHT" |
| 5747 | VALIGN="TOP" |
| 5748 | ><TT |
| 5749 | CLASS="PARAMETER" |
| 5750 | ><I |
| 5751 | >attr</I |
| 5752 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5753 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5754 | ><TD |
| 5755 | WIDTH="80%" |
| 5756 | ALIGN="LEFT" |
| 5757 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5758 | > an attribute definition</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5759 | ></TR |
| 5760 | ><TR |
| 5761 | ><TD |
| 5762 | WIDTH="20%" |
| 5763 | ALIGN="RIGHT" |
| 5764 | VALIGN="TOP" |
| 5765 | ><I |
| 5766 | CLASS="EMPHASIS" |
| 5767 | >Returns</I |
| 5768 | > :</TD |
| 5769 | ><TD |
| 5770 | WIDTH="80%" |
| 5771 | ALIGN="LEFT" |
| 5772 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5773 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5774 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5775 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5776 | ></TABLE |
| 5777 | ><P |
| 5778 | ></P |
| 5779 | ></DIV |
| 5780 | ></DIV |
| 5781 | ><HR><DIV |
| 5782 | CLASS="REFSECT2" |
| 5783 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5784 | NAME="AEN9731" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5785 | ></A |
| 5786 | ><H3 |
| 5787 | ><A |
| 5788 | NAME="XMLVALIDATEATTRIBUTEVALUE" |
| 5789 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5790 | >xmlValidateAttributeValue ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5791 | ><TABLE |
| 5792 | BORDER="0" |
| 5793 | BGCOLOR="#D6E8FF" |
| 5794 | WIDTH="100%" |
| 5795 | CELLPADDING="6" |
| 5796 | ><TR |
| 5797 | ><TD |
| 5798 | ><PRE |
| 5799 | CLASS="PROGRAMLISTING" |
| 5800 | >int xmlValidateAttributeValue (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5801 | HREF="libxml-tree.html#XMLATTRIBUTETYPE" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5802 | >xmlAttributeType</A |
| 5803 | > type, |
| 5804 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5805 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 5806 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5807 | > *value);</PRE |
| 5808 | ></TD |
| 5809 | ></TR |
| 5810 | ></TABLE |
| 5811 | ><P |
| 5812 | >Validate that the given attribute value match the proper production</P |
| 5813 | ><P |
| 5814 | >[ VC: ID ] |
| 5815 | Values of type ID must match the Name production....</P |
| 5816 | ><P |
| 5817 | >[ VC: IDREF ] |
| 5818 | Values of type IDREF must match the Name production, and values |
| 5819 | of type IDREFS must match Names ...</P |
| 5820 | ><P |
| 5821 | >[ VC: Entity Name ] |
| 5822 | Values of type ENTITY must match the Name production, values |
| 5823 | of type ENTITIES must match Names ...</P |
| 5824 | ><P |
| 5825 | >[ VC: Name Token ] |
| 5826 | Values of type NMTOKEN must match the Nmtoken production; values |
| 5827 | of type NMTOKENS must match Nmtokens.</P |
| 5828 | ><P |
| 5829 | ></P |
| 5830 | ><DIV |
| 5831 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5832 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5833 | NAME="AEN9743" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5834 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5835 | ><P |
| 5836 | ></P |
| 5837 | ><TABLE |
| 5838 | BORDER="0" |
| 5839 | WIDTH="100%" |
| 5840 | BGCOLOR="#FFD0D0" |
| 5841 | CELLSPACING="0" |
| 5842 | CELLPADDING="4" |
| 5843 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5844 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5845 | ><TR |
| 5846 | ><TD |
| 5847 | WIDTH="20%" |
| 5848 | ALIGN="RIGHT" |
| 5849 | VALIGN="TOP" |
| 5850 | ><TT |
| 5851 | CLASS="PARAMETER" |
| 5852 | ><I |
| 5853 | >type</I |
| 5854 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5855 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5856 | ><TD |
| 5857 | WIDTH="80%" |
| 5858 | ALIGN="LEFT" |
| 5859 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5860 | > an attribute type</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5861 | ></TR |
| 5862 | ><TR |
| 5863 | ><TD |
| 5864 | WIDTH="20%" |
| 5865 | ALIGN="RIGHT" |
| 5866 | VALIGN="TOP" |
| 5867 | ><TT |
| 5868 | CLASS="PARAMETER" |
| 5869 | ><I |
| 5870 | >value</I |
| 5871 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5872 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5873 | ><TD |
| 5874 | WIDTH="80%" |
| 5875 | ALIGN="LEFT" |
| 5876 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5877 | > an attribute value</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5878 | ></TR |
| 5879 | ><TR |
| 5880 | ><TD |
| 5881 | WIDTH="20%" |
| 5882 | ALIGN="RIGHT" |
| 5883 | VALIGN="TOP" |
| 5884 | ><I |
| 5885 | CLASS="EMPHASIS" |
| 5886 | >Returns</I |
| 5887 | > :</TD |
| 5888 | ><TD |
| 5889 | WIDTH="80%" |
| 5890 | ALIGN="LEFT" |
| 5891 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5892 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5893 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5894 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 5895 | ></TABLE |
| 5896 | ><P |
| 5897 | ></P |
| 5898 | ></DIV |
| 5899 | ></DIV |
| 5900 | ><HR><DIV |
| 5901 | CLASS="REFSECT2" |
| 5902 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5903 | NAME="AEN9760" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5904 | ></A |
| 5905 | ><H3 |
| 5906 | ><A |
| 5907 | NAME="XMLVALIDATENOTATIONDECL" |
| 5908 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5909 | >xmlValidateNotationDecl ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5910 | ><TABLE |
| 5911 | BORDER="0" |
| 5912 | BGCOLOR="#D6E8FF" |
| 5913 | WIDTH="100%" |
| 5914 | CELLPADDING="6" |
| 5915 | ><TR |
| 5916 | ><TD |
| 5917 | ><PRE |
| 5918 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5919 | >int xmlValidateNotationDecl (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5920 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 5921 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5922 | > ctxt, |
| 5923 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5924 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5925 | >xmlDocPtr</A |
| 5926 | > doc, |
| 5927 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 5928 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5929 | >xmlNotationPtr</A |
| 5930 | > nota);</PRE |
| 5931 | ></TD |
| 5932 | ></TR |
| 5933 | ></TABLE |
| 5934 | ><P |
| 5935 | >Try to validate a single notation definition |
| 5936 | basically it does the following checks as described by the |
| 5937 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 5938 | - it seems that no validity constraint exists on notation declarations |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5939 | But this function get called anyway ...</P |
| 5940 | ><P |
| 5941 | ></P |
| 5942 | ><DIV |
| 5943 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5944 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 5945 | NAME="AEN9769" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5946 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5947 | ><P |
| 5948 | ></P |
| 5949 | ><TABLE |
| 5950 | BORDER="0" |
| 5951 | WIDTH="100%" |
| 5952 | BGCOLOR="#FFD0D0" |
| 5953 | CELLSPACING="0" |
| 5954 | CELLPADDING="4" |
| 5955 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 5956 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5957 | ><TR |
| 5958 | ><TD |
| 5959 | WIDTH="20%" |
| 5960 | ALIGN="RIGHT" |
| 5961 | VALIGN="TOP" |
| 5962 | ><TT |
| 5963 | CLASS="PARAMETER" |
| 5964 | ><I |
| 5965 | >ctxt</I |
| 5966 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5967 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5968 | ><TD |
| 5969 | WIDTH="80%" |
| 5970 | ALIGN="LEFT" |
| 5971 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5972 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5973 | ></TR |
| 5974 | ><TR |
| 5975 | ><TD |
| 5976 | WIDTH="20%" |
| 5977 | ALIGN="RIGHT" |
| 5978 | VALIGN="TOP" |
| 5979 | ><TT |
| 5980 | CLASS="PARAMETER" |
| 5981 | ><I |
| 5982 | >doc</I |
| 5983 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 5984 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5985 | ><TD |
| 5986 | WIDTH="80%" |
| 5987 | ALIGN="LEFT" |
| 5988 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 5989 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 5990 | ></TR |
| 5991 | ><TR |
| 5992 | ><TD |
| 5993 | WIDTH="20%" |
| 5994 | ALIGN="RIGHT" |
| 5995 | VALIGN="TOP" |
| 5996 | ><TT |
| 5997 | CLASS="PARAMETER" |
| 5998 | ><I |
| 5999 | >nota</I |
| 6000 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6001 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6002 | ><TD |
| 6003 | WIDTH="80%" |
| 6004 | ALIGN="LEFT" |
| 6005 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6006 | > a notation definition</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6007 | ></TR |
| 6008 | ><TR |
| 6009 | ><TD |
| 6010 | WIDTH="20%" |
| 6011 | ALIGN="RIGHT" |
| 6012 | VALIGN="TOP" |
| 6013 | ><I |
| 6014 | CLASS="EMPHASIS" |
| 6015 | >Returns</I |
| 6016 | > :</TD |
| 6017 | ><TD |
| 6018 | WIDTH="80%" |
| 6019 | ALIGN="LEFT" |
| 6020 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6021 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6022 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6023 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6024 | ></TABLE |
| 6025 | ><P |
| 6026 | ></P |
| 6027 | ></DIV |
| 6028 | ></DIV |
| 6029 | ><HR><DIV |
| 6030 | CLASS="REFSECT2" |
| 6031 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6032 | NAME="AEN9790" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6033 | ></A |
| 6034 | ><H3 |
| 6035 | ><A |
| 6036 | NAME="XMLVALIDATEDTD" |
| 6037 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6038 | >xmlValidateDtd ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6039 | ><TABLE |
| 6040 | BORDER="0" |
| 6041 | BGCOLOR="#D6E8FF" |
| 6042 | WIDTH="100%" |
| 6043 | CELLPADDING="6" |
| 6044 | ><TR |
| 6045 | ><TD |
| 6046 | ><PRE |
| 6047 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6048 | >int xmlValidateDtd (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6049 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6050 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6051 | > ctxt, |
| 6052 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6053 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6054 | >xmlDocPtr</A |
| 6055 | > doc, |
| 6056 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6057 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6058 | >xmlDtdPtr</A |
| 6059 | > dtd);</PRE |
| 6060 | ></TD |
| 6061 | ></TR |
| 6062 | ></TABLE |
| 6063 | ><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6064 | >Try to validate the document against the dtd instance</P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6065 | ><P |
| 6066 | >basically it does check all the definitions in the DtD.</P |
| 6067 | ><P |
| 6068 | ></P |
| 6069 | ><DIV |
| 6070 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6071 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6072 | NAME="AEN9800" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6073 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6074 | ><P |
| 6075 | ></P |
| 6076 | ><TABLE |
| 6077 | BORDER="0" |
| 6078 | WIDTH="100%" |
| 6079 | BGCOLOR="#FFD0D0" |
| 6080 | CELLSPACING="0" |
| 6081 | CELLPADDING="4" |
| 6082 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6083 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6084 | ><TR |
| 6085 | ><TD |
| 6086 | WIDTH="20%" |
| 6087 | ALIGN="RIGHT" |
| 6088 | VALIGN="TOP" |
| 6089 | ><TT |
| 6090 | CLASS="PARAMETER" |
| 6091 | ><I |
| 6092 | >ctxt</I |
| 6093 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6094 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6095 | ><TD |
| 6096 | WIDTH="80%" |
| 6097 | ALIGN="LEFT" |
| 6098 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6099 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6100 | ></TR |
| 6101 | ><TR |
| 6102 | ><TD |
| 6103 | WIDTH="20%" |
| 6104 | ALIGN="RIGHT" |
| 6105 | VALIGN="TOP" |
| 6106 | ><TT |
| 6107 | CLASS="PARAMETER" |
| 6108 | ><I |
| 6109 | >doc</I |
| 6110 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6111 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6112 | ><TD |
| 6113 | WIDTH="80%" |
| 6114 | ALIGN="LEFT" |
| 6115 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6116 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6117 | ></TR |
| 6118 | ><TR |
| 6119 | ><TD |
| 6120 | WIDTH="20%" |
| 6121 | ALIGN="RIGHT" |
| 6122 | VALIGN="TOP" |
| 6123 | ><TT |
| 6124 | CLASS="PARAMETER" |
| 6125 | ><I |
| 6126 | >dtd</I |
| 6127 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6128 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6129 | ><TD |
| 6130 | WIDTH="80%" |
| 6131 | ALIGN="LEFT" |
| 6132 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6133 | > a dtd instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6134 | ></TR |
| 6135 | ><TR |
| 6136 | ><TD |
| 6137 | WIDTH="20%" |
| 6138 | ALIGN="RIGHT" |
| 6139 | VALIGN="TOP" |
| 6140 | ><I |
| 6141 | CLASS="EMPHASIS" |
| 6142 | >Returns</I |
| 6143 | > :</TD |
| 6144 | ><TD |
| 6145 | WIDTH="80%" |
| 6146 | ALIGN="LEFT" |
| 6147 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6148 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6149 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6150 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6151 | ></TABLE |
| 6152 | ><P |
| 6153 | ></P |
| 6154 | ></DIV |
| 6155 | ></DIV |
| 6156 | ><HR><DIV |
| 6157 | CLASS="REFSECT2" |
| 6158 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6159 | NAME="AEN9821" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6160 | ></A |
| 6161 | ><H3 |
| 6162 | ><A |
| 6163 | NAME="XMLVALIDATEDTDFINAL" |
| 6164 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6165 | >xmlValidateDtdFinal ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6166 | ><TABLE |
| 6167 | BORDER="0" |
| 6168 | BGCOLOR="#D6E8FF" |
| 6169 | WIDTH="100%" |
| 6170 | CELLPADDING="6" |
| 6171 | ><TR |
| 6172 | ><TD |
| 6173 | ><PRE |
| 6174 | CLASS="PROGRAMLISTING" |
| 6175 | >int xmlValidateDtdFinal (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6176 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6177 | >xmlValidCtxtPtr</A |
| 6178 | > ctxt, |
| 6179 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6180 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6181 | >xmlDocPtr</A |
| 6182 | > doc);</PRE |
| 6183 | ></TD |
| 6184 | ></TR |
| 6185 | ></TABLE |
| 6186 | ><P |
| 6187 | >Does the final step for the dtds validation once all the |
| 6188 | subsets have been parsed</P |
| 6189 | ><P |
| 6190 | >basically it does the following checks described by the XML Rec |
| 6191 | - check that ENTITY and ENTITIES type attributes default or |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6192 | possible values matches one of the defined entities. |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6193 | - check that NOTATION type attributes default or |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6194 | possible values matches one of the defined notations.</P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6195 | ><P |
| 6196 | ></P |
| 6197 | ><DIV |
| 6198 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6199 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6200 | NAME="AEN9830" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6201 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6202 | ><P |
| 6203 | ></P |
| 6204 | ><TABLE |
| 6205 | BORDER="0" |
| 6206 | WIDTH="100%" |
| 6207 | BGCOLOR="#FFD0D0" |
| 6208 | CELLSPACING="0" |
| 6209 | CELLPADDING="4" |
| 6210 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6211 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6212 | ><TR |
| 6213 | ><TD |
| 6214 | WIDTH="20%" |
| 6215 | ALIGN="RIGHT" |
| 6216 | VALIGN="TOP" |
| 6217 | ><TT |
| 6218 | CLASS="PARAMETER" |
| 6219 | ><I |
| 6220 | >ctxt</I |
| 6221 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6222 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6223 | ><TD |
| 6224 | WIDTH="80%" |
| 6225 | ALIGN="LEFT" |
| 6226 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6227 | > the validation context</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6228 | ></TR |
| 6229 | ><TR |
| 6230 | ><TD |
| 6231 | WIDTH="20%" |
| 6232 | ALIGN="RIGHT" |
| 6233 | VALIGN="TOP" |
| 6234 | ><TT |
| 6235 | CLASS="PARAMETER" |
| 6236 | ><I |
| 6237 | >doc</I |
| 6238 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6239 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6240 | ><TD |
| 6241 | WIDTH="80%" |
| 6242 | ALIGN="LEFT" |
| 6243 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6244 | > a document instance</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6245 | ></TR |
| 6246 | ><TR |
| 6247 | ><TD |
| 6248 | WIDTH="20%" |
| 6249 | ALIGN="RIGHT" |
| 6250 | VALIGN="TOP" |
| 6251 | ><I |
| 6252 | CLASS="EMPHASIS" |
| 6253 | >Returns</I |
| 6254 | > :</TD |
| 6255 | ><TD |
| 6256 | WIDTH="80%" |
| 6257 | ALIGN="LEFT" |
| 6258 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 6259 | >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] | 6260 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6261 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6262 | ></TABLE |
| 6263 | ><P |
| 6264 | ></P |
| 6265 | ></DIV |
| 6266 | ></DIV |
| 6267 | ><HR><DIV |
| 6268 | CLASS="REFSECT2" |
| 6269 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6270 | NAME="AEN9847" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6271 | ></A |
| 6272 | ><H3 |
| 6273 | ><A |
| 6274 | NAME="XMLVALIDATEDOCUMENT" |
| 6275 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6276 | >xmlValidateDocument ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6277 | ><TABLE |
| 6278 | BORDER="0" |
| 6279 | BGCOLOR="#D6E8FF" |
| 6280 | WIDTH="100%" |
| 6281 | CELLPADDING="6" |
| 6282 | ><TR |
| 6283 | ><TD |
| 6284 | ><PRE |
| 6285 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6286 | >int xmlValidateDocument (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6287 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6288 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6289 | > ctxt, |
| 6290 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6291 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6292 | >xmlDocPtr</A |
| 6293 | > doc);</PRE |
| 6294 | ></TD |
| 6295 | ></TR |
| 6296 | ></TABLE |
| 6297 | ><P |
| 6298 | >Try to validate the document instance</P |
| 6299 | ><P |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6300 | >basically it does the all the checks described by the XML Rec |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6301 | i.e. validates the internal and external subset (if present) |
| 6302 | and validate the document tree.</P |
| 6303 | ><P |
| 6304 | ></P |
| 6305 | ><DIV |
| 6306 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6307 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6308 | NAME="AEN9856" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6309 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6310 | ><P |
| 6311 | ></P |
| 6312 | ><TABLE |
| 6313 | BORDER="0" |
| 6314 | WIDTH="100%" |
| 6315 | BGCOLOR="#FFD0D0" |
| 6316 | CELLSPACING="0" |
| 6317 | CELLPADDING="4" |
| 6318 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6319 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6320 | ><TR |
| 6321 | ><TD |
| 6322 | WIDTH="20%" |
| 6323 | ALIGN="RIGHT" |
| 6324 | VALIGN="TOP" |
| 6325 | ><TT |
| 6326 | CLASS="PARAMETER" |
| 6327 | ><I |
| 6328 | >ctxt</I |
| 6329 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6330 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6331 | ><TD |
| 6332 | WIDTH="80%" |
| 6333 | ALIGN="LEFT" |
| 6334 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6335 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6336 | ></TR |
| 6337 | ><TR |
| 6338 | ><TD |
| 6339 | WIDTH="20%" |
| 6340 | ALIGN="RIGHT" |
| 6341 | VALIGN="TOP" |
| 6342 | ><TT |
| 6343 | CLASS="PARAMETER" |
| 6344 | ><I |
| 6345 | >doc</I |
| 6346 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6347 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6348 | ><TD |
| 6349 | WIDTH="80%" |
| 6350 | ALIGN="LEFT" |
| 6351 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6352 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6353 | ></TR |
| 6354 | ><TR |
| 6355 | ><TD |
| 6356 | WIDTH="20%" |
| 6357 | ALIGN="RIGHT" |
| 6358 | VALIGN="TOP" |
| 6359 | ><I |
| 6360 | CLASS="EMPHASIS" |
| 6361 | >Returns</I |
| 6362 | > :</TD |
| 6363 | ><TD |
| 6364 | WIDTH="80%" |
| 6365 | ALIGN="LEFT" |
| 6366 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6367 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6368 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6369 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6370 | ></TABLE |
| 6371 | ><P |
| 6372 | ></P |
| 6373 | ></DIV |
| 6374 | ></DIV |
| 6375 | ><HR><DIV |
| 6376 | CLASS="REFSECT2" |
| 6377 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6378 | NAME="AEN9873" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6379 | ></A |
| 6380 | ><H3 |
| 6381 | ><A |
| 6382 | NAME="XMLVALIDATEELEMENT" |
| 6383 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6384 | >xmlValidateElement ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6385 | ><TABLE |
| 6386 | BORDER="0" |
| 6387 | BGCOLOR="#D6E8FF" |
| 6388 | WIDTH="100%" |
| 6389 | CELLPADDING="6" |
| 6390 | ><TR |
| 6391 | ><TD |
| 6392 | ><PRE |
| 6393 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6394 | >int xmlValidateElement (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6395 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6396 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6397 | > ctxt, |
| 6398 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6399 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6400 | >xmlDocPtr</A |
| 6401 | > doc, |
| 6402 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6403 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6404 | >xmlNodePtr</A |
| 6405 | > elem);</PRE |
| 6406 | ></TD |
| 6407 | ></TR |
| 6408 | ></TABLE |
| 6409 | ><P |
| 6410 | >Try to validate the subtree under an element</P |
| 6411 | ><P |
| 6412 | ></P |
| 6413 | ><DIV |
| 6414 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6415 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6416 | NAME="AEN9882" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6417 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6418 | ><P |
| 6419 | ></P |
| 6420 | ><TABLE |
| 6421 | BORDER="0" |
| 6422 | WIDTH="100%" |
| 6423 | BGCOLOR="#FFD0D0" |
| 6424 | CELLSPACING="0" |
| 6425 | CELLPADDING="4" |
| 6426 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6427 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6428 | ><TR |
| 6429 | ><TD |
| 6430 | WIDTH="20%" |
| 6431 | ALIGN="RIGHT" |
| 6432 | VALIGN="TOP" |
| 6433 | ><TT |
| 6434 | CLASS="PARAMETER" |
| 6435 | ><I |
| 6436 | >ctxt</I |
| 6437 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6438 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6439 | ><TD |
| 6440 | WIDTH="80%" |
| 6441 | ALIGN="LEFT" |
| 6442 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6443 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6444 | ></TR |
| 6445 | ><TR |
| 6446 | ><TD |
| 6447 | WIDTH="20%" |
| 6448 | ALIGN="RIGHT" |
| 6449 | VALIGN="TOP" |
| 6450 | ><TT |
| 6451 | CLASS="PARAMETER" |
| 6452 | ><I |
| 6453 | >doc</I |
| 6454 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6455 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6456 | ><TD |
| 6457 | WIDTH="80%" |
| 6458 | ALIGN="LEFT" |
| 6459 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6460 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6461 | ></TR |
| 6462 | ><TR |
| 6463 | ><TD |
| 6464 | WIDTH="20%" |
| 6465 | ALIGN="RIGHT" |
| 6466 | VALIGN="TOP" |
| 6467 | ><TT |
| 6468 | CLASS="PARAMETER" |
| 6469 | ><I |
| 6470 | >elem</I |
| 6471 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6472 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6473 | ><TD |
| 6474 | WIDTH="80%" |
| 6475 | ALIGN="LEFT" |
| 6476 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6477 | > an element instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6478 | ></TR |
| 6479 | ><TR |
| 6480 | ><TD |
| 6481 | WIDTH="20%" |
| 6482 | ALIGN="RIGHT" |
| 6483 | VALIGN="TOP" |
| 6484 | ><I |
| 6485 | CLASS="EMPHASIS" |
| 6486 | >Returns</I |
| 6487 | > :</TD |
| 6488 | ><TD |
| 6489 | WIDTH="80%" |
| 6490 | ALIGN="LEFT" |
| 6491 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6492 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6493 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6494 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6495 | ></TABLE |
| 6496 | ><P |
| 6497 | ></P |
| 6498 | ></DIV |
| 6499 | ></DIV |
| 6500 | ><HR><DIV |
| 6501 | CLASS="REFSECT2" |
| 6502 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6503 | NAME="AEN9903" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6504 | ></A |
| 6505 | ><H3 |
| 6506 | ><A |
| 6507 | NAME="XMLVALIDATEONEELEMENT" |
| 6508 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6509 | >xmlValidateOneElement ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6510 | ><TABLE |
| 6511 | BORDER="0" |
| 6512 | BGCOLOR="#D6E8FF" |
| 6513 | WIDTH="100%" |
| 6514 | CELLPADDING="6" |
| 6515 | ><TR |
| 6516 | ><TD |
| 6517 | ><PRE |
| 6518 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6519 | >int xmlValidateOneElement (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6520 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6521 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6522 | > ctxt, |
| 6523 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6524 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6525 | >xmlDocPtr</A |
| 6526 | > doc, |
| 6527 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6528 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6529 | >xmlNodePtr</A |
| 6530 | > elem);</PRE |
| 6531 | ></TD |
| 6532 | ></TR |
| 6533 | ></TABLE |
| 6534 | ><P |
| 6535 | >Try to validate a single element and it's attributes, |
| 6536 | basically it does the following checks as described by the |
| 6537 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6538 | - [ VC: Element Valid ] |
| 6539 | - [ VC: Required Attribute ] |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6540 | Then call <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6541 | HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6542 | >xmlValidateOneAttribute</A |
| 6543 | >() for each attribute present.</P |
| 6544 | ><P |
| 6545 | >The ID/IDREF checkings are done separately</P |
| 6546 | ><P |
| 6547 | ></P |
| 6548 | ><DIV |
| 6549 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6550 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6551 | NAME="AEN9914" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6552 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6553 | ><P |
| 6554 | ></P |
| 6555 | ><TABLE |
| 6556 | BORDER="0" |
| 6557 | WIDTH="100%" |
| 6558 | BGCOLOR="#FFD0D0" |
| 6559 | CELLSPACING="0" |
| 6560 | CELLPADDING="4" |
| 6561 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6562 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6563 | ><TR |
| 6564 | ><TD |
| 6565 | WIDTH="20%" |
| 6566 | ALIGN="RIGHT" |
| 6567 | VALIGN="TOP" |
| 6568 | ><TT |
| 6569 | CLASS="PARAMETER" |
| 6570 | ><I |
| 6571 | >ctxt</I |
| 6572 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6573 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6574 | ><TD |
| 6575 | WIDTH="80%" |
| 6576 | ALIGN="LEFT" |
| 6577 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6578 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6579 | ></TR |
| 6580 | ><TR |
| 6581 | ><TD |
| 6582 | WIDTH="20%" |
| 6583 | ALIGN="RIGHT" |
| 6584 | VALIGN="TOP" |
| 6585 | ><TT |
| 6586 | CLASS="PARAMETER" |
| 6587 | ><I |
| 6588 | >doc</I |
| 6589 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6590 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6591 | ><TD |
| 6592 | WIDTH="80%" |
| 6593 | ALIGN="LEFT" |
| 6594 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6595 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6596 | ></TR |
| 6597 | ><TR |
| 6598 | ><TD |
| 6599 | WIDTH="20%" |
| 6600 | ALIGN="RIGHT" |
| 6601 | VALIGN="TOP" |
| 6602 | ><TT |
| 6603 | CLASS="PARAMETER" |
| 6604 | ><I |
| 6605 | >elem</I |
| 6606 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6607 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6608 | ><TD |
| 6609 | WIDTH="80%" |
| 6610 | ALIGN="LEFT" |
| 6611 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6612 | > an element instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6613 | ></TR |
| 6614 | ><TR |
| 6615 | ><TD |
| 6616 | WIDTH="20%" |
| 6617 | ALIGN="RIGHT" |
| 6618 | VALIGN="TOP" |
| 6619 | ><I |
| 6620 | CLASS="EMPHASIS" |
| 6621 | >Returns</I |
| 6622 | > :</TD |
| 6623 | ><TD |
| 6624 | WIDTH="80%" |
| 6625 | ALIGN="LEFT" |
| 6626 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6627 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6628 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6629 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6630 | ></TABLE |
| 6631 | ><P |
| 6632 | ></P |
| 6633 | ></DIV |
| 6634 | ></DIV |
| 6635 | ><HR><DIV |
| 6636 | CLASS="REFSECT2" |
| 6637 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6638 | NAME="AEN9935" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6639 | ></A |
| 6640 | ><H3 |
| 6641 | ><A |
| 6642 | NAME="XMLVALIDATEONEATTRIBUTE" |
| 6643 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6644 | >xmlValidateOneAttribute ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6645 | ><TABLE |
| 6646 | BORDER="0" |
| 6647 | BGCOLOR="#D6E8FF" |
| 6648 | WIDTH="100%" |
| 6649 | CELLPADDING="6" |
| 6650 | ><TR |
| 6651 | ><TD |
| 6652 | ><PRE |
| 6653 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6654 | >int xmlValidateOneAttribute (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6655 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6656 | >xmlValidCtxtPtr</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6657 | > ctxt, |
| 6658 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6659 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6660 | >xmlDocPtr</A |
| 6661 | > doc, |
| 6662 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6663 | HREF="libxml-tree.html#XMLNODEPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6664 | >xmlNodePtr</A |
| 6665 | > elem, |
| 6666 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6667 | HREF="libxml-tree.html#XMLATTRPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6668 | >xmlAttrPtr</A |
| 6669 | > attr, |
| 6670 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6671 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 6672 | >xmlChar</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6673 | > *value);</PRE |
| 6674 | ></TD |
| 6675 | ></TR |
| 6676 | ></TABLE |
| 6677 | ><P |
| 6678 | >Try to validate a single attribute for an element |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6679 | basically it does the following checks as described by the |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6680 | XML-1.0 recommendation: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6681 | - [ VC: Attribute Value Type ] |
| 6682 | - [ VC: Fixed Attribute Default ] |
| 6683 | - [ VC: Entity Name ] |
| 6684 | - [ VC: Name Token ] |
| 6685 | - [ VC: ID ] |
| 6686 | - [ VC: IDREF ] |
| 6687 | - [ VC: Entity Name ] |
| 6688 | - [ VC: Notation Attributes ]</P |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6689 | ><P |
| 6690 | >The ID/IDREF uniqueness and matching are done separately</P |
| 6691 | ><P |
| 6692 | ></P |
| 6693 | ><DIV |
| 6694 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6695 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6696 | NAME="AEN9947" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6697 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6698 | ><P |
| 6699 | ></P |
| 6700 | ><TABLE |
| 6701 | BORDER="0" |
| 6702 | WIDTH="100%" |
| 6703 | BGCOLOR="#FFD0D0" |
| 6704 | CELLSPACING="0" |
| 6705 | CELLPADDING="4" |
| 6706 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6707 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6708 | ><TR |
| 6709 | ><TD |
| 6710 | WIDTH="20%" |
| 6711 | ALIGN="RIGHT" |
| 6712 | VALIGN="TOP" |
| 6713 | ><TT |
| 6714 | CLASS="PARAMETER" |
| 6715 | ><I |
| 6716 | >ctxt</I |
| 6717 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6718 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6719 | ><TD |
| 6720 | WIDTH="80%" |
| 6721 | ALIGN="LEFT" |
| 6722 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6723 | > the validation context</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6724 | ></TR |
| 6725 | ><TR |
| 6726 | ><TD |
| 6727 | WIDTH="20%" |
| 6728 | ALIGN="RIGHT" |
| 6729 | VALIGN="TOP" |
| 6730 | ><TT |
| 6731 | CLASS="PARAMETER" |
| 6732 | ><I |
| 6733 | >doc</I |
| 6734 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6735 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6736 | ><TD |
| 6737 | WIDTH="80%" |
| 6738 | ALIGN="LEFT" |
| 6739 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6740 | > a document instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6741 | ></TR |
| 6742 | ><TR |
| 6743 | ><TD |
| 6744 | WIDTH="20%" |
| 6745 | ALIGN="RIGHT" |
| 6746 | VALIGN="TOP" |
| 6747 | ><TT |
| 6748 | CLASS="PARAMETER" |
| 6749 | ><I |
| 6750 | >elem</I |
| 6751 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6752 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6753 | ><TD |
| 6754 | WIDTH="80%" |
| 6755 | ALIGN="LEFT" |
| 6756 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6757 | > an element instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6758 | ></TR |
| 6759 | ><TR |
| 6760 | ><TD |
| 6761 | WIDTH="20%" |
| 6762 | ALIGN="RIGHT" |
| 6763 | VALIGN="TOP" |
| 6764 | ><TT |
| 6765 | CLASS="PARAMETER" |
| 6766 | ><I |
| 6767 | >attr</I |
| 6768 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6769 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6770 | ><TD |
| 6771 | WIDTH="80%" |
| 6772 | ALIGN="LEFT" |
| 6773 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6774 | > an attribute instance</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6775 | ></TR |
| 6776 | ><TR |
| 6777 | ><TD |
| 6778 | WIDTH="20%" |
| 6779 | ALIGN="RIGHT" |
| 6780 | VALIGN="TOP" |
| 6781 | ><TT |
| 6782 | CLASS="PARAMETER" |
| 6783 | ><I |
| 6784 | >value</I |
| 6785 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6786 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6787 | ><TD |
| 6788 | WIDTH="80%" |
| 6789 | ALIGN="LEFT" |
| 6790 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6791 | > the attribute value (without entities processing)</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6792 | ></TR |
| 6793 | ><TR |
| 6794 | ><TD |
| 6795 | WIDTH="20%" |
| 6796 | ALIGN="RIGHT" |
| 6797 | VALIGN="TOP" |
| 6798 | ><I |
| 6799 | CLASS="EMPHASIS" |
| 6800 | >Returns</I |
| 6801 | > :</TD |
| 6802 | ><TD |
| 6803 | WIDTH="80%" |
| 6804 | ALIGN="LEFT" |
| 6805 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6806 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6807 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6808 | ></TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 6809 | ></TABLE |
| 6810 | ><P |
| 6811 | ></P |
| 6812 | ></DIV |
| 6813 | ></DIV |
| 6814 | ><HR><DIV |
| 6815 | CLASS="REFSECT2" |
| 6816 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6817 | NAME="AEN9976" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6818 | ></A |
| 6819 | ><H3 |
| 6820 | ><A |
| 6821 | NAME="XMLVALIDATEDOCUMENTFINAL" |
| 6822 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6823 | >xmlValidateDocumentFinal ()</H3 |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6824 | ><TABLE |
| 6825 | BORDER="0" |
| 6826 | BGCOLOR="#D6E8FF" |
| 6827 | WIDTH="100%" |
| 6828 | CELLPADDING="6" |
| 6829 | ><TR |
| 6830 | ><TD |
| 6831 | ><PRE |
| 6832 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6833 | >int xmlValidateDocumentFinal (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6834 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6835 | >xmlValidCtxtPtr</A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6836 | > ctxt, |
| 6837 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6838 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6839 | >xmlDocPtr</A |
| 6840 | > doc);</PRE |
| 6841 | ></TD |
| 6842 | ></TR |
| 6843 | ></TABLE |
| 6844 | ><P |
| 6845 | >Does the final step for the document validation once all the |
| 6846 | incremental validation steps have been completed</P |
| 6847 | ><P |
| 6848 | >basically it does the following checks described by the XML Rec</P |
| 6849 | ><P |
| 6850 | ></P |
| 6851 | ><DIV |
| 6852 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6853 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6854 | NAME="AEN9985" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6855 | ></A |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6856 | ><P |
| 6857 | ></P |
| 6858 | ><TABLE |
| 6859 | BORDER="0" |
| 6860 | WIDTH="100%" |
| 6861 | BGCOLOR="#FFD0D0" |
| 6862 | CELLSPACING="0" |
| 6863 | CELLPADDING="4" |
| 6864 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6865 | ><TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6866 | ><TR |
| 6867 | ><TD |
| 6868 | WIDTH="20%" |
| 6869 | ALIGN="RIGHT" |
| 6870 | VALIGN="TOP" |
| 6871 | ><TT |
| 6872 | CLASS="PARAMETER" |
| 6873 | ><I |
| 6874 | >ctxt</I |
| 6875 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6876 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6877 | ><TD |
| 6878 | WIDTH="80%" |
| 6879 | ALIGN="LEFT" |
| 6880 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6881 | > the validation context</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6882 | ></TR |
| 6883 | ><TR |
| 6884 | ><TD |
| 6885 | WIDTH="20%" |
| 6886 | ALIGN="RIGHT" |
| 6887 | VALIGN="TOP" |
| 6888 | ><TT |
| 6889 | CLASS="PARAMETER" |
| 6890 | ><I |
| 6891 | >doc</I |
| 6892 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6893 | > :</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6894 | ><TD |
| 6895 | WIDTH="80%" |
| 6896 | ALIGN="LEFT" |
| 6897 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6898 | > a document instance</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6899 | ></TR |
| 6900 | ><TR |
| 6901 | ><TD |
| 6902 | WIDTH="20%" |
| 6903 | ALIGN="RIGHT" |
| 6904 | VALIGN="TOP" |
| 6905 | ><I |
| 6906 | CLASS="EMPHASIS" |
| 6907 | >Returns</I |
| 6908 | > :</TD |
| 6909 | ><TD |
| 6910 | WIDTH="80%" |
| 6911 | ALIGN="LEFT" |
| 6912 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6913 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6914 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6915 | ></TBODY |
Daniel Veillard | 7f7d111 | 1999-09-22 09:46:25 +0000 | [diff] [blame] | 6916 | ></TABLE |
| 6917 | ><P |
| 6918 | ></P |
| 6919 | ></DIV |
| 6920 | ></DIV |
| 6921 | ><HR><DIV |
| 6922 | CLASS="REFSECT2" |
| 6923 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6924 | NAME="AEN10002" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6925 | ></A |
| 6926 | ><H3 |
| 6927 | ><A |
| 6928 | NAME="XMLVALIDATENOTATIONUSE" |
| 6929 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 6930 | >xmlValidateNotationUse ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6931 | ><TABLE |
| 6932 | BORDER="0" |
| 6933 | BGCOLOR="#D6E8FF" |
| 6934 | WIDTH="100%" |
| 6935 | CELLPADDING="6" |
| 6936 | ><TR |
| 6937 | ><TD |
| 6938 | ><PRE |
| 6939 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6940 | >int xmlValidateNotationUse (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6941 | HREF="libxml-valid.html#XMLVALIDCTXTPTR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 6942 | >xmlValidCtxtPtr</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6943 | > ctxt, |
| 6944 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6945 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6946 | >xmlDocPtr</A |
| 6947 | > doc, |
| 6948 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 6949 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 6950 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6951 | > *notationName);</PRE |
| 6952 | ></TD |
| 6953 | ></TR |
| 6954 | ></TABLE |
| 6955 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 6956 | >Validate that the given name match a notation declaration. |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6957 | - [ VC: Notation Declared ]</P |
| 6958 | ><P |
| 6959 | ></P |
| 6960 | ><DIV |
| 6961 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6962 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 6963 | NAME="AEN10011" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6964 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6965 | ><P |
| 6966 | ></P |
| 6967 | ><TABLE |
| 6968 | BORDER="0" |
| 6969 | WIDTH="100%" |
| 6970 | BGCOLOR="#FFD0D0" |
| 6971 | CELLSPACING="0" |
| 6972 | CELLPADDING="4" |
| 6973 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 6974 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6975 | ><TR |
| 6976 | ><TD |
| 6977 | WIDTH="20%" |
| 6978 | ALIGN="RIGHT" |
| 6979 | VALIGN="TOP" |
| 6980 | ><TT |
| 6981 | CLASS="PARAMETER" |
| 6982 | ><I |
| 6983 | >ctxt</I |
| 6984 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 6985 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6986 | ><TD |
| 6987 | WIDTH="80%" |
| 6988 | ALIGN="LEFT" |
| 6989 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 6990 | > the validation context</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 6991 | ></TR |
| 6992 | ><TR |
| 6993 | ><TD |
| 6994 | WIDTH="20%" |
| 6995 | ALIGN="RIGHT" |
| 6996 | VALIGN="TOP" |
| 6997 | ><TT |
| 6998 | CLASS="PARAMETER" |
| 6999 | ><I |
| 7000 | >doc</I |
| 7001 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7002 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7003 | ><TD |
| 7004 | WIDTH="80%" |
| 7005 | ALIGN="LEFT" |
| 7006 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7007 | > the document</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7008 | ></TR |
| 7009 | ><TR |
| 7010 | ><TD |
| 7011 | WIDTH="20%" |
| 7012 | ALIGN="RIGHT" |
| 7013 | VALIGN="TOP" |
| 7014 | ><TT |
| 7015 | CLASS="PARAMETER" |
| 7016 | ><I |
| 7017 | >notationName</I |
| 7018 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7019 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7020 | ><TD |
| 7021 | WIDTH="80%" |
| 7022 | ALIGN="LEFT" |
| 7023 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7024 | > the notation name to check</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7025 | ></TR |
| 7026 | ><TR |
| 7027 | ><TD |
| 7028 | WIDTH="20%" |
| 7029 | ALIGN="RIGHT" |
| 7030 | VALIGN="TOP" |
| 7031 | ><I |
| 7032 | CLASS="EMPHASIS" |
| 7033 | >Returns</I |
| 7034 | > :</TD |
| 7035 | ><TD |
| 7036 | WIDTH="80%" |
| 7037 | ALIGN="LEFT" |
| 7038 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7039 | >1 if valid or 0 otherwise</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7040 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7041 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7042 | ></TABLE |
| 7043 | ><P |
| 7044 | ></P |
| 7045 | ></DIV |
| 7046 | ></DIV |
| 7047 | ><HR><DIV |
| 7048 | CLASS="REFSECT2" |
| 7049 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7050 | NAME="AEN10032" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7051 | ></A |
| 7052 | ><H3 |
| 7053 | ><A |
| 7054 | NAME="XMLISMIXEDELEMENT" |
| 7055 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7056 | >xmlIsMixedElement ()</H3 |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7057 | ><TABLE |
| 7058 | BORDER="0" |
| 7059 | BGCOLOR="#D6E8FF" |
| 7060 | WIDTH="100%" |
| 7061 | CELLPADDING="6" |
| 7062 | ><TR |
| 7063 | ><TD |
| 7064 | ><PRE |
| 7065 | CLASS="PROGRAMLISTING" |
| 7066 | >int xmlIsMixedElement (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7067 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7068 | >xmlDocPtr</A |
| 7069 | > doc, |
| 7070 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7071 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7072 | >xmlChar</A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7073 | > *name);</PRE |
| 7074 | ></TD |
| 7075 | ></TR |
| 7076 | ></TABLE |
| 7077 | ><P |
| 7078 | >Search in the DtDs whether an element accept Mixed content (or ANY) |
| 7079 | basically if it is supposed to accept text childs</P |
| 7080 | ><P |
| 7081 | ></P |
| 7082 | ><DIV |
| 7083 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7084 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7085 | NAME="AEN10040" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7086 | ></A |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7087 | ><P |
| 7088 | ></P |
| 7089 | ><TABLE |
| 7090 | BORDER="0" |
| 7091 | WIDTH="100%" |
| 7092 | BGCOLOR="#FFD0D0" |
| 7093 | CELLSPACING="0" |
| 7094 | CELLPADDING="4" |
| 7095 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7096 | ><TBODY |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7097 | ><TR |
| 7098 | ><TD |
| 7099 | WIDTH="20%" |
| 7100 | ALIGN="RIGHT" |
| 7101 | VALIGN="TOP" |
| 7102 | ><TT |
| 7103 | CLASS="PARAMETER" |
| 7104 | ><I |
| 7105 | >doc</I |
| 7106 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7107 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7108 | ><TD |
| 7109 | WIDTH="80%" |
| 7110 | ALIGN="LEFT" |
| 7111 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7112 | > the document</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7113 | ></TR |
| 7114 | ><TR |
| 7115 | ><TD |
| 7116 | WIDTH="20%" |
| 7117 | ALIGN="RIGHT" |
| 7118 | VALIGN="TOP" |
| 7119 | ><TT |
| 7120 | CLASS="PARAMETER" |
| 7121 | ><I |
| 7122 | >name</I |
| 7123 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7124 | > :</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7125 | ><TD |
| 7126 | WIDTH="80%" |
| 7127 | ALIGN="LEFT" |
| 7128 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7129 | > the element name</TD |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 7130 | ></TR |
| 7131 | ><TR |
| 7132 | ><TD |
| 7133 | WIDTH="20%" |
| 7134 | ALIGN="RIGHT" |
| 7135 | VALIGN="TOP" |
| 7136 | ><I |
| 7137 | CLASS="EMPHASIS" |
| 7138 | >Returns</I |
| 7139 | > :</TD |
| 7140 | ><TD |
| 7141 | WIDTH="80%" |
| 7142 | ALIGN="LEFT" |
| 7143 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7144 | >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] | 7145 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7146 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7147 | ></TABLE |
| 7148 | ><P |
| 7149 | ></P |
| 7150 | ></DIV |
| 7151 | ></DIV |
| 7152 | ><HR><DIV |
| 7153 | CLASS="REFSECT2" |
| 7154 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7155 | NAME="AEN10057" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7156 | ></A |
| 7157 | ><H3 |
| 7158 | ><A |
| 7159 | NAME="XMLGETDTDATTRDESC" |
| 7160 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7161 | >xmlGetDtdAttrDesc ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7162 | ><TABLE |
| 7163 | BORDER="0" |
| 7164 | BGCOLOR="#D6E8FF" |
| 7165 | WIDTH="100%" |
| 7166 | CELLPADDING="6" |
| 7167 | ><TR |
| 7168 | ><TD |
| 7169 | ><PRE |
| 7170 | CLASS="PROGRAMLISTING" |
| 7171 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7172 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7173 | >xmlAttributePtr</A |
| 7174 | > xmlGetDtdAttrDesc (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7175 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7176 | >xmlDtdPtr</A |
| 7177 | > dtd, |
| 7178 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7179 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7180 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7181 | > *elem, |
| 7182 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7183 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7184 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7185 | > *name);</PRE |
| 7186 | ></TD |
| 7187 | ></TR |
| 7188 | ></TABLE |
| 7189 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7190 | >Search the DTD for the description of this attribute on |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7191 | this element.</P |
| 7192 | ><P |
| 7193 | ></P |
| 7194 | ><DIV |
| 7195 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7196 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7197 | NAME="AEN10067" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7198 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7199 | ><P |
| 7200 | ></P |
| 7201 | ><TABLE |
| 7202 | BORDER="0" |
| 7203 | WIDTH="100%" |
| 7204 | BGCOLOR="#FFD0D0" |
| 7205 | CELLSPACING="0" |
| 7206 | CELLPADDING="4" |
| 7207 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7208 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7209 | ><TR |
| 7210 | ><TD |
| 7211 | WIDTH="20%" |
| 7212 | ALIGN="RIGHT" |
| 7213 | VALIGN="TOP" |
| 7214 | ><TT |
| 7215 | CLASS="PARAMETER" |
| 7216 | ><I |
| 7217 | >dtd</I |
| 7218 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7219 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7220 | ><TD |
| 7221 | WIDTH="80%" |
| 7222 | ALIGN="LEFT" |
| 7223 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7224 | > a pointer to the DtD to search</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7225 | ></TR |
| 7226 | ><TR |
| 7227 | ><TD |
| 7228 | WIDTH="20%" |
| 7229 | ALIGN="RIGHT" |
| 7230 | VALIGN="TOP" |
| 7231 | ><TT |
| 7232 | CLASS="PARAMETER" |
| 7233 | ><I |
| 7234 | >elem</I |
| 7235 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7236 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7237 | ><TD |
| 7238 | WIDTH="80%" |
| 7239 | ALIGN="LEFT" |
| 7240 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7241 | > the element name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7242 | ></TR |
| 7243 | ><TR |
| 7244 | ><TD |
| 7245 | WIDTH="20%" |
| 7246 | ALIGN="RIGHT" |
| 7247 | VALIGN="TOP" |
| 7248 | ><TT |
| 7249 | CLASS="PARAMETER" |
| 7250 | ><I |
| 7251 | >name</I |
| 7252 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7253 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7254 | ><TD |
| 7255 | WIDTH="80%" |
| 7256 | ALIGN="LEFT" |
| 7257 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7258 | > the attribute name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7259 | ></TR |
| 7260 | ><TR |
| 7261 | ><TD |
| 7262 | WIDTH="20%" |
| 7263 | ALIGN="RIGHT" |
| 7264 | VALIGN="TOP" |
| 7265 | ><I |
| 7266 | CLASS="EMPHASIS" |
| 7267 | >Returns</I |
| 7268 | > :</TD |
| 7269 | ><TD |
| 7270 | WIDTH="80%" |
| 7271 | ALIGN="LEFT" |
| 7272 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7273 | >the xmlAttributePtr if found or NULL</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7274 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7275 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7276 | ></TABLE |
| 7277 | ><P |
| 7278 | ></P |
| 7279 | ></DIV |
| 7280 | ></DIV |
| 7281 | ><HR><DIV |
| 7282 | CLASS="REFSECT2" |
| 7283 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7284 | NAME="AEN10088" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7285 | ></A |
| 7286 | ><H3 |
| 7287 | ><A |
| 7288 | NAME="XMLGETDTDQATTRDESC" |
| 7289 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7290 | >xmlGetDtdQAttrDesc ()</H3 |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7291 | ><TABLE |
| 7292 | BORDER="0" |
| 7293 | BGCOLOR="#D6E8FF" |
| 7294 | WIDTH="100%" |
| 7295 | CELLPADDING="6" |
| 7296 | ><TR |
| 7297 | ><TD |
| 7298 | ><PRE |
| 7299 | CLASS="PROGRAMLISTING" |
| 7300 | ><A |
| 7301 | HREF="libxml-tree.html#XMLATTRIBUTEPTR" |
| 7302 | >xmlAttributePtr</A |
| 7303 | > xmlGetDtdQAttrDesc (<A |
| 7304 | HREF="libxml-tree.html#XMLDTDPTR" |
| 7305 | >xmlDtdPtr</A |
| 7306 | > dtd, |
| 7307 | const <A |
| 7308 | HREF="libxml-tree.html#XMLCHAR" |
| 7309 | >xmlChar</A |
| 7310 | > *elem, |
| 7311 | const <A |
| 7312 | HREF="libxml-tree.html#XMLCHAR" |
| 7313 | >xmlChar</A |
| 7314 | > *name, |
| 7315 | const <A |
| 7316 | HREF="libxml-tree.html#XMLCHAR" |
| 7317 | >xmlChar</A |
| 7318 | > *prefix);</PRE |
| 7319 | ></TD |
| 7320 | ></TR |
| 7321 | ></TABLE |
| 7322 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7323 | >Search the DTD for the description of this qualified attribute on |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7324 | this element.</P |
| 7325 | ><P |
| 7326 | ></P |
| 7327 | ><DIV |
| 7328 | CLASS="INFORMALTABLE" |
| 7329 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7330 | NAME="AEN10099" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7331 | ></A |
| 7332 | ><P |
| 7333 | ></P |
| 7334 | ><TABLE |
| 7335 | BORDER="0" |
| 7336 | WIDTH="100%" |
| 7337 | BGCOLOR="#FFD0D0" |
| 7338 | CELLSPACING="0" |
| 7339 | CELLPADDING="4" |
| 7340 | CLASS="CALSTABLE" |
| 7341 | ><TBODY |
| 7342 | ><TR |
| 7343 | ><TD |
| 7344 | WIDTH="20%" |
| 7345 | ALIGN="RIGHT" |
| 7346 | VALIGN="TOP" |
| 7347 | ><TT |
| 7348 | CLASS="PARAMETER" |
| 7349 | ><I |
| 7350 | >dtd</I |
| 7351 | ></TT |
| 7352 | > :</TD |
| 7353 | ><TD |
| 7354 | WIDTH="80%" |
| 7355 | ALIGN="LEFT" |
| 7356 | VALIGN="TOP" |
| 7357 | > a pointer to the DtD to search</TD |
| 7358 | ></TR |
| 7359 | ><TR |
| 7360 | ><TD |
| 7361 | WIDTH="20%" |
| 7362 | ALIGN="RIGHT" |
| 7363 | VALIGN="TOP" |
| 7364 | ><TT |
| 7365 | CLASS="PARAMETER" |
| 7366 | ><I |
| 7367 | >elem</I |
| 7368 | ></TT |
| 7369 | > :</TD |
| 7370 | ><TD |
| 7371 | WIDTH="80%" |
| 7372 | ALIGN="LEFT" |
| 7373 | VALIGN="TOP" |
| 7374 | > the element name</TD |
| 7375 | ></TR |
| 7376 | ><TR |
| 7377 | ><TD |
| 7378 | WIDTH="20%" |
| 7379 | ALIGN="RIGHT" |
| 7380 | VALIGN="TOP" |
| 7381 | ><TT |
| 7382 | CLASS="PARAMETER" |
| 7383 | ><I |
| 7384 | >name</I |
| 7385 | ></TT |
| 7386 | > :</TD |
| 7387 | ><TD |
| 7388 | WIDTH="80%" |
| 7389 | ALIGN="LEFT" |
| 7390 | VALIGN="TOP" |
| 7391 | > the attribute name</TD |
| 7392 | ></TR |
| 7393 | ><TR |
| 7394 | ><TD |
| 7395 | WIDTH="20%" |
| 7396 | ALIGN="RIGHT" |
| 7397 | VALIGN="TOP" |
| 7398 | ><TT |
| 7399 | CLASS="PARAMETER" |
| 7400 | ><I |
| 7401 | >prefix</I |
| 7402 | ></TT |
| 7403 | > :</TD |
| 7404 | ><TD |
| 7405 | WIDTH="80%" |
| 7406 | ALIGN="LEFT" |
| 7407 | VALIGN="TOP" |
| 7408 | > the attribute namespace prefix</TD |
| 7409 | ></TR |
| 7410 | ><TR |
| 7411 | ><TD |
| 7412 | WIDTH="20%" |
| 7413 | ALIGN="RIGHT" |
| 7414 | VALIGN="TOP" |
| 7415 | ><I |
| 7416 | CLASS="EMPHASIS" |
| 7417 | >Returns</I |
| 7418 | > :</TD |
| 7419 | ><TD |
| 7420 | WIDTH="80%" |
| 7421 | ALIGN="LEFT" |
| 7422 | VALIGN="TOP" |
| 7423 | >the xmlAttributePtr if found or NULL</TD |
| 7424 | ></TR |
| 7425 | ></TBODY |
| 7426 | ></TABLE |
| 7427 | ><P |
| 7428 | ></P |
| 7429 | ></DIV |
| 7430 | ></DIV |
| 7431 | ><HR><DIV |
| 7432 | CLASS="REFSECT2" |
| 7433 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7434 | NAME="AEN10124" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7435 | ></A |
| 7436 | ><H3 |
| 7437 | ><A |
| 7438 | NAME="XMLGETDTDNOTATIONDESC" |
| 7439 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7440 | >xmlGetDtdNotationDesc ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7441 | ><TABLE |
| 7442 | BORDER="0" |
| 7443 | BGCOLOR="#D6E8FF" |
| 7444 | WIDTH="100%" |
| 7445 | CELLPADDING="6" |
| 7446 | ><TR |
| 7447 | ><TD |
| 7448 | ><PRE |
| 7449 | CLASS="PROGRAMLISTING" |
| 7450 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7451 | HREF="libxml-tree.html#XMLNOTATIONPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7452 | >xmlNotationPtr</A |
| 7453 | > xmlGetDtdNotationDesc (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7454 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7455 | >xmlDtdPtr</A |
| 7456 | > dtd, |
| 7457 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7458 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7459 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7460 | > *name);</PRE |
| 7461 | ></TD |
| 7462 | ></TR |
| 7463 | ></TABLE |
| 7464 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7465 | >Search the DTD for the description of this notation</P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7466 | ><P |
| 7467 | ></P |
| 7468 | ><DIV |
| 7469 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7470 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7471 | NAME="AEN10133" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7472 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7473 | ><P |
| 7474 | ></P |
| 7475 | ><TABLE |
| 7476 | BORDER="0" |
| 7477 | WIDTH="100%" |
| 7478 | BGCOLOR="#FFD0D0" |
| 7479 | CELLSPACING="0" |
| 7480 | CELLPADDING="4" |
| 7481 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7482 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7483 | ><TR |
| 7484 | ><TD |
| 7485 | WIDTH="20%" |
| 7486 | ALIGN="RIGHT" |
| 7487 | VALIGN="TOP" |
| 7488 | ><TT |
| 7489 | CLASS="PARAMETER" |
| 7490 | ><I |
| 7491 | >dtd</I |
| 7492 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7493 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7494 | ><TD |
| 7495 | WIDTH="80%" |
| 7496 | ALIGN="LEFT" |
| 7497 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7498 | > a pointer to the DtD to search</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7499 | ></TR |
| 7500 | ><TR |
| 7501 | ><TD |
| 7502 | WIDTH="20%" |
| 7503 | ALIGN="RIGHT" |
| 7504 | VALIGN="TOP" |
| 7505 | ><TT |
| 7506 | CLASS="PARAMETER" |
| 7507 | ><I |
| 7508 | >name</I |
| 7509 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7510 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7511 | ><TD |
| 7512 | WIDTH="80%" |
| 7513 | ALIGN="LEFT" |
| 7514 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7515 | > the notation name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7516 | ></TR |
| 7517 | ><TR |
| 7518 | ><TD |
| 7519 | WIDTH="20%" |
| 7520 | ALIGN="RIGHT" |
| 7521 | VALIGN="TOP" |
| 7522 | ><I |
| 7523 | CLASS="EMPHASIS" |
| 7524 | >Returns</I |
| 7525 | > :</TD |
| 7526 | ><TD |
| 7527 | WIDTH="80%" |
| 7528 | ALIGN="LEFT" |
| 7529 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7530 | >the xmlNotationPtr if found or NULL</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7531 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7532 | ></TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7533 | ></TABLE |
| 7534 | ><P |
| 7535 | ></P |
| 7536 | ></DIV |
| 7537 | ></DIV |
| 7538 | ><HR><DIV |
| 7539 | CLASS="REFSECT2" |
| 7540 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7541 | NAME="AEN10150" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7542 | ></A |
| 7543 | ><H3 |
| 7544 | ><A |
| 7545 | NAME="XMLGETDTDQELEMENTDESC" |
| 7546 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7547 | >xmlGetDtdQElementDesc ()</H3 |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7548 | ><TABLE |
| 7549 | BORDER="0" |
| 7550 | BGCOLOR="#D6E8FF" |
| 7551 | WIDTH="100%" |
| 7552 | CELLPADDING="6" |
| 7553 | ><TR |
| 7554 | ><TD |
| 7555 | ><PRE |
| 7556 | CLASS="PROGRAMLISTING" |
| 7557 | ><A |
| 7558 | HREF="libxml-tree.html#XMLELEMENTPTR" |
| 7559 | >xmlElementPtr</A |
| 7560 | > xmlGetDtdQElementDesc (<A |
| 7561 | HREF="libxml-tree.html#XMLDTDPTR" |
| 7562 | >xmlDtdPtr</A |
| 7563 | > dtd, |
| 7564 | const <A |
| 7565 | HREF="libxml-tree.html#XMLCHAR" |
| 7566 | >xmlChar</A |
| 7567 | > *name, |
| 7568 | const <A |
| 7569 | HREF="libxml-tree.html#XMLCHAR" |
| 7570 | >xmlChar</A |
| 7571 | > *prefix);</PRE |
| 7572 | ></TD |
| 7573 | ></TR |
| 7574 | ></TABLE |
| 7575 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7576 | >Search the DTD for the description of this element</P |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7577 | ><P |
| 7578 | ></P |
| 7579 | ><DIV |
| 7580 | CLASS="INFORMALTABLE" |
| 7581 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7582 | NAME="AEN10160" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 7583 | ></A |
| 7584 | ><P |
| 7585 | ></P |
| 7586 | ><TABLE |
| 7587 | BORDER="0" |
| 7588 | WIDTH="100%" |
| 7589 | BGCOLOR="#FFD0D0" |
| 7590 | CELLSPACING="0" |
| 7591 | CELLPADDING="4" |
| 7592 | CLASS="CALSTABLE" |
| 7593 | ><TBODY |
| 7594 | ><TR |
| 7595 | ><TD |
| 7596 | WIDTH="20%" |
| 7597 | ALIGN="RIGHT" |
| 7598 | VALIGN="TOP" |
| 7599 | ><TT |
| 7600 | CLASS="PARAMETER" |
| 7601 | ><I |
| 7602 | >dtd</I |
| 7603 | ></TT |
| 7604 | > :</TD |
| 7605 | ><TD |
| 7606 | WIDTH="80%" |
| 7607 | ALIGN="LEFT" |
| 7608 | VALIGN="TOP" |
| 7609 | > a pointer to the DtD to search</TD |
| 7610 | ></TR |
| 7611 | ><TR |
| 7612 | ><TD |
| 7613 | WIDTH="20%" |
| 7614 | ALIGN="RIGHT" |
| 7615 | VALIGN="TOP" |
| 7616 | ><TT |
| 7617 | CLASS="PARAMETER" |
| 7618 | ><I |
| 7619 | >name</I |
| 7620 | ></TT |
| 7621 | > :</TD |
| 7622 | ><TD |
| 7623 | WIDTH="80%" |
| 7624 | ALIGN="LEFT" |
| 7625 | VALIGN="TOP" |
| 7626 | > the element name</TD |
| 7627 | ></TR |
| 7628 | ><TR |
| 7629 | ><TD |
| 7630 | WIDTH="20%" |
| 7631 | ALIGN="RIGHT" |
| 7632 | VALIGN="TOP" |
| 7633 | ><TT |
| 7634 | CLASS="PARAMETER" |
| 7635 | ><I |
| 7636 | >prefix</I |
| 7637 | ></TT |
| 7638 | > :</TD |
| 7639 | ><TD |
| 7640 | WIDTH="80%" |
| 7641 | ALIGN="LEFT" |
| 7642 | VALIGN="TOP" |
| 7643 | > the element namespace prefix</TD |
| 7644 | ></TR |
| 7645 | ><TR |
| 7646 | ><TD |
| 7647 | WIDTH="20%" |
| 7648 | ALIGN="RIGHT" |
| 7649 | VALIGN="TOP" |
| 7650 | ><I |
| 7651 | CLASS="EMPHASIS" |
| 7652 | >Returns</I |
| 7653 | > :</TD |
| 7654 | ><TD |
| 7655 | WIDTH="80%" |
| 7656 | ALIGN="LEFT" |
| 7657 | VALIGN="TOP" |
| 7658 | >the xmlElementPtr if found or NULL</TD |
| 7659 | ></TR |
| 7660 | ></TBODY |
| 7661 | ></TABLE |
| 7662 | ><P |
| 7663 | ></P |
| 7664 | ></DIV |
| 7665 | ></DIV |
| 7666 | ><HR><DIV |
| 7667 | CLASS="REFSECT2" |
| 7668 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7669 | NAME="AEN10181" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7670 | ></A |
| 7671 | ><H3 |
| 7672 | ><A |
| 7673 | NAME="XMLGETDTDELEMENTDESC" |
| 7674 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7675 | >xmlGetDtdElementDesc ()</H3 |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7676 | ><TABLE |
| 7677 | BORDER="0" |
| 7678 | BGCOLOR="#D6E8FF" |
| 7679 | WIDTH="100%" |
| 7680 | CELLPADDING="6" |
| 7681 | ><TR |
| 7682 | ><TD |
| 7683 | ><PRE |
| 7684 | CLASS="PROGRAMLISTING" |
| 7685 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7686 | HREF="libxml-tree.html#XMLELEMENTPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7687 | >xmlElementPtr</A |
| 7688 | > xmlGetDtdElementDesc (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7689 | HREF="libxml-tree.html#XMLDTDPTR" |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7690 | >xmlDtdPtr</A |
| 7691 | > dtd, |
| 7692 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7693 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 7694 | >xmlChar</A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7695 | > *name);</PRE |
| 7696 | ></TD |
| 7697 | ></TR |
| 7698 | ></TABLE |
| 7699 | ><P |
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 7700 | >Search the DTD for the description of this element</P |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7701 | ><P |
| 7702 | ></P |
| 7703 | ><DIV |
| 7704 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7705 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7706 | NAME="AEN10190" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7707 | ></A |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7708 | ><P |
| 7709 | ></P |
| 7710 | ><TABLE |
| 7711 | BORDER="0" |
| 7712 | WIDTH="100%" |
| 7713 | BGCOLOR="#FFD0D0" |
| 7714 | CELLSPACING="0" |
| 7715 | CELLPADDING="4" |
| 7716 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7717 | ><TBODY |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7718 | ><TR |
| 7719 | ><TD |
| 7720 | WIDTH="20%" |
| 7721 | ALIGN="RIGHT" |
| 7722 | VALIGN="TOP" |
| 7723 | ><TT |
| 7724 | CLASS="PARAMETER" |
| 7725 | ><I |
| 7726 | >dtd</I |
| 7727 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7728 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7729 | ><TD |
| 7730 | WIDTH="80%" |
| 7731 | ALIGN="LEFT" |
| 7732 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7733 | > a pointer to the DtD to search</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7734 | ></TR |
| 7735 | ><TR |
| 7736 | ><TD |
| 7737 | WIDTH="20%" |
| 7738 | ALIGN="RIGHT" |
| 7739 | VALIGN="TOP" |
| 7740 | ><TT |
| 7741 | CLASS="PARAMETER" |
| 7742 | ><I |
| 7743 | >name</I |
| 7744 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7745 | > :</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7746 | ><TD |
| 7747 | WIDTH="80%" |
| 7748 | ALIGN="LEFT" |
| 7749 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7750 | > the element name</TD |
Daniel Veillard | 6bd26dc | 1999-09-03 14:28:40 +0000 | [diff] [blame] | 7751 | ></TR |
| 7752 | ><TR |
| 7753 | ><TD |
| 7754 | WIDTH="20%" |
| 7755 | ALIGN="RIGHT" |
| 7756 | VALIGN="TOP" |
| 7757 | ><I |
| 7758 | CLASS="EMPHASIS" |
| 7759 | >Returns</I |
| 7760 | > :</TD |
| 7761 | ><TD |
| 7762 | WIDTH="80%" |
| 7763 | ALIGN="LEFT" |
| 7764 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7765 | >the xmlElementPtr if found or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7766 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7767 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7768 | ></TABLE |
| 7769 | ><P |
| 7770 | ></P |
| 7771 | ></DIV |
| 7772 | ></DIV |
| 7773 | ><HR><DIV |
| 7774 | CLASS="REFSECT2" |
| 7775 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7776 | NAME="AEN10207" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7777 | ></A |
| 7778 | ><H3 |
| 7779 | ><A |
| 7780 | NAME="XMLVALIDGETVALIDELEMENTS" |
| 7781 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7782 | >xmlValidGetValidElements ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7783 | ><TABLE |
| 7784 | BORDER="0" |
| 7785 | BGCOLOR="#D6E8FF" |
| 7786 | WIDTH="100%" |
| 7787 | CELLPADDING="6" |
| 7788 | ><TR |
| 7789 | ><TD |
| 7790 | ><PRE |
| 7791 | CLASS="PROGRAMLISTING" |
| 7792 | >int xmlValidGetValidElements (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7793 | HREF="libxml-tree.html#XMLNODE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7794 | >xmlNode</A |
| 7795 | > *prev, |
| 7796 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7797 | HREF="libxml-tree.html#XMLNODE" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7798 | >xmlNode</A |
| 7799 | > *next, |
| 7800 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7801 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7802 | >xmlChar</A |
| 7803 | > **list, |
| 7804 | int max);</PRE |
| 7805 | ></TD |
| 7806 | ></TR |
| 7807 | ></TABLE |
| 7808 | ><P |
| 7809 | >This function returns the list of authorized children to insert |
| 7810 | within an existing tree while respecting the validity constraints |
| 7811 | forced by the Dtd. The insertion point is defined using <TT |
| 7812 | CLASS="PARAMETER" |
| 7813 | ><I |
| 7814 | >prev</I |
| 7815 | ></TT |
| 7816 | > and |
| 7817 | <TT |
| 7818 | CLASS="PARAMETER" |
| 7819 | ><I |
| 7820 | >next</I |
| 7821 | ></TT |
| 7822 | > in the following ways: |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7823 | to insert before 'node': xmlValidGetValidElements(node->prev, node, ... |
| 7824 | to insert next 'node': xmlValidGetValidElements(node, node->next, ... |
| 7825 | to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... |
| 7826 | to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, |
| 7827 | to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ...</P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7828 | ><P |
| 7829 | >pointers to the element names are inserted at the beginning of the array |
| 7830 | and do not need to be freed.</P |
| 7831 | ><P |
| 7832 | ></P |
| 7833 | ><DIV |
| 7834 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7835 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7836 | NAME="AEN10219" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7837 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7838 | ><P |
| 7839 | ></P |
| 7840 | ><TABLE |
| 7841 | BORDER="0" |
| 7842 | WIDTH="100%" |
| 7843 | BGCOLOR="#FFD0D0" |
| 7844 | CELLSPACING="0" |
| 7845 | CELLPADDING="4" |
| 7846 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7847 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7848 | ><TR |
| 7849 | ><TD |
| 7850 | WIDTH="20%" |
| 7851 | ALIGN="RIGHT" |
| 7852 | VALIGN="TOP" |
| 7853 | ><TT |
| 7854 | CLASS="PARAMETER" |
| 7855 | ><I |
| 7856 | >prev</I |
| 7857 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7858 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7859 | ><TD |
| 7860 | WIDTH="80%" |
| 7861 | ALIGN="LEFT" |
| 7862 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7863 | > an element to insert after</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7864 | ></TR |
| 7865 | ><TR |
| 7866 | ><TD |
| 7867 | WIDTH="20%" |
| 7868 | ALIGN="RIGHT" |
| 7869 | VALIGN="TOP" |
| 7870 | ><TT |
| 7871 | CLASS="PARAMETER" |
| 7872 | ><I |
| 7873 | >next</I |
| 7874 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7875 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7876 | ><TD |
| 7877 | WIDTH="80%" |
| 7878 | ALIGN="LEFT" |
| 7879 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7880 | > an element to insert next</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7881 | ></TR |
| 7882 | ><TR |
| 7883 | ><TD |
| 7884 | WIDTH="20%" |
| 7885 | ALIGN="RIGHT" |
| 7886 | VALIGN="TOP" |
| 7887 | ><TT |
| 7888 | CLASS="PARAMETER" |
| 7889 | ><I |
| 7890 | >list</I |
| 7891 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7892 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7893 | ><TD |
| 7894 | WIDTH="80%" |
| 7895 | ALIGN="LEFT" |
| 7896 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7897 | > an array to store the list of child names</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7898 | ></TR |
| 7899 | ><TR |
| 7900 | ><TD |
| 7901 | WIDTH="20%" |
| 7902 | ALIGN="RIGHT" |
| 7903 | VALIGN="TOP" |
| 7904 | ><TT |
| 7905 | CLASS="PARAMETER" |
| 7906 | ><I |
| 7907 | >max</I |
| 7908 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 7909 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7910 | ><TD |
| 7911 | WIDTH="80%" |
| 7912 | ALIGN="LEFT" |
| 7913 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7914 | > the size of the array</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7915 | ></TR |
| 7916 | ><TR |
| 7917 | ><TD |
| 7918 | WIDTH="20%" |
| 7919 | ALIGN="RIGHT" |
| 7920 | VALIGN="TOP" |
| 7921 | ><I |
| 7922 | CLASS="EMPHASIS" |
| 7923 | >Returns</I |
| 7924 | > :</TD |
| 7925 | ><TD |
| 7926 | WIDTH="80%" |
| 7927 | ALIGN="LEFT" |
| 7928 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7929 | >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] | 7930 | the function returns the value <TT |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 7931 | CLASS="PARAMETER" |
| 7932 | ><I |
| 7933 | >max</I |
| 7934 | ></TT |
| 7935 | > the caller is invited to grow the |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7936 | receiving array and retry.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7937 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7938 | ></TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7939 | ></TABLE |
| 7940 | ><P |
| 7941 | ></P |
| 7942 | ></DIV |
| 7943 | ></DIV |
| 7944 | ><HR><DIV |
| 7945 | CLASS="REFSECT2" |
| 7946 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7947 | NAME="AEN10245" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7948 | ></A |
| 7949 | ><H3 |
| 7950 | ><A |
| 7951 | NAME="XMLVALIDGETPOTENTIALCHILDREN" |
| 7952 | ></A |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 7953 | >xmlValidGetPotentialChildren ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7954 | ><TABLE |
| 7955 | BORDER="0" |
| 7956 | BGCOLOR="#D6E8FF" |
| 7957 | WIDTH="100%" |
| 7958 | CELLPADDING="6" |
| 7959 | ><TR |
| 7960 | ><TD |
| 7961 | ><PRE |
| 7962 | CLASS="PROGRAMLISTING" |
| 7963 | >int xmlValidGetPotentialChildren (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7964 | HREF="libxml-tree.html#XMLELEMENTCONTENT" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7965 | >xmlElementContent</A |
| 7966 | > *ctree, |
| 7967 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 7968 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7969 | >xmlChar</A |
| 7970 | > **list, |
| 7971 | int *len, |
| 7972 | int max);</PRE |
| 7973 | ></TD |
| 7974 | ></TR |
| 7975 | ></TABLE |
| 7976 | ><P |
| 7977 | >Build/extend a list of potential children allowed by the content tree</P |
| 7978 | ><P |
| 7979 | ></P |
| 7980 | ><DIV |
| 7981 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7982 | ><A |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 7983 | NAME="AEN10253" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7984 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7985 | ><P |
| 7986 | ></P |
| 7987 | ><TABLE |
| 7988 | BORDER="0" |
| 7989 | WIDTH="100%" |
| 7990 | BGCOLOR="#FFD0D0" |
| 7991 | CELLSPACING="0" |
| 7992 | CELLPADDING="4" |
| 7993 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 7994 | ><TBODY |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7995 | ><TR |
| 7996 | ><TD |
| 7997 | WIDTH="20%" |
| 7998 | ALIGN="RIGHT" |
| 7999 | VALIGN="TOP" |
| 8000 | ><TT |
| 8001 | CLASS="PARAMETER" |
| 8002 | ><I |
| 8003 | >ctree</I |
| 8004 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 8005 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8006 | ><TD |
| 8007 | WIDTH="80%" |
| 8008 | ALIGN="LEFT" |
| 8009 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8010 | > an element content tree</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8011 | ></TR |
| 8012 | ><TR |
| 8013 | ><TD |
| 8014 | WIDTH="20%" |
| 8015 | ALIGN="RIGHT" |
| 8016 | VALIGN="TOP" |
| 8017 | ><TT |
| 8018 | CLASS="PARAMETER" |
| 8019 | ><I |
| 8020 | >list</I |
| 8021 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 8022 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8023 | ><TD |
| 8024 | WIDTH="80%" |
| 8025 | ALIGN="LEFT" |
| 8026 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8027 | > an array to store the list of child names</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8028 | ></TR |
| 8029 | ><TR |
| 8030 | ><TD |
| 8031 | WIDTH="20%" |
| 8032 | ALIGN="RIGHT" |
| 8033 | VALIGN="TOP" |
| 8034 | ><TT |
| 8035 | CLASS="PARAMETER" |
| 8036 | ><I |
| 8037 | >len</I |
| 8038 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 8039 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8040 | ><TD |
| 8041 | WIDTH="80%" |
| 8042 | ALIGN="LEFT" |
| 8043 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8044 | > a pointer to the number of element in the list</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8045 | ></TR |
| 8046 | ><TR |
| 8047 | ><TD |
| 8048 | WIDTH="20%" |
| 8049 | ALIGN="RIGHT" |
| 8050 | VALIGN="TOP" |
| 8051 | ><TT |
| 8052 | CLASS="PARAMETER" |
| 8053 | ><I |
| 8054 | >max</I |
| 8055 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 8056 | > :</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8057 | ><TD |
| 8058 | WIDTH="80%" |
| 8059 | ALIGN="LEFT" |
| 8060 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8061 | > the size of the array</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 8062 | ></TR |
| 8063 | ><TR |
| 8064 | ><TD |
| 8065 | WIDTH="20%" |
| 8066 | ALIGN="RIGHT" |
| 8067 | VALIGN="TOP" |
| 8068 | ><I |
| 8069 | CLASS="EMPHASIS" |
| 8070 | >Returns</I |
| 8071 | > :</TD |
| 8072 | ><TD |
| 8073 | WIDTH="80%" |
| 8074 | ALIGN="LEFT" |
| 8075 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 8076 | >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] | 8077 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 8078 | ></TBODY |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8079 | ></TABLE |
| 8080 | ><P |
| 8081 | ></P |
| 8082 | ></DIV |
| 8083 | ></DIV |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame^] | 8084 | ><HR><DIV |
| 8085 | CLASS="REFSECT2" |
| 8086 | ><A |
| 8087 | NAME="AEN10278" |
| 8088 | ></A |
| 8089 | ><H3 |
| 8090 | ><A |
| 8091 | NAME="XMLVALIDATENAMEVALUE" |
| 8092 | ></A |
| 8093 | >xmlValidateNameValue ()</H3 |
| 8094 | ><TABLE |
| 8095 | BORDER="0" |
| 8096 | BGCOLOR="#D6E8FF" |
| 8097 | WIDTH="100%" |
| 8098 | CELLPADDING="6" |
| 8099 | ><TR |
| 8100 | ><TD |
| 8101 | ><PRE |
| 8102 | CLASS="PROGRAMLISTING" |
| 8103 | >int xmlValidateNameValue (const <A |
| 8104 | HREF="libxml-tree.html#XMLCHAR" |
| 8105 | >xmlChar</A |
| 8106 | > *value);</PRE |
| 8107 | ></TD |
| 8108 | ></TR |
| 8109 | ></TABLE |
| 8110 | ><P |
| 8111 | >Validate that the given value match Name production</P |
| 8112 | ><P |
| 8113 | ></P |
| 8114 | ><DIV |
| 8115 | CLASS="INFORMALTABLE" |
| 8116 | ><A |
| 8117 | NAME="AEN10285" |
| 8118 | ></A |
| 8119 | ><P |
| 8120 | ></P |
| 8121 | ><TABLE |
| 8122 | BORDER="0" |
| 8123 | WIDTH="100%" |
| 8124 | BGCOLOR="#FFD0D0" |
| 8125 | CELLSPACING="0" |
| 8126 | CELLPADDING="4" |
| 8127 | CLASS="CALSTABLE" |
| 8128 | ><TBODY |
| 8129 | ><TR |
| 8130 | ><TD |
| 8131 | WIDTH="20%" |
| 8132 | ALIGN="RIGHT" |
| 8133 | VALIGN="TOP" |
| 8134 | ><TT |
| 8135 | CLASS="PARAMETER" |
| 8136 | ><I |
| 8137 | >value</I |
| 8138 | ></TT |
| 8139 | > :</TD |
| 8140 | ><TD |
| 8141 | WIDTH="80%" |
| 8142 | ALIGN="LEFT" |
| 8143 | VALIGN="TOP" |
| 8144 | > an Name value</TD |
| 8145 | ></TR |
| 8146 | ><TR |
| 8147 | ><TD |
| 8148 | WIDTH="20%" |
| 8149 | ALIGN="RIGHT" |
| 8150 | VALIGN="TOP" |
| 8151 | ><I |
| 8152 | CLASS="EMPHASIS" |
| 8153 | >Returns</I |
| 8154 | > :</TD |
| 8155 | ><TD |
| 8156 | WIDTH="80%" |
| 8157 | ALIGN="LEFT" |
| 8158 | VALIGN="TOP" |
| 8159 | >1 if valid or 0 otherwise</TD |
| 8160 | ></TR |
| 8161 | ></TBODY |
| 8162 | ></TABLE |
| 8163 | ><P |
| 8164 | ></P |
| 8165 | ></DIV |
| 8166 | ></DIV |
| 8167 | ><HR><DIV |
| 8168 | CLASS="REFSECT2" |
| 8169 | ><A |
| 8170 | NAME="AEN10298" |
| 8171 | ></A |
| 8172 | ><H3 |
| 8173 | ><A |
| 8174 | NAME="XMLVALIDATENAMESVALUE" |
| 8175 | ></A |
| 8176 | >xmlValidateNamesValue ()</H3 |
| 8177 | ><TABLE |
| 8178 | BORDER="0" |
| 8179 | BGCOLOR="#D6E8FF" |
| 8180 | WIDTH="100%" |
| 8181 | CELLPADDING="6" |
| 8182 | ><TR |
| 8183 | ><TD |
| 8184 | ><PRE |
| 8185 | CLASS="PROGRAMLISTING" |
| 8186 | >int xmlValidateNamesValue (const <A |
| 8187 | HREF="libxml-tree.html#XMLCHAR" |
| 8188 | >xmlChar</A |
| 8189 | > *value);</PRE |
| 8190 | ></TD |
| 8191 | ></TR |
| 8192 | ></TABLE |
| 8193 | ><P |
| 8194 | >Validate that the given value match Names production</P |
| 8195 | ><P |
| 8196 | ></P |
| 8197 | ><DIV |
| 8198 | CLASS="INFORMALTABLE" |
| 8199 | ><A |
| 8200 | NAME="AEN10305" |
| 8201 | ></A |
| 8202 | ><P |
| 8203 | ></P |
| 8204 | ><TABLE |
| 8205 | BORDER="0" |
| 8206 | WIDTH="100%" |
| 8207 | BGCOLOR="#FFD0D0" |
| 8208 | CELLSPACING="0" |
| 8209 | CELLPADDING="4" |
| 8210 | CLASS="CALSTABLE" |
| 8211 | ><TBODY |
| 8212 | ><TR |
| 8213 | ><TD |
| 8214 | WIDTH="20%" |
| 8215 | ALIGN="RIGHT" |
| 8216 | VALIGN="TOP" |
| 8217 | ><TT |
| 8218 | CLASS="PARAMETER" |
| 8219 | ><I |
| 8220 | >value</I |
| 8221 | ></TT |
| 8222 | > :</TD |
| 8223 | ><TD |
| 8224 | WIDTH="80%" |
| 8225 | ALIGN="LEFT" |
| 8226 | VALIGN="TOP" |
| 8227 | > an Names value</TD |
| 8228 | ></TR |
| 8229 | ><TR |
| 8230 | ><TD |
| 8231 | WIDTH="20%" |
| 8232 | ALIGN="RIGHT" |
| 8233 | VALIGN="TOP" |
| 8234 | ><I |
| 8235 | CLASS="EMPHASIS" |
| 8236 | >Returns</I |
| 8237 | > :</TD |
| 8238 | ><TD |
| 8239 | WIDTH="80%" |
| 8240 | ALIGN="LEFT" |
| 8241 | VALIGN="TOP" |
| 8242 | >1 if valid or 0 otherwise</TD |
| 8243 | ></TR |
| 8244 | ></TBODY |
| 8245 | ></TABLE |
| 8246 | ><P |
| 8247 | ></P |
| 8248 | ></DIV |
| 8249 | ></DIV |
| 8250 | ><HR><DIV |
| 8251 | CLASS="REFSECT2" |
| 8252 | ><A |
| 8253 | NAME="AEN10318" |
| 8254 | ></A |
| 8255 | ><H3 |
| 8256 | ><A |
| 8257 | NAME="XMLVALIDATENMTOKENVALUE" |
| 8258 | ></A |
| 8259 | >xmlValidateNmtokenValue ()</H3 |
| 8260 | ><TABLE |
| 8261 | BORDER="0" |
| 8262 | BGCOLOR="#D6E8FF" |
| 8263 | WIDTH="100%" |
| 8264 | CELLPADDING="6" |
| 8265 | ><TR |
| 8266 | ><TD |
| 8267 | ><PRE |
| 8268 | CLASS="PROGRAMLISTING" |
| 8269 | >int xmlValidateNmtokenValue (const <A |
| 8270 | HREF="libxml-tree.html#XMLCHAR" |
| 8271 | >xmlChar</A |
| 8272 | > *value);</PRE |
| 8273 | ></TD |
| 8274 | ></TR |
| 8275 | ></TABLE |
| 8276 | ><P |
| 8277 | >Validate that the given value match Nmtoken production</P |
| 8278 | ><P |
| 8279 | >[ VC: Name Token ]</P |
| 8280 | ><P |
| 8281 | ></P |
| 8282 | ><DIV |
| 8283 | CLASS="INFORMALTABLE" |
| 8284 | ><A |
| 8285 | NAME="AEN10326" |
| 8286 | ></A |
| 8287 | ><P |
| 8288 | ></P |
| 8289 | ><TABLE |
| 8290 | BORDER="0" |
| 8291 | WIDTH="100%" |
| 8292 | BGCOLOR="#FFD0D0" |
| 8293 | CELLSPACING="0" |
| 8294 | CELLPADDING="4" |
| 8295 | CLASS="CALSTABLE" |
| 8296 | ><TBODY |
| 8297 | ><TR |
| 8298 | ><TD |
| 8299 | WIDTH="20%" |
| 8300 | ALIGN="RIGHT" |
| 8301 | VALIGN="TOP" |
| 8302 | ><TT |
| 8303 | CLASS="PARAMETER" |
| 8304 | ><I |
| 8305 | >value</I |
| 8306 | ></TT |
| 8307 | > :</TD |
| 8308 | ><TD |
| 8309 | WIDTH="80%" |
| 8310 | ALIGN="LEFT" |
| 8311 | VALIGN="TOP" |
| 8312 | > an Nmtoken value</TD |
| 8313 | ></TR |
| 8314 | ><TR |
| 8315 | ><TD |
| 8316 | WIDTH="20%" |
| 8317 | ALIGN="RIGHT" |
| 8318 | VALIGN="TOP" |
| 8319 | ><I |
| 8320 | CLASS="EMPHASIS" |
| 8321 | >Returns</I |
| 8322 | > :</TD |
| 8323 | ><TD |
| 8324 | WIDTH="80%" |
| 8325 | ALIGN="LEFT" |
| 8326 | VALIGN="TOP" |
| 8327 | >1 if valid or 0 otherwise</TD |
| 8328 | ></TR |
| 8329 | ></TBODY |
| 8330 | ></TABLE |
| 8331 | ><P |
| 8332 | ></P |
| 8333 | ></DIV |
| 8334 | ></DIV |
| 8335 | ><HR><DIV |
| 8336 | CLASS="REFSECT2" |
| 8337 | ><A |
| 8338 | NAME="AEN10339" |
| 8339 | ></A |
| 8340 | ><H3 |
| 8341 | ><A |
| 8342 | NAME="XMLVALIDATENMTOKENSVALUE" |
| 8343 | ></A |
| 8344 | >xmlValidateNmtokensValue ()</H3 |
| 8345 | ><TABLE |
| 8346 | BORDER="0" |
| 8347 | BGCOLOR="#D6E8FF" |
| 8348 | WIDTH="100%" |
| 8349 | CELLPADDING="6" |
| 8350 | ><TR |
| 8351 | ><TD |
| 8352 | ><PRE |
| 8353 | CLASS="PROGRAMLISTING" |
| 8354 | >int xmlValidateNmtokensValue (const <A |
| 8355 | HREF="libxml-tree.html#XMLCHAR" |
| 8356 | >xmlChar</A |
| 8357 | > *value);</PRE |
| 8358 | ></TD |
| 8359 | ></TR |
| 8360 | ></TABLE |
| 8361 | ><P |
| 8362 | >Validate that the given value match Nmtokens production</P |
| 8363 | ><P |
| 8364 | >[ VC: Name Token ]</P |
| 8365 | ><P |
| 8366 | ></P |
| 8367 | ><DIV |
| 8368 | CLASS="INFORMALTABLE" |
| 8369 | ><A |
| 8370 | NAME="AEN10347" |
| 8371 | ></A |
| 8372 | ><P |
| 8373 | ></P |
| 8374 | ><TABLE |
| 8375 | BORDER="0" |
| 8376 | WIDTH="100%" |
| 8377 | BGCOLOR="#FFD0D0" |
| 8378 | CELLSPACING="0" |
| 8379 | CELLPADDING="4" |
| 8380 | CLASS="CALSTABLE" |
| 8381 | ><TBODY |
| 8382 | ><TR |
| 8383 | ><TD |
| 8384 | WIDTH="20%" |
| 8385 | ALIGN="RIGHT" |
| 8386 | VALIGN="TOP" |
| 8387 | ><TT |
| 8388 | CLASS="PARAMETER" |
| 8389 | ><I |
| 8390 | >value</I |
| 8391 | ></TT |
| 8392 | > :</TD |
| 8393 | ><TD |
| 8394 | WIDTH="80%" |
| 8395 | ALIGN="LEFT" |
| 8396 | VALIGN="TOP" |
| 8397 | > an Nmtokens value</TD |
| 8398 | ></TR |
| 8399 | ><TR |
| 8400 | ><TD |
| 8401 | WIDTH="20%" |
| 8402 | ALIGN="RIGHT" |
| 8403 | VALIGN="TOP" |
| 8404 | ><I |
| 8405 | CLASS="EMPHASIS" |
| 8406 | >Returns</I |
| 8407 | > :</TD |
| 8408 | ><TD |
| 8409 | WIDTH="80%" |
| 8410 | ALIGN="LEFT" |
| 8411 | VALIGN="TOP" |
| 8412 | >1 if valid or 0 otherwise</TD |
| 8413 | ></TR |
| 8414 | ></TBODY |
| 8415 | ></TABLE |
| 8416 | ><P |
| 8417 | ></P |
| 8418 | ></DIV |
| 8419 | ></DIV |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8420 | ></DIV |
| 8421 | ><DIV |
| 8422 | CLASS="NAVFOOTER" |
Daniel Veillard | 00fdf37 | 1999-10-08 09:40:39 +0000 | [diff] [blame] | 8423 | ><BR |
| 8424 | CLEAR="all"><BR><TABLE |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8425 | WIDTH="100%" |
| 8426 | BORDER="0" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8427 | BGCOLOR="#000000" |
| 8428 | CELLPADDING="1" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8429 | CELLSPACING="0" |
| 8430 | ><TR |
| 8431 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8432 | WIDTH="25%" |
| 8433 | BGCOLOR="#C00000" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8434 | ALIGN="left" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8435 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8436 | HREF="libxml-entities.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8437 | ><FONT |
| 8438 | COLOR="#FFFFFF" |
| 8439 | SIZE="3" |
| 8440 | ><B |
| 8441 | ><<< Previous Page</B |
| 8442 | ></FONT |
| 8443 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8444 | ></TD |
| 8445 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8446 | WIDTH="25%" |
| 8447 | BGCOLOR="#0000C0" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8448 | ALIGN="center" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8449 | ><FONT |
| 8450 | COLOR="#FFFFFF" |
| 8451 | SIZE="3" |
| 8452 | ><B |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8453 | ><A |
| 8454 | HREF="book1.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8455 | ><FONT |
| 8456 | COLOR="#FFFFFF" |
| 8457 | SIZE="3" |
| 8458 | ><B |
| 8459 | >Home</B |
| 8460 | ></FONT |
| 8461 | ></A |
| 8462 | ></B |
| 8463 | ></FONT |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8464 | ></TD |
| 8465 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8466 | WIDTH="25%" |
| 8467 | BGCOLOR="#00C000" |
| 8468 | ALIGN="center" |
| 8469 | ><FONT |
| 8470 | COLOR="#FFFFFF" |
| 8471 | SIZE="3" |
| 8472 | ><B |
| 8473 | ><A |
Daniel Veillard | 3500838 | 1999-10-25 13:15:52 +0000 | [diff] [blame] | 8474 | HREF="libxml-lib.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8475 | ><FONT |
| 8476 | COLOR="#FFFFFF" |
| 8477 | SIZE="3" |
| 8478 | ><B |
| 8479 | >Up</B |
| 8480 | ></FONT |
| 8481 | ></A |
| 8482 | ></B |
| 8483 | ></FONT |
| 8484 | ></TD |
| 8485 | ><TD |
| 8486 | WIDTH="25%" |
| 8487 | BGCOLOR="#C00000" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8488 | ALIGN="right" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8489 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 8490 | HREF="libxml-uri.html" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8491 | ><FONT |
| 8492 | COLOR="#FFFFFF" |
| 8493 | SIZE="3" |
| 8494 | ><B |
| 8495 | >Next Page >>></B |
| 8496 | ></FONT |
| 8497 | ></A |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8498 | ></TD |
| 8499 | ></TR |
| 8500 | ><TR |
| 8501 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8502 | COLSPAN="2" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8503 | ALIGN="left" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8504 | ><FONT |
| 8505 | COLOR="#FFFFFF" |
| 8506 | SIZE="3" |
| 8507 | ><B |
| 8508 | >entities</B |
| 8509 | ></FONT |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8510 | ></TD |
| 8511 | ><TD |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8512 | COLSPAN="2" |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8513 | ALIGN="right" |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8514 | ><FONT |
| 8515 | COLOR="#FFFFFF" |
| 8516 | SIZE="3" |
| 8517 | ><B |
Daniel Veillard | 8f62198 | 2000-03-20 13:07:15 +0000 | [diff] [blame] | 8518 | >uri</B |
Daniel Veillard | 14fff06 | 1999-06-22 21:49:07 +0000 | [diff] [blame] | 8519 | ></FONT |
| 8520 | ></TD |
Daniel Veillard | 3592547 | 1999-02-25 08:46:07 +0000 | [diff] [blame] | 8521 | ></TR |
| 8522 | ></TABLE |
| 8523 | ></DIV |
| 8524 | ></BODY |
| 8525 | ></HTML |
| 8526 | > |