source: WAeUP_SRP/trunk/profiles/default/schemas/schema.xsl @ 1401

Last change on this file since 1401 was 1401, checked in by joachim, 19 years ago

fix the levels
add verdict to students_catalog
add current_verdict to student_study_course
add the same fixes to makeStudentData (not yet tested)

File size: 1.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3  <xsl:output method="html"/>
4  <xsl:template match="/">
5    <html>
6      <body>
7        <xsl:for-each select="object">
8          <h2>
9            <xsl:value-of select="@name"/>
10          </h2>
11        </xsl:for-each>
12        <h1>Fields</h1>
13        <table>
14          <xsl:for-each select="object/field">
15            <xsl:sort select="@name"
16                      order="ascending" />
17            <tr>
18              <td colspan="">
19                <xsl:value-of select="@name"/>
20              </td>
21              <td colspan="">
22                <xsl:value-of select="@meta_type"/>
23              </td>
24              <xsl:for-each select="property">
25                <td>
26                  <xsl:value-of select="@name"/>: <xsl:value-of select="text()"/>
27                </td>
28              </xsl:for-each>
29            </tr>
30          </xsl:for-each>
31        </table>
32      </body>
33    </html>
34  </xsl:template>
35</xsl:stylesheet>
36 
Note: See TracBrowser for help on using the repository browser.