mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-08 17:42:14 +03:00
* doc/Makefile.am doc/*.html doc/html/*.html: rebuilt the generated pages (again), manually restored doc/html/index.html and manually edited generated file doc/gnome-xml.xml to put in appropriate headings. * doc/docdescr.doc: new file to describe details of the document generation (helps my memory for the next time) * genChRanges.py,chvalid.c,include/libxml/chvalid.h: minor enhancement to please the automatic documentation generation.
133 lines
7.8 KiB
HTML
133 lines
7.8 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>HTMLparser</title><meta name="generator" content="DocBook XSL Stylesheets V1.48"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css">
|
||
.synopsis, .classsynopsis {
|
||
background: #eeeeee;
|
||
border: solid 1px #aaaaaa;
|
||
padding: 0.5em;
|
||
}
|
||
.programlisting {
|
||
background: #eeeeff;
|
||
border: solid 1px #aaaaff;
|
||
padding: 0.5em;
|
||
}
|
||
.variablelist {
|
||
padding: 4px;
|
||
margin-left: 3em;
|
||
}
|
||
.navigation {
|
||
background: #ffeeee;
|
||
border: solid 1px #ffaaaa;
|
||
margin-top: 0.5em;
|
||
margin-bottom: 0.5em;
|
||
}
|
||
.navigation a {
|
||
color: #770000;
|
||
}
|
||
.navigation a:visited {
|
||
color: #550000;
|
||
}
|
||
.navigation .title {
|
||
font-size: 200%;
|
||
}
|
||
</style><link rel="home" href="index.html" title="Gnome XML Library Reference Manual "><link rel="up" href="ch01.html" title="Libxml Programming Notes"><link rel="previous" href="libxml-entities.html" title="entities"><link rel="next" href="libxml-valid.html" title="valid"></head><body text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="libxml-entities.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">Gnome XML Library Reference Manual </th><td><a accesskey="n" href="libxml-valid.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="libxml-HTMLparser"></a><div class="titlepage"></div><div class="refnamediv"><h2>HTMLparser</h2><p>HTMLparser — </p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id2684037"></a>Synopsis</h1></h2><pre class="synopsis">
|
||
|
||
|
||
|
||
typedef <a href="libxml-HTMLparser.html#htmlParserCtxt">htmlParserCtxt</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlParserNodeInfo">htmlParserNodeInfo</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlSAXHandler">htmlSAXHandler</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlParserInput">htmlParserInput</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlParserInputPtr">htmlParserInputPtr</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlNodePtr">htmlNodePtr</a>;
|
||
struct <a href="libxml-HTMLparser.html#htmlElemDesc">htmlElemDesc</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlElemDescPtr">htmlElemDescPtr</a>;
|
||
struct <a href="libxml-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a>;
|
||
typedef <a href="libxml-HTMLparser.html#htmlEntityDescPtr">htmlEntityDescPtr</a>;
|
||
enum <a href="libxml-HTMLparser.html#htmlParserOption">htmlParserOption</a>;
|
||
</pre></div><div class="refsect1"><h2>Description</h2><p>
|
||
|
||
</p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="htmlParserCtxt"></a>htmlParserCtxt</h3><pre class="programlisting">typedef xmlParserCtxt htmlParserCtxt;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlParserCtxtPtr"></a>htmlParserCtxtPtr</h3><pre class="programlisting">typedef xmlParserCtxtPtr htmlParserCtxtPtr;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlParserNodeInfo"></a>htmlParserNodeInfo</h3><pre class="programlisting">typedef xmlParserNodeInfo htmlParserNodeInfo;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlSAXHandler"></a>htmlSAXHandler</h3><pre class="programlisting">typedef xmlSAXHandler htmlSAXHandler;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlSAXHandlerPtr"></a>htmlSAXHandlerPtr</h3><pre class="programlisting">typedef xmlSAXHandlerPtr htmlSAXHandlerPtr;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlParserInput"></a>htmlParserInput</h3><pre class="programlisting">typedef xmlParserInput htmlParserInput;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlParserInputPtr"></a>htmlParserInputPtr</h3><pre class="programlisting">typedef xmlParserInputPtr htmlParserInputPtr;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlDocPtr"></a>htmlDocPtr</h3><pre class="programlisting">typedef xmlDocPtr htmlDocPtr;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlNodePtr"></a>htmlNodePtr</h3><pre class="programlisting">typedef xmlNodePtr htmlNodePtr;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlElemDesc"></a>struct htmlElemDesc</h3><pre class="programlisting">struct htmlElemDesc {
|
||
|
||
const char *name; /* The tag name */
|
||
char startTag; /* Whether the start tag can be implied */
|
||
char endTag; /* Whether the end tag can be implied */
|
||
char saveEndTag; /* Whether the end tag should be saved */
|
||
char empty; /* Is this an empty element ? */
|
||
char depr; /* Is this a deprecated element ? */
|
||
char dtd; /* 1: only in Loose DTD, 2: only Frameset one */
|
||
char isinline; /* is this a block 0 or inline 1 element */
|
||
const char *desc; /* the description */
|
||
|
||
/* NRK Jan.2003
|
||
* New fields encapsulating HTML structure
|
||
*
|
||
* Bugs:
|
||
* This is a very limited representation. It fails to tell us when
|
||
* an element *requires* subelements (we only have whether they're
|
||
* allowed or not), and it doesn't tell us where CDATA and PCDATA
|
||
* are allowed. Some element relationships are not fully represented:
|
||
* these are flagged with the word MODIFIER
|
||
*/
|
||
const char** subelts; /* allowed sub-elements of this element */
|
||
const char* defaultsubelt; /* subelement for suggested auto-repair
|
||
if necessary or NULL */
|
||
const char** attrs_opt; /* Optional Attributes */
|
||
const char** attrs_depr; /* Additional deprecated attributes */
|
||
const char** attrs_req; /* Required attributes */
|
||
};
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlElemDescPtr"></a>htmlElemDescPtr</h3><pre class="programlisting">typedef htmlElemDesc *htmlElemDescPtr;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlEntityDesc"></a>struct htmlEntityDesc</h3><pre class="programlisting">struct htmlEntityDesc {
|
||
|
||
unsigned int value; /* the UNICODE value for the character */
|
||
const char *name; /* The entity name */
|
||
const char *desc; /* the description */
|
||
};
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlEntityDescPtr"></a>htmlEntityDescPtr</h3><pre class="programlisting">typedef htmlEntityDesc *htmlEntityDescPtr;
|
||
</pre><p>
|
||
|
||
</p></div><hr><div class="refsect2"><h3><a name="htmlParserOption"></a>enum htmlParserOption</h3><pre class="programlisting">typedef enum {
|
||
HTML_PARSE_NOERROR = 1<<5, /* suppress error reports */
|
||
HTML_PARSE_NOWARNING= 1<<6, /* suppress warning reports */
|
||
HTML_PARSE_PEDANTIC = 1<<7, /* pedantic error reporting */
|
||
HTML_PARSE_NOBLANKS = 1<<8, /* remove blank nodes */
|
||
HTML_PARSE_NONET = 1<<11 /* Forbid network access */
|
||
} htmlParserOption;
|
||
</pre><p>
|
||
|
||
</p></div></div></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="libxml-entities.html"><b><<<EFBFBD>entities</b></a></td><td align="right"><a accesskey="n" href="libxml-valid.html"><b>valid<EFBFBD>>></b></a></td></tr></table></body></html>
|