XSLT Function: BaileyWeb.University.CourseFeeBandCosts.ShowCourseFeeBandCostTable

The XSLT Function named ShowCourseFeeBandCostTable produces a table showing course fee information.

Files

The following files are supplied with the University Package:

  • ~/App_Data/Xslt/BaileyWeb/University/CourseFeeBandCosts/ShowCourseFeeBandCostTable.cshtml

Parameters

None. OR

There are COUNT parameters:

Parameter: Label: Help: Type: Default: Widget:
NAME LABEL HELP TYPE VALUE  

Function Markup

<f:function name="BaileyWeb.University.CourseFeeBandCosts.ShowCourseFeeBandCostsTable" xmlns:f="http://www.composite.net/ns/function/1.0" />

Sub Functions

None. OR

This function relies upon the following sub functions for data:

  • BaileyWeb.University.NAMESPACE OR

When routed data isn't TYPE.IsItem:

  • BaileyWeb.University.NAMESPACE

When routed data is TYPE.IsItem:

  • BaileyWeb.University.NAMESPACE

Text Strings

This function uses the following localisation resources:

Sample Output

<html xmlns="http://www.w3.org/1999/xhtml">
    <head/>
    <body>
        <div class="table-responsive">
            <table class="table table-hover" summary="List of fee band costs">
                <thead>
                    <tr>
                        <th>Year of entry</th>
                        <th>Fee band</th>
                        <th>Full-time cost</th>
                        <th>Part-time cost</th>
                        <th>International full-time cost</th>
                        <th>International part-time cost</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>2017</td>
                        <td>CS-A</td>
                        <td>9250.00</td>
                        <td>4625.00</td>
                        <td>10500.00</td>
                        <td>-</td>
                    </tr>
                    [...]
                </tbody>
            </table>
        </div>
    </body>
</html>

Actual Output

Associate Degree

Year of entry: Full-time cost: Part-time cost: International full-time cost: International part-time cost:
Fee band: Associate Degree
2022 £5000.00 (GBP) £2500.00 (GBP) - -

Bachelor's Degree

Year of entry: Full-time cost: Part-time cost: International full-time cost: International part-time cost:
Fee band: Bachelor's Degree A
2022 £9250.00 (GBP) £4625.00 (GBP) £10500.00 (GBP) -
2023 £9250.00 (GBP) £4625.00 (GBP) £10500.00 (GBP) -
Fee band: Bachelor's Degree B
2022 £9250.00 (GBP) £4625.00 (GBP) £10500.00 (GBP) -
2023 £9250.00 (GBP) £4625.00 (GBP) £10500.00 (GBP) -

Updated: 27 February 2022