<dimensions>

<dimensions> (dimensions) 尺寸的詳細說明。 [11.3.4 Dimensions]
組件 msdescription — Manuscript Description
屬性
type⚓︎ 指出物件被測量的部分。
Derived from att.typed
狀態 非必備的
資料類型 teidata.enumerated
俱乐部会员
可包含在於
analysis: cl phr s span
cmc: post
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg valDesc
verse: metSym rhyme
可包含
msdescription: depth dim height width

Contains no more than one of each of the specialized elements used to express a three-dimensional object's height, width, and depth, combined with any number of other kinds of dimensional specification.

例子
<dimensions type="leaves">
 <height scope="range">157-160</height>
 <width>105</width>
</dimensions>
<dimensions type="ruled">
 <height scope="most">90</height>
 <width scope="most">48</width>
</dimensions>
<dimensions unit="in">
 <height>12</height>
 <width>10</width>
</dimensions>
例子

This element may be used to record the dimensions of any text-bearing object, not necessarily a codex. For example:

<dimensions type="panels">
 <height scope="all">7004</height>
 <width scope="all">1803</width>
 <dim type="reliefunit="mm">345</dim>
</dimensions>

This might be used to show that the inscribed panels on some (imaginary) monument are all the same size (7004 by 1803 cm) and stand out from the rest of the monument by 345 mm.

例子

When simple numeric quantities are involved, they may be expressed on the quantity attribute of any or all of the child elements, as in the following example:

<dimensions type="leaves">
 <height scope="range">157-160</height>
 <width quantity="105"/>
</dimensions>
<dimensions type="ruled">
 <height unit="cmscope="most"
  quantity="90"/>

 <width unit="cmscope="mostquantity="48"/>
</dimensions>
<dimensions unit="in">
 <height quantity="12"/>
 <width quantity="10"/>
</dimensions>
Schematron

<sch:rule context="tei:dimensions">
<sch:report test="count(tei:width) gt 1"> The element <sch:name/> may appear once only
</sch:report>
<sch:report test="count(tei:height) gt 1"> The element <sch:name/> may appear once only
</sch:report>
<sch:report test="count(tei:depth) gt 1"> The element <sch:name/> may appear once only
</sch:report>
</sch:rule>
Content model
<content>
 <alternate minOccurs="0"
  maxOccurs="unbounded">

  <elementRef key="dim"/>
  <classRef key="model.dimLike"/>
 </alternate>
</content>
宣告
<rng:element name="dimensions">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.dimensions.attributes"/>
 <rng:ref name="att.ranging.attributes"/>
 <rng:ref name="att.typed.attribute.subtype"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:ref name="teidata.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:choice>
   <rng:ref name="dim"/>
   <rng:ref name="model.dimLike"/>
  </rng:choice>
 </rng:zeroOrMore>
</rng:element>
element dimensions
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.dimensions.attributes,
   att.ranging.attributes,
   att.typed.attribute.subtype,
   attribute type { teidata.enumerated }?,
   ( dim | model.dimLike )*
}