<html>
<head>
<title>Standalone Declaration</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="Description">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">Standalone Declaration</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description">
<span class="PROGRAMLISTING"><pre><strong class="userinput">... standalone="</strong><var class="replaceable">yes</var>|<var class="replaceable">no</var><strong class="userinput">" ...</strong></pre></span>
<p>
If
a document is completely self contained (the DTD, if there is one, is
contained completely within the original document), then the
<span class="LITERAL">standalone="yes</span>" declaration may be used. If this
declaration is not given, the value <span class="LITERAL">no</span> is assumed,
and all external entities are read and parsed.</p>

<p>From the standpoint of an XML application developer, this flag has no
effect on how a document is parsed. However, if it is given, it must
be accurate. Setting <span class="LITERAL">standalone="yes</span>" when a
document does require DTD declarations that are not present in the
main document file is a violation of XML validity rules.</p>

</td></tr>
</table>
</div>
</body>
</html>