70 lines
2.6 KiB
XML
70 lines
2.6 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="pull-schedule/schedule">
|
||
|
<xsl:apply-templates/>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template match="pull-schedule/schedule/conference">
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template match='pull-schedule/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='pull-schedule/schedule/day/room/event'>
|
||
|
<fo:block font-size='14pt' padding='1mm'
|
||
|
border-top-style='solid' border-bottom-style='solid'
|
||
|
border-top-color='black' border-bottom-color='black'
|
||
|
border-top-width='0.2mm' border-bottom-width='0.2mm'
|
||
|
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'/>+<xsl:value-of select='duration'/>)
|
||
|
</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>
|