例: <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
useSourceRendition="true">
<outputRendition>font-style: italic;</outputRendition>
</model>
<model predicate="label" behaviour="list"
cssClass="labeled-list">
<!-- ... -->
</model>
</elementSpec>
<!-- Preserve original rendition for tables which contain @rendition hints -->
<model predicate=".//row/@rendition or .//cell/@rendition"
behaviour="table" useSourceRendition="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
<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
<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="true" predicate="@rend='block'">
<outputRendition>text-align: center;</outputRendition>
</model>
</modelGrp>
22.5.4.5 Behaviours and their parameters
<model behaviour="link">
<param name="uri" value="@target"/>
<param name="content" value="."/>
</model>
</elementSpec>
22.5.4.5 Behaviours and their parameters
<model predicate="sic and corr"
behaviour="alternate">
<param name="default" value="corr"/>
<param name="alternate" value="sic"/>
</model>
</elementSpec>
22.5.4.5 Behaviours and their parameters
<model predicate="sic and corr"
behaviour="alternate">
<param name="default"
value="corr[@cert='high']"/>
<param name="alternate" value="sic"/>
</model>
</elementSpec>
22.5.4.5 Behaviours and their parameters
<modelGrp output="web">
<model predicate="sic and corr"
behaviour="alternate">
<param name="default"
value="corr[@cert='high']"/>
<param name="alternate" value="sic"/>
</model>
<model predicate="abbr and expan"
behaviour="alternate">
<param name="default" value="expan[1]"/>
<param name="alternate" value="abbr"/>
</model>
<model predicate="orig and reg"
behaviour="alternate">
<param name="default" value="reg"/>
<param name="alternate" value="orig"/>
</model>
</modelGrp>
</elementSpec>
<modelGrp output="print">
<model predicate="text()"
behaviour="inline"/>
<model predicate="@when and not(text())"
behaviour="inline">
<param name="content" value="@when"/>
</model>
</modelGrp>
<model output="web" predicate="@when"
behaviour="alternate">
<param name="default" value="."/>
<param name="alternate" value="@when"/>
</model>
</elementSpec>
<modelSequence output="print">
<model behaviour="inline">
<param name="content" value="@n"/>
</model>
<model behaviour="footnote">
<param name="place" value="'foot'"/>
</model>
</modelSequence>
</elementSpec>
22.5.4.9 Implementation of Processing Models
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> (en)
<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)
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> (en)
<model> (en)
behaviour="inline">
<param name="content" value="@n"/>
</model>
<model> (en)
<model output="print" predicate="text()"
behaviour="inline"/>
<model output="print"
predicate="@when and not(text())" behaviour="inline">
<param name="content" value="@when"/>
</model>
<model predicate="@when" output="web"
behaviour="alternate">
<param name="alternate" value="@when"/>
</model>
</elementSpec>
<model> (en)
<model predicate="sic and corr"
behaviour="alternate">
<param name="default" value="corr"/>
<param name="alternate" value="sic"/>
</model>
<model predicate="abbr and expan"
behaviour="alternate">
<param name="default" value="expan"/>
<param name="alternate" value="abbr"/>
</model>
<model predicate="orig and reg"
behaviour="alternate">
<param name="default" value="reg"/>
<param name="alternate" value="orig"/>
</model>
</elementSpec>
<modelSequence> (en)
<modelSequence>
<model behaviour="inline">
<param name="content" value="@n"/>
</model>
<model behaviour="footnote">
<param name="place" value="'foot'"/>
</model>
</modelSequence>
</modelGrp>
<modelGrp> (en)
<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="place" value="'foot'"/>
</model>
</modelGrp>
</elementSpec>
<modelGrp> (en)
<modelSequence>
<model behaviour="inline">
<param name="content" value="@n"/>
</model>
<model behaviour="note">
<param name="place" value="'foot'"/>
</model>
</modelSequence>
</modelGrp>
<outputRendition> (en)
behaviour="inline">
<outputRendition>font-style: italic;</outputRendition>
</model>
<model behaviour="block">
<outputRendition>left-margin: 2em;</outputRendition>
</model>
<param> (en)
<model predicate="sic and corr"
behaviour="alternate">
<param name="default" value="corr"/>
<param name="alternate" value="sic"/>
</model>
</elementSpec>
<param> (en)
<model behaviour="graphic">
<param name="url" value="@url"/>
<param name="width" value="@width"/>
<param name="height" value="@height"/>
</model>
</elementSpec>
att.predicate (en)