<html>
<head>
<title>Conditional Sections</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">Conditional Sections</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">

<p>The 
conditional section markup provides
support for conditionally including and excluding content at parse
time within an XML document's external subset.
Conditional sections are not allowed within a
document's internal subset. The following example
illustrates a likely application of conditional sections:</p>

<span class="PROGRAMLISTING"><pre>&lt;!ENTITY % debug 'IGNORE' &gt;
&lt;!ENTITY % release 'INCLUDE' &gt;
 
&lt;!ELEMENT addend (#PCDATA)&gt;
&lt;!ELEMENT result (#PCDATA)&gt;
 
&lt;![%debug;[
&lt;!ELEMENT sum (addend+, result)&gt;
]]&gt;
&lt;![%release;[
&lt;!ELEMENT sum (result)&gt;
]]&gt;</pre></span>
</td></tr>
</table>
</div>
</body>
</html>