<content>
<content> (declaración del esquema) contiene el texto de la declaración del esquema utilizado. [23.5 Element Specifications] | |||||||||
Módulo | tagdocs — Documentation Elements | ||||||||
Atributos |
|
||||||||
Contenido en |
tagdocs: dataSpec elementSpec macroSpec moduleRef
|
||||||||
Puede contener | ANY | ||||||||
Nota |
It is required that the content element has only one child element. If several RELAX NG elements are desired, they must be wrapped in a <rng:div>. |
||||||||
Ejemplo |
This sample content element indicates that the element being specified has no content: |
||||||||
Ejemplo |
This content element defines a content model, expressed directly in the TEI ODD language, that allows either a sequence of paragraphs or a series of msItem elements optionally preceded by a summary: <content>
<alternate> <classRef key="model.pLike" maxOccurs="unbounded"/> <sequence> <elementRef key="summary" minOccurs="0" maxOccurs="1"/> <elementRef key="msItem" maxOccurs="unbounded"/> </sequence> </alternate> </content> |
||||||||
Ejemplo |
This sample content element defines a content model, expressed in the RELAX NG schema language, that allows either a sequence of paragraphs or a series of msItem elements optionally preceded by a summary: <content>
<rng:choice> <rng:oneOrMore> <rng:ref name="model.pLike"/> </rng:oneOrMore> <rng:group> <rng:optional> <rng:ref name="summary"/> </rng:optional> <rng:oneOrMore> <rng:ref name="msItem"/> </rng:oneOrMore> </rng:group> </rng:choice> </content> |
||||||||
Content model |
<content> |
||||||||
Declaración |
<rng:element name="content"> element content { 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, attribute autoPrefix { "true" | "false" }?, ( valList | model.contentPart | anyElement_content_3 ) } |