mei:price

The cost of access to a bibliographic item.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
amount restriction of xs:decimal optional
Numeric value capturing a cost. Can only be interpreted in combination
with the currency attribute.
analog xs:string optional
Contains a reference to a field or element in another descriptive encoding
system to which this MEI element is comparable.
currency xs:NMTOKEN optional
Monetary unit.
label xs:string optional
Provides a name or label for an element. The value may be any
string.
n optional
Provides a number-like designation for an element.
translit xs:NMTOKEN optional
Specifies the transliteration technique used.
xml:base mei:mei_data.URI optional
Provides a base URI reference with which applications can resolve relative
URI references into absolute URI references.
xml:id xs:ID optional
Regularizes the naming of an element and thus facilitates building links
between it and other resources. Each id attribute within a document must have a unique
value.
xml:lang xs:language optional
Identifies the language of the element's content. The values for this
attribute are language 'tags' as defined in BCP 47. All language tags that make use of
private use sub-tags must be documented in a corresponding language element in the MEI
header whose id attribute is the same as the language tag's value.

Used By

Source

<xs:element name="price">
  <xs:annotation>
    <xs:documentation>The cost of access to a bibliographic item.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:group minOccurs="0" maxOccurs="unbounded" ref="mei:mei_model.textphraseLike.limited"/>
    <xs:attributeGroup ref="mei:mei_att.common.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.bibl.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.lang.attributes"/>
    <xs:attribute name="amount">
      <xs:annotation>
        <xs:documentation>Numeric value capturing a cost. Can only be interpreted in combination with the currency attribute.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:decimal">
          <xs:pattern value="[0-9]+\.[0-9]{2}"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="currency" type="xs:NMTOKEN">
      <xs:annotation>
        <xs:documentation>Monetary unit.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample