text-decoration

The text-decoration attribute group is based on the similar feature in XHTML and CSS. It allows for text to be underlined, overlined, or struck-through. It extends the CSS version by allow double or triple lines instead of just being on or off.

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
line-through number-of-lines optional
overline number-of-lines optional
underline number-of-lines optional

Used By

Attribute Group text-formatting
Complex Types rehearsal, text-element-data

Source

<xs:attributeGroup name="text-decoration">
  <xs:annotation>
    <xs:documentation>The text-decoration attribute group is based on the similar feature in XHTML and CSS. It allows for text to be underlined, overlined, or struck-through. It extends the CSS version by allow double or triple lines instead of just being on or off.</xs:documentation>
  </xs:annotation>
  <xs:attribute name="underline" type="number-of-lines"/>
  <xs:attribute name="overline" type="number-of-lines"/>
  <xs:attribute name="line-through" type="number-of-lines"/>
</xs:attributeGroup>