page2tei
page2tei copied to clipboard
Graphic to <figure>
Is it possible to show the regions marked in transkribus metadata as "selected element type: graphic" to appear in the <body> as <figure> ?
Can you try adding
<xd:doc>
<xd:desc>create a figure for graphics</xd:desc>
<xd:param name="numCurr"/>
</xd:doc>
<xsl:template match="p:GraphicRegion" mode="text">
<xsl:param name="numCurr" tunnel="true" />
<xsl:text>
</xsl:text>
<figure facs="#facs_{$numCurr}_{@id}">
<graphic xml:id="#facs_{$numCurr}_{@id}" />
</figure>
</xsl:template>
after the TextRegion and before Table Region (453)? Not sure the content is correct, but it should give you a hint