Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 1 | <HTML |
| 2 | ><HEAD |
| 3 | ><TITLE |
| 4 | >HTMLtree</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 | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 8 | REL="HOME" |
| 9 | TITLE="Gnome XML Library Reference Manual" |
| 10 | HREF="book1.html"><LINK |
| 11 | REL="UP" |
Daniel Veillard | 3500838 | 1999-10-25 13:15:52 +0000 | [diff] [blame] | 12 | TITLE="Libxml Library Reference" |
| 13 | HREF="libxml-lib.html"><LINK |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 14 | REL="PREVIOUS" |
| 15 | TITLE="HTMLparser" |
| 16 | HREF="gnome-xml-htmlparser.html"><LINK |
| 17 | REL="NEXT" |
| 18 | TITLE="xpath" |
| 19 | HREF="gnome-xml-xpath.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-htmlparser.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 |
Daniel Veillard | 3500838 | 1999-10-25 13:15:52 +0000 | [diff] [blame] | 85 | HREF="libxml-lib.html" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 86 | ><FONT |
| 87 | COLOR="#FFFFFF" |
| 88 | SIZE="3" |
| 89 | ><B |
| 90 | >Up</B |
| 91 | ></FONT |
| 92 | ></A |
| 93 | ></B |
| 94 | ></FONT |
| 95 | ></TD |
| 96 | ><TD |
| 97 | WIDTH="25%" |
| 98 | BGCOLOR="#C00000" |
| 99 | ALIGN="right" |
| 100 | ><A |
| 101 | HREF="gnome-xml-xpath.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 | >HTMLtree</H1 |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 115 | ><DIV |
| 116 | CLASS="REFNAMEDIV" |
| 117 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 118 | NAME="AEN10264" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 119 | ></A |
| 120 | ><H2 |
| 121 | >Name</H2 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 122 | >HTMLtree — </DIV |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 123 | ><DIV |
| 124 | CLASS="REFSYNOPSISDIV" |
| 125 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 126 | NAME="AEN10267" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +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 | |
| 141 | #define <A |
| 142 | HREF="gnome-xml-htmltree.html#HTML-TEXT-NODE" |
| 143 | >HTML_TEXT_NODE</A |
| 144 | > |
| 145 | #define <A |
| 146 | HREF="gnome-xml-htmltree.html#HTML-ENTITY-REF-NODE" |
| 147 | >HTML_ENTITY_REF_NODE</A |
| 148 | > |
| 149 | #define <A |
| 150 | HREF="gnome-xml-htmltree.html#HTML-COMMENT-NODE" |
| 151 | >HTML_COMMENT_NODE</A |
| 152 | > |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 153 | #define <A |
| 154 | HREF="gnome-xml-htmltree.html#HTML-PRESERVE-NODE" |
| 155 | >HTML_PRESERVE_NODE</A |
| 156 | > |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 157 | <A |
| 158 | HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" |
| 159 | >htmlDocPtr</A |
| 160 | > <A |
| 161 | HREF="gnome-xml-htmltree.html#HTMLNEWDOC" |
| 162 | >htmlNewDoc</A |
| 163 | > (const <A |
| 164 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 165 | >xmlChar</A |
| 166 | > *URI, |
| 167 | const <A |
| 168 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 169 | >xmlChar</A |
| 170 | > *ExternalID); |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 171 | <A |
| 172 | HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" |
| 173 | >htmlDocPtr</A |
| 174 | > <A |
| 175 | HREF="gnome-xml-htmltree.html#HTMLNEWDOCNODTD" |
| 176 | >htmlNewDocNoDtD</A |
| 177 | > (const <A |
| 178 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 179 | >xmlChar</A |
| 180 | > *URI, |
| 181 | const <A |
| 182 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 183 | >xmlChar</A |
| 184 | > *ExternalID); |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 185 | const <A |
| 186 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 187 | >xmlChar</A |
| 188 | >* <A |
| 189 | HREF="gnome-xml-htmltree.html#HTMLGETMETAENCODING" |
| 190 | >htmlGetMetaEncoding</A |
| 191 | > (<A |
| 192 | HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" |
| 193 | >htmlDocPtr</A |
| 194 | > doc); |
| 195 | int <A |
| 196 | HREF="gnome-xml-htmltree.html#HTMLSETMETAENCODING" |
| 197 | >htmlSetMetaEncoding</A |
| 198 | > (<A |
| 199 | HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" |
| 200 | >htmlDocPtr</A |
| 201 | > doc, |
| 202 | const <A |
| 203 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 204 | >xmlChar</A |
| 205 | > *encoding); |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 206 | void <A |
| 207 | HREF="gnome-xml-htmltree.html#HTMLDOCDUMPMEMORY" |
| 208 | >htmlDocDumpMemory</A |
| 209 | > (<A |
| 210 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 211 | >xmlDocPtr</A |
| 212 | > cur, |
| 213 | <A |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 214 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 215 | >xmlChar</A |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 216 | > **mem, |
| 217 | int *size); |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 218 | int <A |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 219 | HREF="gnome-xml-htmltree.html#HTMLDOCDUMP" |
| 220 | >htmlDocDump</A |
| 221 | > (<GTKDOCLINK |
| 222 | HREF="FILE" |
| 223 | >FILE</GTKDOCLINK |
| 224 | > *f, |
| 225 | <A |
| 226 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 227 | >xmlDocPtr</A |
| 228 | > cur); |
| 229 | int <A |
| 230 | HREF="gnome-xml-htmltree.html#HTMLSAVEFILE" |
| 231 | >htmlSaveFile</A |
| 232 | > (const char *filename, |
| 233 | <A |
| 234 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 235 | >xmlDocPtr</A |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 236 | > cur); |
| 237 | void <A |
| 238 | HREF="gnome-xml-htmltree.html#HTMLNODEDUMP" |
| 239 | >htmlNodeDump</A |
| 240 | > (<A |
| 241 | HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| 242 | >xmlBufferPtr</A |
| 243 | > buf, |
| 244 | <A |
| 245 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 246 | >xmlDocPtr</A |
| 247 | > doc, |
| 248 | <A |
| 249 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 250 | >xmlNodePtr</A |
| 251 | > cur); |
| 252 | void <A |
| 253 | HREF="gnome-xml-htmltree.html#HTMLNODEDUMPFILE" |
| 254 | >htmlNodeDumpFile</A |
| 255 | > (<GTKDOCLINK |
| 256 | HREF="FILE" |
| 257 | >FILE</GTKDOCLINK |
| 258 | > *out, |
| 259 | <A |
| 260 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 261 | >xmlDocPtr</A |
| 262 | > doc, |
| 263 | <A |
| 264 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 265 | >xmlNodePtr</A |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 266 | > cur); |
| 267 | int <A |
| 268 | HREF="gnome-xml-htmltree.html#HTMLSAVEFILEENC" |
| 269 | >htmlSaveFileEnc</A |
| 270 | > (const char *filename, |
| 271 | <A |
| 272 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 273 | >xmlDocPtr</A |
| 274 | > cur, |
| 275 | const char *encoding);</PRE |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 276 | ></TD |
| 277 | ></TR |
| 278 | ></TABLE |
| 279 | ></DIV |
| 280 | ><DIV |
| 281 | CLASS="REFSECT1" |
| 282 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 283 | NAME="AEN10306" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 284 | ></A |
| 285 | ><H2 |
| 286 | >Description</H2 |
| 287 | ><P |
| 288 | ></P |
| 289 | ></DIV |
| 290 | ><DIV |
| 291 | CLASS="REFSECT1" |
| 292 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 293 | NAME="AEN10309" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 294 | ></A |
| 295 | ><H2 |
| 296 | >Details</H2 |
| 297 | ><DIV |
| 298 | CLASS="REFSECT2" |
| 299 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 300 | NAME="AEN10311" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 301 | ></A |
| 302 | ><H3 |
| 303 | ><A |
| 304 | NAME="HTML-TEXT-NODE" |
| 305 | ></A |
| 306 | >HTML_TEXT_NODE</H3 |
| 307 | ><TABLE |
| 308 | BORDER="0" |
| 309 | BGCOLOR="#D6E8FF" |
| 310 | WIDTH="100%" |
| 311 | CELLPADDING="6" |
| 312 | ><TR |
| 313 | ><TD |
| 314 | ><PRE |
| 315 | CLASS="PROGRAMLISTING" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 316 | >#define HTML_TEXT_NODE XML_TEXT_NODE</PRE |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 317 | ></TD |
| 318 | ></TR |
| 319 | ></TABLE |
| 320 | ><P |
| 321 | ></P |
| 322 | ></DIV |
| 323 | ><HR><DIV |
| 324 | CLASS="REFSECT2" |
| 325 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 326 | NAME="AEN10316" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 327 | ></A |
| 328 | ><H3 |
| 329 | ><A |
| 330 | NAME="HTML-ENTITY-REF-NODE" |
| 331 | ></A |
| 332 | >HTML_ENTITY_REF_NODE</H3 |
| 333 | ><TABLE |
| 334 | BORDER="0" |
| 335 | BGCOLOR="#D6E8FF" |
| 336 | WIDTH="100%" |
| 337 | CELLPADDING="6" |
| 338 | ><TR |
| 339 | ><TD |
| 340 | ><PRE |
| 341 | CLASS="PROGRAMLISTING" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 342 | >#define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE</PRE |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 343 | ></TD |
| 344 | ></TR |
| 345 | ></TABLE |
| 346 | ><P |
| 347 | ></P |
| 348 | ></DIV |
| 349 | ><HR><DIV |
| 350 | CLASS="REFSECT2" |
| 351 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 352 | NAME="AEN10321" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 353 | ></A |
| 354 | ><H3 |
| 355 | ><A |
| 356 | NAME="HTML-COMMENT-NODE" |
| 357 | ></A |
| 358 | >HTML_COMMENT_NODE</H3 |
| 359 | ><TABLE |
| 360 | BORDER="0" |
| 361 | BGCOLOR="#D6E8FF" |
| 362 | WIDTH="100%" |
| 363 | CELLPADDING="6" |
| 364 | ><TR |
| 365 | ><TD |
| 366 | ><PRE |
| 367 | CLASS="PROGRAMLISTING" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 368 | >#define HTML_COMMENT_NODE XML_COMMENT_NODE</PRE |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 369 | ></TD |
| 370 | ></TR |
| 371 | ></TABLE |
| 372 | ><P |
| 373 | ></P |
| 374 | ></DIV |
| 375 | ><HR><DIV |
| 376 | CLASS="REFSECT2" |
| 377 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 378 | NAME="AEN10326" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 379 | ></A |
| 380 | ><H3 |
| 381 | ><A |
| 382 | NAME="HTML-PRESERVE-NODE" |
| 383 | ></A |
| 384 | >HTML_PRESERVE_NODE</H3 |
| 385 | ><TABLE |
| 386 | BORDER="0" |
| 387 | BGCOLOR="#D6E8FF" |
| 388 | WIDTH="100%" |
| 389 | CELLPADDING="6" |
| 390 | ><TR |
| 391 | ><TD |
| 392 | ><PRE |
| 393 | CLASS="PROGRAMLISTING" |
| 394 | >#define HTML_PRESERVE_NODE XML_CDATA_SECTION_NODE</PRE |
| 395 | ></TD |
| 396 | ></TR |
| 397 | ></TABLE |
| 398 | ><P |
| 399 | ></P |
| 400 | ></DIV |
| 401 | ><HR><DIV |
| 402 | CLASS="REFSECT2" |
| 403 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 404 | NAME="AEN10331" |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 405 | ></A |
| 406 | ><H3 |
| 407 | ><A |
| 408 | NAME="HTMLNEWDOC" |
| 409 | ></A |
| 410 | >htmlNewDoc ()</H3 |
| 411 | ><TABLE |
| 412 | BORDER="0" |
| 413 | BGCOLOR="#D6E8FF" |
| 414 | WIDTH="100%" |
| 415 | CELLPADDING="6" |
| 416 | ><TR |
| 417 | ><TD |
| 418 | ><PRE |
| 419 | CLASS="PROGRAMLISTING" |
| 420 | ><A |
| 421 | HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" |
| 422 | >htmlDocPtr</A |
| 423 | > htmlNewDoc (const <A |
| 424 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 425 | >xmlChar</A |
| 426 | > *URI, |
| 427 | const <A |
| 428 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 429 | >xmlChar</A |
| 430 | > *ExternalID);</PRE |
| 431 | ></TD |
| 432 | ></TR |
| 433 | ></TABLE |
| 434 | ><P |
| 435 | ></P |
| 436 | ><P |
| 437 | ></P |
| 438 | ><DIV |
| 439 | CLASS="INFORMALTABLE" |
| 440 | ><P |
| 441 | ></P |
| 442 | ><TABLE |
| 443 | BORDER="0" |
| 444 | WIDTH="100%" |
| 445 | BGCOLOR="#FFD0D0" |
| 446 | CELLSPACING="0" |
| 447 | CELLPADDING="4" |
| 448 | CLASS="CALSTABLE" |
| 449 | ><TR |
| 450 | ><TD |
| 451 | WIDTH="20%" |
| 452 | ALIGN="RIGHT" |
| 453 | VALIGN="TOP" |
| 454 | ><TT |
| 455 | CLASS="PARAMETER" |
| 456 | ><I |
| 457 | >URI</I |
| 458 | ></TT |
| 459 | > :</TD |
| 460 | ><TD |
| 461 | WIDTH="80%" |
| 462 | ALIGN="LEFT" |
| 463 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 464 | > URI for the dtd, or NULL</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 465 | ></TR |
| 466 | ><TR |
| 467 | ><TD |
| 468 | WIDTH="20%" |
| 469 | ALIGN="RIGHT" |
| 470 | VALIGN="TOP" |
| 471 | ><TT |
| 472 | CLASS="PARAMETER" |
| 473 | ><I |
| 474 | >ExternalID</I |
| 475 | ></TT |
| 476 | > :</TD |
| 477 | ><TD |
| 478 | WIDTH="80%" |
| 479 | ALIGN="LEFT" |
| 480 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 481 | > the external ID of the DTD, or NULL</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 482 | ></TR |
| 483 | ><TR |
| 484 | ><TD |
| 485 | WIDTH="20%" |
| 486 | ALIGN="RIGHT" |
| 487 | VALIGN="TOP" |
| 488 | ><I |
| 489 | CLASS="EMPHASIS" |
| 490 | >Returns</I |
| 491 | > :</TD |
| 492 | ><TD |
| 493 | WIDTH="80%" |
| 494 | ALIGN="LEFT" |
| 495 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 496 | >a new document</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 497 | ></TR |
| 498 | ></TABLE |
| 499 | ><P |
| 500 | ></P |
| 501 | ></DIV |
| 502 | ></DIV |
| 503 | ><HR><DIV |
| 504 | CLASS="REFSECT2" |
| 505 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 506 | NAME="AEN10357" |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 507 | ></A |
| 508 | ><H3 |
| 509 | ><A |
| 510 | NAME="HTMLNEWDOCNODTD" |
| 511 | ></A |
| 512 | >htmlNewDocNoDtD ()</H3 |
| 513 | ><TABLE |
| 514 | BORDER="0" |
| 515 | BGCOLOR="#D6E8FF" |
| 516 | WIDTH="100%" |
| 517 | CELLPADDING="6" |
| 518 | ><TR |
| 519 | ><TD |
| 520 | ><PRE |
| 521 | CLASS="PROGRAMLISTING" |
| 522 | ><A |
| 523 | HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" |
| 524 | >htmlDocPtr</A |
| 525 | > htmlNewDocNoDtD (const <A |
| 526 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 527 | >xmlChar</A |
| 528 | > *URI, |
| 529 | const <A |
| 530 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 531 | >xmlChar</A |
| 532 | > *ExternalID);</PRE |
| 533 | ></TD |
| 534 | ></TR |
| 535 | ></TABLE |
| 536 | ><P |
| 537 | ></P |
| 538 | ><P |
| 539 | ></P |
| 540 | ><DIV |
| 541 | CLASS="INFORMALTABLE" |
| 542 | ><P |
| 543 | ></P |
| 544 | ><TABLE |
| 545 | BORDER="0" |
| 546 | WIDTH="100%" |
| 547 | BGCOLOR="#FFD0D0" |
| 548 | CELLSPACING="0" |
| 549 | CELLPADDING="4" |
| 550 | CLASS="CALSTABLE" |
| 551 | ><TR |
| 552 | ><TD |
| 553 | WIDTH="20%" |
| 554 | ALIGN="RIGHT" |
| 555 | VALIGN="TOP" |
| 556 | ><TT |
| 557 | CLASS="PARAMETER" |
| 558 | ><I |
| 559 | >URI</I |
| 560 | ></TT |
| 561 | > :</TD |
| 562 | ><TD |
| 563 | WIDTH="80%" |
| 564 | ALIGN="LEFT" |
| 565 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 566 | > URI for the dtd, or NULL</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 567 | ></TR |
| 568 | ><TR |
| 569 | ><TD |
| 570 | WIDTH="20%" |
| 571 | ALIGN="RIGHT" |
| 572 | VALIGN="TOP" |
| 573 | ><TT |
| 574 | CLASS="PARAMETER" |
| 575 | ><I |
| 576 | >ExternalID</I |
| 577 | ></TT |
| 578 | > :</TD |
| 579 | ><TD |
| 580 | WIDTH="80%" |
| 581 | ALIGN="LEFT" |
| 582 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 583 | > the external ID of the DTD, or NULL</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 584 | ></TR |
| 585 | ><TR |
| 586 | ><TD |
| 587 | WIDTH="20%" |
| 588 | ALIGN="RIGHT" |
| 589 | VALIGN="TOP" |
| 590 | ><I |
| 591 | CLASS="EMPHASIS" |
| 592 | >Returns</I |
| 593 | > :</TD |
| 594 | ><TD |
| 595 | WIDTH="80%" |
| 596 | ALIGN="LEFT" |
| 597 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 598 | >a new document, do not intialize the DTD if not provided</TD |
Daniel Veillard | 3bff2b0 | 2000-10-01 20:33:47 +0000 | [diff] [blame] | 599 | ></TR |
| 600 | ></TABLE |
| 601 | ><P |
| 602 | ></P |
| 603 | ></DIV |
| 604 | ></DIV |
| 605 | ><HR><DIV |
| 606 | CLASS="REFSECT2" |
| 607 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 608 | NAME="AEN10383" |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 609 | ></A |
| 610 | ><H3 |
| 611 | ><A |
| 612 | NAME="HTMLGETMETAENCODING" |
| 613 | ></A |
| 614 | >htmlGetMetaEncoding ()</H3 |
| 615 | ><TABLE |
| 616 | BORDER="0" |
| 617 | BGCOLOR="#D6E8FF" |
| 618 | WIDTH="100%" |
| 619 | CELLPADDING="6" |
| 620 | ><TR |
| 621 | ><TD |
| 622 | ><PRE |
| 623 | CLASS="PROGRAMLISTING" |
| 624 | >const <A |
| 625 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 626 | >xmlChar</A |
| 627 | >* htmlGetMetaEncoding (<A |
| 628 | HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" |
| 629 | >htmlDocPtr</A |
| 630 | > doc);</PRE |
| 631 | ></TD |
| 632 | ></TR |
| 633 | ></TABLE |
| 634 | ><P |
| 635 | >Encoding definition lookup in the Meta tags</P |
| 636 | ><P |
| 637 | ></P |
| 638 | ><DIV |
| 639 | CLASS="INFORMALTABLE" |
| 640 | ><P |
| 641 | ></P |
| 642 | ><TABLE |
| 643 | BORDER="0" |
| 644 | WIDTH="100%" |
| 645 | BGCOLOR="#FFD0D0" |
| 646 | CELLSPACING="0" |
| 647 | CELLPADDING="4" |
| 648 | CLASS="CALSTABLE" |
| 649 | ><TR |
| 650 | ><TD |
| 651 | WIDTH="20%" |
| 652 | ALIGN="RIGHT" |
| 653 | VALIGN="TOP" |
| 654 | ><TT |
| 655 | CLASS="PARAMETER" |
| 656 | ><I |
| 657 | >doc</I |
| 658 | ></TT |
| 659 | > :</TD |
| 660 | ><TD |
| 661 | WIDTH="80%" |
| 662 | ALIGN="LEFT" |
| 663 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 664 | > the document</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 665 | ></TR |
| 666 | ><TR |
| 667 | ><TD |
| 668 | WIDTH="20%" |
| 669 | ALIGN="RIGHT" |
| 670 | VALIGN="TOP" |
| 671 | ><I |
| 672 | CLASS="EMPHASIS" |
| 673 | >Returns</I |
| 674 | > :</TD |
| 675 | ><TD |
| 676 | WIDTH="80%" |
| 677 | ALIGN="LEFT" |
| 678 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 679 | >the current encoding as flagged in the HTML source</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 680 | ></TR |
| 681 | ></TABLE |
| 682 | ><P |
| 683 | ></P |
| 684 | ></DIV |
| 685 | ></DIV |
| 686 | ><HR><DIV |
| 687 | CLASS="REFSECT2" |
| 688 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 689 | NAME="AEN10404" |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 690 | ></A |
| 691 | ><H3 |
| 692 | ><A |
| 693 | NAME="HTMLSETMETAENCODING" |
| 694 | ></A |
| 695 | >htmlSetMetaEncoding ()</H3 |
| 696 | ><TABLE |
| 697 | BORDER="0" |
| 698 | BGCOLOR="#D6E8FF" |
| 699 | WIDTH="100%" |
| 700 | CELLPADDING="6" |
| 701 | ><TR |
| 702 | ><TD |
| 703 | ><PRE |
| 704 | CLASS="PROGRAMLISTING" |
| 705 | >int htmlSetMetaEncoding (<A |
| 706 | HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" |
| 707 | >htmlDocPtr</A |
| 708 | > doc, |
| 709 | const <A |
| 710 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 711 | >xmlChar</A |
| 712 | > *encoding);</PRE |
| 713 | ></TD |
| 714 | ></TR |
| 715 | ></TABLE |
| 716 | ><P |
| 717 | >Sets the current encoding in the Meta tags |
| 718 | NOTE: this will not change the document content encoding, just |
| 719 | the META flag associated.</P |
| 720 | ><P |
| 721 | ></P |
| 722 | ><DIV |
| 723 | CLASS="INFORMALTABLE" |
| 724 | ><P |
| 725 | ></P |
| 726 | ><TABLE |
| 727 | BORDER="0" |
| 728 | WIDTH="100%" |
| 729 | BGCOLOR="#FFD0D0" |
| 730 | CELLSPACING="0" |
| 731 | CELLPADDING="4" |
| 732 | CLASS="CALSTABLE" |
| 733 | ><TR |
| 734 | ><TD |
| 735 | WIDTH="20%" |
| 736 | ALIGN="RIGHT" |
| 737 | VALIGN="TOP" |
| 738 | ><TT |
| 739 | CLASS="PARAMETER" |
| 740 | ><I |
| 741 | >doc</I |
| 742 | ></TT |
| 743 | > :</TD |
| 744 | ><TD |
| 745 | WIDTH="80%" |
| 746 | ALIGN="LEFT" |
| 747 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 748 | > the document</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 749 | ></TR |
| 750 | ><TR |
| 751 | ><TD |
| 752 | WIDTH="20%" |
| 753 | ALIGN="RIGHT" |
| 754 | VALIGN="TOP" |
| 755 | ><TT |
| 756 | CLASS="PARAMETER" |
| 757 | ><I |
| 758 | >encoding</I |
| 759 | ></TT |
| 760 | > :</TD |
| 761 | ><TD |
| 762 | WIDTH="80%" |
| 763 | ALIGN="LEFT" |
| 764 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 765 | > the encoding string</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 766 | ></TR |
| 767 | ><TR |
| 768 | ><TD |
| 769 | WIDTH="20%" |
| 770 | ALIGN="RIGHT" |
| 771 | VALIGN="TOP" |
| 772 | ><I |
| 773 | CLASS="EMPHASIS" |
| 774 | >Returns</I |
| 775 | > :</TD |
| 776 | ><TD |
| 777 | WIDTH="80%" |
| 778 | ALIGN="LEFT" |
| 779 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 780 | >0 in case of success and -1 in case of error</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 781 | ></TR |
| 782 | ></TABLE |
| 783 | ><P |
| 784 | ></P |
| 785 | ></DIV |
| 786 | ></DIV |
| 787 | ><HR><DIV |
| 788 | CLASS="REFSECT2" |
| 789 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 790 | NAME="AEN10429" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 791 | ></A |
| 792 | ><H3 |
| 793 | ><A |
| 794 | NAME="HTMLDOCDUMPMEMORY" |
| 795 | ></A |
| 796 | >htmlDocDumpMemory ()</H3 |
| 797 | ><TABLE |
| 798 | BORDER="0" |
| 799 | BGCOLOR="#D6E8FF" |
| 800 | WIDTH="100%" |
| 801 | CELLPADDING="6" |
| 802 | ><TR |
| 803 | ><TD |
| 804 | ><PRE |
| 805 | CLASS="PROGRAMLISTING" |
| 806 | >void htmlDocDumpMemory (<A |
| 807 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 808 | >xmlDocPtr</A |
| 809 | > cur, |
| 810 | <A |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 811 | HREF="gnome-xml-tree.html#XMLCHAR" |
| 812 | >xmlChar</A |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 813 | > **mem, |
| 814 | int *size);</PRE |
| 815 | ></TD |
| 816 | ></TR |
| 817 | ></TABLE |
| 818 | ><P |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 819 | >Dump an HTML document in memory and return the xmlChar * and it's size. |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 820 | It's up to the caller to free the memory.</P |
| 821 | ><P |
| 822 | ></P |
| 823 | ><DIV |
| 824 | CLASS="INFORMALTABLE" |
| 825 | ><P |
| 826 | ></P |
| 827 | ><TABLE |
| 828 | BORDER="0" |
| 829 | WIDTH="100%" |
| 830 | BGCOLOR="#FFD0D0" |
| 831 | CELLSPACING="0" |
| 832 | CELLPADDING="4" |
| 833 | CLASS="CALSTABLE" |
| 834 | ><TR |
| 835 | ><TD |
| 836 | WIDTH="20%" |
| 837 | ALIGN="RIGHT" |
| 838 | VALIGN="TOP" |
| 839 | ><TT |
| 840 | CLASS="PARAMETER" |
| 841 | ><I |
| 842 | >cur</I |
| 843 | ></TT |
| 844 | > :</TD |
| 845 | ><TD |
| 846 | WIDTH="80%" |
| 847 | ALIGN="LEFT" |
| 848 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 849 | > the document</TD |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 850 | ></TR |
| 851 | ><TR |
| 852 | ><TD |
| 853 | WIDTH="20%" |
| 854 | ALIGN="RIGHT" |
| 855 | VALIGN="TOP" |
| 856 | ><TT |
| 857 | CLASS="PARAMETER" |
| 858 | ><I |
| 859 | >mem</I |
| 860 | ></TT |
| 861 | > :</TD |
| 862 | ><TD |
| 863 | WIDTH="80%" |
| 864 | ALIGN="LEFT" |
| 865 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 866 | > OUT: the memory pointer</TD |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 867 | ></TR |
| 868 | ><TR |
| 869 | ><TD |
| 870 | WIDTH="20%" |
| 871 | ALIGN="RIGHT" |
| 872 | VALIGN="TOP" |
| 873 | ><TT |
| 874 | CLASS="PARAMETER" |
| 875 | ><I |
| 876 | >size</I |
| 877 | ></TT |
| 878 | > :</TD |
| 879 | ><TD |
| 880 | WIDTH="80%" |
| 881 | ALIGN="LEFT" |
| 882 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 883 | > OUT: the memory lenght</TD |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 884 | ></TR |
| 885 | ></TABLE |
| 886 | ><P |
| 887 | ></P |
| 888 | ></DIV |
| 889 | ></DIV |
| 890 | ><HR><DIV |
| 891 | CLASS="REFSECT2" |
| 892 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 893 | NAME="AEN10454" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 894 | ></A |
| 895 | ><H3 |
| 896 | ><A |
| 897 | NAME="HTMLDOCDUMP" |
| 898 | ></A |
| 899 | >htmlDocDump ()</H3 |
| 900 | ><TABLE |
| 901 | BORDER="0" |
| 902 | BGCOLOR="#D6E8FF" |
| 903 | WIDTH="100%" |
| 904 | CELLPADDING="6" |
| 905 | ><TR |
| 906 | ><TD |
| 907 | ><PRE |
| 908 | CLASS="PROGRAMLISTING" |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 909 | >int htmlDocDump (<GTKDOCLINK |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 910 | HREF="FILE" |
| 911 | >FILE</GTKDOCLINK |
| 912 | > *f, |
| 913 | <A |
| 914 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 915 | >xmlDocPtr</A |
| 916 | > cur);</PRE |
| 917 | ></TD |
| 918 | ></TR |
| 919 | ></TABLE |
| 920 | ><P |
| 921 | >Dump an HTML document to an open FILE.</P |
| 922 | ><P |
| 923 | ></P |
| 924 | ><DIV |
| 925 | CLASS="INFORMALTABLE" |
| 926 | ><P |
| 927 | ></P |
| 928 | ><TABLE |
| 929 | BORDER="0" |
| 930 | WIDTH="100%" |
| 931 | BGCOLOR="#FFD0D0" |
| 932 | CELLSPACING="0" |
| 933 | CELLPADDING="4" |
| 934 | CLASS="CALSTABLE" |
| 935 | ><TR |
| 936 | ><TD |
| 937 | WIDTH="20%" |
| 938 | ALIGN="RIGHT" |
| 939 | VALIGN="TOP" |
| 940 | ><TT |
| 941 | CLASS="PARAMETER" |
| 942 | ><I |
| 943 | >f</I |
| 944 | ></TT |
| 945 | > :</TD |
| 946 | ><TD |
| 947 | WIDTH="80%" |
| 948 | ALIGN="LEFT" |
| 949 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 950 | > the FILE*</TD |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 951 | ></TR |
| 952 | ><TR |
| 953 | ><TD |
| 954 | WIDTH="20%" |
| 955 | ALIGN="RIGHT" |
| 956 | VALIGN="TOP" |
| 957 | ><TT |
| 958 | CLASS="PARAMETER" |
| 959 | ><I |
| 960 | >cur</I |
| 961 | ></TT |
| 962 | > :</TD |
| 963 | ><TD |
| 964 | WIDTH="80%" |
| 965 | ALIGN="LEFT" |
| 966 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 967 | > the document</TD |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 968 | ></TR |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 969 | ><TR |
| 970 | ><TD |
| 971 | WIDTH="20%" |
| 972 | ALIGN="RIGHT" |
| 973 | VALIGN="TOP" |
| 974 | ><I |
| 975 | CLASS="EMPHASIS" |
| 976 | >Returns</I |
| 977 | > :</TD |
| 978 | ><TD |
| 979 | WIDTH="80%" |
| 980 | ALIGN="LEFT" |
| 981 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 982 | > the number of byte written or -1 in case of failure.</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 983 | ></TR |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 984 | ></TABLE |
| 985 | ><P |
| 986 | ></P |
| 987 | ></DIV |
| 988 | ></DIV |
| 989 | ><HR><DIV |
| 990 | CLASS="REFSECT2" |
| 991 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 992 | NAME="AEN10479" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 993 | ></A |
| 994 | ><H3 |
| 995 | ><A |
| 996 | NAME="HTMLSAVEFILE" |
| 997 | ></A |
| 998 | >htmlSaveFile ()</H3 |
| 999 | ><TABLE |
| 1000 | BORDER="0" |
| 1001 | BGCOLOR="#D6E8FF" |
| 1002 | WIDTH="100%" |
| 1003 | CELLPADDING="6" |
| 1004 | ><TR |
| 1005 | ><TD |
| 1006 | ><PRE |
| 1007 | CLASS="PROGRAMLISTING" |
| 1008 | >int htmlSaveFile (const char *filename, |
| 1009 | <A |
| 1010 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 1011 | >xmlDocPtr</A |
| 1012 | > cur);</PRE |
| 1013 | ></TD |
| 1014 | ></TR |
| 1015 | ></TABLE |
| 1016 | ><P |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 1017 | >Dump an HTML document to a file. If <TT |
| 1018 | CLASS="PARAMETER" |
| 1019 | ><I |
| 1020 | >filename</I |
| 1021 | ></TT |
| 1022 | > is "-" the stdout file is |
| 1023 | used.</P |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 1024 | ><P |
| 1025 | ></P |
| 1026 | ><DIV |
| 1027 | CLASS="INFORMALTABLE" |
| 1028 | ><P |
| 1029 | ></P |
| 1030 | ><TABLE |
| 1031 | BORDER="0" |
| 1032 | WIDTH="100%" |
| 1033 | BGCOLOR="#FFD0D0" |
| 1034 | CELLSPACING="0" |
| 1035 | CELLPADDING="4" |
| 1036 | CLASS="CALSTABLE" |
| 1037 | ><TR |
| 1038 | ><TD |
| 1039 | WIDTH="20%" |
| 1040 | ALIGN="RIGHT" |
| 1041 | VALIGN="TOP" |
| 1042 | ><TT |
| 1043 | CLASS="PARAMETER" |
| 1044 | ><I |
| 1045 | >filename</I |
| 1046 | ></TT |
| 1047 | > :</TD |
| 1048 | ><TD |
| 1049 | WIDTH="80%" |
| 1050 | ALIGN="LEFT" |
| 1051 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1052 | > the filename (or URL)</TD |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 1053 | ></TR |
| 1054 | ><TR |
| 1055 | ><TD |
| 1056 | WIDTH="20%" |
| 1057 | ALIGN="RIGHT" |
| 1058 | VALIGN="TOP" |
| 1059 | ><TT |
| 1060 | CLASS="PARAMETER" |
| 1061 | ><I |
| 1062 | >cur</I |
| 1063 | ></TT |
| 1064 | > :</TD |
| 1065 | ><TD |
| 1066 | WIDTH="80%" |
| 1067 | ALIGN="LEFT" |
| 1068 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1069 | > the document</TD |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 1070 | ></TR |
| 1071 | ><TR |
| 1072 | ><TD |
| 1073 | WIDTH="20%" |
| 1074 | ALIGN="RIGHT" |
| 1075 | VALIGN="TOP" |
| 1076 | ><I |
| 1077 | CLASS="EMPHASIS" |
| 1078 | >Returns</I |
| 1079 | > :</TD |
| 1080 | ><TD |
| 1081 | WIDTH="80%" |
| 1082 | ALIGN="LEFT" |
| 1083 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1084 | > the number of byte written or -1 in case of failure.</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1085 | ></TR |
| 1086 | ></TABLE |
| 1087 | ><P |
| 1088 | ></P |
| 1089 | ></DIV |
| 1090 | ></DIV |
| 1091 | ><HR><DIV |
| 1092 | CLASS="REFSECT2" |
| 1093 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 1094 | NAME="AEN10504" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1095 | ></A |
| 1096 | ><H3 |
| 1097 | ><A |
| 1098 | NAME="HTMLNODEDUMP" |
| 1099 | ></A |
| 1100 | >htmlNodeDump ()</H3 |
| 1101 | ><TABLE |
| 1102 | BORDER="0" |
| 1103 | BGCOLOR="#D6E8FF" |
| 1104 | WIDTH="100%" |
| 1105 | CELLPADDING="6" |
| 1106 | ><TR |
| 1107 | ><TD |
| 1108 | ><PRE |
| 1109 | CLASS="PROGRAMLISTING" |
| 1110 | >void htmlNodeDump (<A |
| 1111 | HREF="gnome-xml-tree.html#XMLBUFFERPTR" |
| 1112 | >xmlBufferPtr</A |
| 1113 | > buf, |
| 1114 | <A |
| 1115 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 1116 | >xmlDocPtr</A |
| 1117 | > doc, |
| 1118 | <A |
| 1119 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 1120 | >xmlNodePtr</A |
| 1121 | > cur);</PRE |
| 1122 | ></TD |
| 1123 | ></TR |
| 1124 | ></TABLE |
| 1125 | ><P |
| 1126 | >Dump an HTML node, recursive behaviour,children are printed too.</P |
| 1127 | ><P |
| 1128 | ></P |
| 1129 | ><DIV |
| 1130 | CLASS="INFORMALTABLE" |
| 1131 | ><P |
| 1132 | ></P |
| 1133 | ><TABLE |
| 1134 | BORDER="0" |
| 1135 | WIDTH="100%" |
| 1136 | BGCOLOR="#FFD0D0" |
| 1137 | CELLSPACING="0" |
| 1138 | CELLPADDING="4" |
| 1139 | CLASS="CALSTABLE" |
| 1140 | ><TR |
| 1141 | ><TD |
| 1142 | WIDTH="20%" |
| 1143 | ALIGN="RIGHT" |
| 1144 | VALIGN="TOP" |
| 1145 | ><TT |
| 1146 | CLASS="PARAMETER" |
| 1147 | ><I |
| 1148 | >buf</I |
| 1149 | ></TT |
| 1150 | > :</TD |
| 1151 | ><TD |
| 1152 | WIDTH="80%" |
| 1153 | ALIGN="LEFT" |
| 1154 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1155 | > the HTML buffer output</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1156 | ></TR |
| 1157 | ><TR |
| 1158 | ><TD |
| 1159 | WIDTH="20%" |
| 1160 | ALIGN="RIGHT" |
| 1161 | VALIGN="TOP" |
| 1162 | ><TT |
| 1163 | CLASS="PARAMETER" |
| 1164 | ><I |
| 1165 | >doc</I |
| 1166 | ></TT |
| 1167 | > :</TD |
| 1168 | ><TD |
| 1169 | WIDTH="80%" |
| 1170 | ALIGN="LEFT" |
| 1171 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1172 | > the document</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1173 | ></TR |
| 1174 | ><TR |
| 1175 | ><TD |
| 1176 | WIDTH="20%" |
| 1177 | ALIGN="RIGHT" |
| 1178 | VALIGN="TOP" |
| 1179 | ><TT |
| 1180 | CLASS="PARAMETER" |
| 1181 | ><I |
| 1182 | >cur</I |
| 1183 | ></TT |
| 1184 | > :</TD |
| 1185 | ><TD |
| 1186 | WIDTH="80%" |
| 1187 | ALIGN="LEFT" |
| 1188 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1189 | > the current node</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1190 | ></TR |
| 1191 | ></TABLE |
| 1192 | ><P |
| 1193 | ></P |
| 1194 | ></DIV |
| 1195 | ></DIV |
| 1196 | ><HR><DIV |
| 1197 | CLASS="REFSECT2" |
| 1198 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 1199 | NAME="AEN10530" |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1200 | ></A |
| 1201 | ><H3 |
| 1202 | ><A |
| 1203 | NAME="HTMLNODEDUMPFILE" |
| 1204 | ></A |
| 1205 | >htmlNodeDumpFile ()</H3 |
| 1206 | ><TABLE |
| 1207 | BORDER="0" |
| 1208 | BGCOLOR="#D6E8FF" |
| 1209 | WIDTH="100%" |
| 1210 | CELLPADDING="6" |
| 1211 | ><TR |
| 1212 | ><TD |
| 1213 | ><PRE |
| 1214 | CLASS="PROGRAMLISTING" |
| 1215 | >void htmlNodeDumpFile (<GTKDOCLINK |
| 1216 | HREF="FILE" |
| 1217 | >FILE</GTKDOCLINK |
| 1218 | > *out, |
| 1219 | <A |
| 1220 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 1221 | >xmlDocPtr</A |
| 1222 | > doc, |
| 1223 | <A |
| 1224 | HREF="gnome-xml-tree.html#XMLNODEPTR" |
| 1225 | >xmlNodePtr</A |
| 1226 | > cur);</PRE |
| 1227 | ></TD |
| 1228 | ></TR |
| 1229 | ></TABLE |
| 1230 | ><P |
| 1231 | >Dump an HTML node, recursive behaviour,children are printed too.</P |
| 1232 | ><P |
| 1233 | ></P |
| 1234 | ><DIV |
| 1235 | CLASS="INFORMALTABLE" |
| 1236 | ><P |
| 1237 | ></P |
| 1238 | ><TABLE |
| 1239 | BORDER="0" |
| 1240 | WIDTH="100%" |
| 1241 | BGCOLOR="#FFD0D0" |
| 1242 | CELLSPACING="0" |
| 1243 | CELLPADDING="4" |
| 1244 | CLASS="CALSTABLE" |
| 1245 | ><TR |
| 1246 | ><TD |
| 1247 | WIDTH="20%" |
| 1248 | ALIGN="RIGHT" |
| 1249 | VALIGN="TOP" |
| 1250 | ><TT |
| 1251 | CLASS="PARAMETER" |
| 1252 | ><I |
| 1253 | >out</I |
| 1254 | ></TT |
| 1255 | > :</TD |
| 1256 | ><TD |
| 1257 | WIDTH="80%" |
| 1258 | ALIGN="LEFT" |
| 1259 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1260 | > the FILE pointer</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1261 | ></TR |
| 1262 | ><TR |
| 1263 | ><TD |
| 1264 | WIDTH="20%" |
| 1265 | ALIGN="RIGHT" |
| 1266 | VALIGN="TOP" |
| 1267 | ><TT |
| 1268 | CLASS="PARAMETER" |
| 1269 | ><I |
| 1270 | >doc</I |
| 1271 | ></TT |
| 1272 | > :</TD |
| 1273 | ><TD |
| 1274 | WIDTH="80%" |
| 1275 | ALIGN="LEFT" |
| 1276 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1277 | > the document</TD |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 1278 | ></TR |
| 1279 | ><TR |
| 1280 | ><TD |
| 1281 | WIDTH="20%" |
| 1282 | ALIGN="RIGHT" |
| 1283 | VALIGN="TOP" |
| 1284 | ><TT |
| 1285 | CLASS="PARAMETER" |
| 1286 | ><I |
| 1287 | >cur</I |
| 1288 | ></TT |
| 1289 | > :</TD |
| 1290 | ><TD |
| 1291 | WIDTH="80%" |
| 1292 | ALIGN="LEFT" |
| 1293 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1294 | > the current node</TD |
Daniel Veillard | 3bde3e2 | 2000-01-30 20:00:07 +0000 | [diff] [blame] | 1295 | ></TR |
| 1296 | ></TABLE |
| 1297 | ><P |
| 1298 | ></P |
| 1299 | ></DIV |
| 1300 | ></DIV |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 1301 | ><HR><DIV |
| 1302 | CLASS="REFSECT2" |
| 1303 | ><A |
Daniel Veillard | a1fe910 | 2000-11-25 10:49:25 +0000 | [diff] [blame] | 1304 | NAME="AEN10556" |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 1305 | ></A |
| 1306 | ><H3 |
| 1307 | ><A |
| 1308 | NAME="HTMLSAVEFILEENC" |
| 1309 | ></A |
| 1310 | >htmlSaveFileEnc ()</H3 |
| 1311 | ><TABLE |
| 1312 | BORDER="0" |
| 1313 | BGCOLOR="#D6E8FF" |
| 1314 | WIDTH="100%" |
| 1315 | CELLPADDING="6" |
| 1316 | ><TR |
| 1317 | ><TD |
| 1318 | ><PRE |
| 1319 | CLASS="PROGRAMLISTING" |
| 1320 | >int htmlSaveFileEnc (const char *filename, |
| 1321 | <A |
| 1322 | HREF="gnome-xml-tree.html#XMLDOCPTR" |
| 1323 | >xmlDocPtr</A |
| 1324 | > cur, |
| 1325 | const char *encoding);</PRE |
| 1326 | ></TD |
| 1327 | ></TR |
| 1328 | ></TABLE |
| 1329 | ><P |
| 1330 | >Dump an HTML document to a file using a given encoding.</P |
| 1331 | ><P |
| 1332 | ></P |
| 1333 | ><DIV |
| 1334 | CLASS="INFORMALTABLE" |
| 1335 | ><P |
| 1336 | ></P |
| 1337 | ><TABLE |
| 1338 | BORDER="0" |
| 1339 | WIDTH="100%" |
| 1340 | BGCOLOR="#FFD0D0" |
| 1341 | CELLSPACING="0" |
| 1342 | CELLPADDING="4" |
| 1343 | CLASS="CALSTABLE" |
| 1344 | ><TR |
| 1345 | ><TD |
| 1346 | WIDTH="20%" |
| 1347 | ALIGN="RIGHT" |
| 1348 | VALIGN="TOP" |
| 1349 | ><TT |
| 1350 | CLASS="PARAMETER" |
| 1351 | ><I |
| 1352 | >filename</I |
| 1353 | ></TT |
| 1354 | > :</TD |
| 1355 | ><TD |
| 1356 | WIDTH="80%" |
| 1357 | ALIGN="LEFT" |
| 1358 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1359 | > the filename</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 1360 | ></TR |
| 1361 | ><TR |
| 1362 | ><TD |
| 1363 | WIDTH="20%" |
| 1364 | ALIGN="RIGHT" |
| 1365 | VALIGN="TOP" |
| 1366 | ><TT |
| 1367 | CLASS="PARAMETER" |
| 1368 | ><I |
| 1369 | >cur</I |
| 1370 | ></TT |
| 1371 | > :</TD |
| 1372 | ><TD |
| 1373 | WIDTH="80%" |
| 1374 | ALIGN="LEFT" |
| 1375 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1376 | > the document</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 1377 | ></TR |
| 1378 | ><TR |
| 1379 | ><TD |
| 1380 | WIDTH="20%" |
| 1381 | ALIGN="RIGHT" |
| 1382 | VALIGN="TOP" |
| 1383 | ><TT |
| 1384 | CLASS="PARAMETER" |
| 1385 | ><I |
| 1386 | >encoding</I |
| 1387 | ></TT |
| 1388 | > :</TD |
| 1389 | ><TD |
| 1390 | WIDTH="80%" |
| 1391 | ALIGN="LEFT" |
| 1392 | VALIGN="TOP" |
| 1393 | > </TD |
| 1394 | ></TR |
| 1395 | ><TR |
| 1396 | ><TD |
| 1397 | WIDTH="20%" |
| 1398 | ALIGN="RIGHT" |
| 1399 | VALIGN="TOP" |
| 1400 | ><I |
| 1401 | CLASS="EMPHASIS" |
| 1402 | >Returns</I |
| 1403 | > :</TD |
| 1404 | ><TD |
| 1405 | WIDTH="80%" |
| 1406 | ALIGN="LEFT" |
| 1407 | VALIGN="TOP" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1408 | > the number of byte written or -1 in case of failure.</TD |
Daniel Veillard | e46e20d | 2000-07-14 15:02:46 +0000 | [diff] [blame] | 1409 | ></TR |
| 1410 | ></TABLE |
| 1411 | ><P |
| 1412 | ></P |
| 1413 | ></DIV |
| 1414 | ></DIV |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 1415 | ></DIV |
| 1416 | ><DIV |
| 1417 | CLASS="NAVFOOTER" |
Daniel Veillard | 00fdf37 | 1999-10-08 09:40:39 +0000 | [diff] [blame] | 1418 | ><BR |
| 1419 | CLEAR="all"><BR><TABLE |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 1420 | WIDTH="100%" |
| 1421 | BORDER="0" |
| 1422 | BGCOLOR="#000000" |
| 1423 | CELLPADDING="1" |
| 1424 | CELLSPACING="0" |
| 1425 | ><TR |
| 1426 | ><TD |
| 1427 | WIDTH="25%" |
| 1428 | BGCOLOR="#C00000" |
| 1429 | ALIGN="left" |
| 1430 | ><A |
| 1431 | HREF="gnome-xml-htmlparser.html" |
| 1432 | ><FONT |
| 1433 | COLOR="#FFFFFF" |
| 1434 | SIZE="3" |
| 1435 | ><B |
| 1436 | ><<< Previous Page</B |
| 1437 | ></FONT |
| 1438 | ></A |
| 1439 | ></TD |
| 1440 | ><TD |
| 1441 | WIDTH="25%" |
| 1442 | BGCOLOR="#0000C0" |
| 1443 | ALIGN="center" |
| 1444 | ><FONT |
| 1445 | COLOR="#FFFFFF" |
| 1446 | SIZE="3" |
| 1447 | ><B |
| 1448 | ><A |
| 1449 | HREF="book1.html" |
| 1450 | ><FONT |
| 1451 | COLOR="#FFFFFF" |
| 1452 | SIZE="3" |
| 1453 | ><B |
| 1454 | >Home</B |
| 1455 | ></FONT |
| 1456 | ></A |
| 1457 | ></B |
| 1458 | ></FONT |
| 1459 | ></TD |
| 1460 | ><TD |
| 1461 | WIDTH="25%" |
| 1462 | BGCOLOR="#00C000" |
| 1463 | ALIGN="center" |
| 1464 | ><FONT |
| 1465 | COLOR="#FFFFFF" |
| 1466 | SIZE="3" |
| 1467 | ><B |
| 1468 | ><A |
Daniel Veillard | 3500838 | 1999-10-25 13:15:52 +0000 | [diff] [blame] | 1469 | HREF="libxml-lib.html" |
Daniel Veillard | 1566d3a | 1999-07-15 14:24:29 +0000 | [diff] [blame] | 1470 | ><FONT |
| 1471 | COLOR="#FFFFFF" |
| 1472 | SIZE="3" |
| 1473 | ><B |
| 1474 | >Up</B |
| 1475 | ></FONT |
| 1476 | ></A |
| 1477 | ></B |
| 1478 | ></FONT |
| 1479 | ></TD |
| 1480 | ><TD |
| 1481 | WIDTH="25%" |
| 1482 | BGCOLOR="#C00000" |
| 1483 | ALIGN="right" |
| 1484 | ><A |
| 1485 | HREF="gnome-xml-xpath.html" |
| 1486 | ><FONT |
| 1487 | COLOR="#FFFFFF" |
| 1488 | SIZE="3" |
| 1489 | ><B |
| 1490 | >Next Page >>></B |
| 1491 | ></FONT |
| 1492 | ></A |
| 1493 | ></TD |
| 1494 | ></TR |
| 1495 | ><TR |
| 1496 | ><TD |
| 1497 | COLSPAN="2" |
| 1498 | ALIGN="left" |
| 1499 | ><FONT |
| 1500 | COLOR="#FFFFFF" |
| 1501 | SIZE="3" |
| 1502 | ><B |
| 1503 | >HTMLparser</B |
| 1504 | ></FONT |
| 1505 | ></TD |
| 1506 | ><TD |
| 1507 | COLSPAN="2" |
| 1508 | ALIGN="right" |
| 1509 | ><FONT |
| 1510 | COLOR="#FFFFFF" |
| 1511 | SIZE="3" |
| 1512 | ><B |
| 1513 | >xpath</B |
| 1514 | ></FONT |
| 1515 | ></TD |
| 1516 | ></TR |
| 1517 | ></TABLE |
| 1518 | ></DIV |
| 1519 | ></BODY |
| 1520 | ></HTML |
| 1521 | > |