diff options
author | dakkar <dakkar@thenautilus.net> | 2009-08-18 13:24:38 +0200 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2009-08-18 13:24:38 +0200 |
commit | 67feec7f67b5de0ebc0c028f18172e348104cd65 (patch) | |
tree | db8574f48fa19586f51d07d0108520eeb92625ea /xsl/racconto.xsl | |
download | sitemake-master.tar.gz sitemake-master.tar.bz2 sitemake-master.zip |
Diffstat (limited to 'xsl/racconto.xsl')
-rw-r--r-- | xsl/racconto.xsl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/xsl/racconto.xsl b/xsl/racconto.xsl new file mode 100644 index 0000000..ebe87f5 --- /dev/null +++ b/xsl/racconto.xsl @@ -0,0 +1,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> |