Foundry: Include element for templates
git-svn-id: https://svn.libreccm.org/ccm/trunk@2963 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
b94756f723
commit
723f1b93a2
|
|
@ -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>
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
========================================================
|
========================================================
|
||||||
|
|
|
||||||
|
|
@ -110,5 +110,8 @@
|
||||||
</div>
|
</div>
|
||||||
</notes>
|
</notes>
|
||||||
</aside>
|
</aside>
|
||||||
|
<footer>
|
||||||
|
<include file="templates/fragments/footer.xml"/>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</page-layout>
|
</page-layout>
|
||||||
|
|
@ -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>
|
||||||
Loading…
Reference in New Issue