The standalone Declaration

The standalone attribute has the value yes or no. If no standalone declaration is present, then no is the default.

A yes value means that no declarations in the external DTD subset affect the content of the document in any way. Specifically, the following four conditions apply.

  1. No default attribute values are specified for elements.

  2. No entity references used in the instance document are defined.

  3. No attribute values need to be normalized.

  4. No elements contain ignorable white space.

Table 1-1. Character Set Names Defined in XML
NameSet
UTF-8Variable width, byte order independent Unicode
UTF-16Two-byte Unicode with surrogate pairs
ISO-10646-UCS-2Two-byte Unicode without surrogate pairs; plane 0 only
ISO-10646-UCS-4Four-byte Unicode ...

Get Effective XML: 50 Specific Ways to Improve Your XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.