2005-12-07 17:33:00 +08:00
|
|
|
<?xml version="1.0"?>
|
2008-04-24 01:08:31 +08:00
|
|
|
<xsl:stylesheet
|
2013-05-03 23:57:05 +08:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2008-04-24 01:08:31 +08: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 17:33:00 +08:00
|
|
|
|
2008-04-24 01:08:31 +08:00
|
|
|
<xsl:import href="page.xsl"/>
|
2006-01-20 23:49:04 +08:00
|
|
|
|
2008-04-24 01:08:31 +08:00
|
|
|
<xsl:output
|
|
|
|
method="xml"
|
2009-12-08 23:09:33 +08:00
|
|
|
encoding="UTF-8"
|
2017-07-27 01:01:25 +08:00
|
|
|
indent="yes"/>
|
2006-01-20 23:49:04 +08:00
|
|
|
|
2012-06-22 21:21:18 +08:00
|
|
|
<xsl:variable name="href_base">
|
|
|
|
<xsl:choose>
|
2020-08-04 21:33:15 +08:00
|
|
|
<xsl:when test="$pagesrc = 'docs/404.html.in'">
|
2012-06-22 21:21:18 +08:00
|
|
|
<xsl:value-of select="'/'"/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
<xsl:value-of select="''"/>
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:variable>
|
2006-01-20 23:49:04 +08:00
|
|
|
|
2008-04-24 01:08:31 +08:00
|
|
|
<xsl:template match="/">
|
|
|
|
<xsl:apply-templates select="." mode="page">
|
2020-04-08 23:18:58 +08:00
|
|
|
<xsl:with-param name="pagesrc" select="$pagesrc"/>
|
2017-07-26 23:04:37 +08:00
|
|
|
<xsl:with-param name="timestamp" select="$timestamp"/>
|
2008-04-24 01:08:31 +08:00
|
|
|
</xsl:apply-templates>
|
2005-12-07 17:33:00 +08:00
|
|
|
</xsl:template>
|
2006-01-20 23:49:04 +08:00
|
|
|
|
2005-12-07 17:33:00 +08:00
|
|
|
</xsl:stylesheet>
|