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="../HTMLContentPage.xslt"/> |
---|
10 | <xsl:import href="SiteSpecific.xslt"/> |
---|
11 | |
---|
12 | <ibis:doc> |
---|
13 | <name>html/topic/HTMLContentPage</name> |
---|
14 | <summary> |
---|
15 | </summary> |
---|
16 | <description> |
---|
17 | </description> |
---|
18 | </ibis:doc> |
---|
19 | |
---|
20 | <xsl:param name="PublishedIndicators"/> |
---|
21 | |
---|
22 | <xsl:template match="ibis:HTMLContentPage.topicIndicatorsSelectionList" mode="ibis.copy"> |
---|
23 | <xsl:param name="topicName" select="@topicName"/> |
---|
24 | <!-- |
---|
25 | <xsl:message select="'PublishedIndicators'"/> |
---|
26 | <xsl:message select="$PublishedIndicators"/> |
---|
27 | <xsl:message select="count($Page.publishedIndicators)"/> |
---|
28 | <xsl:for-each select="$Page.publishedIndicators"> |
---|
29 | <xsl:for-each select="$Page.publishedIndicators[NAME = 'CareSuppRelatFamily']"> |
---|
30 | <xsl:for-each select="$Page.publishedIndicators[TOPICS/TOPIC/NAME = 'Availability']"> |
---|
31 | <xsl:for-each select="$Page.publishedIndicators[TOPICS/TOPIC/NAME = /HTML_CONTENT/PARAMETERS/PARAMETER[NAME='TopicName']/VALUE]"> |
---|
32 | <xsl:message select="$topicName"/> |
---|
33 | <xsl:variable name="topicName" select="/HTML_CONTENT/PARAMETERS/PARAMETER[NAME='TopicName']/VALUE"/> |
---|
34 | <xsl:variable name="topicName" select="@topicName"/> |
---|
35 | --> |
---|
36 | <ul> |
---|
37 | <xsl:for-each select="$PublishedIndicators/PUBLISHED_INDICATORS/PUBLISHED_INDICATOR[TOPICS/TOPIC/NAME = $topicName]"> |
---|
38 | <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/> |
---|
39 | <xsl:sort select="TITLE" order="ascending"/> |
---|
40 | <li> |
---|
41 | <a href="{concat($ibis.baseRequestPath, 'indicator/summary/', NAME, '.html')}"><xsl:value-of select="ibis:getIndicatorTitle(current())"/></a> |
---|
42 | </li> |
---|
43 | </xsl:for-each> |
---|
44 | </ul> |
---|
45 | </xsl:template> |
---|
46 | |
---|
47 | </xsl:stylesheet> |
---|
48 | <!-- ============================= End of File ============================= --> |
---|
49 | |
---|