diff options
author | Thomas Schuetz | 2013-07-12 08:40:15 +0000 |
---|---|---|
committer | Thomas Schuetz | 2013-07-12 08:40:15 +0000 |
commit | 12cda553738ca88662624b6f47066b5564549648 (patch) | |
tree | bfa65b6c38aa566a5f1cc98395da6546a6c6e282 /releng/org.eclipse.etrice.releng/xsl/content2xml.xsl | |
parent | 3447749b1a453735ac54fc09ea7680acdbb19b69 (diff) | |
parent | d65e1d1bdd43feadb43261b85aac2d8aef5e089c (diff) | |
download | org.eclipse.etrice-12cda553738ca88662624b6f47066b5564549648.tar.gz org.eclipse.etrice-12cda553738ca88662624b6f47066b5564549648.tar.xz org.eclipse.etrice-12cda553738ca88662624b6f47066b5564549648.zip |
Merge remote-tracking branch 'origin/master'
Conflicts:
plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.modellib.c.zip
plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.modellib.java.zip
plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.runtime.c.zip
plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.tutorials.c.zip
plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.tutorials.java.zip
Change-Id: I98e2df3ab57d6e7e8f27e5b0aee7eaa189bfbc33
Diffstat (limited to 'releng/org.eclipse.etrice.releng/xsl/content2xml.xsl')
-rw-r--r-- | releng/org.eclipse.etrice.releng/xsl/content2xml.xsl | 72 |
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 |