Loading ui/xsl/ead/document_toc.xsl +12 −1 Original line number Diff line number Diff line Loading @@ -39,8 +39,19 @@ <xsl:apply-templates/> </summary> </xsl:template> <xsl:template match="a"> <a href="{@href}"> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="(ancestor::details[1][@level='archdesc']) and (not(parent::div[@class='detail']))"> <xsl:value-of select="substring-before(@href,'.xml')||'.xml/info/archdesc.html'" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="@href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:apply-templates/> </a> </xsl:template> Loading Loading
ui/xsl/ead/document_toc.xsl +12 −1 Original line number Diff line number Diff line Loading @@ -39,8 +39,19 @@ <xsl:apply-templates/> </summary> </xsl:template> <xsl:template match="a"> <a href="{@href}"> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="(ancestor::details[1][@level='archdesc']) and (not(parent::div[@class='detail']))"> <xsl:value-of select="substring-before(@href,'.xml')||'.xml/info/archdesc.html'" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="@href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:apply-templates/> </a> </xsl:template> Loading