diff --git a/scenarios/xslt/edxml2html/libs/html-philology.lib.xsl b/scenarios/xslt/edxml2html/libs/html-philology.lib.xsl index 1e95788848d9f3730456c57bc38e92f4a43770a9..a64a207f9e9f8be19275c680e89b4c0f32b44598 100644 --- a/scenarios/xslt/edxml2html/libs/html-philology.lib.xsl +++ b/scenarios/xslt/edxml2html/libs/html-philology.lib.xsl @@ -227,27 +227,8 @@ </xsl:template> <xsl:template match="philology//notes"> - <xsl:variable name="targets" select="note/@target"/> - <xsl:variable name="targetsUnique" select="distinct-values($targets)"/> - <xsl:variable name="thisNotes" select="."/> - <ul> - <xsl:for-each select="$targetsUnique"> - <li class="note-list"> - <xsl:variable name="targetUnique" select="."/> - <xsl:variable name="noteListId" select="concat(generate-id($thisNotes), '-', .)"/> - <label for="{$noteListId}"> - <xsl:variable name="targetIds" select="tokenize($targetUnique, ' ')"/> - <xsl:for-each select="$targetIds"> - <xsl:variable name="targetId" select="substring(., 2)"/> - <xsl:apply-templates select="root($thisNotes)//*[@xml:id = $targetId]"/> - </xsl:for-each> - </label> - <input id="{$noteListId}" type="checkbox"/> - <ul> - <xsl:apply-templates select="$thisNotes//note[@target = $targetUnique]"/> - </ul> - </li> - </xsl:for-each> + <ul> + <xsl:apply-templates select=".//note"/> </ul> </xsl:template>