SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

623 lines
32 KiB

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:HtmlUtils="de.superx.util.HtmlUtils"
xmlns:memtext="http://www.memtext.de/namespace"
xmlns:saxon="http://saxon.sf.net/"
xmlns:dyn="http://xalan.apache.org/"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xsl:decimal-format decimal-separator="," grouping-separator="." name="german" NaN="" zero-digit="0"/>
<xsl:template match="/">
<xsl:variable name="apos">'</xsl:variable>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4"
page-height="21cm" page-width="29.7cm"
margin-top="1.5cm"
margin-bottom="1.5cm"
margin-left="2cm"
padding-right="2cm">
<fo:region-before extent="3.0cm"/>
<fo:region-after extent="1cm"/>
<fo:region-body margin-bottom="1.1cm" margin-top="2cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="A4">
<!-- Kopfzeile, wird auf jeder Seite wiederholt-->
<fo:static-content flow-name="xsl-region-before">
<fo:block>
<fo:table border="none">
<fo:table-column column-width="4.0cm"/>
<fo:table-column column-width="3.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="1.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="2.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="1.5cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="12pt" font-family="sans-serif" font-weight="bold">Hül nach Inst/Proj</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold">Zeitraum von:</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold"><xsl:value-of select="substring-before(substring(ergebnisse/ergebnis/felder/feld[@varname='Datum (von)']/value,2),$apos)" /></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold">bis</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold"><xsl:value-of select="substring-before(substring(ergebnisse/ergebnis/felder/feld[@varname='Datum (bis)']/value,2),$apos)" /></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" >Datum:</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" ><xsl:value-of select="ergebnisse/@datum"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" >Zeit:</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" ><xsl:value-of select="ergebnisse/@zeit"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" >Seite <fo:page-number/> von <fo:page-number-citation ref-id="letzteSeite"/></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block>
<fo:table>
<fo:table-column column-width="4.0cm"/>
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.0cm"/>
<fo:table-column column-width="8.0cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold">Haushaltsjahr:</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold"><xsl:value-of select="substring(substring-after(substring-after(ergebnisse/ergebnis/felder/feld[@varname='Datum (von)']/value,'.'),'.'),1,4)" /></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold">Institution:</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold">
<xsl:value-of select="ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene'][wert='99']]/col[f_name='kommentar']/substring(wert,13) "/>
<!--<xsl:value-of select="ergebnisse/ergebnis/felder/feld[@varname='Kostenstelle']/value_caption" />--></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block>
<fo:table>
<fo:table-column column-width="4.0cm"/>
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="4.0cm"/>
<fo:table-column column-width="8.0cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm">Fachbereich/Projekt:</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="ergebnisse/ergebnis/felder/feld[@varname='Buchungsab_fb']/value_caption" /></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm">Projektleiter:</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm">
<xsl:value-of select="ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene'][wert='100']]/col[f_name='kommentar']/substring(wert, 15)"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block>
<fo:leader leader-length="92%" rule-thickness="0.5pt" leader-pattern="rule"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<!-- Schleife über alle DR -->
<xsl:for-each-group select="ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert='1']/col[f_name='dr']" group-by="wert">
<!--Übersicht Ebene 1-->
<fo:block padding-before="0.5cm">
<fo:table border="0.5pt solid">
<fo:table-column column-width="4.0cm"/>
<fo:table-column column-width="3.0cm"/>
<fo:table-column column-width="3.5cm"/>
<fo:table-column column-width="2.0cm"/>
<fo:table-column column-width="4.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="3.5cm"/>
<fo:table-column column-width="2.0cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.2cm" margin-left="0.2cm">Kontostand vom</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.2cm" ><xsl:value-of select="/ergebnisse/ergebnis/stand"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Ansatz</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='hhans']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Einnahme</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" text-align="right" font-family="sans-serif" padding-before="0.2cm" margin-right="1.0cm" ><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='einnahme']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Kapitel</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Kapitel']/value" /></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Vorj.Rest</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='vorjahrrest']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Off.Sollst</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='offsolle']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Titelgruppe</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="current-grouping-key()"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Sperre</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='sperre']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Ausgabe</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='ausgabe']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" margin-left="0.2cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Sonst.Zuweisg</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='sonst_zuwei']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Festgelegt</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='fest']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" margin-left="0.2cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" padding-after="0.1cm">Aktuell.Soll</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='aktsoll']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Verfügbar</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=1][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='verfuegbar']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block break-before="page"></fo:block>
<!--Übersicht Ebene 2-->
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=2][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='titel']/wert">
<fo:block padding-before="0.5cm">
<fo:table border="0.5pt solid">
<fo:table-column column-width="4.0cm"/>
<fo:table-column column-width="3.0cm"/>
<fo:table-column column-width="3.5cm"/>
<fo:table-column column-width="2.0cm"/>
<fo:table-column column-width="4.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="3.5cm"/>
<fo:table-column column-width="2.0cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.2cm" margin-left="0.2cm">Kontostand vom</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.2cm" ><xsl:value-of select="/ergebnisse/ergebnis/stand"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Ansatz</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.0cm" ><xsl:value-of select="format-number(../../col[f_name='hhans']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Off.Sollst.</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.0cm" >
<xsl:choose>
<xsl:when test="substring(current(),1) = '1' or substring(current(),1) = '2' or substring(current(),1) = '3'">
<xsl:value-of select="format-number(../../col[f_name='offsolle']/wert,'#.###.##0,00','german')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="format-number(../../col[f_name='offsolla']/wert,'#.###.##0,00','german')"/>
</xsl:otherwise>
</xsl:choose>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-with-previous="always">
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Kapitel</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Kapitel']/value" /></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Sperre</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(../../col[f_name='sperre']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Ausgabe</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(../../col[f_name='ausgabe']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-with-previous="always">
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Titel</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="current()"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Aktuell.Soll</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(../../col[f_name='aktsoll']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Festgelegt</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(../../col[f_name='fest']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-with-previous="always">
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Ut</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="../../col[f_name='zweckbestimmung_ut']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" padding-after="0.1cm">Verfügbar</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" padding-after="0.1cm" margin-right="1.0cm"><xsl:value-of select="format-number(../../col[f_name='verfuegbar']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block padding-before="0.5cm">
<fo:table border="none">
<fo:table-column column-width="1.0cm"/>
<fo:table-column column-width="1.5cm"/>
<fo:table-column column-width="1.5cm"/>
<fo:table-column column-width="2.0cm"/>
<fo:table-column column-width="6.0cm"/>
<fo:table-column column-width="7.0cm"/>
<fo:table-column column-width="1.8cm"/>
<fo:table-column column-width="1.5cm"/>
<fo:table-column column-width="3.0cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Ut</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Ausw.-</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Hül-Nr</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Zp-Nr</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Empfänger/</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Verwendungszweck/</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Buch.-D</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Buch.-</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" padding-right="0.2cm" >Buch.-Betrag</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-with-previous="always">
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">KZ</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Einzahler</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Grund</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Art</fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" padding-right="0.2cm">in EUR</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block padding-after="0.3cm">
<fo:leader leader-length="88%" rule-thickness="0.5pt" leader-pattern="rule" rule-style="dashed"/>
</fo:block>
<fo:block padding-after="0.5cm">
<fo:table border="none">
<fo:table-column column-width="1.0cm"/>
<fo:table-column column-width="1.5cm"/>
<fo:table-column column-width="1.5cm"/>
<fo:table-column column-width="2.0cm"/>
<fo:table-column column-width="6.0cm"/>
<fo:table-column column-width="7.0cm"/>
<fo:table-column column-width="1.8cm"/>
<fo:table-column column-width="1.5cm"/>
<fo:table-column column-width="3.0cm"/>
<fo:table-body>
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=4][col[f_name='dr']/wert=current-grouping-key()][col[f_name='titel']/wert=current()]">
<fo:table-row>
<fo:table-cell border="none" number-columns-spanned="8">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Mittelzuweisungen</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:if>
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=4][col[f_name='dr']/wert=current-grouping-key()][col[f_name='titel']/wert=current()]">
<!--<xsl:sort select="col[f_name='huelnummer']/wert" data-type="number" />-->
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm"><xsl:value-of select="col[f_name='zweckbestimmung_ut']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='auswert_kz']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='huelnummer']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='zpartnernummer']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='zpname']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='kommentar']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="concat(substring(col[f_name='buchungsdatum']/wert,1,6),substring(col[f_name='buchungsdatum']/wert,9,2))"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='buchungskzmbs']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.2cm" ><xsl:value-of select="format-number(col[f_name='betrag']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=3][col[f_name='dr']/wert=current-grouping-key()][col[f_name='titel']/wert=current()]">
<fo:table-row>
<fo:table-cell border="none" number-columns-spanned="8">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Einnahmen und Ausgaben</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:if>
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='ebene']/wert=3][col[f_name='dr']/wert=current-grouping-key()][col[f_name='titel']/wert=current()]">
<!--<xsl:sort select="col[f_name='huelnummer']/wert" data-type="number" />-->
<fo:table-row>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm"><xsl:value-of select="col[f_name='zweckbestimmung_ut']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='auswert_kz']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='huelnummer']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='zpartnernummer']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='zpname']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='kommentar']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="concat(substring(col[f_name='buchungsdatum']/wert,1,6),substring(col[f_name='buchungsdatum']/wert,9,2))"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='buchungskzmbs']/wert"/></fo:block>
</fo:table-cell>
<fo:table-cell border="none">
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.2cm" ><xsl:value-of select="format-number(col[f_name='betrag']/wert,'#.###.##0,00','german')"/></fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block break-before="page"></fo:block>
</xsl:for-each>
</xsl:for-each-group>
<fo:block id="letzteSeite"/>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet>