: <model>

These search results reproduce every example of the use of <model> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <model> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

22 Documentation Elements


22.5.4.2 Output Rendition

<model behaviour="inline">
 <outputRendition>font-style: italic;</outputRendition>
</model>
⚓︎

22.5.4.2 Output Rendition

<model behaviour="inline"
 useSourceRendition="true"/>
目録 ⚓︎

22.5.4.2 Output Rendition

<model behaviour="inline"
 useSourceRendition="true">

 <outputRendition>font-style: italic;</outputRendition>
</model>
⚓︎

22.5.4.3 CSS Class

<elementSpec ident="listmode="change">
 <model predicate="labelbehaviour="list"
  cssClass="labeled-list">

<!-- ... -->
 </model>
</elementSpec>
目録 ⚓︎

22.5.4.3 CSS Class

<elementSpec mode="changeident="table">
<!-- Preserve original rendition for tables which contain @rendition hints -->
 <model predicate=".//row/@rendition or .//cell/@rendition"
  behaviour="tableuseSourceRendition="true"/>

<!-- Use bootstrap for default table styling -->
 <model behaviour="table"
  useSourceRendition="true"
  cssClass="table table-hover table-bordered"/>

</elementSpec>
目録 ⚓︎

22.5.4.4 Model Contexts and Outputs

<elementSpec ident="quotemode="change">
 <model predicate="ancestor::p"
  behaviour="inline">

  <outputRendition>font-style: italic;</outputRendition>
 </model>
 <model behaviour="block">
  <outputRendition>left-margin: 2em;</outputRendition>
 </model>
</elementSpec>
⚓︎

22.5.4.4 Model Contexts and Outputs

<modelGrp output="mobile">
 <model behaviour="inline"
  predicate="@rend='inline'">

  <outputRendition>font-size: 7pt;</outputRendition>
 </model>
 <model behaviour="block"
  predicate="@rend='block'">

  <outputRendition>text-color: red;</outputRendition>
 </model>
</modelGrp>
<modelGrp output="print">
 <model behaviour="inline"
  predicate="@rend='inline'">

  <outputRendition>font-size: 12pt;</outputRendition>
 </model>
 <model behaviour="block"
  useSourceRendition="truepredicate="@rend='block'">

  <outputRendition>text-align: center;</outputRendition>
 </model>
</modelGrp>
⚓︎

22.5.4.5 Behaviours and their parameters

<elementSpec ident="refmode="add">
 <model behaviour="link">
  <param name="urivalue="@target"/>
  <param name="contentvalue="."/>
 </model>
</elementSpec>
目録 ⚓︎

22.5.4.5 Behaviours and their parameters

<elementSpec ident="choicemode="change">
 <model predicate="sic and corr"
  behaviour="alternate">

  <param name="defaultvalue="corr"/>
  <param name="alternatevalue="sic"/>
 </model>
</elementSpec>
目録 ⚓︎

22.5.4.5 Behaviours and their parameters

<elementSpec ident="choicemode="change">
 <model predicate="sic and corr"
  behaviour="alternate">

  <param name="default"
   value="corr[@cert='high']"/>

  <param name="alternatevalue="sic"/>
 </model>
</elementSpec>
目録 ⚓︎

22.5.4.5 Behaviours and their parameters

<elementSpec ident="choicemode="change">
 <modelGrp output="web">
  <model predicate="sic and corr"
   behaviour="alternate">

   <param name="default"
    value="corr[@cert='high']"/>

   <param name="alternatevalue="sic"/>
  </model>
  <model predicate="abbr and expan"
   behaviour="alternate">

   <param name="defaultvalue="expan[1]"/>
   <param name="alternatevalue="abbr"/>
  </model>
  <model predicate="orig and reg"
   behaviour="alternate">

   <param name="defaultvalue="reg"/>
   <param name="alternatevalue="orig"/>
  </model>
 </modelGrp>
</elementSpec>
目録 ⚓︎

22.5.4.6 Outputs

<elementSpec ident="datemode="change">
 <modelGrp output="print">
  <model predicate="text()"
   behaviour="inline"/>

  <model predicate="@when and not(text())"
   behaviour="inline">

   <param name="contentvalue="@when"/>
  </model>
 </modelGrp>
 <model output="webpredicate="@when"
  behaviour="alternate">

  <param name="defaultvalue="."/>
  <param name="alternatevalue="@when"/>
 </model>
</elementSpec>
目録 ⚓︎

22.5.4.7 Model sequence

<elementSpec ident="notemode="change">
 <modelSequence output="print">
  <model behaviour="inline">
   <param name="contentvalue="@n"/>
  </model>
  <model behaviour="footnote">
   <param name="placevalue="'foot'"/>
  </model>
 </modelSequence>
</elementSpec>
目録 ⚓︎

22.5.4.9 Implementation of Processing Models

<model behaviour="inline"
 predicate="parent::list">

 <desc versionDate="2015-03-02"
  xml:lang="en">
Model for list headings</desc>
<!-- ... -->
</model>
<model behaviour="heading">
 <desc versionDate="2016-03-02"
  xml:lang="en">
