Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 07ab2c7888ee245ea40e916891c8461b1c17a293 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns:xalan="http://xml.apache.org/xslt">
    <xsl:param name="title"/>
    <xsl:param name="header"/>
    <xsl:param name="overview"/>
    <xsl:param name="listed-ext-points"/>
    
    <xsl:template match="components">
    	
    	<xsl:text disable-output-escaping="yes">
    	&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"&gt;
		</xsl:text>
		<html>
		<head>
		<xsl:text disable-output-escaping="yes">
		&lt;meta name="copyright" content="Copyright (c) 2008 IBM Corporation and others. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." &gt;

   		&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
   		</xsl:text>
   		<title><xsl:value-of select="$title"/></title>
   		<xsl:text disable-output-escaping="yes">
		&lt;LINK REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css"&gt;
		</xsl:text>
		</head>
		<body link="#0000FF" vlink="#800080">

		<center>
		<h1><xsl:value-of select="$header"/></h1>
		</center>

		<xsl:value-of select="$overview"/>
    	<xsl:for-each select="component">
    		<xsl:sort select="@id"/>
    		<h3><a name="{@id}"></a><xsl:value-of select="@name"/></h3>
    		<ul>
    			<xsl:for-each select="document(@file)/files/file">
    				<xsl:sort select="text()"/>
    				<!-- <xsl:if test="contains($listed-ext-points, translate(substring(text(), 0, string-length(text()) - 4),'_','.'))"> --> 
  						<li>
  							<a href="{text()}"><xsl:value-of select="translate(substring(text(), 0, string-length(text()) - 4),'_','.')"/></a> 
  						</li>
  					<!-- </xsl:if> -->
    			</xsl:for-each>
    		</ul>
    	</xsl:for-each>
    	</body>
		</html>
    </xsl:template>
</xsl:stylesheet>

Back to the top