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
|
|
|
|
2024-02-07 14:08:16 +00:00
|
|
|
<xsl:param name="builddir" select="'..'"/>
|
|
|
|
|
|
|
|
<xsl:template match="html:div[@id='include']" mode="content">
|
|
|
|
<xsl:call-template name="include"/>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template name="include">
|
|
|
|
<xsl:variable name="inchtml">
|
|
|
|
<xsl:copy-of select="document(concat($builddir, '/docs/', @filename))"/>
|
|
|
|
</xsl:variable>
|
|
|
|
|
|
|
|
<xsl:apply-templates select="exsl:node-set($inchtml)/html:html/html:body/*" mode="content"/>
|
|
|
|
</xsl:template>
|
|
|
|
|
2008-04-23 17:08:31 +00:00
|
|
|
<xsl:output
|
|
|
|
method="xml"
|
2009-12-08 15:09:33 +00:00
|
|
|
encoding="UTF-8"
|
2017-07-26 17:01:25 +00:00
|
|
|
indent="yes"/>
|
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">
|
2020-04-08 15:18:58 +00:00
|
|
|
<xsl:with-param name="pagesrc" select="$pagesrc"/>
|
2017-07-26 15:04:37 +00:00
|
|
|
<xsl:with-param name="timestamp" select="$timestamp"/>
|
2024-02-07 16:05:49 +00:00
|
|
|
<xsl:with-param name="link_href_base" select="$href_base"/>
|
|
|
|
<xsl:with-param name="asset_href_base" select="$href_base"/>
|
2008-04-23 17:08:31 +00:00
|
|
|
</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>
|