uslm:ClassificationGroup
The classification group is used to further refine the element type and to specify any exception cases for styling the element when presented in the printed form. The @role attribute is inspired by the @role attribute defined in support of WAI-ARIA for use in XHTML. Both the @class and the @style attributes are inspired by the identically named HTML attributes and their behavior is the same. All elements use the classification group.
Attribute group information
Namespace: http://schemas.gpo.gov/xml/uslm
Schema document: uslm-components-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. | |
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. | |
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. | |
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". |
Used in
- Anonymous type of element uslm:amendment
- Anonymous type of element uslm:officialTitleAmendment
- Anonymous type of element uslm:foreign
- Anonymous type of element uslm:designator
- Anonymous type of element uslm:label
- Anonymous type of element uslm:target
- Anonymous type of element uslm:continuation
- Anonymous type of element uslm:committee
- Anonymous type of element uslm:amendmentNumber
- Anonymous type of element uslm:citableAs
- Anonymous type of element uslm:citableAsShortTitle
- Anonymous type of element uslm:containsShortTitle
- Anonymous type of element uslm:notation
- Anonymous type of element uslm:longTitle
- Anonymous type of element uslm:editorialContent
- Anonymous type of element uslm:recital
- Anonymous type of element uslm:actionDescription
- Anonymous type of element uslm:affiliation
- Attribute group xhtml:Common.attrib
- 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 uslm:BaseType
- Type uslm:BaseBlockType
- Type uslm:BaseContentType
- Type uslm:MarkerType (Element uslm:marker)
- Type uslm:BrType (Element uslm:br)
- Type uslm:ImgType (Element uslm:img)
- Type uslm:MainType (Element uslm:main)
- Type uslm:AttestationType (Element uslm:attestation)
- Type uslm:SignaturesType (Element uslm:signatures)
- Type uslm:AmendDocType (Element uslm:engrossedAmendment)
- Type uslm:GenericDocType (Element uslm:document)
- Type uslm:AmendMetaType (Element uslm:amendMeta)
- Type uslm:MetaType (Element uslm:meta)
- Type uslm:AmendPrefaceType (Element uslm:amendPreface)
- Type uslm:PrefaceType (Element uslm:preface)
- Type uslm:SetType (Element uslm:set)
- Type uslm:AmendMainType (Element uslm:amendMain)
- Type uslm:PreambleType (Element uslm:preamble)
- Type uslm:RulePreambleType (Element uslm:rulePreamble)
- Type uslm:AmendmentInstructionType (Element uslm:amendmentInstruction)
- Type uslm:AppropriationsType (Element uslm:appropriations)
- Type uslm:BackMatterType (Element uslm:backMatter)
- Type uslm:EndorsementType (Element uslm:endorsement)
- Type uslm:LayoutType (Element uslm:layout)
- Type uslm:AmendingActionType (Element uslm:amendingAction)
- Type uslm:RefType (Element uslm:ref)
- Type uslm:DateType (Element uslm:date)
- Type uslm:ElidedType (Element uslm:elided)
- Type uslm:QuotedContentType (Element uslm:quotedContent)
- Type uslm:AmendmentContentType (Element uslm:amendmentContent)
- Type uslm:ComponentType (Element uslm:component)
- Type uslm:CoverTextType (Element uslm:coverText)
- Type uslm:ListType (Element uslm:list)
- Type uslm:ListItemType (Element uslm:listItem)
- Type uslm:ProvisoType (Element uslm:proviso)
- Type uslm:SignatureType (Element uslm:signature)
- Type uslm:ColumnType (Element uslm:column)
- Type uslm:PType (Element uslm:p)
- Type uslm:FigureType (Element uslm:figure)
- Type uslm:BlockType (Elements uslm:block, uslm:fragment)
- Type uslm:NotesType (Elements uslm:notes, uslm:legislativeHistory)
- Type uslm:AppendixType (Elements uslm:appendix, uslm:schedule)
- Type uslm:RowType (Elements uslm:header, uslm:row)
- Type uslm:NumType (Elements uslm:num, uslm:referenceMarker)
- Type uslm:SimplePropertyType (Elements uslm:draftingOffice, uslm:draftingOffice)
- Type uslm:InlinePropertyType (Elements uslm:inlinePropertyElement, uslm:organization)
- Type uslm:StarPrintType (Elements uslm:starPrint, uslm:starPrint)
- Type uslm:FirstPageHeadingType (Elements uslm:firstPageHeading, uslm:firstPageSubheading)
- Type uslm:PageType (Elements uslm:page, uslm:line)
- Type uslm:ItemType (Elements uslm:referenceItem, uslm:headingItem, uslm:groupItem)
- Type uslm:ContentType (Elements uslm:content, uslm:text, uslm:chapeau)
- Type uslm:SponsorType (Elements uslm:sponsor, uslm:cosponsor, uslm:nonsponsor)
- Type uslm:HeadingType (Elements uslm:heading, uslm:subheading, uslm:crossHeading, uslm:listHeading)
- Type uslm:PositionedNoteType (Elements uslm:footnote, uslm:sidenote, uslm:endnote, uslm:ear)
- Type uslm:RunningHeadType (Elements uslm:centerRunningHead, uslm:leftRunningHead, uslm:rightRunningHead, uslm:slugLine)
- Type uslm:QuotedTextType (Elements uslm:quotedText, uslm:addedText, uslm:deletedText, uslm:del, uslm:ins)
- Type uslm:StatementType (Elements uslm:statement, uslm:resolvingClause, uslm:enactingFormula, uslm:wordsOfIssuance, uslm:docTitle, uslm:officialTitle)
- Type uslm:ToCIndexType (Elements uslm:toc, uslm:index, uslm:tableOfTitlesAndChapters, uslm:listOfAgencies, uslm:listOfSectionsAffected, uslm:listOfBillsEnacted, uslm:listOfPublicLaws ...more)
- Type uslm:LawDocType (Elements uslm:lawDoc, uslm:bill, uslm:constitutionalAmendment, uslm:pLaw, uslm:statute, uslm:statuteCompilation, uslm:statutesAtLarge ...more)
- Type uslm:LevelType (Elements uslm:level, uslm:preliminary, uslm:title, uslm:subtitle, uslm:part, uslm:subpart, uslm:division ...more)
- Type uslm:CollectionType (Elements uslm:collection, uslm:notices, uslm:rules, uslm:proposedRules, uslm:presidentialDocs, uslm:agencyGroup, uslm:publicLaws ...more)
- Type uslm:InlineType (Elements uslm:inline, uslm:figCaption, uslm:center, uslm:fillIn, uslm:checkBox, uslm:b, uslm:i ...more)
- Type uslm:NoteType (Elements uslm:signatureDate, uslm:note, uslm:sourceCredit, uslm:uscNote, uslm:statutoryNote, uslm:drafterNote, uslm:editorialNote ...more)
- Type uslm:PropertyType (Elements uslm:property, uslm:coverTitle, uslm:actionInstruction, uslm:approvedDate, uslm:congress, uslm:createdDate, uslm:currentChamber ...more)
- Anonymous type of element xhtml:img via reference to xhtml:Common.attrib
- 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)