Glossar poetologischer Formen: Processing
The "Glossar poetologischer Formen" has now a first draft status with which we can work. Additionally, KTU 1.14 has several sample passages where the encoding developed by @zeterberg has been integrated.
We now need a proper transformation routine to HTML that considers this encoding and that is easy to process downstream when creating the annotations.
The current encoding looks like this:
<structure type="poetological" xml:id="poet_1">
<units>
<verse n="i 1-6a">
<ana>
<term target="#unit_1.14_I_29 #unit_1.14_I_30 #unit_1.14_I_31" key="poet:Kolon-Enjambement"/>
<term target="#z4q_slr_pzb" key="poet:Metonymie"/>
</ana>
…
</verse>
…
</units>
</structure>
The resulting HTML element(s) need(s) the following information:
- the ID of the element (as given in target)
- an attribute
data-poet
with the respective value (here:data-poet="poet:Kolon-Enjambement"
anddata-poet="poet:Metonymie"