Bugfix for Foundry: The if-collected-volume and if-proceedings tags put the collected volume/proceedings item into the context, therefore it was not possible to use data from an article or paper in the these. The put the collected volume/procedings into the

context use the collected-volume or the proceedings tag.


git-svn-id: https://svn.libreccm.org/ccm/trunk@4314 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2016-09-23 08:43:34 +00:00
parent 33af4f199a
commit 60ae856a4b
1 changed files with 24 additions and 8 deletions

View File

@ -662,8 +662,8 @@
</xsl:apply-templates>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//if-collected-volume">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:template match="content-item-layout//scipublications//collected-volume">
<xsl:param name="$contentitem-tree" tunnel="yes" />
<xsl:if test="$contentitem-tree/collectedVolume">
<xsl:apply-templates>
@ -674,6 +674,14 @@
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//if-collected-volume">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:if test="$contentitem-tree/collectedVolume">
<xsl:apply-templates />
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//if-chapter">
<xsl:param name="contentitem-tree" tunnel="yes"/>
@ -744,7 +752,7 @@
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//if-proceedings">
<xsl:template match="content-item-layout//scipublications//proceedings">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:if test="$contentitem-tree/proceedings">
@ -756,6 +764,14 @@
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//if-proceedings">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:if test="$contentitem-tree/proceedings">
<xsl:apply-templates />
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//articles">
<xsl:param name="contentitem-tree" tunnel="yes"/>