Foundry: Include element for templates

git-svn-id: https://svn.libreccm.org/ccm/trunk@2963 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-11-11 13:02:14 +00:00
parent b94756f723
commit 723f1b93a2
3 changed files with 13 additions and 0 deletions

View File

@ -88,6 +88,10 @@
</div> </div>
</xsl:template> </xsl:template>
<xsl:template match="include">
<xsl:apply-templates select="document(foundry:gen-path(./@file))/fragment-layout"/>
</xsl:template>
<!-- <!--
======================================================== ========================================================

View File

@ -110,5 +110,8 @@
</div> </div>
</notes> </notes>
</aside> </aside>
<footer>
<include file="templates/fragments/footer.xml"/>
</footer>
</body> </body>
</page-layout> </page-layout>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<fragment-layout>
<div>
<strong>included from <code>fragments/footer.xml</code></strong>
</div>
</fragment-layout>