-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
I need TEI elements that have ref
attribute (e.g., persName
) to render as (clickable) HTML links.
With TEI-BP, I added a custom XSLT template that wraps such elements in HTML <a>
with href
value copied from the TEI's ref
attribute:
<xsl:template match="tei:*[@ref]" priority="99">
<a href="{@ref}">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</a>
</xsl:template>
How do I achieve similar results using CETEIcean?
Do I need to tweak CETEI.js? Add some behavior? Use CSS?
Since neither TEI-BP nor CETEIcian perform this obviously useful transformation
out-of-the-box (as far as I know), maybe I am just encoding my documents incorrectly?
What is the idiomatic TEI way of achieving this result?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels