<content>

<content> 当該スキーマの宣言を示す. 22.4.4 規定
モジュールtagdocs — 22 ドキュメンテーション向け要素
属性
当該モジュールを使用するもの
下位
tagdocs: valList
宣言

<rng:element name="content">
<rng:ref name="att.global.attributes"/>
<rng:zeroOrMore>
 <rng:choice>
  <rng:ref name="macro.schemaPattern"/>
  <rng:ref name="valList"/>
 </rng:choice>
</rng:zeroOrMore>
</rng:element>
element content { att.global.attributes, ( macro.schemaPattern | valList )* }

This content model allows either a sequence of paragraphs or a series of msItem elements optionally preceded by a summary:

<content>
 <rng:choice>
  <rng:oneOrMore>
   <rng:ref name="model.pLike"/>
  </rng:oneOrMore>
  <rng:group>
   <rng:optional>
    <rng:ref name="summary"/>
   </rng:optional>
   <rng:oneOrMore>
    <rng:ref name="msItem"/>
   </rng:oneOrMore>
  </rng:group>
 </rng:choice>
</content>
解説
上例のように,P5の内容モデルはRelaxNGで表現されている.より厳密に 言えば,P5の内容モデルはmacro.schemaPatternで定義され ている.内容モデルは,要素valListを使い表現してもよい.