Substantially reduce the amount of indentation used in the table of
contents. Added documentation for XML_UseForeignDTD().
This commit is contained in:
parent
d4f7009363
commit
d0ce0b3b0b
@ -112,6 +112,7 @@ Clark Cooper to retain copyright and to distribute it with expat.</p>
|
||||
<li><a href="#XML_GetIdAttributeIndex">XML_GetIdAttributeIndex</a></li>
|
||||
<li><a href="#XML_SetEncoding">XML_SetEncoding</a></li>
|
||||
<li><a href="#XML_SetParamEntityParsing">XML_SetParamEntityParsing</a></li>
|
||||
<li><a href="#XML_UseForeignDTD">XML_UseForeignDTD</a></li>
|
||||
<li><a href="#XML_SetReturnNSTriplet">XML_SetReturnNSTriplet</a></li>
|
||||
<li><a href="#XML_DefaultCurrent">XML_DefaultCurrent</a></li>
|
||||
<li><a href="#XML_ExpatVersion">XML_ExpatVersion</a></li>
|
||||
@ -1585,6 +1586,38 @@ The choices for <code>code</code> are:
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<pre class="fcndec" id="XML_UseForeignDTD">
|
||||
enum XML_Error
|
||||
XML_UseForeignDTD(XML_Parser parser, XML_Bool useDTD)
|
||||
</pre>
|
||||
<div class="fcndef">
|
||||
<p>This function allows an application to provide an external subset
|
||||
for the document type declaration for documents which do not specify
|
||||
an external subset of their own. For documents which specify an
|
||||
external subset in their DOCTYPE declaration, the application-provided
|
||||
subset will be ignored. If the document does not contain a DOCTYPE
|
||||
declaration at all and <code>useDTD</code> is true, the
|
||||
application-provided subset will be parsed, but the
|
||||
<code>startDoctypeDeclHandler</code> and
|
||||
<code>endDoctypeDeclHandler</code> functions, if set, will not be
|
||||
called. The setting of parameter entity parsing, controlled using
|
||||
<code><a href= "#XML_SetParamEntityParsing"
|
||||
>XML_SetParamEntityParsing</a></code>, will be honored.</p>
|
||||
|
||||
<p>The application-provided external subset is read by calling the
|
||||
external entity reference handler set via <code><a href=
|
||||
"#XML_SetExternalEntityRefHandler"
|
||||
>XML_SetExternalEntityRefHandler</a></code> with both
|
||||
<code>publicId</code> and <code>systemId</code> set to NULL.</p>
|
||||
|
||||
<p>If this function is called after parsing has begun, it returns
|
||||
<code>XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING</code> and ignores
|
||||
<code>useDTD</code>. If called when Expat has been compiled without
|
||||
DTD support, it returns
|
||||
<code>XML_ERROR_FEATURE_REQUIRES_XML_DTD</code>. Otherwise, it
|
||||
returns <code>XML_ERROR_NONE</code>.</p>
|
||||
</div>
|
||||
|
||||
<pre class="fcndec" id="XML_SetReturnNSTriplet">
|
||||
void
|
||||
XML_SetReturnNSTriplet(XML_Parser parser,
|
||||
|
Loading…
Reference in New Issue
Block a user