Foundry support for SciPublications Talk content type

git-svn-id: https://svn.libreccm.org/ccm/trunk@4773 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2017-06-12 12:29:50 +00:00
parent 46ae57025e
commit 3b8af0a6b2
1 changed files with 33 additions and 0 deletions

View File

@ -904,5 +904,38 @@
<xsl:value-of select="$export-formatname"/>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//if-event">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:if test="$contentitem-tree/event">
<xsl:apply-templates/>
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//event">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:value-of select="$contentitem-tree/event"/>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//if-date-of-talk">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:if test="$contentitem-tree/dateOfTalk">
<xsl:apply-templates/>
</xsl:if>
</xsl:template>
<xsl:template match="content-item-layout//scipublications//date-of-talk">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:call-template name="foundry:format-date">
<xsl:with-param name="date-elem"
select="$contentitem-tree/dateOfTalk"/>
<xsl:with-param name="date-format" select="./date-format"/>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>