Schema Central  >  USLM 2.1.0  >  uslm-components-2.1.0.xsd  >  uslm:FigureType
Advanced search

uslm:FigureType

 
            A <figure> is a unit of content, optionally with a caption, that 
            is self-contained, that is typically referenced as a single unit from 
            the main flow of the document, and that can be moved away from the
            main flow of the document without affecting the document’s meaning.
            A figure usually contains an <img> element, but may instead contain 
            mathematical or chemical markup in MathML. This element is modelled after the
            HTML5 <figure> element.
          

Complex type information

Namespace: http://schemas.gpo.gov/xml/uslm

Schema document: uslm-components-2.1.0.xsd

Content

  • Choice [1..*]
    • uslm:img An <img> is a simple marker element denoting where a graphic image is to be inserted. Use the @src attribute to point to the image with a normal URL.
    • uslm:figCaption A <figCaption> represents a caption or legend for a figure. It can appear before or after the content within the figure. This element is modelled after the HTML5 <figCaption> element, although in HTML5, only one figCaption is allowed per figure element.
    • from subst. group uslm:page
    • uslm:page A <page> is an element indicating where a page boundary occurred. The content will typically be the page number.
    • uslm:line A <line> is an element indicating where a line boundary occurred. The content will typically be the line number, and possibly also the page number.
    • mathml:math
    • xhtml:img

Attributes

NameOccTypeDescriptionNotes
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