2005-12-07 12:33:00 +03:00
<?xml version="1.0"?>
2008-04-23 21:08:31 +04:00
<xsl:stylesheet
2013-05-03 19:57:05 +04:00
xmlns:html="http://www.w3.org/1999/xhtml"
2008-04-23 21:08:31 +04: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 12:33:00 +03:00
2008-04-23 21:08:31 +04:00
<xsl:import href= "page.xsl" />
2006-01-20 18:49:04 +03:00
2024-02-07 17:08:16 +03: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>
2024-02-29 12:39:29 +03:00
<xsl:output method= "xml" omit-xml-declaration= "yes" encoding= "UTF-8" indent= "yes" />
2006-01-20 18:49:04 +03:00
2008-04-23 21:08:31 +04:00
<xsl:template match= "/" >
<xsl:apply-templates select= "." mode= "page" >
2020-04-08 18:18:58 +03:00
<xsl:with-param name= "pagesrc" select= "$pagesrc" />
2017-07-26 18:04:37 +03:00
<xsl:with-param name= "timestamp" select= "$timestamp" />
2024-02-07 19:05:49 +03:00
<xsl:with-param name= "link_href_base" select= "$href_base" />
<xsl:with-param name= "asset_href_base" select= "$href_base" />
2008-04-23 21:08:31 +04:00
</xsl:apply-templates>
2005-12-07 12:33:00 +03:00
</xsl:template>
2006-01-20 18:49:04 +03:00
2005-12-07 12:33:00 +03:00
</xsl:stylesheet>