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="ibis:getIndicatorTitle($indicator)"/> |
---|
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 | <xsl:param name="Page.htmlClass" select="'IndicatorProfile'"/> |
---|
51 | |
---|
52 | |
---|
53 | |
---|
54 | <!-- DEPENDENCY NOTE: This file is not meant to be imported as a stand alone |
---|
55 | XSLT library. This file depends/relies on the $indicator variable and |
---|
56 | the $ibis.contextPath parameter being defined. |
---|
57 | --> |
---|
58 | |
---|
59 | <xsl:template name="Page.specificHeadContent" |
---|
60 | ibis:doc="Turn off caching if there's an XML URL." |
---|
61 | > |
---|
62 | <xsl:if test="string-length($xmlURL) != 0"> |
---|
63 | <xsl:call-template name="Page.metaNoCacheControl"/> |
---|
64 | </xsl:if> |
---|
65 | </xsl:template> |
---|
66 | |
---|
67 | </xsl:stylesheet> |
---|
68 | <!-- ============================= End of File ============================= --> |
---|
69 | |
---|