Project

Profile

Help

Bug #1669 » view_all_0.xsl

Manfred Staudinger, 2013-02-18 12:04

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="2.0"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:ixsl="http://saxonica.com/ns/interactiveXSLT"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:dr="http://documenta.rudolphina.org/"
extension-element-prefixes="ixsl"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- -->
<xsl:template match="@* | node()" mode="#all">
<xsl:copy>
<xsl:apply-templates select="@* | node()" mode="#current"/>
</xsl:copy>
</xsl:template>
<xsl:template name="main">
<xsl:message select="'template name=main'"/>
<xsl:result-document href="#htmlbody" method="ixsl:replace-content">
<xsl:apply-templates select="ixsl:page()/*/*/*[@id='htmlbody']/*" mode="init"/>
</xsl:result-document>
</xsl:template>
<xsl:template match="html:div[@id='htmlbody']/html:h3" mode="init">
<xsl:message select="'template match=html:div[@id=htmlbody]/html:h3 mode=init'"/>
<xsl:copy-of select="."/>
</xsl:template>
<xsl:template match="html:div[@class='verslink']" mode="init">
<xsl:copy>
<xsl:attribute name="class" select="'zitat'"/>
<xsl:apply-templates select="@*" mode="#current"/>
<html:a href="#" title="Zitiervorschlag">
<xsl:value-of select="'Version2:', @data-v"/>
</html:a>
</xsl:copy>
</xsl:template>
<xsl:template match="html:div/@class[.='verslink']" mode="init"/>
<!-- -->
</xsl:transform>
(1-1/3)