例子: <param>

These search results reproduce every example of the use of <param> 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 <param> 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.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>

<model>

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

 <param name="contentvalue="@n"/>
</model>

<model>

<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>

<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>

<modelGrp output="print">
 <modelSequence>
  <model behaviour="inline">
   <param name="contentvalue="@n"/>
  </model>
  <model behaviour="footnote">
   <param name="placevalue="'foot'"/>
  </model>
 </modelSequence>
</modelGrp>

<modelGrp>

<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>

<modelGrp output="print">
 <modelSequence>
  <model behaviour="inline">
   <param name="contentvalue="@n"/>
  </model>
  <model behaviour="note">
   <param name="placevalue="'foot'"/>
  </model>
 </modelSequence>
</modelGrp>

<param>

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

  <param name="defaultvalue="corr"/>
  <param name="alternatevalue="sic"/>
 </model>
</elementSpec>

<param>

<elementSpec ident="graphicmode="change">
 <model behaviour="graphic">
  <param name="urlvalue="@url"/>
  <param name="widthvalue="@width"/>
  <param name="heightvalue="@height"/>
 </model>
</elementSpec>