<html>
<head>
<title>Special Attributes</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">Special Attributes</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>
Some attributes are significant to
XML:</p>

<variablelist>
<varlistentry><term><span class="LITERAL">xml:space</span>
</term>
<li>
<p>The <span class="LITERAL">xml:space</span> attribute tells an XML application
whether the whitespace within the specified element is significant:</p>


<span class="PROGRAMLISTING"><pre>&lt;!ATTLIST <var class="replaceable">element_name</var> xml:space (default|preserve)
  default_decl<var class="replaceable">&gt;</var>
&lt;!ATTLIST <var class="replaceable">element_name</var> xml:space (default) #FIXED 'default' &gt;
&lt;!ATTLIST <var class="replaceable">element_name</var> xml:space (preserve) #FIXED 'preserve' &gt;</pre></span>
</li>
</varlistentry>

<varlistentry><term><span class="LITERAL">xml:lang</span></term>
<li>
<p>The <span class="LITERAL">xml:lang</span>  attribute allows a
document author to specify the human language for an
element's character content. If used in a valid XML
document, the document type definition must include an attribute type
declaration with the <span class="LITERAL">xml:lang</span> attribute name. See
<link linkend="xmlnut3-CHP-5">Chapter 5</link> for an explanation of language
support in XML.</p>
</li>
</varlistentry>
</variablelist>
</td></tr>
</table>
</div>
</body>
</html>