role
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.
Attribute information
Namespace: None
Schema document: uslm-components-2.1.0.xsd
Type: uslm:ShortStringSimpleType
Properties: Local, Unqualified
Value
- Type based on xsd:string
- Maximum length: 32
Used in
- Attribute group uslm:ClassificationGroup
- Anonymous type of element uslm:amendment via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:officialTitleAmendment via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:foreign via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:designator via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:label via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:target via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:continuation via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:committee via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:amendmentNumber via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:citableAs via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:citableAsShortTitle via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:containsShortTitle via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:notation via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:longTitle via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:editorialContent via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:recital via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:actionDescription via reference to uslm:ClassificationGroup
- Anonymous type of element uslm:affiliation via reference to uslm:ClassificationGroup
- Anonymous type of element xhtml:img via reference to uslm:ClassificationGroup
- Attribute group xhtml:Common.attrib via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.Common.attrib via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.td.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.th.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.tr.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.col.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.colgroup.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.tbody.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.tfoot.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.thead.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.caption.attlist via reference to uslm:ClassificationGroup
- Attribute group xhtml:xhtml.table.attlist via reference to uslm:ClassificationGroup
- Type uslm:BaseType via reference to uslm:ClassificationGroup
- Type uslm:BaseBlockType via reference to uslm:ClassificationGroup
- Type uslm:BaseContentType via reference to uslm:ClassificationGroup
- Type uslm:MarkerType via reference to uslm:ClassificationGroup (Element uslm:marker)
- Type uslm:BrType via reference to uslm:ClassificationGroup (Element uslm:br)
- Type uslm:ImgType via reference to uslm:ClassificationGroup (Element uslm:img)
- Type uslm:MainType via reference to uslm:ClassificationGroup (Element uslm:main)
- Type uslm:AttestationType via reference to uslm:ClassificationGroup (Element uslm:attestation)
- Type uslm:SignaturesType via reference to uslm:ClassificationGroup (Element uslm:signatures)
- Type uslm:AmendDocType via reference to uslm:ClassificationGroup (Element uslm:engrossedAmendment)
- Type uslm:GenericDocType via reference to uslm:ClassificationGroup (Element uslm:document)
- Type uslm:AmendMetaType via reference to uslm:ClassificationGroup (Element uslm:amendMeta)
- Type uslm:MetaType via reference to uslm:ClassificationGroup (Element uslm:meta)
- Type uslm:AmendPrefaceType via reference to uslm:ClassificationGroup (Element uslm:amendPreface)
- Type uslm:PrefaceType via reference to uslm:ClassificationGroup (Element uslm:preface)
- Type uslm:SetType via reference to uslm:ClassificationGroup (Element uslm:set)
- Type uslm:AmendMainType via reference to uslm:ClassificationGroup (Element uslm:amendMain)
- Type uslm:PreambleType via reference to uslm:ClassificationGroup (Element uslm:preamble)
- Type uslm:RulePreambleType via reference to uslm:ClassificationGroup (Element uslm:rulePreamble)
- Type uslm:AmendmentInstructionType via reference to uslm:ClassificationGroup (Element uslm:amendmentInstruction)
- Type uslm:AppropriationsType via reference to uslm:ClassificationGroup (Element uslm:appropriations)
- Type uslm:BackMatterType via reference to uslm:ClassificationGroup (Element uslm:backMatter)
- Type uslm:EndorsementType via reference to uslm:ClassificationGroup (Element uslm:endorsement)
- Type uslm:LayoutType via reference to uslm:ClassificationGroup (Element uslm:layout)
- Type uslm:AmendingActionType via reference to uslm:ClassificationGroup (Element uslm:amendingAction)
- Type uslm:RefType via reference to uslm:ClassificationGroup (Element uslm:ref)
- Type uslm:DateType via reference to uslm:ClassificationGroup (Element uslm:date)
- Type uslm:ElidedType via reference to uslm:ClassificationGroup (Element uslm:elided)
- Type uslm:QuotedContentType via reference to uslm:ClassificationGroup (Element uslm:quotedContent)
- Type uslm:AmendmentContentType via reference to uslm:ClassificationGroup (Element uslm:amendmentContent)
- Type uslm:ComponentType via reference to uslm:ClassificationGroup (Element uslm:component)
- Type uslm:CoverTextType via reference to uslm:ClassificationGroup (Element uslm:coverText)
- Type uslm:ListType via reference to uslm:ClassificationGroup (Element uslm:list)
- Type uslm:ListItemType via reference to uslm:ClassificationGroup (Element uslm:listItem)
- Type uslm:ProvisoType via reference to uslm:ClassificationGroup (Element uslm:proviso)
- Type uslm:SignatureType via reference to uslm:ClassificationGroup (Element uslm:signature)
- Type uslm:ColumnType via reference to uslm:ClassificationGroup (Element uslm:column)
- Type uslm:PType via reference to uslm:ClassificationGroup (Element uslm:p)
- Type uslm:FigureType via reference to uslm:ClassificationGroup (Element uslm:figure)
- Type xhtml:xhtml.td.type via reference to uslm:ClassificationGroup (Element xhtml:td)
- Type xhtml:xhtml.th.type via reference to uslm:ClassificationGroup (Element xhtml:th)
- Type xhtml:xhtml.tr.type via reference to uslm:ClassificationGroup (Element xhtml:tr)
- Type xhtml:xhtml.col.type via reference to uslm:ClassificationGroup (Element xhtml:col)
- Type xhtml:xhtml.colgroup.type via reference to uslm:ClassificationGroup (Element xhtml:colgroup)
- Type xhtml:xhtml.tbody.type via reference to uslm:ClassificationGroup (Element xhtml:tbody)
- Type xhtml:xhtml.tfoot.type via reference to uslm:ClassificationGroup (Element xhtml:tfoot)
- Type xhtml:xhtml.thead.type via reference to uslm:ClassificationGroup (Element xhtml:thead)
- Type xhtml:xhtml.caption.type via reference to uslm:ClassificationGroup (Element xhtml:caption)
- Type xhtml:xhtml.table.type via reference to uslm:ClassificationGroup (Element xhtml:table)
- Type uslm:BlockType via reference to uslm:ClassificationGroup (Elements uslm:block, uslm:fragment)
- Type uslm:NotesType via reference to uslm:ClassificationGroup (Elements uslm:notes, uslm:legislativeHistory)
- Type uslm:AppendixType via reference to uslm:ClassificationGroup (Elements uslm:appendix, uslm:schedule)
- Type uslm:RowType via reference to uslm:ClassificationGroup (Elements uslm:header, uslm:row)
- Type uslm:NumType via reference to uslm:ClassificationGroup (Elements uslm:num, uslm:referenceMarker)
- Type uslm:SimplePropertyType via reference to uslm:ClassificationGroup (Elements uslm:draftingOffice, uslm:draftingOffice)
- Type uslm:InlinePropertyType via reference to uslm:ClassificationGroup (Elements uslm:inlinePropertyElement, uslm:organization)
- Type uslm:StarPrintType via reference to uslm:ClassificationGroup (Elements uslm:starPrint, uslm:starPrint)
- Type uslm:FirstPageHeadingType via reference to uslm:ClassificationGroup (Elements uslm:firstPageHeading, uslm:firstPageSubheading)
- Type uslm:PageType via reference to uslm:ClassificationGroup (Elements uslm:page, uslm:line)
- Type uslm:ItemType via reference to uslm:ClassificationGroup (Elements uslm:referenceItem, uslm:headingItem, uslm:groupItem)
- Type uslm:ContentType via reference to uslm:ClassificationGroup (Elements uslm:content, uslm:text, uslm:chapeau)
- Type uslm:SponsorType via reference to uslm:ClassificationGroup (Elements uslm:sponsor, uslm:cosponsor, uslm:nonsponsor)
- Type uslm:HeadingType via reference to uslm:ClassificationGroup (Elements uslm:heading, uslm:subheading, uslm:crossHeading, uslm:listHeading)
- Type uslm:PositionedNoteType via reference to uslm:ClassificationGroup (Elements uslm:footnote, uslm:sidenote, uslm:endnote, uslm:ear)
- Type uslm:RunningHeadType via reference to uslm:ClassificationGroup (Elements uslm:centerRunningHead, uslm:leftRunningHead, uslm:rightRunningHead, uslm:slugLine)
- Type uslm:QuotedTextType via reference to uslm:ClassificationGroup (Elements uslm:quotedText, uslm:addedText, uslm:deletedText, uslm:del, uslm:ins)
- Type uslm:StatementType via reference to uslm:ClassificationGroup (Elements uslm:statement, uslm:resolvingClause, uslm:enactingFormula, uslm:wordsOfIssuance, uslm:docTitle, uslm:officialTitle)
- Type uslm:ToCIndexType via reference to uslm:ClassificationGroup (Elements uslm:toc, uslm:index, uslm:tableOfTitlesAndChapters, uslm:listOfAgencies, uslm:listOfSectionsAffected, uslm:listOfBillsEnacted, uslm:listOfPublicLaws ...more)
- Type uslm:LawDocType via reference to uslm:ClassificationGroup (Elements uslm:lawDoc, uslm:bill, uslm:constitutionalAmendment, uslm:pLaw, uslm:statute, uslm:statuteCompilation, uslm:statutesAtLarge ...more)
- Type uslm:LevelType via reference to uslm:ClassificationGroup (Elements uslm:level, uslm:preliminary, uslm:title, uslm:subtitle, uslm:part, uslm:subpart, uslm:division ...more)
- Type uslm:CollectionType via reference to uslm:ClassificationGroup (Elements uslm:collection, uslm:notices, uslm:rules, uslm:proposedRules, uslm:presidentialDocs, uslm:agencyGroup, uslm:publicLaws ...more)
- Type uslm:InlineType via reference to uslm:ClassificationGroup (Elements uslm:inline, uslm:figCaption, uslm:center, uslm:fillIn, uslm:checkBox, uslm:b, uslm:i ...more)
- Type uslm:NoteType via reference to uslm:ClassificationGroup (Elements uslm:signatureDate, uslm:note, uslm:sourceCredit, uslm:uscNote, uslm:statutoryNote, uslm:drafterNote, uslm:editorialNote ...more)
- Type uslm:PropertyType via reference to uslm:ClassificationGroup (Elements uslm:property, uslm:coverTitle, uslm:actionInstruction, uslm:approvedDate, uslm:congress, uslm:createdDate, uslm:currentChamber ...more)