Skip to content
Permalink
bd204a5785
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
65 lines (58 sloc) 2.57 KB
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:eoa="http://www.edition-open-access.de/ns"
exclude-result-prefixes="xs tei eoa"
version="2.0">
<xsl:output method="html" encoding="UTF-8"/>
<xsl:param name="webdesign_url" as="xs:string" select="'../../static'"/>
<xsl:param name="publ_static_url" as="xs:string" select="''"/>
<xsl:param name="nav_items" as="element(eoa:entry)*">
<eoa:entry active="1">
<eoa:link>
<xsl:text>#</xsl:text>
</eoa:link>
<eoa:title>Publications</eoa:title>
</eoa:entry>
</xsl:param>
<xsl:param name="platform_name" as="xs:string" select="'dummy-platform'"/>
<xsl:param name="platform_uri" as="xs:string" select="'http://dummy-platform.com'"/>
<xsl:param name="aux_uri" as="xs:string" select="../../../data/aux"/>
<xsl:include href="tei2html_publ_frontpage_utils.xsl"/>
<xsl:include href="utils/html_container.xsl"/>
<xsl:include href="utils/html_inline.xsl"/>
<xsl:include href="utils/common.xsl"/>
<xsl:include href="utils/print.xsl"/>
<xsl:include href="utils/render.xsl"/>
<xsl:include href="utils/numbering.xsl"/>
<xsl:include href="utils/index.xsl"/>
<!-- use-character-maps="texreplacements"/>-->
<xsl:variable name="langid" select="//tei:langUsage/tei:language/@ident"/>
<xsl:key name="en" match="translations/entry" use="@en"/>
<xsl:key name="de" match="translations/entry" use="@de"/>
<xsl:key name="fr" match="translations/entry" use="@fr"/>
<xsl:key name="it" match="translations/entry" use="@it"/>
<!-- index sorting, https://stackoverflow.com/questions/13763271 -->
<xsl:key name="kWith1stLetter" match="family" use="substring(.,1,1)"/>
<xsl:template match="/">
<xsl:variable name="indices" as="element(eoa:index)*">
<xsl:variable name="ctxt" select="."/>
<xsl:for-each select="$index_types">
<xsl:variable name="index_type" as="xs:string" select="."/>
<xsl:for-each select="$ctxt">
<xsl:call-template name="create_index">
<xsl:with-param name="indextype" select="$index_type"/>
</xsl:call-template>
</xsl:for-each>
</xsl:for-each>
</xsl:variable>
<xsl:call-template name="render_publication_frontpage">
<xsl:with-param name="webdesign_url" select="$webdesign_url"/>
<xsl:with-param name="publ_static_url" select="$publ_static_url"/>
<xsl:with-param name="nav_items" as="element(eoa:entry)*" select="$nav_items"/>
<xsl:with-param name="indices" as="element(eoa:index)*" select="$indices"/>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>