<specGrpRef>

<specGrpRef> (參照到一個說明群組) 指出被參照的元素specGrp中的宣告應在此插入。 [22.2 Modules and Schemas]
組件 tagdocs — Documentation Elements
屬性 att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
target⚓︎ 指向照理屬於此位置的說明群組。
狀態 必備的
資料類型 teidata.pointer
俱乐部会员
可包含在於
可包含 空白元素

In ODD documentation processing, a specGrpRef usually produces a comment indicating that a set of declarations printed in another section will be inserted at this point in the specGrp being discussed. In schema processing, the contents of the specified specGrp are made available for inclusion in the generated schema.

The specification group identified by the target attribute will normally be part of the current ODD document.

例子
<p>這部份的模組包含人名、地名以及組織名稱的宣告:<specGrpRef target="#zh-tw_names.pers"/>
 <specGrpRef target="#zh-tw_names.place"/>
 <specGrpRef target="#zh-tw_names.org"/>
</p>
<!-- 某處 -->
<specGrp xml:id="zh-tw_names.pers">
<!--... -->
</specGrp>
<!-- 某處 -->
<specGrp xml:id="zh-tw_names.place">
<!--... -->
</specGrp>
<!-- 某處 -->
<specGrp xml:id="zh-tw_names.org">
<!--... -->
</specGrp>
Content model
<content>
 <empty/>
</content>
宣告
<rng:element name="specGrpRef">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:attribute name="target">
  <rng:ref name="teidata.pointer"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element specGrpRef
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute target { teidata.pointer },
   empty
}