Markup Compatibility Attributes and Elements
This specification defines attributes to express compatibility rules and elements to specify alternate content.
Character |
Syntax |
---|---|
space |
#x20 |
tab |
#x9 |
line feed |
#xA |
carriage return |
#xD |
Whitespace characters that appear in values of attributes defined in this specification shall be normalized by markup consumers before processing as follows:
Replace each tab, line feed, and carriage return with a space.
Collapse contiguous sequences of spaces into a single space.
Remove leading and trailing spaces.
Name |
Description |
---|---|
|
A whitespace-delimited list of namespace prefixes that identify a set of namespaces whose elements and attributes should be silently ignored by markup consumers that do not understand the namespace of the element or attribute in question. |
ProcessContent |
A whitespace-delimited list of element-qualified names identifying the expanded names of elements whose content shall be processed, even if the elements themselves are ignored. In any qualified name in the list, the wildcard character “*” can replace the local name to indicate that the content of all elements in the namespace shall be processed. |
PreserveElements |
A whitespace-delimited list of element qualified names identifying the expanded names of elements that a markup producer suggests for preservation by markup editors, even if the elements themselves are ignored. In any qualified name in the list, the wildcard character “*” can replace the local name to indicate that all elements in the namespace should be preserved. |
PreserveAttributes |
A whitespace-delimited list of attribute qualified names identifying the expanded names of attributes that a markup producer suggests for preservation by markup editors. In any qualified name in the list, the wildcard character “*” can replace the local name to indicate that all attributes in the namespace should be preserved. |
MustUnderstand |
A whitespace-delimited list of namespace prefixes identifying a set of namespace names. Markup consumers that do not understand these namespaces shall not continue to process the markup document and shall generate an error. |
Name |
Description |
---|---|
AlternateContent |
Associates a set of possible markup alternatives that a markup consumer might choose based on that markup consumer’s understood namespaces. The markup consumer chooses the first alternative, in markup order, requiring only namespaces it understands. |
Choice |
This child of |
Fallback |
This child of |