If your "arbitrary sections" have to include paragraphs, line-groups,
and other block-level elements, then I think you have to use `<div>`s,
not segs. Distinguishing them from top level divs could be as simple as
just the fact that top level divs won't have a parent that is a div, or,
if you prefer, using a `@type` attribute. `<div type="fragment">` vs.
`<div type="rhyme">` or similar. I presume the `@ana` on the child divs
would refer to everything inside of them?
(The only constraint here is that `<div>`s need to tessellate in TEI, so
in other words if *anything* is in a div, everything parallel to it must
also be in a div. If you have text that is not in verse, and thus don't
want to mark with `@ana`, it will have to go in a div anyway—but I
suppose you could just not give it either `@ana` or `@type` and so
Hope this helps,
On 2015-05-19 18:17, Rosanna Cantavella wrote:
> Dear all,
> I'm marking up a series of medieval troubadour poetry handbooks, in
> order to localize and classify all different definitions and types of
> rhyme according to this cultural tradition. I am not transcribing
> directly from the manuscripts (often preserved in numerous witnesses),
> but from their modern editions; and not marking these works in their
> entirety, but only those parts in which definitions of rhyme are given
> in each text.
> I'm using <div> to enclose each fragment of text in which these
> definitions appear inside a given work. These fragments are in some
> cases as short as a paragraph, and in others as long as a chapter would
> be in a modern work. I usually have no more than two or three divs for
> each work: <div n= “1”>, <div n= “2”> etc.
> Now my question: within each <div> I usually find definitions of several
> types of rhyme, which I'll duly mark up individually with @ana
> attributes (thanks again, Lou!). But what element would you recommend
> for these arbitrary (that is, created by me and not by the author)
> chunks of text inside each <div>?
> a) Again <div>? (But how should I differentiate the enclosing divs from
> these 'sub-divs'?)
> b) Switch to <seg>? (But I've only seen very short <seg> examples. I
> have to enclose sometimes several paragraphs in one definition. Can
> <seg> enclose whole paragraphs? And would <seg ana= “#A1”>, <seg ana=
> “#C3”> etc. be a correct markup?)
> Hypothetical example:
> <div n= “1”> Bla bla bla … bla bla
> <seg ana= “#C3”><p>DELS RIMS UTRISSONANS. Rim utrissonan son dig can la
> vocals muda lo significat de la dictio. mudan lo so plenissonan. en so.
> semissonan. o pel contrari. segon. quom pot ayssi vezer.
> <l>Sias tempratz e gent apres. </l>
> <l>En tas paraulas et apres. </l>
> <l>Si fas de compas e de pes. </l>
> <l>Sas obras remandran enpes.</l>
> <p>Bla bla bla...</p></div>
> As you can see, not every line of text inside every div refers to
> definitions, and therefore not every line or paragraph would be enclosed
> by <seg> or by these 'sub-divs'.
> Thank you in advance,
> Prof. Rosanna Cantavella
> Universitat de València / Clare Hall, University of Cambridge
Dr Gabriel BODARD
Researcher in Digital Epigraphy
King's College London
Boris Karloff Building
26-29 Drury Lane
London WC2B 5RL
T: +44 (0)20 7848 1388
E: [log in to unmask]