<moduleRef>
<moduleRef> (module reference) スキーマに組み入れられるモジュールを参照する。 [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))
| ||||||||||||||||||||||||||||||||||
クラブのメンバー | |||||||||||||||||||||||||||||||||||
上位 | tagdocs: schemaSpec specGrp | ||||||||||||||||||||||||||||||||||
下位 | tagdocs: content | ||||||||||||||||||||||||||||||||||
解説 | モジュールは、要素<module>の属性identの値として ある名前で指定される。TEIでないモジュールの場合は、URIはで示される。 このモジュールは、Relax NGスキーマで定義されていることが望まれる。 当該要素により、参照されたモジュールの全宣言が、当該スキーマにおい て使用可能になることでが期待される。 | ||||||||||||||||||||||||||||||||||
例 | This includes all objects available from the linking module. | ||||||||||||||||||||||||||||||||||
例 | This includes all elements available from the linking module except for the link and linkGrp elements. | ||||||||||||||||||||||||||||||||||
例 | This includes only the link and linkGrp elements from the linking module. | ||||||||||||||||||||||||||||||||||
Schematron | <s:rule context="tei:moduleRef"> <s:report test="* and @key">Child elements of <s:name/> are only allowed when an external module is being loaded </s:report> </s:rule> | ||||||||||||||||||||||||||||||||||
Content model | <content> | ||||||||||||||||||||||||||||||||||
宣言 | <rng:element name="moduleRef"> element moduleRef { 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 prefix { teidata.xmlName }? >> d699468e16:tr [ "[#not-same-prefix]" "<constraint>" "<s:rule " "context" """="""" "tei:moduleRef" """">""" " " "<s:report " "test" """="""" """//*[ not( generate-id(.) eq generate-id( current() ) ) ]/@prefix = @prefix""" """">""" "The prefix attribute" " of " "<s:name/>" " should not match that of any other" " element (it would defeat the purpose)" "</s:report>" "</s:rule>" "</constraint>" ] >> d699468e16:tr [ "[#not-except-and-include]" "<constraint>" "<s:rule " "context" """="""" "tei:moduleRef" """">""" " " "<s:report " "test" """="""" "@except and @include" """">""" "It is an error to supply both the @include and @except attributes" "</s:report>" "</s:rule>" "</constraint>" ], ( attribute include { list { teidata.xmlName* } }? | attribute except { list { teidata.xmlName* } }? ), ( attribute key { teidata.xmlName }? | attribute url { teidata.pointer }? ), content? } |