Skip to content

Commit

Permalink
Explain better the convention for attributes with no namespace value
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelmegitt committed Oct 8, 2024
1 parent 685f0e9 commit 102ec07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,10 @@ <h2>Documentation Conventions</h2>
is not namespace qualified, then the TT namespace applies (see <a href="#namespaces">Namespaces</a>).</li>
<li>When referring to an [[XML]] attribute in the prose,
the attribute name is given with its prefix,
or without a prefix if the attribute is in the global namespace.
Attributes are styled as follows: <code>attributePrefix:attributeName</code>.
if its namespace has a value,
or without a prefix if its namespace has no value.
Attributes with prefixes are styled as <code>attributePrefix:attributeName</code>
and those without prefixes are styled as <code>attributeName</code>.
The entity is also described as an attribute in the prose.</li>
<li>When defining new [[XML]] attributes, this specification uses the conventions used for
"value syntax expressions" in [[TTML2]]. For example, the following would define a new attribute
Expand Down

0 comments on commit 102ec07

Please sign in to comment.