<mapping>

<mapping> (文字對應) 包含與父文字或字體在某方面有所關聯的一個或多個文字,在屬性type中加以說明。 [5.2 Markup Constructs for Representation of Characters and Glyphs]
組件 gaiji — Characters, Glyphs, and Writing Modes
屬性
可包含在於
gaiji: char glyph
可包含
gaiji: g
character data

Suggested values for the type attribute include exact for exact equivalences, uppercase for uppercase equivalences, lowercase for lowercase equivalences, and simplified for simplified characters. The g elements contained by this element can point to either another char or glyph element or contain a character that is intended to be the target of this mapping.

例子
<mapping type="modern">r</mapping>
<mapping type="standard"></mapping>
Content model
<content>
 <macroRef key="macro.xtext"/>
</content>
宣告
<rng:element name="mapping">
 <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:ref name="att.typed.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="macro.xtext"/>
</rng:element>
element mapping
{
   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,
   att.typed.attributes,
   att.datable.attributes,
   att.datable.w3c.attributes,
   att.datable.iso.attributes,
   att.datable.custom.attributes,
   macro.xtext
}