<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.readFrom (@source)
| ||||||||||||||||||||||||||||||||
俱乐部会员 | |||||||||||||||||||||||||||||||||
可包含在於 | tagdocs: schemaSpec specGrp | ||||||||||||||||||||||||||||||||
可包含 | tagdocs: content | ||||||||||||||||||||||||||||||||
宣告 |
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.readFrom.attributes, attribute prefix { data.xmlName }? >> d463041e16: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>" ], ( attribute include { list { data.xmlName* } }? | attribute except { list { data.xmlName* } }? ), ( attribute key { data.xmlName }? | attribute url { data.pointer }? ), content? } | ||||||||||||||||||||||||||||||||
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> | ||||||||||||||||||||||||||||||||
例子 | <moduleRef key="linking"/> |