Default model for all headings.</desc>
<!-- ... -->
</model>
⚓︎

<model> (en)

<model behaviour="inline"/>
目録 一括表示 ⚓︎

<model> (en)

<elementSpec mode="changeident="quote">
 <model predicate="ancestor::p"
  behaviour="inline">

  <desc versionDate="2015-08-21"
   xml:lang="en">
If it's inside a paragraph then it's
     inline</desc>
 </model>
 <model predicate="not(ancestor::p)"
  behaviour="block">

  <desc versionDate="2015-08-21"
   xml:lang="en">
If it's not inside a paragraph then it is
     block level</desc>
 </model>
</elementSpec>
一括表示 ⚓︎

<model> (en)

<model predicate="parent::person"
 behaviour="inline">

 <desc versionDate="2015-08-21"
  xml:lang="en">
If it is a child of a person element, treat as
   inline</desc>
</model>
一括表示 ⚓︎

<model> (en)

<model behaviour="inline">
 <outputRendition>font-weight:bold</outputRendition>
</model>
一括表示 ⚓︎

<model> (en)

<model behaviour="inlineoutput="print"/>
目録 一括表示 ⚓︎

<model> (en)

<model predicate="ancestor::p"
 behaviour="inline">

 <param name="contentvalue="@n"/>
</model>
目録 一括表示 ⚓︎

<model> (en)

<elementSpec mode="changeident="date">
 <model output="printpredicate="text()"
  behaviour="inline"/>

 <model output="print"
  predicate="@when and not(text())behaviour="inline">

  <param name="contentvalue="@when"/>
 </model>
 <model predicate="@whenoutput="web"
  behaviour="alternate">

  <param name="alternatevalue="@when"/>
 </model>
</elementSpec>
目録 一括表示 ⚓︎

<model> (en)

<elementSpec mode="changeident="choice">
 <model predicate="sic and corr"
  behaviour="alternate">

  <param name="defaultvalue="corr"/>
  <param name="alternatevalue="sic"/>
 </model>
 <model predicate="abbr and expan"
  behaviour="alternate">

  <param name="defaultvalue="expan"/>
  <param name="alternatevalue="abbr"/>
 </model>
 <model predicate="orig and reg"
  behaviour="alternate">

  <param name="defaultvalue="reg"/>
  <param name="alternatevalue="orig"/>
 </model>
</elementSpec>
目録 一括表示 ⚓︎

<modelSequence> (en)

<modelGrp output="print">
 <modelSequence>
  <model behaviour="inline">
   <param name="contentvalue="@n"/>
  </model>
  <model behaviour="footnote">
   <param name="placevalue="'foot'"/>
  </model>
 </modelSequence>
</modelGrp>
目録 一括表示 ⚓︎

<modelGrp> (en)

<elementSpec mode="changeident="abbr">
 <modelGrp output="web">
  <model predicate="parent::choice"
   behaviour="omit"/>

  <model predicate="ancestor::front"
   behaviour="inline">

   <outputRendition>font-style:italic; </outputRendition>
  </model>
  <model predicate="not(parent::choice)"
   behaviour="inline">

   <outputRendition scope="before">content: ' ('</outputRendition>
   <outputRendition scope="after">content: ')'</outputRendition>
  </model>
 </modelGrp>
 <modelGrp output="print">
  <model predicate="parent::choice"
   behaviour="omit"/>

  <model predicate="not(parent::choice)"
   behaviour="note">

   <param name="placevalue="'foot'"/>
  </model>
 </modelGrp>
</elementSpec>
一括表示 ⚓︎

<modelGrp> (en)

<modelGrp output="print">
 <modelSequence>
  <model behaviour="inline">
   <param name="contentvalue="@n"/>
  </model>
  <model behaviour="note">
   <param name="placevalue="'foot'"/>
  </model>
 </modelSequence>
</modelGrp>
目録 一括表示 ⚓︎

<outputRendition> (en)

<model predicate="ancestor::p"
 behaviour="inline">

 <outputRendition>font-style: italic;</outputRendition>
</model>
<model behaviour="block">
 <outputRendition>left-margin: 2em;</outputRendition>
</model>
一括表示 ⚓︎

<param> (en)

<elementSpec ident="choice">
 <model predicate="sic and corr"
  behaviour="alternate">

  <param name="defaultvalue="corr"/>
  <param name="alternatevalue="sic"/>
 </model>
</elementSpec>
目録 一括表示 ⚓︎

<param> (en)

<elementSpec ident="graphicmode="change">
 <model behaviour="graphic">
  <param name="urlvalue="@url"/>
  <param name="widthvalue="@width"/>
  <param name="heightvalue="@height"/>
 </model>
</elementSpec>
目録 一括表示 ⚓︎

att.predicate (en)

<model predicate="parent::person"
 behaviour="inline">

 <desc versionDate="2015-08-21"
  xml:lang="en">
If it is a child of a person element, treat as
   inline</desc>
</model>
目録 ⚓︎