-
<xsl:output method="text"/> <xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()"/> </xsl:copy> </xsl:template> <xsl:template match="/"> <xsl:for-each select="distinct-values(//tei:place/tei:location/tei:country/text())"> <xsl:sort/> <xsl:number value="position()" format="1. "/> <xsl:text>[ ] </xsl:text> <xsl:value-of select="."/> <xsl:text>
</xsl:text> </xsl:for-each> </xsl:template>
Please register or sign in to comment