2007-05-05 16:34:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2007-03-03 14:52:27 +00:00
|
|
|
|
2013-01-17 23:13:14 +00:00
|
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:dt="http://xsltsl.org/date-time"
|
|
|
|
exclude-result-prefixes="dt"
|
|
|
|
xmlns:str="http://exslt.org/strings"
|
|
|
|
extension-element-prefixes="str">
|
2014-06-23 10:10:57 +00:00
|
|
|
|
2014-06-22 15:04:05 +00:00
|
|
|
<xsl:import href="tools/xsltsl/translations.xsl" />
|
|
|
|
<xsl:import href="tools/xsltsl/static-elements.xsl" />
|
|
|
|
<xsl:import href="tools/xsltsl/tagging.xsl" />
|
2014-01-23 15:39:19 +00:00
|
|
|
|
2014-06-17 22:34:59 +00:00
|
|
|
<xsl:import href="build/xslt/fsfe_head.xsl" />
|
2014-06-22 15:33:35 +00:00
|
|
|
<xsl:import href="build/xslt/fsfe_body.xsl" />
|
2014-06-23 13:38:54 +00:00
|
|
|
<xsl:import href="build/xslt/fsfe_document.xsl" />
|
|
|
|
<xsl:import href="build/xslt/fsfe_headings.xsl" />
|
2014-06-22 15:33:35 +00:00
|
|
|
<xsl:import href="build/xslt/fsfe_localmenu.xsl" />
|
2007-05-05 16:34:57 +00:00
|
|
|
|
2014-06-22 15:04:05 +00:00
|
|
|
<xsl:import href="build/xslt/support_js.xsl" />
|
|
|
|
<xsl:import href="build/xslt/support_countries.xsl" />
|
2014-06-22 15:33:35 +00:00
|
|
|
|
|
|
|
<!-- Do not copy non-HTML elements to output -->
|
|
|
|
<xsl:import href="build/xslt/fsfe_nolocal.xsl" />
|
|
|
|
|
|
|
|
<!-- HTML 5 compatibility doctype, since our XSLT parser doesn't support disabling output escaping -->
|
|
|
|
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
|
2008-12-07 21:07:01 +00:00
|
|
|
|
2014-06-22 15:04:05 +00:00
|
|
|
<!-- Ignore "latin" tags, used only for printable material -->
|
2010-05-14 09:54:35 +00:00
|
|
|
<xsl:template match="latin">
|
|
|
|
<xsl:apply-templates select="@*|node()"/>
|
|
|
|
</xsl:template>
|
2013-01-17 23:13:14 +00:00
|
|
|
|
|
|
|
<!-- If no template matching <body> is found in the current page's XSL file, this one will be used -->
|
|
|
|
<xsl:template match="body" priority="-1">
|
|
|
|
<xsl:apply-templates />
|
|
|
|
</xsl:template>
|
2007-03-03 14:52:27 +00:00
|
|
|
|
2013-01-17 23:13:14 +00:00
|
|
|
<xsl:template match="@dt:*">
|
|
|
|
<xsl:attribute name="{local-name()}">
|
|
|
|
<xsl:value-of select="." />
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:template>
|
2014-06-22 15:04:05 +00:00
|
|
|
|
2014-01-27 23:03:27 +00:00
|
|
|
<!--FIXME ↓-->
|
2014-01-27 20:37:36 +00:00
|
|
|
<xsl:template match="fetch-news">
|
|
|
|
<xsl:call-template name="fetch-news">
|
2014-01-27 21:30:08 +00:00
|
|
|
<xsl:with-param name="tag" select="'/buildinfo/document/sidebar/@news'"/>
|
2014-01-27 20:37:36 +00:00
|
|
|
<xsl:with-param name="nb-items" select="4"/>
|
|
|
|
</xsl:call-template>
|
|
|
|
</xsl:template>
|
|
|
|
|
2007-03-03 14:52:27 +00:00
|
|
|
</xsl:stylesheet>
|
2014-01-27 20:37:36 +00:00
|
|
|
|