Skip to main content
summaryrefslogtreecommitdiffstats
blob: faea4c1726f22bc698ea2a8449d3f22bc12da9a2 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" omit-xml-declaration="yes" indent="yes"/>
	<xsl:strip-space elements="*"/>
	
	<xsl:template match="/">
		<html xmlns="http://www.w3.org/1999/xhtml">
			<xsl:apply-templates select="repository"/>
		</html>
	</xsl:template>
	
	<xsl:template match="repository">
		<head>
			<title>
				<xsl:value-of select="@name"/>
			</title>
		</head>
		<body>
			<h1>
				<xsl:value-of select="@name"/>
			</h1>
			<p>
				<em>For information about CDO or Net4j, see their
					<a href="http://www.eclipse.org/cdo">homepage</a> or
					<a href="http://wiki.eclipse.org/CDO">wiki</a>.
					<br/> For information about installing or updating Eclipse software, see the
					<a
						href="http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/tasks-124.htm">
						Eclipse Platform Help</a>.
					<br/> Some plugins require third party software from p2 repositories listed in this
					<a href="bookmarks.xml">bookmarks.xml</a> file.</em>
				
			</p>
			<ul>
			<li><a href="javascript:toggle('features')">Features</a> <a name="features" href="#features"><img src="http://www.eclipse.org/cdo/images/link_obj.gif" alt="Permalink" width="12" height="12"/></a>
			<div id="features">
				<table border="0">
					<xsl:apply-templates select="//provided[@namespace='org.eclipse.update.feature']">
						<xsl:sort select="@name"/>
					</xsl:apply-templates>
				</table>
			</div>
			<li><a href="javascript:toggle('plugins')">Plugins</a> <a name="plugins" href="#plugins"><img src="http://www.eclipse.org/cdo/images/link_obj.gif" alt="Permalink" width="12" height="12"/></a>
			<div id="plugins">
				<table border="0">
					<xsl:apply-templates select="//provided[@namespace='osgi.bundle']">
						<xsl:sort select="@name"/>
					</xsl:apply-templates>
				</table>
			</div>
			</ul>
		</body>
	</xsl:template>
	
	<xsl:template match="provided">
		<tr>
			<td>
				<xsl:value-of select="@name"/>
			</td>
			<td>
				<xsl:value-of select="@version"/>
			</td>
		</tr>
	</xsl:template>
	
</xsl:stylesheet>

Back to the top