ba6c95d56b
git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@290 31f61c52-7bfb-0310-b897-fc00f8a278f0
66 lines
2.5 KiB
XML
66 lines
2.5 KiB
XML
<?xml version="1.0"?>
|
|
<xsl:stylesheet version="1.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
|
|
|
<xsl:template match="/schedule/conference">
|
|
</xsl:template>
|
|
|
|
<xsl:template match='/schedule/day/room'>
|
|
<fo:block padding='10mm 2mm' font-size='14pt' font-family='serif' text-align='center'
|
|
keep-together.within-column="always" keep-with-next.within-column="always">
|
|
Tag <xsl:value-of select='../@index'/>, <xsl:value-of select='@name'/>
|
|
</fo:block>
|
|
|
|
<xsl:apply-templates/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match='/schedule/day/room/event'>
|
|
<fo:block font-size='14pt' padding='1mm 1mm 0mm'
|
|
border-top-style='solid' border-bottom-style='solid'
|
|
border-top-color='black' border-bottom-color='black'
|
|
border-top-width='0.15mm' border-bottom-width='0.15mm'
|
|
keep-together.within-column="always" keep-with-next.within-column="always">
|
|
<fo:inline font-weight='bold'>
|
|
<xsl:value-of select='title'/>
|
|
</fo:inline>
|
|
(<xsl:value-of select='start'/> Uhr)
|
|
</fo:block>
|
|
|
|
<fo:block font-style='italic' padding='2mm 0mm 0mm'
|
|
keep-together.within-column="always" keep-with-next.within-column="always">
|
|
<xsl:value-of select='subtitle'/>
|
|
</fo:block>
|
|
<fo:block font-style='italic' padding='2mm 0mm 0mm'
|
|
keep-together.within-column="always" keep-with-next.within-column="always">
|
|
<xsl:for-each select='person'>
|
|
<xsl:if test='position() > 1'>, </xsl:if>
|
|
<xsl:value-of select='.'/>
|
|
</xsl:for-each>
|
|
</fo:block>
|
|
|
|
<xsl:if test='string-length(abstract) > 1'>
|
|
<fo:block font-size='10pt' font-weight='bold' padding='5mm 0mm 2mm 2mm'
|
|
keep-together.within-column="always" keep-with-next.within-column="always">
|
|
Abstract
|
|
</fo:block>
|
|
<fo:block font-family='serif' text-align='justify'>
|
|
<xsl:value-of select='abstract'/>
|
|
</fo:block>
|
|
</xsl:if>
|
|
<xsl:if test='string-length(description) > 1'>
|
|
<fo:block font-size='10pt' font-weight='bold' padding='5mm 0mm 2mm 2mm'
|
|
keep-together.within-column="always" keep-with-next.within-column="always">
|
|
Beschreibung
|
|
</fo:block>
|
|
<fo:block font-family='serif' text-align='justify'>
|
|
<xsl:value-of select='description'/>
|
|
</fo:block>
|
|
</xsl:if>
|
|
|
|
<fo:block padding='3mm 0mm'>
|
|
</fo:block>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|