<content>
<content> (dichiarazione dello schema) contiene il testo di una dichiarazione dello schema utilizzato 22.4.4 Element Specifications | |
Modulo | tagdocs — 22 Documentation Elements |
Attributi | |
Usato da | elementSpec macroSpec moduleRef |
Può contenere | tagdocs: valList |
Dichiarazione | element content { att.global.attributes, ( macro.schemaPattern | valList )* } |
Esempio | This content model 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> |
Nota | As the example shows, content models in P5 may be expressed using
the RelaxNG syntax directly. More exactly, they are defined using the pattern
macro.schemaPattern. Alternatively, a content model may be
expressed using the TEI <valList> element. |