data.outputMeasurement

data.outputMeasurement defines a range of values for use in specifying the size of an object that is intended for display on the web.
Module tei — 1 The TEI Infrastructure
Used by
Element:
Declaration

<rng:define name="data.outputMeasurement">
 <rng:data type="token">
  <rng:param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</rng:param>
 </rng:data>
</rng:define>
data.outputMeasurement =
   token
   {
      pattern = "[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"
   }
Example
<figure>
 <head>The TEI Logo</head>
 <figDesc>Stylized yellow angle brackets with the letters <mentioned>TEI</mentioned> in
   between and <mentioned>text encoding initiative</mentioned> underneath, all on a white
   background.</figDesc>
 <graphic
   height="600px"
   width="600px"
   url="http://www.tei-c.org/logos/TEI-600.jpg"/>

</figure>
Note
These values map directly onto the values used by XSL-FO and CSS. For definitions of the units see those specifications; at the time of this writing the most complete list is in the CSS3 working draft.