Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/org.eclipse.etrice.releng/xsl/content2xml.xsl')
-rw-r--r--releng/org.eclipse.etrice.releng/xsl/content2xml.xsl72
1 files changed, 36 insertions, 36 deletions
diff --git a/releng/org.eclipse.etrice.releng/xsl/content2xml.xsl b/releng/org.eclipse.etrice.releng/xsl/content2xml.xsl
index 8c03ef7c6..40ba607df 100644
--- a/releng/org.eclipse.etrice.releng/xsl/content2xml.xsl
+++ b/releng/org.eclipse.etrice.releng/xsl/content2xml.xsl
@@ -1,37 +1,37 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="xml" indent="yes"/>
-
- <xsl:template match="/">
- <xsl:apply-templates select="repository"/>
- </xsl:template>
-
- <xsl:template match="repository">
- <release tag="" integration="true">
- <xsl:attribute name="repository">
- <xsl:value-of select="@name"/>
- </xsl:attribute>
- <xsl:apply-templates select="//provided[@namespace='org.eclipse.update.feature']">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="//provided[@namespace='osgi.bundle']">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </release>
- </xsl:template>
-
- <xsl:template match="provided">
- <element>
- <xsl:attribute name="name">
- <xsl:value-of select="@name"/>
- </xsl:attribute>
- <xsl:attribute name="version">
- <xsl:value-of select="@version"/>
- </xsl:attribute>
- <xsl:attribute name="type">
- <xsl:value-of select="@namespace"/>
- </xsl:attribute>
- </element>
- </xsl:template>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="repository"/>
+ </xsl:template>
+
+ <xsl:template match="repository">
+ <release tag="" integration="true">
+ <xsl:attribute name="repository">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="//provided[@namespace='org.eclipse.update.feature']">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ <xsl:apply-templates select="//provided[@namespace='osgi.bundle']">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ </release>
+ </xsl:template>
+
+ <xsl:template match="provided">
+ <element>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:attribute name="version">
+ <xsl:value-of select="@version"/>
+ </xsl:attribute>
+ <xsl:attribute name="type">
+ <xsl:value-of select="@namespace"/>
+ </xsl:attribute>
+ </element>
+ </xsl:template>
+
</xsl:stylesheet> \ No newline at end of file

Back to the top