This commit is contained in:
Andreas Österreicher
2007-08-03 12:54:35 +00:00
parent 75faab7c5c
commit 15f91dc43a
5 changed files with 686 additions and 2 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ if(isset($_GET['ss']))
$params.='&ss='.$_GET['ss'];
if(isset($_GET['abschlusspruefung_id']))
$params.='&abschlusspruefung_id='.$_GET['abschlusspruefung_id'];
if(isset($_GET['typ']))
$params.='&typ='.$_GET['typ'];
//Berechtigung pruefen
+3
View File
@@ -159,6 +159,9 @@ $pruefung = new abschlusspruefung($conn, null, true);
<datum_aktuell><![CDATA['.date('d.m.Y').']]></datum_aktuell>
<anmerkung><![CDATA['.$row->anmerkung.']]></anmerkung>
<bescheidbgbl1><![CDATA['.$studiengang->bescheidbgbl1.']]></bescheidbgbl1>
<bescheidbgbl2><![CDATA['.$studiengang->bescheidbgbl2.']]></bescheidbgbl2>
<bescheidgz><![CDATA['.$studiengang->bescheidgz.']]></bescheidgz>
<bescheidvom><![CDATA['.$datum_obj->convertISODate($studiengang->bescheidvom).']]></bescheidvom>
<titelbescheidvom><![CDATA['.$datum_obj->convertISODate($studiengang->titelbescheidvom).']]></titelbescheidvom>
<rektor><![CDATA['.$rektor.']]></rektor>
<themenbereich><![CDATA['.$themenbereich.']]></themenbereich>
+154
View File
@@ -0,0 +1,154 @@
<?php
/* Copyright (C) 2006 Technikum-Wien
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
* Rudolf Hangl <rudolf.hangl@technikum-wien.at> and
* Gerald Raab <gerald.raab@technikum-wien.at>.
*/
// header für no cache
//header("Cache-Control: no-cache");
//header("Cache-Control: post-check=0, pre-check=0",false);
//header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
//header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
require_once('../vilesci/config.inc.php');
require_once('../include/functions.inc.php');
require_once('../include/zeugnisnote.class.php');
require_once('../include/datum.class.php');
require_once('../include/note.class.php');
// Datenbank Verbindung
if (!$conn = pg_pconnect(CONN_STRING))
$error_msg='Es konnte keine Verbindung zum Server aufgebaut werden!';
//$user = get_uid();
//loadVariables($conn, $user);
$datum = new datum();
if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
{
if(isset($_GET['uid']))
$uid = $_GET['uid'];
else
$uid = null;
$uid_arr = explode(";",$uid);
if ($uid_arr[0] == "")
{
unset($uid_arr[0]);
$uid_arr = array_values($uid_arr);
}
$note_arr = array();
$note = new note($conn);
$note->getAll();
foreach ($note->result as $n)
$note_arr[$n->note] = $n->anmerkung;
if(isset($_GET['ss']))
$studiensemester_kurzbz = $_GET['ss'];
else
$studiensemester_kurzbz = $semester_aktuell;
//$rdf_url='http://www.technikum-wien.at/zeugnisnote';
//Daten holen
$xml = "<?xml version='1.0' encoding='ISO-8859-15' standalone='yes'?>\n";
$xml .= "<studienerfolge>";
for ($i = 0; $i < sizeof($uid_arr); $i++)
{
$query = "SELECT tbl_student.matrikelnr, tbl_student.studiengang_kz, tbl_studiengang.bezeichnung, tbl_studentlehrverband.semester, tbl_person.vorname, tbl_person.nachname,tbl_person.gebdatum, tbl_studiensemester.bezeichnung as sembezeichnung FROM tbl_person, tbl_student, tbl_studiengang, tbl_benutzer, tbl_studentlehrverband, tbl_studiensemester WHERE tbl_student.studiengang_kz = tbl_studiengang.studiengang_kz and tbl_student.student_uid = tbl_benutzer.uid and tbl_benutzer.person_id = tbl_person.person_id and tbl_student.student_uid = '".$uid_arr[$i]."' and tbl_studentlehrverband.student_uid=tbl_student.student_uid and tbl_studiensemester.studiensemester_kurzbz = tbl_studentlehrverband.studiensemester_kurzbz and tbl_studentlehrverband.studiensemester_kurzbz = '".$studiensemester_kurzbz."'";
if($result = pg_query($conn, $query))
{
if(!$row = pg_fetch_object($result))
die('Student not found');
}
else
die('Student not found');
$stgl_query = "SELECT titelpre, titelpost, vorname, nachname FROM tbl_person, tbl_benutzer, tbl_benutzerfunktion WHERE tbl_person.person_id = tbl_benutzer.person_id and tbl_benutzer.uid = tbl_benutzerfunktion.uid and tbl_benutzerfunktion.funktion_kurzbz = 'stgl' and tbl_benutzerfunktion.studiengang_kz = '".$row->studiengang_kz."'";
if($stgl_result = pg_query($conn, $stgl_query))
$stgl_row = pg_fetch_object($stgl_result);
else
die('Stgl not found');
$xml .= " <studienerfolg>";
$xml .= " <studiensemester>".$row->sembezeichnung."</studiensemester>";
$xml .= " <semester>".$row->semester."</semester>";
$xml .= " <studiengang>".$row->bezeichnung."</studiengang>";
$xml .= " <studiengang_kz>".$row->studiengang_kz."</studiengang_kz>";
$xml .= " <vorname>".$row->vorname."</vorname>";
$xml .= " <nachname>".$row->nachname."</nachname>";
$gebdatum = date('d.m.Y',strtotime($row->gebdatum));
$xml .= " <gebdatum>".$gebdatum."</gebdatum>";
$xml .= " <matrikelnr>".$row->matrikelnr."</matrikelnr>";
$xml .= " <studiensemester_kurzbz>".$studiensemester_kurzbz."</studiensemester_kurzbz>";
$datum_aktuell = date('d.m.Y');
$xml .= " <datum>".$datum_aktuell."</datum>";
if(isset($_REQUEST['typ']) && $_REQUEST['typ']=='finanzamt')
$xml .= " <finanzamt>(gemäß §2 Abs. 1 lit.b des Familienlastenausgleichsgesetzes 1967 zur Vorlage beim Wohnsitzfinanzamt)</finanzamt>";
else
$xml .= " <finanzamt></finanzamt>";
$obj = new zeugnisnote($conn, null, null, null, false);
$obj->getZeugnisnoten($lehrveranstaltung_id=null, $uid_arr[$i], $studiensemester_kurzbz);
$gesamtstunden=0;
$gesamtects=0;
$notensumme=0;
$anzahl=0;
foreach ($obj->result as $row)
{
if ($row->note)
$note = $note_arr[$row->note];
else
$note = "";
$xml .= " <unterrichtsfach>";
$xml .= " <bezeichnung>".$row->lehrveranstaltung_bezeichnung."</bezeichnung>";
$xml .= " <note>".$note."</note>";
$xml .= " <sws>".$row->semesterstunden."</sws>";
$xml .= " <ects>".$row->ects."</ects>";
if($row->benotungsdatum!='')
$xml .= " <benotungsdatum>".date('d.m.Y',$datum->mktime_fromtimestamp($row->benotungsdatum))."</benotungsdatum>";
$xml .= " </unterrichtsfach>";
$gesamtstunden +=$row->semesterstunden;
$gesamtects += $row->ects;
if(is_numeric($note))
{
$notensumme += $note;
$anzahl++;
}
}
$xml .= " <gesamtstunden>$gesamtstunden</gesamtstunden>";
$xml .= " <gesamtects>$gesamtects</gesamtects>";
$xml .= " <schnitt>".sprintf('%.2f',$notensumme/$anzahl)."</schnitt>";
$xml .= " </studienerfolg>";
}
$xml .= "</studienerfolge>";
echo $xml;
}
?>
+299
View File
@@ -0,0 +1,299 @@
<?xml version="1.0" encoding="ISO-8859-15"?>
<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" indent="yes" />
<xsl:template match="studienerfolge">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-height="297mm" page-width="210mm" margin="5mm 25mm 5mm 25mm" master-name="PageMaster">
<fo:region-body margin="20mm 0mm 20mm 0mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<xsl:apply-templates select="studienerfolg"/>
</fo:root>
</xsl:template>
<xsl:template match="studienerfolg">
<fo:page-sequence master-reference="PageMaster">
<fo:flow flow-name="xsl-region-body" >
<fo:block-container position="absolute" top="35mm" left="15mm" height="20mm">
<fo:block text-align="left" line-height="20pt" font-family="sans-serif" font-size="16pt">
Bestätigung des Studienerfolges
</fo:block>
</fo:block-container>
<!--FINANZAMT-->
<fo:block-container position="absolute" top="45mm" left="15mm" height="20mm">
<fo:block text-align="left" line-height="10pt" font-family="sans-serif" font-size="8pt">
<xsl:value-of select="finanzamt" />
</fo:block>
</fo:block-container>
<!-- NAME - GEBURTSDATUM - MATRIKELNUMMER -->
<fo:block-container position="absolute" top="50mm" left="15mm" height="10mm">
<fo:table table-layout="fixed" border-collapse="separate">
<fo:table-column column-width="120mm"/>
<fo:table-column column-width="30mm"/>
<fo:table-column column-width="30mm"/>
<fo:table-body>
<fo:table-row line-height="14pt">
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-family="sans-serif" font-size="8pt" content-width="45mm" text-align="left">
<xsl:text> Familienname, Vorname\n</xsl:text>
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-family="sans-serif" font-size="8pt" content-width="45mm" text-align="left">
<xsl:text> Geburtsdatum\n</xsl:text>
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-family="sans-serif" font-size="8pt" content-width="45mm" text-align="left">
<xsl:text> Personenkennzeichen\n</xsl:text>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block-container>
<fo:block-container position="absolute" top="55mm" left="16mm" height="20mm">
<fo:block text-align="left" line-height="14pt" font-family="sans-serif" font-size="10pt" font-weight="bold">
<xsl:value-of select="nachname" /><xsl:text> </xsl:text><xsl:value-of select="vorname" />
</fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="55mm" left="137mm" height="20mm">
<fo:block text-align="left" line-height="14pt" font-family="sans-serif" font-size="10pt" font-weight="bold">
<xsl:value-of select="gebdatum" />
</fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="55mm" left="167mm" height="20mm">
<fo:block text-align="left" line-height="14pt" font-family="sans-serif" font-size="10pt" font-weight="bold">
<xsl:value-of select="matrikelnr" />
</fo:block>
</fo:block-container>
<!--STUDIENGANG UND KENNZAHL -->
<fo:block-container position="absolute" top="60.8mm" left="15mm" height="10mm">
<fo:table table-layout="fixed" border-collapse="separate">
<fo:table-column column-width="150.4mm"/>
<fo:table-column column-width="30mm"/>
<fo:table-body>
<fo:table-row line-height="14pt">
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-family="sans-serif" font-size="8pt" content-width="45mm" text-align="left">
<xsl:text> Studiengang\n</xsl:text>
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-family="sans-serif" font-size="8pt" content-width="45mm" text-align="left">
<xsl:text> Kennzahl\n</xsl:text>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block-container>
<fo:block-container position="absolute" top="66mm" left="16mm" height="20mm">
<fo:block text-align="left" line-height="14pt" font-family="sans-serif" font-size="10pt" font-weight="bold">
<xsl:value-of select="studiengang" />
</fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="66mm" left="167mm" height="20mm">
<fo:block text-align="left" line-height="14pt" font-family="sans-serif" font-size="10pt" font-weight="bold">
<xsl:value-of select="studiengang_kz" />
</fo:block>
</fo:block-container>
<!-- Studiensemester - Ausbildungssemester -->
<fo:block-container position="absolute" top="71.6mm" left="15mm" height="10mm">
<fo:table table-layout="fixed" border-collapse="separate">
<fo:table-column column-width="120mm"/>
<fo:table-column column-width="60.4mm"/>
<fo:table-body>
<fo:table-row line-height="14pt">
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-family="sans-serif" font-size="8pt" content-width="45mm" text-align="left">
<xsl:text> Aktuelles Studiensemester\n</xsl:text>
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-family="sans-serif" font-size="8pt" content-width="45mm" text-align="left">
<xsl:text> Aktuelles Ausbildungssemester\n</xsl:text>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block-container>
<fo:block-container position="absolute" top="77mm" left="16mm" height="20mm">
<fo:block text-align="left" line-height="10pt" font-family="sans-serif" font-size="10pt" font-weight="bold">
<xsl:value-of select="studiensemester_kurzbz" />
</fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="77mm" left="137mm" height="20mm">
<fo:block text-align="left" line-height="10pt" font-family="sans-serif" font-size="10pt" font-weight="bold">
<xsl:value-of select="semester" />. Semester
</fo:block>
</fo:block-container>
<!-- TABELLE -->
<fo:block-container position="absolute" top="100mm" left="15mm" height="20mm">
<fo:block text-align="left" line-height="14pt" font-family="sans-serif" font-size="10pt" font-weight="bold">
Folgende Prüfungen wurden erfolgreich abgelegt:
</fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="110mm" left="15mm">
<fo:table table-layout="fixed" border-collapse="separate" border-width="0.2mm" border-style="solid">
<fo:table-column column-width="70mm"/>
<fo:table-column column-width="24mm"/>
<fo:table-column column-width="32mm"/>
<fo:table-column column-width="13mm"/>
<fo:table-column column-width="10mm"/>
<fo:table-column column-width="15mm"/>
<fo:table-column column-width="15mm"/>
<fo:table-body>
<fo:table-row line-height="10pt">
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold">
Lehrveranstaltung
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="24mm" text-align="center">
Studiensemester
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="32mm" text-align="center">
Ausbildungssemester
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="13mm" text-align="center">
Stunden
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="10mm" text-align="center">
ECTS
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="15mm" text-align="center">
Datum
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="15mm" text-align="center">
Benotung
</fo:block>
</fo:table-cell>
</fo:table-row>
<xsl:apply-templates select="unterrichtsfach"/>
<fo:table-row line-height="10pt">
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold">
Semestersumme:
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="24mm" text-align="center">
<xsl:value-of select="studiensemester_kurzbz" />
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="32mm" text-align="center">
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="13mm" text-align="center">
<xsl:value-of select="gesamtstunden" />
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="10mm" text-align="center">
<xsl:value-of select="gesamtects" />
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="15mm" text-align="center">
Schnitt:
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="15mm" text-align="center">
<xsl:value-of select="schnitt" />
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block>
\n\n
</fo:block>
<fo:table>
<fo:table-column column-width="35mm"/>
<fo:table-column column-width="145mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="10pt">Datum: <xsl:value-of select="datum" /></fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="10pt" text-align="right" content-width="145mm">Gilt auch ohne Unterschrift und Stempel</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table>
<fo:table-column column-width="15mm"/>
<fo:table-column column-width="155mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block font-size="7pt">Benotung: </fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="7pt">Sehr gut (1), Gut (2), Befriedigend (3), Genügend (4), Nicht genügend (5), angerechnet (ar), nicht beurteilt (nb),</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block font-size="7pt"></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="7pt">teilgenommen (tg), bestanden (b), approbiert (ap), erfolgreich absolviert (ea), nicht erfolgreich absolviert (nea)</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</xsl:template>
<xsl:template match="unterrichtsfach">
<fo:table-row line-height="10pt">
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt"><xsl:text> </xsl:text><xsl:value-of select="bezeichnung" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="24mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="../studiensemester_kurzbz" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="32mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="../semester" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="13mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="sws" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="10mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="ects" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="15mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="benotungsdatum" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="15mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="note" /></fo:block></fo:table-cell>
</fo:table-row>
</xsl:template>
</xsl:stylesheet >
+228
View File
@@ -0,0 +1,228 @@
<?xml version="1.0" encoding="ISO-8859-15"?>
<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" indent="yes" />
<xsl:template match="zeugnisse">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-height="297mm" page-width="210mm" margin="5mm 25mm 5mm 25mm" master-name="PageMaster">
<fo:region-body margin="20mm 0mm 20mm 0mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<xsl:apply-templates select="zeugnis"/>
</fo:root>
</xsl:template>
<xsl:template match="zeugnis">
<fo:page-sequence master-reference="PageMaster">
<fo:flow flow-name="xsl-region-body" >
<fo:block-container position="absolute" top="42mm" left="25mm" height="20mm">
<fo:block text-align="left" line-height="20pt" font-family="sans-serif" font-size="18pt">
<fo:inline font-weight="900">
<xsl:text>Zeugnis </xsl:text><xsl:value-of select="studiensemester" />
<xsl:text>\n </xsl:text><xsl:value-of select="semester" />. Semester
</fo:inline>
</fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="63mm" left="25mm" height="20mm">
<fo:block text-align="left" line-height="20pt" font-family="sans-serif" font-size="18pt">
<fo:inline font-weight="900">
<xsl:text>Studiengang\n </xsl:text>
<xsl:value-of select="studiengang" />
</fo:inline>
</fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="85mm" left="25mm" height="10mm">
<fo:block text-align="right" line-height="14pt" font-family="sans-serif" font-size="10pt" content-width="165mm">
<xsl:text>Personenkennzahl: </xsl:text>
<xsl:value-of select="matrikelnr" />
<xsl:text>\nKennzahl des Studiengangs: </xsl:text>
<xsl:value-of select="studiengang_kz" />
<xsl:text> </xsl:text>
</fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="102mm" left="25mm" height="10mm">
<fo:table table-layout="fixed" border-collapse="separate">
<fo:table-column column-width="45mm"/>
<fo:table-body>
<fo:table-row line-height="14pt">
<fo:table-cell>
<fo:block font-family="sans-serif" font-size="10pt" content-width="45mm" text-align="left">
<xsl:text>Vorname/Familienname: </xsl:text>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-family="sans-serif" font-size="10pt" content-width="45mm" text-align="left">
<fo:inline font-weight="900">
<xsl:value-of select="vorname" /><xsl:text> </xsl:text><xsl:value-of select="nachname" />
</fo:inline>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row line-height="14pt">
<fo:table-cell>
<fo:block font-family="sans-serif" font-size="10pt" content-width="45mm" text-align="left">
<xsl:text>Geburtsdatum: </xsl:text>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-family="sans-serif" font-size="10pt" content-width="45mm" text-align="left">
<xsl:text> </xsl:text><xsl:value-of select="gebdatum" />
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block-container>
<fo:block-container position="absolute" top="118mm" left="25mm">
<fo:table table-layout="fixed" border-collapse="separate" border-width="2pt" border-style="solid">
<fo:table-column column-width="85mm"/>
<fo:table-column column-width="30mm"/>
<fo:table-column column-width="25mm"/>
<fo:table-column column-width="25mm"/>
<fo:table-body>
<fo:table-row line-height="10pt">
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold">
Unterrichtsfach\n
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="30mm" text-align="center">
Note\n
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="25mm" text-align="center">
Anzahl\n SWS
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" content-width="25mm" text-align="center">
ECTS\n Punkte
</fo:block>
</fo:table-cell>
</fo:table-row>
<xsl:apply-templates select="unterrichtsfach"/>
</fo:table-body>
</fo:table>
<fo:table>
<fo:table-column column-width="20mm"/>
<fo:table-column column-width="155mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block font-size="7pt">Notenstufen: </fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="7pt">Sehr gut (1), Gut (2), Befriedigend (3), Genügend (4), Nicht genügend (5), angerechnet (ar), nicht beurteilt (nb),</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block font-size="7pt"></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="7pt">teilgenommen (tg), bestanden (b), approbiert (ap), erfolgreich absolviert (ea), nicht erfolgreich absolviert (nea)</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block-container>
<fo:block-container position="absolute" top="260mm" left="25mm" height="10mm">
<fo:table table-layout="fixed" border-collapse="separate">
<fo:table-column column-width="75mm"/>
<fo:table-column column-width="15mm"/>
<fo:table-column column-width="75mm"/>
<fo:table-body>
<fo:table-row line-height="12pt">
<fo:table-cell>
<fo:block font-size="8pt" content-width="75mm" text-align="center">
</fo:block></fo:table-cell>
<fo:table-cell>
<fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="8pt" content-width="75mm" text-align="center">
<xsl:value-of select="ort_datum" />
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row line-height="8pt">
<fo:table-cell>
<fo:block font-size="8pt" font-weight="bold" content-width="75mm" text-align="center">
______________________________________
</fo:block>
</fo:table-cell>
<fo:table-cell><fo:block></fo:block></fo:table-cell>
<fo:table-cell>
<fo:block font-size="8pt" font-weight="bold" content-width="75mm" text-align="center">
______________________________________
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row line-height="12pt">
<fo:table-cell>
<fo:block font-size="8pt" content-width="75mm" text-align="center">
<xsl:value-of select="studiengangsleiter" />
<xsl:text>\nStudiengangsleiter</xsl:text>
</fo:block></fo:table-cell>
<fo:table-cell>
<fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="8pt" content-width="75mm" text-align="center">
Ort, Datum
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row line-height="10pt">
<fo:table-cell number-columns-spanned="3">
<fo:block font-size="8pt" content-width="165mm" text-align="center">
<xsl:text>Fachhochschule Technikum Wien\nHöchstädtplatz 5\nA-1200 Wien</xsl:text>
</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</xsl:template>
<xsl:template match="unterrichtsfach">
<fo:table-row line-height="10pt">
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt"><xsl:text> </xsl:text><xsl:value-of select="bezeichnung" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="30mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="note" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="25mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="sws" /></fo:block></fo:table-cell>
<fo:table-cell border-width="0.2mm" border-style="solid" ><fo:block font-size="8pt" content-width="25mm" text-align="center"><xsl:text> </xsl:text><xsl:value-of select="ects" /></fo:block></fo:table-cell>
</fo:table-row>
</xsl:template>
</xsl:stylesheet >