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.
602 lines
17 KiB
602 lines
17 KiB
2 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<xsl:stylesheet version="2.0"
|
||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||
|
<xsl:decimal-format name="German" grouping-separator="." NaN="" zero-digit ="0" decimal-separator="," />
|
||
|
<xsl:template match="/">
|
||
|
<xsl:variable name="spalte"/>
|
||
|
<xsl:variable name="Absolv"/>
|
||
|
|
||
|
<!--<xsl:variable name="Koeffizient"/>-->
|
||
|
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
|
||
|
<title>Ergebnis <xsl:value-of select="ergebnisse/ergebnis/maskenname" /></title>
|
||
|
<LINK REL="stylesheet" type="text/css" href="../../style/superx.css" ></LINK>
|
||
|
<LINK REL="stylesheet" type="text/css" href="../xml/tabelle_html_mswf.css" ></LINK>
|
||
|
</head>
|
||
|
|
||
|
<script language="Javascript" src="../xml/dynlayer.js">
|
||
|
</script>
|
||
|
<script language="Javascript" src="../xml/texteffekte.js">
|
||
|
</script>
|
||
|
|
||
|
<style type="text/css">
|
||
|
div.versteckt
|
||
|
{
|
||
|
font-size:smaller
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
|
||
|
<body>
|
||
|
<form name="Weiterverarbeitung" action="SuperXmlPdf" method="post" target="_blank">
|
||
|
|
||
|
<!--<table border="1">
|
||
|
<tr>
|
||
|
<td><input type="hidden" name="UserID">
|
||
|
<xsl:attribute name="value"><xsl:value-of select="/ergebnis/UserID" /></xsl:attribute>
|
||
|
</input><input type="hidden" name="tid" value="" />
|
||
|
<input type="hidden" name="id" value="" />
|
||
|
<img src="../images/sx_copy.gif" /></td>
|
||
|
<td><img src="../images/sx_save.gif" /></td>
|
||
|
<td><a href="javascript:window.print();"><img src="../images/sx_print.gif" border="0" /></a></td>
|
||
|
<td><img src="../images/help.gif" /></td>
|
||
|
<td><a href="javascript:zeigeText('inhalt');"><img src="../images/info.gif" border="0"/></a></td>
|
||
|
<td><a href="javascript:document.forms[0].submit();">PDF</a></td>
|
||
|
<td><a href="javascript:document.forms[0].submit();">XML</a></td>
|
||
|
<td><a href="javascript:document.forms[0].submit();">RTF</a></td>
|
||
|
<td><a href="javascript:document.forms[0].submit();">SVG</a></td>
|
||
|
</tr>
|
||
|
</table>-->
|
||
|
|
||
|
<table border="1">
|
||
|
<tr>
|
||
|
<td colspan="3">
|
||
|
<span class="berichtsueberschrift"><xsl:value-of select="/ergebnisse/makro/name" /></span><br></br>
|
||
|
<span class="lehreinheit"><xsl:value-of select="/ergebnisse/ergebnis[@ordnr='0']/felder/feld[@varname='Institution']/value_caption" /></span>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<xsl:for-each select="ergebnisse/ergebnis">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="maskenname/@id ='11690'">
|
||
|
<tr>
|
||
|
<td colspan="3" class="ueberschrift1">Kostengrunddaten</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3"><span class="feldwert">Kosten im Berichtszeitraum:
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:if test="@varname ='Haushaltsjahr'">
|
||
|
<xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</span>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/headers/header">
|
||
|
<xsl:if test="@id = '1' or @id = '4' or @id = '5' ">
|
||
|
<th><xsl:value-of select="wert" /></th>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each><th></th>
|
||
|
</tr>
|
||
|
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<tr>
|
||
|
<xsl:if test="contains(col/wert,'umme')">
|
||
|
<xsl:attribute name="class">summe</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:for-each select="col">
|
||
|
<xsl:if test="@id = '1' or @id = '4' or @id = '5'">
|
||
|
<td>
|
||
|
<xsl:choose>
|
||
|
<!--<xsl:when test="@id='0'">
|
||
|
<xsl:attribute name="class">themenspalte</xsl:attribute>
|
||
|
</xsl:when>-->
|
||
|
<xsl:when test="@typ='1'"> <!--String-->
|
||
|
<xsl:attribute name="class">string</xsl:attribute>
|
||
|
<xsl:value-of select="wert" />
|
||
|
</xsl:when>
|
||
|
<xsl:when test="@typ='2' or @typ='8' or @typ='3'"> <!-- DecimalFormat -->
|
||
|
<xsl:attribute name="class">decimal</xsl:attribute>
|
||
|
<!--<xsl:value-of select="wert" />-->
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
</xsl:when>
|
||
|
<xsl:when test="@typ='4'"> <!-- Integer -->
|
||
|
<xsl:attribute name="class">integer</xsl:attribute>
|
||
|
<!--<xsl:value-of select="wert" />-->
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.###','German')" />
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<!--<xsl:call-template name="tabwert">
|
||
|
</xsl:call-template>-->
|
||
|
<xsl:value-of select="wert" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</td>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</xsl:for-each>
|
||
|
|
||
|
|
||
|
<tr><td colspan="3" class="ueberschrift1">Weitere Grunddaten</td></tr>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11410'">
|
||
|
|
||
|
<tr><td colspan="2"><span class="feldwert">Ausgaben aus Drittmittel- und Sondermitteln im Berichtszeitraum:
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:if test="@varname ='Zeitraum'">
|
||
|
<xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</span>
|
||
|
</td></tr>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<!--<xsl:if test="starts-with(col/wert,'Summe')">-->
|
||
|
<xsl:if test="position() > last()-2">
|
||
|
<tr>
|
||
|
<xsl:for-each select="col">
|
||
|
<xsl:if test="f_name='angeo'">
|
||
|
|
||
|
<td class="decimal">
|
||
|
|
||
|
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
|
||
|
</td>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="f_name='eintrag'">
|
||
|
|
||
|
<td class="wert">
|
||
|
|
||
|
|
||
|
Drittmittelausgaben <xsl:value-of select="wert" />
|
||
|
</td>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</tr>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11660'">
|
||
|
|
||
|
<!--<tr><td colspan="2"><span class="feldwert">Ausgaben aus Sondermitteln im Berichtszeitraum:
|
||
|
<xsl:for-each select="/ergebnis/felder/feld">
|
||
|
<xsl:if test="wert/@varname ='Zeitraum'">
|
||
|
<xsl:value-of select="wert" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</span>
|
||
|
</td></tr>-->
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<!--<xsl:if test="starts-with(col/wert,'Summe')">-->
|
||
|
<xsl:if test="position() > last()-2">
|
||
|
<tr>
|
||
|
<xsl:for-each select="col">
|
||
|
<xsl:if test="./f_name='eintrag'">
|
||
|
|
||
|
<td class="wert">
|
||
|
|
||
|
|
||
|
Sondermittel <xsl:value-of select="wert" />
|
||
|
</td>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="./f_name='angeo'">
|
||
|
|
||
|
<td class="decimal">
|
||
|
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
</td>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</tr>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11390'">
|
||
|
|
||
|
<tr><td colspan="2"><span class="feldwert">Studierendendaten im
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:if test="@varname ='Semester'">
|
||
|
<xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</span>
|
||
|
</td></tr>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row/col">
|
||
|
<xsl:if test="@id='2'">
|
||
|
<tr>
|
||
|
<td>Studierendenäquivalente in der Regelstudienzeit <br />
|
||
|
dienstleistungsbereinigt
|
||
|
</td><td class="decimal">
|
||
|
|
||
|
<xsl:variable name="Studis" select="wert"/>
|
||
|
<xsl:value-of select="format-number($Studis,'###.###.###.###.##0,00','German')" />
|
||
|
<xsl:call-template name="vzaeKoeffizient">
|
||
|
<xsl:with-param name="stud_rsz" select="$Studis"/>
|
||
|
</xsl:call-template>
|
||
|
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11620'">
|
||
|
|
||
|
<tr><td colspan="2"><b>Absolventendaten im Semester
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:if test="@varname ='Seit Semester'">
|
||
|
<xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
<xsl:if test="@varname ='Bis Semester'">
|
||
|
<xsl:text>-</xsl:text><xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</b>
|
||
|
</td></tr>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<!--<xsl:if test="starts-with(col/wert,'Summe')">-->
|
||
|
|
||
|
<xsl:if test="position() = last()">
|
||
|
<xsl:for-each select="col">
|
||
|
<xsl:if test="@id='17'">
|
||
|
<tr>
|
||
|
|
||
|
<td>Absolventenäquivalente <br />
|
||
|
dienstleistungsbereinigt
|
||
|
</td><td class="decimal">
|
||
|
|
||
|
<xsl:variable name="Studis" select="wert"/>
|
||
|
<xsl:value-of select="format-number($Studis,'###.###.###.###.##0,00','German')" />
|
||
|
<xsl:call-template name="vzaeKoeffizient">
|
||
|
<xsl:with-param name="stud_rsz" select="$Studis"/>
|
||
|
</xsl:call-template>
|
||
|
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<xsl:if test="position() = last()-1">
|
||
|
<xsl:for-each select="col">
|
||
|
|
||
|
|
||
|
<xsl:if test="@id='15'">
|
||
|
<tr>
|
||
|
|
||
|
<td>Promotionen</td><td class="decimal">
|
||
|
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11380'">
|
||
|
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row/col">
|
||
|
<xsl:if test="@id='10'">
|
||
|
<tr>
|
||
|
<td>Dienstleistungskoeffizient
|
||
|
</td><td class="decimal">
|
||
|
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
<xsl:variable name="Koeffizient" select="wert"/>
|
||
|
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11910'">
|
||
|
|
||
|
<tr><td><span class="feldwert">Personaldaten Stand vom: <xsl:value-of select="stand"/>
|
||
|
<!--<xsl:for-each select="felder/feld">
|
||
|
<xsl:if test="@varname ='Datum'">
|
||
|
<xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>-->
|
||
|
</span>
|
||
|
</td><td>Landesmittel</td><td>Drittmittel</td></tr>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<!--<xsl:if test="starts-with(col/wert,'Summe')">-->
|
||
|
<xsl:if test="position() < last()-1">
|
||
|
<tr>
|
||
|
<xsl:for-each select="col">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="@id ='0'"> <!--Erste Spalte-->
|
||
|
<td><xsl:value-of select="wert" /></td>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="@id ='3'"> <!--Plan-->
|
||
|
<td class="decimal"><xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" /></td>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="@id ='5'"> <!--Drittm.-->
|
||
|
<td class="decimal"><xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" /></td>
|
||
|
</xsl:when>
|
||
|
</xsl:choose>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</tr>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11980'">
|
||
|
|
||
|
<tr><td><span class="feldwert">Studierendendaten Stand vom:
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:if test="@varname ='Semester'">
|
||
|
<xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</span>
|
||
|
</td><td><font color="white">.</font></td></tr>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<!--<xsl:if test="starts-with(col/wert,'Summe')">-->
|
||
|
<xsl:if test="position() = last()">
|
||
|
<tr>
|
||
|
<td>Studierendenäquivalente in der Regelstudienzeit</td>
|
||
|
<td class="decimal"><xsl:for-each select="col">
|
||
|
<xsl:if test="f_name='ffidrgf2'">
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11990'">
|
||
|
|
||
|
<tr><td><span class="feldwert">Flächendaten Stand vom:
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:if test="@varname='Importdatum'">
|
||
|
<xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</span>
|
||
|
</td><td><font color="white">.</font></td></tr>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<!--<xsl:if test="starts-with(col/wert,'Summe')">-->
|
||
|
<xsl:if test="position() = last()">
|
||
|
<tr>
|
||
|
<td>Ungewichtete Hauptnutzfläche (qm)</td>
|
||
|
<td class="decimal"><xsl:for-each select="col">
|
||
|
<xsl:if test="f_name='flaeche'">
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='10010'">
|
||
|
|
||
|
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<!--<xsl:if test="starts-with(col/wert,'Summe')">-->
|
||
|
<xsl:if test="position() = last()">
|
||
|
<xsl:for-each select="col">
|
||
|
<xsl:if test="@id='1'">
|
||
|
<tr>
|
||
|
|
||
|
<td>Ungewichtete Hauptnutzfläche (qm)
|
||
|
</td><td class="decimal">
|
||
|
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="maskenname/@id ='11170'">
|
||
|
<tr><td colspan="2"><span class="feldwert">Auslastung für:
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:if test="@varname ='Semester'">
|
||
|
<xsl:value-of select="value_caption" />
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</span>
|
||
|
</td></tr>
|
||
|
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<xsl:if test="position() = last()">
|
||
|
<xsl:for-each select="col">
|
||
|
<xsl:if test="@id='10'">
|
||
|
<tr>
|
||
|
|
||
|
<td>Auslastung nach KapVO
|
||
|
</td><td class="decimal">
|
||
|
|
||
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" />
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
|
||
|
</xsl:when>
|
||
|
|
||
|
</xsl:choose>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</table>
|
||
|
<div id="inhalt" class="versteckt"><p></p></div>
|
||
|
<script language="Javascript">
|
||
|
versteckeText("inhalt");
|
||
|
</script></form>
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
|
||
|
</xsl:template>
|
||
|
<xsl:template match="tabelle">
|
||
|
<p class="maskentitel"><xsl:value-of select="maskenname" /></p>
|
||
|
<xsl:if test="errmsg !=''"><p><xsl:value-of select="errmsg" /></p></xsl:if>
|
||
|
|
||
|
<p><input type="hidden" name="tid">
|
||
|
<xsl:attribute name="value"><xsl:value-of select="@id" /></xsl:attribute>
|
||
|
</input>
|
||
|
</p>
|
||
|
<table border="1">
|
||
|
<tr>
|
||
|
<xsl:for-each select="sqlerg/header/thead">
|
||
|
<td class="header">
|
||
|
<xsl:value-of select="translate(wert,'e','Ä')" />
|
||
|
<!-- <xsl:variable name="ueberschrift" select="wert"/>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="contains($ueberschrift,'\n')">
|
||
|
<xsl:value-of select="substring-before(normalize-space($ueberschrift),'\n')" />
|
||
|
<br />
|
||
|
<xsl:value-of select="substring-after(normalize-space($ueberschrift),'\n')" />
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise><xsl:value-of select="wert" /></xsl:otherwise>
|
||
|
</xsl:choose>-->
|
||
|
</td>
|
||
|
</xsl:for-each><td></td>
|
||
|
</tr>
|
||
|
<xsl:for-each select="ergebniselement/sqlerg/row">
|
||
|
<tr>
|
||
|
<xsl:for-each select="col">
|
||
|
<td>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="@id='0'">
|
||
|
<xsl:attribute name="class">themenspalte</xsl:attribute>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise><xsl:attribute name="class">result</xsl:attribute></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="f_name='email'">
|
||
|
<a><xsl:attribute name="href">mailto:<xsl:value-of select="wert" /></xsl:attribute>
|
||
|
<xsl:value-of select="wert" /></a>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="f_name='url'">
|
||
|
<a target="_blank"><xsl:attribute name="href"><xsl:value-of select="wert" /></xsl:attribute>
|
||
|
<xsl:value-of select="wert" /></a>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="f_name='nextmask'">
|
||
|
<xsl:variable name="derwert" select="wert"/>
|
||
|
<xsl:if test="(($derwert != 'null') and ($derwert != ''))">
|
||
|
<div align="center"><a><xsl:attribute name="href">SuperXmlMaske?tid=<xsl:value-of select="$derwert" />&UserID=<xsl:value-of select="/ergebnis/UserID" /></xsl:attribute>
|
||
|
<img src="../images/punkt.gif" border="0" alt="Bearbeiten" />
|
||
|
</a></div>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="f_name='nexttable'">
|
||
|
<xsl:variable name="derwert" select="wert"/>
|
||
|
<xsl:if test="(($derwert != 'null') and ($derwert != ''))">
|
||
|
<div align="center"><a><xsl:attribute name="href">SuperXmlTabelle?tid=<xsl:value-of select="$derwert" />&UserID=<xsl:value-of select="/ergebnis/UserID" /></xsl:attribute>
|
||
|
<img src="../images/i.gif" border="0" alt="Ansehen" />
|
||
|
</a></div>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:when><xsl:otherwise>
|
||
|
<xsl:call-template name="tabwert">
|
||
|
</xsl:call-template>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</td>
|
||
|
</xsl:for-each>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</xsl:for-each>
|
||
|
</table><hr />
|
||
|
<p class="klein"><xsl:value-of select="sqlerg/msg" /><br />
|
||
|
<xsl:for-each select="felder/msgs/msg">
|
||
|
<xsl:value-of select="wert" />
|
||
|
<br />
|
||
|
</xsl:for-each>
|
||
|
</p>
|
||
|
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="tabwert">
|
||
|
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="wert/@type='numeric'"><xsl:value-of select="wert" />
|
||
|
<!--<xsl:value-of select="format-number(wert,'#.###.##0,00','de_DE')" />-->
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise><xsl:value-of select="wert" /></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
</xsl:template>
|
||
|
<xsl:template name="ohneUmbruch">
|
||
|
<xsl:param name="zs"/>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="contains($zs,'\n')">
|
||
|
<xsl:value-of select="substring-before(normalize-space($zs),'\n')" />
|
||
|
<xsl:text>ä</xsl:text>
|
||
|
<xsl:variable name="zs1" select="substring-after(normalize-space($zs),'\n')" />
|
||
|
<xsl:call-template name="ohneUmbruch">
|
||
|
<xsl:with-param name="zs" select="$zs1"/>
|
||
|
</xsl:call-template>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise><xsl:value-of select="wert" /></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
format-number(wert,'###.###.###.###.##0,00','German')
|
||
|
</xsl:template>
|
||
|
<xsl:template name="vzaeKoeffizient">
|
||
|
<xsl:param name="stud_rsz"/>
|
||
|
<xsl:for-each select="/ergebnis/tabelle/sqlerg/row/col">
|
||
|
<xsl:if test="f_name='dienst_koeff'">
|
||
|
<br /><xsl:value-of select="format-number($stud_rsz * wert,'###.###.###.###.##0,00','German')" />
|
||
|
<!--<xsl:value-of select="concat('',translate(format-number(number(translate($stud_rsz,',','.'))* number(translate(wert,',','.')),'00,00'),'.',','),'','')" />-->
|
||
|
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</xsl:template>
|
||
|
|
||
|
</xsl:stylesheet>
|