xhtml:Common.attrib
Attribute group information
Namespace: http://www.w3.org/1999/xhtml
Schema document: uslm-table-module-2.1.0.xsd
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
role | [0..1] | uslm:ShortStringSimpleType | Use the @role attribute to provide further refinement to an element's type. This is particularly useful when defining a refinement of an element from the abstract set. Another possible use is to use the customary local name for an element whenever the element name is not a complete match. For example, if the customary name for an "explanation" is "summary", then the element can be expressed as <explanation role="summary">. There is a rough equivalence between an element of a base class with a @role attribute and a derived class in the schema, although this equivalence is not explicit. For example <level role="division"> is roughly equal to <division>. When transforming XML to HTML, the @role attribute should be appended to the element name using an "_" underscore and used as the first value in the HTML @class attribute. If desired, the proposed XHTML @role attribute can be computed as either the XML @role attribute or, in the absence of the XML @role attribute, the XML element name. For example: <level role="division"> => <div role="division" class="level_division"> <division> => <div role="division" class="division"> This approach is easily reversible. In a similar way to the @class attribute, multiple role values can be specified in a space separated list. | from group uslm:ClassificationGroup |
class | [0..1] | uslm:MediumStringSimpleType | The @class attribute corresponds to the @class attribute in HTML. It can be used to specify presentation characteristics of an element that are not specified by the element name and the @role attribute. For example, the @class attribute can be used to specify the presence or absence of the ending separator. Like the HTML @class attribute, multiple class values can be specified in a space separated list. | from group uslm:ClassificationGroup |
style | [0..1] | uslm:LongStringSimpleType | The @style attribute is used to specify CSS attributes that override the default styles defined for an element or an element class. The current loose-leaf publication standards should be specified using an external style sheet and the use of the @style attribute should be reserved for exception cases where the default presentation must be overridden. | from group uslm:ClassificationGroup |
styleType | [0..1] | uslm:StyleTypeEnum | The @styleType attribute is used to set the overall semantic type of the block. This has rendering implications. Only a small set of values is allowed. | Default value is "OLC". from group uslm:ClassificationGroup |
Used in
- Anonymous type of element xhtml:img
- Attribute group xhtml:xhtml.Common.attrib
- Attribute group xhtml:xhtml.td.attlist
- Attribute group xhtml:xhtml.th.attlist
- Attribute group xhtml:xhtml.tr.attlist
- Attribute group xhtml:xhtml.col.attlist
- Attribute group xhtml:xhtml.colgroup.attlist
- Attribute group xhtml:xhtml.tbody.attlist
- Attribute group xhtml:xhtml.tfoot.attlist
- Attribute group xhtml:xhtml.thead.attlist
- Attribute group xhtml:xhtml.caption.attlist
- Attribute group xhtml:xhtml.table.attlist
- Type xhtml:xhtml.td.type via reference to xhtml:xhtml.td.attlist (Element xhtml:td)
- Type xhtml:xhtml.th.type via reference to xhtml:xhtml.th.attlist (Element xhtml:th)
- Type xhtml:xhtml.tr.type via reference to xhtml:xhtml.tr.attlist (Element xhtml:tr)
- Type xhtml:xhtml.col.type via reference to xhtml:xhtml.col.attlist (Element xhtml:col)
- Type xhtml:xhtml.colgroup.type via reference to xhtml:xhtml.colgroup.attlist (Element xhtml:colgroup)
- Type xhtml:xhtml.tbody.type via reference to xhtml:xhtml.tbody.attlist (Element xhtml:tbody)
- Type xhtml:xhtml.tfoot.type via reference to xhtml:xhtml.tfoot.attlist (Element xhtml:tfoot)
- Type xhtml:xhtml.thead.type via reference to xhtml:xhtml.thead.attlist (Element xhtml:thead)
- Type xhtml:xhtml.caption.type via reference to xhtml:xhtml.caption.attlist (Element xhtml:caption)
- Type xhtml:xhtml.table.type via reference to xhtml:xhtml.table.attlist (Element xhtml:table)