2005-12-07 09:33:00 +00:00
|
|
|
<?xml version="1.0"?>
|
2008-04-23 17:08:31 +00:00
|
|
|
<xsl:stylesheet
|
2013-05-03 15:57:05 +00:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2008-04-23 17:08:31 +00:00
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:exsl="http://exslt.org/common"
|
|
|
|
exclude-result-prefixes="xsl exsl"
|
|
|
|
version="1.0">
|
2005-12-07 09:33:00 +00:00
|
|
|
|
2008-04-23 17:08:31 +00:00
|
|
|
<xsl:import href="page.xsl"/>
|
2006-01-20 15:49:04 +00:00
|
|
|
|
2008-04-23 17:08:31 +00:00
|
|
|
<xsl:output
|
|
|
|
method="xml"
|
2009-12-08 15:09:33 +00:00
|
|
|
encoding="UTF-8"
|
2008-04-23 17:08:31 +00:00
|
|
|
indent="yes"
|
2009-11-13 22:19:09 +00:00
|
|
|
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
2008-04-25 16:23:51 +00:00
|
|
|
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
|
2006-01-20 15:49:04 +00:00
|
|
|
|
2012-06-22 13:21:18 +00:00
|
|
|
<xsl:variable name="href_base">
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="$pagename = '404.html'">
|
|
|
|
<xsl:value-of select="'/'"/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
<xsl:value-of select="''"/>
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:variable>
|
2006-01-20 15:49:04 +00:00
|
|
|
|
2008-04-23 17:08:31 +00:00
|
|
|
<xsl:template match="/">
|
|
|
|
<xsl:apply-templates select="." mode="page">
|
|
|
|
<xsl:with-param name="pagename" select="$pagename"/>
|
|
|
|
</xsl:apply-templates>
|
2005-12-07 09:33:00 +00:00
|
|
|
</xsl:template>
|
2006-01-20 15:49:04 +00:00
|
|
|
|
2005-12-07 09:33:00 +00:00
|
|
|
</xsl:stylesheet>
|