ProsopToDiv.xsl

Summary
This is a stylesheet from the Croatiae auctores Latini TEI XML collection. For publishing under PhiloLogic, the TEI XML should conform to PhiloLogic specifications; this stylesheet reformats a prosopography list for easier referencing, searching and retrieving by PhiloLogic.

Required input
TEI XML file with a prosopography (see TEI P5 Guidelines 13.3 Biographical and Prosopographical Data).

Expected output
Valid TEI XML file conforming to PhiloLogic specification (with headings containing a standard Croatian variant of persons' names).

Known restrictions
Point (5) below not implemented yet.

 

             <xsl:text> </xsl:text> <xsl:element name="div" namespace="http://www.tei-c.org/ns/1.0"> <xsl:attribute name="type"> <xsl:text>persona</xsl:text> </xsl:attribute> <xsl:attribute name="xml:id"> <xsl:text>p</xsl:text> <xsl:value-of select="generate-id(.)"/> </xsl:attribute><xsl:text> </xsl:text> <xsl:element name="head" namespace="http://www.tei-c.org/ns/1.0"> <xsl:value-of select="tei:persName[1]/text"/> </xsl:element><xsl:text> </xsl:text> <xsl:element name="listPerson" namespace="http://www.tei-c.org/ns/1.0"><xsl:text> </xsl:text>  <xsl:apply-templates select="@*|node"/> </xsl:copy> </xsl:element><xsl:text> </xsl:text> </xsl:element> </xsl:template> </xsl:stylesheet>