Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1 | <HTML |
| 2 | ><HEAD |
| 3 | ><TITLE |
| 4 | >xmlIO</TITLE |
| 5 | ><META |
| 6 | NAME="GENERATOR" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 8 | REL="HOME" |
| 9 | TITLE="Gnome XML Library Reference Manual" |
| 10 | HREF="book1.html"><LINK |
| 11 | REL="UP" |
| 12 | TITLE="Libxml Library Reference" |
| 13 | HREF="libxml-lib.html"><LINK |
| 14 | REL="PREVIOUS" |
| 15 | TITLE="nanoftp" |
| 16 | HREF="gnome-xml-nanoftp.html"><LINK |
| 17 | REL="NEXT" |
| 18 | TITLE="parserInternals" |
| 19 | HREF="gnome-xml-parserinternals.html"></HEAD |
| 20 | ><BODY |
| 21 | BGCOLOR="#FFFFFF" |
| 22 | TEXT="#000000" |
| 23 | ><DIV |
| 24 | CLASS="NAVHEADER" |
| 25 | ><TABLE |
| 26 | WIDTH="100%" |
| 27 | BORDER="0" |
| 28 | BGCOLOR="#000000" |
| 29 | CELLPADDING="1" |
| 30 | CELLSPACING="0" |
| 31 | ><TR |
| 32 | ><TH |
| 33 | COLSPAN="4" |
| 34 | ALIGN="center" |
| 35 | ><FONT |
| 36 | COLOR="#FFFFFF" |
| 37 | SIZE="5" |
| 38 | >Gnome XML Library Reference Manual</FONT |
| 39 | ></TH |
| 40 | ></TR |
| 41 | ><TR |
| 42 | ><TD |
| 43 | WIDTH="25%" |
| 44 | BGCOLOR="#C00000" |
| 45 | ALIGN="left" |
| 46 | ><A |
| 47 | HREF="gnome-xml-nanoftp.html" |
| 48 | ><FONT |
| 49 | COLOR="#FFFFFF" |
| 50 | SIZE="3" |
| 51 | ><B |
| 52 | ><<< Previous Page</B |
| 53 | ></FONT |
| 54 | ></A |
| 55 | ></TD |
| 56 | ><TD |
| 57 | WIDTH="25%" |
| 58 | BGCOLOR="#0000C0" |
| 59 | ALIGN="center" |
| 60 | ><FONT |
| 61 | COLOR="#FFFFFF" |
| 62 | SIZE="3" |
| 63 | ><B |
| 64 | ><A |
| 65 | HREF="book1.html" |
| 66 | ><FONT |
| 67 | COLOR="#FFFFFF" |
| 68 | SIZE="3" |
| 69 | ><B |
| 70 | >Home</B |
| 71 | ></FONT |
| 72 | ></A |
| 73 | ></B |
| 74 | ></FONT |
| 75 | ></TD |
| 76 | ><TD |
| 77 | WIDTH="25%" |
| 78 | BGCOLOR="#00C000" |
| 79 | ALIGN="center" |
| 80 | ><FONT |
| 81 | COLOR="#FFFFFF" |
| 82 | SIZE="3" |
| 83 | ><B |
| 84 | ><A |
| 85 | HREF="libxml-lib.html" |
| 86 | ><FONT |
| 87 | COLOR="#FFFFFF" |
| 88 | SIZE="3" |
| 89 | ><B |
| 90 | >Up</B |
| 91 | ></FONT |
| 92 | ></A |
| 93 | ></B |
| 94 | ></FONT |
| 95 | ></TD |
| 96 | ><TD |
| 97 | WIDTH="25%" |
| 98 | BGCOLOR="#C00000" |
| 99 | ALIGN="right" |
| 100 | ><A |
| 101 | HREF="gnome-xml-parserinternals.html" |
| 102 | ><FONT |
| 103 | COLOR="#FFFFFF" |
| 104 | SIZE="3" |
| 105 | ><B |
| 106 | >Next Page >>></B |
| 107 | ></FONT |
| 108 | ></A |
| 109 | ></TD |
| 110 | ></TR |
| 111 | ></TABLE |
| 112 | ></DIV |
| 113 | ><H1 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 114 | >xmlIO</H1 |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 115 | ><DIV |
| 116 | CLASS="REFNAMEDIV" |
| 117 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 118 | NAME="AEN13952" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 119 | ></A |
| 120 | ><H2 |
| 121 | >Name</H2 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 122 | >xmlIO — </DIV |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 123 | ><DIV |
| 124 | CLASS="REFSYNOPSISDIV" |
| 125 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 126 | NAME="AEN13955" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 127 | ></A |
| 128 | ><H2 |
| 129 | >Synopsis</H2 |
| 130 | ><TABLE |
| 131 | BORDER="0" |
| 132 | BGCOLOR="#D6E8FF" |
| 133 | WIDTH="100%" |
| 134 | CELLPADDING="6" |
| 135 | ><TR |
| 136 | ><TD |
| 137 | ><PRE |
| 138 | CLASS="SYNOPSIS" |
| 139 | > |
| 140 | |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 141 | int (<A |
| 142 | HREF="gnome-xml-xmlio.html#XMLINPUTMATCHCALLBACK" |
| 143 | >*xmlInputMatchCallback</A |
| 144 | >) (char const *filename); |
| 145 | void* (<A |
| 146 | HREF="gnome-xml-xmlio.html#XMLINPUTOPENCALLBACK" |
| 147 | >*xmlInputOpenCallback</A |
| 148 | >) (char const *filename); |
| 149 | int (<A |
| 150 | HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK" |
| 151 | >*xmlInputReadCallback</A |
| 152 | >) (void *context, |
| 153 | char *buffer, |
| 154 | int len); |
| 155 | void (<A |
| 156 | HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK" |
| 157 | >*xmlInputCloseCallback</A |
| 158 | >) (void *context); |
| 159 | struct <A |
| 160 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFER" |
| 161 | >xmlParserInputBuffer</A |
| 162 | >; |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 163 | typedef <A |
| 164 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 165 | >xmlParserInputBufferPtr</A |
| 166 | >; |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 167 | int (<A |
| 168 | HREF="gnome-xml-xmlio.html#XMLOUTPUTMATCHCALLBACK" |
| 169 | >*xmlOutputMatchCallback</A |
| 170 | >) (char const *filename); |
| 171 | void* (<A |
| 172 | HREF="gnome-xml-xmlio.html#XMLOUTPUTOPENCALLBACK" |
| 173 | >*xmlOutputOpenCallback</A |
| 174 | >) (char const *filename); |
| 175 | int (<A |
| 176 | HREF="gnome-xml-xmlio.html#XMLOUTPUTWRITECALLBACK" |
| 177 | >*xmlOutputWriteCallback</A |
| 178 | >) (void *context, |
| 179 | const char *buffer, |
| 180 | int len); |
| 181 | void (<A |
| 182 | HREF="gnome-xml-xmlio.html#XMLOUTPUTCLOSECALLBACK" |
| 183 | >*xmlOutputCloseCallback</A |
| 184 | >) (void *context); |
| 185 | struct <A |
| 186 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFER" |
| 187 | >xmlOutputBuffer</A |
| 188 | >; |
| 189 | typedef <A |
| 190 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 191 | >xmlOutputBufferPtr</A |
| 192 | >; |
Daniel Veillard | 7e99c63 | 2000-10-06 12:59:53 +0000 | [diff] [blame] | 193 | void <A |
| 194 | HREF="gnome-xml-xmlio.html#XMLREGISTERDEFAULTINPUTCALLBACKS" |
| 195 | >xmlRegisterDefaultInputCallbacks</A |
| 196 | > |
| 197 | (void); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 198 | <A |
| 199 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 200 | >xmlParserInputBufferPtr</A |
| 201 | > <A |
| 202 | HREF="gnome-xml-xmlio.html#XMLALLOCPARSERINPUTBUFFER" |
| 203 | >xmlAllocParserInputBuffer</A |
| 204 | > |
| 205 | (<A |
| 206 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 207 | >xmlCharEncoding</A |
| 208 | > enc); |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 209 | <A |
| 210 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 211 | >xmlParserInputBufferPtr</A |
| 212 | > <A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 213 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEFNAME" |
| 214 | >xmlParserInputBufferCreateFname</A |
| 215 | > |
| 216 | (const char *URI, |
| 217 | <A |
| 218 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 219 | >xmlCharEncoding</A |
| 220 | > enc); |
| 221 | <A |
| 222 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 223 | >xmlParserInputBufferPtr</A |
| 224 | > <A |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 225 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEFILENAME" |
| 226 | >xmlParserInputBufferCreateFilename</A |
| 227 | > |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 228 | (const char *URI, |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 229 | <A |
| 230 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 231 | >xmlCharEncoding</A |
| 232 | > enc); |
| 233 | <A |
| 234 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 235 | >xmlParserInputBufferPtr</A |
| 236 | > <A |
| 237 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEFILE" |
| 238 | >xmlParserInputBufferCreateFile</A |
| 239 | > |
| 240 | (<GTKDOCLINK |
| 241 | HREF="FILE" |
| 242 | >FILE</GTKDOCLINK |
| 243 | > *file, |
| 244 | <A |
| 245 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 246 | >xmlCharEncoding</A |
| 247 | > enc); |
| 248 | <A |
| 249 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 250 | >xmlParserInputBufferPtr</A |
| 251 | > <A |
| 252 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEFD" |
| 253 | >xmlParserInputBufferCreateFd</A |
| 254 | > |
| 255 | (int fd, |
| 256 | <A |
| 257 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 258 | >xmlCharEncoding</A |
| 259 | > enc); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 260 | <A |
| 261 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 262 | >xmlParserInputBufferPtr</A |
| 263 | > <A |
Daniel Veillard | 7c29ce2 | 2000-08-12 21:20:53 +0000 | [diff] [blame] | 264 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEMEM" |
| 265 | >xmlParserInputBufferCreateMem</A |
| 266 | > |
| 267 | (const char *mem, |
| 268 | int size, |
| 269 | <A |
| 270 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 271 | >xmlCharEncoding</A |
| 272 | > enc); |
| 273 | <A |
| 274 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 275 | >xmlParserInputBufferPtr</A |
| 276 | > <A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 277 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEIO" |
| 278 | >xmlParserInputBufferCreateIO</A |
| 279 | > |
| 280 | (<A |
| 281 | HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK" |
| 282 | >xmlInputReadCallback</A |
| 283 | > ioread, |
| 284 | <A |
| 285 | HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK" |
| 286 | >xmlInputCloseCallback</A |
| 287 | > ioclose, |
| 288 | void *ioctx, |
| 289 | <A |
| 290 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 291 | >xmlCharEncoding</A |
| 292 | > enc); |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 293 | int <A |
| 294 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERREAD" |
| 295 | >xmlParserInputBufferRead</A |
| 296 | > (<A |
| 297 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 298 | >xmlParserInputBufferPtr</A |
| 299 | > in, |
| 300 | int len); |
| 301 | int <A |
| 302 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERGROW" |
| 303 | >xmlParserInputBufferGrow</A |
| 304 | > (<A |
| 305 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 306 | >xmlParserInputBufferPtr</A |
| 307 | > in, |
| 308 | int len); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 309 | int <A |
| 310 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPUSH" |
| 311 | >xmlParserInputBufferPush</A |
| 312 | > (<A |
| 313 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 314 | >xmlParserInputBufferPtr</A |
| 315 | > in, |
| 316 | int len, |
| 317 | const char *buf); |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 318 | void <A |
| 319 | HREF="gnome-xml-xmlio.html#XMLFREEPARSERINPUTBUFFER" |
| 320 | >xmlFreeParserInputBuffer</A |
| 321 | > (<A |
| 322 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 323 | >xmlParserInputBufferPtr</A |
| 324 | > in); |
| 325 | char* <A |
| 326 | HREF="gnome-xml-xmlio.html#XMLPARSERGETDIRECTORY" |
| 327 | >xmlParserGetDirectory</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 328 | > (const char *filename); |
| 329 | int <A |
| 330 | HREF="gnome-xml-xmlio.html#XMLREGISTERINPUTCALLBACKS" |
| 331 | >xmlRegisterInputCallbacks</A |
| 332 | > (<A |
| 333 | HREF="gnome-xml-xmlio.html#XMLINPUTMATCHCALLBACK" |
| 334 | >xmlInputMatchCallback</A |
| 335 | > match, |
| 336 | <A |
| 337 | HREF="gnome-xml-xmlio.html#XMLINPUTOPENCALLBACK" |
| 338 | >xmlInputOpenCallback</A |
| 339 | > open, |
| 340 | <A |
| 341 | HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK" |
| 342 | >xmlInputReadCallback</A |
| 343 | > read, |
| 344 | <A |
| 345 | HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK" |
| 346 | >xmlInputCloseCallback</A |
| 347 | > close); |
Daniel Veillard | 7e99c63 | 2000-10-06 12:59:53 +0000 | [diff] [blame] | 348 | void <A |
| 349 | HREF="gnome-xml-xmlio.html#XMLREGISTERDEFAULTOUTPUTCALLBACKS" |
| 350 | >xmlRegisterDefaultOutputCallbacks</A |
| 351 | > |
| 352 | (void); |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 353 | <A |
| 354 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 355 | >xmlOutputBufferPtr</A |
| 356 | > <A |
| 357 | HREF="gnome-xml-xmlio.html#XMLALLOCOUTPUTBUFFER" |
| 358 | >xmlAllocOutputBuffer</A |
| 359 | > (<A |
| 360 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 361 | >xmlCharEncodingHandlerPtr</A |
| 362 | > encoder); |
| 363 | <A |
| 364 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 365 | >xmlOutputBufferPtr</A |
| 366 | > <A |
| 367 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERCREATEFILENAME" |
| 368 | >xmlOutputBufferCreateFilename</A |
| 369 | > |
| 370 | (const char *URI, |
| 371 | <A |
| 372 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 373 | >xmlCharEncodingHandlerPtr</A |
| 374 | > encoder, |
| 375 | int compression); |
| 376 | <A |
| 377 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 378 | >xmlOutputBufferPtr</A |
| 379 | > <A |
| 380 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERCREATEFILE" |
| 381 | >xmlOutputBufferCreateFile</A |
| 382 | > |
| 383 | (<GTKDOCLINK |
| 384 | HREF="FILE" |
| 385 | >FILE</GTKDOCLINK |
| 386 | > *file, |
| 387 | <A |
| 388 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 389 | >xmlCharEncodingHandlerPtr</A |
| 390 | > encoder); |
| 391 | <A |
| 392 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 393 | >xmlOutputBufferPtr</A |
| 394 | > <A |
| 395 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERCREATEFD" |
| 396 | >xmlOutputBufferCreateFd</A |
| 397 | > (int fd, |
| 398 | <A |
| 399 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 400 | >xmlCharEncodingHandlerPtr</A |
| 401 | > encoder); |
| 402 | <A |
| 403 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 404 | >xmlOutputBufferPtr</A |
| 405 | > <A |
| 406 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERCREATEIO" |
| 407 | >xmlOutputBufferCreateIO</A |
| 408 | > (<A |
| 409 | HREF="gnome-xml-xmlio.html#XMLOUTPUTWRITECALLBACK" |
| 410 | >xmlOutputWriteCallback</A |
| 411 | > iowrite, |
| 412 | <A |
| 413 | HREF="gnome-xml-xmlio.html#XMLOUTPUTCLOSECALLBACK" |
| 414 | >xmlOutputCloseCallback</A |
| 415 | > ioclose, |
| 416 | void *ioctx, |
| 417 | <A |
| 418 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 419 | >xmlCharEncodingHandlerPtr</A |
| 420 | > encoder); |
| 421 | int <A |
| 422 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERWRITE" |
| 423 | >xmlOutputBufferWrite</A |
| 424 | > (<A |
| 425 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 426 | >xmlOutputBufferPtr</A |
| 427 | > out, |
| 428 | int len, |
| 429 | const char *buf); |
| 430 | int <A |
| 431 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERWRITESTRING" |
| 432 | >xmlOutputBufferWriteString</A |
| 433 | > (<A |
| 434 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 435 | >xmlOutputBufferPtr</A |
| 436 | > out, |
| 437 | const char *str); |
| 438 | int <A |
| 439 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERFLUSH" |
| 440 | >xmlOutputBufferFlush</A |
| 441 | > (<A |
| 442 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 443 | >xmlOutputBufferPtr</A |
| 444 | > out); |
| 445 | int <A |
| 446 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERCLOSE" |
| 447 | >xmlOutputBufferClose</A |
| 448 | > (<A |
| 449 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 450 | >xmlOutputBufferPtr</A |
| 451 | > out); |
| 452 | int <A |
| 453 | HREF="gnome-xml-xmlio.html#XMLREGISTEROUTPUTCALLBACKS" |
| 454 | >xmlRegisterOutputCallbacks</A |
| 455 | > (<A |
| 456 | HREF="gnome-xml-xmlio.html#XMLOUTPUTMATCHCALLBACK" |
| 457 | >xmlOutputMatchCallback</A |
| 458 | > match, |
| 459 | <A |
| 460 | HREF="gnome-xml-xmlio.html#XMLOUTPUTOPENCALLBACK" |
| 461 | >xmlOutputOpenCallback</A |
| 462 | > open, |
| 463 | <A |
| 464 | HREF="gnome-xml-xmlio.html#XMLOUTPUTWRITECALLBACK" |
| 465 | >xmlOutputWriteCallback</A |
| 466 | > write, |
| 467 | <A |
| 468 | HREF="gnome-xml-xmlio.html#XMLOUTPUTCLOSECALLBACK" |
| 469 | >xmlOutputCloseCallback</A |
| 470 | > close); |
| 471 | int <A |
| 472 | HREF="gnome-xml-xmlio.html#XMLSAVEFILETO" |
| 473 | >xmlSaveFileTo</A |
| 474 | > (<A |
| 475 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFER" |
| 476 | >xmlOutputBuffer</A |
| 477 | > *buf, |
| 478 | <A |
| 479 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 480 | >xmlDocPtr</A |
| 481 | > cur, |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 482 | const char *encoding); |
| 483 | void <A |
| 484 | HREF="gnome-xml-xmlio.html#XMLNODEDUMPOUTPUT" |
| 485 | >xmlNodeDumpOutput</A |
| 486 | > (<A |
| 487 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 488 | >xmlOutputBufferPtr</A |
| 489 | > buf, |
| 490 | <A |
| 491 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 492 | >xmlDocPtr</A |
| 493 | > doc, |
| 494 | <A |
| 495 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 496 | >xmlNodePtr</A |
| 497 | > cur, |
| 498 | int level, |
| 499 | int format, |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 500 | const char *encoding);</PRE |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 501 | ></TD |
| 502 | ></TR |
| 503 | ></TABLE |
| 504 | ></DIV |
| 505 | ><DIV |
| 506 | CLASS="REFSECT1" |
| 507 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 508 | NAME="AEN14048" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 509 | ></A |
| 510 | ><H2 |
| 511 | >Description</H2 |
| 512 | ><P |
| 513 | ></P |
| 514 | ></DIV |
| 515 | ><DIV |
| 516 | CLASS="REFSECT1" |
| 517 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 518 | NAME="AEN14051" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 519 | ></A |
| 520 | ><H2 |
| 521 | >Details</H2 |
| 522 | ><DIV |
| 523 | CLASS="REFSECT2" |
| 524 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 525 | NAME="AEN14053" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 526 | ></A |
| 527 | ><H3 |
| 528 | ><A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 529 | NAME="XMLINPUTMATCHCALLBACK" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 530 | ></A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 531 | >xmlInputMatchCallback ()</H3 |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 532 | ><TABLE |
| 533 | BORDER="0" |
| 534 | BGCOLOR="#D6E8FF" |
| 535 | WIDTH="100%" |
| 536 | CELLPADDING="6" |
| 537 | ><TR |
| 538 | ><TD |
| 539 | ><PRE |
| 540 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 541 | >int (*xmlInputMatchCallback) (char const *filename);</PRE |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 542 | ></TD |
| 543 | ></TR |
| 544 | ></TABLE |
| 545 | ><P |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 546 | ></P |
| 547 | ><DIV |
| 548 | CLASS="INFORMALTABLE" |
| 549 | ><P |
| 550 | ></P |
| 551 | ><TABLE |
| 552 | BORDER="0" |
| 553 | WIDTH="100%" |
| 554 | BGCOLOR="#FFD0D0" |
| 555 | CELLSPACING="0" |
| 556 | CELLPADDING="4" |
| 557 | CLASS="CALSTABLE" |
| 558 | ><TR |
| 559 | ><TD |
| 560 | WIDTH="20%" |
| 561 | ALIGN="RIGHT" |
| 562 | VALIGN="TOP" |
| 563 | ><TT |
| 564 | CLASS="PARAMETER" |
| 565 | ><I |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 566 | >filename</I |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 567 | ></TT |
| 568 | > :</TD |
| 569 | ><TD |
| 570 | WIDTH="80%" |
| 571 | ALIGN="LEFT" |
| 572 | VALIGN="TOP" |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 573 | > </TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 574 | ></TR |
| 575 | ><TR |
| 576 | ><TD |
| 577 | WIDTH="20%" |
| 578 | ALIGN="RIGHT" |
| 579 | VALIGN="TOP" |
| 580 | ><I |
| 581 | CLASS="EMPHASIS" |
| 582 | >Returns</I |
| 583 | > :</TD |
| 584 | ><TD |
| 585 | WIDTH="80%" |
| 586 | ALIGN="LEFT" |
| 587 | VALIGN="TOP" |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 588 | > </TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 589 | ></TR |
| 590 | ></TABLE |
| 591 | ><P |
| 592 | ></P |
| 593 | ></DIV |
| 594 | ></DIV |
| 595 | ><HR><DIV |
| 596 | CLASS="REFSECT2" |
| 597 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 598 | NAME="AEN14071" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 599 | ></A |
| 600 | ><H3 |
| 601 | ><A |
| 602 | NAME="XMLINPUTOPENCALLBACK" |
| 603 | ></A |
| 604 | >xmlInputOpenCallback ()</H3 |
| 605 | ><TABLE |
| 606 | BORDER="0" |
| 607 | BGCOLOR="#D6E8FF" |
| 608 | WIDTH="100%" |
| 609 | CELLPADDING="6" |
| 610 | ><TR |
| 611 | ><TD |
| 612 | ><PRE |
| 613 | CLASS="PROGRAMLISTING" |
| 614 | >void* (*xmlInputOpenCallback) (char const *filename);</PRE |
| 615 | ></TD |
| 616 | ></TR |
| 617 | ></TABLE |
| 618 | ><P |
| 619 | ></P |
| 620 | ><DIV |
| 621 | CLASS="INFORMALTABLE" |
| 622 | ><P |
| 623 | ></P |
| 624 | ><TABLE |
| 625 | BORDER="0" |
| 626 | WIDTH="100%" |
| 627 | BGCOLOR="#FFD0D0" |
| 628 | CELLSPACING="0" |
| 629 | CELLPADDING="4" |
| 630 | CLASS="CALSTABLE" |
| 631 | ><TR |
| 632 | ><TD |
| 633 | WIDTH="20%" |
| 634 | ALIGN="RIGHT" |
| 635 | VALIGN="TOP" |
| 636 | ><TT |
| 637 | CLASS="PARAMETER" |
| 638 | ><I |
| 639 | >filename</I |
| 640 | ></TT |
| 641 | > :</TD |
| 642 | ><TD |
| 643 | WIDTH="80%" |
| 644 | ALIGN="LEFT" |
| 645 | VALIGN="TOP" |
| 646 | > </TD |
| 647 | ></TR |
| 648 | ></TABLE |
| 649 | ><P |
| 650 | ></P |
| 651 | ></DIV |
| 652 | ></DIV |
| 653 | ><HR><DIV |
| 654 | CLASS="REFSECT2" |
| 655 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 656 | NAME="AEN14085" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 657 | ></A |
| 658 | ><H3 |
| 659 | ><A |
| 660 | NAME="XMLINPUTREADCALLBACK" |
| 661 | ></A |
| 662 | >xmlInputReadCallback ()</H3 |
| 663 | ><TABLE |
| 664 | BORDER="0" |
| 665 | BGCOLOR="#D6E8FF" |
| 666 | WIDTH="100%" |
| 667 | CELLPADDING="6" |
| 668 | ><TR |
| 669 | ><TD |
| 670 | ><PRE |
| 671 | CLASS="PROGRAMLISTING" |
| 672 | >int (*xmlInputReadCallback) (void *context, |
| 673 | char *buffer, |
| 674 | int len);</PRE |
| 675 | ></TD |
| 676 | ></TR |
| 677 | ></TABLE |
| 678 | ><P |
| 679 | ></P |
| 680 | ><DIV |
| 681 | CLASS="INFORMALTABLE" |
| 682 | ><P |
| 683 | ></P |
| 684 | ><TABLE |
| 685 | BORDER="0" |
| 686 | WIDTH="100%" |
| 687 | BGCOLOR="#FFD0D0" |
| 688 | CELLSPACING="0" |
| 689 | CELLPADDING="4" |
| 690 | CLASS="CALSTABLE" |
| 691 | ><TR |
| 692 | ><TD |
| 693 | WIDTH="20%" |
| 694 | ALIGN="RIGHT" |
| 695 | VALIGN="TOP" |
| 696 | ><TT |
| 697 | CLASS="PARAMETER" |
| 698 | ><I |
| 699 | >context</I |
| 700 | ></TT |
| 701 | > :</TD |
| 702 | ><TD |
| 703 | WIDTH="80%" |
| 704 | ALIGN="LEFT" |
| 705 | VALIGN="TOP" |
| 706 | > </TD |
| 707 | ></TR |
| 708 | ><TR |
| 709 | ><TD |
| 710 | WIDTH="20%" |
| 711 | ALIGN="RIGHT" |
| 712 | VALIGN="TOP" |
| 713 | ><TT |
| 714 | CLASS="PARAMETER" |
| 715 | ><I |
| 716 | >buffer</I |
| 717 | ></TT |
| 718 | > :</TD |
| 719 | ><TD |
| 720 | WIDTH="80%" |
| 721 | ALIGN="LEFT" |
| 722 | VALIGN="TOP" |
| 723 | > </TD |
| 724 | ></TR |
| 725 | ><TR |
| 726 | ><TD |
| 727 | WIDTH="20%" |
| 728 | ALIGN="RIGHT" |
| 729 | VALIGN="TOP" |
| 730 | ><TT |
| 731 | CLASS="PARAMETER" |
| 732 | ><I |
| 733 | >len</I |
| 734 | ></TT |
| 735 | > :</TD |
| 736 | ><TD |
| 737 | WIDTH="80%" |
| 738 | ALIGN="LEFT" |
| 739 | VALIGN="TOP" |
| 740 | > </TD |
| 741 | ></TR |
| 742 | ><TR |
| 743 | ><TD |
| 744 | WIDTH="20%" |
| 745 | ALIGN="RIGHT" |
| 746 | VALIGN="TOP" |
| 747 | ><I |
| 748 | CLASS="EMPHASIS" |
| 749 | >Returns</I |
| 750 | > :</TD |
| 751 | ><TD |
| 752 | WIDTH="80%" |
| 753 | ALIGN="LEFT" |
| 754 | VALIGN="TOP" |
| 755 | > </TD |
| 756 | ></TR |
| 757 | ></TABLE |
| 758 | ><P |
| 759 | ></P |
| 760 | ></DIV |
| 761 | ></DIV |
| 762 | ><HR><DIV |
| 763 | CLASS="REFSECT2" |
| 764 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 765 | NAME="AEN14111" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 766 | ></A |
| 767 | ><H3 |
| 768 | ><A |
| 769 | NAME="XMLINPUTCLOSECALLBACK" |
| 770 | ></A |
| 771 | >xmlInputCloseCallback ()</H3 |
| 772 | ><TABLE |
| 773 | BORDER="0" |
| 774 | BGCOLOR="#D6E8FF" |
| 775 | WIDTH="100%" |
| 776 | CELLPADDING="6" |
| 777 | ><TR |
| 778 | ><TD |
| 779 | ><PRE |
| 780 | CLASS="PROGRAMLISTING" |
| 781 | >void (*xmlInputCloseCallback) (void *context);</PRE |
| 782 | ></TD |
| 783 | ></TR |
| 784 | ></TABLE |
| 785 | ><P |
| 786 | ></P |
| 787 | ><DIV |
| 788 | CLASS="INFORMALTABLE" |
| 789 | ><P |
| 790 | ></P |
| 791 | ><TABLE |
| 792 | BORDER="0" |
| 793 | WIDTH="100%" |
| 794 | BGCOLOR="#FFD0D0" |
| 795 | CELLSPACING="0" |
| 796 | CELLPADDING="4" |
| 797 | CLASS="CALSTABLE" |
| 798 | ><TR |
| 799 | ><TD |
| 800 | WIDTH="20%" |
| 801 | ALIGN="RIGHT" |
| 802 | VALIGN="TOP" |
| 803 | ><TT |
| 804 | CLASS="PARAMETER" |
| 805 | ><I |
| 806 | >context</I |
| 807 | ></TT |
| 808 | > :</TD |
| 809 | ><TD |
| 810 | WIDTH="80%" |
| 811 | ALIGN="LEFT" |
| 812 | VALIGN="TOP" |
| 813 | > </TD |
| 814 | ></TR |
| 815 | ></TABLE |
| 816 | ><P |
| 817 | ></P |
| 818 | ></DIV |
| 819 | ></DIV |
| 820 | ><HR><DIV |
| 821 | CLASS="REFSECT2" |
| 822 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 823 | NAME="AEN14125" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 824 | ></A |
| 825 | ><H3 |
| 826 | ><A |
| 827 | NAME="XMLPARSERINPUTBUFFER" |
| 828 | ></A |
| 829 | >struct xmlParserInputBuffer</H3 |
| 830 | ><TABLE |
| 831 | BORDER="0" |
| 832 | BGCOLOR="#D6E8FF" |
| 833 | WIDTH="100%" |
| 834 | CELLPADDING="6" |
| 835 | ><TR |
| 836 | ><TD |
| 837 | ><PRE |
| 838 | CLASS="PROGRAMLISTING" |
| 839 | >struct xmlParserInputBuffer { |
| 840 | void* context; |
| 841 | xmlInputReadCallback readcallback; |
| 842 | xmlInputCloseCallback closecallback; |
| 843 | |
| 844 | xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ |
| 845 | |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 846 | xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 */ |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 847 | xmlBufferPtr raw; /* if encoder != NULL buffer for raw input */ |
| 848 | };</PRE |
| 849 | ></TD |
| 850 | ></TR |
| 851 | ></TABLE |
| 852 | ><P |
| 853 | ></P |
| 854 | ></DIV |
| 855 | ><HR><DIV |
| 856 | CLASS="REFSECT2" |
| 857 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 858 | NAME="AEN14130" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 859 | ></A |
| 860 | ><H3 |
| 861 | ><A |
| 862 | NAME="XMLPARSERINPUTBUFFERPTR" |
| 863 | ></A |
| 864 | >xmlParserInputBufferPtr</H3 |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 865 | ><TABLE |
| 866 | BORDER="0" |
| 867 | BGCOLOR="#D6E8FF" |
| 868 | WIDTH="100%" |
| 869 | CELLPADDING="6" |
| 870 | ><TR |
| 871 | ><TD |
| 872 | ><PRE |
| 873 | CLASS="PROGRAMLISTING" |
| 874 | >typedef xmlParserInputBuffer *xmlParserInputBufferPtr;</PRE |
| 875 | ></TD |
| 876 | ></TR |
| 877 | ></TABLE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 878 | ><P |
| 879 | ></P |
| 880 | ></DIV |
| 881 | ><HR><DIV |
| 882 | CLASS="REFSECT2" |
| 883 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 884 | NAME="AEN14135" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 885 | ></A |
| 886 | ><H3 |
| 887 | ><A |
| 888 | NAME="XMLOUTPUTMATCHCALLBACK" |
| 889 | ></A |
| 890 | >xmlOutputMatchCallback ()</H3 |
| 891 | ><TABLE |
| 892 | BORDER="0" |
| 893 | BGCOLOR="#D6E8FF" |
| 894 | WIDTH="100%" |
| 895 | CELLPADDING="6" |
| 896 | ><TR |
| 897 | ><TD |
| 898 | ><PRE |
| 899 | CLASS="PROGRAMLISTING" |
| 900 | >int (*xmlOutputMatchCallback) (char const *filename);</PRE |
| 901 | ></TD |
| 902 | ></TR |
| 903 | ></TABLE |
| 904 | ><P |
| 905 | ></P |
| 906 | ><DIV |
| 907 | CLASS="INFORMALTABLE" |
| 908 | ><P |
| 909 | ></P |
| 910 | ><TABLE |
| 911 | BORDER="0" |
| 912 | WIDTH="100%" |
| 913 | BGCOLOR="#FFD0D0" |
| 914 | CELLSPACING="0" |
| 915 | CELLPADDING="4" |
| 916 | CLASS="CALSTABLE" |
| 917 | ><TR |
| 918 | ><TD |
| 919 | WIDTH="20%" |
| 920 | ALIGN="RIGHT" |
| 921 | VALIGN="TOP" |
| 922 | ><TT |
| 923 | CLASS="PARAMETER" |
| 924 | ><I |
| 925 | >filename</I |
| 926 | ></TT |
| 927 | > :</TD |
| 928 | ><TD |
| 929 | WIDTH="80%" |
| 930 | ALIGN="LEFT" |
| 931 | VALIGN="TOP" |
| 932 | > </TD |
| 933 | ></TR |
| 934 | ><TR |
| 935 | ><TD |
| 936 | WIDTH="20%" |
| 937 | ALIGN="RIGHT" |
| 938 | VALIGN="TOP" |
| 939 | ><I |
| 940 | CLASS="EMPHASIS" |
| 941 | >Returns</I |
| 942 | > :</TD |
| 943 | ><TD |
| 944 | WIDTH="80%" |
| 945 | ALIGN="LEFT" |
| 946 | VALIGN="TOP" |
| 947 | > </TD |
| 948 | ></TR |
| 949 | ></TABLE |
| 950 | ><P |
| 951 | ></P |
| 952 | ></DIV |
| 953 | ></DIV |
| 954 | ><HR><DIV |
| 955 | CLASS="REFSECT2" |
| 956 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 957 | NAME="AEN14153" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 958 | ></A |
| 959 | ><H3 |
| 960 | ><A |
| 961 | NAME="XMLOUTPUTOPENCALLBACK" |
| 962 | ></A |
| 963 | >xmlOutputOpenCallback ()</H3 |
| 964 | ><TABLE |
| 965 | BORDER="0" |
| 966 | BGCOLOR="#D6E8FF" |
| 967 | WIDTH="100%" |
| 968 | CELLPADDING="6" |
| 969 | ><TR |
| 970 | ><TD |
| 971 | ><PRE |
| 972 | CLASS="PROGRAMLISTING" |
| 973 | >void* (*xmlOutputOpenCallback) (char const *filename);</PRE |
| 974 | ></TD |
| 975 | ></TR |
| 976 | ></TABLE |
| 977 | ><P |
| 978 | ></P |
| 979 | ><DIV |
| 980 | CLASS="INFORMALTABLE" |
| 981 | ><P |
| 982 | ></P |
| 983 | ><TABLE |
| 984 | BORDER="0" |
| 985 | WIDTH="100%" |
| 986 | BGCOLOR="#FFD0D0" |
| 987 | CELLSPACING="0" |
| 988 | CELLPADDING="4" |
| 989 | CLASS="CALSTABLE" |
| 990 | ><TR |
| 991 | ><TD |
| 992 | WIDTH="20%" |
| 993 | ALIGN="RIGHT" |
| 994 | VALIGN="TOP" |
| 995 | ><TT |
| 996 | CLASS="PARAMETER" |
| 997 | ><I |
| 998 | >filename</I |
| 999 | ></TT |
| 1000 | > :</TD |
| 1001 | ><TD |
| 1002 | WIDTH="80%" |
| 1003 | ALIGN="LEFT" |
| 1004 | VALIGN="TOP" |
| 1005 | > </TD |
| 1006 | ></TR |
| 1007 | ></TABLE |
| 1008 | ><P |
| 1009 | ></P |
| 1010 | ></DIV |
| 1011 | ></DIV |
| 1012 | ><HR><DIV |
| 1013 | CLASS="REFSECT2" |
| 1014 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1015 | NAME="AEN14167" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1016 | ></A |
| 1017 | ><H3 |
| 1018 | ><A |
| 1019 | NAME="XMLOUTPUTWRITECALLBACK" |
| 1020 | ></A |
| 1021 | >xmlOutputWriteCallback ()</H3 |
| 1022 | ><TABLE |
| 1023 | BORDER="0" |
| 1024 | BGCOLOR="#D6E8FF" |
| 1025 | WIDTH="100%" |
| 1026 | CELLPADDING="6" |
| 1027 | ><TR |
| 1028 | ><TD |
| 1029 | ><PRE |
| 1030 | CLASS="PROGRAMLISTING" |
| 1031 | >int (*xmlOutputWriteCallback) (void *context, |
| 1032 | const char *buffer, |
| 1033 | int len);</PRE |
| 1034 | ></TD |
| 1035 | ></TR |
| 1036 | ></TABLE |
| 1037 | ><P |
| 1038 | ></P |
| 1039 | ><DIV |
| 1040 | CLASS="INFORMALTABLE" |
| 1041 | ><P |
| 1042 | ></P |
| 1043 | ><TABLE |
| 1044 | BORDER="0" |
| 1045 | WIDTH="100%" |
| 1046 | BGCOLOR="#FFD0D0" |
| 1047 | CELLSPACING="0" |
| 1048 | CELLPADDING="4" |
| 1049 | CLASS="CALSTABLE" |
| 1050 | ><TR |
| 1051 | ><TD |
| 1052 | WIDTH="20%" |
| 1053 | ALIGN="RIGHT" |
| 1054 | VALIGN="TOP" |
| 1055 | ><TT |
| 1056 | CLASS="PARAMETER" |
| 1057 | ><I |
| 1058 | >context</I |
| 1059 | ></TT |
| 1060 | > :</TD |
| 1061 | ><TD |
| 1062 | WIDTH="80%" |
| 1063 | ALIGN="LEFT" |
| 1064 | VALIGN="TOP" |
| 1065 | > </TD |
| 1066 | ></TR |
| 1067 | ><TR |
| 1068 | ><TD |
| 1069 | WIDTH="20%" |
| 1070 | ALIGN="RIGHT" |
| 1071 | VALIGN="TOP" |
| 1072 | ><TT |
| 1073 | CLASS="PARAMETER" |
| 1074 | ><I |
| 1075 | >buffer</I |
| 1076 | ></TT |
| 1077 | > :</TD |
| 1078 | ><TD |
| 1079 | WIDTH="80%" |
| 1080 | ALIGN="LEFT" |
| 1081 | VALIGN="TOP" |
| 1082 | > </TD |
| 1083 | ></TR |
| 1084 | ><TR |
| 1085 | ><TD |
| 1086 | WIDTH="20%" |
| 1087 | ALIGN="RIGHT" |
| 1088 | VALIGN="TOP" |
| 1089 | ><TT |
| 1090 | CLASS="PARAMETER" |
| 1091 | ><I |
| 1092 | >len</I |
| 1093 | ></TT |
| 1094 | > :</TD |
| 1095 | ><TD |
| 1096 | WIDTH="80%" |
| 1097 | ALIGN="LEFT" |
| 1098 | VALIGN="TOP" |
| 1099 | > </TD |
| 1100 | ></TR |
| 1101 | ><TR |
| 1102 | ><TD |
| 1103 | WIDTH="20%" |
| 1104 | ALIGN="RIGHT" |
| 1105 | VALIGN="TOP" |
| 1106 | ><I |
| 1107 | CLASS="EMPHASIS" |
| 1108 | >Returns</I |
| 1109 | > :</TD |
| 1110 | ><TD |
| 1111 | WIDTH="80%" |
| 1112 | ALIGN="LEFT" |
| 1113 | VALIGN="TOP" |
| 1114 | > </TD |
| 1115 | ></TR |
| 1116 | ></TABLE |
| 1117 | ><P |
| 1118 | ></P |
| 1119 | ></DIV |
| 1120 | ></DIV |
| 1121 | ><HR><DIV |
| 1122 | CLASS="REFSECT2" |
| 1123 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1124 | NAME="AEN14193" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1125 | ></A |
| 1126 | ><H3 |
| 1127 | ><A |
| 1128 | NAME="XMLOUTPUTCLOSECALLBACK" |
| 1129 | ></A |
| 1130 | >xmlOutputCloseCallback ()</H3 |
| 1131 | ><TABLE |
| 1132 | BORDER="0" |
| 1133 | BGCOLOR="#D6E8FF" |
| 1134 | WIDTH="100%" |
| 1135 | CELLPADDING="6" |
| 1136 | ><TR |
| 1137 | ><TD |
| 1138 | ><PRE |
| 1139 | CLASS="PROGRAMLISTING" |
| 1140 | >void (*xmlOutputCloseCallback) (void *context);</PRE |
| 1141 | ></TD |
| 1142 | ></TR |
| 1143 | ></TABLE |
| 1144 | ><P |
| 1145 | ></P |
| 1146 | ><DIV |
| 1147 | CLASS="INFORMALTABLE" |
| 1148 | ><P |
| 1149 | ></P |
| 1150 | ><TABLE |
| 1151 | BORDER="0" |
| 1152 | WIDTH="100%" |
| 1153 | BGCOLOR="#FFD0D0" |
| 1154 | CELLSPACING="0" |
| 1155 | CELLPADDING="4" |
| 1156 | CLASS="CALSTABLE" |
| 1157 | ><TR |
| 1158 | ><TD |
| 1159 | WIDTH="20%" |
| 1160 | ALIGN="RIGHT" |
| 1161 | VALIGN="TOP" |
| 1162 | ><TT |
| 1163 | CLASS="PARAMETER" |
| 1164 | ><I |
| 1165 | >context</I |
| 1166 | ></TT |
| 1167 | > :</TD |
| 1168 | ><TD |
| 1169 | WIDTH="80%" |
| 1170 | ALIGN="LEFT" |
| 1171 | VALIGN="TOP" |
| 1172 | > </TD |
| 1173 | ></TR |
| 1174 | ></TABLE |
| 1175 | ><P |
| 1176 | ></P |
| 1177 | ></DIV |
| 1178 | ></DIV |
| 1179 | ><HR><DIV |
| 1180 | CLASS="REFSECT2" |
| 1181 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1182 | NAME="AEN14207" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1183 | ></A |
| 1184 | ><H3 |
| 1185 | ><A |
| 1186 | NAME="XMLOUTPUTBUFFER" |
| 1187 | ></A |
| 1188 | >struct xmlOutputBuffer</H3 |
| 1189 | ><TABLE |
| 1190 | BORDER="0" |
| 1191 | BGCOLOR="#D6E8FF" |
| 1192 | WIDTH="100%" |
| 1193 | CELLPADDING="6" |
| 1194 | ><TR |
| 1195 | ><TD |
| 1196 | ><PRE |
| 1197 | CLASS="PROGRAMLISTING" |
| 1198 | >struct xmlOutputBuffer { |
| 1199 | void* context; |
| 1200 | xmlOutputWriteCallback writecallback; |
| 1201 | xmlOutputCloseCallback closecallback; |
| 1202 | |
| 1203 | xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ |
| 1204 | |
| 1205 | xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */ |
| 1206 | xmlBufferPtr conv; /* if encoder != NULL buffer for output */ |
| 1207 | int written; /* total number of byte written */ |
| 1208 | };</PRE |
| 1209 | ></TD |
| 1210 | ></TR |
| 1211 | ></TABLE |
| 1212 | ><P |
| 1213 | ></P |
| 1214 | ></DIV |
| 1215 | ><HR><DIV |
| 1216 | CLASS="REFSECT2" |
| 1217 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1218 | NAME="AEN14212" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1219 | ></A |
| 1220 | ><H3 |
| 1221 | ><A |
| 1222 | NAME="XMLOUTPUTBUFFERPTR" |
| 1223 | ></A |
| 1224 | >xmlOutputBufferPtr</H3 |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1225 | ><TABLE |
| 1226 | BORDER="0" |
| 1227 | BGCOLOR="#D6E8FF" |
| 1228 | WIDTH="100%" |
| 1229 | CELLPADDING="6" |
| 1230 | ><TR |
| 1231 | ><TD |
| 1232 | ><PRE |
| 1233 | CLASS="PROGRAMLISTING" |
| 1234 | >typedef xmlOutputBuffer *xmlOutputBufferPtr;</PRE |
| 1235 | ></TD |
| 1236 | ></TR |
| 1237 | ></TABLE |
Daniel Veillard | 7e99c63 | 2000-10-06 12:59:53 +0000 | [diff] [blame] | 1238 | ><P |
| 1239 | ></P |
| 1240 | ></DIV |
| 1241 | ><HR><DIV |
| 1242 | CLASS="REFSECT2" |
| 1243 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1244 | NAME="AEN14217" |
Daniel Veillard | 7e99c63 | 2000-10-06 12:59:53 +0000 | [diff] [blame] | 1245 | ></A |
| 1246 | ><H3 |
| 1247 | ><A |
| 1248 | NAME="XMLREGISTERDEFAULTINPUTCALLBACKS" |
| 1249 | ></A |
| 1250 | >xmlRegisterDefaultInputCallbacks ()</H3 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1251 | ><TABLE |
| 1252 | BORDER="0" |
| 1253 | BGCOLOR="#D6E8FF" |
| 1254 | WIDTH="100%" |
| 1255 | CELLPADDING="6" |
| 1256 | ><TR |
| 1257 | ><TD |
| 1258 | ><PRE |
| 1259 | CLASS="PROGRAMLISTING" |
Daniel Veillard | 7e99c63 | 2000-10-06 12:59:53 +0000 | [diff] [blame] | 1260 | >void xmlRegisterDefaultInputCallbacks |
| 1261 | (void);</PRE |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1262 | ></TD |
| 1263 | ></TR |
| 1264 | ></TABLE |
| 1265 | ><P |
Daniel Veillard | 7e99c63 | 2000-10-06 12:59:53 +0000 | [diff] [blame] | 1266 | >Registers the default compiled-in I/O handlers.</P |
| 1267 | ><P |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1268 | ></P |
| 1269 | ></DIV |
| 1270 | ><HR><DIV |
| 1271 | CLASS="REFSECT2" |
| 1272 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1273 | NAME="AEN14223" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1274 | ></A |
| 1275 | ><H3 |
| 1276 | ><A |
| 1277 | NAME="XMLALLOCPARSERINPUTBUFFER" |
| 1278 | ></A |
| 1279 | >xmlAllocParserInputBuffer ()</H3 |
| 1280 | ><TABLE |
| 1281 | BORDER="0" |
| 1282 | BGCOLOR="#D6E8FF" |
| 1283 | WIDTH="100%" |
| 1284 | CELLPADDING="6" |
| 1285 | ><TR |
| 1286 | ><TD |
| 1287 | ><PRE |
| 1288 | CLASS="PROGRAMLISTING" |
| 1289 | ><A |
| 1290 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 1291 | >xmlParserInputBufferPtr</A |
| 1292 | > xmlAllocParserInputBuffer |
| 1293 | (<A |
| 1294 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 1295 | >xmlCharEncoding</A |
| 1296 | > enc);</PRE |
| 1297 | ></TD |
| 1298 | ></TR |
| 1299 | ></TABLE |
| 1300 | ><P |
| 1301 | >Create a buffered parser input for progressive parsing</P |
| 1302 | ><P |
| 1303 | ></P |
| 1304 | ><DIV |
| 1305 | CLASS="INFORMALTABLE" |
| 1306 | ><P |
| 1307 | ></P |
| 1308 | ><TABLE |
| 1309 | BORDER="0" |
| 1310 | WIDTH="100%" |
| 1311 | BGCOLOR="#FFD0D0" |
| 1312 | CELLSPACING="0" |
| 1313 | CELLPADDING="4" |
| 1314 | CLASS="CALSTABLE" |
| 1315 | ><TR |
| 1316 | ><TD |
| 1317 | WIDTH="20%" |
| 1318 | ALIGN="RIGHT" |
| 1319 | VALIGN="TOP" |
| 1320 | ><TT |
| 1321 | CLASS="PARAMETER" |
| 1322 | ><I |
| 1323 | >enc</I |
| 1324 | ></TT |
| 1325 | > :</TD |
| 1326 | ><TD |
| 1327 | WIDTH="80%" |
| 1328 | ALIGN="LEFT" |
| 1329 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1330 | > the charset encoding if known</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1331 | ></TR |
| 1332 | ><TR |
| 1333 | ><TD |
| 1334 | WIDTH="20%" |
| 1335 | ALIGN="RIGHT" |
| 1336 | VALIGN="TOP" |
| 1337 | ><I |
| 1338 | CLASS="EMPHASIS" |
| 1339 | >Returns</I |
| 1340 | > :</TD |
| 1341 | ><TD |
| 1342 | WIDTH="80%" |
| 1343 | ALIGN="LEFT" |
| 1344 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1345 | >the new parser input or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1346 | ></TR |
| 1347 | ></TABLE |
| 1348 | ><P |
| 1349 | ></P |
| 1350 | ></DIV |
| 1351 | ></DIV |
| 1352 | ><HR><DIV |
| 1353 | CLASS="REFSECT2" |
| 1354 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1355 | NAME="AEN14244" |
| 1356 | ></A |
| 1357 | ><H3 |
| 1358 | ><A |
| 1359 | NAME="XMLPARSERINPUTBUFFERCREATEFNAME" |
| 1360 | ></A |
| 1361 | >xmlParserInputBufferCreateFname ()</H3 |
| 1362 | ><TABLE |
| 1363 | BORDER="0" |
| 1364 | BGCOLOR="#D6E8FF" |
| 1365 | WIDTH="100%" |
| 1366 | CELLPADDING="6" |
| 1367 | ><TR |
| 1368 | ><TD |
| 1369 | ><PRE |
| 1370 | CLASS="PROGRAMLISTING" |
| 1371 | ><A |
| 1372 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 1373 | >xmlParserInputBufferPtr</A |
| 1374 | > xmlParserInputBufferCreateFname |
| 1375 | (const char *URI, |
| 1376 | <A |
| 1377 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 1378 | >xmlCharEncoding</A |
| 1379 | > enc);</PRE |
| 1380 | ></TD |
| 1381 | ></TR |
| 1382 | ></TABLE |
| 1383 | ><P |
| 1384 | ></P |
| 1385 | ><DIV |
| 1386 | CLASS="INFORMALTABLE" |
| 1387 | ><P |
| 1388 | ></P |
| 1389 | ><TABLE |
| 1390 | BORDER="0" |
| 1391 | WIDTH="100%" |
| 1392 | BGCOLOR="#FFD0D0" |
| 1393 | CELLSPACING="0" |
| 1394 | CELLPADDING="4" |
| 1395 | CLASS="CALSTABLE" |
| 1396 | ><TR |
| 1397 | ><TD |
| 1398 | WIDTH="20%" |
| 1399 | ALIGN="RIGHT" |
| 1400 | VALIGN="TOP" |
| 1401 | ><TT |
| 1402 | CLASS="PARAMETER" |
| 1403 | ><I |
| 1404 | >URI</I |
| 1405 | ></TT |
| 1406 | > :</TD |
| 1407 | ><TD |
| 1408 | WIDTH="80%" |
| 1409 | ALIGN="LEFT" |
| 1410 | VALIGN="TOP" |
| 1411 | > </TD |
| 1412 | ></TR |
| 1413 | ><TR |
| 1414 | ><TD |
| 1415 | WIDTH="20%" |
| 1416 | ALIGN="RIGHT" |
| 1417 | VALIGN="TOP" |
| 1418 | ><TT |
| 1419 | CLASS="PARAMETER" |
| 1420 | ><I |
| 1421 | >enc</I |
| 1422 | ></TT |
| 1423 | > :</TD |
| 1424 | ><TD |
| 1425 | WIDTH="80%" |
| 1426 | ALIGN="LEFT" |
| 1427 | VALIGN="TOP" |
| 1428 | > </TD |
| 1429 | ></TR |
| 1430 | ><TR |
| 1431 | ><TD |
| 1432 | WIDTH="20%" |
| 1433 | ALIGN="RIGHT" |
| 1434 | VALIGN="TOP" |
| 1435 | ><I |
| 1436 | CLASS="EMPHASIS" |
| 1437 | >Returns</I |
| 1438 | > :</TD |
| 1439 | ><TD |
| 1440 | WIDTH="80%" |
| 1441 | ALIGN="LEFT" |
| 1442 | VALIGN="TOP" |
| 1443 | > </TD |
| 1444 | ></TR |
| 1445 | ></TABLE |
| 1446 | ><P |
| 1447 | ></P |
| 1448 | ></DIV |
| 1449 | ></DIV |
| 1450 | ><HR><DIV |
| 1451 | CLASS="REFSECT2" |
| 1452 | ><A |
| 1453 | NAME="AEN14268" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1454 | ></A |
| 1455 | ><H3 |
| 1456 | ><A |
| 1457 | NAME="XMLPARSERINPUTBUFFERCREATEFILENAME" |
| 1458 | ></A |
| 1459 | >xmlParserInputBufferCreateFilename ()</H3 |
| 1460 | ><TABLE |
| 1461 | BORDER="0" |
| 1462 | BGCOLOR="#D6E8FF" |
| 1463 | WIDTH="100%" |
| 1464 | CELLPADDING="6" |
| 1465 | ><TR |
| 1466 | ><TD |
| 1467 | ><PRE |
| 1468 | CLASS="PROGRAMLISTING" |
| 1469 | ><A |
| 1470 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 1471 | >xmlParserInputBufferPtr</A |
| 1472 | > xmlParserInputBufferCreateFilename |
| 1473 | (const char *URI, |
| 1474 | <A |
| 1475 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 1476 | >xmlCharEncoding</A |
| 1477 | > enc);</PRE |
| 1478 | ></TD |
| 1479 | ></TR |
| 1480 | ></TABLE |
| 1481 | ><P |
| 1482 | >Create a buffered parser input for the progressive parsing of a file |
| 1483 | If filename is "-' then we use stdin as the input. |
| 1484 | Automatic support for ZLIB/Compress compressed document is provided |
| 1485 | by default if found at compile-time. |
| 1486 | Do an encoding check if enc == XML_CHAR_ENCODING_NONE</P |
| 1487 | ><P |
| 1488 | ></P |
| 1489 | ><DIV |
| 1490 | CLASS="INFORMALTABLE" |
| 1491 | ><P |
| 1492 | ></P |
| 1493 | ><TABLE |
| 1494 | BORDER="0" |
| 1495 | WIDTH="100%" |
| 1496 | BGCOLOR="#FFD0D0" |
| 1497 | CELLSPACING="0" |
| 1498 | CELLPADDING="4" |
| 1499 | CLASS="CALSTABLE" |
| 1500 | ><TR |
| 1501 | ><TD |
| 1502 | WIDTH="20%" |
| 1503 | ALIGN="RIGHT" |
| 1504 | VALIGN="TOP" |
| 1505 | ><TT |
| 1506 | CLASS="PARAMETER" |
| 1507 | ><I |
| 1508 | >URI</I |
| 1509 | ></TT |
| 1510 | > :</TD |
| 1511 | ><TD |
| 1512 | WIDTH="80%" |
| 1513 | ALIGN="LEFT" |
| 1514 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1515 | > a C string containing the URI or filename</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1516 | ></TR |
| 1517 | ><TR |
| 1518 | ><TD |
| 1519 | WIDTH="20%" |
| 1520 | ALIGN="RIGHT" |
| 1521 | VALIGN="TOP" |
| 1522 | ><TT |
| 1523 | CLASS="PARAMETER" |
| 1524 | ><I |
| 1525 | >enc</I |
| 1526 | ></TT |
| 1527 | > :</TD |
| 1528 | ><TD |
| 1529 | WIDTH="80%" |
| 1530 | ALIGN="LEFT" |
| 1531 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1532 | > the charset encoding if known</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1533 | ></TR |
| 1534 | ><TR |
| 1535 | ><TD |
| 1536 | WIDTH="20%" |
| 1537 | ALIGN="RIGHT" |
| 1538 | VALIGN="TOP" |
| 1539 | ><I |
| 1540 | CLASS="EMPHASIS" |
| 1541 | >Returns</I |
| 1542 | > :</TD |
| 1543 | ><TD |
| 1544 | WIDTH="80%" |
| 1545 | ALIGN="LEFT" |
| 1546 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1547 | >the new parser input or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1548 | ></TR |
| 1549 | ></TABLE |
| 1550 | ><P |
| 1551 | ></P |
| 1552 | ></DIV |
| 1553 | ></DIV |
| 1554 | ><HR><DIV |
| 1555 | CLASS="REFSECT2" |
| 1556 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1557 | NAME="AEN14293" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1558 | ></A |
| 1559 | ><H3 |
| 1560 | ><A |
| 1561 | NAME="XMLPARSERINPUTBUFFERCREATEFILE" |
| 1562 | ></A |
| 1563 | >xmlParserInputBufferCreateFile ()</H3 |
| 1564 | ><TABLE |
| 1565 | BORDER="0" |
| 1566 | BGCOLOR="#D6E8FF" |
| 1567 | WIDTH="100%" |
| 1568 | CELLPADDING="6" |
| 1569 | ><TR |
| 1570 | ><TD |
| 1571 | ><PRE |
| 1572 | CLASS="PROGRAMLISTING" |
| 1573 | ><A |
| 1574 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 1575 | >xmlParserInputBufferPtr</A |
| 1576 | > xmlParserInputBufferCreateFile |
| 1577 | (<GTKDOCLINK |
| 1578 | HREF="FILE" |
| 1579 | >FILE</GTKDOCLINK |
| 1580 | > *file, |
| 1581 | <A |
| 1582 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 1583 | >xmlCharEncoding</A |
| 1584 | > enc);</PRE |
| 1585 | ></TD |
| 1586 | ></TR |
| 1587 | ></TABLE |
| 1588 | ><P |
| 1589 | >Create a buffered parser input for the progressive parsing of a FILE * |
| 1590 | buffered C I/O</P |
| 1591 | ><P |
| 1592 | ></P |
| 1593 | ><DIV |
| 1594 | CLASS="INFORMALTABLE" |
| 1595 | ><P |
| 1596 | ></P |
| 1597 | ><TABLE |
| 1598 | BORDER="0" |
| 1599 | WIDTH="100%" |
| 1600 | BGCOLOR="#FFD0D0" |
| 1601 | CELLSPACING="0" |
| 1602 | CELLPADDING="4" |
| 1603 | CLASS="CALSTABLE" |
| 1604 | ><TR |
| 1605 | ><TD |
| 1606 | WIDTH="20%" |
| 1607 | ALIGN="RIGHT" |
| 1608 | VALIGN="TOP" |
| 1609 | ><TT |
| 1610 | CLASS="PARAMETER" |
| 1611 | ><I |
| 1612 | >file</I |
| 1613 | ></TT |
| 1614 | > :</TD |
| 1615 | ><TD |
| 1616 | WIDTH="80%" |
| 1617 | ALIGN="LEFT" |
| 1618 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1619 | > a FILE* </TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1620 | ></TR |
| 1621 | ><TR |
| 1622 | ><TD |
| 1623 | WIDTH="20%" |
| 1624 | ALIGN="RIGHT" |
| 1625 | VALIGN="TOP" |
| 1626 | ><TT |
| 1627 | CLASS="PARAMETER" |
| 1628 | ><I |
| 1629 | >enc</I |
| 1630 | ></TT |
| 1631 | > :</TD |
| 1632 | ><TD |
| 1633 | WIDTH="80%" |
| 1634 | ALIGN="LEFT" |
| 1635 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1636 | > the charset encoding if known</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1637 | ></TR |
| 1638 | ><TR |
| 1639 | ><TD |
| 1640 | WIDTH="20%" |
| 1641 | ALIGN="RIGHT" |
| 1642 | VALIGN="TOP" |
| 1643 | ><I |
| 1644 | CLASS="EMPHASIS" |
| 1645 | >Returns</I |
| 1646 | > :</TD |
| 1647 | ><TD |
| 1648 | WIDTH="80%" |
| 1649 | ALIGN="LEFT" |
| 1650 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1651 | >the new parser input or NULL</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1652 | ></TR |
| 1653 | ></TABLE |
| 1654 | ><P |
| 1655 | ></P |
| 1656 | ></DIV |
| 1657 | ></DIV |
| 1658 | ><HR><DIV |
| 1659 | CLASS="REFSECT2" |
| 1660 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1661 | NAME="AEN14319" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1662 | ></A |
| 1663 | ><H3 |
| 1664 | ><A |
| 1665 | NAME="XMLPARSERINPUTBUFFERCREATEFD" |
| 1666 | ></A |
| 1667 | >xmlParserInputBufferCreateFd ()</H3 |
| 1668 | ><TABLE |
| 1669 | BORDER="0" |
| 1670 | BGCOLOR="#D6E8FF" |
| 1671 | WIDTH="100%" |
| 1672 | CELLPADDING="6" |
| 1673 | ><TR |
| 1674 | ><TD |
| 1675 | ><PRE |
| 1676 | CLASS="PROGRAMLISTING" |
| 1677 | ><A |
| 1678 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 1679 | >xmlParserInputBufferPtr</A |
| 1680 | > xmlParserInputBufferCreateFd |
| 1681 | (int fd, |
| 1682 | <A |
| 1683 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 1684 | >xmlCharEncoding</A |
| 1685 | > enc);</PRE |
| 1686 | ></TD |
| 1687 | ></TR |
| 1688 | ></TABLE |
| 1689 | ><P |
| 1690 | >Create a buffered parser input for the progressive parsing for the input |
| 1691 | from a file descriptor</P |
| 1692 | ><P |
| 1693 | ></P |
| 1694 | ><DIV |
| 1695 | CLASS="INFORMALTABLE" |
| 1696 | ><P |
| 1697 | ></P |
| 1698 | ><TABLE |
| 1699 | BORDER="0" |
| 1700 | WIDTH="100%" |
| 1701 | BGCOLOR="#FFD0D0" |
| 1702 | CELLSPACING="0" |
| 1703 | CELLPADDING="4" |
| 1704 | CLASS="CALSTABLE" |
| 1705 | ><TR |
| 1706 | ><TD |
| 1707 | WIDTH="20%" |
| 1708 | ALIGN="RIGHT" |
| 1709 | VALIGN="TOP" |
| 1710 | ><TT |
| 1711 | CLASS="PARAMETER" |
| 1712 | ><I |
| 1713 | >fd</I |
| 1714 | ></TT |
| 1715 | > :</TD |
| 1716 | ><TD |
| 1717 | WIDTH="80%" |
| 1718 | ALIGN="LEFT" |
| 1719 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1720 | > a file descriptor number</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1721 | ></TR |
| 1722 | ><TR |
| 1723 | ><TD |
| 1724 | WIDTH="20%" |
| 1725 | ALIGN="RIGHT" |
| 1726 | VALIGN="TOP" |
| 1727 | ><TT |
| 1728 | CLASS="PARAMETER" |
| 1729 | ><I |
| 1730 | >enc</I |
| 1731 | ></TT |
| 1732 | > :</TD |
| 1733 | ><TD |
| 1734 | WIDTH="80%" |
| 1735 | ALIGN="LEFT" |
| 1736 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1737 | > the charset encoding if known</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1738 | ></TR |
| 1739 | ><TR |
| 1740 | ><TD |
| 1741 | WIDTH="20%" |
| 1742 | ALIGN="RIGHT" |
| 1743 | VALIGN="TOP" |
| 1744 | ><I |
| 1745 | CLASS="EMPHASIS" |
| 1746 | >Returns</I |
| 1747 | > :</TD |
| 1748 | ><TD |
| 1749 | WIDTH="80%" |
| 1750 | ALIGN="LEFT" |
| 1751 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1752 | >the new parser input or NULL</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 1753 | ></TR |
| 1754 | ></TABLE |
| 1755 | ><P |
| 1756 | ></P |
| 1757 | ></DIV |
| 1758 | ></DIV |
| 1759 | ><HR><DIV |
| 1760 | CLASS="REFSECT2" |
| 1761 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1762 | NAME="AEN14344" |
Daniel Veillard | 7c29ce2 | 2000-08-12 21:20:53 +0000 | [diff] [blame] | 1763 | ></A |
| 1764 | ><H3 |
| 1765 | ><A |
| 1766 | NAME="XMLPARSERINPUTBUFFERCREATEMEM" |
| 1767 | ></A |
| 1768 | >xmlParserInputBufferCreateMem ()</H3 |
| 1769 | ><TABLE |
| 1770 | BORDER="0" |
| 1771 | BGCOLOR="#D6E8FF" |
| 1772 | WIDTH="100%" |
| 1773 | CELLPADDING="6" |
| 1774 | ><TR |
| 1775 | ><TD |
| 1776 | ><PRE |
| 1777 | CLASS="PROGRAMLISTING" |
| 1778 | ><A |
| 1779 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 1780 | >xmlParserInputBufferPtr</A |
| 1781 | > xmlParserInputBufferCreateMem |
| 1782 | (const char *mem, |
| 1783 | int size, |
| 1784 | <A |
| 1785 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 1786 | >xmlCharEncoding</A |
| 1787 | > enc);</PRE |
| 1788 | ></TD |
| 1789 | ></TR |
| 1790 | ></TABLE |
| 1791 | ><P |
| 1792 | >Create a buffered parser input for the progressive parsing for the input |
| 1793 | from a file descriptor</P |
| 1794 | ><P |
| 1795 | ></P |
| 1796 | ><DIV |
| 1797 | CLASS="INFORMALTABLE" |
| 1798 | ><P |
| 1799 | ></P |
| 1800 | ><TABLE |
| 1801 | BORDER="0" |
| 1802 | WIDTH="100%" |
| 1803 | BGCOLOR="#FFD0D0" |
| 1804 | CELLSPACING="0" |
| 1805 | CELLPADDING="4" |
| 1806 | CLASS="CALSTABLE" |
| 1807 | ><TR |
| 1808 | ><TD |
| 1809 | WIDTH="20%" |
| 1810 | ALIGN="RIGHT" |
| 1811 | VALIGN="TOP" |
| 1812 | ><TT |
| 1813 | CLASS="PARAMETER" |
| 1814 | ><I |
| 1815 | >mem</I |
| 1816 | ></TT |
| 1817 | > :</TD |
| 1818 | ><TD |
| 1819 | WIDTH="80%" |
| 1820 | ALIGN="LEFT" |
| 1821 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1822 | > the memory input</TD |
Daniel Veillard | 7c29ce2 | 2000-08-12 21:20:53 +0000 | [diff] [blame] | 1823 | ></TR |
| 1824 | ><TR |
| 1825 | ><TD |
| 1826 | WIDTH="20%" |
| 1827 | ALIGN="RIGHT" |
| 1828 | VALIGN="TOP" |
| 1829 | ><TT |
| 1830 | CLASS="PARAMETER" |
| 1831 | ><I |
| 1832 | >size</I |
| 1833 | ></TT |
| 1834 | > :</TD |
| 1835 | ><TD |
| 1836 | WIDTH="80%" |
| 1837 | ALIGN="LEFT" |
| 1838 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1839 | > the length of the memory block</TD |
Daniel Veillard | 7c29ce2 | 2000-08-12 21:20:53 +0000 | [diff] [blame] | 1840 | ></TR |
| 1841 | ><TR |
| 1842 | ><TD |
| 1843 | WIDTH="20%" |
| 1844 | ALIGN="RIGHT" |
| 1845 | VALIGN="TOP" |
| 1846 | ><TT |
| 1847 | CLASS="PARAMETER" |
| 1848 | ><I |
| 1849 | >enc</I |
| 1850 | ></TT |
| 1851 | > :</TD |
| 1852 | ><TD |
| 1853 | WIDTH="80%" |
| 1854 | ALIGN="LEFT" |
| 1855 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1856 | > the charset encoding if known</TD |
Daniel Veillard | 7c29ce2 | 2000-08-12 21:20:53 +0000 | [diff] [blame] | 1857 | ></TR |
| 1858 | ><TR |
| 1859 | ><TD |
| 1860 | WIDTH="20%" |
| 1861 | ALIGN="RIGHT" |
| 1862 | VALIGN="TOP" |
| 1863 | ><I |
| 1864 | CLASS="EMPHASIS" |
| 1865 | >Returns</I |
| 1866 | > :</TD |
| 1867 | ><TD |
| 1868 | WIDTH="80%" |
| 1869 | ALIGN="LEFT" |
| 1870 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1871 | >the new parser input or NULL</TD |
Daniel Veillard | 7c29ce2 | 2000-08-12 21:20:53 +0000 | [diff] [blame] | 1872 | ></TR |
| 1873 | ></TABLE |
| 1874 | ><P |
| 1875 | ></P |
| 1876 | ></DIV |
| 1877 | ></DIV |
| 1878 | ><HR><DIV |
| 1879 | CLASS="REFSECT2" |
| 1880 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 1881 | NAME="AEN14373" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1882 | ></A |
| 1883 | ><H3 |
| 1884 | ><A |
| 1885 | NAME="XMLPARSERINPUTBUFFERCREATEIO" |
| 1886 | ></A |
| 1887 | >xmlParserInputBufferCreateIO ()</H3 |
| 1888 | ><TABLE |
| 1889 | BORDER="0" |
| 1890 | BGCOLOR="#D6E8FF" |
| 1891 | WIDTH="100%" |
| 1892 | CELLPADDING="6" |
| 1893 | ><TR |
| 1894 | ><TD |
| 1895 | ><PRE |
| 1896 | CLASS="PROGRAMLISTING" |
| 1897 | ><A |
| 1898 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 1899 | >xmlParserInputBufferPtr</A |
| 1900 | > xmlParserInputBufferCreateIO |
| 1901 | (<A |
| 1902 | HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK" |
| 1903 | >xmlInputReadCallback</A |
| 1904 | > ioread, |
| 1905 | <A |
| 1906 | HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK" |
| 1907 | >xmlInputCloseCallback</A |
| 1908 | > ioclose, |
| 1909 | void *ioctx, |
| 1910 | <A |
| 1911 | HREF="gnome-xml-encoding.html#XMLCHARENCODING" |
| 1912 | >xmlCharEncoding</A |
| 1913 | > enc);</PRE |
| 1914 | ></TD |
| 1915 | ></TR |
| 1916 | ></TABLE |
| 1917 | ><P |
| 1918 | >Create a buffered parser input for the progressive parsing for the input |
| 1919 | from an I/O handler</P |
| 1920 | ><P |
| 1921 | ></P |
| 1922 | ><DIV |
| 1923 | CLASS="INFORMALTABLE" |
| 1924 | ><P |
| 1925 | ></P |
| 1926 | ><TABLE |
| 1927 | BORDER="0" |
| 1928 | WIDTH="100%" |
| 1929 | BGCOLOR="#FFD0D0" |
| 1930 | CELLSPACING="0" |
| 1931 | CELLPADDING="4" |
| 1932 | CLASS="CALSTABLE" |
| 1933 | ><TR |
| 1934 | ><TD |
| 1935 | WIDTH="20%" |
| 1936 | ALIGN="RIGHT" |
| 1937 | VALIGN="TOP" |
| 1938 | ><TT |
| 1939 | CLASS="PARAMETER" |
| 1940 | ><I |
| 1941 | >ioread</I |
| 1942 | ></TT |
| 1943 | > :</TD |
| 1944 | ><TD |
| 1945 | WIDTH="80%" |
| 1946 | ALIGN="LEFT" |
| 1947 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1948 | > an I/O read function</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1949 | ></TR |
| 1950 | ><TR |
| 1951 | ><TD |
| 1952 | WIDTH="20%" |
| 1953 | ALIGN="RIGHT" |
| 1954 | VALIGN="TOP" |
| 1955 | ><TT |
| 1956 | CLASS="PARAMETER" |
| 1957 | ><I |
| 1958 | >ioclose</I |
| 1959 | ></TT |
| 1960 | > :</TD |
| 1961 | ><TD |
| 1962 | WIDTH="80%" |
| 1963 | ALIGN="LEFT" |
| 1964 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1965 | > an I/O close function</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1966 | ></TR |
| 1967 | ><TR |
| 1968 | ><TD |
| 1969 | WIDTH="20%" |
| 1970 | ALIGN="RIGHT" |
| 1971 | VALIGN="TOP" |
| 1972 | ><TT |
| 1973 | CLASS="PARAMETER" |
| 1974 | ><I |
| 1975 | >ioctx</I |
| 1976 | ></TT |
| 1977 | > :</TD |
| 1978 | ><TD |
| 1979 | WIDTH="80%" |
| 1980 | ALIGN="LEFT" |
| 1981 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1982 | > an I/O handler</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1983 | ></TR |
| 1984 | ><TR |
| 1985 | ><TD |
| 1986 | WIDTH="20%" |
| 1987 | ALIGN="RIGHT" |
| 1988 | VALIGN="TOP" |
| 1989 | ><TT |
| 1990 | CLASS="PARAMETER" |
| 1991 | ><I |
| 1992 | >enc</I |
| 1993 | ></TT |
| 1994 | > :</TD |
| 1995 | ><TD |
| 1996 | WIDTH="80%" |
| 1997 | ALIGN="LEFT" |
| 1998 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1999 | > the charset encoding if known</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2000 | ></TR |
| 2001 | ><TR |
| 2002 | ><TD |
| 2003 | WIDTH="20%" |
| 2004 | ALIGN="RIGHT" |
| 2005 | VALIGN="TOP" |
| 2006 | ><I |
| 2007 | CLASS="EMPHASIS" |
| 2008 | >Returns</I |
| 2009 | > :</TD |
| 2010 | ><TD |
| 2011 | WIDTH="80%" |
| 2012 | ALIGN="LEFT" |
| 2013 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2014 | >the new parser input or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2015 | ></TR |
| 2016 | ></TABLE |
| 2017 | ><P |
| 2018 | ></P |
| 2019 | ></DIV |
| 2020 | ></DIV |
| 2021 | ><HR><DIV |
| 2022 | CLASS="REFSECT2" |
| 2023 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2024 | NAME="AEN14408" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2025 | ></A |
| 2026 | ><H3 |
| 2027 | ><A |
| 2028 | NAME="XMLPARSERINPUTBUFFERREAD" |
| 2029 | ></A |
| 2030 | >xmlParserInputBufferRead ()</H3 |
| 2031 | ><TABLE |
| 2032 | BORDER="0" |
| 2033 | BGCOLOR="#D6E8FF" |
| 2034 | WIDTH="100%" |
| 2035 | CELLPADDING="6" |
| 2036 | ><TR |
| 2037 | ><TD |
| 2038 | ><PRE |
| 2039 | CLASS="PROGRAMLISTING" |
| 2040 | >int xmlParserInputBufferRead (<A |
| 2041 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 2042 | >xmlParserInputBufferPtr</A |
| 2043 | > in, |
| 2044 | int len);</PRE |
| 2045 | ></TD |
| 2046 | ></TR |
| 2047 | ></TABLE |
| 2048 | ><P |
| 2049 | >Refresh the content of the input buffer, the old data are considered |
| 2050 | consumed |
| 2051 | This routine handle the I18N transcoding to internal UTF-8</P |
| 2052 | ><P |
| 2053 | ></P |
| 2054 | ><DIV |
| 2055 | CLASS="INFORMALTABLE" |
| 2056 | ><P |
| 2057 | ></P |
| 2058 | ><TABLE |
| 2059 | BORDER="0" |
| 2060 | WIDTH="100%" |
| 2061 | BGCOLOR="#FFD0D0" |
| 2062 | CELLSPACING="0" |
| 2063 | CELLPADDING="4" |
| 2064 | CLASS="CALSTABLE" |
| 2065 | ><TR |
| 2066 | ><TD |
| 2067 | WIDTH="20%" |
| 2068 | ALIGN="RIGHT" |
| 2069 | VALIGN="TOP" |
| 2070 | ><TT |
| 2071 | CLASS="PARAMETER" |
| 2072 | ><I |
| 2073 | >in</I |
| 2074 | ></TT |
| 2075 | > :</TD |
| 2076 | ><TD |
| 2077 | WIDTH="80%" |
| 2078 | ALIGN="LEFT" |
| 2079 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2080 | > a buffered parser input</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2081 | ></TR |
| 2082 | ><TR |
| 2083 | ><TD |
| 2084 | WIDTH="20%" |
| 2085 | ALIGN="RIGHT" |
| 2086 | VALIGN="TOP" |
| 2087 | ><TT |
| 2088 | CLASS="PARAMETER" |
| 2089 | ><I |
| 2090 | >len</I |
| 2091 | ></TT |
| 2092 | > :</TD |
| 2093 | ><TD |
| 2094 | WIDTH="80%" |
| 2095 | ALIGN="LEFT" |
| 2096 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2097 | > indicative value of the amount of chars to read</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2098 | ></TR |
| 2099 | ><TR |
| 2100 | ><TD |
| 2101 | WIDTH="20%" |
| 2102 | ALIGN="RIGHT" |
| 2103 | VALIGN="TOP" |
| 2104 | ><I |
| 2105 | CLASS="EMPHASIS" |
| 2106 | >Returns</I |
| 2107 | > :</TD |
| 2108 | ><TD |
| 2109 | WIDTH="80%" |
| 2110 | ALIGN="LEFT" |
| 2111 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2112 | >the number of chars read and stored in the buffer, or -1 |
| 2113 | in case of error.</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2114 | ></TR |
| 2115 | ></TABLE |
| 2116 | ><P |
| 2117 | ></P |
| 2118 | ></DIV |
| 2119 | ></DIV |
| 2120 | ><HR><DIV |
| 2121 | CLASS="REFSECT2" |
| 2122 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2123 | NAME="AEN14432" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2124 | ></A |
| 2125 | ><H3 |
| 2126 | ><A |
| 2127 | NAME="XMLPARSERINPUTBUFFERGROW" |
| 2128 | ></A |
| 2129 | >xmlParserInputBufferGrow ()</H3 |
| 2130 | ><TABLE |
| 2131 | BORDER="0" |
| 2132 | BGCOLOR="#D6E8FF" |
| 2133 | WIDTH="100%" |
| 2134 | CELLPADDING="6" |
| 2135 | ><TR |
| 2136 | ><TD |
| 2137 | ><PRE |
| 2138 | CLASS="PROGRAMLISTING" |
| 2139 | >int xmlParserInputBufferGrow (<A |
| 2140 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 2141 | >xmlParserInputBufferPtr</A |
| 2142 | > in, |
| 2143 | int len);</PRE |
| 2144 | ></TD |
| 2145 | ></TR |
| 2146 | ></TABLE |
| 2147 | ><P |
| 2148 | >Grow up the content of the input buffer, the old data are preserved |
| 2149 | This routine handle the I18N transcoding to internal UTF-8 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2150 | This routine is used when operating the parser in normal (pull) mode</P |
| 2151 | ><P |
| 2152 | >TODO: one should be able to remove one extra copy by copying directy |
| 2153 | onto in->buffer or in->raw</P |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2154 | ><P |
| 2155 | ></P |
| 2156 | ><DIV |
| 2157 | CLASS="INFORMALTABLE" |
| 2158 | ><P |
| 2159 | ></P |
| 2160 | ><TABLE |
| 2161 | BORDER="0" |
| 2162 | WIDTH="100%" |
| 2163 | BGCOLOR="#FFD0D0" |
| 2164 | CELLSPACING="0" |
| 2165 | CELLPADDING="4" |
| 2166 | CLASS="CALSTABLE" |
| 2167 | ><TR |
| 2168 | ><TD |
| 2169 | WIDTH="20%" |
| 2170 | ALIGN="RIGHT" |
| 2171 | VALIGN="TOP" |
| 2172 | ><TT |
| 2173 | CLASS="PARAMETER" |
| 2174 | ><I |
| 2175 | >in</I |
| 2176 | ></TT |
| 2177 | > :</TD |
| 2178 | ><TD |
| 2179 | WIDTH="80%" |
| 2180 | ALIGN="LEFT" |
| 2181 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2182 | > a buffered parser input</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2183 | ></TR |
| 2184 | ><TR |
| 2185 | ><TD |
| 2186 | WIDTH="20%" |
| 2187 | ALIGN="RIGHT" |
| 2188 | VALIGN="TOP" |
| 2189 | ><TT |
| 2190 | CLASS="PARAMETER" |
| 2191 | ><I |
| 2192 | >len</I |
| 2193 | ></TT |
| 2194 | > :</TD |
| 2195 | ><TD |
| 2196 | WIDTH="80%" |
| 2197 | ALIGN="LEFT" |
| 2198 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2199 | > indicative value of the amount of chars to read</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2200 | ></TR |
| 2201 | ><TR |
| 2202 | ><TD |
| 2203 | WIDTH="20%" |
| 2204 | ALIGN="RIGHT" |
| 2205 | VALIGN="TOP" |
| 2206 | ><I |
| 2207 | CLASS="EMPHASIS" |
| 2208 | >Returns</I |
| 2209 | > :</TD |
| 2210 | ><TD |
| 2211 | WIDTH="80%" |
| 2212 | ALIGN="LEFT" |
| 2213 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2214 | >the number of chars read and stored in the buffer, or -1 |
| 2215 | in case of error.</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2216 | ></TR |
| 2217 | ></TABLE |
| 2218 | ><P |
| 2219 | ></P |
| 2220 | ></DIV |
| 2221 | ></DIV |
| 2222 | ><HR><DIV |
| 2223 | CLASS="REFSECT2" |
| 2224 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2225 | NAME="AEN14457" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2226 | ></A |
| 2227 | ><H3 |
| 2228 | ><A |
| 2229 | NAME="XMLPARSERINPUTBUFFERPUSH" |
| 2230 | ></A |
| 2231 | >xmlParserInputBufferPush ()</H3 |
| 2232 | ><TABLE |
| 2233 | BORDER="0" |
| 2234 | BGCOLOR="#D6E8FF" |
| 2235 | WIDTH="100%" |
| 2236 | CELLPADDING="6" |
| 2237 | ><TR |
| 2238 | ><TD |
| 2239 | ><PRE |
| 2240 | CLASS="PROGRAMLISTING" |
| 2241 | >int xmlParserInputBufferPush (<A |
| 2242 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 2243 | >xmlParserInputBufferPtr</A |
| 2244 | > in, |
| 2245 | int len, |
| 2246 | const char *buf);</PRE |
| 2247 | ></TD |
| 2248 | ></TR |
| 2249 | ></TABLE |
| 2250 | ><P |
| 2251 | >Push the content of the arry in the input buffer |
| 2252 | This routine handle the I18N transcoding to internal UTF-8 |
| 2253 | This is used when operating the parser in progressive (push) mode.</P |
| 2254 | ><P |
| 2255 | ></P |
| 2256 | ><DIV |
| 2257 | CLASS="INFORMALTABLE" |
| 2258 | ><P |
| 2259 | ></P |
| 2260 | ><TABLE |
| 2261 | BORDER="0" |
| 2262 | WIDTH="100%" |
| 2263 | BGCOLOR="#FFD0D0" |
| 2264 | CELLSPACING="0" |
| 2265 | CELLPADDING="4" |
| 2266 | CLASS="CALSTABLE" |
| 2267 | ><TR |
| 2268 | ><TD |
| 2269 | WIDTH="20%" |
| 2270 | ALIGN="RIGHT" |
| 2271 | VALIGN="TOP" |
| 2272 | ><TT |
| 2273 | CLASS="PARAMETER" |
| 2274 | ><I |
| 2275 | >in</I |
| 2276 | ></TT |
| 2277 | > :</TD |
| 2278 | ><TD |
| 2279 | WIDTH="80%" |
| 2280 | ALIGN="LEFT" |
| 2281 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2282 | > a buffered parser input</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2283 | ></TR |
| 2284 | ><TR |
| 2285 | ><TD |
| 2286 | WIDTH="20%" |
| 2287 | ALIGN="RIGHT" |
| 2288 | VALIGN="TOP" |
| 2289 | ><TT |
| 2290 | CLASS="PARAMETER" |
| 2291 | ><I |
| 2292 | >len</I |
| 2293 | ></TT |
| 2294 | > :</TD |
| 2295 | ><TD |
| 2296 | WIDTH="80%" |
| 2297 | ALIGN="LEFT" |
| 2298 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2299 | > the size in bytes of the array.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2300 | ></TR |
| 2301 | ><TR |
| 2302 | ><TD |
| 2303 | WIDTH="20%" |
| 2304 | ALIGN="RIGHT" |
| 2305 | VALIGN="TOP" |
| 2306 | ><TT |
| 2307 | CLASS="PARAMETER" |
| 2308 | ><I |
| 2309 | >buf</I |
| 2310 | ></TT |
| 2311 | > :</TD |
| 2312 | ><TD |
| 2313 | WIDTH="80%" |
| 2314 | ALIGN="LEFT" |
| 2315 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2316 | > an char array</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2317 | ></TR |
| 2318 | ><TR |
| 2319 | ><TD |
| 2320 | WIDTH="20%" |
| 2321 | ALIGN="RIGHT" |
| 2322 | VALIGN="TOP" |
| 2323 | ><I |
| 2324 | CLASS="EMPHASIS" |
| 2325 | >Returns</I |
| 2326 | > :</TD |
| 2327 | ><TD |
| 2328 | WIDTH="80%" |
| 2329 | ALIGN="LEFT" |
| 2330 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2331 | >the number of chars read and stored in the buffer, or -1 |
| 2332 | in case of error.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2333 | ></TR |
| 2334 | ></TABLE |
| 2335 | ><P |
| 2336 | ></P |
| 2337 | ></DIV |
| 2338 | ></DIV |
| 2339 | ><HR><DIV |
| 2340 | CLASS="REFSECT2" |
| 2341 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2342 | NAME="AEN14485" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2343 | ></A |
| 2344 | ><H3 |
| 2345 | ><A |
| 2346 | NAME="XMLFREEPARSERINPUTBUFFER" |
| 2347 | ></A |
| 2348 | >xmlFreeParserInputBuffer ()</H3 |
| 2349 | ><TABLE |
| 2350 | BORDER="0" |
| 2351 | BGCOLOR="#D6E8FF" |
| 2352 | WIDTH="100%" |
| 2353 | CELLPADDING="6" |
| 2354 | ><TR |
| 2355 | ><TD |
| 2356 | ><PRE |
| 2357 | CLASS="PROGRAMLISTING" |
| 2358 | >void xmlFreeParserInputBuffer (<A |
| 2359 | HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR" |
| 2360 | >xmlParserInputBufferPtr</A |
| 2361 | > in);</PRE |
| 2362 | ></TD |
| 2363 | ></TR |
| 2364 | ></TABLE |
| 2365 | ><P |
| 2366 | >Free up the memory used by a buffered parser input</P |
| 2367 | ><P |
| 2368 | ></P |
| 2369 | ><DIV |
| 2370 | CLASS="INFORMALTABLE" |
| 2371 | ><P |
| 2372 | ></P |
| 2373 | ><TABLE |
| 2374 | BORDER="0" |
| 2375 | WIDTH="100%" |
| 2376 | BGCOLOR="#FFD0D0" |
| 2377 | CELLSPACING="0" |
| 2378 | CELLPADDING="4" |
| 2379 | CLASS="CALSTABLE" |
| 2380 | ><TR |
| 2381 | ><TD |
| 2382 | WIDTH="20%" |
| 2383 | ALIGN="RIGHT" |
| 2384 | VALIGN="TOP" |
| 2385 | ><TT |
| 2386 | CLASS="PARAMETER" |
| 2387 | ><I |
| 2388 | >in</I |
| 2389 | ></TT |
| 2390 | > :</TD |
| 2391 | ><TD |
| 2392 | WIDTH="80%" |
| 2393 | ALIGN="LEFT" |
| 2394 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2395 | > a buffered parser input</TD |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2396 | ></TR |
| 2397 | ></TABLE |
| 2398 | ><P |
| 2399 | ></P |
| 2400 | ></DIV |
| 2401 | ></DIV |
| 2402 | ><HR><DIV |
| 2403 | CLASS="REFSECT2" |
| 2404 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2405 | NAME="AEN14501" |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 2406 | ></A |
| 2407 | ><H3 |
| 2408 | ><A |
| 2409 | NAME="XMLPARSERGETDIRECTORY" |
| 2410 | ></A |
| 2411 | >xmlParserGetDirectory ()</H3 |
| 2412 | ><TABLE |
| 2413 | BORDER="0" |
| 2414 | BGCOLOR="#D6E8FF" |
| 2415 | WIDTH="100%" |
| 2416 | CELLPADDING="6" |
| 2417 | ><TR |
| 2418 | ><TD |
| 2419 | ><PRE |
| 2420 | CLASS="PROGRAMLISTING" |
| 2421 | >char* xmlParserGetDirectory (const char *filename);</PRE |
| 2422 | ></TD |
| 2423 | ></TR |
| 2424 | ></TABLE |
| 2425 | ><P |
| 2426 | ></P |
| 2427 | ><DIV |
| 2428 | CLASS="INFORMALTABLE" |
| 2429 | ><P |
| 2430 | ></P |
| 2431 | ><TABLE |
| 2432 | BORDER="0" |
| 2433 | WIDTH="100%" |
| 2434 | BGCOLOR="#FFD0D0" |
| 2435 | CELLSPACING="0" |
| 2436 | CELLPADDING="4" |
| 2437 | CLASS="CALSTABLE" |
| 2438 | ><TR |
| 2439 | ><TD |
| 2440 | WIDTH="20%" |
| 2441 | ALIGN="RIGHT" |
| 2442 | VALIGN="TOP" |
| 2443 | ><TT |
| 2444 | CLASS="PARAMETER" |
| 2445 | ><I |
| 2446 | >filename</I |
| 2447 | ></TT |
| 2448 | > :</TD |
| 2449 | ><TD |
| 2450 | WIDTH="80%" |
| 2451 | ALIGN="LEFT" |
| 2452 | VALIGN="TOP" |
| 2453 | > </TD |
| 2454 | ></TR |
| 2455 | ><TR |
| 2456 | ><TD |
| 2457 | WIDTH="20%" |
| 2458 | ALIGN="RIGHT" |
| 2459 | VALIGN="TOP" |
| 2460 | ><I |
| 2461 | CLASS="EMPHASIS" |
| 2462 | >Returns</I |
| 2463 | > :</TD |
| 2464 | ><TD |
| 2465 | WIDTH="80%" |
| 2466 | ALIGN="LEFT" |
| 2467 | VALIGN="TOP" |
| 2468 | > </TD |
| 2469 | ></TR |
| 2470 | ></TABLE |
| 2471 | ><P |
| 2472 | ></P |
| 2473 | ></DIV |
| 2474 | ></DIV |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2475 | ><HR><DIV |
| 2476 | CLASS="REFSECT2" |
| 2477 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2478 | NAME="AEN14519" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2479 | ></A |
| 2480 | ><H3 |
| 2481 | ><A |
| 2482 | NAME="XMLREGISTERINPUTCALLBACKS" |
| 2483 | ></A |
| 2484 | >xmlRegisterInputCallbacks ()</H3 |
| 2485 | ><TABLE |
| 2486 | BORDER="0" |
| 2487 | BGCOLOR="#D6E8FF" |
| 2488 | WIDTH="100%" |
| 2489 | CELLPADDING="6" |
| 2490 | ><TR |
| 2491 | ><TD |
| 2492 | ><PRE |
| 2493 | CLASS="PROGRAMLISTING" |
| 2494 | >int xmlRegisterInputCallbacks (<A |
| 2495 | HREF="gnome-xml-xmlio.html#XMLINPUTMATCHCALLBACK" |
| 2496 | >xmlInputMatchCallback</A |
| 2497 | > match, |
| 2498 | <A |
| 2499 | HREF="gnome-xml-xmlio.html#XMLINPUTOPENCALLBACK" |
| 2500 | >xmlInputOpenCallback</A |
| 2501 | > open, |
| 2502 | <A |
| 2503 | HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK" |
| 2504 | >xmlInputReadCallback</A |
| 2505 | > read, |
| 2506 | <A |
| 2507 | HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK" |
| 2508 | >xmlInputCloseCallback</A |
| 2509 | > close);</PRE |
| 2510 | ></TD |
| 2511 | ></TR |
| 2512 | ></TABLE |
| 2513 | ><P |
| 2514 | >Register a new set of I/O callback for handling parser input.</P |
| 2515 | ><P |
| 2516 | ></P |
| 2517 | ><DIV |
| 2518 | CLASS="INFORMALTABLE" |
| 2519 | ><P |
| 2520 | ></P |
| 2521 | ><TABLE |
| 2522 | BORDER="0" |
| 2523 | WIDTH="100%" |
| 2524 | BGCOLOR="#FFD0D0" |
| 2525 | CELLSPACING="0" |
| 2526 | CELLPADDING="4" |
| 2527 | CLASS="CALSTABLE" |
| 2528 | ><TR |
| 2529 | ><TD |
| 2530 | WIDTH="20%" |
| 2531 | ALIGN="RIGHT" |
| 2532 | VALIGN="TOP" |
| 2533 | ><TT |
| 2534 | CLASS="PARAMETER" |
| 2535 | ><I |
| 2536 | >match</I |
| 2537 | ></TT |
| 2538 | > :</TD |
| 2539 | ><TD |
| 2540 | WIDTH="80%" |
| 2541 | ALIGN="LEFT" |
| 2542 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2543 | > the xmlInputMatchCallback</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2544 | ></TR |
| 2545 | ><TR |
| 2546 | ><TD |
| 2547 | WIDTH="20%" |
| 2548 | ALIGN="RIGHT" |
| 2549 | VALIGN="TOP" |
| 2550 | ><TT |
| 2551 | CLASS="PARAMETER" |
| 2552 | ><I |
| 2553 | >open</I |
| 2554 | ></TT |
| 2555 | > :</TD |
| 2556 | ><TD |
| 2557 | WIDTH="80%" |
| 2558 | ALIGN="LEFT" |
| 2559 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2560 | > the xmlInputOpenCallback</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2561 | ></TR |
| 2562 | ><TR |
| 2563 | ><TD |
| 2564 | WIDTH="20%" |
| 2565 | ALIGN="RIGHT" |
| 2566 | VALIGN="TOP" |
| 2567 | ><TT |
| 2568 | CLASS="PARAMETER" |
| 2569 | ><I |
| 2570 | >read</I |
| 2571 | ></TT |
| 2572 | > :</TD |
| 2573 | ><TD |
| 2574 | WIDTH="80%" |
| 2575 | ALIGN="LEFT" |
| 2576 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2577 | > the xmlInputReadCallback</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2578 | ></TR |
| 2579 | ><TR |
| 2580 | ><TD |
| 2581 | WIDTH="20%" |
| 2582 | ALIGN="RIGHT" |
| 2583 | VALIGN="TOP" |
| 2584 | ><TT |
| 2585 | CLASS="PARAMETER" |
| 2586 | ><I |
| 2587 | >close</I |
| 2588 | ></TT |
| 2589 | > :</TD |
| 2590 | ><TD |
| 2591 | WIDTH="80%" |
| 2592 | ALIGN="LEFT" |
| 2593 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2594 | > the xmlInputCloseCallback</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2595 | ></TR |
| 2596 | ><TR |
| 2597 | ><TD |
| 2598 | WIDTH="20%" |
| 2599 | ALIGN="RIGHT" |
| 2600 | VALIGN="TOP" |
| 2601 | ><I |
| 2602 | CLASS="EMPHASIS" |
| 2603 | >Returns</I |
| 2604 | > :</TD |
| 2605 | ><TD |
| 2606 | WIDTH="80%" |
| 2607 | ALIGN="LEFT" |
| 2608 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2609 | >the registered handler number or -1 in case of error</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2610 | ></TR |
| 2611 | ></TABLE |
| 2612 | ><P |
| 2613 | ></P |
| 2614 | ></DIV |
| 2615 | ></DIV |
| 2616 | ><HR><DIV |
| 2617 | CLASS="REFSECT2" |
| 2618 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2619 | NAME="AEN14554" |
Daniel Veillard | 7e99c63 | 2000-10-06 12:59:53 +0000 | [diff] [blame] | 2620 | ></A |
| 2621 | ><H3 |
| 2622 | ><A |
| 2623 | NAME="XMLREGISTERDEFAULTOUTPUTCALLBACKS" |
| 2624 | ></A |
| 2625 | >xmlRegisterDefaultOutputCallbacks ()</H3 |
| 2626 | ><TABLE |
| 2627 | BORDER="0" |
| 2628 | BGCOLOR="#D6E8FF" |
| 2629 | WIDTH="100%" |
| 2630 | CELLPADDING="6" |
| 2631 | ><TR |
| 2632 | ><TD |
| 2633 | ><PRE |
| 2634 | CLASS="PROGRAMLISTING" |
| 2635 | >void xmlRegisterDefaultOutputCallbacks |
| 2636 | (void);</PRE |
| 2637 | ></TD |
| 2638 | ></TR |
| 2639 | ></TABLE |
| 2640 | ><P |
| 2641 | >Registers the default compiled-in I/O handlers.</P |
| 2642 | ><P |
| 2643 | ></P |
| 2644 | ></DIV |
| 2645 | ><HR><DIV |
| 2646 | CLASS="REFSECT2" |
| 2647 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2648 | NAME="AEN14560" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2649 | ></A |
| 2650 | ><H3 |
| 2651 | ><A |
| 2652 | NAME="XMLALLOCOUTPUTBUFFER" |
| 2653 | ></A |
| 2654 | >xmlAllocOutputBuffer ()</H3 |
| 2655 | ><TABLE |
| 2656 | BORDER="0" |
| 2657 | BGCOLOR="#D6E8FF" |
| 2658 | WIDTH="100%" |
| 2659 | CELLPADDING="6" |
| 2660 | ><TR |
| 2661 | ><TD |
| 2662 | ><PRE |
| 2663 | CLASS="PROGRAMLISTING" |
| 2664 | ><A |
| 2665 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 2666 | >xmlOutputBufferPtr</A |
| 2667 | > xmlAllocOutputBuffer (<A |
| 2668 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 2669 | >xmlCharEncodingHandlerPtr</A |
| 2670 | > encoder);</PRE |
| 2671 | ></TD |
| 2672 | ></TR |
| 2673 | ></TABLE |
| 2674 | ><P |
| 2675 | >Create a buffered parser output</P |
| 2676 | ><P |
| 2677 | ></P |
| 2678 | ><DIV |
| 2679 | CLASS="INFORMALTABLE" |
| 2680 | ><P |
| 2681 | ></P |
| 2682 | ><TABLE |
| 2683 | BORDER="0" |
| 2684 | WIDTH="100%" |
| 2685 | BGCOLOR="#FFD0D0" |
| 2686 | CELLSPACING="0" |
| 2687 | CELLPADDING="4" |
| 2688 | CLASS="CALSTABLE" |
| 2689 | ><TR |
| 2690 | ><TD |
| 2691 | WIDTH="20%" |
| 2692 | ALIGN="RIGHT" |
| 2693 | VALIGN="TOP" |
| 2694 | ><TT |
| 2695 | CLASS="PARAMETER" |
| 2696 | ><I |
| 2697 | >encoder</I |
| 2698 | ></TT |
| 2699 | > :</TD |
| 2700 | ><TD |
| 2701 | WIDTH="80%" |
| 2702 | ALIGN="LEFT" |
| 2703 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2704 | > the encoding converter or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2705 | ></TR |
| 2706 | ><TR |
| 2707 | ><TD |
| 2708 | WIDTH="20%" |
| 2709 | ALIGN="RIGHT" |
| 2710 | VALIGN="TOP" |
| 2711 | ><I |
| 2712 | CLASS="EMPHASIS" |
| 2713 | >Returns</I |
| 2714 | > :</TD |
| 2715 | ><TD |
| 2716 | WIDTH="80%" |
| 2717 | ALIGN="LEFT" |
| 2718 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2719 | >the new parser output or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2720 | ></TR |
| 2721 | ></TABLE |
| 2722 | ><P |
| 2723 | ></P |
| 2724 | ></DIV |
| 2725 | ></DIV |
| 2726 | ><HR><DIV |
| 2727 | CLASS="REFSECT2" |
| 2728 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2729 | NAME="AEN14581" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2730 | ></A |
| 2731 | ><H3 |
| 2732 | ><A |
| 2733 | NAME="XMLOUTPUTBUFFERCREATEFILENAME" |
| 2734 | ></A |
| 2735 | >xmlOutputBufferCreateFilename ()</H3 |
| 2736 | ><TABLE |
| 2737 | BORDER="0" |
| 2738 | BGCOLOR="#D6E8FF" |
| 2739 | WIDTH="100%" |
| 2740 | CELLPADDING="6" |
| 2741 | ><TR |
| 2742 | ><TD |
| 2743 | ><PRE |
| 2744 | CLASS="PROGRAMLISTING" |
| 2745 | ><A |
| 2746 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 2747 | >xmlOutputBufferPtr</A |
| 2748 | > xmlOutputBufferCreateFilename |
| 2749 | (const char *URI, |
| 2750 | <A |
| 2751 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 2752 | >xmlCharEncodingHandlerPtr</A |
| 2753 | > encoder, |
| 2754 | int compression);</PRE |
| 2755 | ></TD |
| 2756 | ></TR |
| 2757 | ></TABLE |
| 2758 | ><P |
| 2759 | >Create a buffered output for the progressive saving of a file |
| 2760 | If filename is "-' then we use stdout as the output. |
| 2761 | Automatic support for ZLIB/Compress compressed document is provided |
| 2762 | by default if found at compile-time. |
| 2763 | TODO: currently if compression is set, the library only support |
| 2764 | writing to a local file.</P |
| 2765 | ><P |
| 2766 | ></P |
| 2767 | ><DIV |
| 2768 | CLASS="INFORMALTABLE" |
| 2769 | ><P |
| 2770 | ></P |
| 2771 | ><TABLE |
| 2772 | BORDER="0" |
| 2773 | WIDTH="100%" |
| 2774 | BGCOLOR="#FFD0D0" |
| 2775 | CELLSPACING="0" |
| 2776 | CELLPADDING="4" |
| 2777 | CLASS="CALSTABLE" |
| 2778 | ><TR |
| 2779 | ><TD |
| 2780 | WIDTH="20%" |
| 2781 | ALIGN="RIGHT" |
| 2782 | VALIGN="TOP" |
| 2783 | ><TT |
| 2784 | CLASS="PARAMETER" |
| 2785 | ><I |
| 2786 | >URI</I |
| 2787 | ></TT |
| 2788 | > :</TD |
| 2789 | ><TD |
| 2790 | WIDTH="80%" |
| 2791 | ALIGN="LEFT" |
| 2792 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2793 | > a C string containing the URI or filename</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2794 | ></TR |
| 2795 | ><TR |
| 2796 | ><TD |
| 2797 | WIDTH="20%" |
| 2798 | ALIGN="RIGHT" |
| 2799 | VALIGN="TOP" |
| 2800 | ><TT |
| 2801 | CLASS="PARAMETER" |
| 2802 | ><I |
| 2803 | >encoder</I |
| 2804 | ></TT |
| 2805 | > :</TD |
| 2806 | ><TD |
| 2807 | WIDTH="80%" |
| 2808 | ALIGN="LEFT" |
| 2809 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2810 | > the encoding converter or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2811 | ></TR |
| 2812 | ><TR |
| 2813 | ><TD |
| 2814 | WIDTH="20%" |
| 2815 | ALIGN="RIGHT" |
| 2816 | VALIGN="TOP" |
| 2817 | ><TT |
| 2818 | CLASS="PARAMETER" |
| 2819 | ><I |
| 2820 | >compression</I |
| 2821 | ></TT |
| 2822 | > :</TD |
| 2823 | ><TD |
| 2824 | WIDTH="80%" |
| 2825 | ALIGN="LEFT" |
| 2826 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2827 | > the compression ration (0 none, 9 max).</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2828 | ></TR |
| 2829 | ><TR |
| 2830 | ><TD |
| 2831 | WIDTH="20%" |
| 2832 | ALIGN="RIGHT" |
| 2833 | VALIGN="TOP" |
| 2834 | ><I |
| 2835 | CLASS="EMPHASIS" |
| 2836 | >Returns</I |
| 2837 | > :</TD |
| 2838 | ><TD |
| 2839 | WIDTH="80%" |
| 2840 | ALIGN="LEFT" |
| 2841 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2842 | >the new output or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2843 | ></TR |
| 2844 | ></TABLE |
| 2845 | ><P |
| 2846 | ></P |
| 2847 | ></DIV |
| 2848 | ></DIV |
| 2849 | ><HR><DIV |
| 2850 | CLASS="REFSECT2" |
| 2851 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2852 | NAME="AEN14610" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2853 | ></A |
| 2854 | ><H3 |
| 2855 | ><A |
| 2856 | NAME="XMLOUTPUTBUFFERCREATEFILE" |
| 2857 | ></A |
| 2858 | >xmlOutputBufferCreateFile ()</H3 |
| 2859 | ><TABLE |
| 2860 | BORDER="0" |
| 2861 | BGCOLOR="#D6E8FF" |
| 2862 | WIDTH="100%" |
| 2863 | CELLPADDING="6" |
| 2864 | ><TR |
| 2865 | ><TD |
| 2866 | ><PRE |
| 2867 | CLASS="PROGRAMLISTING" |
| 2868 | ><A |
| 2869 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 2870 | >xmlOutputBufferPtr</A |
| 2871 | > xmlOutputBufferCreateFile |
| 2872 | (<GTKDOCLINK |
| 2873 | HREF="FILE" |
| 2874 | >FILE</GTKDOCLINK |
| 2875 | > *file, |
| 2876 | <A |
| 2877 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 2878 | >xmlCharEncodingHandlerPtr</A |
| 2879 | > encoder);</PRE |
| 2880 | ></TD |
| 2881 | ></TR |
| 2882 | ></TABLE |
| 2883 | ><P |
| 2884 | >Create a buffered output for the progressive saving to a FILE * |
| 2885 | buffered C I/O</P |
| 2886 | ><P |
| 2887 | ></P |
| 2888 | ><DIV |
| 2889 | CLASS="INFORMALTABLE" |
| 2890 | ><P |
| 2891 | ></P |
| 2892 | ><TABLE |
| 2893 | BORDER="0" |
| 2894 | WIDTH="100%" |
| 2895 | BGCOLOR="#FFD0D0" |
| 2896 | CELLSPACING="0" |
| 2897 | CELLPADDING="4" |
| 2898 | CLASS="CALSTABLE" |
| 2899 | ><TR |
| 2900 | ><TD |
| 2901 | WIDTH="20%" |
| 2902 | ALIGN="RIGHT" |
| 2903 | VALIGN="TOP" |
| 2904 | ><TT |
| 2905 | CLASS="PARAMETER" |
| 2906 | ><I |
| 2907 | >file</I |
| 2908 | ></TT |
| 2909 | > :</TD |
| 2910 | ><TD |
| 2911 | WIDTH="80%" |
| 2912 | ALIGN="LEFT" |
| 2913 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2914 | > a FILE* </TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2915 | ></TR |
| 2916 | ><TR |
| 2917 | ><TD |
| 2918 | WIDTH="20%" |
| 2919 | ALIGN="RIGHT" |
| 2920 | VALIGN="TOP" |
| 2921 | ><TT |
| 2922 | CLASS="PARAMETER" |
| 2923 | ><I |
| 2924 | >encoder</I |
| 2925 | ></TT |
| 2926 | > :</TD |
| 2927 | ><TD |
| 2928 | WIDTH="80%" |
| 2929 | ALIGN="LEFT" |
| 2930 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2931 | > the encoding converter or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2932 | ></TR |
| 2933 | ><TR |
| 2934 | ><TD |
| 2935 | WIDTH="20%" |
| 2936 | ALIGN="RIGHT" |
| 2937 | VALIGN="TOP" |
| 2938 | ><I |
| 2939 | CLASS="EMPHASIS" |
| 2940 | >Returns</I |
| 2941 | > :</TD |
| 2942 | ><TD |
| 2943 | WIDTH="80%" |
| 2944 | ALIGN="LEFT" |
| 2945 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 2946 | >the new parser output or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2947 | ></TR |
| 2948 | ></TABLE |
| 2949 | ><P |
| 2950 | ></P |
| 2951 | ></DIV |
| 2952 | ></DIV |
| 2953 | ><HR><DIV |
| 2954 | CLASS="REFSECT2" |
| 2955 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 2956 | NAME="AEN14636" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 2957 | ></A |
| 2958 | ><H3 |
| 2959 | ><A |
| 2960 | NAME="XMLOUTPUTBUFFERCREATEFD" |
| 2961 | ></A |
| 2962 | >xmlOutputBufferCreateFd ()</H3 |
| 2963 | ><TABLE |
| 2964 | BORDER="0" |
| 2965 | BGCOLOR="#D6E8FF" |
| 2966 | WIDTH="100%" |
| 2967 | CELLPADDING="6" |
| 2968 | ><TR |
| 2969 | ><TD |
| 2970 | ><PRE |
| 2971 | CLASS="PROGRAMLISTING" |
| 2972 | ><A |
| 2973 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 2974 | >xmlOutputBufferPtr</A |
| 2975 | > xmlOutputBufferCreateFd (int fd, |
| 2976 | <A |
| 2977 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 2978 | >xmlCharEncodingHandlerPtr</A |
| 2979 | > encoder);</PRE |
| 2980 | ></TD |
| 2981 | ></TR |
| 2982 | ></TABLE |
| 2983 | ><P |
| 2984 | >Create a buffered output for the progressive saving |
| 2985 | to a file descriptor</P |
| 2986 | ><P |
| 2987 | ></P |
| 2988 | ><DIV |
| 2989 | CLASS="INFORMALTABLE" |
| 2990 | ><P |
| 2991 | ></P |
| 2992 | ><TABLE |
| 2993 | BORDER="0" |
| 2994 | WIDTH="100%" |
| 2995 | BGCOLOR="#FFD0D0" |
| 2996 | CELLSPACING="0" |
| 2997 | CELLPADDING="4" |
| 2998 | CLASS="CALSTABLE" |
| 2999 | ><TR |
| 3000 | ><TD |
| 3001 | WIDTH="20%" |
| 3002 | ALIGN="RIGHT" |
| 3003 | VALIGN="TOP" |
| 3004 | ><TT |
| 3005 | CLASS="PARAMETER" |
| 3006 | ><I |
| 3007 | >fd</I |
| 3008 | ></TT |
| 3009 | > :</TD |
| 3010 | ><TD |
| 3011 | WIDTH="80%" |
| 3012 | ALIGN="LEFT" |
| 3013 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3014 | > a file descriptor number</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3015 | ></TR |
| 3016 | ><TR |
| 3017 | ><TD |
| 3018 | WIDTH="20%" |
| 3019 | ALIGN="RIGHT" |
| 3020 | VALIGN="TOP" |
| 3021 | ><TT |
| 3022 | CLASS="PARAMETER" |
| 3023 | ><I |
| 3024 | >encoder</I |
| 3025 | ></TT |
| 3026 | > :</TD |
| 3027 | ><TD |
| 3028 | WIDTH="80%" |
| 3029 | ALIGN="LEFT" |
| 3030 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3031 | > the encoding converter or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3032 | ></TR |
| 3033 | ><TR |
| 3034 | ><TD |
| 3035 | WIDTH="20%" |
| 3036 | ALIGN="RIGHT" |
| 3037 | VALIGN="TOP" |
| 3038 | ><I |
| 3039 | CLASS="EMPHASIS" |
| 3040 | >Returns</I |
| 3041 | > :</TD |
| 3042 | ><TD |
| 3043 | WIDTH="80%" |
| 3044 | ALIGN="LEFT" |
| 3045 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3046 | >the new parser output or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3047 | ></TR |
| 3048 | ></TABLE |
| 3049 | ><P |
| 3050 | ></P |
| 3051 | ></DIV |
| 3052 | ></DIV |
| 3053 | ><HR><DIV |
| 3054 | CLASS="REFSECT2" |
| 3055 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3056 | NAME="AEN14661" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3057 | ></A |
| 3058 | ><H3 |
| 3059 | ><A |
| 3060 | NAME="XMLOUTPUTBUFFERCREATEIO" |
| 3061 | ></A |
| 3062 | >xmlOutputBufferCreateIO ()</H3 |
| 3063 | ><TABLE |
| 3064 | BORDER="0" |
| 3065 | BGCOLOR="#D6E8FF" |
| 3066 | WIDTH="100%" |
| 3067 | CELLPADDING="6" |
| 3068 | ><TR |
| 3069 | ><TD |
| 3070 | ><PRE |
| 3071 | CLASS="PROGRAMLISTING" |
| 3072 | ><A |
| 3073 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 3074 | >xmlOutputBufferPtr</A |
| 3075 | > xmlOutputBufferCreateIO (<A |
| 3076 | HREF="gnome-xml-xmlio.html#XMLOUTPUTWRITECALLBACK" |
| 3077 | >xmlOutputWriteCallback</A |
| 3078 | > iowrite, |
| 3079 | <A |
| 3080 | HREF="gnome-xml-xmlio.html#XMLOUTPUTCLOSECALLBACK" |
| 3081 | >xmlOutputCloseCallback</A |
| 3082 | > ioclose, |
| 3083 | void *ioctx, |
| 3084 | <A |
| 3085 | HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR" |
| 3086 | >xmlCharEncodingHandlerPtr</A |
| 3087 | > encoder);</PRE |
| 3088 | ></TD |
| 3089 | ></TR |
| 3090 | ></TABLE |
| 3091 | ><P |
| 3092 | >Create a buffered output for the progressive saving |
| 3093 | to an I/O handler</P |
| 3094 | ><P |
| 3095 | ></P |
| 3096 | ><DIV |
| 3097 | CLASS="INFORMALTABLE" |
| 3098 | ><P |
| 3099 | ></P |
| 3100 | ><TABLE |
| 3101 | BORDER="0" |
| 3102 | WIDTH="100%" |
| 3103 | BGCOLOR="#FFD0D0" |
| 3104 | CELLSPACING="0" |
| 3105 | CELLPADDING="4" |
| 3106 | CLASS="CALSTABLE" |
| 3107 | ><TR |
| 3108 | ><TD |
| 3109 | WIDTH="20%" |
| 3110 | ALIGN="RIGHT" |
| 3111 | VALIGN="TOP" |
| 3112 | ><TT |
| 3113 | CLASS="PARAMETER" |
| 3114 | ><I |
| 3115 | >iowrite</I |
| 3116 | ></TT |
| 3117 | > :</TD |
| 3118 | ><TD |
| 3119 | WIDTH="80%" |
| 3120 | ALIGN="LEFT" |
| 3121 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3122 | > an I/O write function</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3123 | ></TR |
| 3124 | ><TR |
| 3125 | ><TD |
| 3126 | WIDTH="20%" |
| 3127 | ALIGN="RIGHT" |
| 3128 | VALIGN="TOP" |
| 3129 | ><TT |
| 3130 | CLASS="PARAMETER" |
| 3131 | ><I |
| 3132 | >ioclose</I |
| 3133 | ></TT |
| 3134 | > :</TD |
| 3135 | ><TD |
| 3136 | WIDTH="80%" |
| 3137 | ALIGN="LEFT" |
| 3138 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3139 | > an I/O close function</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3140 | ></TR |
| 3141 | ><TR |
| 3142 | ><TD |
| 3143 | WIDTH="20%" |
| 3144 | ALIGN="RIGHT" |
| 3145 | VALIGN="TOP" |
| 3146 | ><TT |
| 3147 | CLASS="PARAMETER" |
| 3148 | ><I |
| 3149 | >ioctx</I |
| 3150 | ></TT |
| 3151 | > :</TD |
| 3152 | ><TD |
| 3153 | WIDTH="80%" |
| 3154 | ALIGN="LEFT" |
| 3155 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3156 | > an I/O handler</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3157 | ></TR |
| 3158 | ><TR |
| 3159 | ><TD |
| 3160 | WIDTH="20%" |
| 3161 | ALIGN="RIGHT" |
| 3162 | VALIGN="TOP" |
| 3163 | ><TT |
| 3164 | CLASS="PARAMETER" |
| 3165 | ><I |
| 3166 | >encoder</I |
| 3167 | ></TT |
| 3168 | > :</TD |
| 3169 | ><TD |
| 3170 | WIDTH="80%" |
| 3171 | ALIGN="LEFT" |
| 3172 | VALIGN="TOP" |
| 3173 | > </TD |
| 3174 | ></TR |
| 3175 | ><TR |
| 3176 | ><TD |
| 3177 | WIDTH="20%" |
| 3178 | ALIGN="RIGHT" |
| 3179 | VALIGN="TOP" |
| 3180 | ><I |
| 3181 | CLASS="EMPHASIS" |
| 3182 | >Returns</I |
| 3183 | > :</TD |
| 3184 | ><TD |
| 3185 | WIDTH="80%" |
| 3186 | ALIGN="LEFT" |
| 3187 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3188 | >the new parser output or NULL</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3189 | ></TR |
| 3190 | ></TABLE |
| 3191 | ><P |
| 3192 | ></P |
| 3193 | ></DIV |
| 3194 | ></DIV |
| 3195 | ><HR><DIV |
| 3196 | CLASS="REFSECT2" |
| 3197 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3198 | NAME="AEN14696" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3199 | ></A |
| 3200 | ><H3 |
| 3201 | ><A |
| 3202 | NAME="XMLOUTPUTBUFFERWRITE" |
| 3203 | ></A |
| 3204 | >xmlOutputBufferWrite ()</H3 |
| 3205 | ><TABLE |
| 3206 | BORDER="0" |
| 3207 | BGCOLOR="#D6E8FF" |
| 3208 | WIDTH="100%" |
| 3209 | CELLPADDING="6" |
| 3210 | ><TR |
| 3211 | ><TD |
| 3212 | ><PRE |
| 3213 | CLASS="PROGRAMLISTING" |
| 3214 | >int xmlOutputBufferWrite (<A |
| 3215 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 3216 | >xmlOutputBufferPtr</A |
| 3217 | > out, |
| 3218 | int len, |
| 3219 | const char *buf);</PRE |
| 3220 | ></TD |
| 3221 | ></TR |
| 3222 | ></TABLE |
| 3223 | ><P |
| 3224 | >Write the content of the array in the output I/O buffer |
| 3225 | This routine handle the I18N transcoding from internal UTF-8 |
| 3226 | The buffer is lossless, i.e. will store in case of partial |
| 3227 | or delayed writes.</P |
| 3228 | ><P |
| 3229 | ></P |
| 3230 | ><DIV |
| 3231 | CLASS="INFORMALTABLE" |
| 3232 | ><P |
| 3233 | ></P |
| 3234 | ><TABLE |
| 3235 | BORDER="0" |
| 3236 | WIDTH="100%" |
| 3237 | BGCOLOR="#FFD0D0" |
| 3238 | CELLSPACING="0" |
| 3239 | CELLPADDING="4" |
| 3240 | CLASS="CALSTABLE" |
| 3241 | ><TR |
| 3242 | ><TD |
| 3243 | WIDTH="20%" |
| 3244 | ALIGN="RIGHT" |
| 3245 | VALIGN="TOP" |
| 3246 | ><TT |
| 3247 | CLASS="PARAMETER" |
| 3248 | ><I |
| 3249 | >out</I |
| 3250 | ></TT |
| 3251 | > :</TD |
| 3252 | ><TD |
| 3253 | WIDTH="80%" |
| 3254 | ALIGN="LEFT" |
| 3255 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3256 | > a buffered parser output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3257 | ></TR |
| 3258 | ><TR |
| 3259 | ><TD |
| 3260 | WIDTH="20%" |
| 3261 | ALIGN="RIGHT" |
| 3262 | VALIGN="TOP" |
| 3263 | ><TT |
| 3264 | CLASS="PARAMETER" |
| 3265 | ><I |
| 3266 | >len</I |
| 3267 | ></TT |
| 3268 | > :</TD |
| 3269 | ><TD |
| 3270 | WIDTH="80%" |
| 3271 | ALIGN="LEFT" |
| 3272 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3273 | > the size in bytes of the array.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3274 | ></TR |
| 3275 | ><TR |
| 3276 | ><TD |
| 3277 | WIDTH="20%" |
| 3278 | ALIGN="RIGHT" |
| 3279 | VALIGN="TOP" |
| 3280 | ><TT |
| 3281 | CLASS="PARAMETER" |
| 3282 | ><I |
| 3283 | >buf</I |
| 3284 | ></TT |
| 3285 | > :</TD |
| 3286 | ><TD |
| 3287 | WIDTH="80%" |
| 3288 | ALIGN="LEFT" |
| 3289 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3290 | > an char array</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3291 | ></TR |
| 3292 | ><TR |
| 3293 | ><TD |
| 3294 | WIDTH="20%" |
| 3295 | ALIGN="RIGHT" |
| 3296 | VALIGN="TOP" |
| 3297 | ><I |
| 3298 | CLASS="EMPHASIS" |
| 3299 | >Returns</I |
| 3300 | > :</TD |
| 3301 | ><TD |
| 3302 | WIDTH="80%" |
| 3303 | ALIGN="LEFT" |
| 3304 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3305 | >the number of chars immediately written, or -1 |
| 3306 | in case of error.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3307 | ></TR |
| 3308 | ></TABLE |
| 3309 | ><P |
| 3310 | ></P |
| 3311 | ></DIV |
| 3312 | ></DIV |
| 3313 | ><HR><DIV |
| 3314 | CLASS="REFSECT2" |
| 3315 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3316 | NAME="AEN14724" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3317 | ></A |
| 3318 | ><H3 |
| 3319 | ><A |
| 3320 | NAME="XMLOUTPUTBUFFERWRITESTRING" |
| 3321 | ></A |
| 3322 | >xmlOutputBufferWriteString ()</H3 |
| 3323 | ><TABLE |
| 3324 | BORDER="0" |
| 3325 | BGCOLOR="#D6E8FF" |
| 3326 | WIDTH="100%" |
| 3327 | CELLPADDING="6" |
| 3328 | ><TR |
| 3329 | ><TD |
| 3330 | ><PRE |
| 3331 | CLASS="PROGRAMLISTING" |
| 3332 | >int xmlOutputBufferWriteString (<A |
| 3333 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 3334 | >xmlOutputBufferPtr</A |
| 3335 | > out, |
| 3336 | const char *str);</PRE |
| 3337 | ></TD |
| 3338 | ></TR |
| 3339 | ></TABLE |
| 3340 | ><P |
| 3341 | >Write the content of the string in the output I/O buffer |
| 3342 | This routine handle the I18N transcoding from internal UTF-8 |
| 3343 | The buffer is lossless, i.e. will store in case of partial |
| 3344 | or delayed writes.</P |
| 3345 | ><P |
| 3346 | ></P |
| 3347 | ><DIV |
| 3348 | CLASS="INFORMALTABLE" |
| 3349 | ><P |
| 3350 | ></P |
| 3351 | ><TABLE |
| 3352 | BORDER="0" |
| 3353 | WIDTH="100%" |
| 3354 | BGCOLOR="#FFD0D0" |
| 3355 | CELLSPACING="0" |
| 3356 | CELLPADDING="4" |
| 3357 | CLASS="CALSTABLE" |
| 3358 | ><TR |
| 3359 | ><TD |
| 3360 | WIDTH="20%" |
| 3361 | ALIGN="RIGHT" |
| 3362 | VALIGN="TOP" |
| 3363 | ><TT |
| 3364 | CLASS="PARAMETER" |
| 3365 | ><I |
| 3366 | >out</I |
| 3367 | ></TT |
| 3368 | > :</TD |
| 3369 | ><TD |
| 3370 | WIDTH="80%" |
| 3371 | ALIGN="LEFT" |
| 3372 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3373 | > a buffered parser output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3374 | ></TR |
| 3375 | ><TR |
| 3376 | ><TD |
| 3377 | WIDTH="20%" |
| 3378 | ALIGN="RIGHT" |
| 3379 | VALIGN="TOP" |
| 3380 | ><TT |
| 3381 | CLASS="PARAMETER" |
| 3382 | ><I |
| 3383 | >str</I |
| 3384 | ></TT |
| 3385 | > :</TD |
| 3386 | ><TD |
| 3387 | WIDTH="80%" |
| 3388 | ALIGN="LEFT" |
| 3389 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3390 | > a zero terminated C string</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3391 | ></TR |
| 3392 | ><TR |
| 3393 | ><TD |
| 3394 | WIDTH="20%" |
| 3395 | ALIGN="RIGHT" |
| 3396 | VALIGN="TOP" |
| 3397 | ><I |
| 3398 | CLASS="EMPHASIS" |
| 3399 | >Returns</I |
| 3400 | > :</TD |
| 3401 | ><TD |
| 3402 | WIDTH="80%" |
| 3403 | ALIGN="LEFT" |
| 3404 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3405 | >the number of chars immediately written, or -1 |
| 3406 | in case of error.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3407 | ></TR |
| 3408 | ></TABLE |
| 3409 | ><P |
| 3410 | ></P |
| 3411 | ></DIV |
| 3412 | ></DIV |
| 3413 | ><HR><DIV |
| 3414 | CLASS="REFSECT2" |
| 3415 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3416 | NAME="AEN14748" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3417 | ></A |
| 3418 | ><H3 |
| 3419 | ><A |
| 3420 | NAME="XMLOUTPUTBUFFERFLUSH" |
| 3421 | ></A |
| 3422 | >xmlOutputBufferFlush ()</H3 |
| 3423 | ><TABLE |
| 3424 | BORDER="0" |
| 3425 | BGCOLOR="#D6E8FF" |
| 3426 | WIDTH="100%" |
| 3427 | CELLPADDING="6" |
| 3428 | ><TR |
| 3429 | ><TD |
| 3430 | ><PRE |
| 3431 | CLASS="PROGRAMLISTING" |
| 3432 | >int xmlOutputBufferFlush (<A |
| 3433 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 3434 | >xmlOutputBufferPtr</A |
| 3435 | > out);</PRE |
| 3436 | ></TD |
| 3437 | ></TR |
| 3438 | ></TABLE |
| 3439 | ><P |
| 3440 | >flushes the output I/O channel</P |
| 3441 | ><P |
| 3442 | ></P |
| 3443 | ><DIV |
| 3444 | CLASS="INFORMALTABLE" |
| 3445 | ><P |
| 3446 | ></P |
| 3447 | ><TABLE |
| 3448 | BORDER="0" |
| 3449 | WIDTH="100%" |
| 3450 | BGCOLOR="#FFD0D0" |
| 3451 | CELLSPACING="0" |
| 3452 | CELLPADDING="4" |
| 3453 | CLASS="CALSTABLE" |
| 3454 | ><TR |
| 3455 | ><TD |
| 3456 | WIDTH="20%" |
| 3457 | ALIGN="RIGHT" |
| 3458 | VALIGN="TOP" |
| 3459 | ><TT |
| 3460 | CLASS="PARAMETER" |
| 3461 | ><I |
| 3462 | >out</I |
| 3463 | ></TT |
| 3464 | > :</TD |
| 3465 | ><TD |
| 3466 | WIDTH="80%" |
| 3467 | ALIGN="LEFT" |
| 3468 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3469 | > a buffered output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3470 | ></TR |
| 3471 | ><TR |
| 3472 | ><TD |
| 3473 | WIDTH="20%" |
| 3474 | ALIGN="RIGHT" |
| 3475 | VALIGN="TOP" |
| 3476 | ><I |
| 3477 | CLASS="EMPHASIS" |
| 3478 | >Returns</I |
| 3479 | > :</TD |
| 3480 | ><TD |
| 3481 | WIDTH="80%" |
| 3482 | ALIGN="LEFT" |
| 3483 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3484 | >the number of byte written or -1 in case of error.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3485 | ></TR |
| 3486 | ></TABLE |
| 3487 | ><P |
| 3488 | ></P |
| 3489 | ></DIV |
| 3490 | ></DIV |
| 3491 | ><HR><DIV |
| 3492 | CLASS="REFSECT2" |
| 3493 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3494 | NAME="AEN14768" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3495 | ></A |
| 3496 | ><H3 |
| 3497 | ><A |
| 3498 | NAME="XMLOUTPUTBUFFERCLOSE" |
| 3499 | ></A |
| 3500 | >xmlOutputBufferClose ()</H3 |
| 3501 | ><TABLE |
| 3502 | BORDER="0" |
| 3503 | BGCOLOR="#D6E8FF" |
| 3504 | WIDTH="100%" |
| 3505 | CELLPADDING="6" |
| 3506 | ><TR |
| 3507 | ><TD |
| 3508 | ><PRE |
| 3509 | CLASS="PROGRAMLISTING" |
| 3510 | >int xmlOutputBufferClose (<A |
| 3511 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 3512 | >xmlOutputBufferPtr</A |
| 3513 | > out);</PRE |
| 3514 | ></TD |
| 3515 | ></TR |
| 3516 | ></TABLE |
| 3517 | ><P |
| 3518 | >flushes and close the output I/O channel |
| 3519 | and free up all the associated resources</P |
| 3520 | ><P |
| 3521 | ></P |
| 3522 | ><DIV |
| 3523 | CLASS="INFORMALTABLE" |
| 3524 | ><P |
| 3525 | ></P |
| 3526 | ><TABLE |
| 3527 | BORDER="0" |
| 3528 | WIDTH="100%" |
| 3529 | BGCOLOR="#FFD0D0" |
| 3530 | CELLSPACING="0" |
| 3531 | CELLPADDING="4" |
| 3532 | CLASS="CALSTABLE" |
| 3533 | ><TR |
| 3534 | ><TD |
| 3535 | WIDTH="20%" |
| 3536 | ALIGN="RIGHT" |
| 3537 | VALIGN="TOP" |
| 3538 | ><TT |
| 3539 | CLASS="PARAMETER" |
| 3540 | ><I |
| 3541 | >out</I |
| 3542 | ></TT |
| 3543 | > :</TD |
| 3544 | ><TD |
| 3545 | WIDTH="80%" |
| 3546 | ALIGN="LEFT" |
| 3547 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3548 | > a buffered output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3549 | ></TR |
| 3550 | ><TR |
| 3551 | ><TD |
| 3552 | WIDTH="20%" |
| 3553 | ALIGN="RIGHT" |
| 3554 | VALIGN="TOP" |
| 3555 | ><I |
| 3556 | CLASS="EMPHASIS" |
| 3557 | >Returns</I |
| 3558 | > :</TD |
| 3559 | ><TD |
| 3560 | WIDTH="80%" |
| 3561 | ALIGN="LEFT" |
| 3562 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3563 | >the number of byte written or -1 in case of error.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3564 | ></TR |
| 3565 | ></TABLE |
| 3566 | ><P |
| 3567 | ></P |
| 3568 | ></DIV |
| 3569 | ></DIV |
| 3570 | ><HR><DIV |
| 3571 | CLASS="REFSECT2" |
| 3572 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3573 | NAME="AEN14788" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3574 | ></A |
| 3575 | ><H3 |
| 3576 | ><A |
| 3577 | NAME="XMLREGISTEROUTPUTCALLBACKS" |
| 3578 | ></A |
| 3579 | >xmlRegisterOutputCallbacks ()</H3 |
| 3580 | ><TABLE |
| 3581 | BORDER="0" |
| 3582 | BGCOLOR="#D6E8FF" |
| 3583 | WIDTH="100%" |
| 3584 | CELLPADDING="6" |
| 3585 | ><TR |
| 3586 | ><TD |
| 3587 | ><PRE |
| 3588 | CLASS="PROGRAMLISTING" |
| 3589 | >int xmlRegisterOutputCallbacks (<A |
| 3590 | HREF="gnome-xml-xmlio.html#XMLOUTPUTMATCHCALLBACK" |
| 3591 | >xmlOutputMatchCallback</A |
| 3592 | > match, |
| 3593 | <A |
| 3594 | HREF="gnome-xml-xmlio.html#XMLOUTPUTOPENCALLBACK" |
| 3595 | >xmlOutputOpenCallback</A |
| 3596 | > open, |
| 3597 | <A |
| 3598 | HREF="gnome-xml-xmlio.html#XMLOUTPUTWRITECALLBACK" |
| 3599 | >xmlOutputWriteCallback</A |
| 3600 | > write, |
| 3601 | <A |
| 3602 | HREF="gnome-xml-xmlio.html#XMLOUTPUTCLOSECALLBACK" |
| 3603 | >xmlOutputCloseCallback</A |
| 3604 | > close);</PRE |
| 3605 | ></TD |
| 3606 | ></TR |
| 3607 | ></TABLE |
| 3608 | ><P |
| 3609 | >Register a new set of I/O callback for handling output.</P |
| 3610 | ><P |
| 3611 | ></P |
| 3612 | ><DIV |
| 3613 | CLASS="INFORMALTABLE" |
| 3614 | ><P |
| 3615 | ></P |
| 3616 | ><TABLE |
| 3617 | BORDER="0" |
| 3618 | WIDTH="100%" |
| 3619 | BGCOLOR="#FFD0D0" |
| 3620 | CELLSPACING="0" |
| 3621 | CELLPADDING="4" |
| 3622 | CLASS="CALSTABLE" |
| 3623 | ><TR |
| 3624 | ><TD |
| 3625 | WIDTH="20%" |
| 3626 | ALIGN="RIGHT" |
| 3627 | VALIGN="TOP" |
| 3628 | ><TT |
| 3629 | CLASS="PARAMETER" |
| 3630 | ><I |
| 3631 | >match</I |
| 3632 | ></TT |
| 3633 | > :</TD |
| 3634 | ><TD |
| 3635 | WIDTH="80%" |
| 3636 | ALIGN="LEFT" |
| 3637 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3638 | > the xmlOutputMatchCallback</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3639 | ></TR |
| 3640 | ><TR |
| 3641 | ><TD |
| 3642 | WIDTH="20%" |
| 3643 | ALIGN="RIGHT" |
| 3644 | VALIGN="TOP" |
| 3645 | ><TT |
| 3646 | CLASS="PARAMETER" |
| 3647 | ><I |
| 3648 | >open</I |
| 3649 | ></TT |
| 3650 | > :</TD |
| 3651 | ><TD |
| 3652 | WIDTH="80%" |
| 3653 | ALIGN="LEFT" |
| 3654 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3655 | > the xmlOutputOpenCallback</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3656 | ></TR |
| 3657 | ><TR |
| 3658 | ><TD |
| 3659 | WIDTH="20%" |
| 3660 | ALIGN="RIGHT" |
| 3661 | VALIGN="TOP" |
| 3662 | ><TT |
| 3663 | CLASS="PARAMETER" |
| 3664 | ><I |
| 3665 | >write</I |
| 3666 | ></TT |
| 3667 | > :</TD |
| 3668 | ><TD |
| 3669 | WIDTH="80%" |
| 3670 | ALIGN="LEFT" |
| 3671 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3672 | > the xmlOutputWriteCallback</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3673 | ></TR |
| 3674 | ><TR |
| 3675 | ><TD |
| 3676 | WIDTH="20%" |
| 3677 | ALIGN="RIGHT" |
| 3678 | VALIGN="TOP" |
| 3679 | ><TT |
| 3680 | CLASS="PARAMETER" |
| 3681 | ><I |
| 3682 | >close</I |
| 3683 | ></TT |
| 3684 | > :</TD |
| 3685 | ><TD |
| 3686 | WIDTH="80%" |
| 3687 | ALIGN="LEFT" |
| 3688 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3689 | > the xmlOutputCloseCallback</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3690 | ></TR |
| 3691 | ><TR |
| 3692 | ><TD |
| 3693 | WIDTH="20%" |
| 3694 | ALIGN="RIGHT" |
| 3695 | VALIGN="TOP" |
| 3696 | ><I |
| 3697 | CLASS="EMPHASIS" |
| 3698 | >Returns</I |
| 3699 | > :</TD |
| 3700 | ><TD |
| 3701 | WIDTH="80%" |
| 3702 | ALIGN="LEFT" |
| 3703 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3704 | >the registered handler number or -1 in case of error</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3705 | ></TR |
| 3706 | ></TABLE |
| 3707 | ><P |
| 3708 | ></P |
| 3709 | ></DIV |
| 3710 | ></DIV |
| 3711 | ><HR><DIV |
| 3712 | CLASS="REFSECT2" |
| 3713 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3714 | NAME="AEN14823" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3715 | ></A |
| 3716 | ><H3 |
| 3717 | ><A |
| 3718 | NAME="XMLSAVEFILETO" |
| 3719 | ></A |
| 3720 | >xmlSaveFileTo ()</H3 |
| 3721 | ><TABLE |
| 3722 | BORDER="0" |
| 3723 | BGCOLOR="#D6E8FF" |
| 3724 | WIDTH="100%" |
| 3725 | CELLPADDING="6" |
| 3726 | ><TR |
| 3727 | ><TD |
| 3728 | ><PRE |
| 3729 | CLASS="PROGRAMLISTING" |
| 3730 | >int xmlSaveFileTo (<A |
| 3731 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFER" |
| 3732 | >xmlOutputBuffer</A |
| 3733 | > *buf, |
| 3734 | <A |
| 3735 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 3736 | >xmlDocPtr</A |
| 3737 | > cur, |
| 3738 | const char *encoding);</PRE |
| 3739 | ></TD |
| 3740 | ></TR |
| 3741 | ></TABLE |
| 3742 | ><P |
| 3743 | >Dump an XML document to an I/O buffer.</P |
| 3744 | ><P |
| 3745 | ></P |
| 3746 | ><DIV |
| 3747 | CLASS="INFORMALTABLE" |
| 3748 | ><P |
| 3749 | ></P |
| 3750 | ><TABLE |
| 3751 | BORDER="0" |
| 3752 | WIDTH="100%" |
| 3753 | BGCOLOR="#FFD0D0" |
| 3754 | CELLSPACING="0" |
| 3755 | CELLPADDING="4" |
| 3756 | CLASS="CALSTABLE" |
| 3757 | ><TR |
| 3758 | ><TD |
| 3759 | WIDTH="20%" |
| 3760 | ALIGN="RIGHT" |
| 3761 | VALIGN="TOP" |
| 3762 | ><TT |
| 3763 | CLASS="PARAMETER" |
| 3764 | ><I |
| 3765 | >buf</I |
| 3766 | ></TT |
| 3767 | > :</TD |
| 3768 | ><TD |
| 3769 | WIDTH="80%" |
| 3770 | ALIGN="LEFT" |
| 3771 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3772 | > an output I/O buffer</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3773 | ></TR |
| 3774 | ><TR |
| 3775 | ><TD |
| 3776 | WIDTH="20%" |
| 3777 | ALIGN="RIGHT" |
| 3778 | VALIGN="TOP" |
| 3779 | ><TT |
| 3780 | CLASS="PARAMETER" |
| 3781 | ><I |
| 3782 | >cur</I |
| 3783 | ></TT |
| 3784 | > :</TD |
| 3785 | ><TD |
| 3786 | WIDTH="80%" |
| 3787 | ALIGN="LEFT" |
| 3788 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3789 | > the document</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3790 | ></TR |
| 3791 | ><TR |
| 3792 | ><TD |
| 3793 | WIDTH="20%" |
| 3794 | ALIGN="RIGHT" |
| 3795 | VALIGN="TOP" |
| 3796 | ><TT |
| 3797 | CLASS="PARAMETER" |
| 3798 | ><I |
| 3799 | >encoding</I |
| 3800 | ></TT |
| 3801 | > :</TD |
| 3802 | ><TD |
| 3803 | WIDTH="80%" |
| 3804 | ALIGN="LEFT" |
| 3805 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3806 | > the encoding if any assuming the i/O layer handles the trancoding</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3807 | ></TR |
| 3808 | ><TR |
| 3809 | ><TD |
| 3810 | WIDTH="20%" |
| 3811 | ALIGN="RIGHT" |
| 3812 | VALIGN="TOP" |
| 3813 | ><I |
| 3814 | CLASS="EMPHASIS" |
| 3815 | >Returns</I |
| 3816 | > :</TD |
| 3817 | ><TD |
| 3818 | WIDTH="80%" |
| 3819 | ALIGN="LEFT" |
| 3820 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3821 | > the number of byte written or -1 in case of failure.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 3822 | ></TR |
| 3823 | ></TABLE |
| 3824 | ><P |
| 3825 | ></P |
| 3826 | ></DIV |
| 3827 | ></DIV |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3828 | ><HR><DIV |
| 3829 | CLASS="REFSECT2" |
| 3830 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame^] | 3831 | NAME="AEN14852" |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3832 | ></A |
| 3833 | ><H3 |
| 3834 | ><A |
| 3835 | NAME="XMLNODEDUMPOUTPUT" |
| 3836 | ></A |
| 3837 | >xmlNodeDumpOutput ()</H3 |
| 3838 | ><TABLE |
| 3839 | BORDER="0" |
| 3840 | BGCOLOR="#D6E8FF" |
| 3841 | WIDTH="100%" |
| 3842 | CELLPADDING="6" |
| 3843 | ><TR |
| 3844 | ><TD |
| 3845 | ><PRE |
| 3846 | CLASS="PROGRAMLISTING" |
| 3847 | >void xmlNodeDumpOutput (<A |
| 3848 | HREF="gnome-xml-xmlio.html#XMLOUTPUTBUFFERPTR" |
| 3849 | >xmlOutputBufferPtr</A |
| 3850 | > buf, |
| 3851 | <A |
| 3852 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 3853 | >xmlDocPtr</A |
| 3854 | > doc, |
| 3855 | <A |
| 3856 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 3857 | >xmlNodePtr</A |
| 3858 | > cur, |
| 3859 | int level, |
| 3860 | int format, |
| 3861 | const char *encoding);</PRE |
| 3862 | ></TD |
| 3863 | ></TR |
| 3864 | ></TABLE |
| 3865 | ><P |
| 3866 | >Dump an XML node, recursive behaviour,children are printed too.</P |
| 3867 | ><P |
| 3868 | ></P |
| 3869 | ><DIV |
| 3870 | CLASS="INFORMALTABLE" |
| 3871 | ><P |
| 3872 | ></P |
| 3873 | ><TABLE |
| 3874 | BORDER="0" |
| 3875 | WIDTH="100%" |
| 3876 | BGCOLOR="#FFD0D0" |
| 3877 | CELLSPACING="0" |
| 3878 | CELLPADDING="4" |
| 3879 | CLASS="CALSTABLE" |
| 3880 | ><TR |
| 3881 | ><TD |
| 3882 | WIDTH="20%" |
| 3883 | ALIGN="RIGHT" |
| 3884 | VALIGN="TOP" |
| 3885 | ><TT |
| 3886 | CLASS="PARAMETER" |
| 3887 | ><I |
| 3888 | >buf</I |
| 3889 | ></TT |
| 3890 | > :</TD |
| 3891 | ><TD |
| 3892 | WIDTH="80%" |
| 3893 | ALIGN="LEFT" |
| 3894 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3895 | > the XML buffer output</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3896 | ></TR |
| 3897 | ><TR |
| 3898 | ><TD |
| 3899 | WIDTH="20%" |
| 3900 | ALIGN="RIGHT" |
| 3901 | VALIGN="TOP" |
| 3902 | ><TT |
| 3903 | CLASS="PARAMETER" |
| 3904 | ><I |
| 3905 | >doc</I |
| 3906 | ></TT |
| 3907 | > :</TD |
| 3908 | ><TD |
| 3909 | WIDTH="80%" |
| 3910 | ALIGN="LEFT" |
| 3911 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3912 | > the document</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3913 | ></TR |
| 3914 | ><TR |
| 3915 | ><TD |
| 3916 | WIDTH="20%" |
| 3917 | ALIGN="RIGHT" |
| 3918 | VALIGN="TOP" |
| 3919 | ><TT |
| 3920 | CLASS="PARAMETER" |
| 3921 | ><I |
| 3922 | >cur</I |
| 3923 | ></TT |
| 3924 | > :</TD |
| 3925 | ><TD |
| 3926 | WIDTH="80%" |
| 3927 | ALIGN="LEFT" |
| 3928 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3929 | > the current node</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3930 | ></TR |
| 3931 | ><TR |
| 3932 | ><TD |
| 3933 | WIDTH="20%" |
| 3934 | ALIGN="RIGHT" |
| 3935 | VALIGN="TOP" |
| 3936 | ><TT |
| 3937 | CLASS="PARAMETER" |
| 3938 | ><I |
| 3939 | >level</I |
| 3940 | ></TT |
| 3941 | > :</TD |
| 3942 | ><TD |
| 3943 | WIDTH="80%" |
| 3944 | ALIGN="LEFT" |
| 3945 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3946 | > the imbrication level for indenting</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3947 | ></TR |
| 3948 | ><TR |
| 3949 | ><TD |
| 3950 | WIDTH="20%" |
| 3951 | ALIGN="RIGHT" |
| 3952 | VALIGN="TOP" |
| 3953 | ><TT |
| 3954 | CLASS="PARAMETER" |
| 3955 | ><I |
| 3956 | >format</I |
| 3957 | ></TT |
| 3958 | > :</TD |
| 3959 | ><TD |
| 3960 | WIDTH="80%" |
| 3961 | ALIGN="LEFT" |
| 3962 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3963 | > is formatting allowed</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3964 | ></TR |
| 3965 | ><TR |
| 3966 | ><TD |
| 3967 | WIDTH="20%" |
| 3968 | ALIGN="RIGHT" |
| 3969 | VALIGN="TOP" |
| 3970 | ><TT |
| 3971 | CLASS="PARAMETER" |
| 3972 | ><I |
| 3973 | >encoding</I |
| 3974 | ></TT |
| 3975 | > :</TD |
| 3976 | ><TD |
| 3977 | WIDTH="80%" |
| 3978 | ALIGN="LEFT" |
| 3979 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 3980 | > an optional encoding string</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 3981 | ></TR |
| 3982 | ></TABLE |
| 3983 | ><P |
| 3984 | ></P |
| 3985 | ></DIV |
| 3986 | ></DIV |
Daniel Veillard | aeea04f | 2000-01-25 19:27:27 +0000 | [diff] [blame] | 3987 | ></DIV |
| 3988 | ><DIV |
| 3989 | CLASS="NAVFOOTER" |
| 3990 | ><BR |
| 3991 | CLEAR="all"><BR><TABLE |
| 3992 | WIDTH="100%" |
| 3993 | BORDER="0" |
| 3994 | BGCOLOR="#000000" |
| 3995 | CELLPADDING="1" |
| 3996 | CELLSPACING="0" |
| 3997 | ><TR |
| 3998 | ><TD |
| 3999 | WIDTH="25%" |
| 4000 | BGCOLOR="#C00000" |
| 4001 | ALIGN="left" |
| 4002 | ><A |
| 4003 | HREF="gnome-xml-nanoftp.html" |
| 4004 | ><FONT |
| 4005 | COLOR="#FFFFFF" |
| 4006 | SIZE="3" |
| 4007 | ><B |
| 4008 | ><<< Previous Page</B |
| 4009 | ></FONT |
| 4010 | ></A |
| 4011 | ></TD |
| 4012 | ><TD |
| 4013 | WIDTH="25%" |
| 4014 | BGCOLOR="#0000C0" |
| 4015 | ALIGN="center" |
| 4016 | ><FONT |
| 4017 | COLOR="#FFFFFF" |
| 4018 | SIZE="3" |
| 4019 | ><B |
| 4020 | ><A |
| 4021 | HREF="book1.html" |
| 4022 | ><FONT |
| 4023 | COLOR="#FFFFFF" |
| 4024 | SIZE="3" |
| 4025 | ><B |
| 4026 | >Home</B |
| 4027 | ></FONT |
| 4028 | ></A |
| 4029 | ></B |
| 4030 | ></FONT |
| 4031 | ></TD |
| 4032 | ><TD |
| 4033 | WIDTH="25%" |
| 4034 | BGCOLOR="#00C000" |
| 4035 | ALIGN="center" |
| 4036 | ><FONT |
| 4037 | COLOR="#FFFFFF" |
| 4038 | SIZE="3" |
| 4039 | ><B |
| 4040 | ><A |
| 4041 | HREF="libxml-lib.html" |
| 4042 | ><FONT |
| 4043 | COLOR="#FFFFFF" |
| 4044 | SIZE="3" |
| 4045 | ><B |
| 4046 | >Up</B |
| 4047 | ></FONT |
| 4048 | ></A |
| 4049 | ></B |
| 4050 | ></FONT |
| 4051 | ></TD |
| 4052 | ><TD |
| 4053 | WIDTH="25%" |
| 4054 | BGCOLOR="#C00000" |
| 4055 | ALIGN="right" |
| 4056 | ><A |
| 4057 | HREF="gnome-xml-parserinternals.html" |
| 4058 | ><FONT |
| 4059 | COLOR="#FFFFFF" |
| 4060 | SIZE="3" |
| 4061 | ><B |
| 4062 | >Next Page >>></B |
| 4063 | ></FONT |
| 4064 | ></A |
| 4065 | ></TD |
| 4066 | ></TR |
| 4067 | ><TR |
| 4068 | ><TD |
| 4069 | COLSPAN="2" |
| 4070 | ALIGN="left" |
| 4071 | ><FONT |
| 4072 | COLOR="#FFFFFF" |
| 4073 | SIZE="3" |
| 4074 | ><B |
| 4075 | >nanoftp</B |
| 4076 | ></FONT |
| 4077 | ></TD |
| 4078 | ><TD |
| 4079 | COLSPAN="2" |
| 4080 | ALIGN="right" |
| 4081 | ><FONT |
| 4082 | COLOR="#FFFFFF" |
| 4083 | SIZE="3" |
| 4084 | ><B |
| 4085 | >parserInternals</B |
| 4086 | ></FONT |
| 4087 | ></TD |
| 4088 | ></TR |
| 4089 | ></TABLE |
| 4090 | ></DIV |
| 4091 | ></BODY |
| 4092 | ></HTML |
| 4093 | > |