<moduleRef>
<moduleRef> (모듈 참조) 하나의 스키마로 통합된 모듈을 참조한다. [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 | ||||||||||||||||||||||||||||||||
예 | <moduleRef key="linking"/> This includes all objects available from the linking module. | ||||||||||||||||||||||||||||||||
예 | <moduleRef key="linking" except="linkGrp link"/> This includes all elements available from the linking module except for the link and linkGrp elements. | ||||||||||||||||||||||||||||||||
예 | <moduleRef key="linking" include="linkGrp link"/> 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.readFrom.attributes, attribute prefix { teidata.xmlName }? >> d478983e16: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 { teidata.xmlName* } }? | attribute except { list { teidata.xmlName* } }? ), ( attribute key { teidata.xmlName }? | attribute url { teidata.pointer }? ), content? } |