XML Definitions
- Attribute
The
Name-AttValue
pairs are referred to as the attribute specifications of the element.- Attribute Default
If the declaration is neither
#REQUIRED
nor#IMPLIED
, then theAttValue
value contains the declared default value; the#FIXED
keyword states that the attribute must always have the default value. If a default value is declared, when an XML processor encounters an omitted attribute, it behaves as though the attribute is present with the declared default value.- Attribute-List Declaration
Attribute-list declarations specify the name, data type, and default value (if any) of each attribute associated with a given element type.
- Attribute Name
The name in each pair is referred to as the attribute name.
- Attribute Value
The content of the
AttValue
(the text between the ' or " delimiters).- CDATA Section
May occur anywhere character data may occur; used to escape blocks of text containing characters that would otherwise be recognized as markup.
- Character
An atomic unit of text as specified by ISO/IEC 10646. Legal characters are tab, carriage return, line feed, and the legal graphic characters of Unicode and ISO/IEC 10646. The versions of these standards were current at the time of this writing. New characters may be added to these standards by amendments or new editions. Consequently, XML processors must accept any character in the range specified for Char. The use of compatibility characters is discouraged.
- Character Data
All text that is not markup constitutes ...
Get Python & 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.