source: main/trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/Page.xslt @ 15958

Last change on this file since 15958 was 15958, checked in by Garth Braithwaite, 4 years ago

view - cleaned out unused complete_profile, and IP/view folders and spring configs. Removed auth and company from all xslt ibis:doc elements.

File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<xsl:stylesheet version="3.0" 
4        xmlns:xsl ="http://www.w3.org/1999/XSL/Transform" 
5        xmlns:ibis="http://www.ibisph.org"
6
7        exclude-result-prefixes="ibis"
8>
9        <xsl:import href="../../Page.xslt"/>
10
11
12        <ibis:doc>
13                <name>html/indicator/profile/Page</name>
14                <summary>Provides indicator profile specific 'html' API templates</summary>
15                <description>
16                        Provides indicator profile specific 'html' API templates
17                        which are imported by the actual page specific indicator profile XSLTs.
18                </description>
19        </ibis:doc>
20
21        <xsl:param name="Page.sectionsTitle" 
22                ibis:doc="Provides the page's content title text which is typically
23                        displayed in the content header section.  This variable is a stubb
24                        and should be implemented for each specific type of page.
25                "
26        >
27                Health Indicator Report of <xsl:value-of select="$indicator/TITLE"/>
28        </xsl:param>
29
30        <xsl:param name="Page.metaDescription" select="
31                        if(string-length(/INDICATOR_VIEW/DESCRIPTION) != 0)then
32                                concat(/INDICATOR/DESCRIPTION, ' ; ', /INDICATOR_VIEW/DESCRIPTION)
33                        else
34                                /INDICATOR/DESCRIPTION
35                "
36                ibis:doc="Implementation that returns the INDICATOR and INDICATOR_VIEW/DESCRIPTION."
37        />
38        <xsl:param name="Page.metaKeywords" select="$Page.metaDescription"/>
39
40
41        <xsl:param name="Page.orgUnitName" select="$indicator/ORG_UNIT_NAME"
42                ibis:doc="Provides the associated IP organization unit contact
43                        info text which is typically used in the content footer.  The actual
44                        org unit text is pulled from the 'org_unit.xml' file and is keyed
45                        off of via the '/INDICATOR/ORG_UNIT_NAME' element.
46                "
47        />
48
49
50
51        <!-- DEPENDENCY NOTE: This file is not meant to be imported as a stand alone
52                XSLT library.  This file depends/relies on the $indicator variable and
53                the $ibis.urlPrefix parameter being defined.
54        -->
55
56        <xsl:template name="Page.specificHeadContent"
57                ibis:doc="Turn off caching if there's an XML URL."
58        >
59                <xsl:if test="string-length($xmlURL) != 0">
60                        <xsl:call-template name="Page.metaNoCacheControl"/>
61                </xsl:if>
62        </xsl:template>
63
64</xsl:stylesheet>
65<!-- ============================= End of File ============================= -->
66
Note: See TracBrowser for help on using the repository browser.