Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1f3deff439031efbe7468f36134315f4edc82d7b (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
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:output indent="yes"/>

    <xsl:param name="version"/>

	<xsl:template match="/site">
		<site>
			<xsl:copy-of select="*"/>
			<category-def>
				<xsl:attribute name="name">
					<xsl:text>cdt_</xsl:text>
					<xsl:value-of select="$version"/>
				</xsl:attribute>
				<xsl:attribute name="label">
					<xsl:text>CDT Build </xsl:text>
					<xsl:value-of select="$version"/>
				</xsl:attribute>
			</category-def>
			<feature id="org.eclipse.cdt">
				<xsl:attribute name="url">
					<xsl:text>features/org.eclipse.cdt_</xsl:text>
					<xsl:value-of select="$version"/>
					<xsl:text>.jar</xsl:text>
				</xsl:attribute>
				<xsl:attribute name="version">
					<xsl:value-of select="$version"/>
				</xsl:attribute>
				<category>
					<xsl:attribute name="name">
						<xsl:text>cdt_</xsl:text>
						<xsl:value-of select="$version"/>
					</xsl:attribute>
				</category>
			</feature>
		</site>
	</xsl:template>
	
</xsl:transform>

Back to the top