屬性 att.global (@xml:id , @n , @xml:lang , @rend , @rendition , @xml:base , @xml:space ) (att.global.linking (@corresp , @synch , @sameAs , @copyOf , @next , @prev , @exclude , @select )) (att.global.analytic (@ana )) (att.global.facs (@facs )) (att.global.change (@change )) att.datable (@calendar , @period ) (att.datable.w3c (@when , @notBefore , @notAfter , @from , @to )) (att.datable.iso (@when-iso , @notBefore-iso , @notAfter-iso , @from-iso , @to-iso )) (att.datable.custom (@when-custom , @notBefore-custom , @notAfter-custom , @from-custom , @to-custom , @datingPoint , @datingMethod )) att.editLike (@evidence , @source , @instant ) (att.dimensions (@unit , @quantity , @extent , @precision , @scope ) (att.ranging (@atLeast , @atMost , @min , @max , @confidence )) ) (att.responsibility (@cert , @resp )) att.naming (@role , @nymRef ) (att.canonical (@key , @ref )) att.typed (@type , @subtype ) 宣告 簡潔式轉到XML式 XML式轉到簡潔式 <rng:element name="trait "> <rng:ref name="att.global.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.datable.attributes "/> <rng:ref name="att.datable.w3c.attributes "/> <rng:ref name="att.datable.iso.attributes "/> <rng:ref name="att.datable.custom.attributes "/> <rng:ref name="att.editLike.attributes "/> <rng:ref name="att.dimensions.attributes "/> <rng:ref name="att.ranging.attributes "/> <rng:ref name="att.responsibility.attributes "/> <rng:ref name="att.naming.attributes "/> <rng:ref name="att.canonical.attributes "/> <rng:ref name="att.typed.attributes "/> <rng:choice> <rng:oneOrMore> <rng:ref name="trait "/> </rng:oneOrMore> <rng:group> <rng:zeroOrMore> <rng:ref name="model.headLike "/> </rng:zeroOrMore> <rng:oneOrMore> <rng:ref name="model.pLike "/> </rng:oneOrMore> <rng:zeroOrMore> <rng:choice> <rng:ref name="model.noteLike "/> <rng:ref name="model.biblLike "/> </rng:choice> </rng:zeroOrMore> </rng:group> <rng:group> <rng:zeroOrMore> <rng:choice> <rng:ref name="model.labelLike "/> <rng:ref name="model.noteLike "/> <rng:ref name="model.biblLike "/> </rng:choice> </rng:zeroOrMore> </rng:group> </rng:choice> </rng:element>
element trait
{
att.global.attributes ,
att.global.linking.attributes ,
att.global.analytic.attributes ,
att.global.facs.attributes ,
att.global.change.attributes ,
att.datable.attributes ,
att.datable.w3c.attributes ,
att.datable.iso.attributes ,
att.datable.custom.attributes ,
att.editLike.attributes ,
att.dimensions.attributes ,
att.ranging.attributes ,
att.responsibility.attributes ,
att.naming.attributes ,
att.canonical.attributes ,
att.typed.attributes ,
(
trait +
| ( model.headLike *, model.pLike +, ( model.noteLike | model.biblLike )* )
| ( ( model.labelLike | model.noteLike | model.biblLike )* )
)
}