Foundry: Some more support for publication properties

git-svn-id: https://svn.libreccm.org/ccm/trunk@3346 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-04-17 13:01:30 +00:00
parent 65d12a8626
commit b14e96770b
1 changed files with 67 additions and 7 deletions

View File

@ -173,13 +173,13 @@
<xsl:template match="content-item-layout//edition"> <xsl:template match="content-item-layout//edition">
<xsl:param name="contentitem-tree" tunnel="yes"/> <xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:value-of select="$contentitem-tree/volume"/> <xsl:value-of select="$contentitem-tree/edition"/>
</xsl:template> </xsl:template>
<xsl:template match="content-item-layout//if-edition"> <xsl:template match="content-item-layout//if-edition">
<xsl:param name="contentitem-tree" tunnel="yes"/> <xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:if test="$contentitem-tree/volume"> <xsl:if test="$contentitem-tree/edition">
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>
@ -578,4 +578,64 @@
</xsl:apply-templates> </xsl:apply-templates>
</xsl:template> </xsl:template>
<xsl:template match="content-item-layout//scipublications//if-issue">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:if test="$contentitem-tree/issue">
<xsl:apply-templates/>
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//issue">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:value-of select="$contentitem-tree/issue"/>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//if-journal">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:if test="$contentitem-tree/journal">
<xsl:apply-templates/>
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//journal-title">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:value-of select="$contentitem-tree/journal/title"/>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//journal-href">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:apply-templates>
<xsl:with-param name="href"
tunnel="yes"
select="foundry:generate-contentitem-link($contentitem-tree/journal/@oid)"/>
</xsl:apply-templates>
</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"/>
<xsl:if test="$contentitem-tree/chapter">
<xsl:apply-templates/>
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//chapter">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:value-of select="$contentitem-tree/chapter"/>
</xsl:template>
</xsl:stylesheet> </xsl:stylesheet>