Skip to content
  • <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>&#xa;</xsl:text>
        </xsl:for-each>
    
    
      </xsl:template>
    Edited by Antonio Rojas Castro
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment