blob: 6ec3586643e79d04b23b24e43cdeb2579f74f0e1 (
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
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/units">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
<xsl:copy-of select="unit[@id='org.eclipse.equinox.executable.feature.group']"/>
</xsl:copy>
</xsl:template>
<xsl:template match="/units/unit[@id='org.eclipse.equinox.executable.feature.group']/@id">
<xsl:attribute name="id">
<xsl:value-of select="'org.eclipse.equinox.executable'"/>
</xsl:attribute>
</xsl:template>
<xsl:template match="/units/unit[@id='org.eclipse.equinox.executable.feature.group']/provides/provided[@name='org.eclipse.equinox.executable.feature.group']/@name">
<xsl:attribute name="name">
<xsl:value-of select="'org.eclipse.equinox.executable'"/>
</xsl:attribute>
</xsl:template>
<xsl:template match="/units/unit[@id='org.eclipse.equinox.executable.feature.group']/update/@id">
<xsl:attribute name="id">
<xsl:value-of select="'org.eclipse.equinox.executable'"/>
</xsl:attribute>
</xsl:template>
<xsl:template match="/units/unit[@id='org.eclipse.equinox.executable.feature.group']/requires/required[starts-with(@name, 'org.eclipse.equinox.executable_root')]"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()">
<!--xsl:sort select="@id|@name"/-->
</xsl:apply-templates>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
|