ebeshero / Amadis-in-Translation

a project to apply TEI markup to investigate early modern Spanish editions of Amadis de Gaula and their translations into English and French from the 1500s to the early nineteenth century.
http://amadis.newtfire.org
GNU Affero General Public License v3.0
4 stars 6 forks source link

Change over to anchor tagging for translation stitching #10

Closed setriplette closed 9 years ago

setriplette commented 9 years ago

As we talked about!

ebeshero commented 9 years ago

Thanks, @setriplette ! @HelenaSabel This is for the coding we're using to "stitch" passages from Southey to the clause units we've been marking in Montalvo. Stacey and I worked on some of this tagging today to see what we could see and to think about how it needs to work, and what kinds of information we want to collect in this markup. Since we're using <milestone/> to do so much with all that dialogue, we realized the tagging was getting a little dense and confusing to apply (just hard on our human eyes), so we decided to use the self-closing element instead to mark Southey's translation units. I'll work on updating the Schematron for that!

ebeshero commented 9 years ago

Aha! @setriplette : I discover that the TEI <anchor/> element doesn't accept an @unit attribute. But guess what? It's fine--because in our project the new element <anchor/> will convey on its own that it's a "stitchery" unit to associate passages of a translation with a source text.

So our new tagging for this will be a little simpler (and hooray for fewer attributes!):

<anchor ana="start" synch="#M20_p1_c1"/>

I'm writing up an identity transformation to convert the "transUnit" milestones over to anchors, and @HelenaSabel you'll want to see this, as I'm trying out the new XSLT 3.0 built-in template for shallow-copy to do the identity transformation this time!

ebeshero commented 9 years ago

Done! Ran the identity transformation to change the old milestone unit='transUnit'/> elements over to simple <anchor/> elements. Updated our Schematron to reflect this, and to outlaw any future uses of milestone unit='transUnit'/>.

HelenaSabel commented 9 years ago

That's very cool (and a motivating reason to explore oXygen and choose it over the command line)