<text>
<text> 包含一份任何種類的文本,無論是單一或複合的,例如詩詞或戲劇、散文集、小說、字典、或是文集範例。 4 Default Text Structure 15.1 Varieties of Composite Text | |
組件 | textstructure — 4 Default Text Structure |
屬性 | att.declaring (@decls) att.typed (@type, @subtype) |
屬於 | |
可包含 | |
宣告 |
element text { att.global.attributes, att.declaring.attributes, att.typed.attributes, ( model.global*, ( front, model.global* )?, ( body | group ), model.global*, ( back, model.global* )? ) } |
例子 | <text> <front> <docTitle> <titlePart>Autumn Haze</titlePart> </docTitle> </front> <body> <l>Is it a dragonfly or a maple leaf</l> <l>That settles softly down upon the water?</l> </body> </text> |
例子 | The body of a text may be replaced by a group of nested texts, as in the following schematic: <text> <front/> <group> <text> <front/> <body/> <back/> </text> <text/> </group> </text> |