aboutsummaryrefslogtreecommitdiff
path: root/xsl/racconto.xsl
blob: ebe87f5ceec94c866de04c896f1e24725a304c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:include href="identity.xsl"/>
 
<xsl:template match="/">
 <html>
   <xsl:apply-templates select="/html/head"/>
   <xsl:apply-templates select="/html/body"/>
   <navigation>
    <xsl:for-each select="/html/section/section">
     <xsl:if test=".//homepage/@active or .//entry/@active or .//file/@active">
      <link rel="same" href="{homepage/@src}" text="{@name}"/>
     </xsl:if>
    </xsl:for-each>
   </navigation>
 </html>
</xsl:template>
 
</xsl:stylesheet>